CN109753332B - Method and device for displaying information - Google Patents

Method and device for displaying information Download PDF

Info

Publication number
CN109753332B
CN109753332B CN201910023982.9A CN201910023982A CN109753332B CN 109753332 B CN109753332 B CN 109753332B CN 201910023982 A CN201910023982 A CN 201910023982A CN 109753332 B CN109753332 B CN 109753332B
Authority
CN
China
Prior art keywords
information
presentation
push information
target application
content indicated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910023982.9A
Other languages
Chinese (zh)
Other versions
CN109753332A (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing 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 CN201910023982.9A priority Critical patent/CN109753332B/en
Publication of CN109753332A publication Critical patent/CN109753332A/en
Priority to PCT/CN2020/070349 priority patent/WO2020143555A1/en
Application granted granted Critical
Publication of CN109753332B publication Critical patent/CN109753332B/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
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the present disclosure disclose methods for presenting information. One embodiment of the method comprises: receiving push information pushed by a server side of a target application, wherein the push information comprises information for presentation, and the information for presentation is used for prompting a user; presenting the information for presentation to a user; in response to detecting a first preset operation of a user on the information for presentation, sending push information to a plug-in corresponding to the first preset operation of a client of a target application, so that the plug-in executes a processing operation on the push information, wherein the processing operation comprises: and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation. The implementation mode realizes a mode that the plug-in of the client of the target application displays the content indicated by the push information on the page of the terminal equipment presenting the push information.

Description

Method and device for displaying information
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for displaying information.
Background
Information push from a server of an application installed in a terminal device to the terminal device is a commonly used information push method. The terminal device typically presents information for presentation to the user in the received push information in a manner that is informed by the system.
Generally, a user can click on information presented by the terminal device, and then the terminal device can start a client of an application for pushing the information, and the client further shows detailed content indicated by the information.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for displaying information.
In a first aspect, an embodiment of the present disclosure provides a method for presenting information, the method including: receiving push information pushed by a server side of a target application, wherein the push information comprises information for presentation, and the information for presentation is used for prompting a user; presenting the information for presentation to a user; in response to detecting a first preset operation of a user on the information for presentation, sending push information to a plug-in corresponding to the first preset operation of a client of a target application, so that the plug-in executes a processing operation on the push information, wherein the processing operation comprises: and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation.
In some embodiments, the above method further comprises: and in response to detecting that the user performs a second preset operation on the information for presentation, starting the client of the target application to present the content indicated by the push information in an application page of the client of the target application.
In some embodiments, the above method further comprises: and in response to detecting a third preset operation on the displayed content indicated by the push information, starting the client of the target application to display the content indicated by the push information in an application page of the client of the target application.
In some embodiments, the first preset operation comprises at least one of: the three-dimensional touch screen comprises a heavy pressing operation and a sliding operation in a preset direction.
In some embodiments, the push information further comprises a content identification for identifying the content indicated by the push information; and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation, wherein the content comprises: and the plug-in corresponding to the first preset operation sends a content identifier to the server of the target application, and receives the content which is returned by the server of the target application based on the content identifier and indicated by the push information.
In some embodiments, the content indicated by the push information comprises video and/or audio; and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation, wherein the content comprises: and acquiring a plug-in corresponding to the first preset operation and playing video and/or audio on the page presenting the information for presentation.
In some embodiments, the content indicated by the push information comprises text and/or images; and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation, wherein the content comprises: and acquiring a plug-in corresponding to a first preset operation and displaying characters and/or images on a page presenting the information for presentation.
In a second aspect, an embodiment of the present disclosure provides an apparatus for presenting information, the apparatus including: the receiving unit is configured to receive push information pushed by a server side of a target application, wherein the push information comprises information for presentation, and the information for presentation is used for prompting a user; a presentation unit configured to present the presentation information to a user; the presentation unit is configured to respond to the detection of a first preset operation of a user on the information for presentation, send push information to a plug-in corresponding to the first preset operation of a client of a target application, so that the plug-in executes a processing operation on the push information, wherein the processing operation comprises the following steps: and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation.
In some embodiments, the presentation unit is further configured to: and in response to detecting that the user performs a second preset operation on the information for presentation, starting the client of the target application to present the content indicated by the push information in an application page of the client of the target application.
In some embodiments, the presentation unit is further configured to: and in response to detecting a third preset operation on the displayed content indicated by the push information, starting the client of the target application to display the content indicated by the push information in an application page of the client of the target application.
In some embodiments, the first preset operation comprises at least one of: the three-dimensional touch screen comprises a heavy pressing operation and a sliding operation in a preset direction.
In some embodiments, the push information further comprises a content identification for identifying the content indicated by the push information; and the presentation unit is further configured to: and the plug-in corresponding to the first preset operation sends a content identifier to the server of the target application, and receives the content which is returned by the server of the target application based on the content identifier and indicated by the push information.
In some embodiments, the content indicated by the push information comprises video and/or audio; and the presentation unit is further configured to: and acquiring a plug-in corresponding to the first preset operation and playing video and/or audio on the page presenting the information for presentation.
In some embodiments, the content indicated by the push information comprises text and/or images; and the presentation unit is further configured to: and acquiring a plug-in corresponding to a first preset operation and displaying characters and/or images on a page presenting the information for presentation.
In a third aspect, an embodiment of the present disclosure provides a terminal device, including: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, which computer program, when executed by a processor, implements the method as described in any of the implementations of the first aspect.
According to the method and the device for displaying the information, the pushed information pushed by the server side of the target application is received, wherein the pushed information comprises information for presentation, and the information for presentation is used for prompting a user; presenting the information for presentation to a user; in response to detecting a first preset operation of a user on the information for presentation, sending push information to a plug-in corresponding to the first preset operation of a client of a target application, so that the plug-in executes a processing operation on the push information, wherein the processing operation comprises: and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation, thereby realizing a mode that the content indicated by the push information is displayed on the page presenting the push information by a plug-in of the client of the target application. Compared with the mode that the client starts the target application and displays the content indicated by the push information, the mode avoids the time-consuming process of starting the target application, thereby being beneficial to improving the display speed of the content indicated by the push information.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram for one embodiment of a method for presenting information, according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of a method for presenting information in accordance with an embodiment of the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of a method for presenting information in accordance with the present disclosure;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for presenting information in accordance with the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary architecture 100 to which embodiments of a method for presenting information or an apparatus for presenting information of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include a terminal device 101 and a server 102. The terminal device 101 and the server 102 may be communicatively coupled via various types of connections, such as wired, wireless communication links, or fiber optic cables, among others.
Various client applications may be installed on the terminal device 101. Such as browser-like applications, social-like applications, content sharing-like applications, and the like. The server 102 may be a backend server that provides support for applications installed on the terminal device 101.
The server 102 may push information to the terminal device 101. The operating system of the terminal device 101 may prompt the user that push information was received in the form of a system notification. The operating system of the terminal device 101 may further receive a request of the user to view the content indicated by the push information, and start a client of a corresponding application to present the content indicated by the push information.
As shown in fig. 1, the application installed on the terminal device 101 may have some plug-ins to provide other extended functions in addition to the installed client. When the terminal device 101 detects a user operation corresponding to a plug-in, the plug-in may be called by an operating system of the terminal device 101 to implement a corresponding function.
The terminal apparatus 101 may be hardware or software. When the terminal device 101 is hardware, it may be various electronic devices capable of installing a client application, including but not limited to a smart phone, a tablet computer, an e-book reader, a laptop portable computer, a desktop computer, and the like. When the terminal apparatus 101 is software, it can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for presenting information provided by the embodiment of the present disclosure is generally executed by the terminal device 101, and accordingly, the apparatus for presenting information is generally disposed in the terminal device 101.
The server 102 may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of 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.
It should be understood that the number of terminal devices and servers in fig. 1 is merely illustrative. There may be any number of terminal devices and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for presenting information in accordance with the present disclosure is shown. The method for presenting information comprises the following steps:
step 201, receiving push information pushed by a server of a target application, wherein the push information includes information for presentation.
In the present embodiment, the target application may be an application that is designated in advance by a technician and installed on an execution subject (a terminal device shown in fig. 1) of the method for presenting information. The target application may be an application corresponding to the push information received by the execution agent.
The push information may be various information. Specifically, the content and form of the push information may be different according to different application scenarios and product requirements. For example, the form of push information that a terminal device can receive and display may differ for terminal devices of different operating systems.
Wherein the presentation information is used to prompt the user. The presence information may be used to prompt the user that there is currently push information to view. Of course, the content of the presentation information may also include information related to the content indicated by the push information.
The content indicated by the push information may refer to content that a server (such as the server 102 shown in fig. 1) sending the push information wants to access by the user. The content indicated by the push information may also be content introduced by the presentation information.
In some optional implementations of this embodiment, the push information may further include a content identifier for identifying content indicated by the push information. At this time, the content indicated by the push information is the content corresponding to the content identifier included in the push information.
The content identifier may be various forms of identifiers. For example, the content identifier may be a storage location of the content indicated by the push information in a database of the server of the target application. For another example, the content identifier may be a link address or the like of the content indicated by the push information. And the content indicated by the push information can be found according to the content identification.
In some optional implementations of this embodiment, the content indicated by the push information may include at least one of video, audio, text, and image.
Step 202, presenting the information for presentation to the user.
In this embodiment, the execution agent may present the received presentation information to the user in a system notification manner. The manner of presenting the received information for presentation may be various. For example, an information prompt box may pop up in a preset area of the terminal device to present the received information for presentation. It should be understood that the manner in which information is presented by different terminal devices is different.
Step 203, in response to detecting a first preset operation of the user on the information for presentation, sending push information to a plug-in corresponding to the first preset operation of the client of the target application, so that the plug-in performs a processing operation on the push information.
In this embodiment, the first preset operation may be various user operations specified in advance by a technician. For example, the user operation may be a double-click operation, a slide operation, a gesture motion over the terminal device, and so on.
In a specific application scenario, because user operations that can be detected by different terminal devices are different, the user operations that can be detected and identified by the terminal devices can be set as first preset operations according to specific application requirements.
As an example, for some terminal devices supporting a stereoscopic touch screen, a first preset operation may be set to be a re-pressing operation included in performing the stereoscopic touch screen on the information for presentation.
Alternatively, for a terminal device having a touch screen, a sliding operation of the presentation information in a preset direction may be set as the first preset operation.
In this embodiment, a plug-in may refer to a program written by a technician according to application requirements, and is used to provide some specific functions for a client of a target application. For example, the plug-in may be some Extension (Extension), plug, Add-on, and so on.
The plug-in of the client of the target application may refer to a program written according to an application program interface disclosed by the target application. A plug-in to the client of the target application may be used to extend the functionality provided by the target application. Technicians can write plug-ins which can provide functions to be realized according to specific service requirements or product requirements.
Wherein, the plug-in of the client of the target application can be installed with the client binding of the target application. I.e. the plug-in is installed at the same time as the client of the target application is installed. The plug-in for the client of the target application may also be installed independently. Namely, after the client of the target application is installed, the plug-in is installed by using the installation package or the installation program corresponding to the plug-in.
The plug-in for the client of the target application may run independently of the client of the target application. Since the plug-in for the client of the target application typically provides some specific functionality, the plug-in for the client of the target application is typically smaller in size than the client of the target application. Therefore, the system resources consumed or occupied by the plug-ins of the clients running the target application independently are low. Correspondingly, the response speed of the plug-in of the client of the target application is fast.
The client of the target application may have one or more plug-ins, which respectively provide different function implementations. When the operation of the plug-in needs to be triggered by the user operation detected by the terminal device, the user operation for triggering the operation of the plug-in may be preset by a technician.
In this embodiment, the first preset operation may be used to trigger the running of the corresponding plug-in. The plug-in corresponding to the first preset operation may be used to process push information pushed by the server side of the target application to the terminal device.
When installing the target application, the execution subject typically registers an installation directory of the target application in the operating system. At this time, when the first preset operation is received, the plug-in corresponding to the first preset operation may be searched from the installation directory of the registered target application and started.
The plug-in corresponding to the first preset operation may perform the following processing operations on the push information sent by the terminal device: and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation.
Specifically, the plug-in corresponding to the first preset operation may first acquire the content indicated by the push information, and then display the content indicated by the push information on the page where the information for presentation is presented.
Alternatively, the content indicated by the push information may be stored locally in the terminal device, and the push information may include a storage address of the content indicated by the push information. At this time, the plug-in corresponding to the first preset operation may obtain the content indicated by the push information from the local according to the storage address.
Optionally, the content indicated by the push information may be stored in a server of the target application, and the push information may include a content identifier of the content indicated by the push information. At this time, the plug-in corresponding to the first preset operation may send the content identifier to the server of the target application, and receive the content indicated by the push information, which is returned by the server of the target application based on the content identifier.
The plug-in corresponding to the first preset operation can display the content of the obtained push information indication on the page presenting the information for presentation. The page presenting the presentation information may refer to a page on which the execution main body presents the presentation information.
For example, when the execution main body presents the presentation information in a pop-up page frame at the top in one direction in a system notification manner, the content indicated by the push information may be presented in the pop-up page frame presenting the presentation information.
In some optional implementation manners of this embodiment, when the content indicated by the push information includes video and/or audio, after detecting the first preset operation, the execution main body may invoke a plug-in corresponding to the first preset operation to play the video and/or audio on a page where the information for presentation is presented.
In some optional implementation manners of this embodiment, when the content indicated by the push information includes text and/or an image, after detecting the first preset operation, the execution main body may invoke a plug-in corresponding to the first preset operation to display the text and/or the image on the page where the present information is presented.
The plug-in corresponding to the first preset operation is written by technicians in advance according to actual application requirements. Therefore, in some application scenarios, the plug-in corresponding to the first preset operation may present, in addition to the content indicated by the push information, other content according to the requirement on the page presenting the information for presentation.
For example, when the content indicated by the push information includes video and/or audio, the plug-in corresponding to the first preset operation may provide other operation entries for interacting with the played video and/or audio on the page presenting the information for presentation while playing the video and/or audio on the page presenting the information for presentation. As an example, a comment area for commenting on played video and/or audio, and the like may be provided.
With continued reference to fig. 3, fig. 3 is a schematic diagram 300 of an application scenario of the method for presenting information according to the present embodiment. In the application scenario of fig. 3, the terminal device 301 may receive push information 304 sent by the server 303 of the target application 302 installed thereon. As shown in the figure, the push information 304 includes presentation information and video content identification. Here, the presentation information is "XX issues a new video", and the video content is identified by "ID 1".
After that, the terminal device 301 may present the information for presentation included in the received push information 304 to the user in a system notification manner (as shown by reference numeral 305 in the figure). When the user wants to view the specific content of the video, the information for presentation may be pressed (as shown by reference numeral 306 in the figure).
The terminal device 301, after detecting the operation of the user for pressing the information for presentation, may search for the plug-in "a" under the installation directory of the client of the target application 302, and call the plug-in "a" 307 to implement the playing of the video. Specifically, the terminal device may send the video content identification "ID 1" contained in the push information 304 to the plug-in "a" 307. Then, the plug-in "a" 307 sends a request to the server 303 to acquire video content whose video content is identified as "ID 1", and receives the video 308 returned by the server 303 based on the request. Further, plug-in "A" may control the playing of video 308 on the page displaying the information for presentation (as shown by reference numeral 309 in the figure).
According to the method provided by the above embodiment of the disclosure, according to the operation of the user, the terminal device may start the plug-in of the client of the target application corresponding to the user operation to present the detailed content of the push information pushed by the server of the target application. In the method, the push information is processed by the plug-in of the client of the target application without starting the client of the target application, so that the processing speed of the push information is increased, and the resource consumption of the terminal equipment is reduced.
With further reference to FIG. 4, a flow 400 of yet another embodiment of a method for presenting information is shown. The process 400 of the method for presenting information includes the steps of:
step 401, receiving push information pushed by a server of a target application, where the push information includes information for presentation.
Step 402, presenting the information for presentation to the user.
And step 403, in response to detecting a first preset operation of the user on the information for presentation, sending push information to a plug-in corresponding to the first preset operation of the client of the target application, so that the plug-in performs a processing operation on the push information.
The specific implementation process of the steps 401, 402, and 403 may refer to the related descriptions of the steps 201, 202, and 203 in the corresponding embodiment of fig. 2, and will not be described herein again.
Step 404, in response to detecting a second preset operation of the user on the information for presentation, starting the client of the target application to present the content indicated by the push information in the application page of the client of the target application.
In this embodiment, the second preset operation may be a user operation specified in advance by a technician. When the second preset operation is detected, the execution subject may start the client of the target application to present the content indicated by the push information.
In this case, different presentation modes are provided according to different operations of the user on the presentation information, and flexibility of the presentation mode of the content indicated by the push information is improved. The user can select a mode for showing the content indicated by the push information according to the tendency of the user. When the client is required to be started to view, the second preset operation can be executed on the information for presentation, and when the page where the information for presentation is located is required to be directly viewed, the first preset operation can be executed on the information for presentation.
As an example, for a terminal device supporting operations of clicking and pressing of a stereoscopic touch screen, pressing may be set as a first preset operation, and clicking may be set as a second preset operation. In this case, when the user represses the presentation information, the plug-in of the target application is called to control the content indicated by the push information to be directly presented on the page where the presentation information is located. And when the user clicks the information for presentation, calling the client of the target application to present the content indicated by the push information.
Step 405, in response to detecting a third preset operation on the content indicated by the push information, starting the client of the target application to present the content indicated by the push information in an application page of the client of the target application.
In this embodiment, the third preset operation may be a user operation specified in advance by a technician. And controlling the content indicated by the push information to be directly presented on the page where the presentation information is located by the plug-in of the target application, and enabling the user to execute a third operation on the currently presented page to start the client of the target application and switch to the client to present the content indicated by the push information.
Because the content that the client can present is richer, when the user wants to acquire more detailed information of the content indicated by the push information or wants to view other related content, a third preset operation can be executed to start the client of the target application, so that the richer information can be viewed at the client of the target application.
As an example, for a terminal device supporting operations of clicking, tapping and pressing of a stereoscopic touch screen, pressing may be set as a first preset operation, clicking may be set as a second preset operation, and pressing may be set as a third preset operation. At this time, after the user presses the presentation information again to call the plug-in of the target application to control the content indicated by the push information to be directly presented on the page where the presentation information is located. The client of the target application can be started to present the content indicated by the push information according to the presented content.
For convenience of describing various user operations, the user operations are named as a first preset operation, a second preset operation, and a third preset operation, respectively. It will be understood by those skilled in the art that the first, second or third ones do not constitute a specific limitation to the preset operation.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the process 400 for presenting information in the present embodiment highlights different presentation manners of the content indicated by the push information of the target application, which can be triggered according to different operations of the user, so as to provide a more flexible information presentation manner. Meanwhile, the user can select different display modes according to actual requirements, and the access rate of the pushed information is improved.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an apparatus for presenting information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable in various electronic devices.
As shown in fig. 5, the apparatus 500 for presenting information provided by the present embodiment includes a receiving unit 501, a presenting unit 502, and a presenting unit 503. The receiving unit 501 is configured to receive push information pushed by a server of a target application, where the push information includes information for presentation, and the information for presentation is used for prompting a user; the presentation unit 502 is configured to present the above presentation information to the user; the presentation unit 503 is configured to, in response to detecting a first preset operation of the user on the information for presentation, send push information to a plug-in of the client of the target application, which corresponds to the first preset operation, so as to cause the plug-in to perform a processing operation on the push information, where the processing operation includes: and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation.
In the present embodiment, in the apparatus 500 for presenting information: the specific processing of the receiving unit 501, the presenting unit 502, and the presenting unit 503 and the technical effects thereof can refer to the related descriptions of step 201, step 202, and step 203 in the corresponding embodiment of fig. 2, which are not repeated herein.
In some optional implementations of the present embodiment, the presenting unit 503 is further configured to: and in response to detecting that the user performs a second preset operation on the information for presentation, starting the client of the target application to present the content indicated by the push information in an application page of the client of the target application.
In some optional implementations of the present embodiment, the presenting unit 503 is further configured to: and in response to detecting a third preset operation on the displayed content indicated by the push information, starting the client of the target application to display the content indicated by the push information in an application page of the client of the target application.
In some optional implementations of this embodiment, the first preset operation includes at least one of: the three-dimensional touch screen comprises a heavy pressing operation and a sliding operation in a preset direction.
In some optional implementations of this embodiment, the push information further includes a content identifier for identifying content indicated by the push information; and the presentation unit 503 is further configured to: and the plug-in corresponding to the first preset operation sends a content identifier to the server of the target application, and receives the content which is returned by the server of the target application based on the content identifier and indicated by the push information.
In some optional implementations of this embodiment, the content indicated by the push information includes video and/or audio; and the presentation unit 503 is further configured to: and acquiring a plug-in corresponding to the first preset operation and playing video and/or audio on the page presenting the information for presentation.
In some optional implementations of this embodiment, the content indicated by the push information includes text and/or images; and the presentation unit 503 is further configured to: and acquiring a plug-in corresponding to a first preset operation and displaying characters and/or images on a page presenting the information for presentation.
The device provided by the above embodiment of the present disclosure receives, by a receiving unit, push information pushed by a server of a target application, where the push information includes information for presentation, and the information for presentation is used to prompt a user; the presentation unit presents the presentation information to a user; the display unit responds to a first preset operation of a user on the information for presentation, and sends push information to a plug-in corresponding to the first preset operation of a client of a target application, so that the plug-in executes a processing operation on the push information, wherein the processing operation comprises the following steps: and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation, thereby realizing a mode that the content indicated by the push information is displayed on the page presenting the push information by a plug-in of the client of the target application. Compared with the mode that the client starts the target application and displays the content indicated by the push information, the mode avoids the time-consuming process of starting the target application, thereby being beneficial to improving the display speed of the content indicated by the push information.
Referring now to fig. 6, shown is a schematic diagram of an electronic device (e.g., terminal device in fig. 1) 600 suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the use range of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; a storage device 608; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 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. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
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 embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium described in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an 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 embodiments of the 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 embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take 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 included in the terminal device; or may exist separately without being assembled into the terminal device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving push information pushed by a server side of a target application, wherein the push information comprises information for presentation, and the information for presentation is used for prompting a user; presenting the information for presentation to a user; in response to detecting a first preset operation of a user on the information for presentation, sending push information to a plug-in corresponding to the first preset operation of a client of a target application, so that the plug-in executes a processing operation on the push information, wherein the processing operation comprises: and acquiring and displaying the content indicated by the push information on the page presenting the information for presentation.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including 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 described units may also be provided in a processor, and may be described as: a processor includes a processor including a receiving unit, a presenting unit, and a presenting unit. Here, the names of these units do not constitute a limitation to the unit itself in some cases, and for example, the presentation unit may also be described as a "unit that presents the above-described information for presentation to the user".
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 invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (7)

1. A method for presenting information, comprising:
receiving push information pushed by a server side of a target application, wherein the push information comprises information for presentation and a content identifier for identifying content indicated by the push information, and the information for presentation is used for prompting a user that the push information is currently to be viewed;
presenting the information for presentation to a user in a system notification manner;
in response to detecting a first preset operation of a user on the information for presentation, sending the push information to a plug-in of a client of the target application, which corresponds to the first preset operation, so as to enable the plug-in to execute a processing operation on the push information, wherein the processing operation comprises: acquiring and displaying the content indicated by the push information on a page presenting the information for presentation;
in response to detecting that a second preset operation of the user on the information for presentation is performed, starting the client of the target application to display the content indicated by the push information in an application page of the client of the target application;
in response to detecting a third preset operation on the displayed content indicated by the push information, starting the client of the target application to display the content indicated by the push information in an application page of the client of the target application;
the acquiring and displaying the content indicated by the push information on the page presenting the information for presentation includes: and the plug-in sends the content identification to the server of the target application and receives the content indicated by the push information returned by the server of the target application based on the content identification.
2. The method of claim 1, wherein the first preset operation comprises at least one of: the three-dimensional touch screen comprises a heavy pressing operation and a sliding operation in a preset direction.
3. The method according to claim 1 or 2, wherein the content indicated by the push information comprises video and/or audio; and
the acquiring and displaying the content indicated by the push information on the page presenting the information for presentation includes: and the plug-in acquires and plays the video and/or audio on the page presenting the information for presentation.
4. The method according to claim 1 or 2, wherein the content indicated by the push information comprises text and/or images; and
the acquiring and displaying the content indicated by the push information on the page presenting the information for presentation includes: and the plug-in acquires and displays the characters and/or the images on the page presenting the information for presentation.
5. An apparatus for presenting information, comprising:
the receiving unit is configured to receive push information pushed by a server of a target application, wherein the push information comprises presentation information and a content identifier for identifying content indicated by the push information, and the presentation information is used for prompting a user that the push information is currently to be viewed;
a presentation unit configured to present the information for presentation to a user in a system notification manner;
the presentation unit is configured to send the push information to a plug-in of a client of the target application corresponding to a first preset operation in response to detecting the first preset operation of the user on the information for presentation, so that the plug-in executes a processing operation on the push information, wherein the processing operation comprises: acquiring and displaying the content indicated by the push information on a page presenting the information for presentation;
in response to detecting that a second preset operation of the user on the information for presentation is performed, starting the client of the target application to display the content indicated by the push information in an application page of the client of the target application;
the presentation unit is further configured to: in response to detecting a third preset operation on the displayed content indicated by the push information, starting the client of the target application to display the content indicated by the push information in an application page of the client of the target application;
the processing operations further comprise: and the plug-in sends the content identification to the server of the target application and receives the content indicated by the push information returned by the server of the target application based on the content identification.
6. A terminal device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
7. 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-4.
CN201910023982.9A 2019-01-10 2019-01-10 Method and device for displaying information Active CN109753332B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910023982.9A CN109753332B (en) 2019-01-10 2019-01-10 Method and device for displaying information
PCT/CN2020/070349 WO2020143555A1 (en) 2019-01-10 2020-01-03 Method and device used for displaying information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910023982.9A CN109753332B (en) 2019-01-10 2019-01-10 Method and device for displaying information

Publications (2)

Publication Number Publication Date
CN109753332A CN109753332A (en) 2019-05-14
CN109753332B true CN109753332B (en) 2020-09-11

Family

ID=66405571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910023982.9A Active CN109753332B (en) 2019-01-10 2019-01-10 Method and device for displaying information

Country Status (2)

Country Link
CN (1) CN109753332B (en)
WO (1) WO2020143555A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753332B (en) * 2019-01-10 2020-09-11 北京字节跳动网络技术有限公司 Method and device for displaying information
CN110619096B (en) * 2019-06-12 2022-08-23 北京无限光场科技有限公司 Method and apparatus for synchronizing data
CN112083982B (en) * 2019-06-14 2024-10-01 北京易数科技有限公司 Information processing method and device
CN113395200B (en) * 2020-03-12 2023-07-21 阿里巴巴集团控股有限公司 Message pushing method and system, client, storage medium and processor
CN113065063B (en) * 2021-03-18 2024-02-06 北京达佳互联信息技术有限公司 Information pushing and displaying method and related equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9880814B1 (en) * 2015-08-13 2018-01-30 F5 Networks, Inc. Dynamic generation of plugins based on user-customized catalogs

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8769558B2 (en) * 2008-02-12 2014-07-01 Sony Computer Entertainment America Llc Discovery and analytics for episodic downloaded media
US8601363B2 (en) * 2009-07-20 2013-12-03 Facebook, Inc. Communicating information about a local machine to a browser application
CN102420804B (en) * 2010-09-27 2016-02-24 中国电信股份有限公司 Client, information processing module of user's, content delivery method and system
US20130246538A1 (en) * 2012-03-13 2013-09-19 Sap Ag Delivering Notification in an Internal Network
CN103279271A (en) * 2013-06-17 2013-09-04 网易(杭州)网络有限公司 Method and device for pushing messages and method and device for receiving messages
CN104853254A (en) * 2015-05-26 2015-08-19 深圳市理奥网络技术有限公司 Video playing method and mobile terminal
CN105487886A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Method and device for loading plugin
CN105915599B (en) * 2016-04-12 2020-04-10 百度在线网络技术(北京)有限公司 Interface display method and device
CN108429782B (en) * 2017-09-12 2020-11-06 腾讯科技(深圳)有限公司 Information pushing method and device, terminal and server
CN108769093B (en) * 2018-03-28 2021-02-09 Oppo广东移动通信有限公司 Push method and device for software application store and mobile terminal
CN108874522A (en) * 2018-06-19 2018-11-23 北京五八信息技术有限公司 Message pushes setting method, device, computer equipment and readable storage medium storing program for executing
CN109753332B (en) * 2019-01-10 2020-09-11 北京字节跳动网络技术有限公司 Method and device for displaying information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9880814B1 (en) * 2015-08-13 2018-01-30 F5 Networks, Inc. Dynamic generation of plugins based on user-customized catalogs

Also Published As

Publication number Publication date
WO2020143555A1 (en) 2020-07-16
CN109753332A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN109753332B (en) Method and device for displaying information
CN109618177B (en) Video processing method and device, electronic equipment and computer readable storage medium
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN109976620B (en) Method, device, equipment and storage medium for determining list item display attribute information
US20220094758A1 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN109600656B (en) Video list display method and device, terminal equipment and storage medium
CN110619100B (en) Method and apparatus for acquiring data
CN111427647B (en) Page display method and device of application program, storage medium and electronic equipment
CN110069308B (en) Page starting method and device, electronic equipment and storage medium
CN109510881A (en) Method, apparatus, electronic equipment and the readable storage medium storing program for executing of sharing files
CN110865846B (en) Application management method, device, terminal, system and storage medium
CN111857858A (en) Method and apparatus for processing information
CN114531614B (en) Video playing method, device, electronic equipment and storage medium
CN110619101B (en) Method and apparatus for processing information
CN114489891A (en) Control method, system, device, readable medium and equipment of cloud application program
CN110908752A (en) Control setting method and device, electronic equipment and interaction system
CN109218793A (en) Video loading method, device, electronic equipment and computer readable storage medium
US20240073488A1 (en) Live video processing method and apparatus, device and medium
US20220215482A1 (en) User information processing method, apparatus, electronic device, and computer storage medium
CN110069186B (en) Method and equipment for displaying operation interface of application
US11750876B2 (en) Method and apparatus for determining object adding mode, electronic device and medium
CN115562527A (en) Comment information publishing method and device, electronic equipment and storage medium
CN111641691B (en) Session message transmission method and device and electronic equipment
WO2023011113A1 (en) Live-streaming content switching method and apparatus, live-streaming content display method and apparatus, and device and 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
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

CP01 Change in the name or title of a patent holder