Page data protection method, device, equipment and medium
By generating and superimposing user-specific handwriting watermarks into page data, the problem that the existing technology cannot effectively protect confidential information and copyright is solved, and the distinction between downloading users' identities and company rights protection is achieved, and information leakage and imitation is prevented.
Patent Information
- Application Number
- CN201910948685.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-30
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2039-09-30
AI Technical Summary
The existing watermarking technology cannot meet the needs of confidential information and copyright protection in front-end development systems, especially in the download operation of page data, it is difficult to effectively prevent information leakage and imitation.
By generating a user-specific handwriting watermark and overlaying it into the page data, the page data is allowed to be saved only if the user's handwriting watermark is successfully obtained, preventing unauthorized data downloads.
It realizes the distinction between the identity and rights protection of the downloader's identity, while protecting the company's copyright and preventing information leakage and imitation.
Smart Images

Figure CN112579991B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of data preservation, and more specifically, to a page data protection method, device, equipment and medium. Background Art
[0002] Watermarks are everywhere in life. They are often found in photos, books, audio and video. The existence of watermarks can not only promote oneself, but also protect one's copyright from infringement. With the development of Internet technology, watermarks have gradually appeared on web pages and backend system pages, and the requirements for watermarks are getting higher and higher.
[0003] At present, front-end system pages often use operations such as downloading relevant information of a page. The downloaded page content often involves company confidential information. In order to protect confidential information and copyright, watermark information needs to be added. However, the inventors found that the existing watermark technology cannot meet the confidentiality requirements. Summary of the invention
[0004] In view of this, the present disclosure provides a page data protection method, apparatus, device and medium.
[0005] One aspect of the present disclosure provides a page data protection method, comprising: in response to obtaining a request for saving page data, obtaining a user-specific watermark including handwriting; processing the page data based on the user-specific watermark to save the page data including the user-specific watermark, wherein if the user-specific watermark including the handwriting is not successfully obtained, the user is prohibited from saving the page data.
[0006] According to an embodiment of the present disclosure, obtaining a user-specific watermark including handwriting includes: displaying a canvas to receive handwriting written by a user online; and generating a user-specific watermark based on the handwriting.
[0007] According to an embodiment of the present disclosure, the display canvas for receiving handwriting of a user online includes: generating a canvas, the canvas supporting a straight line drawing method from a starting point to an end point; in response to movement of a cursor on the canvas, determining a plurality of points from a movement trajectory; and connecting the plurality of points in sequence based on the straight line drawing method to form the user's handwriting.
[0008] According to an embodiment of the present disclosure, processing the page data based on the user-exclusive watermark to save the page data containing the user-exclusive watermark includes: taking the original page data as the first layer, taking the user-exclusive watermark as the second layer, superimposing the first layer and the second layer to obtain the page data containing the user-exclusive watermark; and saving the page data containing the user-exclusive watermark.
[0009] Another aspect of the present disclosure provides a page data protection device, including: a watermark acquisition module, used to obtain a user-specific watermark including handwriting in response to a request for saving page data; a page data saving module, used to process the page data based on the user-specific watermark, and save the page data including the user-specific watermark, wherein if the user-specific watermark including the handwriting is not successfully obtained, the user is prohibited from saving the page data.
[0010] According to an embodiment of the present disclosure, the watermark acquisition module includes: a handwriting receiving submodule for displaying a canvas to receive handwriting written by a user online; and a watermark generating submodule for generating a user-specific watermark based on the handwriting.
[0011] According to an embodiment of the present disclosure, the handwriting receiving submodule includes: a canvas generation unit, used to generate a canvas, the canvas supports a straight line drawing method from a starting point to an end point; a trajectory point determination unit, used to determine a plurality of points from a movement trajectory in response to movement of a cursor on the canvas; and a handwriting generation unit, used to connect the plurality of points in sequence based on the straight line drawing method to form the user's handwriting.
[0012] According to an embodiment of the present disclosure, the page data saving module includes: a page generation submodule, which is used to take the original page data as the first layer and the user-specific watermark as the second layer, and superimpose the first layer and the second layer to obtain page data containing the user-specific watermark; a page saving submodule, which is used to save the page data containing the user-specific watermark.
[0013] Another aspect of the present disclosure provides an electronic device, including: one or more processors;
[0014] The memory is used to store one or more computer programs, wherein when the one or more computer programs are executed by one or more processors, the one or more processors implement the above method.
[0015] Another aspect of the present disclosure provides a computer-readable medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the above method.
[0016] This method sets a user-specific watermark for the downloading user to prevent other users from imitating and distinguish the identity of the downloading user. The user-specific watermark is set on the page data that the user wants to download, which can protect the rights and interests of the downloading user himself and the rights and interests of the company. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram schematically shows an application scenario of the page data protection method according to an embodiment of the present disclosure;
[0018] Figure 2 A flowchart of a page data protection method according to an embodiment of the present disclosure is schematically shown;
[0019] Figure 3 A flowchart of a page data protection method according to another embodiment of the present disclosure is schematically shown;
[0020] Figure 4 A schematic diagram of handwriting with two points according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 5 A schematic diagram of handwriting with multiple points according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 6 Schematically showing a schematic diagram of page data of a watermark printed by conventional direct printing and a user-specific watermark printed by the method of the present disclosure according to an embodiment of the present disclosure;
[0023] Figure 7 A block diagram of a page data protection device according to an embodiment of the present disclosure is schematically shown;
[0024] Figure 8 The block diagram of the watermark obtaining module according to the embodiment of the present disclosure is schematically shown;
[0025] Fig. 9 The block diagram of the handwriting receiving submodule according to the embodiment of the present disclosure is schematically shown;
[0026] Fig.10 A block diagram schematically shows a page data storage module according to an embodiment of the present disclosure; and
[0027] Fig.11 A block diagram of a computer system suitable for implementing a page data protection method and apparatus according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0028] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0029] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0030] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0031] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but not be limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but not be limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). Those skilled in the art should also understand that any transitional conjunctions and / or phrases that substantially indicate two or more optional items, whether in the specification, claims, or drawings, should be understood to give the possibility of including one of these items, either of these items, or both of these items. For example, the phrase "A or B" should be understood to include the possibilities of "A" or "B", or "A and B".
[0032] An embodiment of the present disclosure provides a page data protection method, comprising: obtaining a user-specific watermark including handwriting in response to a request for saving page data; processing the page data based on the above-mentioned user-specific watermark to save the page data including the user-specific watermark, wherein if the user-specific watermark including the handwriting is not successfully obtained, the user is prohibited from saving the above-mentioned page data.
[0033] Figure 1 The following is a schematic diagram showing an application scenario of the page data protection method according to an embodiment of the present disclosure. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0034] like Figure 1 As shown, the system architecture 100 according to this embodiment may include a terminal device 110 and a server 120. The server 120 is preset with various data resources that can be viewed, downloaded, and operated by users. The user can view, download, and save certain data resources in the server 120 through the terminal device 110, and the user can input his own handwriting through the terminal device 110. The terminal device 110 generates a user-specific watermark that is exclusive to the user based on the user's handwriting. When the user requests to save certain page data, the terminal device 110 synthesizes the above-mentioned user-specific watermark with the page data to generate page data containing the user-specific watermark. If the user does not upload a handwritten note or the user-specific watermark fails to be synthesized with the page data, the user can browse the page data but cannot save it locally. It should be noted that in the above scheme, the user can also upload his own handwriting to the server 120, and the server 120 implements the generation of the above-mentioned user-specific watermark, as well as the synthesis of the user-specific watermark with the page data and other operations. When the method is executed by the server, the server 120 may allow the user to download the protected page data only when the user uploads a watermark containing handwriting. If the user does not upload a watermark containing handwriting, the page data cannot be viewed.
[0035] The terminal device 110 can be any electronic device having a display screen and realizing human-computer interaction, supporting users to upload data, and supporting users to browse, download and save website data, including but not limited to smart phones, tablet computers, laptops, desktop computers, etc.
[0036] The server 120 is preset with various data resources that can be viewed, downloaded, saved, etc. by the user. At the same time, the server 120 can also receive data uploaded by the user, such as the user's handwriting, and process the data, such as generating a user-specific watermark based on the handwriting. The server 120 can also synthesize the page data that the user needs to download with the user-specific watermark, generate page data containing the user-specific watermark and return it to the user for the user to save.
[0037] It should be noted that the page data protection method provided in the embodiment of the present disclosure can generally be executed by the terminal device 110 or the server 120. Accordingly, the page data protection system provided in the embodiment of the present disclosure can be set in the terminal device 110 or the server 120.
[0038] It should be understood that Figure 1 The number of terminal devices and servers in the embodiment is only for illustration. Any number of terminal devices and servers may be provided according to implementation requirements.
[0039] Figure 2 The flowchart of the page data protection method according to the embodiment of the present disclosure is schematically shown.
[0040] like Figure 2 As shown, the method includes operations S210 to S220.
[0041] In operation S210, in response to obtaining a request for saving page data, a user-specific watermark including handwriting is obtained. In the disclosed embodiment, the handwriting comes from the user, and the user can digitize his handwriting through a device such as a display canvas to facilitate uploading to the network. Then, a user-specific watermark is generated based on the handwriting. For example, the user's handwriting can be generated by generating a canvas.
[0042] The generated canvas can be a client, applet, etc. loaded on the user terminal device, and its generated file is readable by the terminal device or server executing the page data protection method. The generated canvas can support the straight line drawing method from the starting point to the end point. The cursor moves on the canvas, and multiple points are determined from the movement trajectory. The multiple points are connected in sequence to form the user's handwriting. The generated canvas can also be set as an electronic device with a screen. The user can use an electronic pen to move on the screen, determine multiple points from the movement trajectory, and connect the multiple points in sequence to form the user's handwriting.
[0043] In operation S220, the page data is processed based on the user-specific watermark to save the page data containing the user-specific watermark, wherein if the user-specific watermark including the handwritten trace is not successfully obtained, the user is prohibited from saving the page data. In the embodiment of the present disclosure, the page data is processed based on the user-specific watermark by taking the page data as the first layer and the user-specific watermark as the second layer, superimposing the first layer and the second layer, and then obtaining the page data containing the user-specific watermark, and the user can download the page data containing the user-specific watermark. If the acquisition of the user-specific watermark fails and the page data containing the user-specific watermark cannot be obtained, the user is prohibited from downloading or saving the page data.
[0044] This method sets a user-specific watermark for the downloading user to prevent other users from imitating and distinguish the identity of the downloading user. The user-specific watermark is set on the page data that the user wants to save, which can protect the rights and interests of the downloading user himself and the rights and interests of the company.
[0045] Figure 3 A flow chart of a page protection method according to another embodiment of the present disclosure is schematically shown.
[0046] like Figure 3 As shown, the method includes operations S310 to S340.
[0047] In operation S310, a request for saving page data is obtained. For example, a user downloads data resources in a company database through a terminal device, and after clicking a Save, Download, or Save As button, the request for saving page data is obtained.
[0048] In operation S320, a user-specific watermark is generated. The user-specific watermark may be a user's signature, work number, or a user-defined symbol. The user-specific watermark may be a user-specific watermark that is uniformly collected by the company and preset in the system. In this case, the pre-stored user-specific watermark is called after receiving the user's request to save the page data. The user-specific watermark may also be generated in real time based on the user's signature, work number, or user-defined symbol, etc., which is added by the user in real time after the user submits and clicks the Save, Download, or Save As button.
[0049] The creation of user-exclusive watermarks can be achieved through computer plug-ins, clients or applets, etc. For example, it can be achieved with the help of Canvas, which is a new element in HTML5 and is used to draw graphics on web pages. It is like a canvas. With the help of JavaScript, you can play with it to achieve the desired effect.
[0050] <canvas id="mycanvas″height="500px″width="500px″>< / canvas>
[0051] As shown above, you can define a Canvas tag in the page to obtain the Canvas canvas const ctx = document.getElementById("myCanvas").getContext("2d"). Among them, ctx is the obtained canvas. Canvas provides a method for drawing a straight line. For example, define two points, one is the starting point and the other is the end point. The starting point coordinates are (0, 0) and the end point coordinates are (150, 0). Then execute the cxt.stroke() command to connect the starting point and the end point into a straight line. Based on this principle, the user can use the mouse to click on the points on the screen in a certain order. There will be countless points on the screen. The code layer detects the click, drag and lift positions of the mouse in real time, and then connects the countless points in sequence. As follows Figure 4 and Figure 5 As shown, Figure 4 A schematic diagram of handwriting with two points according to an embodiment of the present disclosure is schematically shown. Figure 5 Schematically shows a schematic diagram of handwriting with multiple points according to an embodiment of the present disclosure. Figure 4 As shown in the figure, define a starting point (x, y) and an end point (m, n) to connect the two points into a straight line. When multiple points are added between the two points and connected in sequence, the following is generated Figure 5The handwriting shown. Although there is still a straight line between every two points, it is a curve as a whole. When n points are added between two points and then linked in sequence, the effect is a curved curve. In this way, the mouse is like a pen and can be used to draw at will. We all know that the traditional signature with a pen is unique. Whether it is signing an invoice, using a credit card, or signing a contract, this cannot be replaced by anyone else because everyone's handwriting is unique. The mouse can replace the pen to achieve various writing and drawing, and it can also achieve the purpose of uniqueness. You can also adjust the thickness of the stroke through the lineWidth attribute, and adjust the color of the brush through the strokeStyle.
[0052] In operation S330, the user-specific watermark is arranged on the above-mentioned page data. In the embodiment of the present invention, the page data can be understood as a layer, which is defined as the first layer here. The user-specific watermark is understood as another layer, which is positioned as the second layer here. The second layer is arranged on the first layer. For example, CSS positioning can be used to position the user-specific watermark to a suitable position of the page data.
[0053] In operation S340, it is determined whether the user-specific watermark is successfully deployed. If the deployment is successful, the user is allowed to download the corresponding page data. For example, the page data carrying the user-specific watermark to be downloaded is obtained, and then the html2canvas library is used to convert the entire page data into a Canvas object, and the Canvas.toDataURL("image / png") command is used to convert the web page into a picture or a pdf format document. If the deployment is unsuccessful, the user is not allowed to download or a download failure command is issued.
[0054] After executing the above steps S310 to S340, the user can obtain the page data containing the user-specific watermark. Figure 6 As shown, Figure 6 The schematic diagram of the page data of the watermark printed by the traditional direct printing and the user-specific watermark printed by the method of the present disclosure is shown schematically according to the embodiment of the present disclosure. Figure 6 The watermark in the upper middle is the one printed directly. Figure 6 The watermark in the middle and lower part is a user-specific watermark generated by the user's handwritten signature. The method disclosed in the present invention can be used to obtain page data with a user-specific watermark.
[0055] Figure 7 A block diagram of a page data protection device 700 according to an embodiment of the present disclosure is schematically shown.
[0056] like Figure 7 As shown, the device 700 includes a watermark obtaining module 710 and a page data saving module 720. The device 700 can be used to implement Figure 2-3 The method in .
[0057] The watermark obtaining module 710, for example, executes the above reference Figure 2 The described operation S210 is for obtaining a user-specific watermark including handwriting in response to a request for obtaining the page data to be saved.
[0058] The page data storage module 720, for example, executes the above reference Figure 2 The described operation S220 is used to process the page data based on the user-specific watermark, and save the page data including the user-specific watermark, wherein if the user-specific watermark including the handwriting is not successfully obtained, the user is prohibited from saving the page data.
[0059] Figure 8 The block diagram of the watermark obtaining module 800 according to the embodiment of the present disclosure is schematically shown.
[0060] like Figure 8 As shown, the watermark acquisition module 800 includes a handwriting receiving submodule 810 and a watermark generating submodule 820. The watermark acquisition module 800 is used to perform the above reference Figure 2 Operation S210 is described.
[0061] The handwriting receiving submodule 810 is used to display the canvas and receive the handwriting of the user online.
[0062] The watermark generation submodule 820 is used to generate a user-specific watermark based on the handwriting.
[0063] Fig. 9 The block diagram of the handwriting receiving submodule 900 according to the embodiment of the present disclosure is schematically shown.
[0064] like Fig. 9 As shown, the handwriting receiving submodule 900 includes a canvas generating unit 910 , a trajectory point determining unit 920 and a handwriting generating unit 930 .
[0065] The canvas generating unit 910 is used to generate a canvas, and the canvas supports a straight line drawing method from a starting point to an end point.
[0066] The trajectory point determination unit 920 is used to determine a plurality of points from the movement trajectory in response to the cursor moving on the canvas.
[0067] The handwriting generation unit 930 is used to connect the above-mentioned multiple points in sequence based on the straight line drawing method to form the user's handwriting.
[0068] Fig.10 The block diagram of the page data storage module 1000 according to the embodiment of the present disclosure is schematically shown. The page data storage module 1000 is used to execute the above reference Figure 2 Operation S220 is described.
[0069] like Fig.10 As shown, the page data storage module 1000 includes a page generation submodule 1010 and a page storage submodule 1020 .
[0070] The page generation submodule 1010 is used to use the original page data as the first layer and the user-specific watermark as the second layer, and to superimpose the first layer and the second layer to obtain page data containing the user-specific watermark.
[0071] The page saving submodule 1020 is used to save the page data including the user-specific watermark.
[0072] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.
[0073] For example, any multiple of the watermark acquisition module 710, the page data storage module 720, the handwriting receiving submodule 810, the watermark generating submodule 820, the canvas generating unit 910, the track point determining unit 920, the handwriting generating unit 930, the page generating submodule 1010, and the page storing submodule 1020 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the watermark acquisition module 710, the page data storage module 720, the handwriting receiving sub-module 810, the watermark generation sub-module 820, the canvas generation unit 910, the trajectory point determination unit 920, the handwriting generation unit 930, the page generation sub-module 1010 and the page storage sub-module 1020 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or can be implemented in any one of the three implementation methods of software, hardware and firmware or in an appropriate combination of any of them. Alternatively, at least one of the watermark acquisition module 710, the page data saving module 720, the handwriting receiving sub-module 810, the watermark generation sub-module 820, the canvas generation unit 910, the trajectory point determination unit 920, the handwriting generation unit 930, the page generation sub-module 1010 and the page saving sub-module 1020 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is executed.
[0074] Fig.11 A block diagram of a computer system suitable for implementing a page data protection method and apparatus according to an embodiment of the present disclosure is schematically shown. Fig.11 The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure. Fig.11 The computer system shown may be implemented as a server cluster, including at least one processor (eg, processor 1101 ) and at least one memory (eg, storage portion 1108 ).
[0075] like Fig.11As shown, the computer system 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage part 1108 to a random access memory (RAM) 1103. The processor 1101 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1101 may also include an onboard memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0076] In RAM 1103, various programs and data required for the operation of system 1100 are stored. Processor 1101, ROM 1102 and RAM 1103 are connected to each other through bus 1104. Processor 1101 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1102 and / or RAM 1103. It should be noted that the program can also be stored in one or more memories other than ROM 1102 and RAM 1103. Processor 1101 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0077] According to an embodiment of the present disclosure, the system 1100 may further include an input / output (I / O) interface 1105, which is also connected to the bus 1104. The system 1100 may further include one or more of the following components connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed, so that a computer program read therefrom is installed into the storage section 1108 as needed.
[0078] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the processor 1101, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0079] The present disclosure also provides a computer-readable medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0080] According to an embodiment of the present disclosure, a computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, optical cable, radio frequency signal, etc., or any suitable combination of the above.
[0081] For example, according to an embodiment of the present disclosure, the computer-readable medium may include the ROM 1102 and / or the RAM 1103 described above and / or one or more memories other than the ROM 1102 and the RAM 1103 .
[0082] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0083] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0084] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A page data protection method, comprising: In response to a user's request for saving page data, obtaining a user-specific watermark including handwriting of the user; Processing the page data based on the user-specific watermark to save the page data including the user-specific watermark, wherein if the user-specific watermark including the handwriting is not successfully obtained, the user is prohibited from saving the page data; The processing of the page data based on the user-specific watermark to save the page data containing the user-specific watermark includes: Using the original page data as a first layer and the user-specific watermark as a second layer, and superimposing the first layer and the second layer to obtain page data containing the user-specific watermark; The page data including the user-specific watermark is saved.
2. The method according to claim 1, wherein: The obtaining of a user-specific watermark including the user's handwriting comprises: Displaying a canvas to receive handwriting written by a user online; Based on the handwriting, a user-specific watermark is generated.
3. The method according to claim 2, wherein: The display canvas for receiving the handwriting of the user online comprises: Generate a canvas, wherein the canvas supports drawing a straight line from a starting point to an end point; In response to a cursor moving on the canvas, determining a plurality of points from a movement trajectory; The plurality of points are connected in sequence based on the straight line drawing method to form the user's handwriting.
4. A page data protection device, comprising: A watermark obtaining module, for obtaining a user-specific watermark including handwriting of the user in response to a user's request for obtaining page data for preservation; a page data saving module, used to process the page data based on the user-specific watermark, and save the page data including the user-specific watermark, wherein if the user-specific watermark including the handwriting is not successfully obtained, the user is prohibited from saving the page data; Wherein, the page data storage module includes: A page generation submodule, used to use the original page data as a first layer, use the user-specific watermark as a second layer, and superimpose the first layer and the second layer to obtain page data containing the user-specific watermark; The page saving submodule is used to save the page data containing the user-specific watermark.
5. The device according to claim 4, wherein: The watermark acquisition module comprises: A handwriting receiving submodule is used to display the canvas to receive the handwriting of the user online; The watermark generation submodule is used to generate a user-specific watermark based on the handwriting.
6. The device according to claim 5, wherein: The handwriting receiving submodule comprises: A canvas generating unit, used to generate a canvas, wherein the canvas supports a straight line drawing method from a starting point to an end point; a trajectory point determination unit, for determining a plurality of points from a movement trajectory in response to movement of a cursor on the canvas; The handwriting generating unit is used to connect the plurality of points in sequence based on the straight line drawing method to form the handwriting of the user.
7. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, When one or more computer programs are executed by one or more processors, the one or more processors are caused to implement the method of any one of claims 1 to 3.
8. A computer-readable medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to implement the method of any one of claims 1 to 3.
Citation Information
Patent Citations
Method for quickly making dynamic electronic seal based on mobile terminal
CN105760740A
Biological electronic watermark embedding device, biological electronic watermark authentication device, authentication system, biological electronic watermark embedding method, biological electronic watermark authentication method, biological electronic watermark embedding application program, and biological electronic watermark authentication application program
JP2014219903A
