CN108429855A - A kind of message sending control method, terminal and computer readable storage medium - Google Patents

A kind of message sending control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108429855A
CN108429855A CN201810149218.1A CN201810149218A CN108429855A CN 108429855 A CN108429855 A CN 108429855A CN 201810149218 A CN201810149218 A CN 201810149218A CN 108429855 A CN108429855 A CN 108429855A
Authority
CN
China
Prior art keywords
message
sent
terminal
content
editing interface
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.)
Granted
Application number
CN201810149218.1A
Other languages
Chinese (zh)
Other versions
CN108429855B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810149218.1A priority Critical patent/CN108429855B/en
Publication of CN108429855A publication Critical patent/CN108429855A/en
Application granted granted Critical
Publication of CN108429855B publication Critical patent/CN108429855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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/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/72439User 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 image or video messaging
    • 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
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of message sending control method, terminal and computer readable storage mediums, wherein message sending control method includes:When the interface for detecting terminal is message editing interface, determine the camera detection of terminal to head portrait whether be children, and determine whether the message to be sent in the message editing interface abnormal;If the head portrait that the camera detection of terminal arrives is children, and the message to be sent in the message editing interface is abnormal, then forbids the transmission of the message to be sent in the message editing interface.This programme can automated intelligent identification children's identity and behavior come in time prevent frequently accidentally hair message, it is no longer necessary to user be manually operated, be easy to use, improve user experience, solve the problems, such as that the child mode scheme of terminal in the prior art is inconvenient for use.

Description

