Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for displaying page text

A display method and text technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problem that malicious programs do not work when grabbing webpage text, and achieve the goal of getting rid of dependence and preventing malicious copying and grabbing Effect

Active Publication Date: 2017-04-12
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, both of these methods depend on the browser's functions, and there are many ways to avoid this limitation, and it does not work for malicious programs to grab webpage text

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
  • Method and device for displaying page text
  • Method and device for displaying page text

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] figure 1 The flow chart of the method for displaying text on a webpage provided by Embodiment 1 of the present invention. In this embodiment, it is assumed that a section of text is to be displayed on the webpage. The text to be displayed in the text is the text to be displayed. It should be noted that the implementation of the present invention The characters described in the example are characters in a broad sense, including characters, symbols, numbers, etc. In the embodiment of the present invention, Chinese is used as an example, but it can be widely applied to other types of characters, and the realization principle and method are the same. Such as figure 1 As shown, the method specifically includes the following steps:

[0037] Step 101: Segment the text to be displayed to obtain N text groups, where N is a positive integer greater than 2.

[0038] In this step, predetermined rules can be used when segmenting the character groups, for example, every M character...

Embodiment 2

[0062] figure 2 It is a structural diagram of a page text display device provided by Embodiment 2 of the present invention. The device is usually installed on the server side of a website, and is responsible for the page text display function when generating a page. Such as figure 2 As shown, the device includes: a segmentation unit 01 , an obfuscation unit 02 , a splicing unit 03 and a hidden unit 04 .

[0063] The segmentation unit 01 is used to segment the text to be displayed to obtain N text groups, where N is a positive integer greater than 2. The segmentation unit 01 may adopt predetermined rules when segmenting character groups, for example, every M characters are segmented into a group, and M is a preset positive integer. However, in order to avoid cracking, copying and grabbing of the text to be displayed, it is preferable to use random segmentation when segmenting the text group. The number of segmentation and the segmentation position can be random. At th...

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

The invention provides a method and a device for displaying page characters. The method includes segmenting to-be-displayed characters to acquire N character groups, wherein N is a positive integer more than 2; mixing random characters in each character group; taking each character group after the random characters are mixed therein as a Dom node for splicing according to a corresponding sequence of segmenting; hiding the mixed-in random characters by setting patterns. A mixing mode is adopted, so that normal displaying of the page characters is guaranteed, webpage content acquired by copying and capturing is enabled not to be normally displayed due to the fact that the random characters are mixed in, freeness from dependence on a browser is realized by the mode, and the webpage characters are effectively prevented from being copied and captured maliciously.

Description

[0001] 【Technical field】 [0002] The invention relates to the field of computer application technology, in particular to a method and device for displaying text on a page. [0003] 【Background technique】 [0004] With the explosive growth of information on the Internet, the issue of web page copyright protection is also becoming more and more important. The text of ordinary web pages can be directly copied to other web pages or media, and the cost of illegal copying is very low. How to increase the difficulty of copying and grabbing text and increase the cost of piracy is an urgent problem to be solved. At present, there are mainly two methods commonly used: [0005] The first way is to prevent webpage text from being maliciously copied by simply setting attributes of webpage DOM elements. The second is to prevent malicious copying by disabling the right-click menu. However, these two methods all depend on the functions of the browser, and there are many ways to avoid this ...

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): G06F17/22
Inventor 周建城
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products