A page display processing method and device

CN116954464BActive Publication Date: 2026-09-15BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210394189.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-15
Publication Date
2026-09-15
Estimated Expiration
2042-04-15

AI Technical Summary

Technical Problem

[0005]有鉴于此,本发明实施例提供一种页面显示处理方法和装置,能够解决现有无法针对即时通讯消息进行泄露、错发预防的技术问题

Benefits of technology

[0018] One embodiment of the above invention has the following advantages or beneficial effects: The present invention, in response to a target page opening command, obtains the target object on the current page and then loads the preset watermark display content into the area where the target object is located, realizing a dynamic adjustment of the watermark loading process for different objects, improving the reminder effect of the target object before message sending; furthermore, by listening to keyboard responses, it obtains a system keyboard display view that is not exposed to the outside world, achieving the effect of displaying the watermark on the system keyboard, improving the reminder effect of keyboard input content before message sending; simultaneously, by analyzing the user's eye focus area when inputting messages through the user's input speed, it dynamically adjusts the display clarity of the watermark in different areas without affecting user use, improving the prompt effect for users during instant messaging, reducing the probability of users sending messages by mistake, and ensuring the user experience; in addition, the present invention intercepts message sending commands and generates reminder information through the message recipient information, thereby improving the reminder effect for the recipient before message sending.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116954464B_ABST
    Figure CN116954464B_ABST
Patent Text Reader

Abstract

The application discloses a page display processing method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: in response to a target page opening instruction, a target object in a current page is acquired, and then preset watermark display content is loaded to a region where the target object is located; a keyboard pop-up event of the current page is listened to, and a newly-added view in a current view list is found based on a root view, so that the preset watermark display content is loaded to a corresponding region of the newly-added view; a keyboard folding event of the current page is listened to, and the watermark display content on the corresponding region of the newly-added view is unregistered. Therefore, the embodiment of the application can solve the technical problem that the existing technology cannot prevent instant messaging messages from being leaked and wrongly sent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a page display processing method and apparatus. Background Technology

[0002] Instant messaging software is now widely used, providing users with convenient and fast communication services and greatly reducing communication costs among users.

[0003] In the process of realizing this invention, the inventors discovered at least the following problems in the prior art:

[0004] While users enjoy the convenience and efficiency of instant messaging, message leaks and missentment are common, especially when users are chatting with different people at the same time, which is exacerbated by a lack of focus. Furthermore, although instant messaging software now offers message recall functions within a specified time frame, users may not immediately realize they've sent a wrong message. By the time they do, the time limit may have expired, making recall impossible. Even if a message is recalled within the specified time frame, there's no guarantee that the mistakenly sent message won't be seen. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide a page display processing method and apparatus that can solve the existing technical problems of being unable to prevent leakage and missending of instant messaging messages.

[0006] To achieve the above objectives, according to one aspect of the present invention, a page display processing method is provided, comprising: responding to a target page opening instruction, obtaining a target object in the current page, and then loading preset watermark display content into the area where the target object is located; listening to a keyboard pop-up event on the current page, searching for a new view in the current view list based on the root view, and loading the preset watermark display content into the corresponding area of ​​the new view; listening to a keyboard collapse event on the current page, and unchecking the watermark display content on the corresponding area of ​​the new view.

[0007] Optionally, in response to the instruction to open the target page, the following are included:

[0008] Get the target object on the current page, refresh the watermark display content, and load the refreshed watermark display content into the area where the target object is located.

[0009] Optionally, after loading the preset watermark display content into the area where the target object is located, the method includes: adjusting the watermark position information in response to changes in the target object's position information so that the watermark display content is loaded into the area where the target object is currently located.

[0010] Optionally, after loading the preset watermark display content into the corresponding area of ​​the newly added view, the method includes: adjusting the watermark position information in response to changes in keyboard height information so that the watermark display content is loaded into the corresponding area of ​​the newly added view.

[0011] Optionally, after loading the preset watermark display content into the corresponding area of ​​the newly added view, the process includes: listening to the keyboard tap area, obtaining the input speed, determining the current gaze focus range, and then enhancing the watermark display content corresponding to the current gaze focus range.

[0012] Optionally, the input speed is acquired, the current gaze focus range is determined, and then the watermark display content corresponding to the current gaze focus range is enhanced, including:

[0013] The system obtains the click frequency and the increase in the length of the input box content, and calculates the average click frequency and the average increase in the length of the content within a preset input time period. It then determines whether the average click frequency and the average increase in the length of the content are greater than a preset first threshold and a preset second threshold, respectively. If so, it determines that the current focus area is the preview area of ​​the keyboard and the input box, and then enhances the watermark display content corresponding to the preview area and the input box, respectively. Otherwise, it determines that the current focus area is the input area of ​​the keyboard, and then enhances the watermark display content corresponding to the input area.

[0014] Optionally, it further includes: intercepting a message sending instruction, obtaining the recipient information of the message, generating and displaying a reminder message; and executing the message sending instruction in response to confirmation of the reminder message.

[0015] In addition, the present invention also provides a page display processing device, including an acquisition module for acquiring a target object in the current page in response to a target page opening instruction; a watermark loading module for loading preset watermark display content into the area where the target object is located; a listening module for listening to a keyboard pop-up event on the current page, wherein the watermark loading module searches for a new view in the current view list based on the root view to load the preset watermark display content into the corresponding area of ​​the new view; and a listening module for listening to a keyboard collapse event on the current page, wherein the watermark loading module unregisters the watermark display content on the corresponding area of ​​the new view.

[0016] Optionally, it also includes: a listening module for listening to the keyboard tapping area; an input speed feedback module for obtaining the input speed to determine the current gaze focus range; and a watermark loading module for enhancing the watermark display content corresponding to the current gaze focus range.

[0017] Optionally, it further includes: an interception module, used to intercept message sending instructions, obtain the recipient information of the message, generate and display reminder information; and execute message sending instructions in response to confirmation of the reminder information.

[0018] One embodiment of the above invention has the following advantages or beneficial effects: The present invention, in response to a target page opening command, obtains the target object on the current page and then loads the preset watermark display content into the area where the target object is located, realizing a dynamic adjustment of the watermark loading process for different objects, improving the reminder effect of the target object before message sending; furthermore, by listening to keyboard responses, it obtains a system keyboard display view that is not exposed to the outside world, achieving the effect of displaying the watermark on the system keyboard, improving the reminder effect of keyboard input content before message sending; simultaneously, by analyzing the user's eye focus area when inputting messages through the user's input speed, it dynamically adjusts the display clarity of the watermark in different areas without affecting user use, improving the prompt effect for users during instant messaging, reducing the probability of users sending messages by mistake, and ensuring the user experience; in addition, the present invention intercepts message sending commands and generates reminder information through the message recipient information, thereby improving the reminder effect for the recipient before message sending.

[0019] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description

[0020] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:

[0021] Figure 1 This is a schematic diagram of the main flow of the page display processing method according to the first embodiment of the present invention;

[0022] Figure 2 This is a schematic diagram of the keyboard display structure according to an embodiment of the present invention;

[0023] Figure 3 This is a schematic diagram of the main flow of the page display processing method according to the second embodiment of the present invention;

[0024] Figure 4 This is a schematic diagram of the main modules of the page display processing apparatus according to the first embodiment of the present invention;

[0025] Figure 5 This is a schematic diagram of the main modules of a page display processing apparatus according to a second embodiment of the present invention;

[0026] Figure 6 This is a schematic diagram of the main modules of a page display processing apparatus according to a third embodiment of the present invention;

[0027] Figure 7 This is an exemplary system architecture diagram in which embodiments of the present invention can be applied;

[0028] Figure 8 This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation

[0029] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0030] Figure 1 This is a schematic diagram of the main flow of the page display processing method according to the first embodiment of the present invention, as shown below. Figure 1 As shown, the page display processing method includes:

[0031] Step S101: In response to the target page opening command, obtain the target object in the current page, and then load the preset watermark display content into the area where the target object is located.

[0032] In this embodiment, after enabling the message sending notification function, in response to the target page opening command, the target object in the current page can be obtained, and the preset watermark display content can be loaded into the area where the target object is located. For example, when a user enters a chat page, the name of the chat object or chat group in the current user's chat window can be obtained and stored as chatName, and the watermark display content can be loaded into the area where the chat object name or chat group name is located. Of course, the position information of the input box on the current page can also be dynamically obtained, that is, the target object can also include the input box on the current page, and the watermark can be loaded into the area above the input box.

[0033] In some embodiments, to better prevent message leakage, the watermark display content is refreshed whenever a user enters the target page (for example, a new chat page). The specific implementation process includes: obtaining the target object in the current page and refreshing the watermark display content to load the refreshed watermark display content into the area where the target object is located.

[0034] In other embodiments, after loading the preset watermark display content into the area where the target object is located, the watermark position information can be adjusted in response to changes in the target object's position information so that the watermark display content is loaded into the target object's current area. In a further embodiment, the watermark position information is adjusted in response to the target object's position moving upwards so that the watermark display content is loaded into the target object's current area. For example, if the input box position moves upwards due to the keyboard popping up (for example, after step S102 listens for the current page keyboard pop-up event), the watermark position information corresponding to the input box area is dynamically adjusted. Alternatively, the watermark position information is adjusted in response to the target object's position moving downwards so that the watermark display content is loaded into the target object's current area. For example, if the input box position moves downwards due to the keyboard retracting (for example, after step S103 listens for the current page keyboard retracting event), the watermark position information corresponding to the input box area is dynamically adjusted.

[0035] Step S102: Listen for the keyboard pop-up event on the current page, find the new view in the current view list based on the root view, and load the preset watermark display content into the corresponding area of ​​the new view.

[0036] In this embodiment, a listener can be established to detect the keyboard pop-up event on the current page. When the keyboard pops up, the newly added view in the current view list is retrieved from the root view. This newly added view is the view currently displayed by the keyboard, named keyboardWindow, and the preset watermark content is loaded onto the keyboardWindow containing the keyboard. Simultaneously, the keyboard height can be dynamically captured to prevent the watermark content from exceeding the keyboard area and affecting the user experience.

[0037] In some embodiments, after loading the preset watermark display content into the corresponding area of ​​the newly added view, the watermark position information can be adjusted in response to changes in keyboard height information so that the watermark display content is loaded into the corresponding area of ​​the newly added view. It can be seen that the present invention can capture keyboard height based on keyboard input, identify changes in keyboard height, and dynamically adjust the watermark position information loaded into the corresponding area of ​​the newly added view.

[0038] In other embodiments, the present invention can dynamically adjust the watermark display effect according to the user's gaze focus area. The specific implementation process includes: monitoring the keyboard click area, obtaining the input speed, determining the current gaze focus range, and then enhancing the watermark display content corresponding to the current gaze focus range. In a further embodiment, the click frequency and the increase length of the input box content are obtained, and the average click frequency and average content increase length within a preset input time period are calculated. It is determined whether the average click frequency and average content increase length are greater than a preset first threshold and a preset second threshold, respectively. If so, the current gaze focus range is determined to be the keyboard preview area and the input box, and the watermark display content corresponding to the preview area and the input box is enhanced accordingly; otherwise, the current gaze focus range is determined to be the keyboard input area, and the watermark display content corresponding to the input area is enhanced accordingly.

[0039] For example, when using instant messaging software, users' gaze often focuses on different areas. Figure 2 As shown, the area where a user's gaze focuses when inputting content can be divided into the input area, the preview area, and the input box, where the input area and preview area belong to the keyboard area. When the user's input speed is slow, their gaze is mainly focused on the keyboard's input area. When the user's input speed is fast, their gaze is mainly focused on the input box and the keyboard's preview area. Determining the user's current gaze focus based on their input speed allows for dynamic adjustment of the watermark's display effect in different areas. This enhances the reminder effect for users using instant messaging software and optimizes the user experience. The specific implementation process includes:

[0040] When the user inputs content, the system listens for user taps on the keyboard area and obtains the tap frequency (e.g., the tap frequency of the corresponding area in the keyboardWindow). It then calculates the average tap frequency *f* within a preset input time period. Additionally, it obtains the increase in the length of the input field when the user inputs content (i.e., if no input is received within a preset interval, it is considered an input, and the increase in the length of the field within the input field for this input is obtained). The system then calculates the average increase in the length of the input field *l* within the preset input time period. Only when both the average tap frequency *f* and the average increase in the length of the input field *l* exceed a preset first threshold and a preset second threshold, is it determined that the user's input speed is fast and their attention is focused on the preview area of ​​the input field and keyboard. Therefore, the watermark display effect on the preview area of ​​the input field and keyboard is enhanced. When neither the average tap frequency *f* nor the average increase in the length of the input field *l* exceeds the preset first threshold and the preset second threshold, it is determined that the user's input speed is slow and their attention is focused on the keyboard input area. Therefore, the watermark display effect on the keyboard input area is enhanced.

[0041] Step S103: Listen for the keyboard collapse event on the current page and unregister the watermark display content on the corresponding area of ​​the newly added view.

[0042] In this embodiment, to prevent the watermark in the area corresponding to the keyboard from disappearing and causing the program to crash, the watermark displayed in the corresponding area of ​​the newly added view can be promptly unregistered when the keyboard collapse event of the current page is detected.

[0043] In some embodiments, after step S103 is executed, the message sending instruction can be intercepted, the recipient information of the message can be obtained, and a reminder message can be generated and displayed. In response to confirmation of the reminder message, the message sending instruction is executed. Alternatively, in response to modification of the reminder message, the message sending instruction is deleted, and the page containing the target object is returned.

[0044] Figure 3 This is a schematic diagram of the main flow of a page display processing method according to a second embodiment of the present invention, the page display processing method including:

[0045] Step S301: In response to the target page open instruction, obtain the target object in the current page.

[0046] Step S302: Refresh the watermark display content to load the refreshed watermark display content into the area where the target object is located.

[0047] Step S303: Listen for the keyboard pop-up event on the current page.

[0048] Preferably, in response to the target object moving upwards, the current position information of the target object is obtained, and the watermark position information is adjusted so that the watermark display content is loaded into the area where the target object is currently located.

[0049] Step S304: Based on the root view, find the new view in the current view list, and load the preset watermark display content into the corresponding area of ​​the new view.

[0050] Preferably, in response to changes in keyboard height information, the watermark position information is adjusted so that the watermark display content is loaded into the corresponding area of ​​the newly added view.

[0051] Step S305: Listen to the keyboard tap area, obtain the tap frequency and the increase in length of the input box content, and calculate the average tap frequency and average increase in length of the content within a preset input time period.

[0052] Step S306: Determine whether the average click frequency and the average content increase length are greater than the preset first threshold and the preset second threshold, respectively. If yes, proceed to step S307; otherwise, proceed to step S308.

[0053] Step S307: Determine that the current focus area is the preview area and input box of the keyboard, and then enhance the watermark display content corresponding to the preview area and input box respectively.

[0054] Step S308: Determine that the current focus area of ​​the gaze is the input area of ​​the keyboard, and then enhance the watermark display content corresponding to the input area.

[0055] Step S309: Listen for the keyboard collapse event on the current page and unregister the watermark display content on the corresponding area of ​​the newly added view.

[0056] Preferably, in response to the target object's position shifting downwards, the current position information of the target object is obtained, and the watermark position information is adjusted so that the watermark display content is loaded into the area where the target object is currently located.

[0057] Step S310: Intercept the message sending command, obtain the recipient information of the message, generate a reminder message and display it.

[0058] Step S311: In response to the confirmation of the reminder message, execute the message sending instruction.

[0059] Figure 4 This is a schematic diagram of the main modules of a page display processing apparatus according to an embodiment of the present invention, such as... Figure 4 As shown, the page display processing device 400 includes an acquisition module 401, a watermark loading module 402, and a listening module 403. Specifically, the acquisition module 401, in response to a target page opening command, acquires the target object in the current page; the watermark loading module 402 loads preset watermark display content into the area where the target object is located; the listening module 403 listens for a keyboard pop-up event on the current page, and the watermark loading module 402 searches for a new view in the current view list based on the root view to load the preset watermark display content into the corresponding area of ​​the new view; and the listening module 403 listens for a keyboard collapse event on the current page, and the watermark loading module 402 unloads the watermark display content from the corresponding area of ​​the new view.

[0060] In some embodiments, the watermark loading module 402 is further configured to: refresh the watermark display content to load the refreshed watermark display content into the area where the target object is located.

[0061] In some embodiments, after the watermark loading module 402 loads the preset watermark display content into the area where the target object is located, it includes: adjusting the watermark position information in response to changes in the target object's position information so that the watermark display content is loaded into the area where the target object is currently located.

[0062] In some embodiments, after the watermark loading module 402 loads the preset watermark display content into the corresponding area of ​​the newly added view, it includes: adjusting the watermark position information in response to changes in keyboard height information so that the watermark display content is loaded into the corresponding area of ​​the newly added view.

[0063] It should be noted that the page display processing method and the page display processing device described in this invention have a corresponding relationship in their specific implementation, so repeated content will not be described again.

[0064] Figure 5 This is a schematic diagram of the main modules of a page display processing apparatus according to an embodiment of the present invention, such as... Figure 5 As shown, the page display processing device 500 includes an acquisition module 501, a watermark loading module 502, a monitoring module 503, and an input speed feedback module 504. Specifically, the acquisition module 501, in response to a target page opening command, acquires the target object in the current page; the watermark loading module 502 loads preset watermark display content into the area where the target object is located; the monitoring module 503 monitors the keyboard pop-up event on the current page, and the watermark loading module searches for a new view in the current view list based on the root view to load the preset watermark display content into the corresponding area of ​​the new view; the monitoring module 503 monitors the keyboard click area, the input speed feedback module 504 acquires the input speed to determine the current gaze focus range, and the watermark loading module 502 enhances the watermark display content corresponding to the current gaze focus range; the monitoring module 503 monitors the keyboard collapse event on the current page, and the watermark loading module 502 unloads the watermark display content on the corresponding area of ​​the new view.

[0065] In some embodiments, the input speed feedback module 504 is further configured to:

[0066] The system obtains the click frequency and the increase in the length of the input box content, and calculates the average click frequency and the average increase in the length of the content within a preset input time period. It then determines whether the average click frequency and the average increase in the length of the content are greater than a preset first threshold and a preset second threshold, respectively. If so, it determines that the current focus area of ​​the view is the preview area of ​​the keyboard and the input box, and then the watermark loading module 502 enhances the watermark display content corresponding to the preview area and the input box, respectively. Otherwise, it determines that the current focus area of ​​the view is the input area of ​​the keyboard, and then the watermark loading module 502 enhances the watermark display content corresponding to the input area.

[0067] It should be noted that the page display processing method and the page display processing device described in this invention have a corresponding relationship in their specific implementation, so repeated content will not be described again.

[0068] Figure 6 This is a schematic diagram of the main modules of a page display processing apparatus according to an embodiment of the present invention, such as... Figure 6As shown, the page display processing device 600 includes an acquisition module 601, a watermark loading module 602, a monitoring module 603, and an interception module 604. Specifically, the acquisition module 601, in response to a target page opening command, acquires the target object in the current page; the watermark loading module 602 loads preset watermark display content into the area where the target object is located; the monitoring module 603, upon detecting a keyboard pop-up event on the current page, searches for a new view in the current view list based on the root view, and loads the preset watermark display content into the corresponding area of ​​the new view; and upon detecting a keyboard collapse event on the current page, the watermark loading module 602 unloads the watermark display content from the corresponding area of ​​the new view; the interception module 604 intercepts a message sending command, acquires the recipient information of the message, generates and displays a reminder message; and, in response to confirmation of the reminder message, executes the message sending command.

[0069] It should be noted that the page display processing method and the page display processing device described in this invention have a corresponding relationship in their specific implementation, so repeated content will not be described again.

[0070] Figure 7 An exemplary system architecture 700 is shown that can be applied to the page display processing method or page display processing apparatus of the present invention.

[0071] like Figure 7 As shown, system architecture 700 may include terminal devices 701, 702, and 703, a network 704, and a server 705. Network 704 serves as the medium for providing communication links between terminal devices 701, 702, and 703 and server 705. Network 704 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0072] Users can use terminal devices 701, 702, and 703 to interact with server 705 via network 704 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 701, 702, and 703.

[0073] Terminal devices 701, 702, and 703 can be various electronic devices with a page display processing screen that supports web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0074] Server 705 can be a server that provides various services, such as a backend management server that supports users using terminal devices 701, 702, and 703 (for example only). The backend management server can analyze and process data such as received product information query requests, and feed back the processing results (such as target push information, product information - for example only) to the terminal devices.

[0075] It should be noted that the page display processing method provided in the embodiments of the present invention is generally executed by server 705, and correspondingly, the computing device is generally located in server 705.

[0076] It should be understood that Figure 7 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0077] The following is for reference. Figure 8 It shows a schematic diagram of the structure of a computer system 800 suitable for implementing a terminal device of the present invention. Figure 8 The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0078] like Figure 8 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 802 or programs loaded from storage section 808 into random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the computer system 800. The CPU 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0079] The following components are connected to the I / O interface 805: an input section 805 including a keyboard, mouse, etc.; an output section 806 including a cathode ray tube (CRT), liquid crystal display processor (LCD), and speakers, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card and a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 810 as needed so that computer programs read from it can be installed into the storage section 808 as needed.

[0080] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 809, and / or installed from removable medium 811. When the computer program is executed by central processing unit (CPU) 801, it performs the functions defined above in the system of this invention.

[0081] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0082] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0083] The modules described in the embodiments of this invention can be implemented in software or hardware. The described modules can also be housed in a processor; for example, a processor can be described as including an acquisition module, a watermark loading module, and a monitoring module. The names of these modules do not necessarily limit the functionality of the module itself.

[0084] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs that, when executed by the device, cause the device to: respond to a target page opening instruction, obtain a target object in the current page, and load preset watermark display content into the area where the target object is located; listen for a keyboard pop-up event on the current page, search for a new view in the current view list based on the root view, and load the preset watermark display content into the corresponding area of ​​the new view; listen for a keyboard collapse event on the current page, and unregister the watermark display content on the corresponding area of ​​the new view.

[0085] According to the technical solutions of the present invention, the existing technical problems of being unable to prevent leakage and missending of instant messaging messages can be solved.

[0086] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A page display processing method, characterized in that, include: In response to the command to open the target page, the target object in the current page is obtained, and then the preset watermark display content is loaded into the area where the target object is located; When the keyboard pop-up event is detected on the current page, the new view is found in the current view list based on the root view, and the preset watermark display content is loaded into the corresponding area of ​​the new view. If the keyboard collapse event is detected on the current page, the watermark display content on the corresponding area of ​​the newly added view is cancelled.

2. The method according to claim 1, characterized in that, Following the instruction to open the target page, the following are included: Get the target object on the current page, refresh the watermark display content, and load the refreshed watermark display content into the area where the target object is located.

3. The method according to claim 1, characterized in that, After loading the preset watermark display content into the area where the target object is located, it includes: In response to changes in the target object's location information, the watermark location information is adjusted so that the watermark display content is loaded into the area where the target object is currently located.

4. The method according to claim 1, characterized in that, After loading the preset watermark display content into the corresponding area of ​​the newly added view, it includes: In response to changes in keyboard height information, adjust the watermark position information so that the watermark display content is loaded into the corresponding area of ​​the newly added view.

5. The method according to claim 1, characterized in that, After loading the preset watermark display content into the corresponding area of ​​the newly added view, it includes: By monitoring the keyboard tap area, obtaining the input speed, determining the current gaze focus range, and then enhancing the watermark display content corresponding to the current gaze focus range.

6. The method according to claim 5, characterized in that, The input speed is obtained, the current gaze focus range is determined, and then the watermark display content corresponding to the current gaze focus range is enhanced, including: Get the click frequency and the increase in length of the input box content, and calculate the average click frequency and average increase in length of the content within a preset input time period; If the average click frequency and average content increase length are greater than the preset first threshold and the preset second threshold, respectively, the current gaze focus range is determined to be the preview area and input box of the keyboard, and the watermark display content corresponding to the preview area and input box is enhanced respectively; otherwise, the current gaze focus range is determined to be the input area of ​​the keyboard, and the watermark display content corresponding to the input area is enhanced.

7. The method according to any one of claims 1-6, characterized in that, Also includes: Intercept message sending instructions, obtain the recipient information of the message, generate and display a reminder message; In response to confirmation of the notification message, execute the message sending command.

8. A page display processing device, characterized in that, include: The acquisition module is used to retrieve the target object in the current page in response to the command to open the target page; The watermark loading module is used to load the preset watermark display content into the area where the target object is located; The listening module is used to listen for keyboard pop-up events on the current page. The watermark loading module searches for newly added views in the current view list based on the root view, and loads the preset watermark display content into the corresponding area of ​​the newly added view. And for listening to the keyboard collapse event on the current page, the watermark loading module cancels the watermark display content on the corresponding area of ​​the newly added view.

9. The apparatus according to claim 8, characterized in that, Also includes: The monitoring module is used to monitor the keyboard click area; The input speed feedback module is used to acquire the input speed in order to determine the current line-of-sight focus range; The watermark loading module is used to enhance the watermark display content corresponding to the current field of view focus range.

10. The apparatus according to claim 8 or 9, characterized in that, Also includes: The interception module is used to intercept message sending instructions, obtain the recipient information of the message, generate reminder information, and display it. In response to confirmation of the notification message, execute the message sending command.

11. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-7.

12. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • A method of adding a watermark to an IOS application

    CN109544437A

  • Page watermark generation method and device, equipment, storage medium and program product

    CN112800396A