CN111428282A - Page processing method and device, electronic equipment and storage medium - Google Patents

Page processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111428282A
CN111428282A CN202010291004.5A CN202010291004A CN111428282A CN 111428282 A CN111428282 A CN 111428282A CN 202010291004 A CN202010291004 A CN 202010291004A CN 111428282 A CN111428282 A CN 111428282A
Authority
CN
China
Prior art keywords
page
semi
transparent layer
display
displayed
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
CN202010291004.5A
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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010291004.5A priority Critical patent/CN111428282A/en
Publication of CN111428282A publication Critical patent/CN111428282A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/106Enforcing content protection by specific content processing
    • G06F21/1063Personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a page processing method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a display request of a page to be displayed; creating a semi-transparent layer according to the display request; and covering the semi-transparent layer on the page to be displayed to generate a display page, wherein the semi-transparent layer is used for covering the display page in a completely opaque mode when the display page is exported, so that the content of the display page is invisible. According to the method, the semi-transparent layer is covered on the page to be displayed, so that the transparency attribute of the displayed page cannot be identified when the browser exports the displayed page, and therefore the transparency attribute is invalid. An invalid transparency, i.e. opaque, a semi-transparent layer on a display page being exported or printed will overlay the display page in a completely opaque manner, thereby avoiding that the content on the page is revealed invisible.

Description

