Display method and electronic device of a word definition frame

A technology of electronic equipment and display method, which is applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve the problems of word coverage, users cannot browse, etc., and achieve reasonable display effect.

Active Publication Date: 2019-08-30
GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In practice, it is found that when this translation method displays the word definition, the word is often covered by the word's definition box, so that users cannot browse foreign words that they do not understand together with the corresponding definition of the word.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Display method and electronic device of a word definition frame
  • Display method and electronic device of a word definition frame
  • Display method and electronic device of a word definition frame

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] see figure 1 , figure 1 It is a schematic flowchart of a method for displaying a word definition box disclosed in an embodiment of the present invention. Such as figure 1 As shown, the display method of the word definition box may include the following steps:

[0071] 101. The electronic device acquires a word clicked by a user on a picture displayed by the electronic device and position information of a word extraction box of the word on a display screen of the electronic device.

[0072] In the embodiment of the present invention, the position information includes a first distance between the upper frame of the word picking frame and the upper frame of the display screen and a second distance between the left frame of the word picking frame and the left frame of the display screen. distance.

[0073] In the embodiment of the present invention, when the electronic device displays the picture, the picture may be displayed on the entire display screen of the electron...

Embodiment 2

[0112] see figure 2 , figure 2 It is a schematic flowchart of another method for displaying word definition boxes disclosed in the embodiment of the present invention. Such as figure 2 As shown, the display method of the word definition box may include the following steps:

[0113] 201. The electronic device displays a picture including a word to be queried on a display screen of the electronic device.

[0114] In the embodiment of the present invention, the picture that includes the word to be queried can be a picture selected from a picture library in the electronic device, or a picture downloaded from a web page, or a page that the user is browsing on the electronic device The picture obtained by taking a screenshot and the picture obtained by taking a picture of the word to be queried by the electronic device are not limited in this embodiment of the present invention.

[0115] 202. The electronic device recognizes all words in the foregoing picture.

[0116] In th...

Embodiment 3

[0128] see image 3 , image 3 It is a schematic flowchart of another method for displaying a word definition box disclosed in an embodiment of the present invention. Such as image 3 As shown, the display method of the word definition box may include the following steps:

[0129] For detailed descriptions of steps 301 to 306, please refer to the descriptions of steps 201 to 206 in Embodiment 2, which will not be repeated in this embodiment of the present invention.

[0130] 307. The electronic device judges whether the height of the above-mentioned interpretation frame is greater than the above-mentioned first distance, if not, execute step 308; if yes, execute step 309.

[0131] In the embodiment of the present invention, the electronic device judges whether the height of the above-mentioned definition frame is greater than the above-mentioned first distance to judge whether the above-mentioned definition frame can be completely displayed directly above the above-mentione...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A method for displaying a word definition frame and an electronic device, comprising: obtaining a word clicked by a user on a picture displayed on the electronic device and a first distance between the upper frame of the word-taking frame of the word and the upper frame of the display screen of the electronic device And the second distance between the left frame of the word-taking frame and the left frame of the display screen; obtain the height of the paraphrase frame of the word according to the word; judge whether the height of the paraphrase frame is greater than the first A distance; if yes, the lower border of the word-taking frame is shifted down by the preset pixel threshold as the upper border of the paraphrase frame; whether half of the width of the paraphrase frame is judged to be greater than the second distance; if so , shifting the left border of the display screen to the right by a preset pixel point threshold as the left border of the interpretation frame. By implementing the embodiment of the present invention, the word to be queried and the definition frame of the word can be displayed without being blocked by each other, so that the display of the definition frame of the word is more reasonable.

Description

technical field [0001] The invention relates to the technical field of electronic equipment, in particular to a method for displaying a word definition frame and electronic equipment. Background technique [0002] When users encounter foreign words they don't understand in their daily work and study, most of them will use translation application software to translate the foreign words they don't understand by taking pictures and taking words. In practice, it is found that when this translation method displays the definition of a word, the word is often covered by the definition box of the word, so that the user cannot browse the foreign language word that he does not understand with the corresponding definition of the word. Contents of the invention [0003] The embodiment of the present invention discloses a method for displaying a word definition frame and an electronic device, which can display a word to be queried and the word definition frame without blocking each oth...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0481G06K9/34
CPCG06F3/0481G06V30/158
Inventor 刘小兵
Owner GUANGDONG XIAOTIANCAI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products