WO2020143555A1 - 用于展现信息的方法和装置 - Google Patents

用于展现信息的方法和装置 Download PDF

Info

Publication number
WO2020143555A1
WO2020143555A1 PCT/CN2020/070349 CN2020070349W WO2020143555A1 WO 2020143555 A1 WO2020143555 A1 WO 2020143555A1 CN 2020070349 W CN2020070349 W CN 2020070349W WO 2020143555 A1 WO2020143555 A1 WO 2020143555A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
push information
presentation
target application
plug
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.)
Ceased
Application number
PCT/CN2020/070349
Other languages
English (en)
French (fr)
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
Publication of WO2020143555A1 publication Critical patent/WO2020143555A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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

Definitions

  • the embodiments of the present disclosure relate to the field of computer technology, and in particular, to methods and devices for presenting information.
  • Pushing information to the terminal device by the server of the application installed by the terminal device is a common way of pushing information.
  • the terminal device presents the information used to present to the user in the received push information to the user in a system notification manner.
  • the user can click on the information presented by the terminal device, and then the terminal device can start the client of the application that pushes this information, and the client further displays the detailed content indicated by this information.
  • the embodiments of the present disclosure propose a method and apparatus for presenting information.
  • an embodiment of the present disclosure provides a method for presenting information.
  • the method includes: receiving push information pushed by a server of a target application, where the push information includes presentation information, and the presentation information is used for The user prompts; presents the above-mentioned presentation information to the user; in response to detecting the user's first preset operation on the presentation information, sends push information to the plugin of the target application client corresponding to the first preset operation, so that The plug-in performs a processing operation on the push information, where the processing operation includes: acquiring and displaying the content indicated by the push information on the page presenting the above-mentioned presentation information.
  • the above method further includes: in response to detecting the user's second preset operation on the presentation information, launching the client of the target application to display the content indicated by the push information on the application page of the client of the target application .
  • the above method further includes: in response to detecting a third preset operation on the displayed content indicated by the push information, launching the client of the target application to display the push in the application page of the client of the target application The content indicated by the message.
  • the first preset operation includes at least one of the following: a re-press operation included in the stereoscopic touch screen, and a slide operation in a preset direction.
  • the push information further includes a content identifier 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 above-mentioned presentation information includes: corresponding to the first preset operation
  • the plug-in sends the content identification to the server of the target application and receives the content returned by the server of the target application based on the content identification and indicated by the push information.
  • the content indicated by the push information includes video and/or audio; and acquiring and displaying the content indicated by the push information on the page presenting the above-mentioned presentation information includes: acquiring the plug-in corresponding to the first preset operation and Video and/or audio is played on the page presenting the information for presentation.
  • the content indicated by the push information includes text and/or images; and acquiring and displaying the content indicated by the push information on the page presenting the above-mentioned presentation information includes: acquiring the plug-in corresponding to the first preset operation and The page on which the above-mentioned presentation information is displayed displays text and/or images.
  • an embodiment of the present disclosure provides an apparatus for presenting information.
  • the apparatus includes: a receiving unit configured to receive push information pushed by a server of a target application, where the push information includes information for presentation, The presentation information is used to prompt the user; the presentation unit is configured to present the above-mentioned presentation information to the user; the presentation unit is configured to respond to the target application of the first preset operation of the presentation information
  • the client-side plug-in corresponding to the first preset operation sends push information to enable the plug-in to perform a processing operation on the push information, where the processing operation includes: acquiring and displaying the content indicated by the push information on the page presenting the above-mentioned presentation information.
  • the above-mentioned presentation unit is further configured to: in response to detecting the user's second preset operation on the information for presentation, start the client of the target application to present the push information in the application page of the client of the target application The indicated content.
  • the above-mentioned presentation unit is further configured to: in response to detecting a third preset operation on the presented content indicated by the push information, start the client of the target application to open the application page of the client of the target application The content indicated by the push information is displayed in.
  • the first preset operation includes at least one of the following: a re-press operation included in the stereoscopic touch screen, and a slide operation in a preset direction.
  • the push information further includes a content identifier for identifying the content indicated by the push information; and the above presentation unit is further configured to: the plug-in corresponding to the first preset operation sends the content identifier to the server of the target application, And the content returned by the server receiving the target application based on the content identifier and indicated by the push information.
  • the content indicated by the push information includes video and/or audio; and the above presentation unit is further configured to: the plug-in corresponding to the first preset operation acquires and plays the video and/or video on the page presenting the above presentation information Or audio.
  • the content indicated by the push information includes text and/or images; and the above-mentioned presentation unit is further configured to: acquire the plug-in corresponding to the first preset operation and display the text and/or on the page presenting the above-mentioned presentation information Or images.
  • an embodiment of the present disclosure provides a terminal device including: one or more processors; a storage device for storing one or more programs; when one or more programs are Executed by one processor, so that one or more processors implement the method described in any one of the implementation manners of the first aspect.
  • an embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored, which when executed by a processor implements the method described in any one of the implementation manners of the first aspect.
  • the method and apparatus for presenting information provided by the embodiments of the present disclosure, by receiving the push information pushed by the server of the target application, wherein the push information includes information for presentation, and the information for presentation is used to prompt the user; present to the user
  • the above-mentioned presentation information in response to detecting the user's first preset operation on the presentation information, send push information to the plug-in corresponding to the first preset operation of the client of the target application, so that the plug-in performs the processing of the push information Operation, wherein the processing operation includes: acquiring and displaying the content indicated by the push information on the page presenting the above-mentioned presentation information, so that a plug-in of the client of the target application displays the push information indication on the page where the terminal device presents the push information Content.
  • this method avoids the time-consuming process of starting the target application, thereby helping to improve the content indicated by the push information Show speed.
  • FIG. 1 is an exemplary system architecture diagram to which an embodiment of the present disclosure can be applied;
  • FIG. 2 is a flowchart of one embodiment of a method for presenting information according to the present disclosure
  • FIG. 3 is a schematic diagram of an application scenario of a method for presenting information according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of yet another embodiment of a method for presenting information according to the present disclosure
  • FIG. 5 is a schematic structural diagram of an embodiment of an apparatus for presenting information according to the present disclosure
  • FIG. 6 is a schematic structural diagram of an electronic device suitable for implementing embodiments of the present disclosure.
  • FIG. 1 shows an exemplary architecture 100 of an embodiment of a method for presenting information or a device for presenting information to which the present disclosure can be applied.
  • the system architecture 100 may include a terminal device 101 and a server 102.
  • Various connection types (such as wired, wireless communication links, optical fiber cables, etc.) can be used for communication between the terminal device 101 and the server 102.
  • client applications may be installed on the terminal device 101.
  • client applications For example, browser applications, social applications, content sharing applications, etc.
  • the server 102 may be a back-end server that provides support for applications installed on the terminal device 101.
  • the server 102 can push information to the terminal device 101.
  • the operating system of the terminal device 101 may prompt the user that the push information is received in the form of a system notification.
  • the operating system of the terminal device 101 may also receive a user's request to view the content indicated by the push information, and start the client of the corresponding application to display the content indicated by the push information.
  • the applications installed on the terminal device 101 may also have some plug-ins to provide other extended functions.
  • the terminal device 101 detects a user operation corresponding to the plug-in, the operating system of the terminal device 101 may call the plug-in to implement the corresponding function.
  • the terminal device 101 may be hardware or software.
  • the terminal device 101 may be various electronic devices capable of installing client applications, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and so on.
  • the terminal device 101 is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, multiple software or software modules used to provide distributed services) or as a single software or software module. There is no specific limit here.
  • the method for presenting information provided by the embodiments of the present disclosure is generally performed by the terminal device 101, and accordingly, the apparatus for presenting information is generally provided in the terminal device 101.
  • the server 102 may be hardware or software.
  • the server When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server.
  • the server When the server is software, it can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or as a single software or software module. There is no specific limit here.
  • terminal devices and servers in FIG. 1 are only schematic. According to the implementation needs, there can be any number of terminal devices and servers.
  • FIG. 2 shows a flow 200 of one embodiment of a method for presenting information according to the present disclosure.
  • the method for presenting information includes the following steps:
  • Step 201 Receive push information pushed by the server of the target application, where the push information includes information for presentation.
  • the target application may be an application that is pre-designated by a technician and installed on the execution subject (the terminal device shown in FIG. 1) of the method for displaying information.
  • the target application may also be an application corresponding to the push information received by the execution agent.
  • the push information can be various information. Specifically, according to different application scenarios and product requirements, the content and form of the push information may be different. For example, for terminal devices with different operating systems, the form of the push information that the terminal device can receive and display may be different.
  • the presentation information is used to prompt the user.
  • the presentation information can be used to prompt the user that there is currently push information to be viewed.
  • 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 the content that the server that sends the push information (the server 102 shown in FIG. 1) wants the user to access.
  • the content indicated by the push information may also be the content introduced by the presentation information.
  • the push information may further include a content identifier for identifying the content indicated by the push information.
  • the content indicated by the push information is the content corresponding to the content identifier included in the push information.
  • the content identification may be various forms of identification.
  • the content identifier may be the storage location of the content indicated by the push information in the database of the server of the target application.
  • the content identifier may be a link address of the content indicated by the push information. The content indicated by the push information can be found according to the content identification.
  • the content indicated by the push information may include at least one of video, audio, text, and image.
  • Step 202 Present the above-mentioned presentation information to the user.
  • the above-mentioned execution subject may present the received presentation information to the user in the form of a system notification.
  • a system notification there may be various ways of presenting the received presentation information.
  • 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 different terminal devices have different ways of displaying information.
  • Step 203 In response to detecting the first preset operation of the user for the presentation information, send push information to the plug-in corresponding to the first preset operation of the client of the target application, so that the plug-in performs the processing operation of the push information.
  • the first preset operation may be various user operations specified by a technician in advance.
  • the user operation may be a double-click operation, a sliding operation, a gesture action above the terminal device, and so on.
  • user operations that can be detected by different terminal devices are different. Therefore, user operations that can be detected and recognized by the terminal device can be set as the first preset operations according to specific application requirements.
  • the terminal devices may be set as a first preset operation to perform a re-pressing operation included in the stereoscopic touchscreen on the information for presentation.
  • a sliding operation of the presentation information in a preset direction may be set as the first preset operation.
  • the plug-in may refer to a program written by a technician according to application requirements, and is used to provide some specific functions for the client of the target application.
  • the plug-in may be some extension (Extension), Plugin, Add-on, etc.
  • the plug-in of the client of the target application may refer to a program written according to the application program interface disclosed by the target application.
  • the plug-in of the client of the target application can be used to extend the functions provided by the target application.
  • Technical staff can write plug-ins that can provide the functions that need to be implemented according to specific business needs or product needs.
  • the plug-in of the client of the target application can be bound and installed with the client of the target application. That is, the plug-in is installed at the same time as the client of the target application is installed.
  • the plugin of the client of the target application can also be installed independently. That is, after installing the client of the target application, the plug-in is installed using the installation package or the installation program corresponding to the plug-in.
  • the plug-in of the client of the target application can run independently of the client of the target application. Since the plug-in of the client of the target application usually provides some specific functions, the size of the plug-in of the client of the target application is usually smaller than that of the client of the target application. Therefore, the system resources consumed or occupied by the plug-in of the client running the target application independently are relatively low. Correspondingly, the response speed of the plug-in of the client of the target application is relatively fast.
  • the client of the target application may have one or more plug-ins, each providing different functions.
  • the user operation that triggers the operation of the plug-in may be preset by a technician.
  • the first preset operation may be used to trigger the operation of the corresponding plug-in.
  • the plug-in corresponding to the first preset operation may be used to process the push information pushed by the server of the target application to the terminal device.
  • the installation directory of the target application is usually registered in the operating system.
  • the plug-in corresponding to the first preset operation may be searched for from the installation directory of the registered target application and the plug-in may be started.
  • the plug-in corresponding to the first preset operation may perform the following processing operations on the push information sent from the terminal device: acquiring and displaying the content indicated by the push information on the page presenting the above-mentioned presentation information.
  • the plug-in corresponding to the first preset operation may first obtain the content indicated by the push information, and then display the content indicated by the push information on the page presenting the above-mentioned presentation information.
  • 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.
  • the plug-in corresponding to the first preset operation may locally obtain the content indicated by the push information according to the storage address.
  • the content indicated by the push information may be stored in the server of the target application, and the push information may include the content identifier of the content indicated by the push information.
  • the plug-in corresponding to the first preset operation may send the content identification to the server of the target application and receive the content returned by the server of the target application based on the content identification and indicated by the push information.
  • the plug-in corresponding to the first preset operation may implement the presentation of the content indicated by the obtained push information on the page presenting the above presentation information.
  • the page presenting the above presentation information may refer to the page where the execution subject presents the above presentation information.
  • the execution agent when the execution agent presents the above-mentioned presentation information in a pop-up page box at the top of a certain direction by way of system notification, the content indicated by the push information may be displayed in the pop-up page box presenting the above-mentioned presentation information .
  • the above-mentioned execution subject may call a plug-in corresponding to the first preset operation Play video and/or audio on the page presenting the information for presentation.
  • the above-mentioned execution subject may call a plug-in corresponding to the first preset operation Text and/or images are displayed on the page where the information for presentation is presented.
  • the plug-in corresponding to the first preset operation is pre-written by the technician according to actual application requirements. Therefore, in some application scenarios, the plug-in corresponding to the first preset operation may present other content according to the requirement in addition to the content indicated by the push information on the page presenting the above-mentioned presentation information.
  • the plug-in corresponding to the first preset operation plays the video and/or audio on the page presenting the above-mentioned presentation information
  • it may also present the above-mentioned presentation information
  • the page provides other operations such as interaction with the video and/or audio played.
  • a comment area and the like for commenting on the video and/or audio played can be provided.
  • FIG. 3 is a schematic diagram 300 of an application scenario of the method for presenting information according to this embodiment.
  • the terminal device 301 may receive the push information 304 sent by the server 303 of the target application 302 installed thereon.
  • the push information 304 includes presentation information and video content identification.
  • the presentation information is "XX has released a new video”
  • the video content identification is "ID1".
  • the terminal device 301 may present the presentation information included in the received push information 304 to the user in a system notification manner (as indicated by reference numeral 305 in the figure).
  • the user can press the presentation information (as indicated by reference number 306 in the figure).
  • the terminal device 301 can search for the plug-in "A" in the installation directory of the client of the target application 302, and call the plug-in "A” 307 to play the video. Specifically, the terminal device may send the plug-in "A” 307 the video content identifier "ID1" contained in the push information 304. Then, the plug-in "A” 307 sends a request to the server 303 to obtain the video content with the video content identifier "ID1", and receives the video 308 returned by the server 303 based on the request. Further, the plug-in "A” can control the video 308 to be played on the page displaying the information for presentation (as indicated by reference number 309 in the figure).
  • the terminal device may start the plug-in of the client of the target application corresponding to the user operation to display the detailed content of the push information pushed by the server of the target application.
  • This method uses the plug-in of the client of the target application to process the push information without starting the client of the target application, thereby speeding up the processing speed of the push information and reducing the resource consumption of the terminal device.
  • Step 401 Receive push information pushed by a server of a target application, where the push information includes information for presentation.
  • Step 402 presenting the above-mentioned presentation information to the user.
  • Step 403 In response to detecting the user's first preset operation on the presentation information, send push information to the plug-in corresponding to the first preset operation of the client of the target application, so that the plug-in performs the processing operation of the push information.
  • steps 401, 402, and 403 For the specific execution process of the above steps 401, 402, and 403, reference may be made to the relevant description of steps 201, 202, and 203 in the embodiment corresponding to FIG. 2, and details are not described herein again.
  • Step 404 in response to detecting the user's second preset operation on the information for presentation, start the client of the target application to display the content indicated by the push information in the application page of the client of the target application.
  • pressing can be set as the first preset operation, and clicking can be set as the second preset operation.
  • the third preset operation After the user represses the presentation information to call the plug-in of the target application to control the page where the presentation information is located to directly display the content indicated by the push information. You can press the displayed content to start the client of the target application to display the content indicated by the push information.
  • first preset operation In order to facilitate description of various user operations, the user operations are named first preset operation, second preset operation, and third preset operation, respectively. Those skilled in the art should understand that the first, second, or third of them does not constitute a special limitation on the preset operation.
  • the process 400 for presenting information in this embodiment highlights the difference in the content indicated by the push information that can trigger the target application according to different operations of the user Display mode, thus providing a more flexible way of displaying information.
  • users can choose different presentation methods according to actual needs, which also helps to improve the access rate of push information.
  • the present disclosure provides an embodiment of a device for displaying information, which corresponds to the method embodiment shown in FIG. 2, and the device is specific It can be applied to various electronic devices.
  • the apparatus 500 for presenting information includes a receiving unit 501, a presenting unit 502, and a presenting unit 503.
  • the receiving unit 501 is configured to receive the push information pushed by the server of the target application, wherein the push information includes presentation information, and the presentation information is used to prompt the user;
  • the presentation unit 502 is configured to present the above presentation to the user Information;
  • the presentation unit 503 is configured to send push information to the plug-in corresponding to the first preset operation of the client of the target application in response to detecting the user's first preset operation on the presentation information, so that the plug-in performs the push Information processing operations, where the processing operations include: acquiring and presenting the content indicated by the push information on a page presenting the above presentation information.
  • step 201 the specific processing of the receiving unit 501, the presenting unit 502, and the presenting unit 503 and the technical effects they bring can be referred to step 201, The relevant descriptions of step 202 and step 203 will not be repeated here.
  • the above-mentioned presentation unit 503 is further configured to: in response to detecting a second preset operation of the user for presentation information, start the client of the target application The content indicated by the push information is displayed on the application page of the client.
  • the above-mentioned presentation unit 503 is further configured to: in response to detecting a third preset operation on the presented content indicated by the push information, start the client of the target application to The content indicated by the push information is displayed on the application page of the client of the target application.
  • the first preset operation includes at least one of the following: a re-press operation included in the stereo touch screen, and a slide operation in a preset direction.
  • the push information further includes a content identifier for identifying the content indicated by the push information; and the above-mentioned presentation unit 503 is further configured to: the plug-in corresponding to the first preset operation is directed to the target The server of the application sends the content identifier, and the server that receives the target application returns the content indicated by the push information based on the content identifier.
  • the content indicated by the push information includes video and/or audio; and the above-mentioned presentation unit 503 is further configured to: obtain the plug-in corresponding to the first preset operation and present the above presentation Use the information page to play video and/or audio.
  • the content indicated by the push information includes text and/or images; and the above-mentioned presentation unit 503 is further configured to: acquire the plug-in corresponding to the first preset operation and present the above presentation Use the information page to display text and/or images.
  • the device provided by the above embodiment of the present disclosure receives the push information pushed by the server of the target application through the receiving unit, where the push information includes presentation information, and the presentation information is used to prompt the user; the presentation unit presents the above presentation to the user In response to detecting the user's first preset operation on the presentation information, the presentation unit sends push information to the plug-in corresponding to the first preset operation of the client of the target application, so that the plug-in performs the processing of the push information Operation, wherein the processing operation includes: acquiring and displaying the content indicated by the push information on the page presenting the above-mentioned presentation information, so that a plug-in of the client of the target application displays the push information indication on the page where the terminal device presents the push information Content.
  • this method avoids the time-consuming process of starting the target application, thereby helping to improve the content indicated by the push information Show speed.
  • FIG. 6 shows a schematic structural diagram of an electronic device (eg, terminal device in FIG. 1) 600 suitable for implementing embodiments of the present disclosure.
  • the terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals ( For example, mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal device shown in FIG. 6 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present disclosure.
  • the electronic device 600 may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which may be loaded into random access according to a program stored in a read-only memory (ROM) 602 or from the storage device 608
  • a processing device such as a central processing unit, a graphics processor, etc.
  • the program in the memory (RAM) 603 performs various appropriate operations and processes.
  • various programs and data necessary for the operation of the electronic device 600 are also stored.
  • the processing device 601, ROM 602, and RAM 603 are connected to each other via a bus 604.
  • An input/output (I/O) interface 605 is also connected to the bus 604.
  • the following devices can be connected to the I/O interface 605: including input devices 606 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speaker, vibration
  • input devices 606 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.
  • LCD liquid crystal display
  • An output device 607 such as a storage device
  • a storage device 608 such as a storage device 608
  • the communication device 609 may allow the electronic device 600 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 6 shows an electronic device 600 having various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead. Each block shown in FIG. 6 may represent one device or multiple devices as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 609, or from the storage device 608, or from the ROM 602.
  • the processing device 601 the above-described functions defined in the method of the embodiments of the present disclosure are executed.
  • the computer program code for performing the operations of the embodiments of the present disclosure may be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include Conventional procedural programming language-such as "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, using an Internet service provider to Connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code that contains one or more logic functions Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession can actually be executed in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • the units described in the embodiments of the present disclosure may be implemented in software or hardware.
  • the described unit may also be provided in the processor.
  • a processor includes a processor, including a receiving unit, a presentation unit, and a presentation unit.
  • the names of these units do not constitute a limitation on the unit itself.
  • the presentation unit may also be described as "a unit that presents the above-mentioned presentation information to the user.”

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

一种用于展现信息的方法和装置,该方法的包括:接收目标应用的服务端推送的推送信息,其中,推送信息包括呈现用信息(S201);向用户呈现上述呈现用信息(S202);响应于检测到用户对呈现用信息的第一预设操作,向目标应用的客户端的、对应于第一预设操作的插件发送推送信息,以使插件执行对推送信息的处理操作(S203)。该方法实现了一种由目标应用的客户端的插件在终端设备呈现推送信息的页面上展现推送信息指示的内容的方式。

Description

用于展现信息的方法和装置
相关申请的交叉引用
本申请基于申请号为201910023982.9、申请日为2019年01月10日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开的实施例涉及计算机技术领域,具体涉及用于展现信息的方法和装置。
背景技术
终端设备安装的应用的服务端向终端设备推送信息是常用的一种信息推送方式。通常终端设备将接收到的推送信息中的、用于向用户呈现的信息以系统通知的方式呈现给用户。
一般地,用户可以点击终端设备呈现的信息,之后终端设备可以启动推送这条信息的应用的客户端,由客户端进一步展示这条信息指示的详细内容。
发明内容
本公开的实施例提出了用于展现信息的方法和装置。
第一方面,本公开的实施例提供了一种用于展现信息的方法,该方法包括:接收目标应用的服务端推送的推送信息,其中,推送信息包括呈现用信息,呈现用信息用于对用户进行提示;向用户呈现上述呈现用信息;响应于检测到用户对呈现用信息的第一预设操作,向目标应用的客户端的、对应于第一预设操作的插件发送推送信息,以使插件执行对推送信息的处理操作,其中,处理操作包括:获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容。
在一些实施例中,上述方法还包括:响应于检测到用户对呈现用 信息的第二预设操作,启动目标应用的客户端,以在目标应用的客户端的应用页面中展现推送信息指示的内容。
在一些实施例中,上述方法还包括:响应于检测到对展现的、推送信息指示的内容的第三预设操作,启动目标应用的客户端,以在目标应用的客户端的应用页面中展现推送信息指示的内容。
在一些实施例中,第一预设操作包括以下至少一项:立体触屏包括的重按操作、预设方向的滑动操作。
在一些实施例中,推送信息还包括用于标识推送信息指示的内容的内容标识;以及获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容,包括:对应于第一预设操作的插件向目标应用的服务端发送内容标识,以及接收目标应用的服务端基于内容标识返回的、推送信息指示的内容。
在一些实施例中,推送信息指示的内容包括视频和/或音频;以及获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容,包括:对应于第一预设操作的插件获取以及在呈现上述呈现用信息的页面播放视频和/或音频。
在一些实施例中,推送信息指示的内容包括文字和/或图像;以及获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容,包括:对应于第一预设操作的插件获取以及在呈现上述呈现用信息的页面显示文字和/或图像。
第二方面,本公开的实施例提供了一种用于展现信息的装置,该装置包括:接收单元,被配置成接收目标应用的服务端推送的推送信息,其中,推送信息包括呈现用信息,呈现用信息用于对用户进行提示;呈现单元,被配置成向用户呈现上述呈现用信息;展现单元,被配置成响应于检测到用户对呈现用信息的第一预设操作,向目标应用的客户端的、对应于第一预设操作的插件发送推送信息,以使插件执行对推送信息的处理操作,其中,处理操作包括:获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容。
在一些实施例中,上述展现单元进一步被配置成:响应于检测到用户对呈现用信息的第二预设操作,启动目标应用的客户端,以在目 标应用的客户端的应用页面中展现推送信息指示的内容。
在一些实施例中,上述展现单元进一步被配置成:响应于检测到对展现的、推送信息指示的内容的第三预设操作,启动目标应用的客户端,以在目标应用的客户端的应用页面中展现推送信息指示的内容。
在一些实施例中,第一预设操作包括以下至少一项:立体触屏包括的重按操作、预设方向的滑动操作。
在一些实施例中,推送信息还包括用于标识推送信息指示的内容的内容标识;以及上述展现单元进一步被配置成:对应于第一预设操作的插件向目标应用的服务端发送内容标识,以及接收目标应用的服务端基于内容标识返回的、推送信息指示的内容。
在一些实施例中,推送信息指示的内容包括视频和/或音频;以及上述展现单元进一步被配置成:对应于第一预设操作的插件获取以及在呈现上述呈现用信息的页面播放视频和/或音频。
在一些实施例中,推送信息指示的内容包括文字和/或图像;以及上述展现单元进一步被配置成:对应于第一预设操作的插件获取以及在呈现上述呈现用信息的页面显示文字和/或图像。
第三方面,本公开的实施例提供了一种终端设备,该终端设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中任一实现方式描述的方法。
第四方面,本公开的实施例提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面中任一实现方式描述的方法。
本公开的实施例提供的用于展现信息的方法和装置,通过接收目标应用的服务端推送的推送信息,其中,推送信息包括呈现用信息,呈现用信息用于对用户进行提示;向用户呈现上述呈现用信息;响应于检测到用户对呈现用信息的第一预设操作,向目标应用的客户端的、对应于第一预设操作的插件发送推送信息,以使插件执行对推送信息的处理操作,其中,处理操作包括:获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容,从而实现了一种由目标应用的客户 端的插件在终端设备呈现推送信息的页面上展现推送信息指示的内容的方式。这种方式和启动目标应用的客户端并由客户端展现推送信息指示的内容的方式相比,由于避免了启动目标应用这一比较耗时的过程,从而有助于提升推送信息指示的内容的展现速度。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本公开的其它特征、目的和优点将会变得更明显:
图1是本公开的一个实施例可以应用于其中的示例性系统架构图;
图2是根据本公开的用于展现信息的方法的一个实施例的流程图;
图3是根据本公开的实施例的用于展现信息的方法的一个应用场景的示意图;
图4是根据本公开的用于展现信息的方法的又一个实施例的流程图;
图5是根据本公开的用于展现信息的装置的一个实施例的结构示意图;
图6是适于用来实现本公开的实施例的电子设备的结构示意图。
具体实施方式
下面结合附图和实施例对本公开作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。
需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。
图1示出了可以应用本公开的用于展现信息的方法或用于展现信息的装置的实施例的示例性架构100。
如图1所示,系统架构100可以包括终端设备101和服务器102。终端设备101和服务器102之间可以通过各种连接类型(如有线、无线通信链路或者光纤电缆等等)进行通信连接。
终端设备101上可以安装有各种客户端应用。例如浏览器类应用、社交类应用、内容分享类应用等。服务器102可以是为终端设备101上安装的应用提供支持的后端服务器。
服务器102可以向终端设备101推送信息。终端设备101的操作系统可以以系统通知的方式提示用户接收到了推送信息。终端设备101的操作系统还可以接收用户的查看推送信息指示的内容的请求,并启动对应的应用的客户端来展现推送信息指示的内容。
如图1所示,终端设备101上所安装的应用除了安装的客户端,还可以有一些插件来提供其它扩展的功能。终端设备101在检测到对应于插件的用户操作时,可以由终端设备101的操作系统调用插件来实现相应的功能。
终端设备101可以是硬件,也可以是软件。当终端设备101为硬件时,可以是能够安装客户端应用的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。当终端设备101为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的多个软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。
需要说明的是,本公开的实施例所提供的用于展现信息的方法一般由终端设备101执行,相应地,用于展现信息的装置一般设置于终端设备101中。
需要说明的是,服务器102可以是硬件,也可以是软件。当服务器为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务的多个软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。
应该理解,图1中的终端设备和服务器的数目仅仅是示意性的。 根据实现需要,可以具有任意数目的终端设备和服务器。
继续参考图2,其示出了根据本公开的用于展现信息的方法的一个实施例的流程200。该用于展现信息的方法包括以下步骤:
步骤201,接收目标应用的服务端推送的推送信息,其中,推送信息包括呈现用信息。
在本实施例中,目标应用可以是由技术人员预先指定的、安装于用于展示信息的方法的执行主体(如图1所示的终端设备)上的应用。目标应用也可以是上述执行主体接收到的推送信息对应的应用。
其中,推送信息可以为各种各样的信息。具体地,根据不同的应用场景和产品需求,推送信息的内容和形式可以不同。例如,对于不同操作系统的终端设备来说,终端设备能够接收以及显示的推送信息的形式可能有所差别。
其中,呈现用信息用于对用户进行提示。呈现用信息可以用于向用户提示当前有推送信息待查看。当然,呈现用信息的内容还可以包括与推送信息指示的内容相关的信息。
推送信息指示的内容可以指发送推送信息的服务端(如图1所示的服务器102)想要用户访问的内容。推送信息指示的内容也可以是呈现用信息所介绍的内容。
在本实施例的一些可选的实现方式中,推送信息还可以包括用于标识推送信息指示的内容的内容标识。此时,推送信息指示的内容即为推送信息包括的内容标识对应的内容。
其中,内容标识可以是各种形式的标识。例如,内容标识可以是推送信息指示的内容在目标应用的服务端的数据库中的存储位置。又例如,内容标识可以是推送信息指示的内容的链接地址等。根据内容标识可以查找到推送信息指示的内容。
在本实施例的一些可选的实现方式中,推送信息指示的内容可以包括视频、音频、文字、图像中的至少一项。
步骤202,向用户呈现上述呈现用信息。
在本实施例中,上述执行主体可以以系统通知的方式向用户呈现 接收到的呈现用信息。其中,呈现接收到的呈现用信息的方式可以各种各样。例如,可以在终端设备的预设区域弹出信息提示框来呈现接收到的呈现用信息。应当可以理解,不同的终端设备的展示信息的方式有所差别。
步骤203,响应于检测到用户对呈现用信息的第一预设操作,向目标应用的客户端的、对应于第一预设操作的插件发送推送信息,以使插件执行对推送信息的处理操作。
在本实施例中,第一预设操作可以是技术人员预先指定的各种用户操作。例如,用户操作可以为双击操作、滑动操作、在终端设备上方的手势动作等等。
在具体的应用场景下,由于不同的终端设备所能检测到的用户操作有所差别,因此,可以根据具体的应用需求设置终端设备可以检测以及识别的用户操作作为第一预设操作。
作为示例,对于一些支持立体触屏的终端设备来说,可以设置对呈现用信息执行立体触屏包括的重按操作作为第一预设操作。
可选地,对于具有触摸屏的终端设备来说,可以设置对呈现用信息在预设方向的滑动操作作为第一预设操作。
在本实施例中,插件可以指技术人员根据应用需求编写出来的程序,用于为目标应用的客户端提供一些特定的功能。例如,插件可以是一些扩展(Extension)、Plugin、Add-on等等。
其中,目标应用的客户端的插件可以指根据目标应用所公开的应用程序接口编写出的程序。目标应用的客户端的插件可以用于扩展目标应用提供的功能。技术人员可以根据具体的业务需求或产品需求,编写可以提供需要实现的功能的插件。
其中,目标应用的客户端的插件可以与目标应用的客户端绑定安装。即在安装目标应用的客户端的同时,就安装插件。目标应用的客户端的插件也可以独立安装。即先安装目标应用的客户端之后,再利用插件对应的安装包或安装程序安装插件。
目标应用的客户端的插件的运行可以独立于目标应用的客户端。由于目标应用的客户端的插件通常提供一些特定的功能,因此,目标 应用的客户端的插件的大小通常比目标应用的客户端小。因此,独立运行目标应用的客户端的插件所耗费或所占用的系统资源是较低的。对应地,目标应用的客户端的插件的响应速度是较快的。
其中,目标应用的客户端可以有一个或一个以上的插件,分别提供不同的功能实现。插件的运行需要由终端设备检测到的用户操作来触发时,可以由技术人员预先设置触发插件的运行的用户操作。
在本实施例中,第一预设操作可以用于触发对应的插件的运行。第一预设操作对应的插件可以用于处理目标应用的服务端向终端设备推送的推送信息。
上述执行主体在安装目标应用时,通常会在操作系统中注册目标应用的安装目录。此时,在接收到第一预设操作时,可以从注册的目标应用的安装目录下查找与第一预设操作对应的插件并启动插件。
其中,第一预设操作对应的插件可以对终端设备发送过来的推送信息执行如下处理操作:获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容。
具体地,第一预设操作对应的插件可以先获取推送信息指示的内容,然后在呈现上述呈现用信息的页面展现推送信息指示的内容。
可选地,推送信息指示的内容可以存储于终端设备的本地,推送信息中可以包括推送信息指示的内容的存储地址。此时,第一预设操作对应的插件可以根据存储地址从本地获取推送信息指示的内容。
可选地,推送信息指示的内容可以存储于目标应用的服务端,推送信息中可以包括推送信息指示的内容的内容标识。此时,第一预设操作对应的插件可以向目标应用的服务端发送内容标识,以及接收目标应用的服务端基于内容标识返回的、推送信息指示的内容。
第一预设操作对应的插件可以实现在呈现上述呈现用信息的页面展现获取到的推送信息指示的内容。其中,呈现上述呈现用信息的页面可以指上述执行主体呈现上述呈现用信息的页面。
例如,在上述执行主体以系统通知的方式在其某一方向的顶部以弹出的页面框呈现上述呈现用信息时,则可以在弹出的呈现上述呈现用信息的页面框中展现推送信息指示的内容。
在本实施例的一些可选的实现方式中,在推送信息指示的内容包括视频和/或音频时,在检测到第一预设操作之后,上述执行主体可以调用第一预设操作对应的插件在呈现上述呈现用信息的页面播放视频和/或音频。
在本实施例的一些可选的实现方式中,在推送信息指示的内容包括文字和/或图像时,在检测到第一预设操作之后,上述执行主体可以调用第一预设操作对应的插件在呈现上述呈现用信息的页面显示文字和/或图像。
由于第一预设操作对应的插件是由技术人员预先根据实际的应用需求编写的。因此,在一些应用场景下,第一预设操作对应的插件在呈现上述呈现用信息的页面除了展现推送信息指示的内容之外,还可以根据需求展现其它的内容。
例如,在推送信息指示的内容包括视频和/或音频时,第一预设操作对应的插件在呈现上述呈现用信息的页面播放视频和/或音频的同时,还可以在呈现上述呈现用信息的页面提供其它如和播放的视频和/或音频互动的操作入口。作为示例,可以提供用于评论播放的视频和/或音频的评论区域等。
继续参见图3,图3是根据本实施例的用于展现信息的方法的应用场景的一个示意图300。在图3的应用场景中,终端设备301可以接收其上安装的目标应用302的服务器303发送的推送信息304。如图中所示,推送信息304包括呈现用信息和视频内容标识。其中,呈现用信息为“XX发布新视频了”,视频内容标识为“ID1”。
之后,终端设备301可以以系统通知的方式向用户呈现接收到的推送信息304中包括的呈现用信息(如图中标号305所示)。用户想要查看视频的具体内容时,可以重压呈现用信息(如图中标号306所示)。
终端设备301在检测到用户对呈现用信息的重压操作之后,可以在目标应用302的客户端的安装目录下查找插件“A”,以及调用插件“A”307来实现视频的播放。具体地,终端设备可以向插件“A”307发送推送信息304中包含的视频内容标识“ID1”。然后,插件“A”307向服务器303发送获取视频内容标识为“ID1”的视频内容的请求, 以及接收服务器303基于该请求返回的视频308。进一步地,插件“A”可以控制在显示呈现用信息的页面上播放视频308(如图中标号309所示)。
本公开的上述实施例提供的方法根据用户的操作,可以由终端设备启动用户操作对应的目标应用的客户端的插件来展现目标应用的服务器推送的推送信息的详细内容。这种方式借助目标应用的客户端的插件来实现对推送信息的处理,而无需启动目标应用的客户端,从而加快了推送信息的处理速度,而且减轻了终端设备的资源消耗。
进一步参考图4,其示出了用于展现信息的方法的又一个实施例的流程400。该用于展现信息的方法的流程400,包括以下步骤:
步骤401,接收目标应用的服务端推送的推送信息,其中,推送信息包括呈现用信息。
步骤402,向用户呈现上述呈现用信息。
步骤403,响应于检测到用户对呈现用信息的第一预设操作,向目标应用的客户端的、对应于第一预设操作的插件发送推送信息,以使插件执行对推送信息的处理操作。
上述步骤401、402和403的具体的执行过程可参考图2对应实施例中的步骤201、202和203的相关说明,在此不再赘述。
步骤404,响应于检测到用户对呈现用信息的第二预设操作,启动目标应用的客户端,以在目标应用的客户端的应用页面中展现推送信息指示的内容。
在本实施例中,第二预设操作可以为技术人员预先指定的用户操作。在检测到第二预设操作时,上述执行主体可以启动目标应用的客户端来展现推送信息指示的内容。
这种情况下,根据用户对呈现用信息的操作的不同而提供不同的展现方式,提升推送信息指示的内容的展示方式的灵活性。用户可以根据自己的倾向选择一种展现推送信息指示的内容的方式。想要启动客户端查看时,可以对呈现用信息执行第二预设操作,想要在呈现用信息所在页面直接查看时,可以对呈现用信息执行第一预设操作。
作为示例,对于支持立体触屏的点击和重压的操作的终端设备来说,可以设置重压为第一预设操作,设置点击为第二预设操作。此时,在用户重压呈现用信息时,调用目标应用的插件来控制在呈现用信息所在的页面直接展现推送信息指示的内容。在用户点击呈现用信息时,调用目标应用的客户端来展现推送信息指示的内容。
步骤405,响应于检测到对展现的、推送信息指示的内容的第三预设操作,启动目标应用的客户端,以在目标应用的客户端的应用页面中展现推送信息指示的内容。
在本实施例中,第三预设操作可以为技术人员预先指定的用户操作。在由目标应用的插件来控制在呈现用信息所在的页面直接展现推送信息指示的内容,用户可以对当前展现的页面执行第三操作以启动目标应用的客户端,切换至客户端来展现推送信息指示的内容。
由于客户端所能呈现的内容比较丰富,因此,在用户想要获取推送信息指示的内容的更加详细的信息,或者想要查看其它相关内容时,可以执行第三预设操作以启动目标应用的客户端,从而在目标应用的客户端查看更丰富的信息。
作为示例,对于支持立体触屏的单击、轻按、重压的操作的终端设备来说,可以设置重压为第一预设操作,设置点击为第二预设操作,同时设置请按为第三预设操作。此时,在用户重压呈现用信息以调用目标应用的插件来控制在呈现用信息所在的页面直接展现推送信息指示的内容后。可以请按展现的内容,从而启动目标应用的客户端来展现推送信息指示的内容。
需要说明的是,为了便于描述各种用户操作,将用户操作分别命名为第一预设操作、第二预设操作、第三预设操作。本领域技术人员应当理解,其中的第一、第二或第三并不构成对预设操作的特殊限定。
从图4中可以看出,与图2对应的实施例相比,本实施例中的用于展现信息方法的流程400突出了可以根据用户的不同操作触发目标应用的推送信息指示的内容的不同展现方式,从而提供更为灵活的信息展示方式。同时,用户可以根据实际需求选择不同的展现方式,也有助于提升推送信息的访问率。
进一步参考图5,作为对上述各图所示方法的实现,本公开提供了用于展现信息的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图5所示,本实施例提供的用于展现信息的装置500包括接收单元501、呈现单元502和展现单元503。其中,接收单元501被配置成接收目标应用的服务端推送的推送信息,其中,推送信息包括呈现用信息,呈现用信息用于对用户进行提示;呈现单元502被配置成向用户呈现上述呈现用信息;展现单元503被配置成响应于检测到用户对呈现用信息的第一预设操作,向目标应用的客户端的、对应于第一预设操作的插件发送推送信息,以使插件执行对推送信息的处理操作,其中,处理操作包括:获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容。
在本实施例中,用于展现信息的装置500中:接收单元501、呈现单元502和展现单元503的具体处理及其所带来的技术效果可分别参考图2对应实施例中的步骤201、步骤202和步骤203的相关说明,在此不再赘述。
在本实施例的一些可选的实现方式中,上述展现单元503进一步被配置成:响应于检测到用户对呈现用信息的第二预设操作,启动目标应用的客户端,以在目标应用的客户端的应用页面中展现推送信息指示的内容。
在本实施例的一些可选的实现方式中,上述展现单元503进一步被配置成:响应于检测到对展现的、推送信息指示的内容的第三预设操作,启动目标应用的客户端,以在目标应用的客户端的应用页面中展现推送信息指示的内容。
在本实施例的一些可选的实现方式中,第一预设操作包括以下至少一项:立体触屏包括的重按操作、预设方向的滑动操作。
在本实施例的一些可选的实现方式中,推送信息还包括用于标识推送信息指示的内容的内容标识;以及上述展现单元503进一步被配置成:对应于第一预设操作的插件向目标应用的服务端发送内容标识, 以及接收目标应用的服务端基于内容标识返回的、推送信息指示的内容。
在本实施例的一些可选的实现方式中,推送信息指示的内容包括视频和/或音频;以及上述展现单元503进一步被配置成:对应于第一预设操作的插件获取以及在呈现上述呈现用信息的页面播放视频和/或音频。
在本实施例的一些可选的实现方式中,推送信息指示的内容包括文字和/或图像;以及上述展现单元503进一步被配置成:对应于第一预设操作的插件获取以及在呈现上述呈现用信息的页面显示文字和/或图像。
本公开的上述实施例提供的装置,通过接收单元接收目标应用的服务端推送的推送信息,其中,推送信息包括呈现用信息,呈现用信息用于对用户进行提示;呈现单元向用户呈现上述呈现用信息;展现单元响应于检测到用户对呈现用信息的第一预设操作,向目标应用的客户端的、对应于第一预设操作的插件发送推送信息,以使插件执行对推送信息的处理操作,其中,处理操作包括:获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容,从而实现了一种由目标应用的客户端的插件在终端设备呈现推送信息的页面上展现推送信息指示的内容的方式。这种方式和启动目标应用的客户端并由客户端展现推送信息指示的内容的方式相比,由于避免了启动目标应用这一比较耗时的过程,从而有助于提升推送信息指示的内容的展现速度。
下面参考图6,其示出了适于用来实现本公开的实施例的电子设备(例如图1中的终端设备)600的结构示意图。本公开的实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的终端设备仅仅是一个示例,不应对本公开的实施例的功能和使用范围带来任何限制。
如图6所示,电子设备600可以包括处理装置(例如中央处理器、 图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备600操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。图6中示出的每个方框可以代表一个装置,也可以根据需要代表多个装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开的实施例的方法中限定的上述功能。
需要说明的是,本公开的实施例描述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开的实施例中, 计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开的实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述终端设备中所包含的;也可以是单独存在,而未装配入该终端设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收目标应用的服务端推送的推送信息,其中,推送信息包括呈现用信息,呈现用信息用于对用户进行提示;向用户呈现上述呈现用信息;响应于检测到用户对呈现用信息的第一预设操作,向目标应用的客户端的、对应于第一预设操作的插件发送推送信息,以使插件执行对推送信息的处理操作,其中,处理操作包括:获取以及在呈现上述呈现用信息的页面展现推送信息指示的内容。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的实施例的操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开的实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括一种处理器,包括接收单元、呈现单元和展现单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,呈现单元还可以被描述为“向用户呈现上述呈现用信息的单元”。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开的实施例中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开的实施例中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (10)

  1. 一种用于展现信息的方法,包括:
    接收目标应用的服务端推送的推送信息,其中,所述推送信息包括呈现用信息,所述呈现用信息用于对用户进行提示;
    向用户呈现所述呈现用信息;
    响应于检测到用户对所述呈现用信息的第一预设操作,向所述目标应用的客户端的、对应于所述第一预设操作的插件发送所述推送信息,以使所述插件执行对所述推送信息的处理操作,其中,所述处理操作包括:获取以及在呈现所述呈现用信息的页面展现所述推送信息指示的内容。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    响应于检测到用户对所述呈现用信息的第二预设操作,启动所述目标应用的客户端,以在所述目标应用的客户端的应用页面中展现所述推送信息指示的内容。
  3. 根据权利要求1所述的方法,其中,所述方法还包括:
    响应于检测到对展现的、所述推送信息指示的内容的第三预设操作,启动所述目标应用的客户端,以在所述目标应用的客户端的应用页面中展现所述推送信息指示的内容。
  4. 根据权利要求1所述的方法,其中,所述第一预设操作包括以下至少一项:立体触屏包括的重按操作、预设方向的滑动操作。
  5. 根据权利要求1所述的方法,其中,所述推送信息还包括用于标识所述推送信息指示的内容的内容标识;以及
    所述获取以及在呈现所述呈现用信息的页面展现所述推送信息指示的内容,包括:所述插件向所述目标应用的服务端发送所述内容标识,以及接收所述目标应用的服务端基于所述内容标识返回的、所述 推送信息指示的内容。
  6. 根据权利要求1-5之一所述的方法,其中,所述推送信息指示的内容包括视频和/或音频;以及
    所述获取以及在呈现所述呈现用信息的页面展现所述推送信息指示的内容,包括:所述插件获取以及在呈现所述呈现用信息的页面播放所述视频和/或音频。
  7. 根据权利要求1-5之一所述的方法,其中,所述推送信息指示的内容包括文字和/或图像;以及
    所述获取以及在呈现所述呈现用信息的页面展现所述推送信息指示的内容,包括:所述插件获取以及在呈现所述呈现用信息的页面显示所述文字和/或图像。
  8. 一种用于展现信息的装置,包括:
    接收单元,被配置成接收目标应用的服务端推送的推送信息,其中,所述推送信息包括呈现用信息,所述呈现用信息用于对用户进行提示;
    呈现单元,被配置成向用户呈现所述呈现用信息;
    展现单元,被配置成响应于检测到用户对所述呈现用信息的第一预设操作,向所述目标应用的客户端的、对应于所述第一预设操作的插件发送所述推送信息,以使所述插件执行对所述推送信息的处理操作,其中,所述处理操作包括:获取以及在呈现所述呈现用信息的页面展现所述推送信息指示的内容。
  9. 一种终端设备,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7中任一所述的方法。
  10. 一种计算机可读介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-7中任一所述的方法。
PCT/CN2020/070349 2019-01-10 2020-01-03 用于展现信息的方法和装置 Ceased WO2020143555A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910023982.9 2019-01-10
CN201910023982.9A CN109753332B (zh) 2019-01-10 2019-01-10 用于展现信息的方法和装置

Publications (1)

Publication Number Publication Date
WO2020143555A1 true WO2020143555A1 (zh) 2020-07-16

Family

ID=66405571

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/070349 Ceased WO2020143555A1 (zh) 2019-01-10 2020-01-03 用于展现信息的方法和装置

Country Status (2)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753332B (zh) * 2019-01-10 2020-09-11 北京字节跳动网络技术有限公司 用于展现信息的方法和装置
CN110619096B (zh) * 2019-06-12 2022-08-23 北京无限光场科技有限公司 用于同步数据的方法和装置
CN112083982B (zh) * 2019-06-14 2024-10-01 北京易数科技有限公司 信息处理方法和装置
CN113395200B (zh) * 2020-03-12 2023-07-21 阿里巴巴集团控股有限公司 消息推送方法和系统、客户端、存储介质及处理器
CN113065063B (zh) * 2021-03-18 2024-02-06 北京达佳互联信息技术有限公司 一种信息推送、信息展示方法及相关设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279271A (zh) * 2013-06-17 2013-09-04 网易(杭州)网络有限公司 推送信息的方法和设备、接收信息的方法和设备
US20130246538A1 (en) * 2012-03-13 2013-09-19 Sap Ag Delivering Notification in an Internal Network
CN108429782A (zh) * 2017-09-12 2018-08-21 腾讯科技(深圳)有限公司 信息推送方法、装置、终端及服务器
CN108769093A (zh) * 2018-03-28 2018-11-06 广东欧珀移动通信有限公司 软件应用商店的推送方法、装置以及移动终端
CN108874522A (zh) * 2018-06-19 2018-11-23 北京五八信息技术有限公司 消息推送设置方法、装置、计算机设备及可读存储介质
CN109753332A (zh) * 2019-01-10 2019-05-14 北京字节跳动网络技术有限公司 用于展现信息的方法和装置

Family Cites Families (7)

* 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 (zh) * 2010-09-27 2016-02-24 中国电信股份有限公司 客户端、用户信息处理模块、内容推送方法和系统
CN104853254A (zh) * 2015-05-26 2015-08-19 深圳市理奥网络技术有限公司 一种视频播放方法以及移动终端
US9880814B1 (en) * 2015-08-13 2018-01-30 F5 Networks, Inc. Dynamic generation of plugins based on user-customized catalogs
CN105487886A (zh) * 2015-11-24 2016-04-13 小米科技有限责任公司 加载插件的方法及装置
CN105915599B (zh) * 2016-04-12 2020-04-10 百度在线网络技术(北京)有限公司 界面展现方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246538A1 (en) * 2012-03-13 2013-09-19 Sap Ag Delivering Notification in an Internal Network
CN103279271A (zh) * 2013-06-17 2013-09-04 网易(杭州)网络有限公司 推送信息的方法和设备、接收信息的方法和设备
CN108429782A (zh) * 2017-09-12 2018-08-21 腾讯科技(深圳)有限公司 信息推送方法、装置、终端及服务器
CN108769093A (zh) * 2018-03-28 2018-11-06 广东欧珀移动通信有限公司 软件应用商店的推送方法、装置以及移动终端
CN108874522A (zh) * 2018-06-19 2018-11-23 北京五八信息技术有限公司 消息推送设置方法、装置、计算机设备及可读存储介质
CN109753332A (zh) * 2019-01-10 2019-05-14 北京字节跳动网络技术有限公司 用于展现信息的方法和装置

Also Published As

Publication number Publication date
CN109753332A (zh) 2019-05-14
CN109753332B (zh) 2020-09-11

Similar Documents

Publication Publication Date Title
CN111510760B (zh) 视频信息展示方法和装置、存储介质和电子设备
CN110764671B (zh) 信息展示方法、装置、电子设备和计算机可读介质
WO2020143555A1 (zh) 用于展现信息的方法和装置
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN110069308B (zh) 页面启动方法、装置、电子设备和存储介质
CN109992732A (zh) 信息分享方法、装置、电子设备及存储介质
CN111309415B (zh) 应用程序的用户界面ui信息处理方法、装置及电子设备
CN110908752A (zh) 控件设置方法、装置、电子设备及交互系统
WO2020216204A1 (zh) 信息获取方法和装置
CN117193918A (zh) 话题页面的显示方法、装置、电子设备和存储介质
WO2020224294A1 (zh) 用于处理信息的系统、方法和装置
CN111460211A (zh) 音频信息播放方法、装置和电子设备
KR20140132630A (ko) 메시징 서비스 기반의 대화 중 검색 기능 제공 방법, 이를 위한 프로그램을 기록한 기록 매체 및 단말
JP2025521266A (ja) メディアコンテンツ処理方法、装置と電子機器
CN117492615A (zh) 信息展示方法、装置、电子设备和存储介质
CN110618811B (zh) 信息呈现方法和装置
CN110619101B (zh) 用于处理信息的方法和装置
CN110704740A (zh) 用于呈现信息的方法和设备
EP4207775B1 (en) Method and apparatus for determining object addition mode, electronic device, and medium
CN104937628A (zh) 电子装置的广告方法及其电子装置
CN110113416B (zh) 用于展示信息的方法和装置
US20220215482A1 (en) User information processing method, apparatus, electronic device, and computer storage medium
CN118368494A (zh) 多媒体资源分享方法、装置、介质、电子设备及程序产品
CN109992733A (zh) 信息分享的方法、装置、电子设备及存储介质
CN112468849B (zh) 用于视频信息传输的方法、装置、电子设备和介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20738749

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.10.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 20738749

Country of ref document: EP

Kind code of ref document: A1