Message viewing method and related device
By encapsulating instructions on the first terminal device to request message details from the second terminal device, the problem of users needing to switch devices to view notification messages is solved, and a fast and convenient message viewing experience is achieved.
Patent Information
- Application Number
- CN202111643610.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2041-12-29
AI Technical Summary
When users receive notifications from mobile application software, they need to interrupt their current work, switch to their mobile phone, and find the corresponding app to learn more. The operation is cumbersome and inconvenient for quick return to work.
The corresponding message details are requested from the second terminal device through the encapsulation instruction, and displayed on the first terminal device, the user can quickly view the details of the notification message without switching the device.
It enables users to quickly view the detailed content of notification messages without interrupting their current work, improving operational efficiency and user experience.
Smart Images

Figure CN116418911B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of multi-device message exchange, and in particular to a message viewing method and related apparatus. Background Art
[0002] Currently, when users use products such as watches and mobile phones, when they are working and the watch receives a notification from a mobile phone application, they need to interrupt their current work, unlock the phone, and find the corresponding app to learn more. Users only need to quickly understand some basic information, but they need to switch to another device and perform a series of operations before they can read the details.
[0003] The above message viewing process is very cumbersome for the user; at the same time, if the user switches to another device, it is not convenient for the user to quickly withdraw his attention to the work. Therefore, there is an urgent need for a method that allows users to quickly view the details of notification messages without having to switch devices. Summary of the invention
[0004] An embodiment of the present application provides a message viewing method and related apparatus, which requests corresponding message details from a second terminal device through encapsulation instructions and displays them on a first terminal device, so that a user can quickly view notification details without switching from the first terminal device to the second terminal device, causing a strong interruption of the current work.
[0005] In a first aspect, an embodiment of the present application provides a message viewing method, which is applied to a first terminal device, and the method includes:
[0006] In response to a user clicking operation on a target notification message;
[0007] Sending a request instruction to the second terminal device, wherein the request instruction includes a target notification message identification ID;
[0008] Receiving a response instruction returned by the second terminal device according to the target notification message identification ID, wherein the response instruction includes detailed content corresponding to the target notification message;
[0009] The detailed contents are displayed.
[0010] In a second aspect, an embodiment of the present application provides a message viewing method, which is applied to a second terminal device, and is characterized in that the method includes:
[0011] Receiving a request instruction sent by the first terminal device, wherein the request instruction includes a target notification message identification ID;
[0012] Determine the detailed content corresponding to the target notification message according to the target notification message identification ID;
[0013] The response instruction is sent to the first terminal device, wherein the response instruction includes the detailed content.
[0014] In a third aspect, an embodiment of the present application provides a message viewing device, the device comprising:
[0015] A response unit, used to respond to a user's click operation on a target notification message;
[0016] A sending unit, configured to send a request instruction to the second terminal device, wherein the request instruction includes a target notification message identification ID;
[0017] A receiving unit, configured to receive a response instruction returned by the second terminal device according to the target notification message identification ID, wherein the response instruction includes detailed content corresponding to the target notification message;
[0018] A display unit is used to display the detailed content.
[0019] In a fourth aspect, an embodiment of the present application provides a message viewing device, the device comprising:
[0020] A receiving unit, configured to receive a request instruction sent by a first terminal device;
[0021] An encapsulation unit, configured to determine detailed content corresponding to the target notification message according to the request instruction;
[0022] A sending unit is used to send the response instruction to the first terminal device, and the response instruction includes the detailed content.
[0023] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any method in the first aspect or the second aspect of the embodiment of the present application.
[0024] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any method in the first aspect or the second aspect of the embodiment of the present application.
[0025] In a seventh aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any method in the first aspect or the second aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0026] It can be seen that the embodiment of the present application discloses a method for viewing message details and a related device, the method comprising: in response to a user's click operation on a target notification message; sending a request instruction to a second terminal device; receiving a response instruction including detailed contents corresponding to the target notification message returned by the second terminal device in response to the target notification message identification ID of the request instruction; parsing the response instruction and displaying the detailed contents. In this way, through the method proposed in the embodiment of the present application, the corresponding message details can be requested from the second terminal device through an encapsulation instruction and displayed on the first terminal device, and the user can quickly view the notification details without switching from the first terminal device to the second terminal device, resulting in a strong interruption of the current work. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 This is a schematic diagram of a network architecture of a message viewing method provided by an embodiment of the present application;
[0029] Figure 2 This is a schematic diagram of a message viewing method scenario provided by an embodiment of the present application;
[0030] Figure 3 This is a schematic diagram of another message viewing method scenario provided by an embodiment of the present application;
[0031] Figure 4 It is a flowchart of a message viewing method provided by an embodiment of the present application;
[0032] Figure 5A This is a schematic diagram of a scenario of an electronic device packaging request instruction provided by an embodiment of the present application;
[0033] Figure 5B It is a schematic diagram of a flow chart of response instruction parsing provided in an embodiment of the present application;
[0034] Figure 5CThis is a schematic diagram of an application scenario of parsing a response instruction to display message details provided by an embodiment of the present application;
[0035] Figure 5D This is a schematic diagram of an application scenario of viewing a message after parsing a response instruction provided by an embodiment of the present application;
[0036] Figure 6 It is a flowchart of a method for viewing message details provided by an embodiment of the present application;
[0037] Figure 7 This is a schematic diagram of a response instruction encapsulation process provided by an embodiment of the present application;
[0038] Figure 8 This is a schematic diagram of a device interaction for viewing a message provided by an embodiment of the present application;
[0039] Fig. 9 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0040] Fig.10 This is a block diagram of the functional units of a message viewing device provided by an embodiment of the present application;
[0041] Fig.11 It is a block diagram of the functional units of a message viewing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0043] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0044] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0045] The electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with a wireless communication function (such as a smart watch, a smart prosthesis), a vehicle-mounted device, etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with an IOS system, an Android system, a Microsoft system, or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop), etc. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer. In an embodiment of the present application, the above-mentioned electronic device may include a first device and a second device.
[0046] In the first part, the example application scenarios disclosed in the embodiments of the present application are introduced as follows.
[0047] Figure 1 The network architecture diagram shows a message viewing method for displaying the detailed content of a notification message pushed by an application of a first mobile terminal to the interface of a second mobile terminal without switching devices, between the associated devices to which the present application is applicable. The network architecture may include multiple electronic devices, which may be smart phones, tablet computers, desktop computers, wearable electronic devices with wireless communication functions, etc. The electronic devices may be associated with one or more electronic devices, which are not specifically limited here. It should be noted that in the present application, multiple may refer to two or more, which will not be described in detail later.
[0048] Among them, the above-mentioned multiple electronic devices can establish communication connections and realize the transmission of content data through wireless communication methods such as 2G, 3G, 4G or 5G mobile communication methods, wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks) or Bluetooth (blue tooth, BT) or ultra-wideband (Ultra Wide Band, UWB) or near-field wireless communication technology (nearfield communication, NFC).
[0049] Exemplarily, the above-mentioned electronic device 100a can establish a communication connection with the electronic device 100b and / or the electronic device 100c. When the application on the electronic device 100b or the electronic device 100c pushes the message, the notification message will also be synchronized to the electronic device 100a. The application scenario to be realized under the present system architecture is: if the user needs to display the detailed content of the notification message pushed to the application on the electronic device 100b or the electronic device 100c through the electronic device 100a, it is sufficient to send a request instruction to the corresponding device without switching to the electronic device 100b or the electronic device 100c to view the message.
[0050] Currently, if Figure 2 A schematic diagram of a message viewing method scenario is shown. When the weather application software in the electronic device 100b pops up a message notification content on the interface as shown in the figure: "Yellow warning for thunder and lightning in Nanshan District!" At the same time, the same message notification will pop up in the electronic device 100a. In the current application scenario, if the user wants to read the entire content of the notification message, he needs to start the electronic device 100b, and then click on the corresponding notification message to read the message, as shown in the detailed content: Yellow warning for thunder and lightning in Nanshan District! Please pay attention to weather changes. There may be heavy rain from 20:00 to 22:00. Please remember to bring rain gear when traveling. Among them, the application program in the electronic device 100b includes but is not limited to at least one of the following: social applications, news applications, shopping applications, entertainment applications, financial applications, life applications, tool applications, etc., which are not limited here. Among them, the notification message push of the application can be displayed in the electronic device 100b in the form of a pop-up window, or it can be displayed in the notification bar of the electronic device 100b in the form of a dialog box, which is not specifically limited here. However, in this scenario, when the user receives the push notification message from the electronic device 100a, if he wants to read the complete details, he needs to start the electronic device 100b, then find the corresponding push notification and read the details. For the user, the operation is cumbersome and he needs to interrupt the current work to pick up the electronic device 100b, which takes a little time for the user.
[0051] Therefore, based on the above reasons, this application proposes a message viewing method, specifically, Figure 3As shown, it is a schematic diagram of another message viewing method scenario, in response to the user's click operation on the target notification message in the electronic device 100a, and after obtaining the request instruction including the target notification message identification ID according to the click operation encapsulation; sending the request instruction to the second electronic device 100b; receiving the response instruction including the detailed content corresponding to the target notification message returned by the second electronic device 100b for the target notification message identification ID of the request instruction; the first electronic device 100a parses the response instruction and displays the detailed content. With the embodiment of the present application, the corresponding message details can be requested from the second electronic device 100b by encapsulating the instruction, and the display can be realized on the first electronic device 100a, and the user can quickly view the notification details without switching from the first electronic device 100a to the second electronic device 100b, resulting in a strong interruption of the current work.
[0052] In the second part, the protection scope of the claims disclosed in the embodiments of the present application is introduced as follows.
[0053] See also Figure 4 , Figure 4 : is a flow chart of a message viewing method provided in an embodiment of the present application, which is applied to a first device. As shown in the figure, the message viewing method in the present application solution includes the following operations:
[0054] S401: Responding to a user's click operation on a target notification message.
[0055] Among them, Figure 3 As shown, the application notification message of the electronic device 100b and the application notification message of the electronic device 100a are displayed synchronously, reminding the user of the notification content that can be viewed. The user hopes to directly display the detailed content associated with the notification message on the display interface of the electronic device 100a.
[0056] Furthermore, the user selects the target notification message that he wants to read in the notification message list of the electronic device 100a, and 100a encapsulates the instruction according to the user's click operation to obtain a request instruction for the detailed content of the target notification message. Among them, each target notification message has a corresponding identification ID, and each target notification message is generated by its corresponding application. Therefore, the encapsulated request instruction includes but is not limited to the target notification message identification ID, the application ID and other related information.
[0057] Exemplarily, it should be noted that in addition to the above-mentioned click operation, the user's selection operation for the target notification message can also be voice selection, air gesture or other selection operations, which will not be elaborated here.
[0058] For example, it should be noted that the electronic device 100a and the electronic device 100b may be associated with each other via Bluetooth, WiFi, etc. The two devices may have corresponding applications installed simultaneously, or there may be some differences, which will not be further limited here.
[0059] S402: Send a request instruction to the second terminal device, where the request instruction includes a target notification message identification ID.
[0060] Exemplarily, the request instruction encapsulated in step S401 can be sent by the electronic device 100a to the electronic device 100b or other associated devices associated therewith via Bluetooth, WiFi, etc., where the electronic device 100b is only an example.
[0061] S403. Receive a response instruction returned by the second terminal device according to the target notification message identification ID, where the response instruction includes detailed content corresponding to the target notification message.
[0062] For example, the second terminal device is Figure 3 After the electronic device 100b shown in the figure receives the request instruction sent by 100a, it needs to parse the request instruction. According to the target notification message identification ID in the parsed request instruction, the application corresponding to the target notification message is determined. The detailed content of the target message corresponding to the target notification message identification ID is obtained through the application. The detailed content and the identification ID are encapsulated to obtain a response instruction.
[0063] Specifically, the content in the response instruction includes but is not limited to the target notification message identification ID, detailed content and other relevant information.
[0064] S404: Display the detailed content.
[0065] Exemplarily, after the electronic device 100a parses the received response instruction, the corresponding detailed content is displayed in the display interface of 100a.
[0066] by Figure 3 An example of a practical application scenario is described below. Figure 3 As shown, when the weather application software in the electronic device 100b pops up a message notification on the interface as shown in the figure: "Yellow warning for thunderstorms in Nanshan District!", at the same time, the same message notification will also pop up in the electronic device 100a. If the user wants to read the entire content of the notification message, the notification message is used as the target notification message, and the identification ID of the target notification message is encapsulated into the request instruction.
[0067] Furthermore, the request instruction is sent to the electronic device 100b. After receiving the request instruction, the electronic device 100b parses the request instruction and encapsulates the corresponding detailed content to obtain a response instruction.
[0068] Further, the electronic device 100b sends the response instruction to the electronic device 100a. After receiving the response instruction, the electronic device displays the detailed content corresponding to the target notification message on the display interface: Yellow warning for thunderstorms in Nanshan District! Please pay attention to weather changes. There may be heavy rain from 20:00 to 22:00. Please remember to bring rain gear when traveling. Among them, the application programs in the electronic device 100b include but are not limited to at least one of the following: social applications, news applications, shopping applications, entertainment applications, financial applications, life applications, tool applications, etc., which are not limited here. Among them, the notification message push of the application can be displayed in the electronic device 100b in the form of a pop-up window, or it can be displayed in the notification bar of the electronic device 100b in the form of a dialog box, which is not specifically limited here.
[0069] It can be seen that the embodiment of the present application discloses a method for viewing message details, the method comprising: in response to a user's click operation on a target notification message; receiving a response instruction including detailed contents corresponding to the target notification message returned by the second terminal device in response to the target notification message identification ID of the request instruction; parsing the response instruction and displaying the detailed contents. In this way, through the method proposed in the embodiment of the present application, the corresponding message details can be requested from the second terminal device through the encapsulation instruction and displayed on the first terminal device, and the user can quickly view the notification details without switching from the first terminal device to the second terminal device, resulting in a strong interruption of the current work.
[0070] In a possible example, the second terminal device has one or more applications installed; before responding to the user's click operation on the target notification message, the above method may also include the following steps: receiving notification messages from the one or more applications, the notification messages including at least one target notification message, wherein each of the target notification messages corresponds to one of the applications.
[0071] Exemplarily, one or more identical applications (APPs) are installed in the first terminal device and the second terminal device, and one or more different APPs may also be installed in the first terminal device and the second terminal device.
[0072] Specifically, one or more apps in the first electronic device and the second electronic device may push one or more related notification messages at any time. The one or more notification messages are displayed on the display interface of the first electronic device and the second electronic device, forming a notification message set, which includes at least one target notification message. It should be noted that the message notification set can also be presented in the notification bar of the electronic device in the form of a single or multiple dialog boxes. No specific restrictions are made here.
[0073] Among them, each target notification message has a corresponding identification ID and source APP.
[0074] Among them, if the first device and the second device are devices of the same user (user name, user account, etc.), a communication connection can be established in advance, and after the first operation instruction is triggered, a communication connection is directly established with the second device.
[0075] It can be seen that in this application, after the same application APP is installed on the first electronic device and the second electronic device and an association is established, the two devices can simultaneously receive notification messages pushed from the same application APP to form a notification message set, and the user can select one or more target notification messages in the notification message set to request detailed content, and send the encapsulated request instruction from the first electronic device to the second electronic device to obtain the corresponding detailed content. This is beneficial for users to directly display message details through the display interface of the first electronic device without starting the second electronic device, thereby improving the efficiency of users' message acquisition.
[0076] In a possible example, in response to a user's click operation on the target notification message, the method may further include the following steps: in response to the user's "view details" click operation on the target notification message, determining the application ID and the target notification message identification ID corresponding to the target notification message; and encapsulating the application ID and the target notification message identification ID as the request instruction.
[0077] Specifically, the user receives a push notification message synchronized with the second electronic device on the first electronic device. It should be noted that the above push notification message may be one or more, and different notification messages may come from the same APP or from different APPs. The user can select the detailed content he wants to see in the notification message interface of the first electronic device according to his own interests or needs, and click the "View Details" button of the target notification message.
[0078] Among them, the above-mentioned operation of selecting to view details of the target notification message can also be through other possible methods such as voice control, gesture selection, etc. The "click" button described above is just a selection method in the actual application scenario and is not specifically limited here.
[0079] Furthermore, in response to the user's click operation, the first electronic device determines the target notification message identification ID selected by the user and the source application ID of the target notification message. Each target notification message has a unique identification ID, and each application ID is unique.
[0080] Furthermore, the first electronic device encapsulates the target notification message ID and the application ID to obtain a request instruction.
[0081] The following will be combined Figure 5A The following is an example description of actual application scenarios. Figure 5A As shown, it is a schematic diagram of a scenario in which an electronic device encapsulates a request instruction. The first electronic device 100a interface can select the title content of one or more notification messages, and the user can select the target notification message according to personal interests. Figure 5A As shown, there are two notification messages displayed in the 100a interface, namely: Nanshan District Yellow Lightning Warning and Shenzhen’s Real Income. And according to the icons, it can be seen that these two push notification messages come from two different application apps.
[0082] Furthermore, the user can select the second push notification message on this interface. After tapping the notification box, two button options of "Close" and "View details" will be displayed below. If the user wants to close the current notification bar, he can choose to click the "Close" button, and the notification will disappear from the current interface; if the user wants to know the specific content of the notification message, he can click the "View details" button to confirm that the notification message is the target notification message.
[0083] Furthermore, after the user triggers the "View Details" button, the electronic device 100a performs a command packaging operation to obtain a request command. Figure 5A The content of the request instruction shown includes but is not limited to:
[0084] 1. Command type: request details.
[0085] 2. Target notification message ID: news1.
[0086] 3. Content of the notice: What is the real income in Shenzhen?
[0087] It can be seen that in this example, the electronic device can respond to the user's selection of the target notification message, determine the relevant information of the target notification message, and then perform instruction packaging to obtain the corresponding request instruction.
[0088] In a possible example, the response instruction also includes the target notification message identification ID; the display of the detailed content, the above method is as follows Figure 5BAs shown, Figure 5B This is a schematic diagram of a response instruction parsing process provided by an embodiment of the present application. The specific process may include the following steps:
[0089] S501. Obtain the target notification message identification ID in the response instruction.
[0090] S502: Determine whether the target notification message corresponding to the target notification message identification ID is displayed on the first terminal device interface.
[0091] S503: If the target notification message is displayed on the first terminal device interface, the detailed content is updated to the display interface of the target notification message for display.
[0092] The following will be combined Figure 5C Describe the specific application scenario described in the above process. Figure 5C As shown, Figure 5C It is a schematic diagram of an application scenario of parsing a response instruction to display message details provided in an embodiment of the present application.
[0093] like Figure 5C As shown, the electronic device 100a receives a response instruction, the content of which includes:
[0094] 1. Command type: message response.
[0095] 2. Target notification message ID: news1.
[0096] 3. Content of notification: Message details xxxx.
[0097] The electronic device 100a obtains the target notification message identification ID news1 in the response instruction, and determines that the target notification message corresponding to the current identification ID is still displayed on the interface of the electronic device 100a.
[0098] Furthermore, the message details in the response instruction are updated to the area where the original target notification message is displayed. Figure 5C As shown, the detailed content of the target notification message is displayed in the display interface 100a.
[0099] Optionally, in another possible example, the content of the reply instruction may also include the source application ID of the target notification message. After receiving the reply instruction, the electronic device 100a parses and obtains the application ID. If there is an application corresponding to the application ID in the electronic device 100a, the application is started to enter the application interface of the target application, and the detailed content of the identification ID news1 is displayed in the interface.
[0100] Furthermore, after the user has finished reading the detailed content corresponding to the target notification message with the ID news1, the application can recommend other reading lists associated with the current user's reading content for the user's reference.
[0101] It can be seen that through the solution of this embodiment, the electronic device can determine the display method of the current message details through the target notification message identification ID or application ID, which is convenient for users to quickly read the details of the target notification message and improve the user experience. At the same time, after the user obtains and reads the details of the target notification message, he can also receive related content recommended by the application based on the user's current reading habits, so that the user can quickly obtain more relevant information and improve the user experience.
[0102] In a possible example, after determining whether the target notification message corresponding to the target notification message identification ID is displayed on the first terminal device interface, the method may further include: Figure 5D The steps shown, Figure 5D This is a schematic diagram of an application scenario for viewing a message after parsing a response instruction provided in an embodiment of the present application, which specifically includes the following steps: if the target notification message is not displayed on the first terminal device interface, then the display interface of the target notification message corresponding to the target notification message identification ID on the first terminal interface is restored, and the detailed content is updated to the display interface.
[0103] Specifically, Figure 5D As shown, after sending the request instruction for the target notification message, the user accidentally or casually clicks the "Close" button, and the target notification message in the current notification bar is no longer displayed in the current interface. When the electronic device 100a receives the response instruction, it determines that there is no corresponding target notification message in the current interface according to the identification ID, and then restores the display interface of the target notification message corresponding to the identification ID in the electronic device 100a.
[0104] Furthermore, the message details in the parsed response instruction are updated to the interface of the current notification message for the user to read.
[0105] It can be seen that through the method in the embodiment of the present application, if the user has selected the target notification message and accidentally touches the button to close the notification and cannot restore it, the target notification message identification ID in the response instruction can be used to restore it in the display interface, and the corresponding message details can be updated to the current display interface, thereby avoiding the user missing important information due to misoperation.
[0106] In a possible example, a message viewing method provided by an embodiment of the present application is shown in FIG. Figure 6 , Figure 6It is a flow chart of a method for viewing message details provided in an embodiment of the present application, which is applied to a second device. As shown in the figure, the method for viewing message details includes the following operations.
[0107] S601. Receive a request instruction sent by a first terminal device, where the request instruction includes a target notification message identification ID.
[0108] S602: Determine detailed content corresponding to the target notification message according to the target notification message identification ID.
[0109] S603: Send a response instruction to the first terminal device, where the response instruction includes the detailed content.
[0110] The execution process of steps S601-S603 corresponds to the above steps S402-S404. Through the operations performed in steps S402-S404, the second device receives the corresponding request instruction, and after parsing the request instruction, confirms the source APP and message details corresponding to the target notification message identification ID.
[0111] Furthermore, the message details and the identification ID are encapsulated into a response instruction, and the obtained response instruction is returned to the first device. The specific process is similar to the method described in steps S402-S404, and will not be described in detail here.
[0112] It can be seen that in the method for viewing message details described in the embodiment of the present application, the second device receives a request instruction sent by the first terminal device, wherein the request instruction includes a target notification message identification ID; determines the detailed content corresponding to the target notification message according to the target notification message identification ID; and sends a response instruction to the first terminal device, wherein the response instruction includes the detailed content encapsulation. In this way, a response instruction can be returned to the first terminal device through an encapsulation instruction, and the response instruction includes the content details of the corresponding target notification message, thereby realizing display on the first terminal device, and the user can quickly view the notification details without having to switch from the first terminal device to the second terminal device, resulting in a strong interruption of the current work.
[0113] In a possible example, the request instruction includes a target notification message identification ID and the application ID, the mobile terminal is installed with one or more applications, wherein each of the target notification messages corresponds to one application; for determining the detailed content corresponding to the target notification message according to the request instruction, please refer to Figure 7 , Figure 7 This is a flow chart of a response instruction encapsulation provided in an embodiment of the present application. As shown in the figure, the method for viewing message details includes the following operations.
[0114] S701. Confirm the application ID corresponding to the target notification message according to the request instruction.
[0115] Specifically, after receiving the request instruction sent by the first terminal device, the second terminal device parses the request instruction to obtain the application ID. The content in the request instruction includes but is not limited to: target notification message identification ID, application ID, target notification message content, etc.
[0116] S702: Send the request instruction to the target application corresponding to the application ID.
[0117] Specifically, the corresponding target application is determined according to the uniqueness of the application ID, and the general control center of the second terminal device: the mobile health APP obtains the application ID through the above-mentioned parsing process and distributes the request instruction to the specific application.
[0118] S703: In response to the detailed content corresponding to the target notification message returned by the target application according to the target notification message identification ID, obtain the response instruction according to the target notification message identification ID and the detailed content.
[0119] Exemplarily, the encapsulation process of the response instruction is consistent with the encapsulation process of the request instruction described above, and will not be described in detail here.
[0120] It can be seen that in the method of encapsulating the response instruction described in the embodiment of the present application, the second device obtains the identification ID and application ID of the target notification message by parsing the request instruction, and then determines the target application in the second device according to the application ID, and obtains the message details from the target application according to the identification ID; and sends the response instruction to the first terminal device, wherein the response instruction includes the detailed content. According to the uniqueness of the identification ID, the consistency of the request and response results of the first device and the second device can be maintained, thereby ensuring that the user can accurately obtain the detailed content of the target notification message, which is conducive to improving the user experience.
[0121] In order to better understand the technical solution proposed in this application, Figure 8 The interaction process of the associated devices corresponding to the present application solution is described in detail. Figure 8 As shown, Figure 8 This is a schematic diagram of a device interaction for message viewing provided by an embodiment of the present application. It specifically includes the following steps:
[0122] S801. Responding to a user's click operation on a target notification message.
[0123] S802: Send a request instruction to the second terminal device, where the request instruction includes a target notification message identification ID.
[0124] S803: Receive a request instruction sent by the first terminal device.
[0125] S804: Determine detailed content corresponding to the target notification message according to the target notification message identification ID.
[0126] S805: Send the response instruction to the first terminal device, where the response instruction includes the detailed content.
[0127] S806. Receive a response instruction returned by the second terminal device according to the target notification message identifier ID.
[0128] S807: Display the detailed content.
[0129] The descriptions of steps S801-S802, S806-S807 are similar to those in Figure 4 The relevant description of the message viewing method is consistent with that in the above-mentioned steps S803-S805, and will not be repeated here; Figure 6 The relevant descriptions in the message viewing method are consistent and will not be repeated here.
[0130] See also Fig. 9 , Fig. 9 It is a structural diagram of an electronic device provided in an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface and one or more programs, wherein the one or more programs are stored in the memory.
[0131] In a possible example, the electronic device includes a first terminal device, and the one or more programs are configured to cause the processor to execute instructions for the following steps:
[0132] In response to a user clicking operation on a target notification message;
[0133] Sending a request instruction to the second terminal device, wherein the request instruction includes a target notification message identification ID;
[0134] receiving a response instruction returned by the second terminal device according to the target notification message identification ID, wherein the response instruction includes the detailed content;
[0135] The detailed contents are displayed.
[0136] It can be seen that the first terminal device described in the embodiment of the present application responds to the user's click operation on the target notification message; sends a request instruction to the second terminal device, wherein the request instruction includes the identification ID of the target notification message; receives a response instruction including the detailed content corresponding to the target notification message returned by the second terminal device according to the identification ID of the target notification message; and displays the detailed content. With the embodiment of the present application, the corresponding message details can be requested from the second terminal device through instructions, and the display can be realized on the first terminal device. The user can quickly view the notification details without switching from the first terminal device to the second terminal device, resulting in a strong interruption of the current work.
[0137] Optionally, the second terminal device is installed with one or more application programs; the program further includes instructions for executing the following steps:
[0138] Before responding to the user's click operation on the target notification message, the method further includes:
[0139] Notification messages of the one or more applications are received, wherein the notification messages include at least one target notification message, wherein each target notification message corresponds to one of the applications.
[0140] Optionally, in response to a user clicking operation on a target notification message, a request instruction is encapsulated according to the clicking operation, and the program includes instructions for executing the following steps:
[0141] In response to the user clicking operation of "view details" on the target notification message, determining the application ID and the target notification message identification ID corresponding to the target notification message;
[0142] The application ID and the target notification message identification ID are encapsulated into the request instruction.
[0143] Optionally, the response instruction further includes the target notification message identification ID; the display of the detailed content, the above program includes instructions for executing the following steps:
[0144] Parsing the response instruction to obtain the target notification message identification ID in the response instruction;
[0145] Determine whether the target notification message corresponding to the target notification message identifier ID is displayed on the first terminal device interface:
[0146] If the target notification message is displayed on the first terminal device interface, the detailed content is updated to the display interface of the target notification message for display.
[0147] Optionally, after determining whether the target notification message corresponding to the target notification message identification ID is displayed on the first terminal device interface, the program includes instructions for executing the following steps:
[0148] If the target notification message is not displayed on the first terminal device interface, the display interface of the target notification message corresponding to the target notification message identification ID on the first terminal interface is restored, and the detailed content is updated to the display interface.
[0149] In a possible example, the electronic device includes a second terminal device, and the one or more programs are configured to cause the processor to execute instructions for the following steps:
[0150] Receiving a request instruction sent by the first terminal device, wherein the request instruction includes a target notification message identification ID;
[0151] Determine the detailed content corresponding to the target notification message according to the target notification message identification ID;
[0152] The response instruction is sent to the first terminal device, wherein the response instruction includes the detailed content.
[0153] Optionally, the request instruction includes a target notification message identification ID and the application ID, and the mobile terminal is installed with one or more applications, wherein each of the target notification messages corresponds to one application; the detailed content corresponding to the target notification message is determined according to the request instruction, and the program includes instructions for executing the following steps:
[0154] Confirming the application ID corresponding to the target notification message according to the request instruction;
[0155] Sending the request instruction to the target application corresponding to the application ID;
[0156] In response to the detailed content corresponding to the target notification message returned by the target application according to the target notification message identification ID, the response instruction is obtained according to the target notification message identification ID and the detailed content.
[0157] It can be seen that the second terminal device described in the embodiment of the present application receives a request instruction sent by the first terminal device, wherein the request instruction includes the target notification message identification ID; then the second terminal device determines the detailed content corresponding to the target notification message according to the target notification message identification ID in the request instruction; and further sends the response instruction to the first terminal device, wherein the response instruction includes the detailed content. With the embodiment of the present application, the second terminal device can return the message details corresponding to the request instruction to the first terminal device through the response instruction, and realize the display on the first terminal device. The user can quickly view the notification details without switching from the first terminal device to the second terminal device, resulting in a strong interruption of the current work.
[0158] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0159] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0160] and Figure 4 In accordance with the embodiment of the present invention, when each functional module is divided into corresponding functional modules, such as Fig.10 The functional unit composition block diagram of a message viewing device provided by an embodiment of the present application is shown in FIG. Fig.10 As shown, the apparatus is applied to a first device, and the message viewing method apparatus 1000 may include: a responding unit 1001, a sending unit 1002, a receiving unit 1003 and a display unit 1004, wherein:
[0161] The response unit 1001 is used to respond to a user's click operation on a target notification message.
[0162] The sending unit 1002 is used to send a request instruction to the second terminal device, and the request instruction includes a target notification message identification ID.
[0163] The receiving unit 1003 is used to receive a response instruction returned by the second terminal device in response to the target notification message identification ID of the request instruction, and the response instruction includes detailed content corresponding to the target notification message.
[0164] The display unit 1004 is used to display the detailed content.
[0165] It can be seen that the device for viewing message details provided in the embodiment of the present application can be based on the association between the first terminal device and the second terminal device, and one or more identical applications are installed between the associated devices. The associated devices can simultaneously receive push messages from the same application. Among them, the first terminal device responds to the user's click operation on the target notification message, encapsulates a request instruction according to the click operation, and the request instruction includes the target notification message identification ID; sends the request instruction to the second terminal device; receives the response instruction returned by the second terminal device for the target notification message identification ID of the request instruction, and the response instruction includes the detailed content corresponding to the target notification message; parses the response instruction and displays the detailed content. Through this device, the display on the first terminal device can be realized, and the user can quickly view the notification details without switching from the first terminal device to the second terminal device, resulting in a strong interruption of the current work.
[0166] In a possible example, the response unit 1001 specifically performs the following steps:
[0167] In response to a user clicking on a target notification message, the method includes:
[0168] In response to the user clicking operation of "view details" on the target notification message, the application ID and the target notification message identification ID corresponding to the target notification message are determined.
[0169] The application ID and the target notification message identification ID are encapsulated into the request instruction.
[0170] In a possible example, the response instruction further includes the target notification message identification ID; and the detailed content is displayed. Specifically, the display unit 1004 performs the following steps:
[0171] Parse the response instruction and obtain the target notification message identification ID in the response instruction.
[0172] Determine whether the target notification message corresponding to the target notification message identification ID is displayed on the first terminal device interface: if the target notification message is displayed on the first terminal device interface, update the detailed content to the display interface of the target notification message for display; if the target notification message is not displayed on the first terminal device interface, restore the display interface of the target notification message corresponding to the target notification message identification ID on the first terminal interface, and update the detailed content to the display interface.
[0173] Fig.11 The functional unit composition block diagram of a message viewing device provided by an embodiment of the present application is shown in FIG. Fig.11 As shown, the device is applied to a second terminal device, and the message viewing method device 1100 may include: a receiving unit 1101, an encapsulation unit 1102 and a sending unit 1103, wherein:
[0174] The receiving unit 1101 is used to receive a request instruction sent by a first terminal device.
[0175] The encapsulation unit 1102 is used to determine the detailed content corresponding to the target notification message according to the request instruction.
[0176] The sending unit 1103 is used to send the response instruction to the first terminal device, and the response instruction includes the detailed content.
[0177] It can be seen that the message viewing device provided in the embodiment of the present application can be based on the association between the first terminal device and the second terminal device, and one or more identical applications are installed between the associated devices. The associated devices can simultaneously receive push messages from the same application. Among them, the second terminal device receives a request instruction sent by the first terminal device, and the request instruction includes a target notification message identification ID; determines the detailed content corresponding to the target notification message according to the target notification message identification ID; and sends the response instruction to the first terminal device, wherein the response instruction includes the detailed content. Through this device, it can be achieved that the second terminal device can return the message details corresponding to the request instruction to the first terminal device through a response instruction, and realize the display on the first terminal device. The user can view the notification details very quickly without switching from the first terminal device to the second terminal device, resulting in a strong interruption of the current work.
[0178] In a possible example, the request instruction includes a target notification message identification ID and the application ID, and the mobile terminal is installed with one or more applications, wherein each of the target notification messages corresponds to one application; the display unit 1004 specifically performs the following steps to determine the detailed content corresponding to the target notification message according to the request instruction:
[0179] Confirming the application ID corresponding to the target notification message according to the request instruction;
[0180] Sending the request instruction to the target application corresponding to the application ID;
[0181] In response to the detailed content corresponding to the target notification message returned by the target application according to the target notification message identification ID, the target notification message identification ID and the detailed content are encapsulated to obtain the response instruction.
[0182] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0183] The electronic device provided in this embodiment is used to execute the above method of viewing message details, and thus can achieve the same effect as the above implementation method.
[0184] In the case of using an integrated unit, the electronic device may include a processing module, a storage module and a communication module. Among them, the processing module can be used to control and manage the actions of the electronic device, for example, it can be used to support the electronic device to execute the above-mentioned response unit 1001, the sending unit 1002, the receiving unit 1003 and the display unit 1004, or the steps performed by the receiving unit 1101, the encapsulation unit 1102 and the sending unit 1103. The storage module can be used to support the electronic device to execute the stored program code and data, etc. The communication module can be used to support the communication between the electronic device and other devices.
[0185] Among them, the processing module can be a processor or a controller. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, etc.
[0186] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes an electronic device.
[0187] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.
[0188] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0189] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0190] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0191] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0192] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0193] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0194] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.
[0195] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A message viewing method, applied to a first terminal device, characterized in that: Methods include: In response to a user clicking operation on a target notification message; Sending a request instruction to the second terminal device, wherein the request instruction includes a target notification message identification ID; receiving a response instruction sent by the second terminal device according to the target notification message identification ID, wherein the response instruction includes detailed content corresponding to the target notification message and the target notification message identification ID; Parse the response instruction to obtain the target notification message identification ID in the response instruction; determine whether the target notification message corresponding to the target notification message identification ID is displayed on the first terminal device interface: if the target notification message is displayed on the first terminal device interface, update the detailed content in the response instruction to the display interface of the target notification message for display; or, Obtain the application ID of the source of the target notification message in the response instruction. If there is an application corresponding to the application ID of the source, start the application interface of the application and display the detailed content corresponding to the target notification message identification ID in the application interface.
2. The method according to claim 1, characterized in that The second terminal device is installed with one or more applications; Before responding to the user's click operation on the target notification message, the method further includes: Notification messages of the one or more applications are received, wherein the notification messages include at least one target notification message, wherein each target notification message corresponds to one of the applications.
3. The method according to claim 1 or 2, characterized in that: The step of responding to a user's click operation on a target notification message includes: In response to the user clicking a "view details" operation on the target notification message, determining the application ID and the target notification message identification ID corresponding to the target notification message; The application ID and the target notification message identification ID are encapsulated into the request instruction.
4. The method according to claim 1, characterized in that: After determining whether the target notification message corresponding to the target notification message identification ID is displayed on the first terminal device interface, the method further includes: If the target notification message is not displayed on the first terminal device interface, the display interface of the target notification message corresponding to the target notification message identification ID on the first terminal interface is restored, and the detailed content is updated to the display interface.
5. A message viewing method, applied to a second terminal device, characterized in that: Methods include: Receiving a request instruction sent by the first terminal device, wherein the request instruction includes a target notification message identification ID; Determine the detailed content corresponding to the target notification message according to the target notification message identification ID; Sending a response instruction to the first terminal device, the response instruction including the detailed content and the target notification message identification ID; the response instruction is used by the first terminal device to parse the response instruction and obtain the target notification message identification ID in the response instruction; Determine whether the target notification message corresponding to the target notification message identification ID is displayed on the first terminal device interface: if the target notification message is displayed on the first terminal device interface, update the detailed content in the response instruction to the display interface of the target notification message for display; or, Obtain the application ID of the source of the target notification message in the response instruction. If there is an application corresponding to the application ID of the source, start the application interface of the application and display the detailed content corresponding to the target notification message identification ID in the application interface.
6. The method according to claim 5, characterized in that The request instruction includes a target notification message identification ID and an application ID, and the second terminal device is installed with one or more applications, wherein each of the target notification messages corresponds to one application; The determining, according to the request instruction, detailed content corresponding to the target notification message includes: Confirming the application ID corresponding to the target notification message according to the request instruction; Sending the request instruction to the target application corresponding to the application ID; In response to the detailed content corresponding to the target notification message returned by the target application according to the target notification message identification ID, the response instruction is obtained according to the target notification message identification ID and the detailed content.
7. A message viewing device, characterized in that: The device comprises: A response unit, used to respond to a user's click operation on a target notification message; A sending unit, configured to send a request instruction to the second terminal device, wherein the request instruction includes a target notification message identification ID; A receiving unit, configured to receive a response instruction sent by the second terminal device according to the target notification message identification ID, wherein the response instruction includes detailed content corresponding to the target notification message; A display unit is used to display the detailed content and the target notification message identification ID; parse the response instruction to obtain the target notification message identification ID in the response instruction; determine whether the target notification message corresponding to the target notification message identification ID is displayed on the display unit interface: if the target notification message is displayed on the display unit interface, update the detailed content in the response instruction to the display interface of the target notification message for display; or, Obtain the application ID of the source of the target notification message in the response instruction. If there is an application corresponding to the application ID of the source, start the application interface of the application and display the detailed content corresponding to the target notification message identification ID in the application interface.
8. A message viewing device, characterized in that: The device comprises: A receiving unit for receiving a request instruction sent by the first terminal device; An encapsulation unit, configured to determine detailed content corresponding to the target notification message according to the request instruction; A sending unit, used to send a response instruction to the first terminal device, the response instruction including the detailed content and the target notification message identification ID; the response instruction is used by the first terminal device to parse the response instruction and obtain the target notification message identification ID in the response instruction; determine whether the target notification message corresponding to the target notification message identification ID is displayed on the first terminal device interface: if the target notification message is displayed on the first terminal device interface, update the detailed content in the response instruction to the display interface of the target notification message for display; or, Obtain the application ID of the source of the target notification message in the response instruction. If there is an application corresponding to the application ID of the source, start the application interface of the application and display the detailed content corresponding to the target notification message identification ID in the application interface.
9. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1-4 or 5-6.
10. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1-4 or 5-6.
Citation Information
Patent Citations
Unread message acquisition method and smart watch
CN105204622A
Information display method and device and electronic equipment
CN112286416A