Page processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of page processing technologies, and in particular, to a page processing method and apparatus, an electronic device, and a storage medium.
Background
The enterprise internal website is mainly used for information communication in an enterprise or an organization, and information can be shared among sub-companies or departments in the enterprise. The enterprise staff can transmit the working data through the internal website of the enterprise, so that the information and data communication inside the enterprise is accelerated, the work of each department is better coordinated, and the efficiency is improved.
Often, private information of a plurality of enterprises, including company decisions, financial data, engineering drawings and the like, is provided in an enterprise internal website, and the information is only referred by employees in the enterprise. In order to improve the security of the information inside the enterprise, in the related technology, a watermark can be added on a page of an internal website of the enterprise, and the watermark is carried when the page is browsed, exported or printed, so that a leaked employee can be quickly positioned when the page is leaked. However, in the related art, there is still a risk that the intra-enterprise information is leaked out by exporting or printing the page configured with the watermark.
Disclosure of Invention
The disclosure provides a page processing method, a page processing device, an electronic device and a storage medium, which are used for at least solving the problem that enterprise internal information is easy to leak after being printed or exported in the related technology. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a page processing method, including:
acquiring a display request of a page to be displayed;
creating a semi-transparent layer according to the display request;
and covering the semi-transparent layer on the page to be displayed to generate a display page, wherein the semi-transparent layer is used for covering the display page in a completely opaque mode when the display page is exported, so that the content of the display page is invisible.
In one embodiment, after the generating the display page, the method further includes:
acquiring a page export instruction;
and exporting the display page according to the page export instruction, and exporting and covering the semi-transparent layer covered on the display page in a completely opaque mode.
In one embodiment, creating a semi-transparent layer includes:
acquiring a pre-configured background picture, and converting the background picture into a Canvas layer;
and configuring the transparency value of the Canvas layer to generate a semi-transparent layer.
In one embodiment, creating a semi-transparent layer includes:
acquiring a pre-configured background picture and watermark information, and converting the background picture into a Canvas layer;
adding watermark information in a Canvas layer;
and configuring the transparency value of the Canvas layer added with the watermark information to generate a semitransparent layer.
In one embodiment, the watermark information includes a user identification.
In one embodiment, before creating the semi-transparent layer, the method further includes:
acquiring size information of a page to be displayed;
and configuring the size of the semitransparent layer according to the size information of the page to be displayed.
In one embodiment, the size of the semi-transparent layer is larger than or equal to the size of the page to be displayed.
According to a second aspect of the embodiments of the present disclosure, there is provided a page processing apparatus including:
the acquisition module is configured to execute a display request for acquiring a page to be displayed;
the semi-transparent layer generating module is configured to execute the creation of a semi-transparent layer according to the display request;
the page configuration module is configured to overlay the semi-transparent layer on the page to be displayed to generate the display page, and the semi-transparent layer is used for overlaying the display page in a completely opaque mode when the display page is exported so as to enable the content of the display page to be invisible.
In one embodiment, the obtaining module is further configured to execute a obtain page export instruction;
the device further comprises: and the page export module is configured to export the display page according to the page export instruction, and the semitransparent layer covered on the display page is exported in a completely opaque mode and is covered on the display page.
In one embodiment, the semitransparent layer generating module includes:
the first picture drawing unit is configured to acquire a pre-configured background picture and convert the background picture into a Canvas layer;
and the first transparency configuration unit is configured to execute configuration of the transparency value of the Canvas layer and generate a semi-transparent layer.
In one embodiment, the semitransparent layer generating module includes:
the second picture drawing unit is configured to acquire a pre-configured background picture and watermark information and convert the background picture into a Canvas layer;
the watermark information superposition unit is configured to add watermark information in the Canvas layer;
and the second transparency configuration unit is configured to execute the configuration of the transparency value of the Canvas layer after the watermark information is added, and generate a semi-transparent layer.
In one embodiment, the watermark information includes a user identification.
In one embodiment, the obtaining module is further configured to perform obtaining size information of the page to be displayed;
the device further comprises a layer size configuration module which is configured to configure the size of the semi-transparent layer according to the size information of the page to be displayed.
In one embodiment, the size of the semi-transparent layer is larger than or equal to the size of the page to be displayed.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor; a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page processing method as described in any of the embodiments of the first aspect above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, wherein instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the page processing method as described in any one of the embodiments of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, the program product comprising a computer program, the computer program being stored in a readable storage medium, from which at least one processor of a device reads and executes the computer program, such that the device performs the page processing method described in any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
after a display request of a page to be displayed is obtained, a semi-transparent layer is created; and covering the semi-transparent layer on the page to be displayed to generate a display page. By covering the semi-transparent layer on the page to be displayed, the browser cannot identify the transparency attribute of the displayed page when exporting or printing the displayed page, so that the transparency attribute is invalid. The derived semi-transparent layer on the display page cannot be seen, namely can block or cover the content on the page, so that the content in the page can be protected and prevented from being leaked.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram of an application environment illustrating a method of page processing, according to an example embodiment.
FIG. 2 is a flow diagram illustrating a page processing method in accordance with an exemplary embodiment.
FIG. 3 is a flowchart illustrating a page export step in accordance with an exemplary embodiment.
Fig. 4 is a flowchart illustrating a step of configuring a watermark picture according to an exemplary embodiment.
FIG. 5 is a flowchart illustrating a page processing method according to an example embodiment.
Fig. 6 is a block diagram illustrating a page processing apparatus according to an example embodiment.
Fig. 7 is an internal block diagram of an electronic device shown in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The page processing method provided by the disclosure can be applied to the application environment shown in fig. 1. Wherein the terminal 110 interacts with the server 120 through the network. The executable file for configuring the semi-transparent layer may be configured in the terminal 110 in the form of a plug-in or the like, or may be provided in the server 120. After the terminal obtains the display request of the page to be displayed, the semi-transparent layer of the page to be displayed is configured by calling the executable file, the display page covered with the semi-transparent layer is generated, and the display page covered with the semi-transparent layer is displayed through the terminal 110. Specifically, the terminal 110 obtains a display request of a page to be displayed; creating a semi-transparent layer according to the display request; and covering the semi-transparent layer on the page to be displayed to generate a display page, wherein the semi-transparent layer is used for covering the display page in a completely opaque mode when the display page is exported, so that the content of the display page is invisible. The terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 120 may be implemented by an independent server or a server cluster formed by a plurality of servers.
Fig. 2 is a flowchart illustrating a page processing method according to an exemplary embodiment, where the page processing method is used in the terminal 110, as shown in fig. 2, and includes the following steps.
In step S210, a display request of a page to be displayed is acquired.
The page to be displayed refers to a page to be loaded and displayed on a terminal screen. The page to be displayed may be entered by a network address input by a user in a browser, or entered by triggering a link, which is not limited herein. Specifically, when a user triggers a display request of a page to be displayed through a terminal, a browser in the terminal acquires the display request.
In step S220, a semi-transparent layer is created according to the display request.
Specifically, after the display request is obtained, a preconfigured executable file may be called, an image layer is created according to the executable file, and a transparency attribute of the created image layer is configured, so that the image layer can present a semitransparent state. The transparency attribute of the layer may be pre-configured and stored by a user.
In step S230, a semi-transparent layer is covered on the page to be displayed to generate a display page, and the semi-transparent layer is used to cover the display page in a completely opaque manner when the display page is exported, so that the content of the display page is invisible.
The display page refers to a page which is finally presented through a terminal screen. Specifically, after a semi-transparent layer is generated, the semi-transparent layer is covered on the topmost layer of the page to be displayed, and a display page is generated. And displaying the display page covered with the semi-transparent layer through a terminal. The transparency attribute is invalid because the browser cannot identify the transparency attribute of the display page when exporting the display page. The derived semi-transparent layer on the display page cannot be seen, namely can block or cover the content on the display page, so that the content on the display page cannot be seen, and therefore the content in the display page can be protected and prevented from being leaked.
In an exemplary embodiment, as shown in fig. 3, after the display page is generated, the method further includes the following steps:
in step S310, a page export instruction is acquired.
In step S320, a display page is exported according to the page export instruction, and a semi-transparent layer covered on the display page is exported in a completely opaque manner and is covered on the display page.
The page export instruction is an instruction to output a display page in an electronic document, a paper document, or the like. Specifically, when the user needs to download or print the display page, the export operation of the display page may be triggered by the terminal. The terminal acquires a page export instruction by monitoring export operation of the display page. And after the terminal acquires the page export instruction, exporting the page according to the export instruction. Since browsers often cannot recognize the transparency attribute, the transparency attribute is not valid when exporting a page. The semi-transparent layer covered on the display page covers the display page in a completely opaque mode, so that the content in the display page is covered. In the present embodiment, the browser is not limited to any one of Chrome (a web browser), Safari (a browser in a MacOS operating system), and IE (internet explorer, a web browser).
In an exemplary embodiment, one implementation of creating a semi-transparent layer is described. In step S220, a semi-transparent layer is created, including: acquiring a pre-configured background picture, and converting the background picture into a Canvas layer; and configuring the transparency value of the Canvas layer to generate a semi-transparent layer.
In addition, in this embodiment, the semi-transparent layer can be generated by using the basic Canvas layer for graphics drawing, and the semi-transparent layer can be further generated by using SVG (scalable vector graphics), wherein SVG is a graphic format based on XM L extensible markup language for describing two-dimensional vector graphics, and compared with SVC, SVG has better compatibility, and JavaScript can be executed in a mode of running a non-semi-transparent layer.
In an exemplary embodiment, another implementation of creating a semi-transparent layer is described. As shown in fig. 4, in step S220, a semi-transparent layer is created, which includes:
in step S221, a pre-configured background picture and watermark information are obtained, and the background picture is converted into a Canvas layer.
In step S222, watermark information is added to the Canvas layer.
In step S223, the transparency value of the Canvas layer to which the watermark information is added is configured, and a semi-transparent layer is generated.
The watermark information refers to identification information embedded into a Canvas layer of a background picture. The watermark information is added without influencing the presentation effect of the Canvas layer on the page to be displayed, but the watermark information can be used for identifying and recognizing the producer, the consumer and the like of the page to be displayed. In this embodiment, the watermark information may be any content, such as text, pictures, etc., that is desired to be embedded in the Canvas layer, for example, a business name, a business trademark, a personalized picture, etc., which is not limited herein. The watermark information can be added to the Canvas layer of the background picture in a way of a bright watermark or a dark watermark. The clear watermark is that the direct watermark information is visible, and the clear watermark can be directly generated by superposition on the picture, so that the operation is simple, but the clear watermark is easy to remove; the dark watermark is a watermark which is obtained by hiding specific watermark information into picture content, does not influence the use of pictures and can be extracted and identified, and mainly comprises a spatial domain watermark and a transform domain watermark. Further, in order to improve the security of the watermark, the watermark information may be encrypted, for example, by encoding the watermark information using MD5(Message-digest algorithm) or RSA (asymmetric encryption algorithm). In this embodiment, by adding the watermark information to the Canvas layer corresponding to the background picture, the purposes of confirming the content creator, transmitting the confidential information, or judging whether the page is tampered or not can be achieved. Specifically, after acquiring a display request of a page to be displayed, the terminal acquires a background picture and watermark information. And the terminal converts the background picture into a Canvas layer and adds the watermark information to the Canvas layer corresponding to the background picture. Further, the terminal configures the transparency value of the Canvas layer added with the watermark information, so that the Canvas layer added with the watermark information can be presented in a semitransparent state. In the embodiment, by adding the watermark information in the image layer, the page content can be traced back to the related responsible party through the watermark information after being leaked, so that the safety of the page content is improved.
In an exemplary embodiment, the watermark information includes a user identification.
The user identification is used for uniquely distinguishing the user browsing the display page, and is not limited to the user name, the employee number, the mobile phone number and the like. For an intranet site, an employee usually needs to input login information, such as an account number and a corresponding password, to log in the intranet site to browse a web page. The terminal can obtain the corresponding user identifier according to the account, and add the user identifier to the Canvas layer corresponding to the background picture to generate the layer containing the user identifier. In the embodiment, the user identifier is added in the layer, so that when the page content is leaked in a screenshot mode and the like, the related responsible party who leaks the page content can be traced.
In an exemplary embodiment, before creating the semitransparent layer in step S220, the method further includes: acquiring size information of a page to be displayed; and configuring the size of the semitransparent layer according to the size information of the page to be displayed.
The size information of the page to be displayed is not limited to the size information of the terminal screen, and the size information is not limited to include the width and height. Specifically, in order to protect the page content as much as possible, the size of the semi-transparent layer may be configured according to the size of the page to be displayed, for example, the size of the semi-transparent layer is configured to be not smaller than the size of the page to be displayed, so that the semi-transparent layer can completely block the content in the page. Before the semi-transparent layer is created, the terminal can acquire the size information of the page to be displayed, and the size of the semi-transparent layer is set according to the size information. In this embodiment, the size of the semi-transparent layer is set according to the size information of the page to be displayed, so that the generated semi-transparent layer can completely cover the page to be displayed, the content in the page to be displayed can be protected as much as possible, and the content in the page is prevented from being leaked.
Fig. 5 is a flowchart illustrating a page processing method according to an exemplary embodiment, as shown in fig. 5, including the following steps.
In step S501, a display request of a page to be displayed is acquired. The page to be displayed may refer to a page of an internal website of the enterprise. The enterprise staff triggers the display request of the page to be displayed by inputting or clicking the website address. The terminal obtains the display request.
In step S502, size information of a page to be displayed is acquired.
In step S503, the size of the Canvas layer is configured according to the size information of the page to be displayed. Specifically, the size of the semi-transparent layer may be configured to be greater than or equal to the size of the page to be displayed.
In step S504, a pre-configured background picture and watermark information are acquired. The background picture may be any picture configured in advance. The watermark information can be user identification, enterprise name, enterprise trademark, personalized picture, etc.
In step S505, the background picture is converted into a Canvas layer.
In step S506, watermark information is added to the Canvas layer.
In step S507, the transparency value of the Canvas layer to which the watermark information is added is configured, and a semi-transparent layer is generated.
In step S508, the semi-transparent layer is covered on the page to be displayed, and a display page is generated. The semi-transparent layer is used for covering the display page in a completely opaque mode when the display page is exported, so that the content of the display page cannot be seen.
In the CSS, not only can the webpage be statically decorated, but also elements of the webpage can be dynamically formatted in accordance with various scripting languages, in the CSS, the value of the transparency attribute is from 0.0 to 1.0, the smaller the value is, the elements are more transparent, that is, if the transparency value is 0.0, the transparency value is fully transparent, and if the transparency value is 1.0, the transparency is completely invisible.
In step 509, a page export instruction is obtained.
In step 510, a display page is exported according to the page export instruction, wherein the exported display page is covered with a semi-transparent layer and the semi-transparent layer is completely opaque, so that the content in the page can be shielded, and the page content is prevented from being leaked.
It should be understood that although the various steps in the flow charts of fig. 1-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
Fig. 6 is a block diagram illustrating a page processing apparatus 600 according to an example embodiment. Referring to fig. 6, the apparatus includes an obtaining module 601, a semi-transparent layer generating module 602, and a page configuring module 603.
An obtaining module 601 configured to execute a display request for obtaining a page to be displayed;
a semi-transparent layer generation module 602 configured to perform creating a semi-transparent layer according to the display request;
the page configuration module 603 is configured to perform overlaying of the semi-transparent layer on the page to be displayed, and generate the display page, where the semi-transparent layer is used for overlaying on the display page in a completely opaque manner when the display page is exported, so that the content of the display page is not visible.
In one embodiment, the obtaining module 601 is further configured to execute a obtain page export instruction;
the device further comprises: and the page export module is configured to export the display page according to the page export instruction, and the semitransparent layer covered on the display page is exported in a completely opaque mode and is covered on the display page.
In one embodiment, the semitransparent layer generating module 602 includes:
the first picture drawing unit is configured to acquire a pre-configured background picture and convert the background picture into a Canvas layer;
and the first transparency configuration unit is configured to execute configuration of the transparency value of the Canvas layer and generate a semi-transparent layer.
In one embodiment, the semitransparent layer generating module 602 includes:
the second picture drawing unit is configured to acquire a pre-configured background picture and watermark information and convert the background picture into a Canvas layer;
the watermark information superposition unit is configured to add watermark information in the Canvas layer;
and the second transparency configuration unit is configured to execute the configuration of the transparency value of the Canvas layer after the watermark information is added, and generate a semi-transparent layer.
In one embodiment, the watermark information includes a user identification.
In one embodiment, the obtaining module 601 is further configured to perform obtaining size information of a page to be displayed;
the device further comprises a layer size configuration module which is configured to configure the size of the semi-transparent layer according to the size information of the page to be displayed.
In one embodiment, the size of the semi-transparent layer is larger than or equal to the size of the page to be displayed.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an apparatus 700 for page processing according to an example embodiment. For example, the device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 7, device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile storage devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user, in some embodiments, the screen may include a liquid crystal display (L CD) and a Touch Panel (TP). if the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the device 700. For example, the sensor assembly 714 may detect an open/closed state of the device 700, the relative positioning of components, such as a display and keypad of the device 700, the sensor assembly 714 may also detect a change in the position of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, orientation or acceleration/deceleration of the device 700, and a change in the temperature of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A page processing method is characterized by comprising the following steps:
acquiring a display request of a page to be displayed;
creating a semi-transparent layer according to the display request;
and covering the semi-transparent layer on the page to be displayed to generate a display page, wherein the semi-transparent layer is used for covering the display page in a completely opaque mode when the display page is exported, so that the content of the display page is invisible.
2. The page processing method according to claim 1, wherein after the generating of the display page, the method further comprises:
acquiring a page export instruction;
and exporting the display page according to the page export instruction, wherein the semitransparent layer covered on the display page is exported in a completely opaque mode and is covered on the display page.
3. The page processing method according to claim 1 or 2, wherein the creating of the semi-transparent layer comprises:
acquiring a pre-configured background picture, and converting the background picture into a Canvas layer;
and configuring the transparency value of the Canvas layer to generate the semi-transparent layer.
4. The page processing method according to claim 1 or 2, wherein the creating of the semi-transparent layer comprises:
acquiring a pre-configured background picture and watermark information, and converting the background picture into a Canvas layer;
adding the watermark information in the Canvas layer;
and configuring the transparency value of the Canvas layer added with the watermark information to generate the semitransparent layer.
5. The page processing method of claim 4, wherein the watermark information comprises a user identification.
6. The page processing method according to claim 1, wherein before creating the semi-transparent layer, the method further comprises:
acquiring size information of the page to be displayed;
and configuring the size of the semi-transparent layer according to the size information of the page to be displayed.
7. The method according to claim 6, wherein the size of the semi-transparent layer is greater than or equal to the size of the page to be displayed.
8. A page processing apparatus, comprising:
the acquisition module is configured to execute a display request for acquiring a page to be displayed;
a semi-transparent layer generation module configured to execute creating a semi-transparent layer according to the display request;
and the page configuration module is configured to perform covering of the semi-transparent layer on the page to be displayed, so as to generate a display page, wherein the semi-transparent layer is used for covering the display page in a completely opaque manner when the display page is exported, so that the content of the display page is invisible.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page processing method of any of claims 1 to 7.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the page processing method of any one of claims 1 to 7.
CN202010291004.5A 2020-04-14 2020-04-14 Page processing method and device, electronic equipment and storage medium Pending CN111428282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010291004.5A CN111428282A (en) 2020-04-14 2020-04-14 Page processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010291004.5A CN111428282A (en) 2020-04-14 2020-04-14 Page processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111428282A true CN111428282A (en) 2020-07-17

