CN113239302A - Page display method and device and electronic equipment - Google Patents

Page display method and device and electronic equipment Download PDF

Info

Publication number
CN113239302A
CN113239302A CN202110443531.8A CN202110443531A CN113239302A CN 113239302 A CN113239302 A CN 113239302A CN 202110443531 A CN202110443531 A CN 202110443531A CN 113239302 A CN113239302 A CN 113239302A
Authority
CN
China
Prior art keywords
picture
data stream
information
page
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110443531.8A
Other languages
Chinese (zh)
Inventor
李巧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110443531.8A priority Critical patent/CN113239302A/en
Publication of CN113239302A publication Critical patent/CN113239302A/en
Priority to PCT/CN2022/088215 priority patent/WO2022223002A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a page display method and device and electronic equipment, belongs to the technical field of communication, and can solve the problem that the flexibility of the electronic equipment for displaying picture content is poor due to the fact that the electronic equipment adopts default characters to replace a whole picture. The method comprises the following steps: under the condition that the data stream corresponding to the first page comprises a picture data stream, acquiring target information, wherein the target information comprises first character information and first picture information or first picture information, the first character information is characters matched with the picture data stream in the character information in the first page, and the first picture information is used for describing the characteristics of the picture corresponding to the picture data stream; and displaying corresponding target character information in the first page according to the target information, and displaying mark information in the first page according to the first picture information, wherein the mark information is used for indicating the picture data stream. The method and the device are applied to the process of processing the pictures in the page.

Description

Page display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a page display method and device and electronic equipment.
Background
Generally, when a user browses a page containing articles or webpage information with a large number of pictures, on one hand, when an electronic device is not connected with a wireless network, data traffic is excessively consumed when the browsing content contains a large number of pictures; on the other hand, the picture content browsed by the user may be snooped by other users, and privacy of the user is leaked. In this way, the user may trigger the current page of the electronic device to be in the no-picture mode, that is, the electronic device replaces and displays all pictures in the browsing content with default characters, so that the pictures in the browsing content are in an unloaded state.
However, after the pictures in the browsed content are in the unloaded state by the method, if the user needs to know the content of the pictures, the user needs to input the electronic device to trigger the electronic device to switch the current page from the no-picture mode to the picture mode to view the picture content.
Disclosure of Invention
The embodiment of the application aims to provide a page display method, a page display device and electronic equipment, and can solve the problem that the flexibility of the electronic equipment for displaying picture contents is poor due to the fact that the electronic equipment adopts default characters to replace the whole picture.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a page display method, where the page display method includes: under the condition that the data stream corresponding to the first page comprises a picture data stream, acquiring target information, wherein the target information comprises first character information and first picture information or first picture information, the first character information is characters matched with the picture data stream in the character information in the first page, and the first picture information is used for describing the characteristics of the picture corresponding to the picture data stream; and displaying corresponding target character information in the first page according to the target information, and displaying mark information in the first page according to the first picture information, wherein the mark information is used for indicating the picture data stream.
In a second aspect, an embodiment of the present application provides a page display apparatus, including: the device comprises an acquisition module and a display module. The obtaining module is configured to obtain target information under the condition that a data stream corresponding to a first page includes a picture data stream, where the target information includes first text information and first picture information, or includes first picture information, the first text information is text in the text information in the first page that matches the picture data stream, and the first picture information is used to describe characteristics of a picture corresponding to the picture data stream. And the display module is used for displaying corresponding target character information in the first page according to the target information acquired by the acquisition module, and displaying mark information in the first page according to the first picture information, wherein the mark information is used for indicating the picture data stream.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the electronic device may display the target text information in the first page according to the target information (i.e., the first text information and the first picture information; or the first picture information) when the data stream corresponding to the first page includes the picture data stream, and display the mark information for indicating the picture data stream according to the first picture information. Under the condition that the data stream corresponding to the first page comprises the picture data stream, the electronic equipment can determine the target text information according to the information related to the picture data stream, namely the text information matched with the picture data stream and the picture information corresponding to the picture data stream, or the picture information corresponding to the picture data stream, so that the content of the picture corresponding to the picture data stream is displayed to a user by displaying the target text information in the first interface, and therefore the user can know the picture content according to the target text information, and the user does not need to manually input the picture content to be displayed by the electronic equipment, so that the operation of the user is simplified, and the operation time is saved; moreover, the electronic device can display the mark information according to the picture information corresponding to the picture data stream, so that a user can input the mark information quickly and conveniently, and the electronic device can quickly display the picture corresponding to the picture data stream; therefore, the flexibility of the electronic equipment for displaying the picture content is improved.
Drawings
Fig. 1 is a schematic diagram of a page display method according to an embodiment of the present application;
fig. 2 is a second schematic diagram of a page display method according to an embodiment of the present application;
fig. 3 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a page display device according to an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The page display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The method and the device for browsing the article with the picture can be applied to scenes of browsing the article with the picture or the webpage with the webpage information by the user. Based on the fact that the electronic device loads the picture to display the picture in the page, more data traffic is consumed, and the picture is also easy to see by other users, so that privacy of the user is leaked. Specifically, when a user triggers the electronic device to open a certain page, the electronic device may detect whether a picture data stream exists in a data stream corresponding to the page, so as to obtain text information (text matched with the picture data stream) and picture information (picture information corresponding to the picture data stream) corresponding to the page, or picture information corresponding to the page, and generate corresponding text information according to the information, so as to replace a picture corresponding to the picture data stream with the text information (i.e., display the corresponding text information in the page to replace the picture corresponding to the picture data stream), so as to display the content of the picture corresponding to the picture data stream to the user; and the electronic device can display mark information (used for indicating the picture data stream) according to the picture information corresponding to the page, so as to show a shortcut entry for displaying the original picture to the user.
Compared with the scheme that default characters are directly adopted to replace pictures in the page in the traditional technology, the scheme of the embodiment of the application can display the contents of the pictures in the page to a user through the text description, and can avoid the problem that the user needs to check the contents of the pictures through manual input again in the traditional technology, so that the operation of the user is complicated, and therefore the scheme of the application saves the operation of the user; moreover, the electronic device displays the mark information, so that a user can input the mark information quickly, the electronic device can quickly display the picture corresponding to the picture data stream, and the user does not need to input the mark information through multiple inputs to reset the display mode of the picture in the page (namely, the display mode is adjusted from the non-picture mode to the picture mode); therefore, the flexibility of the electronic equipment for displaying the picture content is improved.
An embodiment of the present application provides a page display method, and fig. 1 shows a flowchart of the page display method provided in the embodiment of the present application, where the method may be applied to an electronic device. As shown in fig. 1, a page display method provided in an embodiment of the present application may include steps 201 and 202 described below.
Step 201, in the case that the data stream corresponding to the first page includes a picture data stream, the electronic device acquires target information.
In this embodiment of the application, the target information includes first text information and first picture information, or includes first picture information, where the first text information is a text in the text information in the first page that matches the picture data stream, and the first picture information is used to describe a feature of a picture corresponding to the picture data stream.
In the embodiment of the application, a user may open an application (e.g., a browser application, a news application, etc.) with a page browsing function in an electronic device, so that the electronic device may open a page (e.g., an article page or a web page) of the application; then, the electronic device may detect whether the data stream corresponding to the page includes a picture data stream, and in a case that the page includes the picture data stream, the electronic device may obtain some information (for example, the first text information and the first picture information) of the page, so as to determine text information corresponding to the picture data stream according to the information, and display text information describing features of the picture in the page.
It should be noted that the data stream corresponding to the page may be understood as: when a user triggers the electronic device to open a page, the electronic device may obtain a data stream related to the page from the server, that is, the data stream is used to display the content of the page (e.g., text in the page, pictures in the page). The text matching the picture data stream can be understood as: and in all the text information in the first page, the text of the picture characteristic/picture information corresponding to the picture data stream is described. The feature of the picture may be a feature of an object contained in the picture, and the feature of the object may include at least one of: type, quantity, attributes, etc.
Optionally, in this embodiment of the application, a user may enable a processing function of a page picture in advance (that is, start a no-picture mode function), so that the electronic device acquires the target information when detecting that a data stream corresponding to the first page includes a picture data stream.
Optionally, in this embodiment of the application, the data stream corresponding to the first page further includes a data stream of a text type. With reference to fig. 1, as shown in fig. 2, before the "electronic device acquires target information" in step 201, the page display method provided in the embodiment of the present application further includes step 301 described below, and step 201 may be specifically implemented by step 201a and step 201b described below.
Step 301, in a case that the data stream corresponding to the first page includes a picture data stream, the electronic device classifies the data stream corresponding to the first page, so as to determine a data stream of a text type and a data stream of a picture type from the data stream corresponding to the first page.
In this embodiment of the application, the electronic device may determine, by performing classification processing on a data stream corresponding to the first page, multiple types of data streams included in the data stream, for example, a data stream of a text type, a data stream of a picture type, and a data stream of other types (for example, a link type), which may be specifically determined according to an actual use requirement, and the embodiment of the application is not limited.
Optionally, in this embodiment of the application, the electronic device may perform classification processing on the data stream corresponding to the first page through a classification processing model; or the electronic device may perform parsing processing on the data stream corresponding to the first page to determine a type corresponding to the data stream.
Step 201a, the electronic device performs text parsing on the data stream of the text type to obtain first text information.
In the embodiment of the application, the electronic device may perform semantic and syntax parsing on the data stream of the character type to parse the keywords in the content corresponding to the data stream, so as to determine the first character information from the data stream of the character type.
Optionally, in an embodiment of the present application, the first text information includes at least one of: title content, context content of pictures corresponding to the picture data streams, and content including keywords corresponding to the picture data streams.
Optionally, in an embodiment of the present application, the above-mentioned title content may include at least one of the following: article headings and paragraph headings.
It should be noted that the context of the picture can be understood as: the content located at the adjacent position of the picture, for example, the content located at the front position of the picture and the content located at the rear position of the picture. The content including the keyword corresponding to the picture data stream may be understood as: the text type data stream contains the content of the keyword, and the keyword refers to a keyword associated with the picture data stream, which is default by a system or preset by a user.
Step 201b, the electronic device performs picture identification processing on the data stream of the picture type to obtain first picture information.
Optionally, in this embodiment of the application, the electronic device may perform recognition processing on the data stream of the picture type through a picture recognition processing model (e.g., a deep learning model).
In the embodiment of the application, the electronic device can accurately and quickly determine the data streams of the character type and the picture type by classifying the data streams corresponding to the first page to determine the first character information and the first picture information, so that the corresponding character information is accurately obtained based on the first character information and the first picture information, and the content of the picture corresponding to the picture data stream is flexibly displayed to a user.
Step 202, the electronic device displays corresponding target character information in the first page according to the target information, and displays mark information in the first page according to the first picture information.
In this embodiment of the application, the target text information is used to indicate contents of a picture corresponding to a picture data stream, and the flag information is used to indicate the picture data stream.
In this embodiment, the electronic device may generate description information corresponding to the target information according to the target information, where the description information is used to describe specific contents of a picture corresponding to the picture data stream. And the electronic equipment can generate and display mark information corresponding to the picture data stream according to the first picture information so as to display a shortcut entrance for displaying the original picture for a user.
It should be noted that the target text information may be target information, that is, the content of the target text information is the same as the target information; alternatively, the content of the target text information may be other content different from the target information, but the other content can represent the picture corresponding to the picture data stream.
Optionally, in this embodiment of the application, the electronic device may train the first picture information, for example, input the original picture into the deep learning model, so as to perform learning processing on the input original picture through the deep learning model, thereby outputting the textual description information (i.e., the target text information) for the picture content.
Optionally, in this embodiment of the application, the electronic device may train the first text information and the first picture information, for example, input information such as an original picture, a picture context, an article title, and a paragraph title into the deep learning model, so as to perform integrated learning processing on the input information through the deep learning model, thereby outputting text description information (i.e., target text information) for the picture content.
Optionally, in this embodiment of the application, the target information includes first text information and first picture information. The step 202 of displaying, by the electronic device, the corresponding target text information on the first page according to the target information may be specifically implemented by the following steps 401 and 402.
Step 401, the electronic device performs learning processing on the picture features of the picture data stream through the first network to obtain first description information, and performs translation processing on the first text information through the second network to obtain second description information.
Optionally, in this embodiment of the present application, the first network and the second network may be different neural networks. For example, the first network is a visual Deep Convolutional Neural network (visual Deep Convolutional Neural network), and the second network is a Language Generating recurrent Neural network (Language Generating Neural network). It should be noted that the first network and the second network may also be other neural networks, which may be determined according to actual usage requirements, and the embodiments of the present application are not limited.
And step 402, the electronic equipment integrates the first description information and the second description information to obtain target text information.
In this embodiment of the application, the electronic device may perform learning processing on a picture feature (for example, first picture information) corresponding to a picture data stream through a first network to obtain first description information (that is, a part of text description obtained from picture content); and a second network is adopted to translate the first text information to obtain second description information (namely, another part of text description obtained by text content), so that the text description information of the picture content is output based on the first description information and the second description information, namely, the first description information and the second description information are determined as target text information.
For example, when a user browses an article containing a picture, the electronic device may acquire all information of the article, divide the article into a text information portion (i.e., information of a text type) and a picture information portion (i.e., information of a picture type) according to all the information of the article, where the text information portion includes a title of the article, a title of a paragraph, contextual content of the picture, content including keywords corresponding to the picture, and the like, and obtain text description information of the picture according to the text information portion and the picture information portion to display the text description information.
In the embodiment of the application, the electronic device can accurately determine the text description information of the picture by combining two parts of contents corresponding to the first page, namely the first text information and the first picture information, so that a user can conveniently know the contents of the picture according to the text description information.
Optionally, in this embodiment of the application, the step 202 of displaying, by the electronic device, the corresponding target text information in the first page according to the target information may be specifically implemented by the following step 202a or step 202 b.
Step 202a, under the condition that the data stream corresponding to the first page includes the picture data stream and does not include the text data stream, the electronic device replaces the picture data stream with the first data stream so as to display the target text information in the target area of the first page.
In an embodiment of the present application, the first data stream is a data stream corresponding to first picture information, and the target area is a display area corresponding to the picture data stream in the first page.
It can be understood that, in this manner, the target text information is the first picture information, and after the electronic device acquires the data stream corresponding to the first page, the picture content corresponding to the data stream is not directly displayed in the first page, but the picture data stream is directly replaced by the data stream corresponding to the first picture information, so as to describe the picture content/picture characteristics by displaying the first picture information.
Step 202b, under the condition that the data stream corresponding to the first page comprises the picture data stream and the text data stream, the electronic equipment replaces the picture data stream with the first data stream and the second data stream so as to display the target text information in the target area in the first page.
In this embodiment, the second data stream is a data stream corresponding to the first text message.
In this way, it can be understood that, in this way, the target text information includes first picture information and first text information, and after the electronic device acquires the data stream corresponding to the first page, the electronic device directly replaces the picture data stream with the data stream corresponding to the first picture information and the data stream corresponding to the first text information instead of directly displaying the picture content corresponding to the data stream in the first page, so as to describe the picture content/picture characteristics by displaying the first picture information and the first text information.
Optionally, in this embodiment of the application, the electronic device may display mark information in a target region in the first page; alternatively, the electronic device may display the marking information in a blank area in the first page.
Optionally, in this embodiment of the application, the electronic device may display the mark information in a preset manner, where the preset manner is any one of the following: the black dots, the rectangular frame, the preset pattern and the like can be specifically set according to actual use requirements, and the embodiment of the application is not limited herein.
In the embodiment of the application, after the electronic device replaces the picture data stream with the first data stream and the second data stream, or replaces the picture data stream with the first data stream, the electronic device may perform page reconstruction on the original layout/original page, so as to display the target text information in the target area in the first page, that is, the first page displayed by the electronic device is a page obtained by reconstructing the original layout based on the target text information.
The display area corresponding to the picture data stream may be understood as: the display area of the picture corresponding to the picture data stream in the original layout, that is, the display area of the picture in the original layout if the picture corresponding to the picture data stream is displayed.
The electronic device is exemplarily illustrated as a mobile phone. As shown in fig. 3 (a), the mobile phone displays a first page, where the first page includes text content and picture content, and if the picture is replaced with default characters by using a conventional scheme, as shown in fig. 3 (B), the picture displayed on the first page by the mobile phone is directly covered by the default characters, so that the user cannot know the content of the picture; by adopting the scheme of the application, as shown in (C) in fig. 3, the mobile phone can replace the picture data stream corresponding to the first page with the first data stream and the second data stream according to the target information (for example, the first picture information and the first text information) corresponding to the first page, so as to display the target text information (including the first picture information and the first text information, namely, the text description of the picture content) in the display area corresponding to the picture data stream, so that the user can still know the content of the picture according to the displayed target text information under the condition that the picture is not displayed on the mobile phone; and the mobile phone can display the mark information (indicated by a black dot in (C) in fig. 3) according to the first picture information, so as to show the shortcut entry of the picture corresponding to the picture data stream to the user.
Optionally, in this embodiment of the present application, after the step 201, the page display method provided in this embodiment of the present application further includes the following step 203.
And step 203, the electronic equipment displays prompt information in the first page according to the first picture information.
In this embodiment of the present application, the prompt information is used to prompt/indicate whether sensitivity information exists in a picture corresponding to a picture data stream.
Optionally, in this embodiment of the application, the sensitivity information may be information matched with preset key information, and the like.
It should be noted that, the information matched with the preset key information may be understood as: the similarity between the preset key information and the preset key information is larger than or equal to a preset threshold value, wherein the preset key information refers to key information preset by a user or key information defaulted by a system. For example, the key information preset by the user is a self-portrait image of the user a, and if the picture corresponding to the picture data stream includes a face image of the user a, the electronic device displays prompt information to prompt that the sensitivity information existing in the picture corresponding to the picture data stream is the self-portrait image of the user a.
Optionally, in this embodiment of the present application, the electronic device may perform recognition processing on the data stream of the picture type, that is, perform learning processing on whether the original picture relates to sensitivity information based on a deep learning model, so as to identify the sensitivity information that may be involved in the picture, and thus generate the prompt information based on the sensitivity information.
Optionally, in this embodiment of the application, the electronic device may display the prompt information in a display area corresponding to the picture data stream; alternatively, the electronic device may display the prompt information in the prompt window by displaying the prompt window.
Optionally, in this embodiment of the application, the electronic device may display the target text information and the prompt information in a display area corresponding to the picture data stream in a differentiated manner by using different colors, different font sizes, and/or different frame shapes.
For example, referring to fig. 3 (C), as shown in fig. 4, the mobile phone may display target text information and prompt information (i.e., a prompt description of sensitivity information) in a display area corresponding to the picture data stream, so that when the picture is not displayed on the mobile phone, a user may know the content of the picture according to the displayed target text information, and determine whether the sensitivity information exists in the picture according to the displayed prompt information, so that the user may determine whether to trigger the mobile phone to display the original picture.
It should be noted that, the execution order of the step 202 and the step 203 is not limited in the embodiment of the present application. In one embodiment, step 202 may be performed first, and then step 203 may be performed; or, in another mode, the step 203 may be executed first, and then the step 202 may be executed; alternatively, in another mode, the step 202 and the step 203 may be executed simultaneously; alternatively, in another mode, the "display target character information" in the step 202 may be executed first, the step 203 may be executed, and the "display mark information" in the step 202 may be executed.
In the embodiment of the application, the electronic device can also display the prompt information in the first page under the condition of displaying the target text information, so that the content of the picture and whether the sensitive information exists in the picture can be effectively prompted to the user, the integrity of the picture information is ensured, the user can intuitively judge whether to trigger the display of the original picture based on the prompt information while accurately knowing the content of the picture, the problem that the user does not want the information seen by other users to be leaked due to the fact that the user directly triggers the display of the original picture when the user cannot know the sensitive information exists in the picture can be avoided, and the flexibility and the integrity of the display information of the electronic device are improved.
The embodiment of the application provides a page display method, because under the condition that a data stream corresponding to a first page includes a picture data stream, an electronic device can determine target text information according to information related to the picture data stream, namely text information matched with the picture data stream and picture information corresponding to the picture data stream, or picture information corresponding to the picture data stream, so that the target text information is displayed in a first interface, and the content of a picture corresponding to the picture data stream is displayed to a user, the user can know the content of the picture according to the target text information, and the user does not need to manually input to enable the electronic device to display the picture to view the content of the picture, so that the operation of the user is simplified, and the operation time is saved; moreover, the electronic device can display the mark information according to the picture information corresponding to the picture data stream, so that a user can input the mark information quickly and conveniently, and the electronic device can quickly display the picture corresponding to the picture data stream; therefore, the flexibility of the electronic equipment for displaying the picture content is improved.
Optionally, in this embodiment of the application, after the step 202, the page display method provided in this embodiment of the application further includes the following steps 501 and 502.
Step 501, the electronic device receives a first input of the tag information by a user.
In an embodiment of the application, the first input is used to trigger the electronic device to display a picture corresponding to the picture data stream.
Optionally, in this embodiment of the application, the first input may be a click input (for example, a single click input, a double click input, or an input of a preset number of clicks) of the mark information by the user, a long-time press input, a slide input, or the like. The specific setting can be according to the actual use demand, and the embodiment of the application is not limited.
Optionally, in this embodiment of the application, when the target text information, the tag information, and the prompt information are displayed in the first page, the user may determine, according to the prompt information, whether a data stream matching the preset key information exists in the picture data stream (i.e., determine whether sensitivity information exists in a picture corresponding to the picture data stream), and when the prompt information indicates that the sensitivity information does not exist in the picture corresponding to the picture data stream, the user may perform a first input on the tag information, so that the electronic device displays the picture corresponding to the picture data stream, that is, the original picture.
Step 502, the electronic device responds to the first input, and updates the target text information and the mark information into a picture corresponding to the picture data stream.
In the embodiment of the application, after receiving the first input, the electronic device may perform page reconstruction on the first page on which the target text information and the tag information are displayed, so as to replace the target text information and the tag information in the first page with the picture corresponding to the picture data stream, and display the picture corresponding to the picture data stream in the first page.
Optionally, in this embodiment of the application, after receiving the first input, the electronic device may display a picture corresponding to the picture data stream on the first page while maintaining display of the target text information and the tag information, for example, display the picture corresponding to the picture data stream in a floating window form.
Optionally, in this embodiment of the application, after a preset duration, the electronic device may update the picture displayed in the first page (i.e., the picture corresponding to the picture data stream) to the target text information and the tag information; alternatively, in the case where the electronic device detects an input of a user to a picture displayed in the first page, the electronic device may update the picture to target text information and tag information.
In the embodiment of the application, under the condition that the electronic equipment displays the target text information and the mark information, a user can perform first input on the mark information, so that the electronic equipment can rapidly load and display the original image (namely, the image corresponding to the image data stream), the user can check the original image more conveniently, and the human-computer interaction experience is improved.
It should be noted that, in the page display method provided in the embodiment of the present application, the execution main body may be an electronic device, or a page display apparatus, or a control module in the page display apparatus for executing the page display method. The page display method provided by the embodiment of the present application is described by taking an example of a method for an electronic device to execute a page display.
Fig. 5 shows a schematic diagram of a possible structure of the page display device related to the embodiment of the present application. As shown in fig. 5, the page display device 40 may include: an acquisition module 41 and a display module 42.
The obtaining module 41 is configured to, when a data stream corresponding to a first page includes a picture data stream, obtain target information, where the target information includes first text information and first picture information, or includes first picture information, the first text information is text content in the text information in the first page that matches the picture data stream, and the first picture information is used to describe characteristics of a picture corresponding to the picture data stream. And a display module 42, configured to display corresponding target text information in the first page according to the target information acquired by the acquisition module 41, and display mark information in the first page according to the first picture information, where the mark information is used to indicate a picture data stream.
In a possible implementation manner, the data stream corresponding to the first page further includes a text type data stream. The page display device 40 provided in the embodiment of the present application further includes: and a processing module. The processing module is configured to classify the data stream corresponding to the first page before the obtaining module 41 obtains the target information, so as to determine a data stream of a text type and a data stream of a picture type from the data stream corresponding to the first page. The obtaining module 41 is specifically configured to perform text parsing on a data stream of a text type to obtain first text information, where the first text information includes at least one of the following items: title content, context content of pictures corresponding to the picture data streams, and content containing keywords corresponding to the picture data streams; and carrying out picture identification processing on the data stream of the picture type to obtain first picture information.
In a possible implementation manner, the display module 42 is further configured to display, according to the first picture information, a prompt message in the first page, where the prompt message is used to prompt whether sensitivity information exists in a picture corresponding to the picture data stream.
In a possible implementation manner, the page display device 40 provided in the embodiment of the present application further includes: the device comprises a receiving module and an updating module. The receiving module is configured to receive a first input of the tag information by the user after the display module 42 displays the tag information in the first page according to the first picture information. And the updating module is used for responding to the first input received by the receiving module and updating the target character information and the mark information into the picture corresponding to the picture data stream.
In a possible implementation manner, the display module 42 is specifically configured to replace the picture data stream with the first data stream when the data stream corresponding to the first page includes the picture data stream and does not include the text data stream, so as to display the target text information in the target area in the first page; or, in the case that the data stream corresponding to the first page includes the picture data stream and the text data stream, replacing the picture data stream with the first data stream and the second data stream to display the target text information in the target area of the first page. The first data stream is a data stream corresponding to the first picture information; the second data stream is a data stream corresponding to the first text information; the target area is a display area corresponding to the picture data stream in the first page.
The embodiment of the application provides a page display device, and under the condition that a data stream corresponding to a first page includes a picture data stream, the page display device can determine target text information according to information related to the picture data stream, namely text information matched with the picture data stream and picture information corresponding to the picture data stream, or picture information corresponding to the picture data stream, so that the target text information is displayed in a first interface, and the content of a picture corresponding to the picture data stream is displayed to a user, so that the user can know the content of the picture according to the target text information, and the user does not need to manually input to enable the page display device to display the picture to view the content of the picture, thereby simplifying the operation of the user and saving the operation time; moreover, the page display device can display the mark information according to the picture information corresponding to the picture data stream, so that a user can input the mark information quickly, and the page display device can quickly display the picture corresponding to the picture data stream; therefore, the flexibility of the page display device for displaying the picture content is improved.
The page display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The page display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The page display device provided by the embodiment of the application can realize each process realized by the method embodiment, can achieve the same technical effect, and is not repeated here to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 90 is further provided in the embodiment of the present application, and includes a processor 91, a memory 92, and a program or an instruction stored in the memory 92 and capable of being executed on the processor 91, where the program or the instruction is executed by the processor 91 to implement each process of the foregoing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 110 is configured to, when a data stream corresponding to a first page includes a picture data stream, obtain target information, where the target information includes first text information and first picture information, or includes first picture information, the first text information is text content in the text information in the first page that matches the picture data stream, and the first picture information is used to describe characteristics of a picture corresponding to the picture data stream.
And the display unit 106 is configured to display corresponding target text information in the first page according to the target information, and display mark information in the first page according to the first picture information, where the mark information is used to indicate a picture data stream.
The embodiment of the application provides an electronic device, and under the condition that a data stream corresponding to a first page includes a picture data stream, the electronic device can determine target text information according to information related to the picture data stream, namely text information matched with the picture data stream and picture information corresponding to the picture data stream, or picture information corresponding to the picture data stream, so that the target text information is displayed in a first interface, and the content of a picture corresponding to the picture data stream is displayed to a user, so that the user can know the content of the picture according to the target text information, and the user does not need to manually input to enable the electronic device to display the picture to view the content of the picture, thereby simplifying the operation of the user and saving the time consumed by operation; moreover, the electronic device can display the mark information according to the picture information corresponding to the picture data stream, so that a user can input the mark information quickly and conveniently, and the electronic device can quickly display the picture corresponding to the picture data stream; therefore, the flexibility of the electronic equipment for displaying the picture content is improved.
Optionally, in this embodiment of the application, the data stream corresponding to the first page further includes a data stream of a text type. The processor 110 is further configured to perform classification processing on the data streams corresponding to the first page before obtaining the target information, and determine a data stream of a text type and a data stream of a picture type from the data streams corresponding to the first page.
The processor 110 is specifically configured to perform a text parsing process on a data stream of a text type to obtain first text information, where the first text information includes at least one of the following items: title content, context content of pictures corresponding to the picture data streams, and content containing keywords corresponding to the picture data streams; and carrying out picture identification processing on the data stream of the picture type to obtain first picture information.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display, according to the first picture information, prompt information in the first page, where the prompt information is used to prompt whether sensitivity information exists in a picture corresponding to the picture data stream.
Optionally, in this embodiment of the application, the user input unit 107 is configured to receive a first input of the tag information by the user after the display unit 106 displays the tag information in the first page according to the first picture information. The processor 110 is further configured to update the target text information and the tag information to a picture corresponding to the picture data stream in response to the first input.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to replace the picture data stream with the first data stream when the data stream corresponding to the first page includes the picture data stream and does not include the text data stream; or, in the case that the data stream corresponding to the first page includes the picture data stream and the text data stream, replacing the picture data stream with the first data stream and the second data stream to display the target text information in the target area of the first page. The first data stream is a data stream corresponding to the first picture information; the second data stream is a data stream corresponding to the first text information; the target area is a display area corresponding to the picture data stream in the first page.
The electronic device provided by the embodiment of the application can realize each process realized by the method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A page display method, characterized in that the method comprises:
under the condition that a data stream corresponding to a first page comprises a picture data stream, acquiring target information, wherein the target information comprises first text information and first picture information or first picture information, the first text information is text matched with the picture data stream in the text information in the first page, and the first picture information is used for describing the characteristics of a picture corresponding to the picture data stream;
and displaying corresponding target character information in the first page according to the target information, and displaying mark information in the first page according to the first picture information, wherein the mark information is used for indicating the picture data stream.
2. The method according to claim 1, wherein the data stream corresponding to the first page further includes a text type data stream;
before the obtaining of the target information, the method further includes:
classifying the data streams corresponding to the first page, and determining a data stream of a character type and a data stream of a picture type from the data streams corresponding to the first page;
the acquiring of the target information includes:
performing text analysis processing on the data stream of the text type to obtain the first text information, wherein the first text information includes at least one of the following items: title content, context content of a picture corresponding to the picture data stream, and content containing keywords corresponding to the picture data stream;
and carrying out picture identification processing on the data stream of the picture type to obtain the first picture information.
3. The method of claim 1, further comprising:
and displaying prompt information in the first page according to the first picture information, wherein the prompt information is used for prompting whether sensitivity information exists in a picture corresponding to the picture data stream.
4. The method according to any one of claims 1 to 3, wherein after displaying markup information in the first page according to the first picture information, the method further comprises:
receiving a first input of the marking information by a user;
and responding to the first input, and updating the target text information and the mark information into a picture corresponding to the picture data stream.
5. The method according to claim 1, wherein the displaying the corresponding target text information in the first page according to the target information comprises:
replacing the picture data stream with a first data stream under the condition that the data stream corresponding to the first page comprises the picture data stream and does not comprise a text data stream, so as to display the target text information in a target area in the first page;
under the condition that the data stream corresponding to the first page comprises the picture data stream and the text data stream, replacing the picture data stream with a first data stream and a second data stream so as to display the target text information in a target area in the first page;
the first data stream is a data stream corresponding to the first picture information; the second data stream is a data stream corresponding to the first text message; the target area is a display area corresponding to the picture data stream in the first page.
6. A page display apparatus, characterized in that the apparatus comprises: the device comprises an acquisition module and a display module;
the obtaining module is configured to obtain target information under the condition that a data stream corresponding to a first page includes a picture data stream, where the target information includes first text information and first picture information, or includes first picture information, the first text information is text in the text information in the first page that matches the picture data stream, and the first picture information is used to describe characteristics of a picture corresponding to the picture data stream;
the display module is configured to display corresponding target text information in the first page according to the target information acquired by the acquisition module, and display mark information in the first page according to the first picture information, where the mark information is used to indicate the picture data stream.
7. The apparatus according to claim 6, wherein the data stream corresponding to the first page further includes a text type data stream; the device further comprises: a processing module;
the processing module is configured to classify the data streams corresponding to the first page before the acquisition module acquires the target information, and determine a data stream of a text type and a data stream of a picture type from the data streams corresponding to the first page;
the obtaining module is specifically configured to perform text parsing on the data stream of the text type to obtain the first text information, where the first text information includes at least one of the following items: title content, context content of a picture corresponding to the picture data stream, and content containing keywords corresponding to the picture data stream; and carrying out picture identification processing on the data stream of the picture type to obtain the first picture information.
8. The apparatus according to claim 6, wherein the display module is further configured to display a prompt message in the first page according to the first picture information, where the prompt message is used to prompt whether sensitivity information exists in a picture corresponding to the picture data stream.
9. The apparatus of any one of claims 6 to 8, further comprising: the device comprises a receiving module and an updating module;
the receiving module is used for receiving a first input of the mark information by a user after the display module displays the mark information in the first page according to the first picture information;
the updating module is configured to update the target text information and the tag information to a picture corresponding to the picture data stream in response to the first input received by the receiving module.
10. The apparatus according to claim 6, wherein the display module is specifically configured to, when the data stream corresponding to the first page includes the picture data stream and does not include a text data stream, replace the picture data stream with a first data stream, so as to display the target text information in a target area in the first page; or, in the case that the data stream corresponding to the first page includes the picture data stream and the text data stream, replacing the picture data stream with a first data stream and a second data stream to display the target text information in a target area in the first page;
the first data stream is a data stream corresponding to the first picture information; the second data stream is a data stream corresponding to the first text message; the target area is a display area corresponding to the picture data stream in the first page.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the page display method according to any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the page display method according to any one of claims 1 to 5.
CN202110443531.8A 2021-04-23 2021-04-23 Page display method and device and electronic equipment Pending CN113239302A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110443531.8A CN113239302A (en) 2021-04-23 2021-04-23 Page display method and device and electronic equipment
PCT/CN2022/088215 WO2022223002A1 (en) 2021-04-23 2022-04-21 Page display method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110443531.8A CN113239302A (en) 2021-04-23 2021-04-23 Page display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113239302A true CN113239302A (en) 2021-08-10

Family

ID=77128981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110443531.8A Pending CN113239302A (en) 2021-04-23 2021-04-23 Page display method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN113239302A (en)
WO (1) WO2022223002A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134319A (en) * 2022-06-29 2022-09-30 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
WO2022223002A1 (en) * 2021-04-23 2022-10-27 维沃移动通信(杭州)有限公司 Page display method and apparatus, and electronic device
CN115134319B (en) * 2022-06-29 2024-06-21 维沃移动通信有限公司 Information 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
JPH1115589A (en) * 1997-06-20 1999-01-22 Soosu:Kk Key input practicing method, key input practicing system and recording medium recorded with program for controlling display of display device
CN105512220A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Image page output method and device
CN109359257A (en) * 2018-10-09 2019-02-19 上海二三四五网络科技有限公司 A kind of control method and control device realized in browser of mobile terminal without figure browsing
CN109828706A (en) * 2019-01-31 2019-05-31 维沃移动通信有限公司 A kind of information display method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113239302A (en) * 2021-04-23 2021-08-10 维沃移动通信(杭州)有限公司 Page display method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1115589A (en) * 1997-06-20 1999-01-22 Soosu:Kk Key input practicing method, key input practicing system and recording medium recorded with program for controlling display of display device
CN105512220A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Image page output method and device
CN109359257A (en) * 2018-10-09 2019-02-19 上海二三四五网络科技有限公司 A kind of control method and control device realized in browser of mobile terminal without figure browsing
CN109828706A (en) * 2019-01-31 2019-05-31 维沃移动通信有限公司 A kind of information display method and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王勋等: "图像特征的提取", 《人工智能原理及应用》, 31 December 2005 (2005-12-31), pages 471 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022223002A1 (en) * 2021-04-23 2022-10-27 维沃移动通信(杭州)有限公司 Page display method and apparatus, and electronic device
CN115134319A (en) * 2022-06-29 2022-09-30 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
CN115134319B (en) * 2022-06-29 2024-06-21 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2022223002A1 (en) 2022-10-27

Similar Documents

Publication Publication Date Title
CN113518026B (en) Message processing method and device and electronic equipment
CN108804469B (en) Webpage identification method and electronic equipment
CN112783594A (en) Message display method and device and electronic equipment
WO2022143336A1 (en) Graphic code recognition method and apparatus, and electronic device
CN111984589A (en) Document processing method, document processing device and electronic equipment
CN112181253A (en) Information display method and device and electronic equipment
CN112416142A (en) Method and device for inputting characters and electronic equipment
WO2022223002A1 (en) Page display method and apparatus, and electronic device
CN111857466B (en) Message display method and device
CN112181252B (en) Screen capturing method and device and electronic equipment
CN112764606A (en) Identification display method and device and electronic equipment
CN111724455A (en) Image processing method and electronic device
CN114895815A (en) Data processing method and electronic equipment
CN112765946B (en) Chart display method and device and electronic equipment
CN114237405A (en) Message correction method and device and electronic equipment
CN115309487A (en) Display method, display device, electronic equipment and readable storage medium
CN111694477B (en) Label processing method and device and electronic equipment
CN114416264A (en) Message display method and device
CN112764551A (en) Vocabulary display method and device and electronic equipment
CN113282830A (en) Display method and display device
CN113157966A (en) Display method and device and electronic equipment
CN112287131A (en) Information interaction method and information interaction device
CN112286613A (en) Interface display method and interface display device
CN111966267A (en) Application comment method and device and electronic equipment
CN112596646B (en) Information display method and device and electronic equipment

Legal Events

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

Application publication date: 20210810

RJ01 Rejection of invention patent application after publication