CN111625308A - Information display method and device and electronic equipment - Google Patents

Information display method and device and electronic equipment Download PDF

Info

Publication number
CN111625308A
CN111625308A CN202010353034.4A CN202010353034A CN111625308A CN 111625308 A CN111625308 A CN 111625308A CN 202010353034 A CN202010353034 A CN 202010353034A CN 111625308 A CN111625308 A CN 111625308A
Authority
CN
China
Prior art keywords
picture
information
target
determining
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010353034.4A
Other languages
Chinese (zh)
Other versions
CN111625308B (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010353034.4A priority Critical patent/CN111625308B/en
Publication of CN111625308A publication Critical patent/CN111625308A/en
Application granted granted Critical
Publication of CN111625308B publication Critical patent/CN111625308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure discloses an information display method, an information display device and electronic equipment, wherein the method comprises the following steps: acquiring information to be displayed, and determining a target scene corresponding to the information to be displayed, wherein the information to be displayed comprises picture information; in response to the fact that the target scene meets the preset condition, analyzing a target picture corresponding to the picture information; and displaying the target picture in the target scene. The display content with the target picture can be displayed after the picture information is analyzed in the target scene meeting the preset condition. The picture and document analysis process between the server and the terminal equipment is perfected, the phenomenon that the terminal equipment cannot normally display the picture due to the fact that the picture in the information to be displayed cannot be acquired at the server is avoided, and user experience is improved.

Description

Information display method and device and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to an information display method and apparatus, and an electronic device.
Background
The internet has developed to date, and one of the important applications is information exchange. The user can communicate information through means such as instant messaging tools, or information interaction within web pages. The equipment used by the user can display the information communication content in the modes of characters, pictures and the like.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides an information display method and device and electronic equipment, which can display contents with target pictures after picture information is analyzed in a target scene meeting preset conditions. The picture and document analysis process between the server and the terminal equipment is perfected, the phenomenon that the terminal equipment cannot normally display the picture due to the fact that the picture in the information to be displayed cannot be acquired at the server is avoided, and user experience is improved.
In a first aspect, an embodiment of the present disclosure provides an information display method, where the method includes: acquiring information to be displayed, and determining a target scene corresponding to the information to be displayed, wherein the information to be displayed comprises picture information; in response to determining that the target scene meets the preset condition, analyzing a target picture corresponding to the picture information; and displaying the target picture in the target scene.
In a second aspect, an embodiment of the present disclosure provides an information display apparatus, including: the determining module is used for acquiring information to be displayed and determining a target scene corresponding to the information to be displayed, wherein the information to be displayed comprises picture information; the analysis module is used for responding to the fact that the target scene meets the preset condition and analyzing the target picture corresponding to the picture information; and the display module is used for displaying the target picture in the target scene.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, on which one or more programs are stored, which, when executed by one or more processors, cause the one or more processors to implement the information presentation method of the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the information presentation method of the first aspect.
According to the information display method, the information display device and the electronic equipment, the information to be displayed is obtained firstly, the target scene corresponding to the information to be displayed is determined, and the information to be displayed comprises the picture information; then, in response to the fact that the target scene meets the preset condition, analyzing a target picture corresponding to the picture information; and finally, displaying the target picture in the target scene. The display content with the target picture can be displayed after the picture information is analyzed in the target scene meeting the preset condition. The picture and document analysis process between the server and the terminal equipment is perfected, the phenomenon that the terminal equipment cannot normally display the picture due to the fact that the picture in the information to be displayed cannot be acquired at the server is avoided, and user experience is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow diagram of one embodiment of an information presentation method according to the present disclosure;
FIG. 2 is a schematic structural diagram of one embodiment of an information presentation device according to the present disclosure;
FIG. 3 is an exemplary system architecture to which the information presentation method of one embodiment of the present disclosure may be applied;
fig. 4 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, a flowchart of an embodiment of an information presentation method according to the present disclosure is shown, as shown in fig. 1, the information presentation method includes the following steps 101 to 103.
Step 101, obtaining information to be displayed, and determining a target scene corresponding to the information to be displayed, where the information to be displayed includes picture information.
The information to be presented may include instant messaging information and may also include web page information.
The corresponding information to be displayed can be obtained according to an information browsing instruction sent by a user or an information browsing instruction.
In some application scenarios, the execution subject of the information presentation method may be a terminal device of a user. The user can perform an information browsing operation on instant messaging information in the terminal device, or perform an operation of opening a page, or the like. The terminal device may send an instruction corresponding to the information browsing operation or the page opening operation of the user to the server to obtain the information to be displayed. After receiving the instruction, the server may send the information to be displayed to the terminal device, so as to display the corresponding information content through the terminal device. Such information content may include text information, picture information, and the like.
The picture information may include information content agreed in advance by the server and the terminal device, and the agreed content may include original source information of the picture, display information of a corresponding target picture, and the like. And the terminal equipment can acquire the picture to be displayed according to the picture information. In practice, after the server pushes certain picture information to the terminal device, the terminal device may find the picture corresponding to the picture information from its cache region, or obtain the corresponding picture from the corresponding source through the original source information.
The target scene is a scene for displaying the information to be displayed. The target scene here may be a type of page. The type of the page may include, for example, a comment type, a message type, a description type, and the like, and in some application scenarios, the type may be represented by a corresponding comment page, a message page, a description page, and the like.
In the following, the information to be displayed may be displayed in a review page or a message page, which may be regarded as a page where the target scene is located.
After the terminal device obtains the information to be displayed, it may determine the type (for example, the comment type, the message type, the description type, and the like) of the page (that is, the page where the target scene is located) used for displaying the information to be displayed. For the display content of the 'the beverage is sweet' in the same information to be displayed, the 'the beverage is sweet' can be displayed in the comment page, and the 'the beverage is sweet' can also be displayed in the message page. After the server sends the display content of the 'beverage is really sweet' to the terminal device, if the terminal device determines that the type of the current page is a comment page, the 'beverage is really sweet' is displayed in the current page.
And 102, in response to the fact that the target scene meets the preset condition, analyzing the target picture corresponding to the picture information.
The preset condition here may be a condition set in advance to determine whether to parse the picture information. For example, when the page where the target scene is determined to be the comment page, the preset condition may be set to analyze the corresponding picture information. That is, if it is determined that the page where the target scene displaying the information to be displayed is located is the comment page, the terminal device may analyze the picture information in the information to be displayed to obtain the target picture corresponding to the picture information. The target picture may be an expression picture such as "cry", "smile", or the like, or may be an item picture such as "scissors", "cake", or the like. The parsing process here may be to extract the corresponding picture as the target picture through the picture information.
And 103, displaying the target picture in the target scene.
After the terminal device analyzes the corresponding target picture, the terminal device can display the corresponding position in the target scene. That is, when the information to be displayed is displayed, the target picture may be displayed at the beginning or end of the information to be displayed. For example, when the terminal device acquires text information and picture information representing "white cloud" of the information to be displayed, including "today's weather is really good", if it is determined that the information to be displayed is displayed in a target scene of a comment page meeting preset conditions, a target picture representing "today's weather is really good" and "white cloud" can be displayed as the display content.
In the prior art, the same picture file is generally defined by a server and a terminal device, and then rich text analysis is performed by the terminal device to obtain a corresponding picture file (equivalent to the target picture). In such an operation, since the picture documents are not text information, the server may not return the picture documents directly. Moreover, these picture documents are not applicable to all scenes, and therefore, the picture documents in all scenes do not need to be analyzed.
In the embodiment, information to be displayed is firstly acquired, and a target scene corresponding to the information to be displayed is determined, wherein the information to be displayed comprises picture information; then, in response to the fact that the target scene meets the preset condition, analyzing a target picture corresponding to the picture information; and finally, displaying the target picture in the target scene. The display content with the target picture can be displayed after the picture information is analyzed in the target scene meeting the preset condition. The picture and document analysis process between the server and the terminal equipment is perfected, the phenomenon that the terminal equipment cannot normally display the picture due to the fact that the picture in the information to be displayed cannot be acquired at the server is avoided, and user experience is improved.
In some optional implementations, the step 102 may include the step 1021: and in response to the fact that the target scene meets the preset condition, determining an identifier corresponding to the picture information, and determining a target picture corresponding to the picture information according to the identifier.
In some application scenarios, the identifier may be a symbol customized for each picture by the terminal device, and the corresponding target picture may be found in the terminal device through the customized symbol. For example, a picture corresponding to a representation of "danger" may be represented by the symbol "! "indicating, the pictures corresponding to the representation" snowflakes "can be indicated by the symbol".
That is, after it is determined that the target picture corresponding to the picture information can be parsed in the target scene, the target picture corresponding to the picture information can be determined through the identifier. In some application scenarios, the corresponding target picture may be determined according to the appointed content characterizing the corresponding target picture in the picture information, and then the determined target picture may be extracted from the cache region through the identifier. The appointment content may be appointment information that is set in advance by the server and the terminal device to correspond to a target picture through a certain symbol or a certain field.
For example, the picture information includes appointed content corresponding to a picture representing a "birthday cake" which can be added to the information to be displayed, the terminal device can determine the corresponding "birthday cake" picture according to the picture information, and then find out a target picture stored on the terminal device according to a self-defined identifier corresponding to the "birthday cake" picture. Here, the appointed content used for representing the "birthday cake" picture in the picture information may be represented by an appointed "XXX", that is, when the picture information has the "XXX", the terminal device may regard the corresponding target picture as the "birthday cake" picture, and may analyze the "birthday cake" picture through the customized identifier corresponding to the "birthday cake" picture, so as to serve as the target picture corresponding to the picture information.
In other application scenarios, the identifier may include a keyword, and the step 1021 may include the following steps 1 to 2.
Step 1, matching the keywords with a preset picture information-keyword mapping relation table.
And 2, if the matching is successful, determining the picture corresponding to the keyword as a target picture, wherein the picture information-keyword mapping relation table comprises the keyword stored in an associated manner and the picture corresponding to the keyword.
The image information-keyword mapping relation table may be prepared by the terminal device in advance according to an agreement with the server, or may be issued by the server to the terminal device and stored by the terminal device in advance.
The identifier may be the symbol or the keyword. The keyword may be a text representation of the information content corresponding to the picture, for example, an expressive picture representing a "smiling face", which may be represented by the keyword "smiling face"; the picture representing the "lightning bolt" can be represented by the keyword "lightning bolt". By using the form of the keyword, the information content expressed by the corresponding picture can be known more quickly. Here, the corresponding picture information-keyword mapping relationship table may include an emoticon representing "smiley face" and a corresponding keyword "smiley face", and a picture representing "lightning" and a corresponding keyword "lightning". When the keyword 'smiling face' is matched, the expression picture representing the 'smiling face' can be used as a target picture; when the keyword "lightning" is matched, a picture representing "lightning" may be taken as a target picture. By means of the method that the corresponding target pictures are analyzed in the terminal equipment through the keywords, when the server side cannot directly return the picture file in the information to be displayed, the terminal equipment can also normally display the corresponding target pictures, and the normal browsing of the corresponding information content by a user cannot be influenced.
In some optional implementations, step 1021 may further include step 3 and step 4.
And 3, if the matching is unsuccessful, acquiring a target picture corresponding to the picture information from the server.
In some application scenarios, the server may determine that there is no currently transmitted target picture in the terminal device according to the content agreed with the terminal device. The server may send the original source information of the corresponding target picture together when sending the picture information. For example, the picture information may include a website link for downloading a corresponding target picture, so that after the terminal device acquires the website link, the terminal device may download the target picture to a corresponding website.
That is, if the terminal device does not find the corresponding keyword in the above-mentioned image information-keyword mapping relationship table, the corresponding target image can be obtained through the image information.
And 4, determining a target keyword corresponding to the target picture, and storing the target keyword and the target picture into a picture information-keyword mapping relation table in an associated manner.
After the corresponding target picture is acquired, the terminal device can define the target keyword corresponding to the target picture by user, and store the target keyword and the corresponding target picture in a picture information-keyword mapping relation table in an associated manner so as to enrich the picture information-keyword mapping relation table. Therefore, when the appointed content corresponding to the target picture is detected to be contained in the picture information next time, the corresponding target picture can be directly found from the picture information-keyword mapping relation table without obtaining the appointed content from the corresponding picture source.
For example, for a picture representing a "flower", the terminal device does not find a corresponding keyword in the picture information-keyword mapping table including the "smiley face" picture and the "lightning" picture. The 'flower' picture can be downloaded to a local cache region in a corresponding website according to original source information in picture information corresponding to the 'flower' picture, and then the terminal equipment can customize a keyword 'flower' for the 'flower' picture. Therefore, the keyword 'flower' can be added to the information to be displayed, and then the keyword 'flower' is replaced by a 'flower' picture for displaying when displaying.
In some optional implementation manners, the information display method may further include: and in response to determining that the target picture corresponding to the picture information is changed, changing the mapping relation between the corresponding target picture and the keyword in the picture information-keyword mapping relation table.
That is, the target picture in the display content may be changed by changing the mapping relationship in the above-mentioned picture information-keyword mapping relationship table.
For example, in the picture information-keyword mapping table containing the above-mentioned "smiley face" picture and "lightning" picture, the mapping relationship between the picture and the corresponding keyword may be changed. For example, a "smiley face" picture corresponding to the keyword "smiley face" may be changed to a picture representing "jumping", and the keyword "happy" is used to associate with the "smiley face" picture. Therefore, when the picture information contains the appointed content corresponding to the smiling face picture, the corresponding keyword 'happy' can be found in the picture information-keyword mapping relation table, and at the moment, the corresponding target picture is determined to be the 'smiling face' picture through the keyword 'happy'.
In some application scenarios, if it is determined that the target picture corresponding to the picture information needs to be deleted, the target picture can be deleted by deleting the mapping relationship in the picture information-keyword mapping relationship table. For example, in the above-mentioned picture information-keyword mapping table containing the "smiley face" picture and the "lightning" picture, if it is determined that the "lightning" picture needs to be deleted, the mapping relationship between the "lightning" picture and the keyword "lightning" may be deleted. At this time, when the picture information includes the appointed content corresponding to the "lightning" picture, the corresponding keyword "lightning" can be found in the picture information-keyword mapping relation table, but the corresponding "lightning" picture cannot be found due to the absence of the mapping relation, and the "lightning" picture cannot be analyzed and displayed as the display content when being displayed. Therefore, if the target picture is required to be deleted or transformed, the mapping relation between the target picture and the corresponding keyword in the picture information-keyword mapping relation table can be deleted or transformed, and the operation is simple, convenient and quick.
In some optional implementation manners, the information display method further includes the following first step and second step.
Step one, in response to the fact that the target scene does not meet the preset condition, the picture information is not analyzed.
That is, when the target scene does not satisfy the preset condition, the picture information may be ignored without any processing on the information to be displayed.
And step two, displaying the information content except the picture information in the information to be displayed in the target scene.
Since the picture information is not analyzed, the target picture may not be displayed during displaying.
For example, when the information to be displayed acquired by the terminal device is "good weather today", and the corresponding picture information includes the appointed content of the picture representing the "sun", if it is determined that the target scene displaying the information to be displayed does not meet the preset condition, the picture information may not be processed, but "good weather today" is directly displayed as the display content. Therefore, the terminal equipment can analyze the picture information in the target scene meeting the preset conditions, and display the specific content to be displayed and the target picture as final display content; and directly taking the specific content to be displayed (at the moment, no corresponding target picture exists) as the final display content for displaying without any processing for the picture information in the target scene which does not meet the preset condition. Therefore, in the scene without displaying the picture, the picture information to be displayed is not analyzed, and the target picture corresponding to the picture information cannot be displayed. In addition, compared with the scheme that the terminal device in the prior art cannot distinguish scene types, the picture information needs to be analyzed and the target picture needs to be displayed, and then the user deletes the picture in the scene without displaying the target picture, on one hand, the task amount required to be executed by the terminal device for analyzing the page content can be reduced, and on the other hand, the operation of the user can be reduced.
In some optional implementations, before the step 102, the information presentation method may further include a step of determining whether the target scene satisfies a preset condition, and the step may be determined based on the following sub-steps a to b.
Step a, determining whether a page where a target scene is located is in a preset list or not; the preset list comprises at least one page identifier of a first page, and the first page is a page in which a target picture corresponding to the picture information needs to be displayed.
The page identifier may include information such as a page name or a page attribute that can be used to distinguish the type of the page. For example, a page identifier representing a comment page, a page identifier representing a description page, and the like, which need to analyze the picture information, may be listed in the preset list. In this way, the terminal device may match the page of the target scene with the page identifier, and determine whether the page of the target scene is in the preset list. In some application scenarios, the page identifier may be represented by a specific text, for example, the above-mentioned page identifier representing the comment page may be represented by a text "comment page".
And b, if the page where the target scene is located is determined to be in a preset list, determining that the target scene meets a preset condition.
That is, if a page consistent with the page where the target scene is located is found in the preset list, it may be determined that the picture information corresponding to the target scene may be analyzed to obtain the corresponding target picture.
And c, if the page where the target scene is located is determined not to be in the preset list, determining that the target scene does not meet the preset condition.
That is to say, if the page where the target scene is located is not found in the preset list, it may be determined that the picture information corresponding to the target scene is not analyzed, that is, the corresponding information to be displayed is not processed.
For example, in the above-mentioned preset list including the comment page and the description page, if it is determined that the page where the current target scene is located is the comment page or the description page, the corresponding picture information may be analyzed, and the corresponding target picture may be displayed in the target scene. If the page where the current target scene is located is determined to be a message page which is not in the preset list, the corresponding picture information may not be analyzed, and only the information content except the picture information is displayed when the target scene is displayed.
Referring to fig. 2, which shows a schematic structural diagram of an embodiment of an information presentation apparatus according to the present disclosure, as shown in fig. 2, the information presentation apparatus includes a determining module 201, a parsing module 202, and a presentation module 203. The determining module 201 is configured to acquire information to be displayed, and determine a target scene corresponding to the information to be displayed, where the information to be displayed includes picture information; the parsing module 202 is configured to parse a target picture corresponding to the picture information in response to determining that the target scene meets a preset condition; and the display module 203 is used for displaying the target picture in the target scene.
It should be noted that specific processing of the determining module 201, the analyzing module 202, and the displaying module 203 of the information displaying apparatus and technical effects thereof can refer to the related descriptions of step 101 to step 103 in the corresponding embodiment of fig. 1, which are not repeated herein.
In some optional implementations of this embodiment, the parsing module 202 is further configured to: and in response to the fact that the target scene meets the preset condition, determining an identifier corresponding to the picture information, and determining a target picture corresponding to the picture information according to the identifier.
In some optional implementations of this embodiment, the identifier includes a keyword, and the parsing module 202 is further configured to: matching the keywords with a preset picture information-keyword mapping relation table; and if the matching is successful, determining the picture corresponding to the keyword as a target picture, wherein the picture information-keyword mapping relation table comprises the keyword stored in an associated manner and the picture corresponding to the keyword.
In some optional implementations of this embodiment, the parsing module 202 is further configured to: if the matching is unsuccessful, obtaining a target picture corresponding to the picture information from the server; and determining a target keyword corresponding to the target picture, and storing the target keyword and the target picture into a picture information-keyword mapping relation table in an associated manner.
In some optional implementation manners of this embodiment, the information displaying apparatus further includes a changing module, where the changing module is configured to: and in response to determining that the target picture corresponding to the picture information is changed, changing the mapping relation between the corresponding target picture and the keyword in the picture information-keyword mapping relation table.
In some optional implementation manners of this embodiment, the information displaying apparatus further includes an ignoring module, where the ignoring module is configured to: in response to determining that the target scene does not meet the preset condition, not analyzing the picture information; and displaying the information content except the picture information in the information to be displayed in the target scene.
In some optional implementation manners of this embodiment, the information display apparatus further includes a determining module, where the determining module is configured to determine whether the target scene meets a preset condition based on the following steps: determining whether a page where a target scene is located is in a preset list or not; the preset list comprises at least one page identifier of a first page, wherein the first page is a page in which a target picture corresponding to the picture information needs to be displayed; if the page where the target scene is located is determined to be in the preset list, determining that the target scene meets a preset condition; and if the page where the target scene is located is determined not to be in the preset list, determining that the target scene does not meet the preset condition.
Referring to fig. 3, an exemplary system architecture to which the information presentation method of one embodiment of the present disclosure may be applied is shown.
As shown in fig. 3, the system architecture may include terminal devices 301, 302, 303, a network 304, and a server 305. The network 304 serves as a medium for providing communication links between the terminal devices 301, 302, 303 and the server 305. Network 304 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices and servers described above may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., Ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The terminal devices 301, 302, 303 may interact with a server 305 over a network 304 to receive or send messages or the like. The terminal devices 301, 302, 303 may have various client applications installed thereon, such as a video distribution application, a search-type application, and a news-information-type application.
The terminal devices 301, 302, 303 may be hardware or software. When the terminal devices 301, 302, 303 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal device 301, 302, 303 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 305 may be a server capable of providing various services, for example, receive an acquisition request of information to be presented sent by the terminal devices 301, 302, 303, perform analysis processing on the acquisition request of information to be presented, and send an analysis processing result (for example, information to be presented corresponding to the acquisition request) to the terminal devices 301, 302, 303.
It should be noted that the information display method provided by the embodiment of the present disclosure may be executed by a server or a terminal device, and accordingly, the information display apparatus may be disposed in the server or the terminal device.
It should be understood that the number of terminal devices, networks, and servers in fig. 3 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 4, shown is a schematic diagram of an electronic device (e.g., the server of FIG. 3) suitable for use in implementing embodiments of the present disclosure. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: 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 or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, 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. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring information to be displayed, and determining a target scene corresponding to the information to be displayed, wherein the information to be displayed comprises picture information; in response to determining that the target scene meets the preset condition, analyzing a target picture corresponding to the picture information; and displaying the target picture in the target scene.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, 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).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases constitute a limitation on the unit itself, and for example, the parsing module may also be described as a "module that parses a target picture corresponding to the picture information in response to determining that the target scene satisfies a preset condition".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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 or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. An information display method, comprising:
acquiring information to be displayed, and determining a target scene corresponding to the information to be displayed, wherein the information to be displayed comprises picture information;
in response to the fact that the target scene meets the preset condition, analyzing a target picture corresponding to the picture information;
and displaying the target picture in the target scene.
2. The method according to claim 1, wherein the parsing the target picture corresponding to the picture information in response to determining that the target scene satisfies a preset condition includes:
and in response to the fact that the target scene meets the preset condition, determining an identifier corresponding to the picture information, and determining a target picture corresponding to the picture information according to the identifier.
3. The method of claim 2, wherein the identification comprises a keyword; and
the determining, in response to determining that the target scene meets a preset condition, an identifier corresponding to the picture information, and determining, according to the identifier, a target picture corresponding to the picture information includes:
matching the keywords with a preset picture information-keyword mapping relation table;
if the matching is successful, determining the picture corresponding to the keyword as the target picture, wherein
The picture information-keyword mapping relation table comprises keywords which are stored in an associated mode and pictures corresponding to the keywords.
4. The method according to claim 3, wherein the determining, in response to determining that the target scene satisfies a preset condition, an identifier corresponding to the picture information, and determining, according to the identifier, a target picture corresponding to the picture information further comprises:
if the matching is unsuccessful, acquiring a target picture corresponding to the picture information from a server; and
and determining a target keyword corresponding to the target picture, and storing the target keyword and the target picture into the picture information-keyword mapping relation table in an associated manner.
5. The method of claim 3, further comprising:
and in response to determining that the target picture corresponding to the picture information is changed, changing the mapping relation between the corresponding target picture and the keyword in the picture information-keyword mapping relation table.
6. The method of claim 1, further comprising:
in response to determining that the target scene does not satisfy the preset condition, not parsing the picture information; and
and displaying information content except the picture information in the information to be displayed in the target scene.
7. The method according to claim 1, wherein before the parsing the target picture corresponding to the picture information in response to determining that the target scene satisfies a preset condition, the method further comprises:
determining whether the target scene meets the preset condition based on the following steps:
determining whether a page where the target scene is located is in a preset list or not; the preset list comprises at least one page identifier of a first page, and the first page is a page in which a target picture corresponding to the picture information needs to be displayed;
if the page where the target scene is located is determined to be in the preset list, determining that the target scene meets the preset condition;
and if the page where the target scene is located is determined not to be in the preset list, determining that the target scene does not meet the preset condition.
8. An information presentation device, comprising:
the system comprises a determining module, a display module and a display module, wherein the determining module is used for acquiring information to be displayed and determining a target scene corresponding to the information to be displayed, and the information to be displayed comprises picture information;
the analysis module is used for responding to the fact that the target scene meets the preset condition and analyzing the target picture corresponding to the picture information;
and the display module is used for displaying the target picture in the target scene.
9. An electronic device, comprising:
one or more processors;
storage means having one or more programs stored thereon which, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-7.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202010353034.4A 2020-04-28 2020-04-28 Information display method and device and electronic equipment Active CN111625308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010353034.4A CN111625308B (en) 2020-04-28 2020-04-28 Information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010353034.4A CN111625308B (en) 2020-04-28 2020-04-28 Information display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111625308A true CN111625308A (en) 2020-09-04
CN111625308B CN111625308B (en) 2022-02-11