Family

ID=71556333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010291004.5A Pending CN111428282A (en) 2020-04-14 2020-04-14 Page processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111428282A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112784196A (en) * 2020-12-29 2021-05-11 金蝶软件(中国)有限公司 Feedback information processing method, device, equipment and storage medium of network courseware

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127810A (en) * 2006-08-14 2008-02-20 柯尼卡美能达商用科技株式会社 Image display apparatus capable of displaying image while retaining confidentiality
US20110289427A1 (en) * 2010-05-21 2011-11-24 Apple Inc. Method and apparatus for managing visual information
CN104679387A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Privacy information protection method and terminal
CN106227419A (en) * 2016-07-11 2016-12-14 北京小米移动软件有限公司 Screenshotss method and device
CN108959509A (en) * 2018-06-27 2018-12-07 中国建设银行股份有限公司 Webpage watermark processing method, device and electronic equipment
CN109345439A (en) * 2018-09-11 2019-02-15 北京京东尚科信息技术有限公司 Picture guard method, device, medium and electronic equipment
CN109635223A (en) * 2018-12-10 2019-04-16 北京字节跳动网络技术有限公司 Page display method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127810A (en) * 2006-08-14 2008-02-20 柯尼卡美能达商用科技株式会社 Image display apparatus capable of displaying image while retaining confidentiality
US20110289427A1 (en) * 2010-05-21 2011-11-24 Apple Inc. Method and apparatus for managing visual information
CN104679387A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Privacy information protection method and terminal
CN106227419A (en) * 2016-07-11 2016-12-14 北京小米移动软件有限公司 Screenshotss method and device
CN108959509A (en) * 2018-06-27 2018-12-07 中国建设银行股份有限公司 Webpage watermark processing method, device and electronic equipment
CN109345439A (en) * 2018-09-11 2019-02-15 北京京东尚科信息技术有限公司 Picture guard method, device, medium and electronic equipment
CN109635223A (en) * 2018-12-10 2019-04-16 北京字节跳动网络技术有限公司 Page display method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112784196A (en) * 2020-12-29 2021-05-11 金蝶软件(中国)有限公司 Feedback information processing method, device, equipment and storage medium of network courseware

Similar Documents

Publication Publication Date Title
EP3416045A1 (en) Method for controlling a display, device, and storage medium
US10909203B2 (en) Method and device for improving page display effect via execution, conversion and native layers
CN112136099B (en) Direct input from a remote device
US8996633B2 (en) Systems for providing emotional tone-based notifications for communications and related methods
CN104536935B (en) Calculate display methods, calculate edit methods and device
KR20100078139A (en) Method and apparatus for producing widget in portable terminal
CN105956026A (en) Webpage rendering method and apparatus
CN112215924A (en) Picture comment processing method and device, electronic equipment and storage medium
US20220417343A1 (en) Image processing method, apparatus, device, and computer-readable storage medium
CN107360322B (en) Information prompting method and device
US10652388B2 (en) Communication systems and methods for causing display of visual content on a screen associated with a calling device
CN107402756B (en) Method, device and terminal for drawing page
CN111158547B (en) Information processing method and related equipment
CN107220371B (en) Page display method and device and storage medium
CN113552989A (en) Screen recording method and device and electronic equipment
CN111428282A (en) Page processing method and device, electronic equipment and storage medium
CN111368329B (en) Message display method and device, electronic equipment and storage medium
CN106708958B (en) Method and device for displaying typesetting structure of browser kernel
CN113282364A (en) Display method, display device and electronic equipment
CN115373763B (en) Plug-in loading method and device, electronic equipment and storage medium
CN110543265A (en) Page title bar generation method and device, electronic equipment and storage medium
WO2022253132A1 (en) Information display method and apparatus, and electronic device
CN114594894B (en) Marking method of interface element, terminal equipment and storage medium
CN114138413A (en) Icon display method and device, electronic equipment and storage medium
CN111131000B (en) Information transmission method, device, server and terminal

Legal Events

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

Application publication date: 20200717

RJ01 Rejection of invention patent application after publication