CN106375600B - Short message prompting method and terminal - Google Patents

Short message prompting method and terminal Download PDF

Info

Publication number
CN106375600B
CN106375600B CN201610975304.9A CN201610975304A CN106375600B CN 106375600 B CN106375600 B CN 106375600B CN 201610975304 A CN201610975304 A CN 201610975304A CN 106375600 B CN106375600 B CN 106375600B
Authority
CN
China
Prior art keywords
input information
receiver
information
input
short message
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
CN201610975304.9A
Other languages
Chinese (zh)
Other versions
CN106375600A (en
Inventor
李志强
李坤宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610975304.9A priority Critical patent/CN106375600B/en
Publication of CN106375600A publication Critical patent/CN106375600A/en
Application granted granted Critical
Publication of CN106375600B publication Critical patent/CN106375600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Library & Information Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a terminal for prompting short messages, wherein the method comprises the following steps: detecting whether input information and a receiver number corresponding to the input information exist in a short message input box; if yes, acquiring the input information and the number of the receiver; inquiring whether corresponding prompt information exists according to the number of the receiver and the input information, wherein the prompt information is used for prompting the specific service content provided by the network operator represented by the input information; and if so, displaying the prompt information in a preset display area. The terminal comprises a detection unit for detecting whether input information exists, an acquisition unit for acquiring the input information and the number of a receiver, an inquiry unit for inquiring prompt information, and a display unit for displaying the prompt information. The invention avoids the user from suffering certain loss or generating bad results due to wrong reply short messages by displaying the prompt message associated with the input message and the number of the receiver.

Description

Short message prompting method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a terminal for short message prompting.
Background
With the development of mobile internet and the popularization of smart phones, more and more people use mobile phone numbers to register various mobile internet services on the network. Since the registered mobile internet service is strange, and the quality and the technology of the operation and maintenance service personnel are different, the user information leakage may occur. Often visible security problems are: internet vendors transmit user data using plaintext. For various reasons, leakage of user data such as mobile phone numbers and the like is easily caused, which brings certain risks to the safety of users.
The current common fraud modes are short message fraud modes besides telephone fraud modes. For example: fraud molecules pretend to be network operators to send card-changing receipt short messages to the mobile users, and once the users reply the short messages according to the prompted contents, the mobile phone cards are replaced by the fraud molecules; in addition, the fraud molecules send short messages in the form of pseudo base stations, and induce users to reply determined contents to steal the telephone charges of the users by utilizing the ignorance of the users to the contents. Short message replies also become an important channel for fraud molecules to cheat users of money.
Disclosure of Invention
The invention mainly aims to provide a short message prompting method and a terminal, aiming at solving the problem that services provided by network operators which are unknown or do not need to be transacted are transacted due to short message reply.
In order to achieve the above object, the present invention provides a method for prompting by short message, which is characterized by comprising the following steps:
detecting whether input information and a receiver number corresponding to the input information exist in a short message input box;
if yes, acquiring the input information and the number of the receiver;
inquiring whether corresponding prompt information exists according to the number of the receiver and the input information, wherein the prompt information is used for prompting the specific service content provided by the network operator represented by the input information;
and if so, displaying the prompt information in a preset display area.
Optionally, the detecting whether there is input information in the short message input box and a number of a receiver corresponding to the input information includes: and detecting the input information in a mode of registering a content monitor in the short message input box.
Optionally, before the querying whether the corresponding prompt information exists according to the receiver number and the input information, the method further includes: and storing the prompt information and the corresponding input information and the receiver number in a local database or a server.
Optionally, the acquiring the input information and the number of the receiver includes:
acquiring the number of the receiver;
detecting whether the number of the receiver is in a preset white list or not; and if not, acquiring the input information.
Optionally, the preset white list includes all private communication numbers in the current terminal address book.
In addition, to achieve the above object, the present invention further provides a terminal, including:
the detection unit is used for detecting whether input information and a receiver number corresponding to the input information exist in the short message input box;
an obtaining unit, configured to obtain the input information and the number of the receiving party;
the inquiry unit is used for inquiring whether corresponding prompt information exists according to the number of the receiver and the input information, and the prompt information is used for prompting the specific service content provided by the network operator represented by the input information;
and the display unit is used for displaying the prompt information in a preset display area.
Optionally, the detection unit is configured to detect the input information by registering a content listener in the short message input box.
Optionally, the system further comprises a storage unit, configured to store the prompt message, the input message corresponding to the prompt message, and the number of the receiving party in a local database or a server.
Optionally, the obtaining unit includes:
the first acquisition module is used for acquiring the number of the receiver;
the number detection module is used for detecting whether the number of the receiver is in a preset white list or not;
and the second acquisition module is used for acquiring the input information if the number of the receiver is not in a preset white list.
Optionally, the preset white list includes all private communication numbers in the current terminal address book.
The short message prompting method and the terminal provided by the invention can acquire the input information and the number of the receiver before sending the short message by detecting whether the input information and the number of the receiver corresponding to the input information exist in the short message input frame, and inquire and display the corresponding prompting information according to the number of the receiver and the input information, so that the corresponding prompt is given to the user, the condition that the user wrongly sends the short message content to cause the transaction of services provided by network operators such as card changing and the like is avoided, and further certain loss is suffered.
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 schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an obtaining unit according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for short message notification according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a method for short message notification according to another embodiment of the present invention;
the functional features and advantages achieved by the present invention will be further described 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 PDA (personal digital assistant), a PAD (tablet), a PMP (portable multimedia player), a navigation device, 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, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, and the like. Fig. 1 illustrates the mobile terminal 100 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. The elements of the mobile terminal 100 will be described in detail below.
The wireless communication unit 110 may generally include one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive 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), zigbeeTMAnd so on.
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 115 is a GPS (global positioning system). According to the current technology, the GPS calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS 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 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal 100. 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 to control various operations of the mobile terminal 100 according to a command input by a user. 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 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 100 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 100. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal 100 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 displaying 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, mobile terminal 100 may include two or more display units (or other display devices), for example, mobile terminal 100 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 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 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 (communicating communication) 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 181 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, the mobile terminal 100 has been described in terms of its functionality. In addition, the mobile terminal 100 in the embodiment of the present invention may be a slide type mobile terminal such as a folder type, a bar type, a swing type, a slide type, and other various types of mobile terminals as an example. Therefore, the present invention can be applied to any type of mobile terminal, and is not limited thereto.
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 MSC 280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC 280 is also configured to interface with BSCs 275, which may be coupled to base stations via a backhaul. The backhaul line may be constructed according to any of several known interfaces, which may include, for example, european/american standard high capacity digital lines (E1/T1), Asynchronous Transfer Mode (ATM), network protocol (IP), point-to-point protocol (PPP), frame relay, high-rate digital subscriber line (HDSL), Asymmetric Digital Subscriber Line (ADSL), or various types of digital subscriber lines (xDSL). It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS 270 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 BS 270 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 BS 270 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 BSC 275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each partition of a particular BS 270 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 location information module 115 (e.g., GPS) as shown in fig. 1 is generally configured to cooperate with the 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 BS 270 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 is processed within a 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 MSC 280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN 290 interfaces with the MSC 280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS 270 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.
As shown in fig. 3, a first embodiment of the present invention provides a terminal, which includes a detecting unit 10, an obtaining unit 20, an inquiring unit 30, and a displaying unit 40.
The detection unit 10 is configured to detect whether there is input information in the short message input box and a number of a receiving party corresponding to the input information. The acquiring unit 20 is configured to acquire the input information and the number of the receiving party.
For example, the user uses the SIM card of china mobile, receives a certain short message to prompt the user that the prize is won, and needs to send a reply "zzhk 138001380001221212112" to 10086; at this time, if the user inputs "zzhk" in the short message input box, the obtaining unit 20 obtains 10086 the input information in the short message input box and the number of the receiver for receiving the input information.
The querying unit 30 is configured to query whether corresponding prompt information exists according to the number of the receiving party and the input information, where the prompt information is used to prompt a specific service content provided by a network operator represented by the input information. The display unit 40 is configured to display the prompt message in a preset display area if the prompt message exists.
For example, when the input information acquired by the acquiring unit 20 is "zzhk" and the number of the receiving party is 10086, the querying unit 30 may be configured to query whether there is a prompt message for "zzhk" according to the number of the receiving party 10086 and the input information, and if the "zzhk" + temporary number is a self-service card-changing short message, the user replies according to the prompt, which results in a card-changing operation for the used SIM card; therefore, the prompt information corresponding to the receiver number 10086 and the input information "zzhk" is "card change will be performed", which can inform the user of the relevant content of the specific service content provided by the network operator represented by the input information, thereby preventing the occurrence of the situation that the mobile phone number is held by the malicious short message sender, further causing the bank account to be damaged, and the like. At this time, the display unit 40 displays the change prompt message in a preset display area, which may be located above the short message input box or the like.
In this embodiment, the input information in the current short message input box is detected, and whether the input information has the prompt information under the current number of the receiver is inquired, wherein the prompt information includes the specific service content provided by the network operator represented by the input information. If the prompt message exists, the prompt message is displayed to avoid that the user wrongly replies the short message to suffer certain loss or produce bad results and the like.
The second embodiment of the present invention provides a terminal, which includes a detection unit 10, an acquisition unit 20, an inquiry unit 30, and a display unit 40.
The obtaining unit 20, the querying unit 30 and the display unit 40 in this embodiment are the same as the obtaining unit 20, the querying unit 30 and the display unit 40 in the first embodiment, and as described above, detailed description thereof is omitted here.
The detecting unit 10 in this embodiment is similar to the detecting unit 10 in the first embodiment, and it should be noted that, in the present invention, the detecting unit 10 is specifically configured to monitor the content in the short message input box by registering a content monitor in the short message input box. In the android system, the detection unit 10 can be implemented by registering a listener (listener), i.e., registering a database as a service to the listener. The client does not need to know the name of the database and the name of the instance, and can apply for connection to the database only by knowing the name of the service externally provided by the database. This service name may or may not be the same as the instance name. In the process of starting the database server, the database server registers a corresponding service (whenever a database is started, two pieces of information are registered in the listener by default: an instance and a service corresponding to the database server) to the listener, and registers a text change list (content listener) in the short message input box, and when the short message input information changes, the callback mode is adopted to start the acquisition unit 20 to acquire the content of the short message input.
As shown in fig. 4, a third embodiment of the present invention provides a terminal, which includes a detecting unit 10, an obtaining unit 20, an inquiring unit 30, a displaying unit 40, and a storing unit 50.
The detecting unit 10, the obtaining unit 20, the querying unit 30 and the display unit 40 in this embodiment are the same as the detecting unit 10, the obtaining unit 20, the querying unit 30 and the display unit 40 in the first embodiment or the second embodiment, and as described above, detailed description thereof is omitted here.
The storage unit 50 in this embodiment is used to store the prompt message and the corresponding input message and the number of the receiving party in a local database or a server.
Specifically, the storage unit 50 may store the prompt message and the corresponding input message and the number of the receiving party in a local database. At this time, the current terminal needs to cache a certain amount of preset receiver numbers (including mobile phone numbers, service short message numbers, SP service numbers, and the like), and a database of input information and prompt information corresponding to the preset receiver numbers, and periodically perform networking update operation on the contents of the database. The current terminal performs query operation on the locally cached data through the query unit 30, and the display unit 40 performs corresponding processing operation according to the query result, that is: and if the prompt information exists, displaying the prompt information. In the specific query, the query mode can be that the number of the current short message for sending the short message is matched with the number of a first preset receiver; if the matching is successful, matching the input information with first input information; if the matching is successful, acquiring first prompt information; the first prompt message corresponds to the first input message and a first preset receiver number.
In another embodiment of the invention, the prompt message and the corresponding input message and the number of the receiver are stored in the server. The current terminal may not buffer the data at this time. Each time a query needs to be made through the query unit 30, the current terminal transmits the input information and the transmitted number to a remote server for query. And after the server performs the query operation, returning the query result to the mobile terminal. And the mobile terminal carries out corresponding processing according to the query result. In the case of a specific query, the query mode is as described above.
In another implementation of the present invention, the prompt message and the corresponding input message and the number of the receiver are stored in the local database and the server simultaneously; when the query unit 30 performs the query, the query may be performed in the local database. If the query result is that no prompt information exists, the query result is sent to the server side to perform query operation, and the query result is returned to the mobile terminal. In the case of a specific query, the query mode is as described above.
The fourth embodiment of the present invention proposes a terminal, which includes a detection unit 10, an acquisition unit 20, an inquiry unit 30, and a display unit 40.
The detecting unit 10, the querying unit 30 and the displaying unit 40 in this embodiment are the same as the detecting unit 10, the querying unit 30 and the displaying unit 40 in the first embodiment, the second embodiment or the third embodiment, and as described above, detailed description thereof is omitted here.
The obtaining unit 20 in this embodiment is similar to the obtaining unit 20 in the first embodiment, and it should be noted that, in the present invention, as shown in fig. 5, the obtaining unit 20 specifically includes: a first obtaining module 21, configured to obtain the number of the receiving party; a number detection module 22, configured to detect whether the number of the receiver is in a preset white list; a second obtaining module 13, configured to obtain the input information if the number of the receiving party is not in a preset white list. Therefore, if the number of the receiver is in the preset white list, the input information does not need to be acquired. The white list comprises a plurality of communication numbers, and if the number of a receiver corresponding to the input information is from the white list, namely is the same as the communication number in the white list, the white list can be directly sent without inquiring. In specific implementation, the preset white list includes all the private communication numbers in the current terminal address book, and the private communication numbers do not include various service numbers. The Service number may include a Service short message number, an SP (Service Provider) Service number, and the like; for example, 10086 belongs to a service number, which is not listed in the preset white list even though it is stored in the current terminal address book.
The terminal in the embodiment of the present invention is described above, and a method for short message notification in the embodiment of the present invention is described below.
As shown in fig. 6, a fifth embodiment of the present invention provides a method for short message notification, including the steps of:
s11, detecting whether input information and a receiver number corresponding to the input information exist in the short message input box, if not, ending the process as shown in the step S15; if yes, go to step S2;
for example, the user uses the SIM card of china mobile, receives a certain short message to prompt the user that the prize is won, and needs to send a reply "zzhk 138001380001221212112" to 10086; if the user inputs 'z' in the short message input box, the input information is detected to be input into the short message input box;
s12, acquiring the input information and the number of the receiver;
s13, according to the number of the receiver and the input information, inquiring whether corresponding prompt information exists, wherein the prompt information is used for prompting the specific service content provided by the network operator represented by the input information, if not, as shown in step S15, the process is ended; if yes, go to step S14;
for example, when the input information acquired in step S12 is "zzhk" and the number of the receiver is 10086, in step S12, it is necessary to query whether there is prompt information about "zzhk" according to the number of the receiver 10086 and the input information, and since "zzhk" + temporary number is a self-service card-changing short message, if the user replies according to the prompt, the card-changing operation of the used SIM card will be caused; therefore, the prompt information corresponding to the receiver number 10086 and the input information "zzhk" is "card change operation will be performed", and the like, which can inform the user of the related content of the specific service content provided by the network operator represented by the input information, thereby preventing the occurrence of the situations that the mobile phone number is held by the malicious short message sending party, further causing the bank account to be damaged, and the like;
s14, displaying the prompt message in a preset display area;
the display area can be positioned above the short message input box and the like.
A sixth embodiment of the present invention provides a method for short message notification, which includes the same steps as S11 through S15 mentioned in the fifth embodiment, and as described above, the steps are not repeated here.
In this embodiment, step S11 includes: and detecting input information in the short message input box in a mode of registering a content monitor in the short message input box. In the android system, the method can be realized by registering a listener (monitoring program), a text change listener (content monitoring program) is registered in a short message input box, and when input information changes, a related unit is started in a callback mode to acquire the content of short message input;
a seventh embodiment of the present invention provides a method for short message notification, which includes the same steps as S11 through S15 mentioned in the fifth embodiment, and as described above, the steps are not repeated here.
In this embodiment, before step S13, the method further includes the steps of: and storing the prompt information and the corresponding input information and the number of the receiver in a local database or a server.
Specifically, the prompt message and its corresponding input message, and the number of the receiver may be stored in a local database. At this time, the current terminal needs to cache a certain amount of preset receiver numbers (including mobile phone numbers, service short message numbers, SP service numbers, and the like), and a database of input information and prompt information corresponding to the preset receiver numbers, and periodically perform networking update operation on the contents of the database. The current terminal performs query operation on the locally cached data, and performs corresponding processing operation according to a query result, namely: and if the prompt information exists, displaying the prompt information. In the specific query, the query mode can be that the number of the current short message for sending the short message is matched with the number of a first preset receiver; if the matching is successful, matching the input information with first input information; if the matching is successful, acquiring first prompt information; the first prompt message corresponds to the first input message and a first preset receiver number.
In another embodiment of the invention, the prompt message and the corresponding input message and the number of the receiver are stored in the server. The current terminal may not buffer the data at this time. When the inquiry is needed, the current terminal sends the input information and the sent number to a remote server for inquiry. And after the server performs the query operation, returning the query result to the mobile terminal. And the mobile terminal carries out corresponding processing according to the query result. In the case of a specific query, the query mode is as described above.
In another implementation of the present invention, the prompt message and the corresponding input message and the number of the receiver are stored in the local database and the server simultaneously; when the query is performed, the query may be performed in the local database. If the query result is that no prompt information exists, the query result is sent to the server side to perform query operation, and the query result is returned to the mobile terminal. In the case of a specific query, the query mode is as described above.
As shown in fig. 7, an eighth embodiment of the present invention provides a method for short message notification, including the steps of:
s21, detecting whether input information and a receiver number corresponding to the input information exist in the short message input box, if not, ending the process as shown in the step S27; if yes, go to step S22;
for example, the user uses the SIM card of china mobile, receives a certain short message to prompt the user that the prize is won, and needs to send a reply "zzhk 138001380001221212112" to 10086; if the user inputs 'z' in the short message input box, the input information is detected to be input into the short message input box;
s22, acquiring the number of the receiver;
s23, detecting whether the number of the receiver is in a preset white list or not; if so, then end the process as shown in step 27; if not, go to step S24;
the white list comprises a plurality of communication numbers, and if the number of a receiver corresponding to the input information is from the white list, namely is the same as the communication number in the white list, the white list can be directly sent without inquiring. Therefore, if the number of the receiver is in the preset white list, the input information does not need to be acquired. In specific implementation, the preset white list includes all the private communication numbers in the current terminal address book, and the private communication numbers do not include various service numbers. The Service number may include a Service short message number, an SP (Service Provider) Service number, and the like; for example, 10086 belongs to a service number, and even if the service number is stored in the current terminal address book, the service number is not listed in the preset white list;
s24, acquiring input information;
s25, according to the number of the receiver and the input information, inquiring whether corresponding prompt information exists, wherein the prompt information is used for prompting the specific service content provided by the network operator represented by the input information, if not, as shown in step S15, the process is ended; if yes, go to step S14;
for example, when the input information acquired in step S12 is "zzhk" and the number of the receiver is 10086, in step S12, it is necessary to query whether there is prompt information about "zzhk" according to the number of the receiver 10086 and the input information, and since "zzhk" + temporary number is a self-service card-changing short message, if the user replies according to the prompt, the card-changing operation of the used SIM card will be caused; therefore, the prompt information corresponding to the receiver number 10086 and the input information "zzhk" is "card change operation will be performed", and the like, which can inform the user of the related content of the specific service content provided by the network operator represented by the input information, thereby preventing the occurrence of the situations that the mobile phone number is held by the malicious short message sending party, further causing the bank account to be damaged, and the like;
s26, displaying the prompt message in a preset display area;
the display area can be positioned above the short message input box and the like.
The short message prompting method and the terminal provided by the invention detect the input information of the short message input box so as to acquire whether the input information has corresponding prompting content. Therefore, the user is prevented from suffering certain loss caused by mistaken short message reply under the induction. The invention is easy to realize, has lower realization cost, only needs to maintain a set of database of numbers, short message contents and prompt contents, and regularly upgrades the database to ensure effectiveness and timeliness. Meanwhile, when the user inputs the short message, the content of the short message is detected, the cost is low, unnecessary loss caused by the fact that the user replies the short message by mistake can be avoided, and good user experience is brought to the user to a certain extent.
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 device (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 (6)

1. A method for prompting by short message is characterized by comprising the following steps:
detecting whether input information and a receiver number corresponding to the input information exist in a short message input box;
if yes, acquiring the input information and the number of the receiver;
inquiring whether a local database or a remote server has corresponding prompt information according to the number of the receiver and the input information, wherein the prompt information is used for prompting the specific service content provided by a network operator represented by the input information;
if so, displaying the prompt information in a preset display area;
the acquiring the input information and the number of the receiver includes:
acquiring the number of the receiver;
detecting whether the number of the receiver is in a preset white list or not; if not, acquiring the input information; the preset white list comprises all private communication numbers in the current terminal address list, and the private communication numbers do not comprise various service numbers.
2. The method of claim 1, wherein the detecting whether the input information exists in the short message input box and the number of the receiver corresponding to the input information comprises: and detecting the input information in a mode of registering a content monitor in the short message input box.
3. The method of claim 1, wherein before said querying whether corresponding alert information exists based on said recipient number and said input information, said method further comprises: and storing the prompt information and the corresponding input information and the receiver number in a local database or a server.
4. A terminal, comprising:
the detection unit is used for detecting whether input information and a receiver number corresponding to the input information exist in the short message input box;
an obtaining unit, configured to obtain the input information and the number of the receiving party;
the inquiry unit is used for inquiring whether a local database or a remote server has corresponding prompt information according to the number of the receiver and the input information, wherein the prompt information is used for prompting the specific service content provided by a network operator represented by the input information;
the display unit is used for displaying the prompt information in a preset display area;
the acquisition unit includes:
the first acquisition module is used for acquiring the number of the receiver;
the number detection module is used for detecting whether the number of the receiver is in a preset white list or not;
the second acquisition module is used for acquiring the input information if the number of the receiver is not in a preset white list; the preset white list comprises all private communication numbers in the current terminal address list, and the private communication numbers do not comprise various service numbers.
5. The terminal according to claim 4, wherein the detecting unit is configured to detect the input information by registering a content listener in the short message input box.
6. The terminal according to claim 4, further comprising a storage unit, configured to store the prompt message, the corresponding input message, and the number of the receiving party in a local database or a server.
CN201610975304.9A 2016-10-28 2016-10-28 Short message prompting method and terminal Active CN106375600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610975304.9A CN106375600B (en) 2016-10-28 2016-10-28 Short message prompting method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610975304.9A CN106375600B (en) 2016-10-28 2016-10-28 Short message prompting method and terminal

Publications (2)

Publication Number Publication Date
CN106375600A CN106375600A (en) 2017-02-01
CN106375600B true CN106375600B (en) 2020-12-29

Family

ID=57893266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610975304.9A Active CN106375600B (en) 2016-10-28 2016-10-28 Short message prompting method and terminal

Country Status (1)

Country Link
CN (1) CN106375600B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878349A (en) * 2006-07-03 2006-12-13 华为技术有限公司 Rate treating device, short message charge-deducting system and method
CN101102527A (en) * 2006-07-06 2008-01-09 李帜 Leading method and system for SMS service
CN101605303A (en) * 2009-06-16 2009-12-16 中兴通讯股份有限公司 Reminding rates method and apparatus in a kind of value-added telecom services
CN102186152A (en) * 2011-05-19 2011-09-14 深圳市五巨科技有限公司 Method and device for preventing mobile terminal from malicious fee deduction

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7192235B2 (en) * 2001-11-01 2007-03-20 Palm, Inc. Temporary messaging address system and method
US7933608B2 (en) * 2004-03-11 2011-04-26 Tekelec Methods, systems, and computer program products for providing presence gateway functionality in a telecommunications network
KR100641230B1 (en) * 2004-12-23 2006-11-02 엘지전자 주식회사 Method for enhancing message service of mobile communication terminal
CN1753434A (en) * 2005-10-28 2006-03-29 梁宇杰 Method of transmitting real name short message and its system
US8078509B2 (en) * 2006-08-17 2011-12-13 Cheng Gang Yap Ye Method and system for auditing and reconciling telecommunications data
US8107978B2 (en) * 2007-04-25 2012-01-31 Kirusa Inc. Addressing voice SMS messages
EP2501081B1 (en) * 2011-03-17 2014-11-26 Buzzinbees Sas System and Method for Data Roaming
CN103905408A (en) * 2012-12-28 2014-07-02 中国移动通信集团公司 Information acquisition method and equipment
CN104038627B (en) * 2014-05-09 2016-08-17 北京奇虎科技有限公司 The reminding method of end message and device and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878349A (en) * 2006-07-03 2006-12-13 华为技术有限公司 Rate treating device, short message charge-deducting system and method
CN101102527A (en) * 2006-07-06 2008-01-09 李帜 Leading method and system for SMS service
CN101605303A (en) * 2009-06-16 2009-12-16 中兴通讯股份有限公司 Reminding rates method and apparatus in a kind of value-added telecom services
CN102186152A (en) * 2011-05-19 2011-09-14 深圳市五巨科技有限公司 Method and device for preventing mobile terminal from malicious fee deduction

Also Published As

Publication number Publication date
CN106375600A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN106792584B (en) Information reminding method and mobile terminal
CN106027804B (en) Unlocking method and unlocking device of mobile terminal
CN106413128B (en) Projection method and mobile terminal
CN106937320B (en) Automatic operator parameter configuration method and terminal
CN104955011A (en) Emergency number adapting method, device and terminal
CN106302651B (en) Social picture sharing method and terminal with social picture sharing system
CN105515619B (en) Bluetooth communication method and system
CN105898703B (en) Management method and device for identified pseudo base station
CN106488420B (en) Incoming call processing method, device and system and readable storage medium
CN106102086B (en) Data processing apparatus and method
CN106778176B (en) Information processing method and mobile terminal
CN105096107B (en) Method and system for carrying out safe transfer through fingerprint identification
CN105721024B (en) Card simulation method, terminal and system for near field wireless communication
CN106484534B (en) Control method and control device for displayed mobile terminal
CN106455009B (en) Network searching device and method
CN104618382A (en) Information traceless access implementation method and device
CN104639428B (en) Self-adaptive method for session scene in instant messaging and mobile terminal
CN107027113B (en) SIM card activation method and mobile terminal
CN106951350B (en) Method and device for checking mobile terminal disk
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN105307156B (en) Device and method for requesting downloading of application
CN105959301B (en) Multimedia call optimization method and optimization system thereof
CN105872277B (en) Call reminding device and method and terminal equipment
CN109041197B (en) Communication method of terminal, terminal and computer readable storage medium
CN106375600B (en) Short message prompting method and terminal

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
GR01 Patent grant
GR01 Patent grant