Family

ID=72270864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010353034.4A Active CN111625308B (en) 2020-04-28 2020-04-28 Information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111625308B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328237A (en) * 2020-11-25 2021-02-05 北京软通智慧城市科技有限公司 Scene display method and device, computer equipment and storage medium
CN112380476A (en) * 2020-11-17 2021-02-19 北京字跳网络技术有限公司 Information display method and device and electronic equipment
CN112712395A (en) * 2021-01-08 2021-04-27 北京有竹居网络技术有限公司 Display information generation method and device and electronic equipment
CN114327718A (en) * 2021-12-27 2022-04-12 北京百度网讯科技有限公司 Interface display method and device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780338A (en) * 2015-04-16 2015-07-15 美国掌赢信息科技有限公司 Method and electronic equipment for loading expression effect animation in instant video
CN106843635A (en) * 2016-12-20 2017-06-13 北京猎豹移动科技有限公司 Information displaying method, device and electronic equipment
CN110096660A (en) * 2019-04-03 2019-08-06 北京字节跳动网络技术有限公司 Method, apparatus and electronic equipment for loading page picture
CN110609723A (en) * 2019-08-21 2019-12-24 维沃移动通信有限公司 Display control method and terminal equipment
CN110989889A (en) * 2019-12-20 2020-04-10 联想(北京)有限公司 Information display method, information display device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780338A (en) * 2015-04-16 2015-07-15 美国掌赢信息科技有限公司 Method and electronic equipment for loading expression effect animation in instant video
CN106843635A (en) * 2016-12-20 2017-06-13 北京猎豹移动科技有限公司 Information displaying method, device and electronic equipment
CN110096660A (en) * 2019-04-03 2019-08-06 北京字节跳动网络技术有限公司 Method, apparatus and electronic equipment for loading page picture
CN110609723A (en) * 2019-08-21 2019-12-24 维沃移动通信有限公司 Display control method and terminal equipment
CN110989889A (en) * 2019-12-20 2020-04-10 联想(北京)有限公司 Information display method, information display device and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380476A (en) * 2020-11-17 2021-02-19 北京字跳网络技术有限公司 Information display method and device and electronic equipment
CN112328237A (en) * 2020-11-25 2021-02-05 北京软通智慧城市科技有限公司 Scene display method and device, computer equipment and storage medium
CN112712395A (en) * 2021-01-08 2021-04-27 北京有竹居网络技术有限公司 Display information generation method and device and electronic equipment
CN114327718A (en) * 2021-12-27 2022-04-12 北京百度网讯科技有限公司 Interface display method and device, equipment and medium

