CN109063076A - A kind of Picture Generation Method and mobile terminal - Google Patents

A kind of Picture Generation Method and mobile terminal Download PDF

Info

Publication number
CN109063076A
CN109063076A CN201810820895.1A CN201810820895A CN109063076A CN 109063076 A CN109063076 A CN 109063076A CN 201810820895 A CN201810820895 A CN 201810820895A CN 109063076 A CN109063076 A CN 109063076A
Authority
CN
China
Prior art keywords
word
target
sentence
correlation
content
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
CN201810820895.1A
Other languages
Chinese (zh)
Other versions
CN109063076B (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 CN201810820895.1A priority Critical patent/CN109063076B/en
Publication of CN109063076A publication Critical patent/CN109063076A/en
Application granted granted Critical
Publication of CN109063076B publication Critical patent/CN109063076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a kind of Picture Generation Method and mobile terminals, which comprises the word content in identification picture;It determines at least one target keyword in the word content, determines the degree of correlation of each content item Yu each target keyword respectively;The target degree of correlation that numerical value is greater than preset threshold is obtained, determines object content item corresponding with the target degree of correlation, and generate Target Photo corresponding with object content item.The key message that picture required for user can be intelligently obtained according to the degree of correlation is read the text information for including in picture without user to search key message, time-consuming short, is able to ascend the usage experience of user.

Description

A kind of Picture Generation Method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of Picture Generation Method and mobile terminal.
Background technique
In the prior art, when user encounters the information of oneself concern, it will usually take pictures or screenshot saves, that is, use picture Mode save text information.
However, when text information is more in picture, it will cause integration stress not distinct issues.User looks into the later period It is difficult the key message for accomplishing to get the picture at once when seeing picture, user needs to read whole text informations in picture It can determine the key message of picture, time-consuming for lookup, influences the usage experience of user.
Summary of the invention
The embodiment of the present invention provides a kind of Picture Generation Method and mobile terminal, to solve in the prior art to deposit picture The problem of key message of storage does not protrude, and determines the key message of picture time-consuming.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of Picture Generation Methods, comprising: in the text in identification picture Hold;Determine at least one target keyword in the word content, wherein the word content includes multiple content items, institute Stating content item includes sentence;The degree of correlation of each content item Yu each target keyword is determined respectively;Numerical value is obtained greater than default The target degree of correlation of threshold value determines object content item corresponding with the target degree of correlation, and generates and the object content item Corresponding Target Photo.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes: identification module, Word content in picture for identification;First determining module, for determining that at least one target in the word content is closed Keyword, wherein the word content includes multiple content items, and the content item includes sentence;Second determining module, for distinguishing Determine the degree of correlation of each content item Yu each target keyword;Generation module, the mesh for being greater than preset threshold for obtaining numerical value The degree of correlation is marked, determines object content item corresponding with the target degree of correlation, and generate mesh corresponding with the object content item It marks on a map piece.
The third aspect the embodiment of the invention also provides a kind of mobile terminal, 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 the Picture Generation Method.
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, and the step of the Picture Generation Method is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, pass through the word content in identification picture;Determine at least one mesh in word content Keyword is marked, determines the degree of correlation of each content item Yu each target keyword respectively;Obtain the target phase that numerical value is greater than preset threshold Guan Du determines object content item corresponding with the target degree of correlation, and generates Target Photo corresponding with object content item, Neng Gouyi The key message that picture required for user is intelligently obtained according to the degree of correlation, reads the text information for including in picture without user It reads to search key message, it is time-consuming short, it is able to ascend the usage experience of user.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of Picture Generation Method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of Picture Generation Method of the embodiment of the present invention two;
Fig. 3 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 5 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention five.
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.
Embodiment one
Referring to Fig.1, a kind of step flow chart of Picture Generation Method of the embodiment of the present invention one is shown.
Picture Generation Method provided in an embodiment of the present invention the following steps are included:
Step 101: the word content in identification picture.
The word content in picture is identified by way of scanning, the picture identified can for user selection picture, All pictures saved in the picture and picture library that mobile terminal is newly shot.
Step 102: determining at least one target keyword in word content.
Wherein, word content includes multiple content items, and content item includes sentence.
Identify text in each word, using the high word of the frequency of occurrences be used as keyword, by each keyword output show with It is selected for user, the keyword that foundation user selects is as target critical.
Step 103: determining the degree of correlation of each content item Yu each target keyword respectively.
According to target keyword, the degree of correlation of each content item in each target keyword and picture is determined respectively, when a certain When the degree of correlation of content item and target keyword is higher, then show that the degree of association of the content item and target keyword is higher, for The relevant information that family needs.
Step 104: obtaining the target degree of correlation that numerical value is greater than preset threshold, determine in target corresponding with the target degree of correlation Rong Xiang, and generate Target Photo corresponding with object content item.
It should be noted that those skilled in the art can according to the actual situation be configured preset threshold, Ke Yishe 70,80,90 etc. are set to, the embodiment of the present invention is not specifically limited preset threshold.
Only comprising the object content item higher than preset threshold in the Target Photo of generation, so that the text letter that picture is included It ceases emphasis more to protrude, shortens the time that user searches key message in picture, promote the usage experience of user.
In embodiments of the present invention, pass through the word content in identification picture;Determine at least one mesh in word content Keyword is marked, determines the degree of correlation of each content item Yu each target keyword respectively;Obtain the target phase that numerical value is greater than preset threshold Guan Du determines object content item corresponding with the target degree of correlation, and generates Target Photo corresponding with object content item, Neng Gouyi The key message that picture required for user is intelligently obtained according to the degree of correlation, reads the text information for including in picture without user It reads to search key message, it is time-consuming short, it is able to ascend the usage experience of user.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of Picture Generation Method of the embodiment of the present invention two is shown.
Picture Generation Method provided in an embodiment of the present invention the following steps are included:
Step 201: the word content in identification picture.
The word content in picture is identified by way of scanning, the picture identified can for user selection picture, All pictures saved in the picture and picture library that mobile terminal is newly shot.
Step 202: word segmentation being carried out to word content, obtains several words.
Step 203: deleting the transitional phrase in several words, obtain at least one notional word.
In one picture when comprising text information, content information is split according to word, obtains each word, In the word that has in several words for being partitioned into be transitional word, such as: " ", " ", " very ", " special ", " if ", " because of ", " still " etc., transitional word is deleted, at least one notional word is obtained.
Step 204: the frequency of occurrences in notional word is higher than the word of predeterminated frequency as each keyword of word content.
It determines the frequency of occurrences of each word in notional word, and the frequency of occurrences of each word is compared with predeterminated frequency, It should be noted that those skilled in the art can according to the actual situation be configured predeterminated frequency, wherein predeterminated frequency can Be set as 10 times, 20 times, it is 30 inferior, the embodiment of the present invention is not specifically limited predeterminated frequency.
Step 205: receiving user to the selection operation of each keyword.
Step 206: the target keyword keyword selected being determined as in word content.
Each keyword is shown in display interface, user can select each keyword according to each keyword, according to At least one keyword is selected according to user, using at least one keyword as target keyword.
For the implementation of at least one target keyword of determining word content, following steps can also be used:
Word content is subjected to word segmentation, obtains several words.
Extract the default word in several words.
The target keyword each default word extracted being determined as in word content.
It should be noted that default word can store for personage's pronoun or mobile terminal and user is especially closed The name etc. of note, when finding default word in several words, using default word as target keyword.And according to pre- If the keyword that word is used as determines the degree of correlation of word content.
Step 207: the near synonym of each target keyword are determined, by each nearly justice of each target keyword and each target keyword Word is as each target word.
Step 208: being directed to each sentence, judge in sentence with the presence or absence of at least one of each target word;If so, holding Row step 209, if it is not, thening follow the steps 211.
For each sentence, judge in the sentence with the presence or absence of at least one of target word, and if it exists, then show the language Sentence is related to target word, when being not present, then shows that the sentence is unrelated with target word, i.e., the sentence is the language that non-user needs to obtain Sentence.
Step 209: if so, determining corresponding first parameter value of target word present in sentence.
Step 210: according to the first parameter and the corresponding weighted value of sentence, determining the degree of correlation of sentence.
There are the first parameter values for when at least one of target word, determining target word in while statement, it should be noted that Each target word is corresponding with the first different parameter values, and the value of corresponding first parameter value of each target word is different.
When in word content including sentence and title, since title is the emphasis of word content, then the weighted value of title It is different from the weighted value of sentence, and the weighted value of title is greater than the weighted value of sentence.
Step 211: if sentence there is no when at least one of each target word, determine between sentence and adjacent sentence whether There are default conjunctive words.
Wherein, there are at least one of each target words in adjacent sentence.
Step 212: if it exists, then according to corresponding second parameter value for presetting conjunctive word, determining the degree of correlation of each sentence.
Wherein, default conjunctive word has multiple, and each default conjunctive word corresponds to different parameter values.
It should be noted that default conjunctive word includes but is not limited to following several: because ... ..., by In, still, if, since moreover, wait, when being associated with vocabulary turnover, progressive etc., even if each target word is not present in the sentence, But due to there is default conjunctive word in the adjacent sentence of the sentence, then there are the sentences of target word or next by upper the one of the sentence Content expressed by sentence there are target word is related, then needs to determine the correlation of the sentence according to the parameter value for presetting conjunctive word Degree.
It should be noted that the parameter value of the default conjunctive word of table turnover is higher than the progressive default conjunctive word of table, it is each pre- If parameter value corresponding to conjunctive word is different.
When including paragraph in word content, determines occur the total degree of target word in paragraph, paragraph is divided into a sentence, Total degree and a are divided by, the appearance density of the target word of the paragraph is obtained, when there is density greater than preset value, then it is assumed that should The degree of correlation of paragraph and target word is higher.
Other than above-mentioned foundation target word determines the degree of correlation of each content item, the type of word content can also be obtained, Wherein, type includes job category, Eight Diagrams type and life type, when the type of word content is job category, then respectively The degree of correlation of content item be then arranged it is lower so that the content information of the available work of user is detailed, when the type of word content When for Eight Diagrams type, then the degree of correlation of a content item is then lower, may only require a title or a sentence.
Step 213: user preferences are obtained from historical data.
Step 214: according to user preferences, adjusting the degree of correlation of each content item of word content.
Such as: it is higher interior to be partial to the content or the degree of correlation that select the degree of correlation low by acquisition user from historical data Hold, according to the hobby of user, adjusts the degree of correlation of each content item.
If user has paid special attention to someone P, and the content for obtaining the content item higher than preset threshold is not present about the detailed of P Information to the greatest extent, improves the degree of correlation of each content item, so that the available detailed information to P.
Step 215: obtaining the target degree of correlation that numerical value is greater than preset threshold, determine in target corresponding with the target degree of correlation Rong Xiang, and generate Target Photo corresponding with object content item.
It should be noted that those skilled in the art can according to the actual situation be configured preset threshold, Ke Yishe 70,80,90 etc. are set to, the embodiment of the present invention is not specifically limited preset threshold.
Only comprising the object content item higher than preset threshold in the Target Photo of generation, so that the text letter that picture is included It ceases emphasis more to protrude, shortens the time that user searches key message in picture, promote the usage experience of user.
The comprehensive word content handled in the past, obtains the theme of each word content, the consistent Target Photo of theme is deposited Storage deletes the picture of replicated literal content in a file.
When needing the picture that identifies to be a long screenshot, it is divided into multiple screenshot and forms, then will be above the correlation of preset threshold It spends corresponding object content item to be spliced, generates Target Photo.
In embodiments of the present invention, pass through the word content in identification picture;Determine at least one mesh in word content Keyword is marked, determines the degree of correlation of each content item Yu each target keyword respectively;Obtain the target phase that numerical value is greater than preset threshold Guan Du determines object content item corresponding with the target degree of correlation, and generates Target Photo corresponding with object content item, Neng Gouyi The key message that picture required for user is intelligently obtained according to the degree of correlation, reads the text information for including in picture without user It reads to search key message, it is time-consuming short, it is able to ascend the usage experience of user.In addition, the Target Photo generated is extra to remove The picture of the picture fragment of information, memory shared by picture become smaller, and reduce mobile terminal space occupancy rate.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes: identification module 301, for identification the word content in picture; First determining module 302, for determining at least one target keyword in the word content, wherein the word content Including multiple content items, the content item includes sentence;Second determining module 303, for determining each content item and each institute respectively State the degree of correlation of target keyword;Generation module 304, for obtain numerical value be greater than preset threshold the target degree of correlation, determine with The corresponding object content item of the target degree of correlation, and generate Target Photo corresponding with the object content item.
Identification module identifies the word content in picture by way of scanning, and the picture identified can select for user Picture, all pictures for being saved in the mobile terminal picture and picture library that newly shoot.Each word in identification text, first Determining module is displayed for user's selection using the high word of the frequency of occurrences as keyword, by the output of each keyword, according to user The keyword selected is as target critical.Second determining module determines each target keyword and figure according to target keyword respectively The degree of correlation of each content item in piece then shows the content item when the degree of correlation of a certain content item and target keyword is higher Relevant information higher with the degree of association of target keyword, being needed for user.Generation module obtains numerical value and is greater than preset threshold The target degree of correlation determines object content item corresponding with the target degree of correlation, and generates Target Photo corresponding with object content item. It should be noted that those skilled in the art can according to the actual situation be configured preset threshold, can be set to 70, 80,90 etc., the embodiment of the present invention is not specifically limited preset threshold.
In embodiments of the present invention, pass through the word content in identification picture;Determine at least one mesh in word content Keyword is marked, determines the degree of correlation of each content item Yu each target keyword respectively;Obtain the target phase that numerical value is greater than preset threshold Guan Du determines object content item corresponding with the target degree of correlation, and generates Target Photo corresponding with object content item, Neng Gouyi The key message that picture required for user is intelligently obtained according to the degree of correlation, reads the text information for including in picture without user It reads to search key message, it is time-consuming short, it is able to ascend the usage experience of user.
Example IV
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: identification module 401, for identification the word content in picture; First determining module 402, for determining at least one target keyword in the word content, wherein the word content Including multiple content items, the content item includes sentence;Second determining module 403, for determining each content item and each institute respectively State the degree of correlation of target keyword;Generation module 404, for obtain numerical value be greater than preset threshold the target degree of correlation, determine with The corresponding object content item of the target degree of correlation, and generate Target Photo corresponding with the object content item.
Preferably, first determining module 402 includes: the first segmentation submodule 4021, for the word content Word segmentation is carried out, several words are obtained;Submodule 4022 is deleted, for deleting the transitional word in several described words Language obtains at least one notional word;First determines submodule 4023, for the frequency of occurrences in the notional word to be higher than predeterminated frequency Word is determined as each keyword of the word content;Receiving submodule 4024, for receiving user to each keyword Selection operation;Second determines submodule 4025, for using the keyword selected as the target critical in the word content Word;Or;Second segmentation submodule 4026 obtains several words for the word content to be carried out word segmentation;It extracts Submodule 4027, for extracting the default word in several described words;Third determines submodule 4028, for that will extract Each default word be determined as the target keyword in the word content.
Preferably, second determining module 403 includes: the 4th determining submodule 4031, for determining each target The near synonym of keyword, using each near synonym of each target keyword and each target keyword as each target word;The One judging submodule 4032 judges in the sentence for being directed to each sentence with the presence or absence of in each target word At least one;5th determines submodule 4033, if the judging result for first judging submodule is yes, it is determined that described Corresponding first parameter value of target word present in sentence;6th determines submodule 4034, for according to first parameter value Weighted value corresponding with the sentence, determines the degree of correlation of the sentence.
Preferably, the mobile terminal further include: third determining module 406, in first judging submodule 4032 are directed to each sentence, judge after whether there is at least one of each described target word in the sentence, if institute Predicate sentence determines between the sentence and adjacent sentence there is no when at least one of each described target word with the presence or absence of default Conjunctive word, wherein there are at least one of each described target words in the adjacent sentence;4th determining module 407, if for depositing Then according to corresponding second parameter value of the default conjunctive word, the degree of correlation of each sentence is being determined, wherein described pre- If conjunctive word has multiple, and each default conjunctive word corresponds to different parameter values.
Preferably, the mobile terminal further include: module 408 is obtained, for true respectively in second determining module 403 After the degree of correlation of fixed each content item and each target keyword, user preferences are obtained from historical data;Adjust module 409, for adjusting the degree of correlation of each content item of the word content according to the user preferences.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 and realize Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, pass through the word content in identification picture;Determine at least one mesh in word content Keyword is marked, determines the degree of correlation of each content item Yu each target keyword respectively;Obtain the target phase that numerical value is greater than preset threshold Guan Du determines object content item corresponding with the target degree of correlation, and generates Target Photo corresponding with object content item, Neng Gouyi The key message that picture required for user is intelligently obtained according to the degree of correlation, reads the text information for including in picture without user It reads to search key message, it is time-consuming short, it is able to ascend the usage experience of user.In addition, the Target Photo generated is extra to remove The picture of the picture fragment of information, memory shared by picture become smaller, and reduce mobile terminal space occupancy rate.
Embodiment five
Referring to Fig. 5, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510, for identification word content in picture;Determine that at least one target in the word content is closed Keyword, wherein the word content includes multiple content items, and the content item includes sentence;Each content item and each is determined respectively The degree of correlation of the target keyword;Obtain the target degree of correlation that numerical value is greater than preset threshold, the determining and target degree of correlation Corresponding object content item, and generate Target Photo corresponding with the object content item.
In embodiments of the present invention, pass through the word content in identification picture;Determine at least one mesh in word content Keyword is marked, determines the degree of correlation of each content item Yu each target keyword respectively;Obtain the target phase that numerical value is greater than preset threshold Guan Du determines object content item corresponding with the target degree of correlation, and generates Target Photo corresponding with object content item, Neng Gouyi The key message that picture required for user is intelligently obtained according to the degree of correlation, reads the text information for including in picture without user It reads to search key message, it is time-consuming short, it is able to ascend the usage experience of user.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 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 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 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 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 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 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 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 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, 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 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 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, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 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 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, 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 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 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 510, receiving area It manages the order that device 510 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 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 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 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.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 508 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 mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 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 509 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 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 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 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned Picture Generation Method embodiment of Shi Shixian, and identical technical 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 Picture Generation Method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk 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 (12)

1. a kind of Picture Generation Method, which is characterized in that the described method includes:
Identify the word content in picture;
Determine at least one target keyword in the word content, wherein the word content includes multiple content items, institute Stating content item includes sentence;
The degree of correlation of each content item Yu each target keyword is determined respectively;
The target degree of correlation that numerical value is greater than preset threshold is obtained, determines object content item corresponding with the target degree of correlation, and Generate Target Photo corresponding with the object content item.
2. the method according to claim 1, wherein at least one target in the determination word content The step of keyword, comprising:
Word segmentation is carried out to the word content, obtains several words;
The transitional phrase in several described words is deleted, at least one notional word is obtained;
The word that the frequency of occurrences in the notional word is higher than predeterminated frequency is determined as to each keyword of the word content;
User is received to the selection operation of each keyword;
Using the keyword selected as the target keyword in the word content
Or;
The word content is subjected to word segmentation, obtains several words;
Extract the default word in several described words;
The target keyword each default word extracted being determined as in the word content.
3. the method according to claim 1, wherein described determine each content item and each target critical respectively The step of degree of correlation of word, comprising:
The near synonym for determining each target keyword, by each nearly justice of each target keyword and each target keyword Word is as each target word;
For each sentence, judge in the sentence with the presence or absence of at least one of each described target word;
If so, determining corresponding first parameter value of target word present in the sentence;
According to first parameter value and the corresponding weighted value of the sentence, the degree of correlation of the sentence is determined.
4. according to the method described in claim 3, it is characterized in that, judging the sentence for each sentence described In with the presence or absence of at least one of each described target word the step of after, the method also includes:
If the sentence there is no when at least one of each described target word, determine between the sentence and adjacent sentence whether There are default conjunctive words, wherein there are at least one of each described target words in the adjacent sentence;
If it exists, then the degree of correlation of each sentence is determined according to corresponding second parameter value of the default conjunctive word.
5. the method according to claim 1, wherein determining that each content item and each target close respectively described After the step of degree of correlation of keyword, the method also includes:
User preferences are obtained from historical data;
According to the user preferences, the degree of correlation of each content item of the word content is adjusted.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Identification module, for identification word content in picture;
First determining module, for determining at least one target keyword in the word content, wherein the word content Including multiple content items, the content item includes sentence;
Second determining module, for determining the degree of correlation of each content item Yu each target keyword respectively;
Generation module, the target degree of correlation for being greater than preset threshold for obtaining numerical value, determination are corresponding with the target degree of correlation Object content item, and generate Target Photo corresponding with the object content item.
7. mobile terminal according to claim 6, which is characterized in that first determining module includes:
First segmentation submodule obtains several words for carrying out word segmentation to the word content;
Submodule is deleted, for deleting the transitional phrase in several described words, obtains at least one notional word;
First determines submodule, and the word for the frequency of occurrences in the notional word word to be higher than predeterminated frequency is determined as the text Each keyword of word content;
Receiving submodule, for receiving user to the selection operation of each keyword;
Second determines submodule, for using the keyword selected as the target keyword in the word content
Or;
Second segmentation submodule obtains several words for the word content to be carried out word segmentation;
Extracting sub-module, for extracting the default word in several described words;
Third determines submodule, the target critical for being determined as each default word extracted in the word content Word.
8. mobile terminal according to claim 6, which is characterized in that second determining module includes:
4th determines submodule, for determining the near synonym of each target keyword, by each target keyword and each institute Each near synonym of target keyword are stated as each target word;
First judging submodule judges in the sentence for being directed to each sentence with the presence or absence of in each target word At least one of;
5th determines submodule, if the judging result for first judging submodule is yes, it is determined that deposit in the sentence Corresponding first parameter value of target word;
6th determines submodule, for determining the sentence according to first parameter value and the corresponding weighted value of the sentence The degree of correlation.
9. mobile terminal according to claim 8, which is characterized in that the mobile terminal further include:
Third determining module, for being directed to each sentence in first judging submodule, judge in the sentence whether There are after at least one of each described target word, if the sentence there is no when at least one of each described target word, It determines between the sentence and adjacent sentence with the presence or absence of default conjunctive word, wherein there are each mesh in the adjacent sentence Mark at least one of word;
4th determining module, for if it exists, then according to corresponding second parameter value of the default conjunctive word, determining each described The degree of correlation of sentence, wherein the default conjunctive word has multiple, and each default conjunctive word corresponds to different parameter values.
10. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Module is obtained, for determining the degree of correlation of each content item Yu each target keyword respectively in second determining module Later, user preferences are obtained from historical data;
Module is adjusted, for adjusting the degree of correlation of each content item of the word content according to the user preferences.
11. a kind of mobile terminal, 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 5 is realized when the computer program is executed by the processor Any one of described in Picture Generation Method the step of.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the Picture Generation Method as described in any one of claims 1 to 5 is realized when the computer program is executed by processor Step.
CN201810820895.1A 2018-07-24 2018-07-24 Picture generation method and mobile terminal Active CN109063076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810820895.1A CN109063076B (en) 2018-07-24 2018-07-24 Picture generation method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810820895.1A CN109063076B (en) 2018-07-24 2018-07-24 Picture generation method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109063076A true CN109063076A (en) 2018-12-21
CN109063076B CN109063076B (en) 2021-07-13

Family

ID=64836325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810820895.1A Active CN109063076B (en) 2018-07-24 2018-07-24 Picture generation method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109063076B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111241319A (en) * 2020-01-22 2020-06-05 北京搜狐新媒体信息技术有限公司 Method and system for image-text conversion
CN111369294A (en) * 2020-03-06 2020-07-03 中国铁塔股份有限公司 Software cost estimation method and device
CN111967367A (en) * 2020-08-12 2020-11-20 维沃移动通信有限公司 Image content extraction method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049745A (en) * 2012-12-28 2013-04-17 广东欧珀移动通信有限公司 Method for transforming picture into memorandum
CN104239313A (en) * 2013-06-09 2014-12-24 百度在线网络技术(北京)有限公司 Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal
US20150019532A1 (en) * 2013-07-09 2015-01-15 Kt Corporation Image searching scheme
CN105975554A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Big data searching method and device based on mobile terminal
CN106202259A (en) * 2016-06-29 2016-12-07 合肥民众亿兴软件开发有限公司 A kind of info web extracting method based on body thought
CN106709488A (en) * 2016-12-20 2017-05-24 深圳市深信服电子科技有限公司 Business card identification method and device
CN107203611A (en) * 2017-05-19 2017-09-26 北京金山安全软件有限公司 Information providing method and device based on picture content
CN107239784A (en) * 2017-07-03 2017-10-10 福建中金在线信息科技有限公司 A kind of image identification method, device, electronic equipment and readable storage medium storing program for executing
CN108399161A (en) * 2018-03-06 2018-08-14 平安科技(深圳)有限公司 Advertising pictures identification method, electronic device and readable storage medium storing program for executing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049745A (en) * 2012-12-28 2013-04-17 广东欧珀移动通信有限公司 Method for transforming picture into memorandum
CN104239313A (en) * 2013-06-09 2014-12-24 百度在线网络技术(北京)有限公司 Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal
US20150019532A1 (en) * 2013-07-09 2015-01-15 Kt Corporation Image searching scheme
CN105975554A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Big data searching method and device based on mobile terminal
CN106202259A (en) * 2016-06-29 2016-12-07 合肥民众亿兴软件开发有限公司 A kind of info web extracting method based on body thought
CN106709488A (en) * 2016-12-20 2017-05-24 深圳市深信服电子科技有限公司 Business card identification method and device
CN107203611A (en) * 2017-05-19 2017-09-26 北京金山安全软件有限公司 Information providing method and device based on picture content
CN107239784A (en) * 2017-07-03 2017-10-10 福建中金在线信息科技有限公司 A kind of image identification method, device, electronic equipment and readable storage medium storing program for executing
CN108399161A (en) * 2018-03-06 2018-08-14 平安科技(深圳)有限公司 Advertising pictures identification method, electronic device and readable storage medium storing program for executing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111241319A (en) * 2020-01-22 2020-06-05 北京搜狐新媒体信息技术有限公司 Method and system for image-text conversion
CN111241319B (en) * 2020-01-22 2023-10-03 北京搜狐新媒体信息技术有限公司 Image-text conversion method and system
CN111369294A (en) * 2020-03-06 2020-07-03 中国铁塔股份有限公司 Software cost estimation method and device
CN111369294B (en) * 2020-03-06 2023-06-23 中国铁塔股份有限公司 Software cost estimation method and device
CN111967367A (en) * 2020-08-12 2020-11-20 维沃移动通信有限公司 Image content extraction method and device and electronic equipment

Also Published As

Publication number Publication date
CN109063076B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN108337374A (en) A kind of message prompt method and mobile terminal
CN109151180A (en) A kind of object identifying method and mobile terminal
CN109857494A (en) A kind of message prompt method and terminal device
CN108132752A (en) A kind of method for editing text and mobile terminal
CN107908705A (en) A kind of information-pushing method, information push-delivery apparatus and mobile terminal
CN108469968A (en) A kind of applied program processing method and mobile terminal
CN109388456A (en) A kind of head portrait selection method and mobile terminal
CN108390998A (en) A kind of method and mobile terminal for sharing file
CN110096203A (en) A kind of screenshot method and mobile terminal
CN108962187A (en) Screen luminance adjustment method and mobile terminal
CN110069675A (en) A kind of search method and mobile terminal
CN109063076A (en) A kind of Picture Generation Method and mobile terminal
CN108510266A (en) A kind of Digital Object Unique Identifier recognition methods and mobile terminal
CN109976844A (en) A kind of message display method and mobile terminal
CN109949809A (en) A kind of sound control method and terminal device
CN109729301A (en) A kind of message inspection method and device
CN109348035A (en) A kind of recognition methods of telephone number and terminal device
CN108520760A (en) A kind of audio signal processing method and terminal
CN108628534A (en) A kind of character methods of exhibiting and mobile terminal
CN108228357A (en) A kind of memory method for cleaning and mobile terminal
CN107734162A (en) The method, apparatus and mobile terminal of a kind of message informing
CN108459813A (en) A kind of searching method and mobile terminal
CN107704334A (en) A kind of SDK processing method and mobile terminal
CN108494949B (en) A kind of image classification method and mobile terminal
CN110351413A (en) Call request processing method, device and mobile terminal

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