CN106294431A - The automatic intercept method of a kind of field and device - Google Patents

The automatic intercept method of a kind of field and device Download PDF

Info

Publication number
CN106294431A
CN106294431A CN201510276334.6A CN201510276334A CN106294431A CN 106294431 A CN106294431 A CN 106294431A CN 201510276334 A CN201510276334 A CN 201510276334A CN 106294431 A CN106294431 A CN 106294431A
Authority
CN
China
Prior art keywords
field
data
pixel
contents
prompting
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.)
Pending
Application number
CN201510276334.6A
Other languages
Chinese (zh)
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.)
Beijing Shenzhou Taiyue Software Co Ltd
Original Assignee
Beijing Shenzhou Taiyue Software 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 Beijing Shenzhou Taiyue Software Co Ltd filed Critical Beijing Shenzhou Taiyue Software Co Ltd
Priority to CN201510276334.6A priority Critical patent/CN106294431A/en
Publication of CN106294431A publication Critical patent/CN106294431A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The automatic intercept method of a kind of field of disclosure and device.In the method, after obtaining field contents to be shown, the field pixel that contrast field contents occupies and the pixel threshold preset, if field pixel is more than the pixel threshold preset, cannot display field content in instruction page, field contents to be shown is intercepted, M pixel before obtaining, and generate display field according to described front M pixel and prompting mark and show, the pixel that described display field occupies is not more than described default pixel threshold, and by the prompting layer display field content of display field.The scheme of the application completely can not shown by prompting mark prompting user field content, user is avoided to miss not shown field contents, and show described field contents to be shown by prompting layer, during so that user needs to browse complete content, get complete field contents by described prompting layer.

Description