Also Published As

Publication number Publication date
CN111625308B (en) 2022-02-11

Similar Documents

Publication Publication Date Title
CN111625308B (en) Information display method and device and electronic equipment
CN107679211B (en) Method and device for pushing information
CN107622135B (en) Method and apparatus for displaying information
US11758088B2 (en) Method and apparatus for aligning paragraph and video
CN110096660B (en) Method and device for loading page pictures and electronic equipment
US20120084373A1 (en) Computer device for reading e-book and server for being connected with the same
CN110020329B (en) Method, device and system for generating webpage
CN110825988A (en) Information display method and device and electronic equipment
US11800201B2 (en) Method and apparatus for outputting information
CN109862100B (en) Method and device for pushing information
WO2020078050A1 (en) Comment information processing method and apparatus, and server, terminal and readable medium
WO2024099171A1 (en) Video generation method and apparatus
CN110866040A (en) User portrait generation method, device and system
CN113076294A (en) Information sharing method and device
CN111694629A (en) Information display method and device and electronic equipment
CN107330087B (en) Page file generation method and device
CN109947526B (en) Method and apparatus for outputting information
US11184687B2 (en) Wearable device, information processing method, apparatus and system
CN112084441A (en) Information retrieval method and device and electronic equipment
CN113628097A (en) Image special effect configuration method, image recognition method, image special effect configuration device and electronic equipment
CN111813685A (en) Automatic testing method and device
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN112395109B (en) Clipboard content processing method and device
CN114239501A (en) Contract generation method, apparatus, device and medium
CN111259287B (en) Page content display method and device, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant