Method, device, electronic device and storage medium for accessing notification bar messages

By caching the associated information of notification bar messages during user operations and reloading the page in the application, the problem that users cannot access notification bar messages again is solved, improving access success rate and security, and enhancing the stickiness of the application.

CN113158107BActive Publication Date: 2024-11-15INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110463050.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-27
Publication Date
2024-11-15
Estimated Expiration
2041-04-27

AI Technical Summary

Technical Problem

After clicking on the notification message of interest, the user may fail to call the end, resulting in the inability to successfully access the relevant recommended content. Moreover, due to the disappearance of the notification bar message, it is difficult for the user to access the recommended content again.

Method used

By responding to user operations, it is determined that the page corresponding to the message is loaded in the specified application, and the message's association information is cached when the instruction to jump to the page is executed. If the jump fails, it detects whether the user starts the specified application and loads the page in the application based on the cached association information. To improve security, the notification bar encrypts the original message before it receives it, generates a short message code, and sends it to the notification bar with the original message, and the short message code is cached and used as associated information.

Benefits of technology

It realizes that the notification bar message can be revisited after accessing the message fails, improves the user's ability to revisit the message, enhances the stickiness of the application, and improves the security of the access process, avoiding the risk of relying on third-party applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113158107B_ABST
    Figure CN113158107B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method for accessing a notification bar message, comprising: in response to a user triggering an operation to access a message in the notification bar, determining a page corresponding to the message, and loading the page in a specified application. Then executing an instruction to jump to the page, and caching the associated information of the message at the same time; if the execution of the instruction fails, detecting whether the user starts the specified application; if the user starts the specified application, reading the associated information, and loading the page in the specified application according to the associated information, so as to achieve re-access to the page. The present disclosure provides a device for accessing a notification bar message, an electronic device, and a computer-readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet technology, and more specifically, to a method, device, electronic device, and computer-readable storage medium for accessing notification bar messages. Background Art

[0002] With the continuous development of artificial intelligence technology, marketing methods that use information such as user consumption history records to conduct intelligent recommendations have become common. Among them, recommending content notifications to users on mobile terminals is a necessary method to utilize users' fragmented time and increase user interest and stickiness.

[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: after the user clicks on the notification message of interest, the call-up may fail, resulting in the user's failure to successfully access the relevant recommended content; in this case, since the notification message in the notification bar disappears after clicking the notification message, it is difficult for the user to access the recommended content again. Summary of the invention

[0004] In view of this, the present disclosure provides a method and device for accessing notification bar messages that can achieve re-access.

[0005] One aspect of the present disclosure provides a method for accessing notification bar messages, including: in response to a user triggering an operation to access a message in the notification bar, determining a page corresponding to the message, and loading the page corresponding to the message in a specified application; executing an instruction to jump to the page, and caching associated information of the message; if execution of the instruction fails, detecting whether the user starts the specified application; if the user starts the specified application, reading the associated information, and loading the page in the specified application according to the associated information.

[0006] According to an embodiment of the present disclosure, the method also includes: obtaining the original message before the original message is received in the notification bar; encrypting the original message and generating a short message code, through which the page corresponding to the original message can be accessed; sending the original message and the short message code to the notification bar, and the original message is converted into a message in the notification bar after being received by the notification bar, and the short message code is used as the associated information.

[0007] According to an embodiment of the present disclosure, the executing instruction to jump to the page and caching the associated information of the message includes: executing the instruction to jump to the page and caching the short message code. If the user starts the designated application, reading the associated information and loading the page in the designated application according to the associated information includes: if the user starts the designated application, reading the short message code and loading the page corresponding to the original message in the designated application according to the short message code.

[0008] According to an embodiment of the present disclosure, the caching of the short message code includes caching the short message code in a clipboard; if the user starts the designated application, the short message code is read, and a page corresponding to the original message is loaded in the designated application according to the short message code, including: if the user starts the designated application, the text information in the clipboard is obtained; it is determined whether the text format of the text information conforms to the text format of the short message code; if the text format of the text information conforms to the text format of the short message code, the short message code is read, and the page corresponding to the original message is loaded in the designated application according to the short message code.

[0009] According to an embodiment of the present disclosure, the execution of the instruction to jump to the page includes: obtaining the page; determining whether the page is in the whitelist; if the page is in the whitelist, executing the instruction; if the page is not in the whitelist, issuing a prompt message of access risk.

[0010] According to an embodiment of the present disclosure, if the user starts the designated application, the associated information is read, and the page is loaded in the designated application according to the associated information, including: if the user starts the designated application, the associated information is read to obtain the page corresponding to the message; whether the page is in the whitelist; if the page is in the whitelist, the page is loaded in the designated application; if the page is not in the whitelist, a prompt message of access risk is issued.

[0011] According to an embodiment of the present disclosure, the method further includes clearing the cached associated information after the instruction is successfully executed or the page is successfully loaded.

[0012] Another aspect of the present disclosure provides a device for accessing notification bar messages, including: a determination module, for determining a page corresponding to the message in response to a user triggering an operation to access the message in the notification bar, and loading the page corresponding to the message in a specified application; a jump and cache module, for executing an instruction to jump to the page and caching associated information of the message; a detection module, for detecting whether the user has started the specified application if the execution of the instruction fails; and a reading and loading module, for reading the associated information if the user has started the specified application, and loading the page in the specified application according to the associated information.

[0013] According to an embodiment of the present disclosure, the device also includes: an acquisition module, used to acquire the original message before the original message is received in the notification bar; a generation module, used to encrypt the original message and generate a short message code, through which the page corresponding to the original message can be accessed; a sending module, used to send the original message and the short message code to the notification bar, and the original message is converted into a message in the notification bar after being received by the notification bar, and the short message code is used as the associated information.

[0014] According to an embodiment of the present disclosure, the jump and cache module is also used to execute an instruction to jump to the page and cache the short message code; the reading and loading module is also used to read the short message code if the user starts the designated application, and load the page corresponding to the original message in the designated application according to the short message code.

[0015] According to an embodiment of the present disclosure, the jump and cache module is also used to cache the short message code in the clipboard. The reading and loading module includes: a first acquisition unit, used to acquire the text information in the clipboard if the user starts the specified application; a first judgment unit, used to judge whether the text format of the text information conforms to the text format of the short message code; a reading and loading unit, used to read the short message code if the text format of the text information conforms to the text format of the short message code, and load the page corresponding to the original message in the specified application according to the short message code.

[0016] According to an embodiment of the present disclosure, the jump and cache module includes: a second acquisition unit, used to acquire the page; a second judgment unit, used to judge whether the page is in the whitelist; an execution unit, used to execute the instruction if the page is in the whitelist; and a first prompt unit, used to issue a prompt message of access risk if the page is not in the whitelist.

[0017] According to an embodiment of the present disclosure, the reading and loading module includes: a first reading unit, used to read the associated information to obtain the page corresponding to the message if the user starts the designated application; a third judgment unit, used to judge whether the page is in the whitelist; a loading unit, used to load the page in the designated application if the page is in the whitelist; and a second prompt unit, used to issue a prompt message of access risk if the page is not in the whitelist.

[0018] According to an embodiment of the present disclosure, the device further includes a clearing module, which is used to clear the cached association information after the instruction is successfully executed or the page is successfully loaded.

[0019] Another aspect of the present disclosure provides an electronic device, which includes one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned method of accessing notification bar messages.

[0020] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.

[0021] According to the embodiments of the present disclosure, because a technical means is adopted for caching the associated information of the message while executing the instruction to jump to the page, the technical problem of being unable to find the relevant information of the message after failing to access the message is at least partially overcome, thereby achieving the technical effect of revisiting the notification bar message without obtaining excessive access rights of the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0023] Figure 1 An exemplary system architecture to which the method and apparatus for accessing notification bar messages disclosed in the present invention can be applied is schematically shown;

[0024] Figure 2 The application scenario of the method for accessing notification bar messages according to an embodiment of the present disclosure is schematically shown;

[0025] Figure 3 A flowchart of a method for accessing notification bar messages according to an embodiment of the present disclosure is schematically shown;

[0026] Figure 4A A flowchart of a method for accessing notification bar messages according to another embodiment of the present disclosure is schematically shown;

[0027] Figure 4B A flowchart of a method for accessing notification bar messages according to another embodiment of the present disclosure is schematically shown;

[0028] Figure 5 A block diagram schematically shows a device for accessing notification bar messages according to an embodiment of the present disclosure;

[0029] Fig. 6A A block diagram schematically shows a device for accessing notification bar messages according to another embodiment of the present disclosure;

[0030] Figure 6B A block diagram schematically shows a device for accessing notification bar messages according to another embodiment of the present disclosure; and

[0031] Figure 7 A block diagram of an electronic device suitable for implementing an apparatus for accessing notification bar messages according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0032] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0033] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0034] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0035] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0036] The embodiments of the present disclosure provide a method and device for reaccessing messages when access to notification bar information fails. The method includes a process of caching associated information of a message and a process of reaccessing through associated information. The process of caching associated information of a message includes determining a page corresponding to the message in response to a user triggering an operation to access a message in a notification bar, and loading the page corresponding to the message in a specified application. While executing an instruction to jump to a page, the associated information of the message is cached. If the execution of the jump instruction fails, reaccess is performed based on the associated information, specifically including detecting whether the user starts the specified application; if the user starts the specified application, the associated information is read, and the page is loaded in the specified application based on the associated information.

[0037] Figure 1 The exemplary system architecture 100 to which the method for accessing notification bar messages according to an embodiment of the present disclosure can be applied is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0038] like Figure 1 As shown, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.

[0039] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients and / or social platform software, etc. (only for example).

[0040] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0041] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information or data obtained or generated according to user requests, etc.) to the terminal device.

[0042] It should be noted that the method for accessing the notification bar message provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the device for accessing the notification bar message provided in the embodiment of the present disclosure can generally be set in the server 105. The method for accessing the notification bar message provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Correspondingly, the device for accessing the notification bar message provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Alternatively, the method for accessing the notification bar message provided in the embodiment of the present disclosure can also be executed by the terminal device 101, 102 or 103, or can also be executed by other terminal devices different from the terminal devices 101, 102 or 103. Correspondingly, the apparatus for accessing notification bar messages provided by the embodiments of the present disclosure may also be provided in the terminal device 101 , 102 or 103 , or in other terminal devices different from the terminal device 101 , 102 or 103 .

[0043] For example, the associated information of the message may be originally stored in any one of the terminal devices 101, 102, or 103 (for example, the terminal device 101, but not limited thereto), or stored on an external storage device and may be imported into the terminal device 101. Then, the terminal device 101 may locally execute the method for accessing the notification bar message provided by the embodiment of the present disclosure, or send the associated information of the message to other terminal devices, servers, or server clusters, and the other terminal devices, servers, or server clusters that receive the associated information of the message may execute the method for accessing the notification bar message provided by the embodiment of the present disclosure.

[0044] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0045] Figure 2 The application scenario of the method for accessing notification bar messages according to an embodiment of the present disclosure is schematically shown. Commonly, some push messages 201, 202, 203 and 204 are displayed in the notification bar of the mobile phone. These push messages can be hot news messages pushed by some social applications, or notification messages pushed by some tool applications. The present application does not limit the specific types of push messages 201, 202, 203 and 204.

[0046] When a user wants to view a message, he usually clicks on the message in the notification bar, then jumps to the application that pushed the message and loads the page for displaying the message in the application. During this process, there may be access failures. For example, the call fails, and when jumping to the corresponding application, the application is not successfully started. Or, for example, after successfully jumping to the application, an exception occurs in the page loading process, resulting in the inability to access the page corresponding to the message. Usually, after the user clicks on the message in the notification bar, the message disappears in the notification bar. Therefore, the user cannot re-access the message.

[0047] In some prior art, users can install a third-party management application on the mobile terminal to manage the messages in the notification bar. By setting the management application to obtain the historical messages in the notification bar, the user can search for the access failed messages in the management application. The premise for implementing the above method is that the third-party application needs to have the permission to access other applications. Therefore, this method may have the possibility of obtaining the user's personal privacy, has poor security, and is likely to cause unnecessary losses to the user.

[0048] In view of some problems existing in the prior art, this application proposes a method for revisiting notification bar messages without relying on third-party applications, thereby improving the security of the access process, ensuring the success rate of user access to messages, improving the user's ability to revisit messages, and enhancing the application's sticky effect.

[0049] Figure 3 The flowchart of the method for accessing notification bar messages according to an embodiment of the present disclosure is schematically shown.

[0050] like Figure 3 As shown, the method includes operations S301 to S304.

[0051] In operation S301, in response to a user triggering an operation of accessing a message in a notification bar, a page corresponding to the message is determined, and the page corresponding to the message is loaded in a designated application.

[0052] In operation S302, an instruction to jump to a page is executed, and associated information of the message is cached.

[0053] The present application does not limit the specific content of the associated information, and only makes corresponding explanations here. For example, the associated information may be the message itself, that is, while executing the instruction to jump to the page, the device temporarily and synchronously caches the message in a certain memory. For another example, the associated information may be the URL of the page corresponding to the message, that is, while executing the instruction to jump to the page, the device temporarily and synchronously caches the URL of the page corresponding to the message in a certain memory. For another example, the associated information may be a short message code containing relevant information of the message, that is, while executing the instruction to jump to the page, the device temporarily and synchronously caches the short message code in a certain memory. For another example, the associated information may be a QR code containing relevant information of the message, that is, while executing the instruction to jump to the page, the device temporarily and synchronously caches the QR code in a certain memory.

[0054] The associated information referred to in operation S302 is the basis information for accessing the message, which can be in any form. The specific content and specific format of the associated information are not limited in this application.

[0055] In operation S303, if the instruction execution fails, it is detected whether the user starts a designated application.

[0056] In operation S304, if the user starts the designated application, the associated information is read and a page is loaded in the designated application according to the associated information.

[0057] In the disclosed embodiment, when the instruction to jump to the loading page of the application fails, if the user still wants to access the message, the application is usually restarted to find the message. At this time, the device can automatically read the associated information cached in the memory in the background, identify the page corresponding to the message contained in the associated information, reload the page, and finally complete the re-access to the message.

[0058] Generally speaking, after a user launches an application, the device will actively detect whether there is cached associated information. However, the purpose of the user launching the application is not necessarily to access the message corresponding to the associated information. Therefore, after determining that the cached associated information is detected, that is, before loading the page corresponding to the associated information, it is necessary to send a prompt to the user to ask whether the user needs to access the page. After receiving the confirmation message, the page is loaded. If a rejection message is received, the application can be opened normally for the user to use.

[0059] Through the implementation of the disclosure, when accessing a message for the first time, the associated information of the message is cached, so that even if the access fails, the message can be re-accessed by restarting the application. The re-access process does not rely on third-party applications, avoiding unnecessary security and privacy risks, and also improving the user's ability to re-access information and enhancing the application stickiness effect.

[0060] Figure 4A The flowchart of a method for accessing notification bar messages according to another embodiment of the present disclosure is schematically shown.

[0061] like Figure 4A As shown, the method also includes operations S401 to S403.

[0062] In operation S401, before the original message is received in the notification bar, an original message is obtained.

[0063] In operation S402, the original message is encrypted and a short message code is generated, through which a page corresponding to the original message can be accessed.

[0064] In operation S403, the original message and the short message code are sent to the notification bar. After being received by the notification bar, the original message is converted into a message in the notification bar, and the short message code is used as associated information.

[0065] In the embodiment of the present disclosure, in order to further improve the security of the access process and prevent external programs from illegally tampering with messages in the notification bar, the original message sent by the application to the notification bar is encrypted and a short message code is generated to ensure that the user can access the correct page.

[0066] Before the notification bar receives the original message sent by the application, the original message is obtained, the message is encrypted, a short message code is generated, and the original message and the short message code are finally sent to the notification bar together. After the original message is sent to the notification bar, it is converted into a message that conforms to the display format of the notification bar, and the short message code is temporarily stored in the notification bar as associated information. Preferably, the short message code is not displayed in the notification bar, but is associated with the corresponding message.

[0067] When the associated information is specifically a short message code, the instruction to jump to the page is executed, and the associated information of the message is cached, specifically, the instruction to jump to the page is executed, and the short message code is cached. If the user starts the specified application, the associated information is read, and the page is loaded in the specified application according to the associated information, specifically, if the user starts the specified application, the short message code is read, and the page corresponding to the original message is loaded in the specified application according to the short message code.

[0068] Specifically, caching the short message code may be caching the short message code in the clipboard. After restarting the application, after reading the short message code in the clipboard, the security of the short message code needs to be further tested to prevent external programs from illegally tampering with the information in the clipboard. Therefore, if the user starts the specified application, the short message code is read, and the page corresponding to the original message is loaded in the specified application according to the short message code. Specifically, if the user starts the specified application, the text information in the clipboard is obtained; it is determined whether the text format of the text information conforms to the text format of the short message code; if the text format of the text information conforms to the text format of the short message code, the short message code is read, and the page corresponding to the original message is loaded in the specified application according to the short message code.

[0069] Among them, those skilled in the art can reasonably design the text format of the short message code to reduce the risk of tampering and improve the accuracy of identifying illegal text information. For example, the text format detected can be the length of the text message, and check whether the text length of the text message in the clipboard is consistent with the text length required by the short message code. For another example, the text format detected can be a special mark in the text message, and check whether the special mark of the text message in the clipboard is modified compared with the special mark required by the short message code. For another example, the text format detected can be the text composition structure in the text message, and check whether the text composition structure of the text message in the clipboard is consistent with the text composition structure required by the short message code.

[0070] Through the disclosed embodiment, an encrypted short message code is generated based on the original message sent by the application, thereby increasing the security of accessing the page. Even if the original message is illegally tampered with after being sent to the notification bar, it does not affect the user's access to the correct page. At the same time, after reading the short message code, the text format of the short message code is still checked for legitimacy again to prevent the short message code in the clipboard from being tampered with. The security of the user access process is ensured by a variety of means, and the user's access experience is improved.

[0071] As an optional embodiment, the application that sent the original message can also be subjected to a security check to determine whether the application is a legitimate application. If the application is an illegal application, the original message is directly intercepted and no subsequent operations are performed. If the application is a legitimate application, subsequent operations such as obtaining the original message and encrypting it to generate a short message code are performed. The specific method of security detection can be to set up a whitelist and add known legitimate applications to the whitelist. It can also be to detect the historical running behavior of the application and determine that the application that does not have illegal running behavior is a legitimate application, and so on.

[0072] Figure 4B The flowchart of a method for accessing notification bar messages according to another embodiment of the present disclosure is schematically shown.

[0073] like Figure 4B As shown, executing the instruction to jump to the page includes operations S404 to S407.

[0074] In operation S404, a page is acquired.

[0075] In operation S405 , it is determined whether the page is in the whitelist. If the page is in the whitelist, operation S406 is performed; if the page is not in the whitelist, operation S407 is performed.

[0076] In operation S406 , the instruction is executed.

[0077] In operation S407, a prompt message of access risk is issued.

[0078] In the disclosed embodiment, a whitelist check is performed on the accessed page to ensure the security of the access. Since there is a risk of tampering after the message is displayed in the notification bar. Although the user sees that the message in the notification bar has not changed, the page corresponding to the message may have been tampered with into other illegal pages. Therefore, the first step in executing the instruction to jump to the page is to obtain the page and determine whether the page is in the whitelist. If the page is in the whitelist, the page is a page that can be accessed normally; if the page is not in the whitelist, a warning message is sent to the user, indicating that this access is risky.

[0079] Similarly, if a page is accessed through associated information, a whitelist check is also required. Specifically, if the user starts a specified application, the associated information is read to obtain the page corresponding to the message; determine whether the page is in the whitelist; if the page is in the whitelist, load the page in the specified application; if the page is not in the whitelist, issue a warning message of access risk.

[0080] Those skilled in the art can set a whitelist in any scheme according to actual needs to improve the security of access. Similarly, access to pages can also be restricted by setting a blacklist, and this application does not make specific restrictions on this.

[0081] As an optional embodiment, the method also includes clearing the cached associated information after the instruction is successfully executed or the page is successfully loaded. If the instruction to jump to the page is executed successfully, it means that the user has successfully accessed the page, and the cached associated information can be cleared to reduce the memory occupancy rate. If the instruction to jump to the page fails, and then the page is successfully loaded through the associated information, it also means that the user has successfully accessed the page, and the cached associated information can also be cleared to reduce the memory occupancy rate. After successfully accessing the page corresponding to the message of interest, the associated information of the message can be considered as a historical message that will no longer be used. Therefore, the associated information is cleared to reduce unnecessary space in the memory and improve operating efficiency.

[0082] Figure 5 A block diagram schematically shows a device for accessing a notification bar message according to an embodiment of the present disclosure.

[0083] like Figure 5 As shown, the apparatus 500 includes a determination module 510 , a jump and cache module 520 , a detection module 530 , and a read and load module 540 .

[0084] The determination module 510 is used to determine a page corresponding to the message in response to a user triggering an operation of accessing a message in the notification bar, and the page corresponding to the message is loaded in a designated application.

[0085] The jump and cache module 520 is used to execute the instruction of jumping to the page and cache the associated information of the message.

[0086] The detection module 530 is used to detect whether the user starts the specified application program if the execution of the instruction fails.

[0087] The reading and loading module 540 is used to read the associated information if the user starts the specified application, and load the page in the specified application according to the associated information.

[0088] According to the embodiments of the present invention, any one or more of the modules, sub-modules, units, and sub-units or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, sub-modules, units, and sub-units can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, sub-modules, units, and sub-units can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, sub-modules, units, and sub-units can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be performed.

[0089] For example, any multiple of the determination module 510, the jump and cache module 520, the detection module 530, and the read and load module 540 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the determination module 510, the jump and cache module 520, the detection module 530, and the read and load module 540 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, at least one of the determination module 510, the jump and cache module 520, the detection module 530, and the read and load module 540 may be at least partially implemented as a computer program module, which may perform a corresponding function when executed.

[0090] Reference below Figure 6A~Figure 6B , combined with specific embodiments Figure 5 The method shown is further explained.

[0091] Fig. 6AA block diagram of a device for accessing a notification bar message according to another embodiment of the present disclosure is schematically shown.

[0092] like Fig. 6A As shown, the device 500 also includes:

[0093] The acquisition module 550 is used to acquire the original message before the original message is received in the notification bar.

[0094] The generating module 560 is used to encrypt the original message and generate a short message code, through which the page corresponding to the original message can be accessed.

[0095] The sending module 570 is used to send the original message and the short message code to the notification bar. After being received by the notification bar, the original message is converted into a message in the notification bar, and the short message code is used as associated information.

[0096] In the embodiment of the present disclosure, when the associated information is specifically a short message code, the jump and cache module is further specifically used to execute an instruction to jump to a page and cache the short message code. The read and load module is further specifically used to read the short message code if the user starts a specified application, and load the page corresponding to the original message in the specified application according to the short message code.

[0097] The jump and cache module is also specifically used to cache the short message code in the clipboard. After restarting the application, after reading the short message code in the clipboard, it is necessary to further detect the security of the short message code to prevent external programs from illegally tampering with the information in the clipboard. Therefore, the reading and loading module includes a first acquisition unit, which is used to obtain the text information in the clipboard if the user starts the specified application; a first judgment unit, which is used to judge whether the text format of the text information conforms to the text format of the short message code; and a reading and loading unit, which is used to read the short message code if the text format of the text information conforms to the text format of the short message code, and load the page corresponding to the original message in the specified application according to the short message code.

[0098] Figure 6B A block diagram of a device for accessing a notification bar message according to another embodiment of the present disclosure is schematically shown.

[0099] like Figure 6B As shown, the jump and cache module 520 includes:

[0100] The second acquisition unit 5201 is used to acquire a page.

[0101] The second determination unit 5202 is used to determine whether the page is in the whitelist.

[0102] The execution unit 5203 is used to execute the instruction if the page is in the whitelist.

[0103] The first prompt unit 5204 is used to issue a prompt message of access risk if the page is not in the whitelist.

[0104] Similarly, if the page is accessed through the associated information, a whitelist check is also required. For example, the reading and loading module 540 includes a first reading unit, which reads the associated information to obtain the page corresponding to the message when the user starts the specified application; a third judgment unit, which is used to judge whether the page is in the whitelist; a loading unit, which is used to load the page in the specified application if the page is in the whitelist; and a second prompting unit, which is used to issue a prompting message of access risk if the page is not in the whitelist.

[0105] As an optional embodiment, the device 500 further includes a clearing module, which is used to clear cached associated information after the instruction is successfully executed or the page is successfully loaded.

[0106] It should be noted that the device part for accessing the notification bar message in the embodiment of the present disclosure corresponds to the method part for accessing the notification bar message in the embodiment of the present disclosure. The description of the device part for accessing the notification bar message specifically refers to the method part for accessing the notification bar message, which will not be repeated here.

[0107] Figure 7 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0108] like Figure 7 As shown, the electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 to a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0109] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0110] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.

[0111] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0112] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0113] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0114] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 602 and / or the RAM 603 described above and / or one or more memories other than the ROM 602 and the RAM 603 .

[0115] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, a program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0116] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0117] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A method for accessing notification bar messages, comprising: In response to a user triggering an operation of accessing a message in a notification bar, determining a page corresponding to the message, and loading the page corresponding to the message in a designated application; Execute the instruction to jump to the page, and cache the associated information of the message; If the execution of the instruction fails, detecting whether the user starts the specified application; If the user starts the designated application, the associated information is read, and the page is loaded in the designated application according to the associated information; The method further comprises: Before the original message is received in the notification bar, the original message is obtained; Encrypting the original message and generating a short message code, through which a page corresponding to the original message can be accessed; Sending the original message and the short message code to a notification bar, wherein the original message is received by the notification bar and converted into a message in the notification bar, and the short message code is used as the associated information; Wherein, the executing the instruction to jump to the page and caching the associated information of the message includes: executing the instruction to jump to the page and caching the short message code; If the user starts the designated application, the associated information is read, and the page is loaded in the designated application according to the associated information, including: if the user starts the designated application, the short message code is read, and the page corresponding to the original message is loaded in the designated application according to the short message code.

2. The method according to claim 1, wherein: The caching of the short message code comprises caching the short message code in a clipboard; If the user starts the designated application, the short message code is read, and a page corresponding to the original message is loaded in the designated application according to the short message code, including: If the user starts the specified application, the text information in the clipboard is obtained; Determining whether the text format of the text message conforms to the text format of the short message code; If the text format of the text information conforms to the text format of the short message code, the short message code is read, and a page corresponding to the original message is loaded in the designated application according to the short message code.

3. The method according to claim 1, wherein: The execution of the instruction to jump to the page includes: Get the page; Determine whether the page is in the whitelist; If the page is in the whitelist, the instruction is executed; If the page is not in the whitelist, a warning message about access risk is issued.

4. The method according to claim 1, wherein: If the user starts the designated application, the associated information is read, and the page is loaded in the designated application according to the associated information, including: If the user starts the specified application, the associated information is read to obtain a page corresponding to the message; Determine whether the page is in the whitelist; If the page is in the whitelist, loading the page in the designated application; If the page is not in the whitelist, a warning message about access risk is issued.

5. The method according to any one of claims 1 to 4, wherein: The method further includes clearing the cached associated information after the instruction is successfully executed or the page is successfully loaded.

6. A device for accessing notification bar messages, comprising: A determination module, configured to determine a page corresponding to the message in response to a user triggering an operation of accessing the message in the notification bar, wherein the page corresponding to the message is loaded in a specified application; A jump and cache module, used for executing the instruction to jump to the page and caching the associated information of the message; A detection module, used for detecting whether the user starts the specified application if the execution of the instruction fails; A reading and loading module, configured to read the associated information and load the page in the designated application according to the associated information if the user starts the designated application; The device also includes: An acquisition module, used for acquiring the original message before the original message is received in the notification bar; A generating module, used for encrypting the original message and generating a short message code, through which a page corresponding to the original message can be accessed; A sending module, used for sending the original message and the short message code to a notification bar, wherein the original message is converted into a message in the notification bar after being received by the notification bar, and the short message code is used as the associated information; Wherein, the jump and cache module is also used to execute the instruction of jumping to the page and cache the short message code; The reading and loading module is also used to read the short message code if the user starts the designated application, and load the page corresponding to the original message in the designated application according to the short message code.

7. The device according to claim 6, wherein: The jump and cache module is also used to cache the short message code in the clipboard; The reading and loading module comprises: A first acquisition unit, configured to acquire text information in the clipboard if the user starts the designated application; A first judging unit, used to judge whether the text format of the text message conforms to the text format of the short message code; The reading and loading unit is used to read the short message code if the text format of the text information conforms to the text format of the short message code, and load the page corresponding to the original message in the designated application according to the short message code.

8. The device according to claim 6, wherein: The jump and cache module includes: A second acquisition unit, used to acquire the page; A second judging unit, used to judge whether the page is in the whitelist; an execution unit, configured to execute the instruction if the page is in the whitelist; The first prompt unit is used to issue a prompt message of access risk if the page is not in the whitelist.

9. The device according to claim 6, wherein: The reading and loading module comprises: A first reading unit, configured to read the associated information to obtain a page corresponding to the message if the user starts the specified application; A third judging unit, used to judge whether the page is in the whitelist; a loading unit, configured to load the page in the designated application if the page is in the whitelist; The second prompt unit is used to issue a prompt message of access risk if the page is not in the whitelist.

10. The device according to any one of claims 6 to 9, wherein: The device also includes a clearing module, which is used to clear the cached associated information after the instruction is successfully executed or the page is successfully loaded.

11. An electronic device, comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

12. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 5.