CN110149628A - A kind of information processing method and terminal device - Google Patents
A kind of information processing method and terminal device Download PDFInfo
- Publication number
- CN110149628A CN110149628A CN201910388966.XA CN201910388966A CN110149628A CN 110149628 A CN110149628 A CN 110149628A CN 201910388966 A CN201910388966 A CN 201910388966A CN 110149628 A CN110149628 A CN 110149628A
- Authority
- CN
- China
- Prior art keywords
- information
- terminal device
- case
- local environment
- environment
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/60—Context-dependent security
- H04W12/65—Environment-dependent, e.g. using captured environmental data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
- Storage Device Security (AREA)
Abstract
The present invention provides a kind of information processing method and terminal device, solve the problem of that existing method can only solely show or not show that the content of information is unable to neatly encrypt information.The method comprise the steps that obtaining the scene characteristic information of terminal device local environment in the case where receiving the first information;According to scene characteristic information, determine whether environment locating for terminal device is security context;In the case that environment locating for terminal device is insecure environments, the first information is encrypted;The first information after showing encryption.The embodiment of the present invention under the premise of realizing protection privacy of user, can neatly encrypt information according to the scene characteristic information of terminal device local environment to determine whether to encrypt information.
Description
Technical field
The present invention relates to communication application more particularly to a kind of information processing methods and terminal device.
Background technique
With the development of mobile internet, the use of immediate communication tool greatly improves the convenience of user's exchange,
Either in market, on automobile, it can be exchanged in real time at home.With the needs that people link up, business is believed
It ceases, the privacy concern of personal information also becomes the focus of people.
Currently, when user receives information, a kind of mode is that the content of information directly displays on the screen;Another way
It is the content for not directly displaying information, can just checks corresponding content after needing user to input password.Existing method can only be single
One ground shows or does not show the content of information, is unable to neatly encrypt information.
Summary of the invention
The purpose of the present invention is to provide a kind of information processing method and terminal devices, can only be single to solve existing method
One ground shows or does not show the content of information, is unable to the problem of neatly encrypting to information.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to terminal device the embodiment of the invention provides a kind of information processing method, comprising:
In the case where receiving the first information, the scene characteristic information of the terminal device local environment is obtained;
According to the scene characteristic information, determine whether environment locating for the terminal device is security context;
In the case that the environment locating for the terminal device is insecure environments, the first information is carried out at encryption
Reason;
The first information after showing encryption.
Second aspect, the embodiments of the present invention also provide a kind of terminal devices, comprising:
Module is obtained, for obtaining the scene characteristic of terminal device local environment in the case where receiving the first information
Information;
Determining module, for determining whether environment locating for the terminal device is peace according to the scene characteristic information
Full ambient engine;
Processing module, for the environment locating for the terminal device be insecure environments in the case where, to described first
Information is encrypted;
First display module, for showing the first information after encryption.
The third aspect the embodiment of the invention also provides a kind of terminal device, including processor, memory and is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
The step of realizing information processing method as described above.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium
Computer program is stored on storage media, the computer program realizes information processing method as described above when being executed by processor
The step of.
In embodiments of the present invention, to information when determining that terminal local environment is insecure environments according to scene characteristic information
It is encrypted, and shows the information after encryption.The embodiment of the present invention is believed according to the scene characteristic of terminal device local environment
Breath under the premise of realizing protection privacy of user, can neatly add information to determine whether to encrypt information
It is close.
Detailed description of the invention
Fig. 1 is the flow diagram of the information processing method of the embodiment of the present invention;
Fig. 2 is the display renderings of prompt information in the embodiment of the present invention;
Fig. 3 is the display schematic diagram of information not encrypted in the embodiment of the present invention;
Fig. 4 is the display schematic diagram of encrypted information in the embodiment of the present invention;
Fig. 5 is one of the module diagram of terminal device provided in an embodiment of the present invention;
Fig. 6 is the two of the module diagram of terminal device provided in an embodiment of the present invention;
Fig. 7 is the structural block diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
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 description, 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, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
As shown in Figure 1, being the flow diagram of information processing method provided in an embodiment of the present invention.It should scheme below specific
Illustrate the implementation process of this method.
This method may comprise steps of:
Step 101: in the case where receiving the first information, obtaining the scene characteristic information of terminal device local environment.
Specifically, obtaining terminal in the case where receiving the first information and the terminal device being in screen lock state and setting
The scene characteristic information of standby local environment.
The scene characteristic information includes the voice messaging and/or video information of terminal device local environment, passes through the scene
Characteristic information determines whether terminal local environment is security context.
The above-mentioned first information includes the information of instant communication information and/or push.
Step 102: according to the scene characteristic information, determining whether environment locating for the terminal device is safety collar
Border.
The voice messaging and/or video information of terminal device local environment, by neural network, such as deep neural network and
Convolutional neural networks, to determine whether environment locating for the terminal device is security context.
Wherein, security context can refer to that home environment, personal space environment, insecure environments can be working environment,
Conferencing environment, market environment etc..
Step 103: the environment locating for the terminal device be insecure environments in the case where, to the first information into
Row encryption.
Here, in the case that the environment locating for terminal device is insecure environments, the first information is encrypted,
Such as messy code or mosaic processing, the purpose of privacy of user is protected with realization.
Step 104: the first information after display encryption.
The information processing method of the embodiment of the present invention determines that terminal local environment is non-security ring according to scene characteristic information
The first information is encrypted when border, and shows the first information after encryption.The embodiment of the present invention is according to terminal device institute
Locate the scene characteristic information of environment, it, can under the premise of realizing protection privacy of user to determine whether to encrypt information
Neatly information is encrypted.
It is further, described that the first information is encrypted, comprising:
Messy code or mosaic processing are carried out to the presupposed information in the instant first information.
In the embodiment of the present invention, in conjunction with name entity recognition techniques, to the presupposed information in the first information, as name,
The keywords such as name, date, amount of money carry out messy code processing.Here messy code processing refers to using preset characters, in $ substitution
State the presupposed information in instant messages.
It is to receive the first information, and the terminal device is according to foregoing description it is found that in the embodiment of the present invention
In the case where screen lock state, the scene characteristic information of terminal device local environment is obtained, and according to the scene characteristic information,
In the case where determining that environment locating for the terminal device is insecure environments, the first information is encrypted.This
In the case of kind, if user wants to check the correct content of the first information, processing is unlocked to terminal device, just
It can check the correct content of the first information.
Further, after whether environment locating for the determination terminal device is security context, the method is also
Include:
In the case that the environment locating for the terminal device is security context, the interior of the instant first information is shown
Hold.
In the embodiment of the present invention, in the case that the environment locating for the terminal device is security context, the is directly displayed
The content of one information, and the environment locating for terminal device be insecure environments in the case where, show the encrypted first information,
Realize the flexible encryption to the first information.
Further, the content of the display first information, comprising:
Display reminding information, the prompt information is for prompting user to confirm whether the terminal device local environment is peace
Full ambient engine;
It is receiving the first confirmation message that user inputs according to the prompt information or is not connecing within a preset period of time
In the case where receiving the first confirmation message and the second confirmation message, the first information is shown;
In addition, showing the encrypted instant first information in the case where receiving the second confirmation message.
Wherein, first confirmation message be confirm terminal device local environment be security context information, described second
Confirmation message is to confirm that terminal device local environment is the information of insecure environments.
In a specific embodiment of the present invention, as shown in Fig. 2, display reminding information, is receiving user to " √ " symbol
Clicking operation when, the first confirmation message is acknowledged receipt of, as shown in figure 3, show the content of the first information, alternatively, default
In period, in 10s, user is not received to the clicking operation of " √ " and "×" symbol, that is, is not responded to, as shown in figure 3,
Also show the content of the first information.
If receiving user to the clicking operation of "×" symbol in Fig. 2, the second confirmation message, such as Fig. 4 are acknowledged receipt of
It is shown, it shows the encrypted first information, i.e., messy code processing is carried out to the presupposed information in the first information, such as replaced with $.
In addition, user can be reminded by way of vibration when showing above-mentioned prompt information.
In the embodiment of the present invention, further confirm that whether terminal device local environment is security context by user, so that
The judgement of security context is more accurate.
Further, the scene characteristic information of terminal device local environment is obtained, comprising:
In the case where receiving the first information, the light intensity of the terminal device local environment is detected;
In the case where the light intensity of the terminal device local environment is greater than the first preset threshold, terminal device is obtained
The voice messaging and video information of local environment;
In the case where the light intensity of the terminal device local environment is less than or equal to first preset threshold,
Obtain the voice messaging of the terminal device local environment.
Here, can be by the voice messaging of the microphone acquisition terminal equipment local environment of terminal device, and pass through terminal
The video information of the camera acquisition terminal equipment local environment of equipment.The video information can be specifically to receive the first letter
The video information in the first preset time period after breath, e.g., the video recorded in 1s after receiving the instant first information, or
The video recorded in 50ms.Above-mentioned voice messaging is also possible to receiving the language in the second preset time period after the first information
Message breath, such as the voice messaging in 1 minute.
In the embodiment of the present invention, in the case where receiving the first information, terminal device can be detected by light sensation equipment
The light intensity of local environment, and in the case where light intensity is greater than the first preset threshold, that is, it illuminates in good situation, obtains
The voice messaging and video information of terminal device local environment is taken otherwise only to obtain voice messaging, to guarantee that the scene obtained is special
The accuracy of reference breath.
Further, according to the scene characteristic information, determine whether environment locating for the terminal device is safety collar
Border, comprising:
In the case where the scene characteristic information includes the voice messaging and video information of terminal device local environment, root
According to the characteristic information and the first preset model of the voice messaging, the first numerical value is obtained, is believed according to the feature of the video information
Breath and the second preset model, obtain second value;
According to first numerical value and the second value, atmospheric reference value is obtained;
In the case where the atmospheric reference value is greater than the second preset threshold, determine that environment locating for the terminal device is
Security context.
Here, above-mentioned first preset model can be specially deep neural network, carry out Fourier's change to the voice messaging
It changes and extracts mel cepstrum coefficients feature MFCC, be then fed into deep neural network and carry out scene prediction analysis, obtain above-mentioned first
Numerical value.
Above-mentioned second preset model can be specially convolutional neural networks, and the video features extracted in the video information are (every
The feature of one frame image), it is sent into convolutional neural networks and is analyzed, obtain above-mentioned second value.
After obtaining above-mentioned first numerical value and second value, above-mentioned first numerical value and second value are averaged, obtained
Above-mentioned atmospheric reference value, if the atmospheric reference value is greater than the second preset threshold, it is determined that environment locating for terminal device is peace
Full ambient engine.
Further, according to the scene characteristic information, determine whether environment locating for the terminal device is safety collar
Border, comprising:
In the case where the scene characteristic information includes the voice messaging of terminal device local environment, according to the voice
The characteristic information and third preset model of information, obtain third value;
In the case where the third value is greater than third predetermined threshold value, determine environment locating for the terminal device for peace
Full ambient engine.
Above-mentioned third preset model is specifically as follows deep neural network.
In the case where scene characteristic information only includes voice messaging, Fourier transformation extraction is carried out to the voice messaging
Mel cepstrum coefficients feature MFCC is then fed into deep neural network and carries out scene prediction analysis, obtains above-mentioned third value, and
In the case where the third value is greater than third predetermined threshold value, determine that environment locating for the terminal device is security context.
The information processing method of the embodiment of the present invention determines terminal according to scene characteristic information in embodiments of the present invention
Local environment encrypts the first information when being insecure environments, and shows the first information after encryption.The present invention is real
Example is applied according to the scene characteristic information of terminal device local environment, to determine whether to encrypt the first information, is protected realizing
Under the premise of protecting privacy of user, neatly the first information can be encrypted.
As shown in figure 5, the embodiments of the present invention also provide a kind of terminal devices 500, comprising:
Module 501 is obtained, the scene in the case where receiving the first information, obtaining terminal device local environment is special
Reference breath;
Determining module 502, for according to the scene characteristic information, determine environment locating for the terminal device whether be
Security context;
In the case that processing module 503 for the environment locating for the terminal device is insecure environments, to described the
One information is encrypted;
First display module 504, for showing the first information after encryption.
Optionally, the terminal device of the embodiment of the present invention, the acquisition module 501 are used to receive the first information, and
In the case that the terminal device is in screen lock state, the scene characteristic information of terminal device local environment is obtained.
Optionally, the terminal device of the embodiment of the present invention, the processing module 503 are used for pre- in the first information
If information carries out messy code or mosaic processing.
Optionally, as shown in fig. 6, the terminal device of the embodiment of the present invention, further includes:
Second display module 505 determines that environment locating for the terminal device is security context for the determining module
In the case where, display reminding information, the prompt information for prompt user confirm the terminal device local environment whether be
Security context;
Third display module 506, in the first confirmation message for receiving user and being inputted according to the prompt information or
In the case that person does not receive the first confirmation message and the second confirmation message within a preset period of time, the first information is shown;
Wherein, first confirmation message is to confirm that the terminal device local environment is the information of security context, described
Second confirmation message is to confirm that the terminal device local environment is the information of insecure environments.
Optionally, the terminal device of the embodiment of the present invention, the acquisition module 501 include:
Detection sub-module 5011, in the case where receiving the first information, detecting the terminal device local environment
Light intensity;
First acquisition submodule 5012 is greater than the first default threshold for the light intensity in the terminal device local environment
In the case where value, the voice messaging and video information of terminal device local environment are obtained;
Second acquisition submodule 5013 is less than or equal to institute for the light intensity in the terminal device local environment
In the case where stating the first preset threshold, the voice messaging of the terminal device local environment is obtained.
Optionally, the terminal device of the embodiment of the present invention, the determining module 502 include:
Third acquisition submodule 5021, for including the voice letter of terminal device local environment in the scene characteristic information
In the case where breath and video information, according to the characteristic information of the voice messaging and the first preset model, the first numerical value, root are obtained
According to the characteristic information and the second preset model of the video information, second value is obtained;
4th acquisition submodule 5022, for obtaining atmospheric reference value according to first numerical value and the second value;
First determines submodule 5023, for determining in the case where the atmospheric reference value is greater than the second preset threshold
Environment locating for the terminal device is security context.
Optionally, the terminal device of the embodiment of the present invention, the determining module 502 include:
5th acquisition submodule 5024, for including the voice letter of terminal device local environment in the scene characteristic information
In the case where breath, according to the characteristic information of the voice messaging and the first preset model, third value is obtained;
Second determines submodule 5025, for determining institute in the case where the third value is greater than third predetermined threshold value
Stating environment locating for terminal device is security context.
The terminal device of the embodiment of the present invention, when determining that terminal local environment is insecure environments according to scene characteristic information
The first information is encrypted, and shows the first information after encryption.Ring according to locating for terminal device of the embodiment of the present invention
The scene characteristic information in border, can under the premise of realizing protection privacy of user to determine whether to encrypt the first information
Neatly the first information is encrypted.
It should be noted that the terminal device is terminal device corresponding with above- mentioned information processing method embodiment, it is above-mentioned
All implementations can also reach identical skill suitable for the embodiment of the terminal device in information processing method embodiment
Art effect.
A kind of hardware structural diagram of Fig. 7 terminal device of each embodiment to realize the present invention, the terminal device 700
Including but not limited to: radio frequency unit 701, audio output unit 703, input unit 704, sensor 705, is shown network module 702
Show the components such as unit 706, user input unit 707, interface unit 708, memory 709, processor 710 and power supply 711.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal device structure shown in Fig. 7, terminal device can
To include perhaps combining certain components or different component layouts than illustrating more or fewer components.Implement in the present invention
In example, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable sets
Standby and pedometer etc..
Wherein, processor 710, in the case where receiving the first information, obtaining the terminal device local environment
Scene characteristic information;According to the scene characteristic information, determine whether environment locating for the terminal device is security context;
In the case that the environment locating for the terminal device is insecure environments, the first information is encrypted;Pass through
Display unit 706 shows the first information after encryption.
The above-mentioned technical proposal of the embodiment of the present invention determines that terminal local environment is non-security ring according to scene characteristic information
The first information is encrypted when border, and shows the first information after encryption.The embodiment of the present invention is according to terminal device institute
Locate the scene characteristic information of environment, to determine whether to encrypt the first information, under the premise of realizing protection privacy of user,
Neatly the first information can be encrypted.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 701 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 702 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 703 can be received by radio frequency unit 701 or network module 702 or in memory 709
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 703 can also provide and end
The relevant audio output of specific function that end equipment 700 executes is (for example, call signal receives sound, information receives sound etc.
Deng).Audio output unit 703 includes loudspeaker, buzzer and receiver etc..
Input unit 704 is for receiving audio or video signal.Input unit 704 may include graphics processor
(Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited
Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike
Wind 7042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 701 is converted in the case where telephone calling model.
Terminal device 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 7061, and proximity sensor can close when terminal device 700 is moved in one's ear
Display panel 7061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, it is (such as horizontal to can be used to identify terminal posture
Vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor
705 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, humidity
Meter, thermometer, infrared sensor etc., details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap
Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 707 include touch panel 7071 and
Other input equipments 7072.Touch panel 7071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 7071 or in touch panel 7071
Neighbouring operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receiving area
It manages the order that device 710 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments
7072.Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it
On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touching
The type for touching event provides corresponding visual output on display panel 7061.Although in Fig. 7, touch panel 7071 and display
Panel 7061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 7071 and display panel 7061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 708 is the interface that external device (ED) is connect with terminal device 700.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 700 or can be used in 700 He of terminal device
Data are transmitted between external device (ED).
Memory 709 can be used for storing software program and various data.Memory 709 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 709, and calls and is stored in storage
Data in device 709 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 710 may include one or more processing units;Preferably, processor 710 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 710.
Terminal device 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711
Can be logically contiguous by power-supply management system and processor 710, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 700 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor, and memory is stored in memory
Computer program that is upper and can running on the processor realizes that the above method is real when the computer program is executed by processor
Each process of example is applied, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
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, realizes each process of above method embodiment when which is executed by processor, and can reach identical
Technical effect, 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, abbreviation RAM), magnetic disk
Or CD etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include 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 being somebody's turn to do
There is also other identical elements in the process, method of element, 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 be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a 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 to 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 protection of the invention.
Claims (16)
1. a kind of information processing method is applied to terminal device characterized by comprising
In the case where receiving the first information, the scene characteristic information of the terminal device local environment is obtained;
According to the scene characteristic information, determine whether environment locating for the terminal device is security context;
In the case that the environment locating for the terminal device is insecure environments, the first information is encrypted;
The first information after showing encryption.
2. information processing method according to claim 1, which is characterized in that described the case where receiving the first information
Under, obtain the scene characteristic information of the terminal device local environment, comprising:
In the case where receiving the first information and the terminal device being in screen lock state, terminal device local environment is obtained
Scene characteristic information.
3. information processing method according to claim 1 or 2, which is characterized in that described to add to the first information
Close processing, comprising:
Messy code or mosaic processing are carried out to the presupposed information in the first information.
4. information processing method according to claim 1, which is characterized in that ring locating for the determination terminal device
After whether border is security context, the method also includes:
In the case that the environment locating for the terminal device is security context, display reminding information, the prompt information is used for
User is prompted to confirm whether the terminal device local environment is security context;
It is receiving the first confirmation message that user inputs according to the prompt information or is not receiving within a preset period of time
In the case where first confirmation message and the second confirmation message, the first information is shown;
Wherein, first confirmation message is to confirm that the terminal device local environment is the information of security context, described second
Confirmation message is to confirm that the terminal device local environment is the information of insecure environments.
5. information processing method according to claim 1, which is characterized in that described to obtain the terminal device local environment
Scene characteristic information, comprising:
In the case where receiving the first information, the light intensity of the terminal device local environment is detected;
In the case where the light intensity of the terminal device local environment is greater than the first preset threshold, obtain locating for terminal device
The voice messaging and video information of environment;
In the case where the light intensity of the terminal device local environment is less than or equal to first preset threshold, obtain
The voice messaging of terminal local environment.
6. information processing method according to claim 5, which is characterized in that it is described according to the scene characteristic information, really
Whether environment locating for the fixed terminal device is security context, comprising:
In the case where the scene characteristic information includes the voice messaging and video information of terminal device local environment, according to institute
The characteristic information and the first preset model for stating voice messaging, obtain the first numerical value, according to the characteristic information of the video information and
Second preset model, obtains second value;
According to first numerical value and the second value, atmospheric reference value is obtained;
In the case where the atmospheric reference value is greater than the second preset threshold, determine environment locating for the terminal device for safety
Environment.
7. information processing method according to claim 5, which is characterized in that it is described according to the scene characteristic information, really
Whether environment locating for the fixed terminal device is security context, comprising:
In the case where the scene characteristic information includes the voice messaging of terminal device local environment, according to the voice messaging
Characteristic information and third preset model, obtain third value;
In the case where the third value is greater than third predetermined threshold value, determine that environment locating for the terminal device is safety collar
Border.
8. a kind of terminal device characterized by comprising
Module is obtained, in the case where receiving the first information, obtaining the scene characteristic of the terminal device local environment
Information;
Determining module, for determining whether environment locating for the terminal device is safety collar according to the scene characteristic information
Border;
Processing module, for the environment locating for the terminal device be insecure environments in the case where, to the first information
It is encrypted;
First display module, for showing the first information after encryption.
9. terminal device according to claim 8, which is characterized in that the acquisition module is for receiving the first letter
Breath, and in the case that the terminal device be in screen lock state, the scene characteristic information of acquisition terminal device local environment.
10. terminal device according to claim 8 or claim 9, which is characterized in that the processing module is used for first letter
Presupposed information in breath carries out messy code or mosaic processing.
11. terminal device according to claim 8, which is characterized in that further include:
Second display module determines the case where environment locating for the terminal device is security context for the determining module
Under, display reminding information, the prompt information is for prompting user to confirm whether the terminal device local environment is safety collar
Border;
Third display module, for receiving the first confirmation message or presetting that user inputs according to the prompt information
In the case where not receiving the first confirmation message and the second confirmation message in period, the first information is shown;
Wherein, first confirmation message is to confirm that the terminal device local environment is the information of security context, described second
Confirmation message is to confirm that the terminal device local environment is the information of insecure environments.
12. terminal device according to claim 8, which is characterized in that the acquisition module includes:
Detection sub-module, the light in the case where receiving the first information, detecting the terminal device local environment are strong
Degree;
First acquisition submodule, for the light intensity in the terminal device local environment be greater than the first preset threshold the case where
Under, obtain the voice messaging and video information of terminal device local environment;
It is pre- to be less than or equal to described first for the light intensity in the terminal device local environment for second acquisition submodule
If in the case where threshold value, obtaining the voice messaging of the terminal device local environment.
13. terminal device according to claim 12, which is characterized in that the determining module includes:
Third acquisition submodule, for including the voice messaging and video of terminal device local environment in the scene characteristic information
In the case where information, according to the characteristic information of the voice messaging and the first preset model, the first numerical value is obtained, according to the view
The characteristic information of frequency information and the second preset model, obtain second value;
4th acquisition submodule, for obtaining atmospheric reference value according to first numerical value and the second value;
First determines submodule, for determining the terminal in the case where the atmospheric reference value is greater than the second preset threshold
Environment locating for equipment is security context.
14. terminal device according to claim 12, which is characterized in that the determining module includes:
5th acquisition submodule, for including the case where the voice messaging of terminal device local environment in the scene characteristic information
Under, according to the characteristic information of the voice messaging and third preset model, obtain third value;
Second determines submodule, for determining that the terminal is set in the case where the third value is greater than third predetermined threshold value
Standby locating environment is security context.
15. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 7 is realized when the computer program is executed by the processor
Any one of described in information processing method the step of.
16. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, realizing the information processing method as described in any one of claims 1 to 7 when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910388966.XA CN110149628B (en) | 2019-05-10 | 2019-05-10 | Information processing method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910388966.XA CN110149628B (en) | 2019-05-10 | 2019-05-10 | Information processing method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110149628A true CN110149628A (en) | 2019-08-20 |
CN110149628B CN110149628B (en) | 2023-02-07 |
Family
ID=67594160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910388966.XA Active CN110149628B (en) | 2019-05-10 | 2019-05-10 | Information processing method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110149628B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111163231A (en) * | 2019-12-30 | 2020-05-15 | 广东盈世计算机科技有限公司 | Message pushing method and device and user terminal |
CN111339894A (en) * | 2020-02-20 | 2020-06-26 | 支付宝(杭州)信息技术有限公司 | Data processing and risk identification method, device, equipment and medium |
CN111859900A (en) * | 2020-07-14 | 2020-10-30 | 维沃移动通信有限公司 | Message display method and device and electronic equipment |
CN112153582A (en) * | 2020-09-27 | 2020-12-29 | 北京达佳互联信息技术有限公司 | Verification code short message display method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106650467A (en) * | 2016-09-22 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Method, mobile terminal and system for data encryption |
CN107277260A (en) * | 2017-07-07 | 2017-10-20 | 珠海格力电器股份有限公司 | Contextual model adjusting method and device and mobile terminal |
CN107426441A (en) * | 2017-08-31 | 2017-12-01 | 努比亚技术有限公司 | A kind of displaying method of terminal, terminal and computer-readable recording medium |
CN107786739A (en) * | 2017-10-18 | 2018-03-09 | 维沃移动通信有限公司 | A kind of information acquisition method and mobile terminal |
CN109120770A (en) * | 2017-06-23 | 2019-01-01 | 中兴通讯股份有限公司 | Terminal method for secret protection, terminal and computer readable storage medium |
-
2019
- 2019-05-10 CN CN201910388966.XA patent/CN110149628B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106650467A (en) * | 2016-09-22 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Method, mobile terminal and system for data encryption |
CN109120770A (en) * | 2017-06-23 | 2019-01-01 | 中兴通讯股份有限公司 | Terminal method for secret protection, terminal and computer readable storage medium |
CN107277260A (en) * | 2017-07-07 | 2017-10-20 | 珠海格力电器股份有限公司 | Contextual model adjusting method and device and mobile terminal |
CN107426441A (en) * | 2017-08-31 | 2017-12-01 | 努比亚技术有限公司 | A kind of displaying method of terminal, terminal and computer-readable recording medium |
CN107786739A (en) * | 2017-10-18 | 2018-03-09 | 维沃移动通信有限公司 | A kind of information acquisition method and mobile terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111163231A (en) * | 2019-12-30 | 2020-05-15 | 广东盈世计算机科技有限公司 | Message pushing method and device and user terminal |
CN111163231B (en) * | 2019-12-30 | 2022-03-11 | 广东盈世计算机科技有限公司 | Message pushing method and device and user terminal |
CN111339894A (en) * | 2020-02-20 | 2020-06-26 | 支付宝(杭州)信息技术有限公司 | Data processing and risk identification method, device, equipment and medium |
CN111859900A (en) * | 2020-07-14 | 2020-10-30 | 维沃移动通信有限公司 | Message display method and device and electronic equipment |
CN111859900B (en) * | 2020-07-14 | 2023-09-08 | 维沃移动通信有限公司 | Message display method and device and electronic equipment |
CN112153582A (en) * | 2020-09-27 | 2020-12-29 | 北京达佳互联信息技术有限公司 | Verification code short message display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110149628B (en) | 2023-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107608514A (en) | Information processing method and mobile terminal | |
CN107679514A (en) | A kind of face identification method and electronic equipment | |
CN109194818A (en) | A kind of information processing method and terminal | |
CN110149628A (en) | A kind of information processing method and terminal device | |
CN107808084A (en) | A kind of touch operation method and mobile terminal | |
CN109145552A (en) | Information ciphering method and terminal device | |
CN109284150A (en) | A kind of method and terminal starting application program | |
CN109981904A (en) | A kind of method for controlling volume and terminal device | |
CN108280337A (en) | A kind of message protection method and mobile terminal | |
CN108881782A (en) | A kind of video call method and terminal device | |
CN109412932A (en) | A kind of screenshotss method and terminal | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN110035183A (en) | Information sharing method and terminal | |
CN107707554A (en) | A kind of login method and mobile terminal of application program account | |
CN110287719A (en) | File encrypting method and mobile terminal | |
CN110213438A (en) | A kind of processing method and terminal device of application program | |
CN109348035A (en) | A kind of recognition methods of telephone number and terminal device | |
CN109446794A (en) | A kind of cipher-code input method and its mobile terminal | |
CN109218984A (en) | A kind of method for tracing and mobile terminal | |
CN109067979A (en) | A kind of reminding method and mobile terminal | |
CN107895108A (en) | A kind of operation management method and mobile terminal | |
CN110427761A (en) | A kind of reminding method and terminal device | |
CN109062492A (en) | A kind of application access method and terminal | |
CN109753776A (en) | A kind of method, apparatus and mobile terminal of information processing | |
CN109992939A (en) | A kind of login method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |