CN110286826B - Display content processing method, device, equipment and storage medium - Google Patents

Display content processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN110286826B
CN110286826B CN201910568941.8A CN201910568941A CN110286826B CN 110286826 B CN110286826 B CN 110286826B CN 201910568941 A CN201910568941 A CN 201910568941A CN 110286826 B CN110286826 B CN 110286826B
Authority
CN
China
Prior art keywords
display content
local
content
display area
display
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.)
Active
Application number
CN201910568941.8A
Other languages
Chinese (zh)
Other versions
CN110286826A (en
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.)
Shanghai Wingtech Information Technology Co Ltd
Original Assignee
Kunming Wentai Communication 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 Kunming Wentai Communication Co ltd filed Critical Kunming Wentai Communication Co ltd
Priority to CN201910568941.8A priority Critical patent/CN110286826B/en
Publication of CN110286826A publication Critical patent/CN110286826A/en
Application granted granted Critical
Publication of CN110286826B publication Critical patent/CN110286826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for processing display content. The method comprises the following steps: the method comprises the steps of determining touch position information according to touch operation acting on a screen display area, intercepting shielded local display content from display content of the screen display area according to the touch position information, carrying out shifting or distortion processing on the local display content, and displaying the shifted or distorted local display content again so that the re-displayed local display content is not shielded any more. The scheme of this embodiment can intercept the display content of touch position department and regard as the display content that is sheltered from, and then carries out the displacement display and distortion display with the sheltered display content of intercepting, realizes that the local display content after the displacement and the distortion can avoid the touch position region, guarantees to show that the display content on the screen display region is complete, and convenience of customers operates according to complete display content.

Description

Display content processing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of information processing, in particular to a method, a device, equipment and a storage medium for processing display content.
Background
With the continuous development of the technology, the hardware configuration of the electronic device has changed greatly, for example, the current electronic device replaces the traditional non-touch screen with a touch screen. The user operates the touch screen interface by means of a finger, a touch pen or the like.
However, in the process of operating the touch screen interface by the user, part of the display content on the touch screen interface is inevitably shielded, for example, when the user operates the touch screen interface by using a finger, the finger of the user is located between the touch screen and the eyes of the user, so that the sight of the user is shielded, the user cannot see the shielded part of the display content, and the operation experience of the user is affected.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for processing display content, which are used for displaying display information completely when a touch display screen shields the display information.
In a first aspect, an embodiment of the present invention provides a method for processing display content, including:
determining touch position information according to touch operation acting on a screen display area;
intercepting shielded local display content from the display content of the screen display area according to the touch position information;
and shifting or distorting the local display content, and redisplaying the shifted or distorted local display content so that the redisplayed local display content is not blocked any more.
In a second aspect, an embodiment of the present invention further provides a processing apparatus for displaying content, including:
the touch position determining module is used for determining touch position information according to touch operation acted on a screen display area;
the local content intercepting module is used for intercepting the shielded local display content from the display content of the screen display area according to the touch position information;
and the display content processing module is used for shifting or distorting the local display content and redisplaying the shifted or distorted local display content so that the redisplayed local display content is not blocked any more.
Further optionally, the local content intercepting module includes:
and the local content intercepting unit is used for intercepting part of the blocked display content from the display content of the screen display area according to a preset intercepting range by taking the touch position corresponding to the touch position information as a center, and taking the intercepted part of the blocked display content as the blocked local display content.
Further optionally, the display content processing module includes:
the local area setting unit is used for setting a local display area meeting conditions on the screen display area according to the touch position information so as to enable the set local display area not to be overlapped with an initial display area occupied by the local display content;
and the content shifting display unit is used for moving the local display content to the local display area and displaying the local display content in the local display area again.
Further optionally, the content shift display unit comprises:
the local cache data extraction subunit is used for extracting local display cache data corresponding to the local display content from the display cache data associated with the display content of the screen display area;
and the local cache data loading subunit is used for loading the local display cache data into the local display area and performing rendering processing in the local display area so as to realize that the local display content is redisplayed in the local display area.
Further optionally, the display content processing module includes:
a distortion area setting unit, configured to set a distortion processing area meeting a condition on the screen display area according to the touch position information, so that the distortion processing area is greater than or equal to an initial display area occupied by the local display content;
and the content warping display unit is used for warping the local display content and displaying the warped local display content in a bypassing way by taking the warping processing area as a center.
Further optionally, the content distortion display unit comprises:
a local content analysis subunit, configured to analyze a character height and a character width of each character included in the local display content;
a local content processing subunit, configured to reduce each character included in the local display content according to the character height and the character width of each character;
and the content warping and displaying subunit is used for warping and displaying the reduced local display content by taking the warping processing area as a center.
Further optionally, the apparatus further comprises:
and the partial content display recovery module is used for removing the displacement or distortion processing operation of the partial display content and recovering the partial display content from being displayed on the screen display area if the touch operation acting on the screen display area is detected to be removed.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of processing display content as provided in any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the processing method of display content as provided in any of the embodiments of the present invention.
The embodiment of the invention provides a processing scheme of display contents, and in the process of operating a touch screen interface by a user, a touch position can be determined according to the touch operation of the user, the display contents at the touch position are intercepted and taken as shielded display contents, and then the intercepted and shielded display contents are subjected to displacement display and distortion display, so that the displaced and distorted display contents can avoid the area where the touch position is located, the display contents in the screen display area are ensured to be completely displayed, and the user can conveniently operate on the touch screen interface according to the complete display contents.
The above summary of the present invention is merely an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description in order to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a processing method for displaying content according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a region of a screen display area provided in an embodiment of the present invention;
fig. 3 is a flowchart of another processing method of display contents provided in the embodiment of the present invention;
FIG. 4 is a schematic display diagram of a shifted display of partial display content according to an embodiment of the present invention;
fig. 5 is a flowchart of a processing method of display content provided in the embodiment of the present invention;
FIG. 6 is a schematic diagram of a display of a warped display portion according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a processing apparatus for displaying content according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and that no limitation of the invention is intended. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations (or steps) can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a processing method for displaying content according to an embodiment of the present invention. The embodiment of the invention can be suitable for the condition of shielding the display content when touch operation is carried out on the touch screen interface. The method may be performed by a processing device for displaying content, which may be implemented in software and/or hardware, and may be configured in an electronic device with network communication function. As shown in fig. 1, the method for processing display content provided in the embodiment of the present invention specifically includes the following steps:
and S110, determining touch position information according to touch operation acted on the screen display area.
In this embodiment, electronic devices such as computers, mobile phones, tablets and the like all support a touch screen, and a user can perform touch operation on a touch screen interface to realize corresponding operation functions. Optionally, the screen display area refers to a part of an interface area on a touch screen interface of the electronic device for displaying specific character display contents. Fig. 2 is a schematic area diagram of a screen display area provided in an embodiment of the present invention. Referring to fig. 2, an area containing display contents of each specific character on the touch screen interface of the electronic device may be used as the screen display area of the embodiment, and an area containing a screen control located below the touch screen interface of the electronic device is not used as the screen display area.
In this embodiment, when a user browses text, pictures or other information on a page, a finger or other parts of the user may unintentionally block partial content of the information, so that the information cannot be completely displayed to the user. Optionally, when it is detected that the user performs a touch operation on the screen display area of the touch screen interface, determining each touch point generated on the screen display area when the user performs the touch operation on the screen display area, and determining coordinates of each touch point in the screen display area, and further determining touch position information of the user according to the coordinates of each touch point in the screen display area. Specifically, optionally, when the user performs a touch operation in the screen display area, a plurality of touch points may be generated on the screen display area, and by performing touch point detection on each touch point generated by the user performing the touch operation in the screen display area, a touch center point of the user when performing the touch operation may be selected from the plurality of touch points, and coordinates of the touch center point in the screen display area are recorded as touch position information of the user when performing the touch operation.
In an optional manner of this embodiment, before determining the touch position information according to the touch operation applied to the screen display area, the method further includes: when a user performs touch operation on the touch screen interface, detecting whether touch operation exists on a screen display area of the touch screen interface.
In this embodiment, the user may select to perform a touch operation on the screen display area on the touch interface or may select to perform a touch operation on the non-screen display area on the touch interface. For selecting a non-screen display area on a touch interface to perform touch operation, although a user can shield a control contained in the non-screen display area by a finger or a touch pen when performing the touch operation, since the specific function position of the control in the non-screen display area is fixed and unchanged, even if the control is shielded, the user cannot see the specific control and cannot influence subsequent operation, when the user selects to perform the touch operation in the non-screen display area, the problem that the control is shielded is not required to be worried about, and when the user selects to perform the touch operation in the screen display area, the problem that display content is shielded needs to be considered, and corresponding strategy processing is adopted in time.
In this embodiment, when detecting whether a touch operation is performed on the screen display area of the touch screen interface, it may be detected whether a user applies pressure to the screen display area of the touch screen interface. And if the fact that pressure is applied to the screen display area is detected, and the applied pressure meets a preset pressure threshold condition, determining that the user performs touch operation in the screen display area. And if the situation that no pressure is applied to the screen display area or the applied pressure does not meet the preset pressure threshold condition is detected, determining that the user does not perform touch operation in the screen display area.
In this embodiment, optionally, if it is determined that the user performs the touch operation in the screen display area, it is determined that the display content of the screen display area needs to be processed according to the touch operation applied to the screen display area; and if the user is determined not to execute the touch operation in the screen display area, determining that the display content of the screen display area does not need to be processed according to the touch operation acting on the screen display area.
And S120, intercepting the shielded local display content from the display content of the screen display area according to the touch position information.
In this embodiment, when the user performs the touch operation in the screen display area, a finger or a stylus of the user may block a part of the display content on the screen display area, and the display content of the preset range located at the touch position corresponding to the touch position information when the user performs the touch operation in the screen display area may be used as the display content blocked by the touch operation performed in the screen display area. Therefore, after determining the touch position information when the user performs the touch operation, the blocked partial display content in the display content of the screen display area can be accurately positioned according to the touch position information, and the positioned blocked partial display content can be intercepted from the display content of the screen display area.
In an optional manner of this embodiment, intercepting the blocked partial display content from the display content in the screen display area according to the touch position information specifically includes: and intercepting part of the shielded display content from the display content of the screen display area according to a preset intercepting range by taking the touch position corresponding to the touch position information as a center, and directly taking the intercepted display content as the shielded local display content in the display content of the screen display area.
In the present embodiment, the display content blocked by the user when performing the touch operation is not a large-scale display content but a small-scale display content located at the touch position. In order to ensure that the intercepted local display content is closer to the real shielded display content as much as possible and avoid intercepting too much or too little display content, statistical analysis can be performed on multiple touch operations of a user in a screen display area, the size of a shielding area formed when the user performs the touch operations is estimated, and a intercepting range is set according to the size.
In this embodiment, after the capture range is set, the touch position indicated by the touch position information may be set as a capture center, the display content of the preset capture range is captured from the display content of the screen display area, and the captured display content is used as the blocked display content in the blocking area formed when the user performs the touch operation, that is, the blocked local display content is determined. Optionally, after determining the touch position information of the user, the touch position corresponding to the touch position information may be used as a capture center, a capture range is formed by the width of the screen display area and the preset height, the display content of the screen display area is captured, and the captured display content is used as the blocked local display content. The size of the interception range is equivalent to the size of the fingers of the user, and particularly, the size of the fingers of the user can be counted to obtain an average interception range.
By adopting the mode, the intercepted display content can be ensured to be consistent with the display content in the shielding area formed under the real condition when the user executes the touch operation as much as possible, and excessive or insufficient display content is avoided being intercepted.
In this embodiment, optionally, in the process of capturing the blocked partial display content on the screen display area, starting from the touch position corresponding to the touch position information, the display content in the preset capture range may be captured in an upward expansion manner and a downward expansion manner, and taken as the blocked partial display content. Specifically, the shape of the display content cut by the cut range is optionally an ellipse, a rectangle, a circle, or a square.
S130, shifting or distorting the local display content, and redisplaying the shifted or distorted local display content so that the redisplayed local display content is not shielded any more.
In this embodiment, in view of that the occluded partial display content is already occluded at the original position of the screen display area, and the user cannot see the occluded partial display content, for this purpose, the occluded partial display content may be shifted or distorted, and the shifted or distorted partial display content is redisplayed, so as to ensure that the partial display content is not occluded at the new display position, and ensure that the user can see the complete display content in the screen display area.
The embodiment of the invention provides a processing scheme of display contents, and in the process of operating a touch screen interface by a user, a touch position can be determined according to the touch operation of the user, the display contents at the touch position are intercepted and taken as shielded display contents, and then the intercepted and shielded display contents are subjected to displacement display and distortion display, so that the displaced and distorted display contents can avoid the area where the touch position is located, the display contents in the screen display area are ensured to be completely displayed, and the user can conveniently operate on the touch screen interface according to the complete display contents.
On the basis of the technical solution of the foregoing embodiment, optionally, after the partial display content after the shift or distortion processing is redisplayed, the method further includes:
and if the touch operation acting on the screen display area is detected to be cancelled, canceling the shift or distortion processing operation on the partial display content, releasing the data for redisplaying the partial display content, and restoring the partial display content to be displayed on the screen display area.
The method has the advantages that although the shifting or twisting processing of the partial display content can show the complete display content to the user, the display effect of the display content after the shifting or twisting processing is obviously lower than that of the original display content, so that the original display content is restored in time when no touch operation on the interface is detected, and the most suitable display effect is provided for the user.
Fig. 3 is a flowchart of another processing method for displaying content according to an embodiment of the present invention. The embodiments of the present invention are optimized based on the embodiments described above, and the embodiments of the present invention may be combined with various alternatives in one or more of the embodiments described above. As shown in fig. 3, the method for processing display content provided in the embodiment of the present invention specifically includes the following steps:
and S310, determining touch position information according to the touch operation acted on the screen display area.
S320, intercepting the shielded local display content from the display content of the screen display area according to the touch position information.
S330, according to the touch position information, a local display area meeting the conditions is set on the screen display area, so that the set local display area is not overlapped with an initial display area occupied by the local display content.
In this embodiment, after the blocked partial display content is intercepted on the screen display area, the intercepted partial display content may be subjected to shift display. After the touch position information is determined, a local display area needs to be searched and positioned on the screen display area according to the touch position corresponding to the touch position information, so that the local display area is not overlapped with an initial display area occupied by local display content, that is, the position of the local area is set outside the initial display position of the local display content. Alternatively, the partial display area is set to a blank screen display area containing no display content in the screen display area. Alternatively, the partial display area is set on the remaining screen display area other than the initial display area occupied by the partial display content and is displayed on the screen display area semi-transparently.
S340, moving the local display content to the local display area, and redisplaying the local display content in the local display area so that the redisplayed local display content is not blocked any more.
In this embodiment, fig. 4 is a display schematic diagram for displaying partial display contents in a shifted manner according to an embodiment of the present invention. Referring to fig. 4, when a partial display area is set on a screen display area, the cut partial display contents may be moved to the partial display area shown in fig. 4 so that the partial display contents are redisplayed in the partial display area.
In an optional manner of this embodiment, moving the local display content to the local display area, and displaying again in the local display area specifically includes the following steps:
step 1, extracting local display cache data corresponding to local display content from display cache data associated with the display content of a screen display area.
In the present embodiment, display buffer data matching the display content of the screen display region is buffered in the display buffer associated with the screen display region. Correspondingly, the partial display cache data matched with the partial display content intercepted from the display content of the screen display area is also stored in the display cache associated with the screen display area. In order to redisplay the partial display content in the partial display area, the display buffer data of the partial display content may be extracted from the display buffer data associated with the display content of the screen display area.
And 2, loading the display cache data of the local display content into the local display area, and performing rendering processing in the local display area to realize that the local display content is displayed again in the local display area.
In this embodiment, after the local display cache data corresponding to the local display content is extracted, the extracted display cache data may be directly loaded into the local display area, and the display cache data of the local display content is re-rendered in the local display area to obtain new local display content.
In the embodiment, as partial characters may exist in the shielded display content, a part of the character display content is located in the shielded area range and is intercepted into the partial display content during interception; and the other part of the character display content is not in the range of the shielding area and is not intercepted into the partial display content during the interception, so that some incomplete character display content may exist in the finally intercepted partial display content. If all the display cache data of the local display content is completely imported into the local display area for loading and rendering, the final display confusion is inevitably caused. Therefore, before the display cache data of the local display content is extracted, the intercepted local display content can be analyzed, the preset character format of each character and the preset character interval between each character contained in the local display content are determined, and the number of character lines and the number of characters needing to be extracted from the display cache data in the local display content are determined according to the preset character format of each character and the preset character interval between each character, so that the character content needing to be extracted from the display cache data in several lines and the character content needing to be extracted from each line can be determined, and the phenomenon that the display cache data contains incomplete character content is avoided.
The embodiment of the invention provides a processing scheme of display contents, which can determine a touch position according to the touch operation of a user in the process of operating a touch screen interface by the user, intercept the display contents at the touch position and serve as the shielded display contents, and simultaneously can position and set a local display area meeting the conditions in the screen display area so as to move the local display contents to the local display area for redisplay, ensure that the display contents in the screen display area are displayed completely, and facilitate the user to operate on the touch screen interface according to the complete display contents.
Fig. 5 is a flowchart of another processing method for displaying content according to an embodiment of the present invention. The embodiments of the present invention are optimized based on the embodiments described above, and the embodiments of the present invention may be combined with various alternatives in one or more of the embodiments described above. As shown in fig. 5, the method for processing display content provided in the embodiment of the present invention specifically includes the following steps:
and S510, determining touch position information according to touch operation acted on the screen display area.
S520, intercepting the shielded local display content from the display content of the screen display area according to the touch position information.
S530, according to the touch position information, a distortion processing area meeting the conditions is set on the screen display area, so that the distortion processing area is larger than or equal to an initial display area occupied by the local display content.
In this embodiment, after the blocked partial display content is intercepted on the screen display area, the intercepted partial display content may be displayed in a distorted manner. After the touch position information is determined, a distortion processing area needs to be set on the screen display area according to the touch position corresponding to the touch position information, so that the distortion processing area is larger than or equal to an initial display area occupied by a shielding area of the local display content at the touch position. Alternatively, the distortion processing region may be provided in the initial display region at the touch position occupied by the partial display content. For example, with the touch position indicated by the touch position information as a center, a circular processing area is set at the touch position and is ensured to be greater than or equal to the initial display area occupied by the partial display content.
And S540, twisting the local display content, and displaying the twisted local display content in a bypassing way by taking the twisting processing area as a center, so that the re-displayed local display content is not blocked any more.
In this embodiment, fig. 6 is a schematic display diagram of a distorted display of partial display content according to an embodiment of the present invention. Referring to fig. 6, a distortion processing area is provided at the position of the initial display area of the partial display content on the screen display area, and the partial display content is distorted with the distortion processing area as the center, and the distorted partial display content is displayed by detour.
In an optional manner of this embodiment, the warping the local display content, and displaying the warped local display content by bypassing with the warped processing area as a center specifically includes:
analyzing the character height and character width of each character contained in the local display content; narrowing each character contained in the local display content according to the character height and the character width of each character; and twisting and displaying the reduced local display content by taking the twisting processing area as a center.
In the present embodiment, each character included in the local display content is reduced according to the character height and the character width of each character, so that the reduced character can be ensured to bypass between the distortion processing region and the character line adjacent to the distortion processing region. Optionally, when the distortion processing area is used as a center and the distortion is displayed in a bypassing manner, if the number of lines of the characters included in the local display content is a single line, the reduced local display content is displayed in a bypassing manner upwards or downwards by taking the distortion processing area as a center; if the number of lines of the characters included in the partial display content is a plurality of single lines, the reduced partial display content is divided into a first partial display content and a second partial display content, and the divided first partial display content is displayed in a twisted and detoured manner upward and the divided second partial display content is displayed in a twisted and detoured manner downward with reference to a horizontal line where the twisted and processed region passes through the origin.
The embodiment of the invention provides a processing scheme of display contents, which can determine a touch position according to the touch operation of a user in the process of operating a touch screen interface by the user, intercept the display contents at the touch position and serve as the shielded display contents, and simultaneously position and set a distortion processing area meeting the conditions in the screen display area so as to display the local display contents in a bypassing way along the distortion processing area again, ensure that the display contents in the screen display area are displayed completely, and facilitate the user to operate on the touch screen interface according to the complete display contents.
Fig. 7 is a schematic structural diagram of a processing apparatus for displaying content according to an embodiment of the present invention, which is applicable to a case where display content is blocked when a touch operation is performed on a touch screen interface. The apparatus may be implemented in software and/or hardware, and may be configured in an electronic device having a network communication function. As shown in fig. 7, the processing apparatus for displaying content provided in the embodiment of the present invention specifically includes: a touch location determination module 710, a local content interception module 720, and a display content processing module 730. Wherein:
and a touch position determining module 710, configured to determine touch position information according to a touch operation applied to the screen display area.
And a local content intercepting module 720, configured to intercept the blocked local display content from the display content in the screen display area according to the touch position information.
The display content processing module 730 is configured to shift or warp the local display content, and redisplay the shifted or warped local display content, so that the redisplayed local display content is no longer occluded.
On the basis of the above-mentioned embodiment alternatives, optionally, the local content intercepting module 720 includes:
and the local content intercepting unit is used for intercepting part of the blocked display content from the display content of the screen display area according to a preset intercepting range by taking the touch position as a center to serve as the blocked local display content.
On the basis of the above-mentioned embodiment alternatives, optionally, the display content processing module 730 includes:
the local area setting unit is used for setting a local display area meeting conditions on the screen display area according to the touch position information so as to enable the set local display area not to be overlapped with an initial display area occupied by the local display content;
and the content shifting display unit is used for moving the local display content to the local display area and displaying the local display content in the local display area again.
On the basis of the above-described embodiment alternatives, optionally, the content shift display unit includes:
the local cache data extraction subunit is used for extracting the display cache data of the local display content from the display cache data associated with the display content of the screen display area;
and the local cache data loading subunit is used for loading the display cache data of the local display content into the local display area and performing rendering processing in the local display area so as to realize redisplay of the local display content in the local display area.
On the basis of the above-mentioned embodiment alternatives, optionally, the display content processing module 730 includes:
a distortion area setting unit, configured to set a distortion processing area meeting a condition on the screen display area according to the touch position information, so that the distortion processing area is greater than or equal to an initial display area occupied by the local display content;
and the content warping display unit is used for warping the local display content and displaying the warped local display content in a bypassing way by taking the warping processing area as a center.
On the basis of the above embodiment alternatives, optionally, the content distortion display unit includes:
a local content analysis subunit, configured to analyze a character height and a character width of each character included in the local display content;
a local content processing subunit, configured to reduce each character included in the local display content according to the character height and the character width of each character;
and the content warping and displaying subunit is used for warping and displaying the reduced local display content by taking the warping processing area as a center.
On the basis of the above embodiment alternatives, optionally, the apparatus further includes:
the partial content display resuming module 740 is configured to, if it is detected that the touch operation applied to the screen display area has been undone, undo the shift or twist processing operation on the partial display content, and resume displaying the partial display content on the screen display area.
The processing apparatus for display content provided in the embodiment of the present invention may execute the processing method for display content provided in any embodiment of the present invention, and has corresponding functions and advantages for executing the processing method for display content.
Fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention. As shown in fig. 8, the electronic device provided in the embodiment of the present invention includes: one or more processors 810 and storage 820; the processor 810 in the electronic device may be one or more, and fig. 8 illustrates one processor 810 as an example; storage 820 is used to store one or more programs; the one or more programs are executed by the one or more processors 810, so that the one or more processors 810 implement the method for processing the display content according to any one of the embodiments of the present invention.
The electronic device may further include: an input device 830 and an output device 840.
The processor 810, the storage device 820, the input device 830 and the output device 840 in the electronic apparatus may be connected by a bus or other means, and fig. 8 illustrates an example of connection by a bus.
The storage 820 in the electronic device, as a computer-readable storage medium, can be used to store one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the processing method of the display content provided in the embodiment of the present invention (for example, the modules in the processing apparatus of the display content shown in fig. 7, including the touch position determining module 710, the local content intercepting module 720, and the display content processing module 730). The processor 810 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the storage 820, that is, implements the processing method of the display content in the above method embodiment.
The storage device 820 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, storage 820 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 820 may further include memory located remotely from processor 810, which may be connected to devices over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 830 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 840 may include a display device such as a display screen.
And, when the one or more programs included in the electronic device are executed by the one or more processors 810, the programs perform the following operations:
determining touch position information according to touch operation acting on a screen display area;
intercepting shielded local display content from the display content of the screen display area according to the touch position information;
and shifting or distorting the local display content, and redisplaying the shifted or distorted local display content so that the redisplayed local display content is not blocked any more.
Of course, it can be understood by those skilled in the art that when one or more programs included in the electronic device are executed by the one or more processors 810, the programs may also perform related operations in the processing method for displaying content provided in any embodiment of the present invention.
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program for executing a processing method of displaying content when the program is executed by a processor, the method including:
determining touch position information according to touch operation acting on a screen display area;
intercepting shielded local display content from the display content of the screen display area according to the touch position information;
and shifting or distorting the local display content, and redisplaying the shifted or distorted local display content so that the redisplayed local display content is not blocked any more.
Optionally, the program may be further configured to perform a processing method of the display content provided in any embodiment of the present invention when executed by the processor.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A method for processing display content, comprising:
determining touch position information according to touch operation acting on a screen display area;
intercepting shielded local display content from the display content of the screen display area according to the touch position information;
shifting or distorting the local display content, and redisplaying the shifted or distorted local display content so that the redisplayed local display content is not shielded any more;
the shifting processing is carried out on the partial display content, and the partial display content after the shifting processing is displayed again, and the method comprises the following steps:
according to the touch position information, a local display area meeting conditions is arranged on the screen display area, so that the arranged local display area is not overlapped with an initial display area occupied by the local display content, and the local display area is arranged in a blank screen display area which does not contain the display content in the screen display area;
extracting local display cache data corresponding to the local display content from display cache data associated with the display content of the screen display area;
and loading the local display cache data into the local display area, and performing rendering processing in the local display area to realize that the local display content is displayed again in the local display area.
2. The method according to claim 1, wherein intercepting the blocked partial display content from the display content of the screen display area according to the touch position information comprises:
and intercepting part of the shielded display content from the display content of the screen display area according to a preset intercepting range by taking the touch position corresponding to the touch position information as a center to serve as the shielded local display content.
3. The method of claim 1, wherein the warping the partial display content and the redisplaying the warped partial display content comprises:
setting a distortion processing area meeting conditions on the screen display area according to the touch position information, so that the distortion processing area is larger than or equal to an initial display area occupied by the local display content;
and twisting the local display content, and displaying the twisted local display content by bypassing by taking the twisting processing area as a center.
4. The method of claim 3, wherein the warping the partial display content and displaying the warped partial display content around the warped processing region comprises:
analyzing the character height and character width of each character contained in the local display content;
narrowing down each character contained in the local display content according to the character height and the character width of each character;
and twisting and displaying the reduced local display content by taking the twisting processing area as a center.
5. The method according to claim 1, further comprising, after the step of redisplaying the shifted or warped partial display content:
and if the touch operation acting on the screen display area is detected to be cancelled, cancelling the shift or distortion processing operation of the partial display content, and restoring the partial display content to be displayed on the screen display area.
6. A processing apparatus for displaying content, comprising:
the touch position determining module is used for determining touch position information according to touch operation acted on a screen display area;
the local content intercepting module is used for intercepting the shielded local display content from the display content of the screen display area according to the touch position information; the display content processing module is used for shifting or distorting the local display content and redisplaying the shifted or distorted local display content so that the redisplayed local display content is not shielded any more;
wherein, the display content processing module comprises:
a local area setting unit, configured to set a local display area meeting a condition on the screen display area according to the touch position information, so that the set local display area is not overlapped with an initial display area occupied by the local display content, and the local display area is set in a blank screen display area that does not include the display content in the screen display area;
a content shifting display unit, configured to move the partial display content to the partial display area and redisplay the partial display area;
wherein the content shift display unit includes:
the local cache data extraction subunit is used for extracting the display cache data of the local display content from the display cache data associated with the display content of the screen display area;
and the local cache data loading subunit is used for loading the display cache data of the local display content into the local display area and performing rendering processing in the local display area so as to realize redisplay of the local display content in the local display area.
7. The apparatus of claim 6, further comprising:
and the partial content display recovery module is used for removing the displacement or distortion processing operation of the partial display content and recovering the partial display content from being displayed on the screen display area if the touch operation acting on the screen display area is detected to be removed.
8. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of processing display content of any of claims 1-5.
9. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing the method for processing display content according to any one of claims 1 to 5.
CN201910568941.8A 2019-06-27 2019-06-27 Display content processing method, device, equipment and storage medium Active CN110286826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910568941.8A CN110286826B (en) 2019-06-27 2019-06-27 Display content processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910568941.8A CN110286826B (en) 2019-06-27 2019-06-27 Display content processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110286826A CN110286826A (en) 2019-09-27
CN110286826B true CN110286826B (en) 2022-03-15