A kind of message sending control method, terminal and computer readable storage medium
Technical field
The present invention relates to field of terminal technology more particularly to a kind of message sending control method, terminals and computer-readable Storage medium.
Background technology
Currently, mobile phone mobile device is more and more universal, various social activity APP, such as wechat, QQ also become people's daily life Middle contact, friend-making usage frequency are very high using APP.In mobile phone mobile device using more and more frequent today also to difference Some special patterns of the user setting of age level.The service condition for being such as directed to children has the mode of child mode.
But in the prior art, although there is the setting of child mode for children, child mode needs manually in advance Open setting.User is taken away object for appreciation by child in a kind of unwitting mobile phone in many cases, so can not shift to an earlier date Child mode is set.It is simultaneously inconvenient that child mode scheme namely in the prior art uses.
Invention content
The purpose of the present invention is to provide a kind of message sending control method, terminal and computer readable storage medium, with Solve the problems, such as that the child mode scheme of terminal in the prior art is inconvenient for use.
In order to solve the above-mentioned technical problem, the invention is realized in this way:A kind of message sending control method, including:
When the interface for detecting terminal is message editing interface, determine the camera detection of terminal to head portrait whether be Children, and determine whether the message to be sent in the message editing interface is abnormal;
If the head portrait that the camera detection of terminal arrives is children, and the message to be sent in the message editing interface is different Often, then forbid the transmission of the message to be sent in the message editing interface.
The embodiment of the present invention additionally provides a kind of terminal, including:
First determining module, for when the interface for detecting terminal is message editing interface, determining the camera of terminal Whether the head portrait detected is children, and determines whether the message to be sent in the message editing interface is abnormal;
First processing module, if the head portrait that the camera detection for terminal arrives is children, and the message editing interface Interior message to be sent is abnormal, then forbids the transmission of the message to be sent in the message editing interface.
The embodiment of the present invention additionally provides a kind of terminal, including processor, memory and is stored on the memory simultaneously The computer program that can be run on the processor, the computer program realize above-mentioned disappear when being executed by the processor The step of ceasing sending control method.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is deposited on the computer readable storage medium The step of storage computer program, the computer program realizes above-mentioned message sending control method when being executed by processor.
In embodiments of the present invention, by when the interface for detecting terminal is message editing interface, determining taking the photograph for terminal As whether the head portrait that head detects is children, and determine whether the message to be sent in the message editing interface is abnormal;If The head portrait that the camera detection of terminal arrives is children, and the message to be sent in the message editing interface is abnormal, then forbids institute State the transmission of the message to be sent in message editing interface;Can automated intelligent identification children's identity and behavior come in time prevent frequency Numerous accidentally hair message, it is no longer necessary to which user is manually operated, and is easy to use, improves user experience, solve terminal in the prior art Child mode scheme problem inconvenient for use.
Description of the drawings
Fig. 1 is the message sending control method flow diagram of the embodiment of the present invention;
Fig. 2 is the message sending control method concrete application flow diagram of the embodiment of the present invention;
Fig. 3 is the terminal structure schematic diagram one of the embodiment of the present invention;
Fig. 4 is the terminal structure schematic diagram two of the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
The present invention in view of the prior art in terminal child mode scheme problem inconvenient for use, a kind of message hair is provided Control method is sent, as shown in Figure 1, including:
Step 11:When the interface for detecting terminal is message editing interface, the head that the camera detection of terminal arrives is determined Seem whether the no message to be sent in children, and the determining message editing interface is abnormal.
Message editing interface be preferably social software APP (it is mounted in terminal, online, terminal system is included etc. Communicate APP) message editing interface.
Step 12:If the head portrait that the camera detection of terminal arrives is children, and to be sent in the message editing interface Message is abnormal, then forbids the transmission of the message to be sent in the message editing interface.
It is children's input behavior (substantially disappearing without substantive meaning of child resistant recognizing current message editing Breath editor), then forbid the transmission of message to be sent, to prevent from continuing accidentally sending out message.
The message sending control method provided in an embodiment of the present invention at the interface for detecting terminal for message by compiling When editing interface, determine the camera detection of terminal to head portrait whether be children, and determine in the message editing interface Whether message to be sent is abnormal;If the head portrait that the camera detection of terminal arrives is children, and is waited in the message editing interface It is abnormal to send message, then forbids the transmission of the message to be sent in the message editing interface;It being capable of automated intelligent identification children Identity and behavior to prevent frequently accidentally hair message in time, it is no longer necessary to which user is manually operated, and is easy to use, improves user's body It tests, solves the problems, such as that the child mode scheme of terminal in the prior art is inconvenient for use.
For step 11, the embodiment of the present invention provides two kinds of specific implementations, as follows:
The first, it is described when the interface for detecting terminal is message editing interface, determine that the camera detection of terminal arrives Head portrait whether be children, and whether abnormal step includes the message to be sent for determining in the message editing interface: When detecting that the interface of terminal is message editing interface, head portrait (the preferably active user that the camera detection of terminal arrives is obtained Head portrait);When the head portrait is children's head portrait, then determine whether the message to be sent in the message editing interface is abnormal.
First the head portrait of message editorial staff is determined, when head portrait instruction message editorial staff is children, followed by Whether the content of continuous identification editor has substantive meaning, if without substantive meaning, it is determined that current message editing is that children are defeated Enter behavior;It can ensure in practical application, accurately identify whether current message editing is children's input behavior, to keep away in this way The case where exempting from erroneous judgement, such as:The message editing personnel of head portrait instruction sometimes are children, but may be that adult has child in arms In editor's message, the head portrait got is the head portrait of child, but carried out by message editing not instead of child, the normal behaviour of adult Make;The improper operation that using this programme can avoid that message is just forbidden to send when head portrait is designated as children.
When head portrait instruction message editorial staff is not children, the normal transmission of message to be sent can be allowed, while after It is continuous that the head portrait of message editorial staff is determined;It can identify in real time in this way and determine whether current message editing is children Input behavior avoids the mistake of message from sending out to the greatest extent.
It is second, described when the interface for detecting terminal is message editing interface, determine that the camera detection of terminal arrives Head portrait whether be children, and whether abnormal step includes the message to be sent for determining in the message editing interface: When detecting that the interface of terminal is message editing interface, determine whether the message to be sent in the message editing interface is abnormal; If so, the head portrait (the preferably head portrait of active user) that the camera detection for obtaining terminal arrives;Determine the camera inspection of terminal Whether the head portrait measured is children.
First identify whether the content of editor if there is substantive meaning to be further continued for message human editor without substantive meaning The head portrait of member is determined, when head portrait instruction message editorial staff is children, it is determined that current message editing is that children are defeated Enter behavior;It can ensure in practical application, accurately identify whether current message editing is children's input behavior, to keep away in this way The case where exempting from erroneous judgement, such as:The content edited sometimes does not have substantive meaning, but may be carried out by editorial staff is intentional, Rather than maloperation or child resistant;It can avoid just forbidding when the content of editor does not have substantive meaning using this programme The improper operation that message is sent improves user experience.
When head portrait instruction message editorial staff is not children, the normal transmission of message to be sent can be allowed, while after Whether the content of continuous identification editor has substantive meaning;Can identify in real time in this way determine current message editing whether be Virgin input behavior avoids the mistake of message from sending out to the greatest extent.
From the foregoing, it will be observed that the step 11 of the embodiment of the present invention may particularly include the determination to the head portrait of message editorial staff and The discrimination of the content of editor, and the two in no particular order sequence.
Wherein, whether abnormal step includes the message to be sent in the determination message editing interface:Obtain institute It states and has been sent in the content of the message to be sent in message editing interface and the first preset time period before current time The quantity of message;According to first preset time period and quantity, message sending rate is obtained;According to the history message hair to prestore Rule is sent, determines whether the content of the message to be sent and message sending rate are abnormal;If so, determining that the message is compiled Message to be sent in editing interface is abnormal;Wherein, the history message sends rule according to the message in the second preset time period Quantity forwarded and the content of transmitted message obtain, and second preset time period is before first preset time period.
The content for the message to be sent that rule determines in message editing interface is sent according to the history message being previously obtained And whether the message sending rate in the nearly period is abnormal, if so, determining the message to be sent in message editing interface It is abnormal;The accuracy rate for determining operation can be further increased in this way.
Specifically, the history message that the basis prestores sends rule, the content and message of the message to be sent are determined Whether abnormal step includes transmission frequency:Judge whether the content of the message to be sent meets the history message and send Content rule in rule;And judge whether the message sending rate is greater than or equal to the history message and sends in rule Transmission frequency threshold value;If the content of the message to be sent does not meet the content rule, and the message sending rate is big In or equal to the transmission frequency threshold value, it is determined that the content and message sending rate of the message to be sent are abnormal.
The content rule of history is not met in the content of message to be sent namely, and the message in the nearly period sends frequency Rate also greater than or equal to history message sending rate (transmission frequency threshold value) when, determine message to be sent content and message hair Send frequency abnormal.
Further, the camera detection for determining terminal to head portrait whether be children, and determine that the message is compiled Whether before exception, the message sending control method further includes for message to be sent in editing interface:Obtain the second preset time The content of message quantity forwarded and transmitted message in section;According to the content of the message quantity forwarded and transmitted message, The history message is obtained using the method manually learnt and sends rule.
I.e. before identifying whether current message editing is children's input behavior, first obtains history message and sends rule, To be used in subsequent identification process, processing speed is improved.
The message sending control method provided in an embodiment of the present invention is further described below.
In view of the above technical problems, the embodiment of the present invention provides a kind of message sending control method, can be specially one kind It can identify that child's identity and behavior carry out the method for preventing frequently accidentally to send out message in time with automated intelligent, to solve to need in the prior art Shift to an earlier date manually opened child mode, awkward defect.
Scheme provided in an embodiment of the present invention can be summarized as:Usually user, which is obtained, by artificial intelligence study sends message Content and the behaviors feature such as transmission frequency;The head of present terminal user (message editing personnel) is obtained by camera Picture identifies whether active user is children through image recognition technology, and behavior and the content of message are sent further according to active user Whether the feature and rule learnt with artificial intelligence meets, and whether the message to be sent in decision message edit page is abnormal; It then can determine whether out that active user's behavior is child behavior if there is abnormal.
Such as:Usually sent by artificial intelligence data study analysis user the content (expression or sentence) of message frequency and Pattern, and wherein whether sentence has complete semantic and word order, may also be combined with the user with the contact person contacting usually The features such as situation;
The case where message being sent according to learning outcome combination active user, for example frequently send expression or frequently send continuous Word order sentence, and each word or sentence do not have complete semantic, while behavior is frequent, then may determine that the identification behavior is Message transmission key is set to nonfunctional state by child behavior temporarily;
When subsequent detection to user's head portrait is other users head portrait or sends column typed message behavior and content in message Restore also restore message sending function key automatically when rule.It can avoid continuing accidentally to send out message to he is artificial due to child in this way At the unnecessary embarrassment bothered and brought to oneself.
It can specifically include the following steps as shown in Figure 2 (Fig. 2 is by way of example only):
Step 21:The case where user usually uses social software to send message and rule are analyzed in intelligence learning;
The analyzing processing that natural language is carried out by the message content sent to usually user, can analyze transmission content is It is no that there is complete semantic, word order, and usually user is combined to send the interactive mode of the frequency and other side of message when interacting, with record User uses substantially rule when social software APP.
Step 22:Active user's head portrait is obtained by camera;
Specifically can detect the presence of message editing operation or terminal current interface be message editing interface when, then Step 22 is executed, to save the energy;
Step 22 can obtain user's head portrait of currently used terminal specifically by startup terminal camera.
Step 23:Judge whether active user is children, if so, 24 are entered step, if it is not, return to step 22;
Whether active user is analyzed according to active user's head portrait combination image analysis identification technology that camera is got For children.If yes then enter step 24, if not then return to step 22, continue to detect head portrait, and allow to carry out message It sends.
Step 24:Obtain the knot of the case where intelligence learning analysis user usually uses social software to send message and rule Fruit;
Obtain the intelligence learning result by step 21.Such as:It is complete whether the message content that usually user sends has Semantic, word order, the data results such as interactive mode when the frequency of usually user's transmission message and other side interact.
Step 25:It is whether abnormal according to the behavior of the result of acquisition detection user's transmission message and message content, if so, into Enter step 26, if it is not, terminating flow;
I.e. by way of the frequency of message content and transmission message being sent to active user and the interaction with contact person Etc. data analyzed, by result with usually the result data of user behavior compares in step 24;
In view of user under normal circumstances send message word content or expression before and after be related and semantic, word order is all Completely;And if it is children, then since behavior is typically all automatism, the message that they send is typically all to send expression Or word, word, the sentence sent does not have connection or integrality on semantic and word order, and the execution frequency of the behavior of children exists There is frequency and continuity on time.
It is carried out by the frequency (frequency threshold can be set to 5 times or 10 times) and content of the transmission behavior to active user Detection (can be greater than or equal to frequency threshold, and interior to judge whether active user's behavior is abnormal in the frequency of the behavior of transmission When appearance does not meet historical content rule, active user's abnormal behavior is determined).If it is, being proved to be children's automatism, hold Row step 26.
Step 26:Message " transmission " key function is set to nonfunctional state automatically;
I.e. when detecting active user's abnormal behavior, preferably the message of input is sent out by send key in this user Before going, " transmission " key button is just set to nonfunctional state.This makes it possible to the exceptions avoided well due to lasting transmission Message causes persistently to bother to other side.
From the foregoing, it will be observed that scheme provided in an embodiment of the present invention is usually soft by social activity by artificial intelligence study analysis user Part APP sends the Behavior law of message, and obtained Behavior law is made comparisons with the behavior of currently transmitted message, to sentence Whether the behavior of disconnected active user is abnormal, while obtaining user's head portrait by camera, to identify whether user is children, in turn Come intelligently decide whether close message transmission key, prevent from persistently bothering other people.
It is, scheme provided in an embodiment of the present invention can realize the age identity (head portrait) and row in conjunction with active user For rule, with intelligence, more timely prevention children continue accidentally to send out message to mutual influence.
The embodiment of the present invention additionally provides a kind of terminal, as shown in figure 3, including:
First determining module 31, for when the interface for detecting terminal is message editing interface, determining the camera shooting of terminal Whether the head portrait that head detects is children, and determines whether the message to be sent in the message editing interface is abnormal;
First processing module 32, if the head portrait that the camera detection for terminal arrives is children, and message editing circle Message to be sent in face is abnormal, then forbids the transmission of the message to be sent in the message editing interface.
The terminal provided in an embodiment of the present invention is by when the interface for detecting terminal is message editing interface, determining The camera detection of terminal to head portrait whether be children, and determine message to be sent in the message editing interface is whether It is abnormal;If the head portrait that the camera detection of terminal arrives is children, and the message to be sent in the message editing interface is abnormal, then Forbid the transmission of the message to be sent in the message editing interface;Can automated intelligent identification children's identity and behavior come it is timely It prevents frequently accidentally to send out message, it is no longer necessary to which user is manually operated, and is easy to use, improves user experience, solve the prior art The child mode scheme of middle terminal problem inconvenient for use.
Wherein, first determining module includes:First acquisition submodule, for obtaining in the message editing interface The quantity of transmitted message in the content of message to be sent and the first preset time period before current time;First processing Submodule, for according to first preset time period and quantity, obtaining message sending rate;
First determination sub-module determines the interior of the message to be sent for sending rule according to the history message to prestore Hold and whether message sending rate is abnormal;Second determination sub-module is used for if so, determining in the message editing interface Message to be sent is abnormal;Wherein, the history message send rule according in the second preset time period message quantity forwarded and The content of transmitted message obtains, and second preset time period is before first preset time period.
Specifically, first determination sub-module includes:First judging unit, for judging the interior of the message to be sent The content rule whether met in the history message transmission rule held;And judge the message sending rate whether be more than or The transmission frequency threshold value in rule is sent equal to the history message;First determination unit, if for the message to be sent Content does not meet the content rule, and the message sending rate is greater than or equal to the transmission frequency threshold value, it is determined that institute Content and the message sending rate for stating message to be sent are abnormal.
Further, the terminal further includes:First acquisition module, the head for being arrived in the camera detection for determining terminal Seem no it is children, and determines that whether before exception, it is default to obtain second for message to be sent in the message editing interface The content of message quantity forwarded and transmitted message in period;Second processing module, for sending number according to the message The content of amount and transmitted message obtains the history message using the method manually learnt and sends rule.
Terminal provided in an embodiment of the present invention can realize each mistake that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2 Journey, to avoid repeating, which is not described herein again.
A kind of hardware architecture diagram of Fig. 4 terminals of each embodiment to realize the present invention, the terminal 40 include but not It is limited to:Radio frequency unit 41, network module 42, audio output unit 43, input unit 44, sensor 45, display unit 46, user The components such as input unit 47, interface unit 48, memory 49, processor 410 and power supply 411.Those skilled in the art can be with Understand, the restriction of the not structure paired terminal of terminal structure shown in Fig. 4, terminal may include than illustrating more or fewer portions Part either combines certain components or different components arrangement.In embodiments of the present invention, terminal include but not limited to mobile phone, Tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410, for when the interface for detecting terminal is message editing interface, determining the camera shooting of terminal Whether the head portrait that head detects is children, and determines whether the message to be sent in the message editing interface is abnormal;If eventually The head portrait that the camera detection at end arrives is children, and the message to be sent in the message editing interface is abnormal, then forbids described The transmission of message to be sent in message editing interface.
In embodiments of the present invention, by when the interface for detecting terminal is message editing interface, determining taking the photograph for terminal As whether the head portrait that head detects is children, and determine whether the message to be sent in the message editing interface is abnormal;If The head portrait that the camera detection of terminal arrives is children, and the message to be sent in the message editing interface is abnormal, then forbids institute State the transmission of the message to be sent in message editing interface;Can automated intelligent identification children's identity and behavior come in time prevent frequency Numerous accidentally hair message, it is no longer necessary to which user is manually operated, and is easy to use, improves user experience, solve terminal in the prior art Child mode scheme problem inconvenient for use.
Optionally, processor 410 is specifically used for, obtain the message to be sent in the message editing interface content and The quantity of transmitted message in the first preset time period before current time;According to the first preset time period sum number Amount, obtains message sending rate;Rule is sent according to the history message to prestore, determines the content and message of the message to be sent Whether transmission frequency is abnormal;If so, determining that the message to be sent in the message editing interface is abnormal;Wherein, described to go through History message sends rule and is obtained according to the content of message quantity forwarded and transmitted message in the second preset time period, and described the Two preset time periods are before first preset time period.
Optionally, processor 410 is specifically used for, and judges whether the content of the message to be sent meets the history message Send the content rule in rule;And judge whether the message sending rate is greater than or equal to the history message and sends rule Transmission frequency threshold value in rule;If the content of the message to be sent does not meet the content rule, and the message sends frequency Rate is greater than or equal to the transmission frequency threshold value, it is determined that the content and message sending rate of the message to be sent are abnormal.
Optionally, processor 410 is additionally operable to, the camera detection for determining terminal to head portrait whether be children, and Message to be sent in the message editing interface is determined whether before exception, the message obtained in the second preset time period is sent The content of quantity and transmitted message;According to the content of the message quantity forwarded and transmitted message, using what is manually learnt Method obtains the history message and sends rule.
It should be understood that the embodiment of the present invention in, radio frequency unit 41 can be used for receiving and sending messages or communication process in, signal It sends and receivees, specifically, after the downlink data from base station is received, is handled to processor 410;In addition, by the number of uplink According to being sent to base station.In general, radio frequency unit 41 include but not limited to antenna, at least one amplifier, transceiver, coupler, Low-noise amplifier, duplexer etc..In addition, radio frequency unit 41 can also system and network and other equipment be logical by radio communication Letter.
Terminal has provided wireless broadband internet to the user by network module 42 and has accessed, and such as helps user's transceiver electronics Mail, browsing webpage and access streaming video etc..
It is that audio output unit 43 can receive radio frequency unit 41 or network module 42 or stored in memory 49 Audio data be converted into audio signal and export be sound.Moreover, audio output unit 43 can also provide and terminal 40 The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) of execution.Audio output Unit 43 includes loud speaker, buzzer and receiver etc..
Input unit 44 is for receiving audio or video signal.Input unit 44 may include graphics processor (Graphics Processing Unit, GPU) 441 and microphone 442, graphics processor 441 in video acquisition mode or The image data of the static images or video that are obtained by image capture apparatus (such as camera) in image capture mode is handled. Treated, and picture frame may be displayed on display unit 46.Through graphics processor 441, treated that picture frame can be stored in It is sent in memory 49 (or other storage mediums) or via radio frequency unit 41 or network module 42.Microphone 442 can To receive sound, and can be audio data by such acoustic processing.Treated, and audio data can be in telephone relation The format output of mobile communication base station can be sent to via radio frequency unit 41 by being converted in the case of pattern.
Terminal 40 further includes at least one sensor 45, such as optical sensor, motion sensor and other sensors.Tool Body, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to the bright of ambient light Secretly adjust the brightness of display panel 461, proximity sensor can when terminal 40 is moved in one's ear, close display panel 461 and/ Or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) acceleration Size can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, related trip Play, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 45 can also include fingerprint Sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray pass Sensor etc., details are not described herein.
Display unit 46 is for showing information input by user or being supplied to the information of user.Display unit 46 may include Liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used in display panel 461 Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 461.
User input unit 47 can be used for receiving the number or character information of input, and generate the user setting with terminal And the related key signals input of function control.Specifically, user input unit 47 includes touch panel 471 and other inputs Equipment 472.Touch panel 471, also referred to as touch screen, collect user on it or neighbouring touch operation (for example user makes With the operation of any suitable object or attachment such as finger, stylus on touch panel 471 or near touch panel 471).It touches Control panel 471 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection user's is tactile Orientation is touched, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller is filled from touch detection Reception touch information is set, and is converted into contact coordinate, then gives processor 410, receives the order that processor 410 is sent And it is executed.Furthermore, it is possible to realize touch surface using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Plate 471.In addition to touch panel 471, user input unit 47 can also include other input equipments 472.Specifically, other are inputted Equipment 472 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse Mark, operating lever, details are not described herein.
Further, touch panel 471 can be covered on display panel 461, when touch panel 471 detect on it or After neighbouring touch operation, processor 410 is sent to determine the type of touch event, is followed by subsequent processing device 410 according to touch thing The type of part provides corresponding visual output on display panel 461.Although in Fig. 4, touch panel 471 and display panel 461 be to realize the function that outputs and inputs of terminal as two independent components, but in some embodiments it is possible to will touch Control panel 471 is integrated with display panel 461 and realizes the function that outputs and inputs of terminal, does not limit herein specifically.
Interface unit 48 is the interface that external device (ED) is connect with terminal 40.For example, external device (ED) may include wired or nothing Line headphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, use In port, audio input/output (I/O) port, video i/o port, the ear port of device etc. of the connection with identification module Deng.Interface unit 48 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will receive To one or more elements for being transferred in terminal 40 of input or can be used between terminal 40 and external device (ED) transmitting Data.
Memory 49 can be used for storing software program and various data.Memory 49 can mainly include storing program area and Storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as sound according to mobile phone Frequency evidence, phone directory etc.) etc..In addition, memory 49 may include high-speed random access memory, can also include non-volatile Memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 49, and call the number being stored in memory 49 According to, execute terminal various functions and processing data, to terminal carry out integral monitoring.Processor 410 may include one or Multiple processing units;Preferably, processor 410 can integrate application processor and modem processor, wherein application processor Main processing operation system, user interface and application program etc., modem processor mainly handles wireless communication.It is appreciated that , above-mentioned modem processor can not also be integrated into processor 410.
Terminal 40 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 can be with It is logically contiguous by power-supply management system and processor 410, to by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 40 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 410, and memory 49 is stored in memory It is real when which is executed by the processor 410 on 49 and the computer program that can be run on the processor 410 Each process of existing above-mentioned message sending control method embodiment, and identical technique effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned message sending control method embodiment when being executed by processor, And identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (10)

1. a kind of message sending control method, which is characterized in that including:
When the interface for detecting terminal is message editing interface, determine the camera detection of terminal to head portrait whether be Child, and determine whether the message to be sent in the message editing interface is abnormal;
If the head portrait that the camera detection of terminal arrives is children, and the message to be sent in the message editing interface is abnormal, then Forbid the transmission of the message to be sent in the message editing interface.
2. message sending control method according to claim 1, which is characterized in that the determination message editing interface Whether abnormal step includes interior message to be sent:
Obtain the content of the message to be sent in the message editing interface and the first preset time before current time The quantity of transmitted message in section;
According to first preset time period and quantity, message sending rate is obtained;
Rule is sent according to the history message to prestore, determines whether the content of the message to be sent and message sending rate are different Often;
If so, determining that the message to be sent in the message editing interface is abnormal;
Wherein, the history message sends rule according to the message quantity forwarded and transmitted message in the second preset time period Content obtains, and second preset time period is before first preset time period.
3. message sending control method according to claim 2, which is characterized in that the history message hair that the basis prestores Send rule, determine the message to be sent content and message sending rate whether abnormal step includes:
Judge whether the content of the message to be sent meets the content rule in the history message transmission rule;And judge Whether the message sending rate is greater than or equal to the transmission frequency threshold value in history message transmission rule;
If the content of the message to be sent does not meet the content rule, and the message sending rate is more than or equal to described Transmission frequency threshold value, it is determined that the content and message sending rate of the message to be sent are abnormal.
4. message sending control method according to claim 2, which is characterized in that arrived in the camera detection for determining terminal Head portrait whether be children, and determine message to be sent in the message editing interface whether before exception, the message Sending control method further includes:
Obtain the content of the message quantity forwarded and transmitted message in the second preset time period;
According to the content of the message quantity forwarded and transmitted message, the history message is obtained using the method manually learnt Send rule.
5. a kind of terminal, which is characterized in that including:
First determining module, for when the interface for detecting terminal is message editing interface, determining the camera detection of terminal To head portrait whether be children, and determine whether the message to be sent in the message editing interface abnormal;
First processing module, if the head portrait that the camera detection for terminal arrives is children, and in the message editing interface Message to be sent is abnormal, then forbids the transmission of the message to be sent in the message editing interface.
6. terminal according to claim 5, which is characterized in that first determining module includes:
First acquisition submodule, content for obtaining the message to be sent in the message editing interface and at current time The quantity of transmitted message in the first preset time period before;
First processing submodule, for according to first preset time period and quantity, obtaining message sending rate;
First determination sub-module, for sending rule according to the history message that prestores, determine the message to be sent content and Whether message sending rate is abnormal;
Second determination sub-module is used for if so, determining that the message to be sent in the message editing interface is abnormal;
Wherein, the history message sends rule according to the message quantity forwarded and transmitted message in the second preset time period Content obtains, and second preset time period is before first preset time period.
7. terminal according to claim 6, which is characterized in that first determination sub-module includes:
First judging unit is sent for judging whether the content of the message to be sent meets the history message in rule Content rule;And judge the transmission the frequency whether message sending rate is greater than or equal in history message transmission rule Rate threshold value;
First determination unit, if the content for the message to be sent does not meet the content rule, and the message is sent Frequency is greater than or equal to the transmission frequency threshold value, it is determined that the content and message sending rate of the message to be sent are different Often.
8. terminal according to claim 6, which is characterized in that the terminal further includes:
First acquisition module, for the camera detection for determining terminal to head portrait whether be children, and determine described in disappear The message to be sent in editing interface is ceased whether before exception, is obtained the message quantity forwarded in the second preset time period and has been sent out Send the content of message;
Second processing module, for the content according to the message quantity forwarded and transmitted message, using the side manually learnt Method obtains the history message and sends rule.
9. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be in the processing The computer program run on device is realized when the computer program is executed by the processor as any in Claims 1-4 Described in message sending control method the step of.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the computer program realize that message according to any one of claims 1 to 4 sends controlling party when being executed by processor The step of method.
CN201810149218.1A 2018-02-13 2018-02-13 Message sending control method, terminal and computer readable storage medium Active CN108429855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810149218.1A CN108429855B (en) 2018-02-13 2018-02-13 Message sending control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810149218.1A CN108429855B (en) 2018-02-13 2018-02-13 Message sending control method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108429855A true CN108429855A (en) 2018-08-21
CN108429855B CN108429855B (en) 2020-05-05

Family

ID=63156958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810149218.1A Active CN108429855B (en) 2018-02-13 2018-02-13 Message sending control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108429855B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110536017A (en) * 2019-09-03 2019-12-03 中国联合网络通信集团有限公司 Message sending control method, message transmission control device
CN110602320A (en) * 2019-09-10 2019-12-20 中国联合网络通信集团有限公司 Message sending monitoring method and device based on social software
CN110784394A (en) * 2019-10-31 2020-02-11 维沃移动通信有限公司 Prompting method and electronic equipment
CN112702464A (en) * 2020-12-17 2021-04-23 维沃软件技术有限公司 Message sending method and message sending device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150199969A1 (en) * 2012-06-29 2015-07-16 Samsung Electronics Co., Ltd. Method of controlling terminal using context awareness and terminal thereof
CN106484279A (en) * 2016-09-12 2017-03-08 努比亚技术有限公司 A kind of identification and method and the terminal of processing terminal abnormal operation
CN106878550A (en) * 2017-01-20 2017-06-20 奇酷互联网络科技(深圳)有限公司 The control method of terminal, device and terminal device
CN106951766A (en) * 2017-04-10 2017-07-14 广东小天才科技有限公司 scene mode switching method and device of intelligent terminal
CN107292158A (en) * 2017-07-31 2017-10-24 广东欧珀移动通信有限公司 Mobile terminal and pattern triggering method, computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150199969A1 (en) * 2012-06-29 2015-07-16 Samsung Electronics Co., Ltd. Method of controlling terminal using context awareness and terminal thereof
CN106484279A (en) * 2016-09-12 2017-03-08 努比亚技术有限公司 A kind of identification and method and the terminal of processing terminal abnormal operation
CN106878550A (en) * 2017-01-20 2017-06-20 奇酷互联网络科技(深圳)有限公司 The control method of terminal, device and terminal device
CN106951766A (en) * 2017-04-10 2017-07-14 广东小天才科技有限公司 scene mode switching method and device of intelligent terminal
CN107292158A (en) * 2017-07-31 2017-10-24 广东欧珀移动通信有限公司 Mobile terminal and pattern triggering method, computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无: "《小孩子拿着大人的手机在微信群发一些表情和看不懂的文字,你会介意么?》", 《HTTPS://BAIKE.1688.COM/DOC/VIEW-D41248126.HTML》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110536017A (en) * 2019-09-03 2019-12-03 中国联合网络通信集团有限公司 Message sending control method, message transmission control device
CN110602320A (en) * 2019-09-10 2019-12-20 中国联合网络通信集团有限公司 Message sending monitoring method and device based on social software
CN110602320B (en) * 2019-09-10 2021-06-11 中国联合网络通信集团有限公司 Message sending monitoring method and device based on social software
CN110784394A (en) * 2019-10-31 2020-02-11 维沃移动通信有限公司 Prompting method and electronic equipment
CN112702464A (en) * 2020-12-17 2021-04-23 维沃软件技术有限公司 Message sending method and message sending device

Also Published As

Publication number Publication date
CN108429855B (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN108021302B (en) A kind of display methods of application icon, terminal and computer readable storage medium
CN108429855A (en) A kind of message sending control method, terminal and computer readable storage medium
CN110413364A (en) A kind of information processing method and terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN109995933A (en) The method and terminal device of the alarm clock of controlling terminal equipment
CN109814968A (en) A kind of data inputting method, terminal device and computer readable storage medium
CN109101147A (en) A kind of message notification display method and terminal
CN108549802A (en) A kind of unlocking method, device and mobile terminal based on recognition of face
CN108174037A (en) The reminding method and mobile terminal of a kind of notification message
CN109871246A (en) A kind of message display method and terminal device
CN109542279A (en) A kind of terminal equipment control method and terminal device
CN108391008A (en) A kind of message prompt method and mobile terminal
CN108541009A (en) A kind of detection method and terminal device of communications status
CN108650408A (en) A kind of unlocking screen method and mobile terminal
CN109753350A (en) A kind of method for managing resource and terminal device
CN110505340A (en) A kind of message method and terminal device
CN109327606A (en) A kind of message prompt method and terminal
CN108712555A (en) A kind of method and device sending warning message
CN108733275A (en) A kind of object displaying method and terminal
CN108597495A (en) A kind of method and device of processing voice data
CN108363591A (en) A kind of method and device of PUSH message control
CN109857305A (en) A kind of input response method and mobile terminal
CN108347642B (en) A kind of video broadcasting method and mobile terminal
CN110225196A (en) Terminal control method and terminal device
CN110471564A (en) A kind of display control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant