WO2023000803A1 - 寄宿应用角标处理方法和装置 - Google Patents

寄宿应用角标处理方法和装置 Download PDF

Info

Publication number
WO2023000803A1
WO2023000803A1 PCT/CN2022/094238 CN2022094238W WO2023000803A1 WO 2023000803 A1 WO2023000803 A1 WO 2023000803A1 CN 2022094238 W CN2022094238 W CN 2022094238W WO 2023000803 A1 WO2023000803 A1 WO 2023000803A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
information
host application
subtitle
data
Prior art date
Application number
PCT/CN2022/094238
Other languages
English (en)
French (fr)
Inventor
吕烽
孟令伟
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023000803A1 publication Critical patent/WO2023000803A1/zh

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

Definitions

  • the embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, storage medium, terminal device, and server for hosting application subtitle processing.
  • a host application is an application that can be used without downloading and installing. It runs in the environment provided by the host application and can run only by dynamically loading it in the host application. Since the hosting application is available at any time and does not need to be downloaded and installed, it has been more and more widely used.
  • instant messages are generally used to notify the user, but the status of the instant message cannot accurately synchronize the status of the hosting application.
  • a hosting application notifies the user that there is an item to be processed through an instant message. The user views the instant message but does not actually enter the hosting application to process it. As time goes by, it is likely to forget or send the instant message repeatedly. cause unnecessary interruption.
  • Embodiments of the present disclosure provide a method, a device, a storage medium, a terminal device, and a server for processing subscripts of hosted applications.
  • the present disclosure provides a method for processing a corner mark of a hosted application, which is applied to a terminal device, and the method includes: in response to detecting a display operation of the hosted application, acquiring application information and a character of the hosted application according to the display operation of the hosted application displaying the application information in the host application, and displaying the subtitle information corresponding to the application information.
  • the present disclosure provides a hosting application subtitle processing method, which is applied to a host application server, and the method includes: in response to receiving subtitle data sent by the hosting application through the hosting application server, sending the subtitle data to to the host application.
  • the present disclosure provides a hosting application subtitle processing device, which is applied to a terminal device, and the device includes:
  • the information obtaining unit is configured to, in response to detecting the display operation of the hosted application, obtain application information and subtitle information of the hosted application according to the display operation of the hosted application;
  • the information display unit is configured to display the application information on the host application, and display the subtitle information corresponding to the application information.
  • an embodiment of the present disclosure provides a hosted application subtitle processing device, which is applied to a host application server, and the device includes:
  • the data pushing unit is configured to, in response to receiving the subtitle data sent by the host application through the host application server, send the subtitle data to the host application.
  • an embodiment of the present disclosure provides a terminal device, including:
  • processors one or more processors; a storage device having stored thereon one or more programs which, when executed by the one or more processors, cause the one or more processors to implement The method described in any implementation manner in the first aspect.
  • an embodiment of the present disclosure provides a host application server, including:
  • processors one or more processors; a storage device having stored thereon one or more programs which, when executed by the one or more processors, cause the one or more processors to implement The method described in any implementation manner in the second aspect.
  • an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by one or more processors, any implementation manner in the first aspect is implemented.
  • the described method and/or the method described in any implementation manner of the second aspect are described.
  • embodiments of the present disclosure provide a host application subtitle processing system, including the terminal device described in any implementation manner in the fifth aspect and the host application server described in any implementation manner in the sixth aspect.
  • the method for processing the subtitle of the hosted application in response to detecting the display operation of the hosted application, acquires the application information and subtitle information of the hosted application according to the displayed operation of the hosted application, and displays the application information on the host application , and corresponding to the application information to display the corner mark information, the display of the homestay application corner mark can be realized.
  • the homestay application has a notification to be processed, the pending reminder is presented through the corner mark, so that the user can intuitively understand the homestay application
  • FIG. 1 is a system architecture diagram of an embodiment of a hosting application subtitle processing system according to the present disclosure
  • FIG. 2 is a flow chart of an embodiment of a method for processing a subtitle of a hosted application applied to a terminal device according to the present disclosure
  • FIG. 3 is a timing diagram of an embodiment of a system for processing subtitles of hosted applications according to the present disclosure
  • Fig. 4 is a schematic diagram of a corner mark display effect actually applied according to the corner mark processing method of a hosting application of the present disclosure
  • Fig. 5 is a schematic structural diagram of an embodiment of an apparatus for processing a subtitle of a hosted application applied to a terminal device according to the present disclosure
  • Fig. 6 is a schematic structural diagram of an embodiment of an apparatus for processing a subtitle of a hosted application applied to a server according to the present disclosure
  • FIG. 7 is a schematic structural diagram of a terminal device or a computer system hosting an application server suitable for implementing an embodiment of the present disclosure.
  • FIG. 1 shows an exemplary system architecture 100 to which an embodiment of the hosted application badge processing system of the present disclosure can be applied.
  • a hosting application subtitle processing system 100 may include terminal devices 101 , 102 , 103 , a network 104 and a server 105 .
  • the network 104 is used as a medium for providing communication links between the terminal devices 101 , 102 , 103 and the server 105 .
  • Network 104 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.
  • Terminal devices 101 , 102 , 103 Users can use terminal devices 101 , 102 , 103 to interact with server 105 via network 104 to receive or send messages and the like.
  • Various communication client applications can be installed on the terminal devices 101, 102, 103, such as speech recognition applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
  • the terminal devices 101, 102, and 103 may be hardware or software.
  • the terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting sound collection and/or video collection, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, moving picture expert compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture expert compression standard audio layer 4) player, laptop portable computer and desktop computer, etc. Wait.
  • the terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as a plurality of software or software modules (for example, to provide distributed services), or as a single software or software module. No specific limitation is made here.
  • the server 105 may be a server that provides various services, such as a background server that provides support for host applications displayed on terminal devices 101 , 102 , and 103 and host applications.
  • the background server can analyze and process the received data such as the corner mark data, and feed back the processing result to the terminal device.
  • the host application involved in this disclosure can be an application that does not need to be installed on the terminal, such as a small program. It runs in the environment provided by the host application and only needs to be dynamically loaded in the host application to run. , you need to open the host application first, and then open the host application in the host application. At this time, the host application will request to establish a connection with the host application server.
  • the host application needs to run on the host application running platform integrated with the host application, for example, the applet runtime software development kit (Software Development Kit, SDK), etc., and the host application framework is loaded on the host application running platform.
  • the host application may be a local application program (nativeAPP) installed on the terminal device, or may also be a webpage program (webAPP) of a browser on the terminal device, which is not limited in the present disclosure.
  • nativeAPP local application program
  • webAPP webpage program
  • the server 105 may be hardware or software.
  • the server 105 can be implemented as a distributed server cluster composed of multiple servers, or as a single server.
  • the server is software, it can be implemented as multiple software or software modules (for example, for providing distributed services), or as a single software or software module. No specific limitation is made here.
  • the hosting application subtitle processing method applied to terminal devices provided in this disclosure is generally executed by terminal devices 101, 102, and 103.
  • the hosted application subtitle processing device applied to terminal devices is generally set devices 101, 102, 103.
  • the host application subtitle processing method applied to the host application server is generally executed by the server 105 , and correspondingly, the hosted application subtitle processing device applied to the host application server is generally set in the server 105 .
  • terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
  • FIG. 2 shows a flow 200 of an embodiment of a method for processing subtitles of a hosted application according to the present disclosure.
  • the host application subtitle processing method is applied to a terminal device and may include the following steps:
  • Step 201 in response to detecting a host application display operation, acquire application information and superscript information of the host application according to the host application display operation.
  • the terminal device (for example, the terminal devices 101, 102, 103 shown in FIG. 1 ) can obtain the application information and superscript information of the host application according to the host application display operation when the host application display operation is detected. .
  • the application information of the host application may include, for example, the icon of the host application, the name of the host application, and other application information for presentation.
  • the corner badge of the homestay app is a kind of notification icon, used to remind users of new news generated in the homestay app, such as the update or revision of existing functions and activities in the homestay app, new functions added in the homestay app, unread information, etc.
  • the superscript information of the host application may represent the number of new messages generated in the host application, and the like.
  • the host application display operation may be various preset operations that can trigger the host application display.
  • the host application display operation may be an operation in which the user clicks a button on the host application display interface, or slides the screen in a specified direction (eg, slides down or up) on the specified interface of the host application.
  • the application information and subscript information of the host application may be pre-cached in the host application, or stored in the host application server.
  • acquiring the application information and subtitle information of the host application according to the host application display operation may include: acquiring the application information and/or subtitle information of the host application stored in the host application, or acquiring the host application's information from the host application server Application information and/or badge information.
  • Step 202 display application information on the host application, and display subtitle information corresponding to the application information.
  • the terminal device may display application information on a preset host application display page.
  • displaying the subtitle information corresponding to the application information may be displaying the subtitle information at a position corresponding to the application information, for example, displaying the subtitle information at a corner (such as the upper left corner, upper right corner, lower left corner, and lower right corner) of the application icon.
  • the subtitle information may be adjacent to the application information, or at least partially overlap with the application icon. When the quantity represented by the subtitle information is zero, no subtitle of the hosting application is displayed.
  • the pending reminder can be presented through the corner mark, which can accurately and instantly express the to-do items in the host application, so that the user can intuitively understand the pending items of the host application , and can directly click to enter the host application processing, avoiding loss of notifications or repeated reminders, and improving user experience.
  • the above method also includes:
  • Obtain the subtitle information of multiple hosting applications determine the total subtitle information according to the subtitle information of multiple hosting applications, and the total subtitle information is used to represent the sum of the number of subtitle information representations of multiple hosting applications, and display it in the host application
  • the total subscript information In some practical applications, the effect is shown in Figure 4.
  • the above method also includes:
  • Step 203 in response to detecting the consumption operation on the notification message corresponding to the superscript information in the host application, determine whether the consumption operation includes entering the host application.
  • the notification message corresponding to the superscript information in the host application may include an instant message for displaying notification reminders (such as unread messages, pending tasks, etc.) of the host application to the user.
  • notification reminders such as unread messages, pending tasks, etc.
  • the consumption operation refers to the processing operation on the notification message.
  • the consumption operation may include the operation of entering the host application. For example, after the user opens the notification message, he further clicks the link or button to enter the host application contained in the notification message to enter the host application; or, consumes
  • the operation may also not include the operation of entering the host application, for example, the user directly deletes the notification message in the host application, or does not perform the operation of entering the host application after opening the notification message.
  • Step 204 update the notification state of the notification message, and correspondingly update the superscript information.
  • updating the notification status of the notification message that is, canceling the notification reminder of the notification message, for example, can be to cancel the notification status of the notification message, clear the notification status of the notification message, or mark the notification status of the notification message as read, etc. .
  • updating the notification status of the update notification message is not a specific limitation on the notification status of the update notification message, but an example for illustration.
  • the above step 204 may specifically include: updating the notification status of the corresponding notification message to the number of none, and reducing the number of superscript information representations. For example, if there are two or more notification messages corresponding to the subtitle information of the same hosting application, and the user clicks on one of the notification messages to enter the hosting application, the notification status of the notification message will be updated and the number of subtitle information correspondingly reduced.
  • the above step 204 may specifically include: updating the superscript information to zero. For example, there is a one-to-one correspondence between a notification message and a host application, and the superscript information of the same hosted application corresponds to the same notification message, then when updating the notification status of the notification message, the corresponding superscript information is updated to zero, that is, cleared. Zero subscript information.
  • Update the subtitle information to zero that is, update the number represented by the subtitle information to zero, and do not display the subtitle of the hosting application.
  • Step 205 update the notification state of the notification message, keep the superscript information and do not update it.
  • the consumption operation does not include entering the host application, the user has viewed the notification message but has not actually entered the host application for processing. Therefore, the subtitle information is kept to remind the user to enter the host application for processing.
  • FIG. 3 it shows a timing sequence 300 of an embodiment of the hosting application subtitle processing system according to the present disclosure.
  • the host application subtitle processing system in the embodiments of the present disclosure may include a terminal device and a host application server, where the host application and the host application run on the terminal device.
  • the sequence 300 includes the following steps:
  • step 301 the terminal device generates subtitle data in response to the host application, and sends the subtitle data to the host application server via the host application server.
  • the host application server In response to receiving the logo data sent by the terminal device, the host application server synchronizes the logo data and sends it to the host application server.
  • the terminal device generates subtitle data in response to the host application, and sends the subtitle data to the host application server via the host application server.
  • the host application there are at least two data connection modes between the host application and the host application, including local connection and network connection.
  • the local connection refers to the local data connection between the host application and the host application on the terminal device through the host application engine provided by the host application.
  • the network connection is a data connection established between the host application through the host application server and the host application server and the host application.
  • the subtitle data may include change data of subtitle information, for example, the number of subtitles increases or decreases, the number of subtitles is cleared, and the like. It can be understood that the subtitle data generated by the host application includes correspondingly generated data representing the amount of subtitle information change when the host application generates new unprocessed information.
  • Step 302 the host application server synchronizes the subtitle data and sends the subtitle data to the host application in response to receiving the subtitle data sent by the host application through the host application server.
  • step 306 the terminal device updates the subtitle information according to the subtitle data in response to receiving the subtitle data sent by the host application server.
  • step 307 the terminal device acquires the application information and subtitle information of the host application according to the host application display operation in response to detecting the host application display operation.
  • Step 308 display the application information, and display the subtitle information corresponding to the application information.
  • step 306 and step 307 are basically the same as those of step 201 and step 202 in the embodiment shown in FIG. 2 , and will not be repeated here.
  • the sequence 300 further includes the following steps:
  • Step 303 the host application sends the generated subscript data to the host application.
  • the host application may directly send the logo data to the host application through the local connection, so that the host application updates the logo information according to the logo data. In this way, problems such as untimely update of subtitle information due to network delays or failures can be avoided.
  • step 304 the host application sends a host application subtitle data acquisition request to the host application server.
  • the host application After receiving the badge data sent by the host application through the local connection, the host application can obtain the badge data from the host application server and update the badge information, so that the local badge data of the terminal device and the badge data of the host application server consistent.
  • Step 305 the host application server sends the subtitle data to the host application in response to receiving the host application subtitle data acquisition request sent by the host application.
  • the present disclosure provides a hosting application subscript processing method, which is applied to the host application server side, including:
  • the subtitle data is sent to the host application.
  • the above method further includes: sending the subtitle data to the host application in response to receiving the host application subtitle data acquisition request sent by the host application.
  • the present disclosure provides an embodiment of a hosting application subtitle processing device, which corresponds to the method embodiment shown in FIG. 2 .
  • the device can be specifically applied to various terminal devices.
  • the host application subtitle processing device 500 of this embodiment includes: an information acquisition unit 501 and an information display unit 502 .
  • the information obtaining unit 501 is configured to obtain the application information and subscript information of the hosting application according to the hosting application display operation in response to the detection of the hosting application display operation;
  • the information display unit 502 is configured to display the application information on the host application, And display the corner mark information corresponding to the application information.
  • the specific processing of the information acquisition unit 501 and the information display unit 502 of the host application subtitle processing device 500 and the technical effects brought about by them can refer to the correlation between step 201 and step 202 in the corresponding embodiment in FIG. 2 . description and will not be repeated here.
  • the hosting application superscript processing apparatus 500 further includes: a superscript data pushing unit 503 , a sending unit 504 , a receiving unit 505 and a processing unit 506 . in:
  • the superscript data pushing unit 503 is configured to respond to the host application generating superscript data, and send the superscript data to the host application server through the hosting application server.
  • the sending unit 504 is configured to send a host application superscript data acquisition request to the host application server.
  • the receiving unit 505 is configured to receive the subscript data sent by the host application server.
  • the processing unit 506 is configured to update the superscript information according to the superscript data.
  • the present disclosure provides an embodiment of a device for processing subtitles of a hosting application, which corresponds to the above embodiment of the method applied to the server side of the hosting application , the device can be specifically applied to various servers.
  • the host application subtitle processing apparatus 600 of this embodiment includes: a data push unit 601 .
  • the data pushing unit 601 is configured to send the subtitle data to the host application in response to receiving subtitle data sent by the host application through the host application server.
  • the data pushing unit 601 is further configured to send the subtitle data to the host application in response to receiving the host application subtitle data acquisition request sent by the host application.
  • FIG. 7 it shows a schematic structural diagram of a computer system 700 suitable for implementing a terminal device or a server according to an embodiment of the present disclosure.
  • the computer system 700 shown in FIG. 7 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
  • a computer system 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701 that may be Various appropriate actions and processes are executed by programs in the memory (RAM) 703 .
  • RAM random access memory
  • various programs and data necessary for the operation of the computer system 700 are also stored.
  • the processing device 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704 .
  • the following devices can be connected to the I/O interface 705: an input device 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc. ; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709 .
  • the communication means 709 may allow the computer system 700 to communicate with other devices wirelessly or by wire to exchange data. While FIG. 7 shows computer system 700 having various devices, it should be understood that implementing or having all of the devices shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts.
  • the computer program may be downloaded and installed from a network via communication means 709, or from storage means 708, or from ROM 702.
  • the processing device 701 When the computer program is executed by the processing device 701, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the electronic device realizes the hosting shown in the embodiment shown in FIG. 3 and its optional implementation manners.
  • Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language.
  • 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.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified 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 may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the information acquisition unit can also be described as "in response to the detection of the display operation of the host application, an application that acquires the host application according to the display operation of the host application unit of information and subscript information".

Landscapes

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

Abstract

本公开提供一种寄宿应用角标处理方法、装置、存储介质和服务器。该方法包括:响应于检测到寄宿应用展示操作,根据所述寄宿应用展示操作获取寄宿应用的应用信息和角标信息;在宿主应用展示所述应用信息,并对应所述应用信息展示所述角标信息。从而实现了寄宿应用角标的展示。

Description

寄宿应用角标处理方法和装置
相关申请的交叉引用
本申请基于申请号为202110839975.3、申请日为2021年7月22日、名称为“寄宿应用角标处理方法和装置”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开的实施例涉及计算机技术领域,具体涉及寄宿应用角标处理方法、装置、存储介质、终端设备和服务器。
背景技术
寄宿应用是一种不需要下载安装即可使用的应用,其运行于宿主应用提供的环境下,只需在宿主应用中动态加载即可运行。由于寄宿应用随时可用又无需下载安装,因此得到了越来越广泛的应用。
目前对于寄宿应用的通知提醒,相关技术中,一般采用即时消息的方式来通知用户,而即时消息的状态无法准确的同步寄宿应用内的状态。例如:某寄宿应用通过即时消息通知用户有一条待处理的事项,用户查看了即时消息但并未真正进入寄宿应用去处理,随着时间的推移,很可能就会遗忘,或者重复发送即时消息,造成不必要的打扰。
发明内容
本公开的实施例提出了寄宿应用角标处理方法、装置、存储介质、终端设备和服务器。
第一方面,本公开提供了一种寄宿应用角标处理方法,应用于终端设备,该方法包括:响应于检测到寄宿应用展示操作,根据所述寄宿应用展示操作获取寄宿应用的应用信息和角标信息;在宿主应用展示所述应用信息,并对应所述应用信息展示所述角标信息。
第二方面,本公开提供了一种寄宿应用角标处理方法,应用于宿主应用服务器,该方法包括:响应于接收到寄宿应用通过寄宿应用服务器发送的角标数据,将所述角标数据发送至宿主应用。
第三方面,本公开提供了一种寄宿应用角标处理装置,应用于终端设备,该装置包括:
信息获取单元,被配置成响应于检测到寄宿应用展示操作,根据所述寄宿应用展示操作获取寄宿应用的应用信息和角标信息;
信息展示单元,被配置成在宿主应用展示所述应用信息,并对应所述应用信息展示所述角标信息。
第四方面,本公开实施例提供了一种寄宿应用角标处理装置,应用于宿主应用服务器,该装置包括:
数据推送单元,被配置成响应于接收到寄宿应用通过寄宿应用服务器发送的角标数据,将所述角标数据发送至宿主应用。
第五方面,本公开实施例提供了一种终端设备,包括:
一个或多个处理器;存储装置,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如第一方面中任一实现方式描述的方法。
第六方面,本公开实施例提供了一种宿主应用服务器,包括:
一个或多个处理器;存储装置,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如第二方面中任一实现方式描述的方法。
第七方面,本公开实施例提供了一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被一个或多个处理器执行时实现如第一方面中任一实现方式描述的方法和/或第二方面中任一实现方式描述的方法。
第八方面,本公开的实施例提供了一种寄宿应用角标处理系统,包括第五方面中任一实现方式描述的终端设备和第六方面中任一实现方式描述的宿主应用服务器。
本公开的实施例提供的寄宿应用角标处理方法,响应于检测到寄宿应用展示操作,根据所述寄宿应用展示操作获取寄宿应用的应用信 息和角标信息,以及在宿主应用展示所述应用信息,并对应所述应用信息展示所述角标信息,可以实现对寄宿应用角标的展示,当寄宿应用有待处理通知时,通过角标呈现待处理的提醒,以使用户能够直观地了解到寄宿应用有待处理的事项,并能够直接点击进入寄宿应用处理,提高用户体验。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本公开的其它特征、目的和优点将会变得更明显。附图仅用于示出具体实施方式的目的,而并不认为是对本发明的限制。在附图中:
图1是根据本公开的寄宿应用角标处理系统的一个实施例的系统架构图;
图2是根据本公开的应用于终端设备的寄宿应用角标处理方法的一个实施例的流程图;
图3是根据本公开的寄宿应用角标处理系统的一个实施例的时序图;
图4是根据本公开的寄宿应用角标处理方法实际应用的一个角标展示效果示意图;
图5是根据本公开的应用于终端设备的寄宿应用角标处理装置的一个实施例的结构示意图;
图6是根据本公开的应用于服务器的寄宿应用角标处理装置的一个实施例的结构示意图;
图7是适于用来实现本公开的实施例的终端设备或宿主应用服务器的计算机系统的结构示意图。
具体实施方式
下面结合附图和实施例对本公开作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。
需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。
图1示出了可以应用本公开的寄宿应用角标处理系统的一个实施例的示例性系统架构100。
如图1所示,寄宿应用角标处理系统100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如语音识别类应用、网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。
终端设备101、102、103可以是硬件,也可以是软件。当终端设备101、102、103为硬件时,可以是具有显示屏并且支持声音采集和/或视频采集的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。当终端设备101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。
服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上显示的宿主应用及寄宿应用提供支持的后台服务器。后台服务器可以对接收到的角标数据等数据进行分析等处理,并将处理结果反馈给终端设备。
本公开中所涉及的寄宿应用,可以为小程序等无需安装在终端上的应用,其运行于宿主应用提供的环境下,只需要在宿主应用中动态加载即可运行,用户在使用寄宿应用时,需要先打开宿主应用,再在 宿主应用中打开寄宿应用,此时寄宿应用会请求与寄宿应用服务器建立连接。寄宿应用需要运行在宿主应用所集成的寄宿应用运行平台上,例如,小程序运行时软件开发工具包(Software Development Kit,SDK)等,该寄宿应用运行平台上加载有寄宿应用框架。
可以理解的是,宿主应用可是安装在终端设备上的本地应用程序(nativeAPP),或者还可以是终端设备上的浏览器的一个网页程序(webAPP),本公开对此不做限定。
需要说明的是,服务器105可以是硬件,也可以是软件。当服务器105为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。
需要说明的是,本公开所提供的应用于终端设备的寄宿应用角标处理方法一般由终端设备101、102、103执行,相应地,应用于终端设备的寄宿应用角标处理装置一般设置于终端设备101、102、103中。
需要说明的是,本公开所提供的应用于宿主应用服务器的寄宿应用角标处理方法一般由服务器105执行,相应地,应用于宿主应用服务器的寄宿应用角标处理装置一般设置于服务器105中。
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。
继续参考图2,其示出了根据本公开的寄宿应用角标处理方法的一个实施例的流程200。该寄宿应用角标处理方法,应用于终端设备,可包括以下步骤:
步骤201,响应于检测到寄宿应用展示操作,根据寄宿应用展示操作获取寄宿应用的应用信息和角标信息。
在本实施例中,终端设备(例如图1所示的终端设备101,102,103)可以在检测到寄宿应用展示操作的情况下,根据寄宿应用展示操作获取寄宿应用的应用信息和角标信息。
寄宿应用的应用信息可包括例如宿主应用图标、宿主应用名称等用于展示的应用信息。
寄宿应用角标作为一种通知图标,用于提醒用户寄宿应用内产生的新消息,例如寄宿应用内已有功能、活动的更新或改版,寄宿应用内添加新功能,未读信息等等。寄宿应用的角标信息可表征寄宿应用内产生的新消息的数量等。
这里,寄宿应用展示操作可以是各种预设的可以触发寄宿应用展示的操作。例如,寄宿应用展示操作可以是用户点击寄宿应用展示界面按钮,或者,在寄宿应用指定界面向指定方向滑动屏幕(比如,下滑、上滑屏幕)的操作。
寄宿应用的应用信息和角标信息可以是预先缓存在宿主应用中的,也可以是保存在宿主应用服务器中的。对应地,根据寄宿应用展示操作获取寄宿应用的应用信息和角标信息,可包括:获取宿主应用中保存的寄宿应用的应用信息和/或角标信息,或者,从宿主应用服务器获取寄宿应用的应用信息和/或角标信息。
步骤202,在宿主应用展示应用信息,并对应应用信息展示角标信息。
本实施例中,终端设备可以在预设的宿主应用展示页面展示应用信息。
这里,对应应用信息展示将角标信息可以是在对应应用信息的位置展示角标信息,例如,在应用图标的一角(如左上角,右上角,左下角,右下角)展示角标信息。角标信息可以与应用信息相邻,也可以与应用图标的至少部分重叠。当角标信息所表征的数量为零时,不显示寄宿应用角标。
本实施例通过响应于检测到寄宿应用展示操作,根据寄宿应用展示操作获取寄宿应用的应用信息和角标信息,以及在宿主应用展示应用信息,并对应应用信息展示角标信息,可以实现对寄宿应用角标的展示,当寄宿应用有待处理通知时,通过角标呈现待处理的提醒,可以准确、即时地表达寄宿应用内的待办事项,以使用户能够直观地了解到寄宿应用有待处理的事项,并能够直接点击进入寄宿应用处理,避免通知丢失或重复提醒,提高用户体验。
在一些可选的实施方式中,上述方法还包括:
获取多个寄宿应用的角标信息;根据多个寄宿应用的角标信息确定总角标信息,总角标信息用于表征多个寄宿应用的角标信息表征数量的总和,在宿主应用中展示总角标信息。在一些实际应用中,效果如图4所示。
在一些可选的实施方式中,上述方法还包括:
步骤203,响应于检测到对宿主应用中与角标信息相对应的通知消息的消费操作,判断消费操作是否包括进入寄宿应用。
若判断结果为是,执行步骤204;若判断结果为否,执行步骤205。
这里,宿主应用中与角标信息相对应的通知消息可包括用于向用户展示寄宿应用通知提醒(例如未读消息、待处理任务等)的即时消息。
消费操作即对通知消息的处理操作。本公开中,消费操作可以包括进入寄宿应用的操作,例如,用户对通知消息进行打开的操作后,进一步点击通知消息中所包含的进入寄宿应用的链接或按钮,以进入寄宿应用;或者,消费操作也可以不包括进入寄宿应用的操作,例如,用户直接在宿主应用中删除该通知消息,或者,在打开该通知消息后未进行进入寄宿应用的操作。
步骤204,更新通知消息的通知状态,并对应更新角标信息。
这里,更新通知消息的通知状态,即取消对通知消息的通知提醒,例如可以是消除通知消息的通知状态、将通知消息的通知状态清零,或者,将通知消息的通知状态标记为已读等。这里并非是对于更新通知消息的通知状态的具体限定,只是举例说明。
在一些可选的实施方案中,上述步骤204可具体包括:对应通知消息的通知状态更新为无的数量,减少角标信息表征的数量。例如,有2条以上通知消息对应同一寄宿应用的角标信息,用户点击其中一条通知消息进入寄宿应用,则在更新将该通知消息的通知状态的同时,对应减少角标信息的数量信息。
在一些可选的实施方式中,上述步骤204可具体包括:将角标信息更新为零。例如,通知消息与寄宿应用是一一对应的,同一寄宿应用的角标信息与同一通知消息相对应,则在更新该通知消息的通知状 态的同时,对应将角标信息更新为零,即清零角标信息。
将角标信息更新为零,即将角标信息表征的数量更新为零,不显示寄宿应用角标。
步骤205,更新通知消息的通知状态,将角标信息保留,不作更新。
可以理解的是,若消费操作不包括进入寄宿应用,则用户查看了通知消息但并未真正进入寄宿应用去处理,因此,将角标信息保留,以便提醒用户进入寄宿应用处理。
继续参考图3,其示出了根据本公开的寄宿应用角标处理系统的一个实施例的时序300。本公开实施例中的寄宿应用角标处理系统可包括终端设备和宿主应用服务器,其中,终端设备上运行有宿主应用和寄宿应用。该时序300包括以下步骤:
步骤301,终端设备响应于寄宿应用产生角标数据,将角标数据经寄宿应用服务器发送至宿主应用服务器。
寄宿应用服务器响应于接收到终端设备发送的角标数据,同步角标数据并发送至宿主应用服务器。
即终端设备响应于寄宿应用产生角标数据,将角标数据经寄宿应用服务器发送至宿主应用服务器。
可以理解的是,寄宿应用与宿主应用之间具有至少两种数据连接方式,包括本地连接和网络连接。其中,本地连接即寄宿应用与宿主应用通过宿主应用提供的寄宿应用引擎在终端设备本地的数据连接。而网络连接为寄宿应用通过寄宿应用服务器和宿主应用服务器与宿主应用之间建立的数据连接。
这里,角标数据可包括角标信息的变化数据,例如,角标的数量增加或减少、角标数量清空等。可以理解的是,寄宿应用产生角标数据,包括寄宿应用产生新的未处理信息时,对应产生的用于表征角标信息变化量的数据。
步骤302,宿主应用服务器响应于接收到寄宿应用通过寄宿应用服务器发送的角标数据,同步角标数据并将角标数据发送至宿主应用。
步骤306,终端设备响应于接收到宿主应用服务器发送的角标数 据,根据角标数据更新角标信息。
步骤307,终端设备响应于检测到寄宿应用展示操作,根据寄宿应用展示操作获取寄宿应用的应用信息和角标信息。
步骤308,展示应用信息,并对应应用信息展示角标信息。
这里,步骤306和步骤307与图2所示的实施例中步骤201和步骤202的操作及效果基本相同,在此不再赘述。
在一些可选的实施方式中,如图3所示,该时序300还包括以下步骤:
步骤303,寄宿应用将产生的角标数据发送至宿主应用。
这里,寄宿应用可通过本地连接将角标数据直接发送至宿主应用,以使宿主应用根据角标数据更新角标信息。如此,可以避免由于网络延迟或故障导致的角标信息更新不及时等问题。
步骤304,宿主应用向宿主应用服务器发送寄宿应用角标数据获取请求。
宿主应用可在接收到寄宿应用通过本地连接发送的角标数据后,从宿主应用服务器获取角标数据,并更新角标信息,以使终端设备本地的角标数据与宿主应用服务器端的角标数据相一致。
步骤305,宿主应用服务器响应于接收到宿主应用发送的寄宿应用角标数据获取请求,将角标数据发送至宿主应用。
这里,通过宿主应用向宿主应用服务器主动获取寄宿应用的角标数据,可以避免因网络延迟或故障导致宿主应用服务器向终端设备推送角标数据失败造成的角标信息更新失败。
本公开提供了一种寄宿应用角标处理方法,应用于宿主应用服务器端,包括:
响应于接收到寄宿应用通过寄宿应用服务器发送的角标数据,将角标数据发送至宿主应用。
在一些可选的实施方式中,上述方法还包括:响应于接收到宿主应用发送的寄宿应用角标数据获取请求,将角标数据发送至宿主应用。
进一步参考图5,作为上述各图所示的方法的实现,本公开提供了一种寄宿应用角标处理装置的一个实施例,该装置实施例与图2所 示的方法实施例相对应,该装置具体可应用于各种终端设备中。
如图5所示,本实施例的寄宿应用角标处理装置500包括:信息获取单元501和信息展示单元502。其中,信息获取单元501,被配置成响应于检测到寄宿应用展示操作,根据寄宿应用展示操作获取寄宿应用的应用信息和角标信息;信息展示单元502,被配置成在宿主应用展示应用信息,并对应应用信息展示角标信息。
在本实施例中,寄宿应用角标处理装置500的信息获取单元501和信息展示单元502的具体处理及其所带来的技术效果可分别参考图2对应实施例中步骤201和步骤202的相关说明,在此不再赘述。
在一些可选的实施方式中,寄宿应用角标处理装置500还包括:角标数据推送单元503、发送单元504、接收单元505和处理单元506。其中:
角标数据推送单元503,被配置成响应于寄宿应用产生角标数据,将角标数据通过寄宿应用服务器发送至宿主应用服务器。
发送单元504,被配置成向宿主应用服务器发送寄宿应用角标数据获取请求。
接收单元505,被配置成接收宿主应用服务器发送的角标数据。
处理单元506,被配置成根据角标数据更新角标信息。
需要说明的是,本公开的实施例提供的寄宿应用角标处理装置中各单元的实现细节和技术效果可以参考本公开中其它实施例的说明,在此不再赘述。
进一步参考图6,作为对上述各图所示方法的实现,本公开提供了一种寄宿应用角标处理装置的一个实施例,该装置实施例与上述应用于寄宿应用服务器端方法实施例相对应,该装置具体可以应用于各种服务器中。
如图6所示,本实施例的寄宿应用角标处理装置600包括:数据推送单元601。
数据推送单元601,被配置成响应于接收到寄宿应用通过寄宿应用服务器发送的角标数据,将角标数据发送至宿主应用。
在一些可选的实施方式中,数据推送单元601,还被配置成响应 于接收到宿主应用发送的寄宿应用角标数据获取请求,将角标数据发送至宿主应用。
需要说明的是,本公开的实施例提供的寄宿应用角标处理装置中各单元的实现细节和技术效果可以参考本公开中其它实施例的说明,在此不再赘述。
下面参考图7,其示出了适于用来实现本公开的实施例的终端设备或服务器的计算机系统700的结构示意图。图7示出的计算机系统700仅仅是一个示例,不应对本公开的实施例的功能和使用范围带来任何限制。
如图7所示,计算机系统700可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储装置708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有计算机系统700操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风等的输入装置706;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许计算机系统700与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的计算机系统700,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM 702被安装。在该计算机程序被处 理装置701执行时,执行本公开的实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备实现如图3所示的实施例及其可选实施方式示出的寄宿应用角标处理方法,和/或,如图4所示的实施例及其可选实施方式示出的寄宿应用角标处理方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用 户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开的实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,信息获取单元还可以被描述为“响应于检测到寄宿应用展示操作,根据寄宿应用展示操作获取寄宿应用的应用信息和角标信息的单元”。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (21)

  1. 一种寄宿应用角标处理方法,包括:
    响应于检测到寄宿应用展示操作,根据所述寄宿应用展示操作获取寄宿应用的应用信息和角标信息;
    在宿主应用展示所述应用信息,并对应所述应用信息展示所述角标信息。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    响应于接收到寄宿应用的提示信息,根据所述提示信息更新所述寄宿应用的角标信息,并对应更新所述寄宿应用的通知信息;
    对应所述寄宿应用的应用信息展示所述角标信息。
  3. 根据权利要求1所述的方法,其中,所述根据所述寄宿应用展示操作获取寄宿应用的应用信息和角标信息,包括:
    获取所述宿主应用中保存的所述寄宿应用的角标信息。
  4. 根据权利要求1所述的方法,其中,所述方法还包括:
    响应于所述寄宿应用产生角标数据,将所述角标数据经寄宿应用服务器发送至宿主应用服务器。
  5. 根据权利要求4所述的方法,其中,所述方法还包括:
    接收所述宿主应用服务器发送的所述角标数据;
    根据所述角标数据更新所述角标信息。
  6. 根据权利要求5所述的方法,其中,所述方法还包括:
    向所述宿主应用服务器发送寄宿应用角标数据获取请求。
  7. 根据权利要求1所述的方法,其中,所述方法还包括:
    响应于所述寄宿应用产生角标数据,将所述角标数据发送至所述宿主应用;
    根据所述角标数据更新所述角标信息。
  8. 根据权利要求1所述的方法,其中,所述方法还包括:
    获取多个寄宿应用的角标信息;
    根据所述多个寄宿应用的角标信息确定总角标信息,所述总角标信息用于表征所述多个寄宿应用的角标信息表征数量的总和;
    在所述宿主应用中展示所述总角标信息。
  9. 根据权利要求1所述的方法,其中,所述应用信息包括:应用图标和/或应用名称。
  10. 根据权利要求1所述的方法,其中,所述方法还包括:
    响应于检测到对所述宿主应用中与所述角标信息相对应的通知消息的消费操作,判断所述消费操作是否包括进入所述寄宿应用;
    若判断结果为是,更新所述通知消息的通知状态,并对应更新所述角标信息。
  11. 一种寄宿应用角标处理方法,包括:
    响应于接收到寄宿应用通过寄宿应用服务器发送的角标数据,将所述角标数据发送至宿主应用。
  12. 根据权利要求11所述的方法,其中,所述方法还包括:
    响应于接收到所述宿主应用发送的寄宿应用角标数据获取请求,将所述角标数据发送至所述宿主应用。
  13. 一种寄宿应用角标处理装置,应用于终端设备,包括:
    信息获取单元,被配置成响应于检测到寄宿应用展示操作,根据所述寄宿应用展示操作获取寄宿应用的应用信息和角标信息;
    信息展示单元,被配置成在宿主应用展示所述应用信息,并对应所述应用信息展示所述角标信息。
  14. 根据权利要求13所述的装置,其中,所述装置还包括:
    角标数据推送单元,被配置成响应于所述寄宿应用产生角标数据,将所述角标数据通过寄宿应用服务器发送至宿主应用服务器。
  15. 根据权利要求13所述的装置,其中,所述装置还包括:
    发送单元,被配置成向所述宿主应用服务器发送寄宿应用角标数据获取请求;
    接收单元,被配置成接收所述宿主应用服务器发送的所述角标数据;
    处理单元,被配置成根据所述角标数据更新所述角标信息。
  16. 一种寄宿应用角标处理装置,应用于宿主应用服务器,包括:
    数据推送单元,被配置成响应于接收到寄宿应用通过寄宿应用服务器发送的角标数据,将所述角标数据发送至宿主应用。
  17. 根据权利要求16所述的装置,其中,所述数据推送单元,还被配置成响应于接收到所述宿主应用发送的寄宿应用角标数据获取请求,将所述角标数据发送至所述宿主应用。
  18. 一种终端设备,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1-10中任一所述的方法。
  19. 一种宿主应用服务器,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所 述一个或多个处理器实现如权利要求11或12所述的方法。
  20. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被一个或多个处理器执行时实现如权利要求1-9中任一所述的方法和/或如权利要求11或12所述的方法。
  21. 一种寄宿应用角标处理系统,包括权利要求18所述的终端设备和权利要求19所述的宿主应用服务器。
PCT/CN2022/094238 2021-07-22 2022-05-20 寄宿应用角标处理方法和装置 WO2023000803A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110839975.3A CN113568695A (zh) 2021-07-22 2021-07-22 寄宿应用角标处理方法和装置
CN202110839975.3 2021-07-22

Publications (1)

Publication Number Publication Date
WO2023000803A1 true WO2023000803A1 (zh) 2023-01-26

Family

ID=78167075

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/094238 WO2023000803A1 (zh) 2021-07-22 2022-05-20 寄宿应用角标处理方法和装置

Country Status (2)

Country Link
CN (1) CN113568695A (zh)
WO (1) WO2023000803A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568695A (zh) * 2021-07-22 2021-10-29 北京字跳网络技术有限公司 寄宿应用角标处理方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100161713A1 (en) * 2008-12-18 2010-06-24 Sap Agdietmar-Hopp-Allee Method and system for personalizing a desktop widget
CN110083467A (zh) * 2019-04-30 2019-08-02 上海连尚网络科技有限公司 小程序消息的处理方法、设备和计算机存储介质
CN110113252A (zh) * 2019-04-30 2019-08-09 上海连尚网络科技有限公司 一种小程序通知消息的处理方法、设备和计算机存储介质
CN110990095A (zh) * 2019-11-27 2020-04-10 上海掌门科技有限公司 寄宿应用展示方法、设备以及计算机可读介质
CN111432067A (zh) * 2020-03-03 2020-07-17 上海掌门科技有限公司 未读消息数处理方法、装置、设备及介质
CN113568695A (zh) * 2021-07-22 2021-10-29 北京字跳网络技术有限公司 寄宿应用角标处理方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238875B (zh) * 2014-08-15 2018-07-24 小米科技有限责任公司 应用程序角标添加方法及装置
CN108628673A (zh) * 2018-05-07 2018-10-09 上海掌门科技有限公司 数据处理方法、电子设备和计算机可读介质
CN110968769A (zh) * 2018-09-29 2020-04-07 上海掌门科技有限公司 用于推送信息、展示信息的方法和设备
CN111857858A (zh) * 2019-04-30 2020-10-30 上海掌门科技有限公司 用于处理信息的方法和设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100161713A1 (en) * 2008-12-18 2010-06-24 Sap Agdietmar-Hopp-Allee Method and system for personalizing a desktop widget
CN110083467A (zh) * 2019-04-30 2019-08-02 上海连尚网络科技有限公司 小程序消息的处理方法、设备和计算机存储介质
CN110113252A (zh) * 2019-04-30 2019-08-09 上海连尚网络科技有限公司 一种小程序通知消息的处理方法、设备和计算机存储介质
CN110990095A (zh) * 2019-11-27 2020-04-10 上海掌门科技有限公司 寄宿应用展示方法、设备以及计算机可读介质
CN111432067A (zh) * 2020-03-03 2020-07-17 上海掌门科技有限公司 未读消息数处理方法、装置、设备及介质
CN113568695A (zh) * 2021-07-22 2021-10-29 北京字跳网络技术有限公司 寄宿应用角标处理方法和装置

Also Published As

Publication number Publication date
CN113568695A (zh) 2021-10-29

Similar Documents

Publication Publication Date Title
US11164160B2 (en) System and method of providing to-do list of user
US9942358B2 (en) Recommending applications
WO2022268177A1 (zh) 信息显示方法、装置和电子设备
US11303596B2 (en) Method and a device for processing information
WO2020143555A1 (zh) 用于展现信息的方法和装置
WO2023040443A1 (zh) 用于绘制画布的方法和装置
WO2023185983A1 (zh) 信息处理方法、装置、电子设备和存储介质
CN110658960A (zh) 消息处理方法、装置和电子设备
WO2021218556A1 (zh) 信息展示方法、装置和电子设备
WO2023000803A1 (zh) 寄宿应用角标处理方法和装置
CN114363686B (zh) 多媒体内容的发布方法、装置、设备和介质
CN109634702B (zh) 一种信息提示的方法、装置、电子设备及可读介质
CN113032172A (zh) 异常检测方法、装置和电子设备
CN110708238A (zh) 用于处理信息的方法和装置
CN110704151A (zh) 一种信息处理方法、装置和电子设备
CN110619101A (zh) 用于处理信息的方法和装置
CN112307393A (zh) 信息发布方法、装置和电子设备
CN112600978B (zh) 信息处理方法、装置和电子设备
WO2020224295A1 (zh) 用于管理信息的方法、装置和系统
JP2024500300A (ja) 情報インタラクション方法、装置、及び機器
CN112114735B (zh) 用于管理任务的方法和装置
CN113806650A (zh) 网页应用的处理方法及装置、存储介质及电子设备
CN112307723A (zh) 生成代码文档的方法、装置和电子设备
CN112307717A (zh) 文本标注信息展示方法、装置、电子设备和介质
CN113286038B (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: 22844970

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18567961

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE