CN109635223A - Page display method and device - Google Patents
Page display method and device Download PDFInfo
- Publication number
- CN109635223A CN109635223A CN201811506137.9A CN201811506137A CN109635223A CN 109635223 A CN109635223 A CN 109635223A CN 201811506137 A CN201811506137 A CN 201811506137A CN 109635223 A CN109635223 A CN 109635223A
- Authority
- CN
- China
- Prior art keywords
- watermark
- user
- page
- user name
- response
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000004044 response Effects 0.000 claims abstract description 39
- 239000000284 extract Substances 0.000 claims description 15
- 230000004048 modification Effects 0.000 claims description 10
- 238000012986 modification Methods 0.000 claims description 10
- 238000000605 extraction Methods 0.000 claims description 9
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 230000006854 communication Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005291 magnetic effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/16—Program or content traceability, e.g. by watermarking
Abstract
The embodiment of the present application discloses page display method and device.One specific embodiment of this method includes: to extract the user name of the user in response to detecting that user logs in;In response to detecting that user triggers page open instruction, using the user name as watermark content, watermark is drawn, and, the target pages for showing the watermark are presented, wherein the page open instruction, which is used to indicate, opens the target pages.The embodiment helps to find out stealer when content of pages is leaked.
Description
Technical field
The invention relates to field of computer technology, and in particular to page display method and device.
Background technique
Digital watermarking is permanently to be embedded in other data (host data) to have identifiable digital signal or mode,
And have no effect on the availability of host data.
Existing mode is usually that the watermark that content is web site name is added directly in the page, to increase information security
Property.
Summary of the invention
The embodiment of the present application proposes page display method and device.
In a first aspect, the embodiment of the present application provides a kind of page display method, this method comprises: in response to detecting use
Family logs in, and extracts the user name of user;In response to detecting that user triggers page open instruction, using user name as in watermark
Hold, draws watermark, and, the target pages for showing watermark are presented, wherein page open instruction is used to indicate opening page object
Face.
In some embodiments, using user name as watermark content, watermark is drawn, comprising: obtain configuration file, wherein
Configuration file is used to indicate the setting to the attribute of watermark, attribute include at least one of the following: angle, font, color, size,
Transparency;Using user name as watermark content, it is based on configuration file, draws watermark.
In some embodiments, this method further include: in response to detecting that user operates the modification of target pages, again
Watermark is drawn, and, the target pages for showing watermark are presented again.
In some embodiments, in response to detecting that user logs in, the user name of user is obtained, comprising: display log in page
Face, to receive the username and password of user's input, wherein user's login page includes user name input frame and Password Input
Frame;The logging request comprising username and password is sent to server;Disappear in response to receiving logining successfully for server return
Breath extracts user name.
Second aspect, the embodiment of the present application provide a kind of page display device, which includes: extraction unit, are matched
It is set in response to detecting that user logs in, extracts the user name of user;First display unit is configured in response to detect use
Page open instruction is triggered at family, using user name as watermark content, draws watermark, and, the page object for showing watermark is presented
Face, wherein page open instruction is used to indicate opening target pages.
In some embodiments, the first display unit is further configured to: obtaining configuration file, wherein configuration file
It is used to indicate the setting to the attribute of watermark, attribute includes at least one of the following: angle, font, color, size, transparency;It will
User name is based on configuration file as watermark content, draws watermark.
In some embodiments, device further include: the second display unit is configured in response to detect user to mesh
The modification operation for marking the page, repaints watermark, and, the target pages for showing watermark are presented again.
In some embodiments, extraction unit is further configured to: display login page, to receive user's input
Username and password, wherein user's login page includes user name input frame and Password Input frame;It sends to server comprising using
The logging request of name in an account book and password;In response to receiving the login success message of server return, user name is extracted.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Storage dress
Set, be stored thereon with one or more programs, when one or more programs are executed by one or more processors so that one or
Multiple processors realize the method such as any embodiment in above-mentioned first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should
It realizes when program is executed by processor such as the method such as any embodiment in above-mentioned first aspect.
Page display method and device provided by the embodiments of the present application can extract use after detecting that user logs in
The user name at family then after detecting that user triggers page open instruction, can draw water using user name as watermark content
Print, it is thus possible to which the target pages for showing watermark are presented.In this way, can be learnt by watermark after content of pages is leaked
The user name of leakage person, to help to find out stealer when content of pages is leaked.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the page display method of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the page display method of the application;
Fig. 4 is the flow chart according to another embodiment of the page display method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the page display device of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the page display method of the application or the exemplary system architecture of page display device
100。
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications can be installed, such as interactive voice class is answered on terminal device 101,102,103
With, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard
When part, it can be the various electronic equipments with display screen and supported web page browsing, including but not limited to smart phone, plate
(Moving Picture Experts Group Audio Layer IV, dynamic image are special by computer, E-book reader, MP4
Family's compression standard audio level 4) player, pocket computer on knee and desktop computer etc..When terminal device 101,
102,103 when being software, may be mounted in above-mentioned cited electronic equipment.Multiple softwares or software mould may be implemented into it
Block (such as providing Distributed Services), also may be implemented into single software or software module.It is not specifically limited herein.
Server 105 can be to provide the server of various services, such as to showing on terminal device 101,102,103
Webpage provides the backstage web page server supported.Backstage web page server can to receive Webpage request etc. data into
The processing such as row analysis, and processing result (such as webpage data) is fed back into terminal device.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented
At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software
To be implemented as multiple softwares or software module (such as providing Distributed Services), single software or software also may be implemented into
Module.It is not specifically limited herein.
It should be noted that page display method provided by the embodiment of the present application generally by server terminal device 101,
102,103, correspondingly, page display device is generally positioned in terminal device 101,102,103.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the process 200 of one embodiment of the page display method according to the application is shown.The page
Plane display method, comprising the following steps:
Step 201, in response to detecting that user logs in, the user name of user is extracted.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1 101,102,103) of page display method
In response to detecting that user logs in, the user name of above-mentioned user can be extracted.
In practice, user can be logged in using various login modes.For example, single-sign-on (Single can be used
Sign On, SSO) mode carries out the login of website or system.
In general, user only needs to log in the application system that can once access all mutual trusts when single-sign-on.It
Mechanism including current main login can be mapped to the login for being used for the same user in other application.
When user logs in, the available log-on message to user of above-mentioned executing subject.For example, log-on message can wrap
Include but be not limited to login name, password, identifying code etc..To which above-mentioned executing subject can be directly above-mentioned out from these information extractions
The login name of user.
In some optional implementations of the present embodiment, above-mentioned executing subject can extract login in accordance with the following steps
Name:
The first step shows login page, to receive the username and password of user's input.Wherein, above-mentioned user's log in page
Face can include but is not limited to user name input frame and Password Input frame, so that user inputs username and password.
Second step, sending to server (such as server 105 shown in FIG. 1) includes above-mentioned user name and above-mentioned password
Logging request.
Third step, the login success message returned in response to receiving above-mentioned server, extracts above-mentioned user name.
Step 202, in response to detecting that user triggers page open instruction, using user name as watermark content, water is drawn
Print, and, the target pages for showing above-mentioned watermark are presented.
In the present embodiment, in response to detecting that user triggers page open instruction, above-mentioned executing subject can will be above-mentioned
User name draws watermark as watermark content, and, the target pages for showing above-mentioned watermark are presented.Here, page open refers to
Order is used to indicate opening target pages.Above-mentioned target pages can be the current page to be opened.
Here, above-mentioned executing subject can carry out watermark by the existing tool that can make watermark, method or language
Drafting.
As an example, above-mentioned executing subject can use the drafting that HTML5<canvas>label carries out watermark.In practice,
Since<canvas>label can be used for drawing image (by script, usually JavaScript).Therefore, above-mentioned executing subject
It can use the drafting that<canvas>label carries out watermark.
As another example, above-mentioned executing subject can based on SVG (Scalable Vector Graphics, it is scalable
Vector graphics) carry out watermark drafting.In practice, scalable vector graphics are based on extensible markup language (standard universal mark
Remember the subset of language), for describing a kind of graphical format of two-dimension vector graphics.
In general, user, which can use the web browser installed on terminal device, carrys out browsing pages, at this moment, user can lead to
It crosses clickthrough or input network address in the page to scan for, to trigger page open instruction.
In practice, the format of above-mentioned target pages can be it is following any one: html format, xhtml format, asp lattice
Formula, php format, jsp format, shtml format, nsp format, the webpage of xml format or other following formats by exploitation
The page (as long as the web page files of this format can be opened with browser).
In some optional implementations of the present embodiment, above-mentioned executing subject can draw water as follows
Print:
The first step obtains configuration file.Wherein, above-mentioned configuration file can serve to indicate that the setting to the attribute of watermark.
Herein, the attribute of watermark can include but is not limited at least one of following: angle, font, color, size, transparency.
As an example, can set 40 degree for the angle of watermark, font is set as the Song typeface, sets grey for color,
100 pixels × 50 pixels will be sized to, 50% etc. is set by transparency, is not construed as limiting herein.
Second step is based on above-mentioned configuration file using above-mentioned user name as watermark content, draws watermark.Herein, it can incite somebody to action
Above-mentioned user name is configured as watermark content according to attribute of the configuration file to watermark, thus the watermark after being drawn.
In some optional implementations of the present embodiment, after presentation shows the target pages of above-mentioned watermark,
In response to detecting that user operates the modification of above-mentioned target pages, above-mentioned executing subject can repaint watermark, and, weight
It is new that the target pages for showing above-mentioned watermark are presented.In this way, above-mentioned executing subject can monitor the watermark in the page whether by
With regard to modification, if drafting can be re-started by modifying, so that user can not modify to watermark.
With continued reference to the schematic diagram that Fig. 3, Fig. 3 are according to the application scenarios of the page display method of the present embodiment.?
In the application scenarios of Fig. 3, terminal device 301 can extract the user's in response to detecting that user logs on to goal systems
User name " TOM " (as shown in label 302).It then, can be by the use in response to detecting that user triggers page open instruction
Name in an account book " TOM " is used as watermark content, draws watermark, and, the target pages for showing the watermark are presented (such as 303 institute of label
Show).Wherein, the page open instruction, which is used to indicate, opens the target pages.
The method provided by the above embodiment of the application can extract above-mentioned user's after detecting that user logs in
User name then after detecting that user triggers page open instruction, can draw water using above-mentioned user name as watermark content
Print, it is thus possible to which the target pages for showing above-mentioned watermark are presented.In this way, watermark can be passed through after content of pages is leaked
The user name of leakage person is learnt, to help to find out stealer when content of pages is leaked.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of page display method.The page is shown
The process 400 of method, comprising the following steps:
Step 401, login page is shown, to receive the username and password of user's input.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1 101,102,103) of page display method
Login page can be shown, to receive the username and password of user's input.Wherein, above-mentioned user's login page may include but
It is not limited to user name input frame and Password Input frame, so that user inputs username and password.
Step 402, the logging request comprising Profile Users name and configuration file password is sent to server.
In the present embodiment, above-mentioned executing subject can be sent to server (such as server 105 shown in FIG. 1) includes
The logging request of above-mentioned user name and above-mentioned password.
Step 403, the login success message returned in response to receiving profile service device, extracts Profile Users
Name.
In the present embodiment, the login success message that above-mentioned executing subject is returned in response to receiving above-mentioned server, can
To extract above-mentioned user name.
Step 404, in response to detecting that user triggers page open instruction, configuration file is obtained.
In the present embodiment, above-mentioned executing subject is available to match in response to detecting that user triggers page open instruction
Set file.Wherein, above-mentioned configuration file can serve to indicate that the setting to the attribute of watermark.Herein, the attribute of watermark can wrap
It includes but is not limited at least one of following: angle, font, color, size, transparency.
As an example, can set 40 degree for the angle of watermark, font is set as the Song typeface, sets grey for color,
100 pixels × 50 pixels will be sized to, 50% etc. is set by transparency, is not construed as limiting herein.
Step 405, using Profile Users name as watermark content, it is based on configuration file configuration file, draws watermark.
In the present embodiment, above-mentioned executing subject can be using above-mentioned user name as watermark content, according to configuration file pair
The attribute of watermark is configured, thus the watermark after being drawn.
Step 406, the target pages for showing configuration file watermark are presented.
Step 407, in response to detecting that user operates the modifications of configuration file target pages, watermark is repainted, with
And the target pages for showing configuration file watermark are presented again.
In the present embodiment, after presentation shows the target pages of above-mentioned watermark, in response to detecting user to upper
The modification operation of target pages is stated, above-mentioned executing subject can repaint watermark, and, it presents again and shows above-mentioned watermark
Target pages.In this way, above-mentioned executing subject can monitor whether the watermark in the page is just modified, if by modifying, it can
It is drawn with re-starting, so that user can not modify to watermark.
Figure 4, it is seen that compared with the corresponding embodiment of Fig. 2, the process of the page display method in the present embodiment
400 highlight to detect user to the page modification after repaint watermark the step of.The scheme of the present embodiment description as a result,
It can monitor whether the watermark in the page is just modified, if drafting can be re-started by modifying, so that user can not be to water
Print is modified.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of displays of page to fill
The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively
In kind electronic equipment.
As shown in figure 5, page display device 500 described in the present embodiment includes: extraction unit 501, it is configured to respond to
In detecting user's login, the user name of above-mentioned user is extracted;First display unit 502, is configured in response to detect use
Page open instruction is triggered at family, using above-mentioned user name as watermark content, draws watermark, and, presentation shows above-mentioned watermark
Target pages, wherein the instruction of above-mentioned page open, which is used to indicate, opens above-mentioned target pages.
In some optional implementations of the present embodiment, said extracted unit 501 can be further configured to: be obtained
Take configuration file, wherein above-mentioned configuration file is used to indicate the setting to the attribute of watermark, and above-mentioned attribute includes following at least one
: angle, font, color, size, transparency;Using above-mentioned user name as watermark content, it is based on above-mentioned configuration file, is drawn
Watermark.
In some optional implementations of the present embodiment, which can also be including the second display unit (in figure not
It shows).Wherein, above-mentioned second display unit is configured in response to detect that user operates the modification of above-mentioned target pages,
Watermark is repainted, and, the target pages for showing above-mentioned watermark are presented again.
In some optional implementations of the present embodiment, above-mentioned first display unit 502 is further configured to:
Login page is shown, to receive the username and password of user's input, wherein above-mentioned user's login page is inputted comprising user name
Frame and Password Input frame;The logging request comprising above-mentioned user name and above-mentioned password is sent to server;On receiving
The login success message for stating server return, extracts above-mentioned user name.
The device provided by the above embodiment of the application, extraction unit 501 can extract after detecting that user logs in
The user name of above-mentioned user then, can will be above-mentioned after the first display unit 502 detects that user triggers page open instruction
User name draws watermark, it is thus possible to which the target pages for showing above-mentioned watermark are presented as watermark content.In this way, in the page
After content is leaked, the user name of leakage person can be learnt by watermark, to facilitate the lookup when content of pages is leaked
Stealer out.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the electronic equipment for being suitable for being used to realize the embodiment of the present application
Structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, function to the embodiment of the present application and should not use model
Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media
611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes
Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- but
Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.
The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires electrical connection,
Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit
Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory
Part or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or stores
The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And
In the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not
It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer
Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use
In by the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc., Huo Zheshang
Any appropriate combination stated.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include extraction unit and the first display unit.Wherein, the title of these units is not constituted to the unit itself under certain conditions
Restriction, for example, extraction unit be also described as " in response to detect user log in, extract the list of the user name of user
Member ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should
Device: in response to detecting that user logs in, the user name of the user is extracted;Refer in response to detecting that user triggers page open
It enables, using the user name as watermark content, draws watermark, and, the target pages for showing the watermark are presented, wherein
The page open instruction, which is used to indicate, opens the target pages.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (10)
1. a kind of page display method, comprising:
In response to detecting that user logs in, the user name of the user is extracted;
In response to detecting that user triggers page open instruction, using the user name as watermark content, watermark is drawn, and,
The target pages for showing the watermark are presented, wherein the page open instruction, which is used to indicate, opens the target pages.
2. page display method according to claim 1, wherein it is described using the user name as watermark content, it draws
Watermark, comprising:
Obtain configuration file, wherein the configuration file is used to indicate the setting to the attribute of watermark, and the attribute includes following
At least one of: angle, font, color, size, transparency;
Using the user name as watermark content, it is based on the configuration file, draws watermark.
3. page display method according to claim 1, wherein the method also includes:
In response to detecting that user operates the modifications of the target pages, watermark is repainted, and, it presents and shows again
The target pages of the watermark.
4. page display method according to claim 1, wherein it is described in response to detecting that user logs in, described in acquisition
The user name of user, comprising:
Login page is shown, to receive the username and password of user's input, wherein user's login page includes user name
Input frame and Password Input frame;
The logging request comprising the user name and the password is sent to server;
The login success message returned in response to receiving the server, extracts the user name.
5. a kind of page display device, comprising:
Extraction unit is configured in response to detect that user logs in, extracts the user name of the user;
First display unit is configured in response to detect that user triggers page open instruction, using the user name as water
Content is printed, watermark is drawn, and, the target pages for showing the watermark are presented, wherein the page open instruction is for referring to
Show and opens the target pages.
6. page display device according to claim 5, wherein first display unit is further configured to:
Obtain configuration file, wherein the configuration file is used to indicate the setting to the attribute of watermark, and the attribute includes following
At least one of: angle, font, color, size, transparency;
Using the user name as watermark content, it is based on the configuration file, draws watermark.
7. page display device according to claim 5, wherein described device further include:
Second display unit is configured in response to detect that user operates the modification of the target pages, repaints water
Print, and, the target pages for showing the watermark are presented again.
8. page display device according to claim 5, wherein the extraction unit is further configured to:
Login page is shown, to receive the username and password of user's input, wherein user's login page includes user name
Input frame and Password Input frame;
The logging request comprising the user name and the password is sent to server;
The login success message returned in response to receiving the server, extracts the user name.
9. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now method as described in any in claim 1-4.
10. a kind of computer-readable medium, is stored thereon with computer program, wherein the realization when program is executed by processor
Method as described in any in claim 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811506137.9A CN109635223A (en) | 2018-12-10 | 2018-12-10 | Page display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811506137.9A CN109635223A (en) | 2018-12-10 | 2018-12-10 | Page display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109635223A true CN109635223A (en) | 2019-04-16 |
Family
ID=66072563
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811506137.9A Pending CN109635223A (en) | 2018-12-10 | 2018-12-10 | Page display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109635223A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111428282A (en) * | 2020-04-14 | 2020-07-17 | 北京达佳互联信息技术有限公司 | Page processing method and device, electronic equipment and storage medium |
CN111698237A (en) * | 2020-06-05 | 2020-09-22 | 浙江华途信息安全技术股份有限公司 | Method and system for adding watermark to WEB page |
CN111783003A (en) * | 2020-06-30 | 2020-10-16 | 北京海泰方圆科技股份有限公司 | Method and device for displaying watermark of browser and electronic equipment |
CN113360106A (en) * | 2021-06-30 | 2021-09-07 | 建信金融科技有限责任公司 | Webpage printing method and device |
CN114417226A (en) * | 2021-11-10 | 2022-04-29 | 北京字节跳动网络技术有限公司 | Page generation method, display method, device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105631359A (en) * | 2015-12-23 | 2016-06-01 | 北京奇虎科技有限公司 | Control method and device of webpage operation |
CN108363910A (en) * | 2018-01-23 | 2018-08-03 | 南通大学 | A kind of insertion of the webpage watermark based on HTML code and extracting method |
-
2018
- 2018-12-10 CN CN201811506137.9A patent/CN109635223A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105631359A (en) * | 2015-12-23 | 2016-06-01 | 北京奇虎科技有限公司 | Control method and device of webpage operation |
CN108363910A (en) * | 2018-01-23 | 2018-08-03 | 南通大学 | A kind of insertion of the webpage watermark based on HTML code and extracting method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111428282A (en) * | 2020-04-14 | 2020-07-17 | 北京达佳互联信息技术有限公司 | Page processing method and device, electronic equipment and storage medium |
CN111698237A (en) * | 2020-06-05 | 2020-09-22 | 浙江华途信息安全技术股份有限公司 | Method and system for adding watermark to WEB page |
CN111783003A (en) * | 2020-06-30 | 2020-10-16 | 北京海泰方圆科技股份有限公司 | Method and device for displaying watermark of browser and electronic equipment |
CN113360106A (en) * | 2021-06-30 | 2021-09-07 | 建信金融科技有限责任公司 | Webpage printing method and device |
CN113360106B (en) * | 2021-06-30 | 2022-12-09 | 建信金融科技有限责任公司 | Webpage printing method and device |
CN114417226A (en) * | 2021-11-10 | 2022-04-29 | 北京字节跳动网络技术有限公司 | Page generation method, display method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109635223A (en) | Page display method and device | |
US7293034B2 (en) | Dynamically customizing a user interface for the aggregation of content | |
US9934320B2 (en) | Method and apparatus for using proxy objects on webpage overlays to provide alternative webpage actions | |
US20120259964A1 (en) | Cloud computing method capable of hiding real file paths | |
CN109325213A (en) | Method and apparatus for labeled data | |
CN106980508A (en) | Method and apparatus for generating the page | |
CN107066609A (en) | Image display method and device | |
CN110020329A (en) | For generating the methods, devices and systems of webpage | |
CN110362304A (en) | The method and apparatus of web displaying | |
CN107390994A (en) | Interface presentation and device | |
CN113382083B (en) | Webpage screenshot method and device | |
CN108021666A (en) | Page adaptation method and apparatus | |
CN107315646A (en) | Data flow control method and device between page assembly | |
CN109389182A (en) | Method and apparatus for generating information | |
CN109582317A (en) | Method and apparatus for debugging boarding application | |
CN109408748A (en) | Method and apparatus for handling information | |
CN103136259B (en) | A kind of method and apparatus based on content block identification processing web page contents | |
CN112256990A (en) | Image processing method and device and computer readable storage medium | |
CN106973081A (en) | A kind of method and apparatus for issuing cloud resource | |
CN109413056A (en) | Method and apparatus for handling information | |
CN113360106B (en) | Webpage printing method and device | |
CN109597956A (en) | Page display method and device | |
CN110020320A (en) | The method and apparatus for caching page pictures | |
CN109218339A (en) | request processing method and device | |
CN110209965A (en) | Method and apparatus for showing information |
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 |