The automatic intercept method of a kind of field and device
Technical field
It relates to Internet technical field, particularly relate to automatic intercept method and the device of a kind of field.
Background technology
B/S pattern (Browser/Server, Browser/Server Mode) is a kind of network structure after the Internet rises Pattern.In this mode, multiple client computer are connected with server by the Internet, and each client computer is provided with one Individual browser.When applying this pattern, partial service can be processed on a client, thus alleviate the burden of server, tool There is greater advantage.
In B/S pattern, each client computer can show corresponding web page contents according to the data of server transport.But, The page presentation mode of each client computer is different, if web page contents to be shown comprises overlength field, this overlength field Width exceedes the page display threshold of client computer, in this case, the page of client computer can be caused to show imperfect.In order to When solution client computer receives overlength field, the page shows incomplete problem, and in conventional art, client computer generally intercepts and waits to show The field contents shown, the width of the every partial content obtained after intercepting is not more than described page display threshold, and with CSS Each several part content after the form display intercepting of (Cascading Style Sheets, CSS).
But, inventor finds in the research process of the application, during with CSS form display content of pages, aobvious in the page The content shown often only has the Part I content being intercepted in overlength field, after needing user to click on, could show in the page Showing the content of other parts, user the most only browses to Part I content when reading content of pages, thus misses webpage Content.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides automatic intercept method and the device of a kind of field.
In order to solve above-mentioned technical problem, the embodiment of the invention discloses following technical scheme:
First aspect according to disclosure embodiment, it is provided that the automatic intercept method of a kind of field, the method includes:
Obtain field contents to be shown;
Calculate the field pixel occupied by described field contents to be shown, and contrast described field pixel and the pixel preset Threshold value;
If described field pixel is more than described default pixel threshold, intercept the front M in described field contents to be shown Pixel, generates and comprises described front M pixel and the display field of prompting mark and show, wherein, described prompting is designated N number of pixel, M's Yu N and the most described default pixel threshold, and, M Yu N is default positive integer;
The prompting layer of described display field is set, and shows described field contents by described prompting layer.
Further, the field pixel occupied by the described field contents to be shown of described calculating, including:
Adding up the number of all types of data comprised in described field contents, described all types of data include: Chinese character type Data, the data of letter type, the data of numeric type, and/or the data of spcial character type;
The pixel occupied according to different types of individual data, and the number of described all types of data, wait to show described in calculating Field pixel occupied by the field contents shown.
Further, the field pixel occupied by the described field contents to be shown of described calculating, including:
Obtaining the length cell that described field contents is corresponding, wherein, each length cell comprises s pixel;
Determine the quantity of the length cell that all types of packets in described field contents contain, and each data are replaced with The symbol logo that the quantity of described length cell is equal, wherein, described all types of data include: the data of Chinese character type, The data of letter type, the data of numeric type, and/or the data of spcial character type;
Add up the sum of described symbol logo, and using the sum of described symbol logo with the product of s as described to be shown Field pixel occupied by field contents.
Further, the field contents that described acquisition is to be shown, including:
After obtaining the data to be displayed of server transport, search and whether described data to be displayed comprises html label;
If described data to be displayed comprises html label, obtain the content that described html label is corresponding, obtain described in treat The field contents of display.
Further, the described prompting layer that described display field is set, and show described field contents by described prompting layer, Including:
In the html label of described display field, add prompting layer attribute, generate the prompting layer of described display field;
Described field contents is loaded in described prompting layer.
Second aspect according to disclosure embodiment, it is provided that the automatic capture device of a kind of field, including:
Acquisition module, for obtaining field contents to be shown;
Calculate contrast module, for calculating the field pixel occupied by described field contents to be shown, and contrast described word Section pixel and the pixel threshold preset;
Display field generation module, if being more than described default pixel threshold for described field pixel, waits to show described in intercepting Front M pixel in the field contents shown, generates and comprises described front M pixel and the display field of prompting mark and show, Wherein, described prompting is designated N number of pixel, M's Yu N and the most described default pixel threshold, and, M and N It is default positive integer;
Prompting layer arranges module, for arranging the prompting layer of described display field, and shows described word by described prompting layer Section content.
Further, the described contrast module that calculates includes:
Statistic unit, for adding up the number of all types of data comprised in described field contents, described all types of packets Include: the data of Chinese character type, the data of letter type, the data of numeric type, and/or the data of spcial character type;
First computing unit, for the pixel that occupies according to different types of individual data, and described all types of data Number, calculates the field pixel occupied by described field contents to be shown.
Further, the described contrast module that calculates includes:
Acquiring unit, for obtaining the length cell that described field contents is corresponding, wherein, each length cell comprises s Pixel;
Determine unit, for determining the quantity of length cell that all types of packets in described field contents contain, and will be every Individual data replace with the symbol logo equal with the quantity of described length cell, and wherein, described all types of data include: the Chinese The data of word type, the data of letter type, the data of numeric type, and/or the data of spcial character type;
Second computing unit, for adding up the sum of described symbol logo, and by the sum of described symbol logo and taking advantage of of s Long-pending as the field pixel occupied by described field contents to be shown.
Further, described acquisition module includes:
Search unit, after the data to be displayed obtaining server transport, search in described data to be displayed and whether comprise Html label;
Contents acquiring unit, if comprising html label in described data to be displayed, obtains described html label corresponding Content, obtain described field contents to be shown.
Further, described prompting layer arranges module and includes:
Prompting layer signal generating unit, for adding prompting layer attribute in the html label of described display field, generates described The prompting layer of display field;
Content loading unit, for loading described field contents in described prompting layer.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
The automatic intercept method of a kind of field of disclosure, in the method, after obtaining field contents to be shown, right The field pixel occupied than field contents and the pixel threshold preset, if described field pixel is more than described default pixel threshold Value, then cannot show complete field contents, in this case, carry out field contents to be shown cutting in instruction page Take, M pixel before obtaining, and generate corresponding display field according to described front M pixel and prompting mark and show, The pixel that described display field occupies is not more than described default pixel threshold, and shows institute by the prompting layer of display field State field contents.
Use disclosed method, it is possible to completely do not shown by prompting mark prompting user field content, to carry Show user, it is to avoid user misses not shown field contents, and shows described field contents to be shown by prompting layer, So that user is browsing to prompting mark, and determine when needing to browse complete content, read completely by described prompting layer Field contents.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, can not Limit the disclosure.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present invention Example, and for explaining the principle of the present invention together with description.
Fig. 1 is the workflow schematic diagram of the automatic intercept method according to a kind of field shown in an exemplary embodiment;
Fig. 2 is in the automatic intercept method according to a kind of field shown in an exemplary embodiment, obtains in field contents and accounts for According to the workflow schematic diagram of field pixel;
Fig. 3 is the structural representation of the automatic capture device according to a kind of field shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to attached During figure, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary is implemented Embodiment described in example does not represent all embodiments consistent with the present invention.On the contrary, they be only with such as The example of the apparatus and method that some aspects that described in detail in appended claims, the present invention are consistent.
In order to solve in prior art, when the overlength field comprised in web page contents to be shown exceed client computer the page show When showing threshold value, when showing content of pages by CSS mode, the content that the page presents often only has in overlength field and is intercepted Part I content, easily make user miss the problem of web page contents, the automatic intercept method of a kind of field of disclosure.
Workflow schematic diagram shown in Figure 1, the automatic intercept method of field disclosed in the present application comprises the following steps:
Step S11, obtain field contents to be shown.
Step S12, calculate the field pixel occupied by described field contents to be shown;
Step S13, contrast described field pixel and default pixel threshold, it is judged that whether described field pixel is more than described The pixel threshold preset, if so, performs the operation of step S14, if it is not, perform the operation of step S16.
Wherein, described default pixel threshold be usually client computer can the max pixel value of display field, if field pixel The pixel threshold preset belonging to exceeding, then this field contents will be unable to completely show on the page.
If step S14 described field pixel is more than described default pixel threshold, intercept described field contents to be shown Front M pixel, generate comprise described front M pixel and prompting identify display field and show, wherein, described in carry Show and be designated N number of pixel, M's Yu N and the most described default pixel threshold, and, M Yu N be default just Integer.
Wherein, usually " front M the pixel in field contents to be shown+occupy is N number of for the form of described display field The prompting mark of pixel ".Further, M's Yu N and the most described default pixel threshold, say, that described display The pixel that field occupies is not more than described default pixel threshold such that it is able to display complete in the page described display word Section.
It addition, be provided with described prompting mark in display field such that it is able to make user know and there is not shown field, Play the effect reminding user.
Step S15, generate comprise described front M pixel and prompting mark display field and display after, institute is set State the prompting layer of display field, and show described field contents by described prompting layer.
Described prompting layer is usually tip and points out layer, realizes with the form of floating layer.If user browses to described prompting mark, Then can determine and there is not shown field, in this case, if user needs to browse complete field contents, then can enter Row operation, mouse is moved to as described in prompting layer, or, click on described prompting layer, browsed to by described prompting layer Complete field contents.
If step S16 described field pixel is not more than described default pixel threshold, show described field contents.
If described field pixel is not more than described default pixel threshold, then show the width of field contents and not less than the page Display threshold, directly carries out showing.
Step S11 of the application to step S16 discloses the automatic intercept method of a kind of field, in the method, treats in acquisition After the field contents of display, contrast the field pixel that described field contents occupies and the pixel threshold preset, if described field Pixel is more than described default pixel threshold, then cannot show complete field contents in instruction page, in this case, Field contents to be shown is intercepted, M pixel before obtaining, and raw according to described front M pixel and prompting mark Becoming corresponding display field and show, the pixel that described display field occupies is not more than described default pixel threshold, and leads to The prompting layer crossing display field shows described field contents.
Use disclosed method, it is possible to completely do not shown by prompting mark prompting user field content, to carry Show user, it is to avoid user misses not shown field contents, and shows described field contents to be shown by prompting layer, So that user is browsing to prompting mark, and determine when needing to browse complete content, obtained by described prompting layer and read Field contents, will not miss information.
In disclosed method, described prompting mark usually ellipsis.Of course, it is possible to use other symbols to make For prompting mark, this is not limited by the application.
In disclosed method, the field pixel occupied by the described field contents to be shown of described calculating, including Following steps:
First, adding up the number of all types of data comprised in described field contents, described all types of data include: Chinese character The data of type, the data of letter type, the data of numeric type, and/or the data of spcial character type;Then, root The pixel occupied according to different types of individual data, and the number of described all types of data, calculate described word to be shown Section field pixel occupied by content.
In a field contents, usually contain polytype data, such as Chinese character, letter, numeral and/or special Character.Pixel occupied by different types of data is different, it is therefore desirable to add up the number of each categorical data, and according to The pixel that different types of individual data occupies, and the number of all types of data, can be calculated field to be shown Field pixel occupied by content.
Such as, if in field contents, individual Chinese character occupies 12 pixels, the then each lower case under same font size All occupy 6 pixels with numeral, each capitalization is 9 pixels, and each spcial character is 12 pixels.This feelings Under condition, if through statistics, determining and this field contents include a Chinese character, b lower case, c numeral, d Capitalization and e spcial character, then the field pixel=12*a+6*b+6*c+9*d+12*e occupied by this field contents.
Furthermore it is also possible to use additive method to calculate the field pixel occupied by described field contents to be shown.See figure Workflow schematic diagram shown in 2, the field pixel occupied by the described field contents to be shown of described calculating, including with Lower step:
Step S21, obtaining the length cell that described field contents is corresponding, wherein, each length cell comprises s pixel.
The quantity of the length cell that step S22, all types of packets determined in described field contents contain, and by every number According to replacing with the symbol logo equal with the quantity of described length cell, wherein, described all types of data include: Chinese characters kind The data of type, the data of letter type, the data of numeric type, and/or the data of spcial character type.
Step S23, add up the sum of described symbol logo, and using the sum of described symbol logo with the product of s as institute State the field pixel occupied by field contents to be shown.
In a field contents, usually contain polytype data, such as Chinese character, letter, numeral and/or special Character.Pixel occupied by different types of data is different, and described length cell is generally according to single all types of data institutes The greatest common divisor of the pixel occupied determines.
Such as, if in some field contents, individual Chinese character occupies 12 pixels, then each little under same font size Writing letter and number and all occupy 6 pixels, each capitalization is 9 pixels, and each spcial character is 12 pixels. In this case, determine that each length cell that described field contents is corresponding comprises 3 pixels, i.e. s is 3.Accordingly, The packet of each Chinese character type contains 4 length cells, the data of each Chinese character type in described field contents is replaced It is 4 symbol logos;The packet of each lower case type contains 2 length cells, every by described field contents The data that individual lower case type is replaced are 2 symbol logos;The packet of each numeric type contains 2 length cells, The data of each numeric type in described field contents are replaced with 2 symbol logos;The number of each capitalization type According to comprising 3 length cells, the data of each capitalization type in described field contents are replaced with 3 symbol marks Know;The packet of each spcial character type contains 4 length cells, by each specific type in described field contents Data replace with 4 symbol logos.Then, after replacement operation completes, the sum of statistical symbol mark, described symbol The sum of mark is multiplied by 3, and the product got is the field pixel that this field contents occupies.
It addition, in above-mentioned steps, the symbol logo replacing different types of data can be different, such as, replace small letter The symbol logo of the data of parent type is " ☆ ", and the symbol logo of the data replacing capitalization type is " ", replaces The symbol logo of the data of Chinese character type and the data of spcial character type is " ◆ ".Or, replace different types of data Symbol logo can also be identical, this is not limited by the application.
Operation by step S21 to step S23, it is possible to obtain the field pixel occupied by field contents to be shown, Will pass through the comparing result between this field pixel and default pixel threshold, it is judged that whether this field contents can be complete Whole display.
Further, in disclosed method, the field contents that described acquisition is to be shown, including:
After obtaining the data to be displayed of server transport, search and whether described data to be displayed comprises html (HyperText Markup Language, HyperText Markup Language) label;If described data to be displayed comprises html label, obtain Take the content that described html label is corresponding, obtain described field contents to be shown.
If described data to be displayed comprises html label, illustrate that these data often map to other guide, such as, institute Stating and comprise hyperlink in data to be displayed, the content of this hyperlink instruction falls within content to be shown, in this case, Then need to obtain the content that described html label is corresponding, obtain field contents to be shown accordingly.Wherein, html is being obtained During content corresponding to label, required content can be obtained by canonical algorithm.
In step S15, disclose the prompting layer that described display field is set, and show described word by described prompting layer The step of section content.In this step, described prompting layer generally uses the mode of floating layer to realize.
In this case, the described prompting layer that described display field is set, and shown complete described by described prompting layer Field contents to be shown, comprises the following steps:
First, the html label of described display field adds prompting layer attribute, generates the prompting of described display field Layer;Then, in described prompting layer, described field contents is loaded.
Pass through above-mentioned steps, it is possible to arrange for described display field and point out layer accordingly, shown by described prompting layer described Field contents.In this case, if user needs to browse complete field contents, mouse can be moved to described display word Section, or click on described display field, then prompting layer occurs, in order to user utilizes described prompting layer to browse to complete field Content.
Accordingly, the application is also disclosed the automatic capture device of a kind of field, structural representation shown in Figure 3, institute The automatic capture device stating field includes: acquisition module 100, calculating contrast module 200 and display field generation module 300 Module 400 is set with prompting layer.
Wherein, described acquisition module 100, for obtaining field contents to be shown;
The described contrast module 200 that calculates is for calculating the field pixel occupied by described field contents to be shown and right Than described field pixel and default pixel threshold;
Described display field generation module 300, if for described field pixel more than described default pixel threshold, intercepts Front M pixel in described field contents to be shown, generates and comprises described front M pixel and the display word of prompting mark Section also shows, wherein, described prompting is designated N number of pixel, M's Yu N and the most described default pixel threshold, Further, M Yu N is default positive integer;
Described prompting layer arranges module 400, for arranging the prompting layer of described display field, and is shown by described prompting layer Show described field contents.
Further, the described contrast module 200 that calculates can realize in a variety of forms.Wherein in a kind of form, described Calculate contrast module 200 to include:
Statistic unit, for adding up the number of all types of data comprised in described field contents, described all types of packets Include: the data of Chinese character type, the data of letter type, the data of numeric type, and/or the data of spcial character type;
First computing unit, for the pixel that occupies according to different types of individual data, and described all types of data Number, calculates the field pixel occupied by described field contents to be shown.
In another form, the described contrast module 200 that calculates includes:
Acquiring unit, for obtaining the length cell that described field contents is corresponding, wherein, each length cell comprises s Pixel;
Determine unit, for determining the quantity of length cell that all types of packets in described field contents contain, and will be every Individual data replace with the symbol logo equal with the quantity of described length cell, and wherein, described all types of data include: the Chinese The data of word type, the data of letter type, the data of numeric type, and/or the data of spcial character type;
Second computing unit, for adding up the sum of described symbol logo, and by the sum of described symbol logo and taking advantage of of s Long-pending as the field pixel occupied by described field contents to be shown.
Further, described acquisition module 100 includes:
Search unit, after the data to be displayed obtaining server transport, search in described data to be displayed and whether comprise Html label;
Contents acquiring unit, if comprising html label in described data to be displayed, obtains described html label corresponding Content, obtain described field contents to be shown.
Further, described prompting layer arranges module 400 and includes:
Prompting layer signal generating unit, for adding prompting layer attribute in the html label of described display field, generates described The prompting layer of display field;
Content loading unit, for loading described field contents in described prompting layer.
Use the automatic capture device of field disclosed in the present application, it is possible to by prompting mark prompting user field content not by Complete display, to point out user, it is to avoid user misses not shown field contents, and shows to be shown by prompting layer Described field contents, in order to user is browsing to prompting mark, and determines when needing to browse complete content, is carried by described Show that layer obtains and read described field contents.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment is described in detail, explanation will be not set forth in detail herein.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other of the present invention Embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes Or adaptations follow the present invention general principle and include the disclosure undocumented in the art known often Know or conventional techniques means.Description and embodiments is considered only as exemplary, true scope and spirit of the invention by under The claim in face is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and Various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. the automatic intercept method of a field, it is characterised in that including:
Obtain field contents to be shown;
Calculate the field pixel occupied by described field contents to be shown, and contrast described field pixel and the pixel preset Threshold value;
If described field pixel is more than described default pixel threshold, intercept the front M in described field contents to be shown Pixel, generates and comprises described front M pixel and the display field of prompting mark and show, wherein, described prompting is designated N number of pixel, M's Yu N and the most described default pixel threshold, and, M Yu N is default positive integer;
The prompting layer of described display field is set, and shows described field contents by described prompting layer.
Method the most according to claim 1, it is characterised in that shared by the described field contents to be shown of described calculating According to field pixel, including:
Adding up the number of all types of data comprised in described field contents, described all types of data include: Chinese character type Data, the data of letter type, the data of numeric type, and/or the data of spcial character type;
The pixel occupied according to different types of individual data, and the number of described all types of data, wait to show described in calculating Field pixel occupied by the field contents shown.
Method the most according to claim 1, it is characterised in that shared by the described field contents to be shown of described calculating According to field pixel, including:
Obtaining the length cell that described field contents is corresponding, wherein, each length cell comprises s pixel;
Determine the quantity of the length cell that all types of packets in described field contents contain, and each data are replaced with The symbol logo that the quantity of described length cell is equal, wherein, described all types of data include: the data of Chinese character type, The data of letter type, the data of numeric type, and/or the data of spcial character type;
Add up the sum of described symbol logo, and using the sum of described symbol logo with the product of s as described to be shown Field pixel occupied by field contents.
4. according to described method arbitrary in claims 1 to 3, it is characterised in that in the field that described acquisition is to be shown Hold, including:
After obtaining the data to be displayed of server transport, search and whether described data to be displayed comprises html label;
If described data to be displayed comprises html label, obtain the content that described html label is corresponding, obtain described in treat The field contents of display.
Method the most according to claim 4, it is characterised in that the described prompting layer that described display field is set, and Described field contents is shown by described prompting layer, including:
In the html label of described display field, add prompting layer attribute, generate the prompting layer of described display field;
Described field contents is loaded in described prompting layer.
6. the automatic capture device of a field, it is characterised in that including:
Acquisition module, for obtaining field contents to be shown;
Calculate contrast module, for calculating the field pixel occupied by described field contents to be shown, and contrast described word Section pixel and the pixel threshold preset;
Display field generation module, if being more than described default pixel threshold for described field pixel, waits to show described in intercepting Front M pixel in the field contents shown, generates and comprises described front M pixel and the display field of prompting mark and show, Wherein, described prompting is designated N number of pixel, M's Yu N and the most described default pixel threshold, and, M and N It is default positive integer;
Prompting layer arranges module, for arranging the prompting layer of described display field, and shows described word by described prompting layer Section content.
Device the most according to claim 6, it is characterised in that described calculating contrast module includes:
Statistic unit, for adding up the number of all types of data comprised in described field contents, described all types of packets Include: the data of Chinese character type, the data of letter type, the data of numeric type, and/or the data of spcial character type;
First computing unit, for the pixel that occupies according to different types of individual data, and described all types of data Number, calculates the field pixel occupied by described field contents to be shown.
Device the most according to claim 6, it is characterised in that described calculating contrast module includes:
Acquiring unit, for obtaining the length cell that described field contents is corresponding, wherein, each length cell comprises s Pixel;
Determine unit, for determining the quantity of length cell that all types of packets in described field contents contain, and will be every Individual data replace with the symbol logo equal with the quantity of described length cell, and wherein, described all types of data include: the Chinese The data of word type, the data of letter type, the data of numeric type, and/or the data of spcial character type;
Second computing unit, for adding up the sum of described symbol logo, and by the sum of described symbol logo and taking advantage of of s Long-pending as the field pixel occupied by described field contents to be shown.
9. according to described device arbitrary in claim 6 to 8, it is characterised in that described acquisition module includes:
Search unit, after the data to be displayed obtaining server transport, search in described data to be displayed and whether comprise Html label;
Contents acquiring unit, if comprising html label in described data to be displayed, obtains described html label corresponding Content, obtain described field contents to be shown.
Device the most according to claim 9, it is characterised in that described prompting layer arranges module and includes:
Prompting layer signal generating unit, for adding prompting layer attribute in the html label of described display field, generates described aobvious Show the prompting layer of field;
Content loading unit, for loading described field contents in described prompting layer.
CN201510276334.6A 2015-05-26 2015-05-26 The automatic intercept method of a kind of field and device Pending CN106294431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510276334.6A CN106294431A (en) 2015-05-26 2015-05-26 The automatic intercept method of a kind of field and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510276334.6A CN106294431A (en) 2015-05-26 2015-05-26 The automatic intercept method of a kind of field and device

Publications (1)

Publication Number Publication Date
CN106294431A true CN106294431A (en) 2017-01-04

Family

ID=57634840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510276334.6A Pending CN106294431A (en) 2015-05-26 2015-05-26 The automatic intercept method of a kind of field and device

Country Status (1)

Country Link
CN (1) CN106294431A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992561A (en) * 2017-11-29 2018-05-04 四川巧夺天工信息安全智能设备有限公司 A kind of method of long field in parsing EDB database source files
CN108090137A (en) * 2017-11-29 2018-05-29 四川巧夺天工信息安全智能设备有限公司 A kind of method for parsing long field in EDB database source files
CN111190516A (en) * 2019-12-27 2020-05-22 广东金赋科技股份有限公司 Tabular data display method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075236A (en) * 2006-06-12 2007-11-21 腾讯科技(深圳)有限公司 Apparatus and method for accelerating browser webpage display
CN101102255A (en) * 2007-08-13 2008-01-09 腾讯科技(深圳)有限公司 Processing method and device for instant communication information including hyperlink
CN101446960A (en) * 2008-12-30 2009-06-03 深圳市茁壮网络技术有限公司 Method for browsing web page at digital television terminal and browser thereof
CN101916160A (en) * 2005-09-23 2010-12-15 谷歌公司 Display message on mobile device
US20110225526A1 (en) * 2010-03-11 2011-09-15 A2iA S.A. System and Method for Processing Objects
CN103678633A (en) * 2013-12-19 2014-03-26 乐视网信息技术(北京)股份有限公司 Terminal and method for displaying episode list through terminal
CN103885992A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Method and device for controlling page display
CN103995809A (en) * 2013-02-18 2014-08-20 阿里巴巴集团控股有限公司 Information processing method and device of socialized media
CN104380249A (en) * 2012-06-22 2015-02-25 微软公司 Folded views in development environment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916160A (en) * 2005-09-23 2010-12-15 谷歌公司 Display message on mobile device
CN101075236A (en) * 2006-06-12 2007-11-21 腾讯科技(深圳)有限公司 Apparatus and method for accelerating browser webpage display
CN101102255A (en) * 2007-08-13 2008-01-09 腾讯科技(深圳)有限公司 Processing method and device for instant communication information including hyperlink
CN101446960A (en) * 2008-12-30 2009-06-03 深圳市茁壮网络技术有限公司 Method for browsing web page at digital television terminal and browser thereof
US20110225526A1 (en) * 2010-03-11 2011-09-15 A2iA S.A. System and Method for Processing Objects
CN104380249A (en) * 2012-06-22 2015-02-25 微软公司 Folded views in development environment
CN103885992A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Method and device for controlling page display
CN103995809A (en) * 2013-02-18 2014-08-20 阿里巴巴集团控股有限公司 Information processing method and device of socialized media
CN103678633A (en) * 2013-12-19 2014-03-26 乐视网信息技术(北京)股份有限公司 Terminal and method for displaying episode list through terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992561A (en) * 2017-11-29 2018-05-04 四川巧夺天工信息安全智能设备有限公司 A kind of method of long field in parsing EDB database source files
CN108090137A (en) * 2017-11-29 2018-05-29 四川巧夺天工信息安全智能设备有限公司 A kind of method for parsing long field in EDB database source files
CN108090137B (en) * 2017-11-29 2021-11-26 四川巧夺天工信息安全智能设备有限公司 Method for analyzing overlong fields in EDB database source file
CN111190516A (en) * 2019-12-27 2020-05-22 广东金赋科技股份有限公司 Tabular data display method

Similar Documents

Publication Publication Date Title
US20230281383A1 (en) Arbitrary size content item generation
US8819028B2 (en) System and method for web content extraction
US9563611B2 (en) Merging web page style addresses
US11687704B2 (en) Method, apparatus and electronic device for annotating information of structured document
US20190073342A1 (en) Presentation of electronic information
CN107256234A (en) A kind of web page text method of adjustment and its equipment
US20220114269A1 (en) Page processing method, electronic apparatus and non-transitory computer-readable storage medium
CN102411614A (en) Display Of Image Search Results
CN102253979A (en) Vision-based web page extracting method
CN113515928B (en) Electronic text generation method, device, equipment and medium
US9811505B2 (en) Techniques to provide processing enhancements for a text editor in a computing environment
CN109933751B (en) Image-text drawing method and device, computer-readable storage medium and computer equipment
CN106155654B (en) Method and device for shielding webpage operation and electronic equipment
CN105243058A (en) Webpage content translation method and electronic apparatus
CN104239282B (en) The treating method and apparatus of e-book
CN108595697A (en) Webpage integrated approach, apparatus and system
US8595619B1 (en) In response to a search result query providing a snippet of a document including an element previously highlighted by a user
CN111291533A (en) Sentence segment to be displayed display method and device, computer equipment and storage medium
US20120089899A1 (en) Method and system for redisplaying a web page
CN106294431A (en) The automatic intercept method of a kind of field and device
CN111414728B (en) Numerical data display method, device, computer equipment and storage medium
US20140337709A1 (en) Method and apparatus for displaying web page
US10831991B1 (en) Systems and methods for testing content developed for access via a network
CN109740097A (en) A kind of Web page text extracting method of logic-based chained block
US9984053B2 (en) Replicating the appearance of typographical attributes by adjusting letter spacing of glyphs in digital publications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170104

RJ01 Rejection of invention patent application after publication