Family

ID=68019954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910568941.8A Active CN110286826B (en) 2019-06-27 2019-06-27 Display content processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110286826B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558814A (en) * 2020-12-17 2021-03-26 惠州Tcl移动通信有限公司 Screen display method and device and storage medium
CN113360032A (en) * 2021-05-06 2021-09-07 维沃移动通信(杭州)有限公司 Screen display method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281384A (en) * 2013-07-12 2015-01-14 国际商业机器公司 Systems and methods for occlusion accommodation
CN107219993A (en) * 2016-03-21 2017-09-29 联发科技(新加坡)私人有限公司 Display methods and related electronic device
CN107729298A (en) * 2017-10-31 2018-02-23 努比亚技术有限公司 Screen occlusion area processing method, mobile terminal and computer-readable recording medium
CN109327605A (en) * 2018-08-29 2019-02-12 维沃移动通信有限公司 A kind of display control method, device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140021893A (en) * 2012-08-13 2014-02-21 삼성전자주식회사 Apparatas and method for display to read touch space in a electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281384A (en) * 2013-07-12 2015-01-14 国际商业机器公司 Systems and methods for occlusion accommodation
CN107219993A (en) * 2016-03-21 2017-09-29 联发科技(新加坡)私人有限公司 Display methods and related electronic device
CN107729298A (en) * 2017-10-31 2018-02-23 努比亚技术有限公司 Screen occlusion area processing method, mobile terminal and computer-readable recording medium
CN109327605A (en) * 2018-08-29 2019-02-12 维沃移动通信有限公司 A kind of display control method, device and mobile terminal

Also Published As

Publication number Publication date
CN110286826A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
US10444933B2 (en) Method and apparatus for adding application icon and method and apparatus for removing application icon
US20180373427A1 (en) Triggering display of application
EP3220249B1 (en) Method, device and terminal for implementing regional screen capture
JP6412958B2 (en) Data input method and terminal
US20120174029A1 (en) Dynamically magnifying logical segments of a view
US20150277571A1 (en) User interface to capture a partial screen display responsive to a user gesture
US9519570B2 (en) Progressive snapshots in automated software testing
CN103543903A (en) Quick operation method and device and mobile terminal
US20140359538A1 (en) Systems and methods for moving display objects based on user gestures
US20180239777A1 (en) Method and apparatus for dissolving folder and mobile terminal
CN110286826B (en) Display content processing method, device, equipment and storage medium
CN109976655A (en) Long screenshotss method, apparatus, terminal and storage medium
US20150058790A1 (en) Electronic device and method of executing application thereof
CN108108217A (en) Method and device for cutting long screen
CN106095240A (en) The display packing of a kind of text box and device
CN109165626A (en) Stroke writing processing method, device, equipment and the storage medium of electronic whiteboard
EP2708999A2 (en) Method for editing display information and electronic device thereof
US9785342B2 (en) Enhanced graphical display for hand-held devices
US20150169153A1 (en) Enhancing a viewing area around a cursor
CN111796736B (en) Application sharing method and device and electronic equipment
CN111796733B (en) Image display method, image display device and electronic equipment
CN111506185B (en) Method, device, electronic equipment and storage medium for operating document
WO2016101768A1 (en) Terminal and touch operation-based search method and device
CN113490051B (en) Video frame extraction method and device, electronic equipment and storage medium
CN112639713A (en) Local note selection method and device, electronic terminal and readable storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220222

Address after: 650106 No. 6666, Gaoxin Avenue, high tech Zone, Kunming, Yunnan

Applicant after: Kunming Wentai Communication Co.,Ltd.

Address before: 200000 4-6 / F, juxinyuan, building 4, 188 Pingfu Road, Xuhui District, Shanghai

Applicant before: SHANGHAI WINGTECH INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220421

Address after: Room 2111-l, No. 89, Yunling East Road, Putuo District, Shanghai, 200062

Patentee after: SHANGHAI WINGTECH INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 650106 No. 6666, Gaoxin Avenue, high tech Zone, Kunming, Yunnan

Patentee before: Kunming Wentai Communication Co.,Ltd.