WO2023030309A1 - Message sharing method and apparatus and electronic device - Google Patents
Message sharing method and apparatus and electronic device Download PDFInfo
- Publication number
- WO2023030309A1 WO2023030309A1 PCT/CN2022/115809 CN2022115809W WO2023030309A1 WO 2023030309 A1 WO2023030309 A1 WO 2023030309A1 CN 2022115809 W CN2022115809 W CN 2022115809W WO 2023030309 A1 WO2023030309 A1 WO 2023030309A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- identifier
- screenshot
- unread
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72436—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
Definitions
- the present application belongs to the technical field of communication, and in particular relates to a message sharing method, device and electronic equipment.
- electronic devices can display a message corner mark in the upper right corner of the application icon of each APP to remind users that there are unread messages in the APP.
- users want to share unread messages with other users through electronic devices they usually need to The user gives his electronic device to other users, and then other users can view unread messages through the user's electronic device.
- the purpose of the embodiments of the present application is to provide a message sharing method, device and electronic equipment, which can solve the problem of low security of sharing unread messages through electronic equipment.
- the embodiment of the present application provides a message sharing method, which is applied to a first message sharing device, and the method includes: capturing an image of a first object to obtain a first screenshot, and the first screenshot includes N first programs icon and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, N is a positive integer; send the above-mentioned first message identifier to the second message sharing device A screenshot, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot.
- the embodiment of the present application provides a message sharing method applied to a second message sharing device, the method comprising: receiving a first screenshot sent by the first message sharing device, the first screenshot including N first programs icon and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer; Three inputs; in response to the above third input, at least one unread message indicated by the first message identifier is displayed.
- the embodiment of the present application provides a message sharing device, the message sharing device includes: an intercepting module and a sending module; N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, N is a positive integer; the sending module uses The above-mentioned first screenshot obtained by the intercepting module is sent to the second message sharing device, so that the second message sharing device obtains at least one unread message indicated by the first message identifier through the first screenshot.
- the embodiment of the present application provides a message sharing device, the message sharing device includes: a receiving module and a display module; the receiving module is used to receive the first screenshot sent by the first message sharing device, and receive the user's The third input of the first screenshot; the first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, and each first message identifier is used to indicate at least one For unread messages, N is a positive integer; the display module is configured to display at least one unread message indicated by the first message identifier in response to the above-mentioned third input received by the receiving module.
- the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction is executed by The processor implements the steps of the method described in the first aspect or the second aspect when executed.
- the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the implementation as described in the first aspect or the second aspect is realized. steps of the method.
- the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect Or the method described in the second aspect.
- the first message sharing device may capture the image of the first object to obtain a first screenshot, the first screenshot includes N first program icons and N first message identifiers, one first program The icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer. Then, the first message sharing device may send the first screenshot to the second message sharing device, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot.
- the first message sharing device in this application It is possible to first intercept images including N first program icons and N first message identifiers to obtain a first screenshot, and then send the first screenshot to the second message sharing device, so that the second message sharing device can pass the first screenshot Obtain at least one unread message indicated by the first message identifier. In this way, there is no need for users to give their electronic devices to other users, thereby avoiding the leakage of user privacy, improving the security of sharing unread messages through electronic devices, and allowing other users to quickly check through screenshots in their electronic devices Unread messages shared by users.
- FIG. 1 is a schematic flow chart of a message sharing method provided in an embodiment of the present application
- Fig. 2 is one of the interface schematic diagrams of the application of a message sharing method provided by the embodiment of the present application;
- Fig. 3 is the second schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application.
- Fig. 4 is the third schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application.
- Fig. 5 is the fourth schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application.
- FIG. 6 is the fifth schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application.
- Fig. 7 is the sixth schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application.
- FIG. 8 is a schematic flowchart of another message sharing method provided by the embodiment of the present application.
- FIG. 9 is a schematic interface diagram of another message sharing method application provided by the embodiment of the present application.
- FIG. 10 is a schematic structural diagram of a message sharing device provided by an embodiment of the present application.
- FIG. 11 is a schematic structural diagram of another message sharing device provided by an embodiment of the present application.
- FIG. 12 is one of the structural schematic diagrams of an electronic device provided in the embodiment of the present application.
- FIG. 13 is a second schematic structural diagram of an electronic device provided by an embodiment of the present application.
- first”, “second” and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein.
- the objects distinguished by “first”, “second” and so on are generally one type, and the number of objects is not limited, for example, there may be one first object, or there may be multiple ones.
- “and/or” in the specification and claims means at least one of the connected objects, and the character “/” generally means that the related objects are an "or” relationship.
- Fig. 1 is a schematic flow chart of a message sharing method provided by the embodiment of the present application, which is applied to the first message sharing device, including steps 201 and 202:
- Step 201 The first message sharing device intercepts the image of the first object to obtain a first screenshot.
- the above-mentioned first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, and N is positive integer.
- the above-mentioned first objects include the above-mentioned N first program icons and N first message identifiers.
- the above-mentioned first object may also include at least one second program icon, wherein the application program corresponding to the second program icon does not exist Unread messages.
- the above-mentioned first program icon may be the application program icon of the application program, or the shortcut icon of the application program, or any icon that can indicate the application program. This is not limited.
- the logos in this application are words, symbols, images, etc. used to indicate information, and controls or other containers can be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
- the shape of the logo in this application can be any possible shape such as circle, rectangle, triangle, rhombus, ring or polygon, and the color of the logo in this application can be red, blue, green Or any possible color such as yellow, which can be determined according to actual use requirements, and is not limited in the embodiment of the present invention.
- the above at least one unread message is an unread message in the application program indicated by the corresponding first program icon of each first message identifier.
- each of the above-mentioned first message identifiers is used to indicate at least one unread message. It can be understood that each first message identifier may indicate that there is at least one unread message in the corresponding At least one of the number and content of unread messages.
- the above-mentioned first message identifier may be a message subscript.
- the mobile phone desktop 31 displays 9 application icons, which are respectively APP1 icon to APP9 icon, wherein the upper right corner of the APP1 icon 32 displays a message corner mark 32a and an APP2 icon 33 A message corner mark 33a is displayed in the upper right corner.
- the number in the message subtitle indicates the number of unread messages, for example, the number 3 in the message subtitle 32a indicates that the number of unread messages is 3.
- the first message sharing device may capture the image of the first object in the target interface described below, or may capture the image of the first object in the virtual interface described below, which is not limited in the present application.
- the above target interface may be any interface in the first message sharing device, for example, the target interface may be the desktop of the first message sharing device.
- the aforementioned virtual interface is generated according to the target interface.
- the virtual interface is a virtual desktop generated by the first message sharing device according to the desktop of the first message sharing device.
- the first message sharing device may generate a mapped virtual interface (or called a screenshot cache area) in a mapped manner according to information such as program icons, message identifiers, and wallpapers in the target interface.
- the first message sharing device may collect status information of program icons and message identifiers in the target interface, such as shape, size, and color, and record the status information into a database. Then, the first message sharing device may generate a mapped virtual interface according to the state information in the database.
- the first message sharing device may edit at least one of a program icon and a message identifier in the virtual interface. It should be noted that the editing of the program icons and message identifiers in the virtual interface by the first message sharing device will not change the program icons and message identifiers of the target interface itself.
- the first message sharing device when the user clicks on the program icon in the virtual interface, the first message sharing device will not be triggered to display the application program interface corresponding to the program icon.
- the above-mentioned target interface is dynamic, and the virtual interface is static.
- the first message sharing device can dynamically update the display content of the message identification in the target interface , but does not update the display of the message ID in the virtual interface.
- Step 202 the first message sharing device sends the first screenshot to the second message sharing device, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot.
- the above-mentioned unread message indicated by at least one first message identifier may be received by the second message sharing device from the first message sharing device, or may be obtained by the second message sharing device from the server.
- the embodiment of the application does not limit this.
- the first message sharing device may send the unread message indicated by the above-mentioned at least one first message identifier to the second message sharing device, or send the unread message to the second message sharing device While sending the first screenshot, send the above-mentioned at least one unread message indicated by the first message identifier to the second message sharing device, and send the above-mentioned message to the second message sharing device before sending the first screenshot to the second message sharing device.
- the unread message indicated by at least one first message identifier which is not limited in this embodiment of the present application.
- the unread message indicated by the at least one first message identifier may be sent to the server by the first message sharing device.
- the information sent by the server may also be stored in the server, which is not limited in this embodiment of the present application.
- the first message sharing device can capture the image of the first object to obtain a first screenshot, the first screenshot includes N first program icons and N first message identifiers, one The first program icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer. Then, the first message sharing device may send the first screenshot to the second message sharing device, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot.
- the first message sharing device in this application It is possible to first intercept images including N first program icons and N first message identifiers to obtain a first screenshot, and then send the first screenshot to the second message sharing device, so that the second message sharing device can pass the first screenshot Obtain at least one unread message indicated by the first message identifier. In this way, there is no need for users to give their electronic devices to other users, thereby avoiding the leakage of user privacy, improving the security of sharing unread messages through electronic devices, and allowing other users to quickly check through screenshots in their electronic devices Unread messages shared by users.
- the method may also include the following steps A1 to A3:
- Step A1 The first message sharing device receives the user's second input.
- the above-mentioned second input can be: the user's click input on the screen, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual usage requirements. Not limited.
- the specific gesture in this embodiment of the application may be any one of a click gesture, a slide gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture;
- the click input in the embodiment of the application may be a single click input, a double click input, or any number of click inputs, etc., and may also be a long press input or a short press input.
- Step A2 In response to the above second input, the first message sharing device sets the viewing authority corresponding to the target user account.
- the above-mentioned target user account is an account corresponding to the second message sharing device.
- Step A3 The first message sharing device generates user authority query data according to the above viewing authority.
- the above viewing permission is used to instruct the second message sharing device to obtain unread messages corresponding to the preset permission level through the first screenshot when the viewing permission is a preset permission level.
- the above-mentioned user authority query data may be a user authority query data table.
- the first message sharing device may also set the viewing authority corresponding to other peer users, which is not limited in this embodiment of the present application.
- the user can set different message categories for different applications through the first message sharing device, for example, the message category of APP1 is aaa, the message category of APP2 is aa, and the message category of APP3 is a.
- the user can set (that is, grant) different viewing permissions to different peer users through the first message sharing device, and different viewing permissions correspond to different message categories.
- user 1's viewing permission level is high, and the corresponding message category is aaa
- user 2's viewing permission level is medium, and the corresponding message category is aa
- user 3's viewing permission level is low, and the corresponding message category is a.
- the message sharing method provided by the embodiment of the present application can be applied to quickly set the viewing authority of the peer user.
- the user can set the viewing authority corresponding to the target user through the first message sharing device according to the demand, so that the target user can only view and meet the requirements of their own viewing.
- Unread messages with permission so that the message security of unread messages can be protected.
- the method may also include the following step 203:
- Step 203 When the second object is displayed, the first message sharing device executes target processing on the second object to obtain the above-mentioned first object.
- the above-mentioned second object includes M second program icons and M second message identifiers, one second program icon corresponds to one second message identifier, each second message identifier is used to indicate at least one unread message, and M is positive integer.
- the above-mentioned target processing may be one or multiple, which is not limited in this embodiment of the present application.
- the above target processing may include at least one of the following: deleting the first identifier; splitting and displaying the target program icon into at least one first program icon, and displaying the target program icon corresponding to The second message identifier is split and displayed as at least one first message identifier; and the identification content of the third message identifier is updated.
- the above-mentioned first identifier is any one of the above-mentioned M second program icons and the above-mentioned M second message identifiers.
- the above-mentioned target program icon is any one of the above-mentioned M second program icons, and each first program icon is used to indicate a function or a message type of the application program corresponding to the above-mentioned target program icon; each first message identifier is used for Indicates unread messages for a function or unread messages for a message type.
- the third message identifier is any one of the M second message identifiers, and the number of unread messages indicated by the updated third message identifier is less than the number of unread messages indicated by the third message identifier before updating and displaying.
- the above target processing includes but not limited to the above three processing.
- the message sharing device may actively perform the above-mentioned step 203, or may passively perform the above-mentioned step 203, which is not limited in this embodiment of the present application.
- the message sharing apparatus may directly perform target processing on the second object when it is determined that the second object includes M second program icons and M second message identifiers, to obtain the above-mentioned first an object.
- step 203 may specifically include the following steps 203a and 203b:
- Step 203a The first message sharing device receives a first input from the user when the second object is displayed.
- the above-mentioned first input may be: the user's click input on the screen, or the user's click input on a specific control, or a voice command input by the user, or a specific gesture input by the user, and the specific
- the usage requirements are determined, which is not limited in this embodiment of the present application.
- Step 203b In response to the first input, the first message sharing device performs target processing on the second object to obtain the first object.
- different first inputs may correspond to different target processes.
- the message sharing device may delete the first identifier; when the first input is a double-click input, the message sharing device may split and display the target program icon into at least one A program icon, and the second message identification corresponding to the target program icon is split and displayed as at least one first message identification; in the case that the first input is a long press input, the message sharing device can perform updating of the third message identification Identify content.
- the first message sharing device deletes the first identifier.
- the above-mentioned first identifier may be set by default by the system, or may be set by the user, which is not limited in this embodiment of the present application.
- the first message sharing apparatus may delete the first identifier in at least two possible implementation manners as follows. The following takes the first identifier as the second message identifier as an example for illustration.
- the first message sharing device includes information removal data
- the information removal data is used to indicate an identifier that can be automatically deleted
- the identifier that can be automatically deleted includes at least one of the following: a program icon and a message identifier.
- the user may establish information removal data (such as a screenshot removable database or a screenshot removable data table) in advance through the first message sharing device, and the information removal data may include an identification of an application program (for example, an application program name) and removable fields, as shown in Table 1.
- information removal data such as a screenshot removable database or a screenshot removable data table
- the system can automatically identify the application program in the second object in the screenshot area, and intelligently match the information to remove the data according to the application name field of the application program, After the application name is matched, the second message identifier corresponding to the matching application in the screenshot area is deleted through the removable field, and only the second program icon of the application is retained.
- the mobile phone desktop 31 displays 9 application icons, which are respectively APP1 icon to APP9 icon, wherein the upper right corner of the APP1 icon 32 displays a message corner mark 32a A message subscript 33a is displayed at the upper right corner of the APP2 icon 33 .
- the user wants to take a screenshot, he can click on the "screenshot" control to enable the screenshot function.
- a rectangular frame 34 can be displayed in the mobile phone desktop 31, and then the user can select the screenshot area by adjusting the rectangular frame 34.
- the mobile phone can enable the screenshot processing function.
- the mobile phone can identify whether APP1 and APP2 corresponding to the message corner mark belong to the screenshot removable database, and if so, as shown in (b) in Figure 2, The mobile phone can directly delete the message corner mark in the upper right corner of APP1 and APP2.
- the mobile phone determines that the object in the screenshot area is not an object in the desktop, the mobile phone can take a normal screenshot. If the mobile phone determines that the object in the screenshot area does not include a message corner mark, the mobile phone can also perform a regular screenshot.
- the mobile phone can generate a virtual desktop according to the mobile phone desktop, so that the mobile phone can determine whether the object in the virtual desktop is an object in the desktop, and delete the virtual desktop according to the screenshot removable database. Message badges on the desktop.
- the first message sharing device may only delete the first identifier.
- the above-mentioned step 203b of performing target processing on the second object may specifically include the following step 203b1:
- Step 203b1 The first message sharing device deletes the above-mentioned first identifier, and updates the above-mentioned information removal data.
- the above-mentioned first identifier is any one of the above-mentioned M second program icons and the above-mentioned M second message identifiers; the updated message removal data is used to indicate that the first message sharing device can automatically delete the first identifier.
- the first message sharing apparatus may display the target control when it is determined that the second object includes M second program icons and M second message identifiers. Then, the first message sharing device may delete the first identifier after receiving the user's first input on the target control.
- the upper right corner of the APP5 icon 35 in the mobile phone desktop 31 also displays a message corner mark 35a, if the mobile phone judges that the object in the screenshot area includes a message corner mark, then the mobile phone can display a message corner mark in the message.
- the right side of the corner mark 35a displays a "delete" control 35b and a "delete and mark” control 35c (ie, the above-mentioned target control).
- the user wants to delete the message corner mark 35a, and enter the information corresponding to APP5 in the screenshot removable database, the user can click the "delete and mark" button 35c (ie the first input mentioned above).
- the mobile phone can remove the message corner mark 35a, and can enter the information corresponding to APP5 in the screenshot removable database.
- the first message sharing device splits and displays the target program icon into at least one first program icon, and splits and displays the second message ID corresponding to the target program icon into at least one first message ID.
- the above-mentioned target program icon can be set by default by the system, or can be set by the user, which is not limited in this embodiment of the present application.
- the upper right corner of the APP7 icon 36 in the mobile phone desktop 31 also displays a message corner mark 37, and the message corner mark 37 shows that the number of unread messages is 7, indicating that there are 7 unread messages in APP7.
- the user wants to split APP7 he can click on the APP7 icon 36 .
- the mobile phone can split APP7 according to the message type.
- the mobile phone splits the APP7 icon 36 and displays it as 4 sub-icons (that is, at least one of the above-mentioned first program icons), which are respectively the circle of friends icon 36a , group icon 36b, personal icon 36c, news icon 36d, etc.; the message corner mark 36 is split and displayed as 4 sub-identities (that is, at least one message mark above), which are respectively message corner mark 37a, message corner mark 37b, message corner mark Mark 37c and message corner mark 37d.
- 4 sub-icons that is, at least one of the above-mentioned first program icons
- the message corner mark 36 is split and displayed as 4 sub-identities (that is, at least one message mark above), which are respectively message corner mark 37a, message corner mark 37b, message corner mark Mark 37c and message corner mark 37d.
- the message corner mark 37a shows that the number of unread messages is 3, indicating that there are 3 unread messages in Moments
- the message corner mark 37b shows that the number of unread messages is 2, indicating that there are 2 unread messages in the group
- the message corner mark 37c shows The number of unread messages is 1, which means that there is 1 unread message for the individual
- the message corner mark 37d shows that the number of unread messages is 1, which means that there is 1 unread message for news.
- the mobile phone deletes the group icon 36b, the personal icon 36c, the news icon 36d, the message corner mark 37b, the message corner mark 37c and the message corner mark 37d, and the mobile phone desktop 31 only displays the circle of friends icon 36a and the message corner mark Mark 37a.
- the message sharing method provided by the embodiment of the present application can be applied to the scene of quickly classifying and displaying the unread information corresponding to the program icon.
- the first message sharing device can classify the unread messages according to the function or message type of the application program, so Split and display the target program icon and the second message identifier corresponding to the target program icon by category, so that the user or peer user can quickly select the unread messages of the category they need to read according to their needs, without displaying all unread messages , so that the process of sharing unread messages is more flexible.
- the first message sharing device updates the identification content of the third message identification.
- the above-mentioned third message identifier may be set by default by the system, or may be set by the user, which is not limited in this embodiment of the present application.
- the unread message indicated by the updated third message identifier may be determined according to time. For example, the difference between the receiving time of the unread message indicated by the updated third message identifier and the current time is less than or equal to the preset duration, that is, the latest unread message received by the first message sharing device.
- the identification content of the third message identifier is updated.
- the above-mentioned first condition may be that the number of unread messages indicated by the third identifier is greater than a preset threshold, and the number of unread messages indicated by the updated third message identifier is the preset threshold.
- the preset threshold may be set by default by the system or by a user, which is not limited in this embodiment of the present application.
- the upper right corner of the APP5 icon 37 in the mobile phone desktop 31 also displays a message corner mark 37a, on the message corner mark 37a
- the number of unread messages displayed is 8, indicating that there are 8 unread messages in APP5, which is greater than 4.
- the mobile phone may update and display the number of unread messages on the message corner mark 37a as 4.
- the image processing device may keep displaying the display content of the third message identifier, that is, according to the number of unread messages indicated by the third message identifier. The actual number of read messages is displayed.
- the first message sharing device may determine the above-mentioned preset threshold according to the viewing authority corresponding to the user account.
- the method may further include the following step B1:
- Step B1 The first message sharing device determines a preset threshold according to the viewing authority corresponding to the target user account.
- the above-mentioned target user account is an account corresponding to the second message sharing device.
- the preset threshold may decrease as the level of viewing authority increases, and increase as the level of viewing authority decreases; or increase as the level of viewing authority increases, and increase as the level of viewing authority increases. decrease as the level decreases.
- the above-mentioned update of the identification content of the third message identification may specifically include the following step B2:
- Step B2 The first message sharing device updates the identification content of the third message identification when the number of unread messages indicated by the third message identification is greater than a preset threshold.
- the number of unread messages indicated by the updated third message identifier is the aforementioned preset threshold.
- the upper right corner of the APP icon on the desktop of the mobile phone displays a message corner mark 37a, and the number of unread messages displayed on the message corner mark is 6, indicating that there are 6 unread messages in the APP.
- the mobile phone can obtain that the viewing permission level corresponding to the peer user account is high, that is, determine that the maximum display threshold is 2. Since 6 is greater than 2, at this time, the mobile phone may update and display the number of unread messages on the message corner mark as 2.
- the message sharing method provided by the embodiment of the present application can be applied to the scene of updating the display content of the message identifier.
- the first message sharing device can determine the preset threshold according to the viewing authority corresponding to the target user account, so as to determine the shared unread message according to the preset threshold. Messages, in this way, not only increase the security of sharing unread messages, but also make the process of sharing unread messages more flexible.
- the first message sharing device can obtain the above-mentioned first object after performing the above-mentioned three kinds of processing on the above-mentioned second object, and then the first message sharing device can intercept the image of the first object to obtain the second object a screenshot.
- the mobile phone can display the integrated screenshot 41 .
- the target processing is performed on the second object in the above-mentioned step 203, and before the above-mentioned first object is obtained, the method may also include the following step 204:
- Step 204 The first message sharing device generates a virtual interface according to the target interface.
- both the above-mentioned target interface and the above-mentioned virtual interface include the above-mentioned second object, and there is a mapping relationship between the program icons and message identifiers in the target interface and the program icons and message identifiers in the virtual interface.
- the target processing is performed on the second object to obtain the above-mentioned first object, which may specifically include the following step 203c:
- Step 203c The first message sharing device performs target processing on the second object in the virtual interface to obtain the first object.
- the first message sharing device executes target processing on the second object in the virtual interface to obtain the realization process of the above-mentioned first object. description and will not be repeated here.
- the above step 201 may specifically include the following step 201a:
- Step 201a the first message sharing device intercepts the image of the first object in the virtual interface to obtain a first screenshot.
- the first message sharing device intercepts the image of the first object in the virtual interface to obtain the first screenshot.
- the first screenshot For details, please refer to the above description of intercepting the image of the first object to obtain the first screenshot. Here No longer.
- the method may further include the following step 205:
- Step 205 When the first message sharing device acquires the first indication information sent by the first electronic device, cancel the display of the fourth message identification indicated by the first indication information, or update the identification content of the fourth message identification .
- the above-mentioned fourth message identifier is any one of the above-mentioned M second message identifiers; the number of unread messages indicated by the updated fourth message identifier is less than the number of unread messages indicated by the fourth message identifier before the update .
- the fourth message identifier may also be multiple of the M second message identifiers, which is not limited in this embodiment of the present application.
- the first message sharing device may directly receive the first indication information sent by the second message sharing device.
- the second message sharing device may send the first indication information to the server, and then the first message sharing device may acquire the first indication information from the server.
- the message sharing device may inquire the server periodically, so as to obtain indication information in time.
- the above-mentioned step 205 may specifically include the following step: the first message sharing device displays prompt information when the first message sharing device obtains the first indication information sent by the second message sharing device. Then, after receiving the user's fourth input of the prompt information, the first message sharing device may cancel the display of the fourth message identifier indicated by the first indication information, or update the identifier content of the fourth message identifier.
- the peer user's mobile phone can add the read mark to the 2 unread messages and send them back to the server.
- a prompt message can be displayed, and the prompt message shows whether the data is synchronized to the machine.
- the machine will automatically delete the message corner mark corresponding to APP7. In this way, for the unread messages shared by some users with peer users, as long as any user views them, the viewing status can be quickly identified.
- the message sharing method provided by the embodiment of the present application can be applied to the scenario of quickly marking the viewing status of the peer user.
- the first message sharing device obtains the first indication information sent by the second message sharing device
- the first message sharing device cancels the first message sharing method. Displaying the fourth message identifier indicated by the indication information, or updating the identifier content of the fourth message identifier, so that the user can quickly know the peer user's viewing status of the unread message indicated by the first screenshot.
- the method may further include the following steps 206a to 206c:
- Step 206a the first message sharing device generates a first mapping relationship.
- the above-mentioned first mapping relationship is used to characterize the mapping relationship between the program icon and message identifier in the first screenshot and the program icon and message identifier in the first object.
- Step 206b The first message sharing device generates a second mapping relationship.
- the above-mentioned second mapping relationship is used to characterize the mapping relationship between each first message identifier and the unread message indicated by each first message identifier.
- each first message identifier when there is one unread message indicated by each first message identifier, there may be a one-to-one mapping between each first message identifier and the unread message indicated by each first message identifier Relationship; in the case where there are multiple unread messages indicated by each first message identifier, there may be a one-to-many mapping relationship between each first message identifier and the unread messages indicated by each first message identifier .
- first mapping relationship and second mapping relationship may be a mapping relationship table.
- Step 206c the first message sharing device sends a second indication message to the second message sharing device.
- the above-mentioned second indication message includes the above-mentioned first mapping relationship and the second mapping relationship.
- the second message sharing device may receive the above-mentioned second indication message, so as to obtain the above-mentioned first mapping relationship and the second mapping relationship.
- Fig. 8 is a schematic flow chart of another message sharing method provided by the embodiment of the present application, which is applied to the second message sharing device, including steps 501 to 503:
- Step 501 the second message sharing device receives the first screenshot sent by the first message sharing device.
- the above-mentioned first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, and N is positive integer.
- Step 502 The second message sharing device receives a third input from the user on the above-mentioned first screenshot.
- the above-mentioned third input can be: the user's click input on the first screenshot, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual usage requirements.
- the embodiment of the present application There is no limit to this.
- the above-mentioned user's click input on the first screenshot may specifically be the user's input on the following target message identifier.
- Step 503 In response to the third input, the second message sharing device displays at least one unread message indicated by the first message identifier.
- the second message sharing device may receive the above-mentioned at least one unread message indicated by the first message identifier from the first message sharing device, or may acquire the unread message indicated by the at least one first message identifier from the server.
- the embodiment of the application does not limit this.
- the second message sharing device may download at least one unread message indicated by the first message identifier from the server into the local buffer.
- step 502 may specifically include the following step 502a:
- Step 502a The second message sharing apparatus receives a third input from the user on a target message ID among the N first message IDs.
- the above-mentioned target message identifier may be one or multiple, which is not limited in this embodiment of the present application.
- the above step 503 may specifically include the following step 503a:
- Step 503a In response to the third input, the second message sharing device determines the target unread message indicated by the target message identifier according to the pre-generated second mapping relationship, and displays the target unread message.
- the mobile phone 1 can display the screenshot 41, and the screenshot 41 shows 8 APP icons and 1 Moments icon corresponding to APP7, and the 8 APPs
- the icons are APP1 icon to APP7 icon and APP9 icon respectively.
- the upper right corner of the APP5 icon also displays a message corner mark, and the message corner mark shows that the number of unread messages is 4, indicating that there are 4 unread messages in APP5.
- the user wants to view the unread messages in APP5
- the user can click on the corner icon of the message, and then, as shown in Figure 9, the mobile phone 1 can display 4 unread messages in APP5, which are respectively unread messages 1 to unread Read message 4.
- the display of the target unread message in the above step 503a may specifically include the following step C1:
- Step C1 The second message sharing device displays the target unread messages when the viewing authority corresponding to the target user account is a preset authority level.
- the above-mentioned target user account is an account corresponding to the second message sharing device.
- the second message sharing apparatus may display the above-mentioned target unread messages when the viewing permission corresponding to the target user account is the first permission level (for example, high).
- the method before the target unread message indicated by the target message identifier is determined according to the pre-generated second mapping relationship in the above-mentioned step 503a, and the target unread message is displayed, the method The following steps D1 and D2 may also be included:
- Step D1 The second message sharing device obtains the input position of the third input.
- the second message sharing device may acquire the coordinate information of the input location of the third input.
- Step D2 The second message sharing device determines the first message ID as the target message ID when the input position is located on the fifth message ID.
- the second message sharing device determines at least one message identifier corresponding to the first icon as the target message identifier.
- the above-mentioned fifth message identifier is at least one of the above-mentioned N first message identifiers
- the above-mentioned first icon is at least one of the above-mentioned N first program icons.
- the method may further include the following step 504:
- Step 504 In response to the third input, the second message sharing device sends the first indication information to the first message sharing device.
- the above-mentioned first instruction information is used to instruct the first message sharing device to cancel the display of the fourth message identifier or to update the identifier content of the fourth message identifier, and the number of unread messages indicated by the updated fourth message identifier is less than that of the updated message identifier.
- the preceding fourth message identifier indicates the number of unread messages.
- the second message sharing device may perform step 503a before performing step 504, or may perform step 503a after performing step 504, or may perform step 503a while performing step 504, which is not limited in this embodiment of the present application.
- the above-mentioned target unread message is an unread message corresponding to the target message identifier indicating the function. message or indicate unread messages corresponding to the message type.
- the upper right corner of the circle of friends icon corresponding to APP7 also displays a message corner mark, which shows that the number of unread messages is 3, indicating that there are 3 unread messages in the circle of friends corresponding to APP7.
- the user wants to check the unread messages in APP7, the user can click on the corner icon of the message, and then the mobile phone 1 can display 3 unread messages in the circle of friends corresponding to APP7, which are respectively unread messages 5 to unread messages 7.
- the second message sharing device may first receive the first screenshot sent by the first message sharing device, the first screenshot includes N first program icons and N first message identifiers, and a first screenshot A program icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer; then, the second message sharing device may receive the user's third screenshot of the above-mentioned first screenshot. After the input, at least one unread message indicated by the first message identifier is displayed.
- the second message sharing device can directly display at least one first message identifier in the first screenshot.
- unread messages Indicated unread messages, so that users can quickly view unread messages.
- unread messages can be quickly shared and read, which not only makes the entire unread message sharing process easy and efficient, but also avoids privacy leakage caused by users giving their electronic devices to other users.
- the security of electronic devices sharing unread messages has been greatly improved.
- the message sharing method provided in the embodiment of the present application may be executed by a message sharing device, or a control module in the message sharing device for executing the message sharing method.
- the message sharing method performed by the message sharing device is taken as an example to illustrate the message sharing device provided in the embodiment of the present application.
- Fig. 10 is a schematic diagram of a possible structure of a message sharing device provided by an embodiment of the present application.
- the message sharing device 600 includes: an intercepting module 601 and a sending module 602, wherein: The image of the first object is obtained to obtain a first screenshot, the first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, and each first message identifier is used for Indicate at least one unread message, N is a positive integer; sending module 602, configured to send the first screenshot obtained by the intercepting module 601 to the second message sharing device, so that the second message sharing device obtains at least one first screenshot through the first screenshot A message identifier indicating an unread message.
- the message sharing apparatus 600 further includes: an execution module; the execution module is configured to perform target processing on the second object to obtain the first object when the second object is displayed; wherein, the second object includes M A second program icon and M second message identifiers, one second program icon corresponds to one second message identifier, each second message identifier is used to indicate at least one unread message, and M is a positive integer.
- the message sharing apparatus 600 further includes: a generating module; a generating module configured to generate a virtual interface according to the target interface; wherein, both the target interface and the virtual interface include the above-mentioned second object, and the program icon in the target interface There is a mapping relationship with the message identifier and the program icon and message identifier in the virtual interface; the execution module is specifically used to perform target processing on the second object in the virtual interface generated by the generation module to obtain the first object; the interception module 601, specifically It is used for intercepting the image of the first object in the virtual interface generated by the generating module to obtain the first screenshot.
- the message sharing device 600 further includes: a receiving module; a receiving module, configured to receive the user's first input when the second object is displayed; an executing module, specifically configured to respond to the first input received by the receiving module Input, perform target processing on the second object to get the first object.
- the above-mentioned first message sharing device includes information removal data, and the information removal data is used to indicate an identifier that can be automatically deleted, and the identifier that can be automatically deleted includes at least one of the following: a program icon, a message identifier; If the input is the user's first input on the first identifier, the execution module is specifically configured to delete the first identifier and update the information removal data; wherein, the first identifier is the above-mentioned M second program icons and the above-mentioned M Any one of the second message identifiers; the updated message removal data is used to indicate that the first message sharing device can automatically delete the first identifier.
- the execution module is specifically configured to split and display the target program icon into at least one first program icon, and split and display the second message identifier corresponding to the target program icon into at least one first message identifier; wherein, the The target program icon is any one of the above-mentioned M second program icons, and each first program icon is used to indicate a function or a message type of the application program corresponding to the target program icon; each first message identifier is used to indicate Unread messages corresponding to a function or unread messages corresponding to a message type.
- the execution module is specifically configured to update the identification content of the third message identification; wherein, the third message identification is any one of the above-mentioned M second message identifications, and the unread message indicated by the updated third message identification The number of messages is less than the number of unread messages indicated by the third message identification before updating the display.
- the message sharing apparatus 600 further includes: a determination module; a determination module, configured to determine a preset threshold according to the viewing authority corresponding to a target user account, the target user account being an account corresponding to the second message sharing apparatus; an execution module, It is specifically used to update the identification content of the third message identification when the number of unread messages indicated by the third message identification is greater than the preset threshold determined by the determination module, wherein the updated third message identification indicates the unread messages The number is the preset threshold.
- the message sharing apparatus 600 further includes: a display module; a display module configured to cancel the display of the fourth message identifier indicated by the first indication information when receiving the first indication information sent by the second message sharing apparatus , or update the identification content of the fourth message identification; wherein, the fourth message identification is any one of the M second message identifications; the number of unread messages indicated by the updated fourth message identification is less than that before the update The fourth message identifier indicates the number of unread messages.
- the message sharing apparatus 600 further includes: a generating module; a generating module configured to generate a first mapping relationship, the first mapping relationship is used to represent the program icon and message identifier in the first screenshot and the program icon in the first object and a mapping relationship between message identifiers; and generating a second mapping relationship, the second mapping relationship is used to characterize the mapping relationship between each first message identifier and the unread message indicated by each first message identifier; sending module 602 , further configured to send a second indication message to the second message sharing apparatus, where the second indication message includes the first mapping relationship and the second mapping relationship.
- the message sharing device 600 further includes: a generating module, a receiving module, and a setting module; a receiving module, configured to receive a second input from the user; a setting module, configured to set a target in response to the second input received by the receiving module
- the viewing authority corresponding to the user account, the target user account is the account corresponding to the second message sharing device; the generating module is used to generate user authority query data according to the viewing authority set by the setting module; wherein, the viewing authority is used to indicate the second
- the message sharing device acquires unread messages corresponding to the preset permission level through the first screenshot when the viewing permission is the preset permission level.
- the message sharing device provided by the embodiment of the present application is the first sharing device.
- the first message sharing device can intercept the image of the first object to obtain a first screenshot, and the first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer.
- the first message sharing device may send the first screenshot to the second message sharing device, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot.
- the first message sharing device in this application It is possible to first intercept images including N first program icons and N first message identifiers to obtain a first screenshot, and then send the first screenshot to the second message sharing device, so that the second message sharing device can pass the first screenshot Obtain at least one unread message indicated by the first message identifier. In this way, there is no need for users to give their electronic devices to other users, thereby avoiding the leakage of user privacy, improving the security of sharing unread messages through electronic devices, and allowing other users to quickly check through screenshots in their electronic devices Unread messages shared by users.
- FIG. 11 is a schematic diagram of a possible structure of a message sharing device provided by an embodiment of the present application.
- the message sharing device 700 includes: a receiving module 701 and a display module 702; The first screenshot sent by the first message sharing device, and receiving the third input from the user on the first screenshot; the first screenshot includes N first program icons and N first message identifiers, and one first program icon corresponds to one first program icon A message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer; the display module 702 is configured to display at least one first message identifier indication in response to the third input received by the receiving module 701 of unread messages.
- the receiving module 701 is specifically configured to receive a third input from the user on the target message ID among the above N first message IDs; the display module 702 is specifically configured to respond to the third input received by the receiving module 701, According to the pre-generated second mapping relationship, determine the target unread message indicated by the target message identifier, and display the target unread message.
- the display module 702 is specifically configured to display the target unread message when the viewing authority corresponding to the above-mentioned target user account is a preset authority level; wherein, the target user account is an account corresponding to the second message sharing device .
- the message sharing apparatus 700 further includes: an acquiring module and a determining module; an acquiring module, configured to acquire the input position of the third input; a determining module, configured to acquire the input position acquired by the acquiring module on the fifth message identifier
- the fifth message identifier is determined as the target message identifier; and when the input position acquired by the acquisition module is located on the first icon, at least one message identifier corresponding to the first icon is determined as the target message identifier.
- the message sharing device 700 further includes: a sending module; a sending module, configured to send first indication information to the first message sharing device in response to the third input received by the receiving module 701; wherein, the first indication information It is used to instruct the first message sharing device to cancel the display of the fourth message identifier or to update the identifier content of the fourth message identifier.
- the number of unread messages indicated by the updated fourth message identifier is less than that indicated by the fourth message identifier before the update. The number of unread messages.
- the message sharing device is a second message sharing device
- the second message sharing device can first receive the first screenshot sent by the first message sharing device, the first screenshot includes N first programs icon and N first message identifiers, a first program icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer; then, the second message sharing device can After receiving the user's third input on the first screenshot, at least one unread message indicated by the first message identifier is displayed.
- the second message sharing device can directly display at least one first message identifier in the first screenshot.
- unread messages Indicated unread messages, so that users can quickly view unread messages.
- unread messages can be quickly shared and read, which not only makes the entire unread message sharing process easy and efficient, but also avoids privacy leakage caused by users giving their electronic devices to other users.
- the security of electronic devices sharing unread messages has been greatly improved.
- the message sharing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
- the device may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, tablet computer, notebook computer, palmtop computer, vehicle electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant).
- assistant, PDA personal digital assistant
- non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
- the message sharing device in the embodiment of the present application may be a device with an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
- the message sharing device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 9 , and details are not repeated here to avoid repetition.
- the embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, and programs or instructions stored in the memory 802 and operable on the processor 801,
- an electronic device 800 including a processor 801, a memory 802, and programs or instructions stored in the memory 802 and operable on the processor 801,
- the program or instruction is executed by the processor 801
- each process of the above-mentioned message sharing method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- FIG. 13 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
- the electronic device 100 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 110 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
- a power supply such as a battery
- the structure of the electronic device shown in FIG. 13 does not constitute a limitation to the electronic device.
- the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
- the processor 110 is configured to intercept the image of the first object to obtain a first screenshot, the first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier , each first message identifier is used to indicate at least one unread message, and N is a positive integer;
- the radio frequency unit 101 is configured to send the first screenshot obtained by the processor 110 to the second message sharing device, so that the second message sharing device At least one unread message indicated by the first message identifier is acquired through the first screenshot.
- the processor 110 is configured to, in the case of displaying the second object, perform target processing on the second object to obtain the first object; wherein, the second object includes M second program icons and M second A message identifier, one second program icon corresponds to one second message identifier, each second message identifier is used to indicate at least one unread message, and M is a positive integer.
- the processor 110 is configured to generate a virtual interface according to the target interface; wherein both the target interface and the virtual interface include the above-mentioned second object, and the program icons and message identifiers in the target interface are the same as those in the virtual interface.
- the user input unit 107 is configured to receive a user's first input when the second object is displayed; the processor 110 is specifically configured to respond to the first input received by the user input unit 107, and perform an operation on the second object.
- the object executes the object processing to obtain the first object.
- the above-mentioned first message sharing device includes information removal data, and the information removal data is used to indicate an identifier that can be automatically deleted, and the identifier that can be automatically deleted includes at least one of the following: a program icon, a message identifier;
- the processor 110 is specifically configured to delete the first identifier and update the information removal data; wherein, the first identifier is the above-mentioned M second program icons and the above-mentioned Any one of the M second message identifiers; the updated message removal data is used to indicate that the first message sharing device can automatically delete the first identifier.
- the processor 110 is specifically configured to split and display the target program icon into at least one first program icon, and split and display the second message identifier corresponding to the target program icon into at least one first message identifier; wherein,
- the target program icon is any one of the above-mentioned M second program icons, and each first program icon is used to indicate a function or a message type of the application program corresponding to the target program icon; each first message identifier is used for Indicates unread messages for a function or unread messages for a message type.
- the processor 110 is specifically configured to update the identification content of the third message identification; wherein, the third message identification is any one of the above M second message identifications, and the updated third message identification indicates the unidentified The number of read messages is less than the number of unread messages indicated by the third message identifier before updating and displaying.
- the processor 110 is configured to determine the preset threshold according to the viewing authority corresponding to the target user account, where the target user account is an account corresponding to the second message sharing device; and in the unread message indicated by the third message identifier If the number is greater than the preset threshold, the identification content of the third message identifier is updated, where the number of unread messages indicated by the updated third message identifier is the preset threshold.
- the display module 607 is configured to, in the case of receiving the first indication information sent by the second message sharing device, cancel the display of the fourth message identifier indicated by the first indication information, or update the fourth message identifier Identification content; wherein, the fourth message identification is any one of the above-mentioned M second message identifications; the number of unread messages indicated by the updated fourth message identification is less than the number of unread messages indicated by the fourth message identification before the update The number of messages.
- the processor 110 is configured to generate a first mapping relationship, where the first mapping relationship is used to characterize the mapping relationship between the program icon and message identifier in the first screenshot and the program icon and message identifier in the first object; And generate a second mapping relationship, the second mapping relationship is used to characterize the mapping relationship between each first message identifier and the unread message indicated by each first message identifier; the radio frequency unit 101 is also used to share the information with the second message
- the device sends a second indication message, where the second indication message includes the first mapping relationship and the second mapping relationship.
- the user input unit 107 is configured to receive a second input from the user; the processor 110 is configured to set the viewing authority corresponding to the target user account in response to the second input received by the user input unit 107, the target user account is the account corresponding to the second message sharing device; and according to the viewing permission, generate user permission query data; wherein, the viewing permission is used to instruct the second message sharing device to pass the first message sharing device when the viewing permission is a preset permission level. Take a screenshot to get the unread messages corresponding to the preset permission level.
- the electronic device can intercept the image of the first object to obtain the first screenshot, the first screenshot includes N first program icons and N first message identifiers, and one first program icon Corresponding to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer. Then, the electronic device may send the first screenshot to the second message sharing apparatus, so that the second message sharing apparatus acquires at least one unread message indicated by the first message identifier through the first screenshot.
- the electronic device in this application can first intercept An image including N first program icons and N first message identifiers is obtained, and a first screenshot is obtained, and then the first screenshot is sent to the second message sharing device, so that the second message sharing device obtains at least one message through the first screenshot.
- the unread message indicated by the first message identifier In this way, there is no need for users to give their electronic devices to other users, thereby avoiding the leakage of user privacy, improving the security of sharing unread messages through electronic devices, and allowing other users to quickly check through screenshots in their electronic devices Unread messages shared by users.
- the radio frequency unit 101 is configured to receive the first screenshot sent by the first message sharing device; the user input unit 107 is configured to receive a third input from the user on the first screenshot received by the radio frequency unit 101; the first screenshot includes Nth A program icon and N first message identifiers, a first program icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, N is a positive integer; the display unit 106 is used to respond Based on the third input received by the user input unit 107, at least one unread message indicated by the first message identifier is displayed.
- the user input unit 107 is specifically configured to receive a third input from the user on the target message identifier among the above N first message identifiers; the display unit 106 is specifically configured to respond to the third input received by the user input unit 107.
- Input according to the pre-generated second mapping relationship, determine the target unread message indicated by the target message identifier, and display the target unread message.
- the display unit 106 is specifically configured to display the target unread message when the viewing authority corresponding to the above-mentioned target user account is a preset authority level; wherein, the target user account is an account corresponding to the second message sharing device .
- the processor 110 is configured to acquire the input position of the third input; and if the input position is located on the fifth message identification, determine the fifth message identification as the target message identification; and when the input position is located on In the case of the first icon, at least one message identifier corresponding to the first icon is determined as the target message identifier.
- the radio frequency unit 101 is configured to send first indication information to the first message sharing device in response to the third input received by the user input unit 107; wherein the first indication information is used to indicate that the first message sharing device Canceling the display of the fourth message identifier or updating the identifier content of the fourth message identifier, the number of unread messages indicated by the updated fourth message identifier is less than the number of unread messages indicated by the fourth message identifier before the update.
- the electronic device may first receive the first screenshot sent by the first message sharing device, the first screenshot includes N first program icons and N first message identifiers, and one first program icon corresponds to A first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer; then, the electronic device displays at least one first message after receiving the third input from the user on the above first screenshot. A message identifier indicating an unread message.
- the electronic device can directly display the unidentified information indicated by at least one first message identifier in the first screenshot. Read messages, so that users can quickly view unread messages.
- unread messages can be quickly shared and read, which not only makes the entire unread message sharing process easy and efficient, but also avoids privacy leakage caused by users giving their electronic devices to other users.
- the security of electronic devices sharing unread messages has been greatly improved.
- the input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used by the image capturing device (such as the image data of the still picture or video obtained by the camera) for processing.
- the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
- the touch panel 1071 is also called a touch screen.
- the touch panel 1071 may include two parts, a touch detection device and a touch controller.
- Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
- Memory 109 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
- the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
- the embodiment of the present application also provides a readable storage medium.
- the readable storage medium stores programs or instructions.
- the program or instructions are executed by the processor, the various processes of the above message sharing method embodiments can be achieved, and the same To avoid repetition, the technical effects will not be repeated here.
- the processor is the processor in the electronic device described in the above embodiments.
- the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
- the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above message sharing method embodiment
- the chip includes a processor and a communication interface
- the communication interface is coupled to the processor
- the processor is used to run programs or instructions to implement the above message sharing method embodiment
- chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
- the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
- the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Abstract
Description
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年08月31日在中国提交的中国专利申请号202111017125.1的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111017125.1 filed in China on August 31, 2021, the entire contents of which are hereby incorporated by reference.
本申请属于通信技术领域,具体涉及一种消息分享方法、装置和电子设备。The present application belongs to the technical field of communication, and in particular relates to a message sharing method, device and electronic equipment.
随着电子设备的发展,电子设备中安装有大量的应用程序(application,APP),为用户日常生活的各个方面带来极大便利。With the development of electronic devices, a large number of application programs (applications, APPs) are installed in the electronic devices, which bring great convenience to various aspects of daily life of users.
目前,电子设备可以在每个APP的应用图标的右上角显示一个消息角标,以提醒用户APP中存在未读消息,当用户想要通过电子设备将未读消息分享给其他用户时,通常需要用户将自己的电子设备给其他用户,然后其他用户可以通过用户的电子设备查看未读消息。At present, electronic devices can display a message corner mark in the upper right corner of the application icon of each APP to remind users that there are unread messages in the APP. When users want to share unread messages with other users through electronic devices, they usually need to The user gives his electronic device to other users, and then other users can view unread messages through the user's electronic device.
然而,通过上述方式来分享未读消息时,可能会造成用户的隐私泄露,导致通过电子设备分享未读消息的安全性较低。However, when sharing unread messages through the above method, the user's privacy may be leaked, resulting in low security of sharing unread messages through electronic devices.
发明内容Contents of the invention
本申请实施例的目的是提供一种消息分享方法、装置和电子设备,能够解决通过电子设备分享未读消息的安全性较低的问题。The purpose of the embodiments of the present application is to provide a message sharing method, device and electronic equipment, which can solve the problem of low security of sharing unread messages through electronic equipment.
第一方面,本申请实施例提供了一种消息分享方法,应用于第一消息分享装置,该方法包括:截取第一对象的图像,得到第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;向第二消息分享装置发送上述第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。In the first aspect, the embodiment of the present application provides a message sharing method, which is applied to a first message sharing device, and the method includes: capturing an image of a first object to obtain a first screenshot, and the first screenshot includes N first programs icon and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, N is a positive integer; send the above-mentioned first message identifier to the second message sharing device A screenshot, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot.
第二方面,本申请实施例提供了一种消息分享方法,应用于第二消息分享装置,该方法包括:接收第一消息分享装置发送的第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;接收用户对上述第一截图的第三输入;响应于上述第三输入,显示至少一个第一消息标识指示的未读消息。In a second aspect, the embodiment of the present application provides a message sharing method applied to a second message sharing device, the method comprising: receiving a first screenshot sent by the first message sharing device, the first screenshot including N first programs icon and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer; Three inputs; in response to the above third input, at least one unread message indicated by the first message identifier is displayed.
第三方面,本申请实施例提供了一种消息分享装置,该消息分享装置包括:截取模块和发送模块;截取模块,用于截取第一对象的图像,得到第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;发送模块,用于向第二消息分享装置发送截取模块得到的上述第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。In a third aspect, the embodiment of the present application provides a message sharing device, the message sharing device includes: an intercepting module and a sending module; N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, N is a positive integer; the sending module uses The above-mentioned first screenshot obtained by the intercepting module is sent to the second message sharing device, so that the second message sharing device obtains at least one unread message indicated by the first message identifier through the first screenshot.
第四方面,本申请实施例提供了一种消息分享装置,该消息分享装置包括:接收模块和显示模块;接收模块,用于接收第一消息分享装置发送的第一截图,以及接收用户对该第一截图的第三输入;该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;显示模块,用于响应于接收模块接收到的上述第三输入,显示至少一个第一消息标识指示的未读消息。In a fourth aspect, the embodiment of the present application provides a message sharing device, the message sharing device includes: a receiving module and a display module; the receiving module is used to receive the first screenshot sent by the first message sharing device, and receive the user's The third input of the first screenshot; the first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, and each first message identifier is used to indicate at least one For unread messages, N is a positive integer; the display module is configured to display at least one unread message indicated by the first message identifier in response to the above-mentioned third input received by the receiving module.
第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面或第二方面所述的方法的步骤。In the fifth aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction is executed by The processor implements the steps of the method described in the first aspect or the second aspect when executed.
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面所述的方法的 步骤。In the sixth aspect, the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the implementation as described in the first aspect or the second aspect is realized. steps of the method.
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面或第二方面所述的方法。In the seventh aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect Or the method described in the second aspect.
在本申请实施例中,首先,第一消息分享装置可以截取第一对象的图像,得到第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数。然后,第一消息分享装置可以向第二消息分享装置发送上述第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。通过上述方案,在通过电子设备分享未读消息的情况下,相比于相关技术中需要用户将自己的电子设备给其他用户从而可能造成用户隐私泄露的方案,本申请中的第一消息分享装置可以先截取包括N个第一程序图标和N个第一消息标识的图像,得到第一截图,再向第二消息分享装置发送该第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。如此,无需用户将自己的电子设备给其他用户,从而可以避免用户的隐私泄露,提高了通过电子设备分享未读消息的安全性,还可以使得其他用户在自己的电子设备中,通过截图快速查看用户分享的未读消息。In this embodiment of the application, first, the first message sharing device may capture the image of the first object to obtain a first screenshot, the first screenshot includes N first program icons and N first message identifiers, one first program The icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer. Then, the first message sharing device may send the first screenshot to the second message sharing device, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot. Through the above scheme, in the case of sharing unread messages through electronic equipment, compared with the scheme in the related art that requires users to give their electronic equipment to other users, which may cause user privacy leakage, the first message sharing device in this application It is possible to first intercept images including N first program icons and N first message identifiers to obtain a first screenshot, and then send the first screenshot to the second message sharing device, so that the second message sharing device can pass the first screenshot Obtain at least one unread message indicated by the first message identifier. In this way, there is no need for users to give their electronic devices to other users, thereby avoiding the leakage of user privacy, improving the security of sharing unread messages through electronic devices, and allowing other users to quickly check through screenshots in their electronic devices Unread messages shared by users.
图1为本申请实施例提供的一种消息分享方法流程示意图;FIG. 1 is a schematic flow chart of a message sharing method provided in an embodiment of the present application;
图2为本申请实施例提供的一种消息分享方法应用的界面示意图之一;Fig. 2 is one of the interface schematic diagrams of the application of a message sharing method provided by the embodiment of the present application;
图3为本申请实施例提供的一种消息分享方法应用的界面示意图之二;Fig. 3 is the second schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application;
图4为本申请实施例提供的一种消息分享方法应用的界面示意图之三;Fig. 4 is the third schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application;
图5为本申请实施例提供的一种消息分享方法应用的界面示意图之四;Fig. 5 is the fourth schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application;
图6为本申请实施例提供的一种消息分享方法应用的界面示意图之五;FIG. 6 is the fifth schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application;
图7为本申请实施例提供的一种消息分享方法应用的界面示意图之六;Fig. 7 is the sixth schematic diagram of the application interface of a message sharing method provided by the embodiment of the present application;
图8为本申请实施例提供的另一种消息分享方法流程示意图;FIG. 8 is a schematic flowchart of another message sharing method provided by the embodiment of the present application;
图9为本申请实施例提供的另一种消息分享方法应用的界面示意图;FIG. 9 is a schematic interface diagram of another message sharing method application provided by the embodiment of the present application;
图10为本申请实施例提供的一种消息分享装置的结构示意图;FIG. 10 is a schematic structural diagram of a message sharing device provided by an embodiment of the present application;
图11为本申请实施例提供的另一种消息分享装置的结构示意图;FIG. 11 is a schematic structural diagram of another message sharing device provided by an embodiment of the present application;
图12为本申请实施例提供的一种电子设备的结构示意图之一;FIG. 12 is one of the structural schematic diagrams of an electronic device provided in the embodiment of the present application;
图13为本申请实施例提供的一种电子设备的结构示意图之二。FIG. 13 is a second schematic structural diagram of an electronic device provided by an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein. Moreover, the objects distinguished by "first", "second" and so on are generally one type, and the number of objects is not limited, for example, there may be one first object, or there may be multiple ones. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息分享方法进行详细地说明。The message sharing method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
图1为本申请实施例提供的一种消息分享方法流程示意图,应用于第一消息分享装置,包括步骤201和步骤202:Fig. 1 is a schematic flow chart of a message sharing method provided by the embodiment of the present application, which is applied to the first message sharing device, including
步骤201:第一消息分享装置截取第一对象的图像,得到第一截图。Step 201: The first message sharing device intercepts the image of the first object to obtain a first screenshot.
其中,上述第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数。Wherein, the above-mentioned first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, and N is positive integer.
在本申请实施例中,上述的第一对象包括上述的N个第一程序图标和N个第一消息标识。In the embodiment of the present application, the above-mentioned first objects include the above-mentioned N first program icons and N first message identifiers.
需要说明的是,上述的第一对象除了可以包括N个第一程序图标和N个第一消息标识以外,还可以包括至少一个第二程序图标,其中,第二程序图标对应的应用程序不存在未读消息。It should be noted that, in addition to N first program icons and N first message identifiers, the above-mentioned first object may also include at least one second program icon, wherein the application program corresponding to the second program icon does not exist Unread messages.
在本申请实施例中,上述的第一程序图标可以为应用程序的应用程序图标,也可以为该应用程序的快捷方式图标,还可以为任意能够指示该应用程序的图标,本申请实施例对此不作限定。In the embodiment of the present application, the above-mentioned first program icon may be the application program icon of the application program, or the shortcut icon of the application program, or any icon that can indicate the application program. This is not limited.
在本申请实施例中,本申请中的标识为用于指示信息的文字、符号、图像等,可以以控件或者其他容器作为显示信息的载体,包括但不限于文字标识、符号标识、图像标识。In this embodiment of the application, the logos in this application are words, symbols, images, etc. used to indicate information, and controls or other containers can be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
在本申请实施例中,本申请中的标识的形状可以为圆形、矩形、三角形、菱形、圆环或者多边形等任意可能的形状,本申请中的标识的颜色可以为红色、蓝色、绿色或者黄色等任意可能的颜色,具体可以根据实际使用需求确定,本发明实施例不作限定。In this embodiment of the application, the shape of the logo in this application can be any possible shape such as circle, rectangle, triangle, rhombus, ring or polygon, and the color of the logo in this application can be red, blue, green Or any possible color such as yellow, which can be determined according to actual use requirements, and is not limited in the embodiment of the present invention.
在本申请实施例中,上述的至少一条未读消息为每个第一消息标识对应的第一程序图标指示的应用程序中的未读消息。In the embodiment of the present application, the above at least one unread message is an unread message in the application program indicated by the corresponding first program icon of each first message identifier.
示例性地,上述每个第一消息标识用于指示至少一条未读消息,可以理解为每个第一消息标识除了可以指示对应的应用程序中存在至少一条未读消息,还可以指示该至少一条未读消息的数量和内容中的至少一项。Exemplarily, each of the above-mentioned first message identifiers is used to indicate at least one unread message. It can be understood that each first message identifier may indicate that there is at least one unread message in the corresponding At least one of the number and content of unread messages.
示例性地,上述的第一消息标识可以为消息角标。例如,如图2中的(a)所示,手机桌面31显示有9个应用图标,分别为APP1图标至APP9图标,其中,APP1图标32的右上角显示有消息角标32a和APP2图标33的右上角显示有消息角标33a。消息角标中的数字表示未读消息的条数,例如,消息角标32a中的数字3表示未读消息的条数为3。Exemplarily, the above-mentioned first message identifier may be a message subscript. For example, as shown in (a) in Figure 2, the
在本申请实施例中,第一消息分享装置可以截取下述目标界面中的第一对象的图像,也可以截取下述的虚拟界面中的第一对象的图像,本申请对此不作限定。In the embodiment of the present application, the first message sharing device may capture the image of the first object in the target interface described below, or may capture the image of the first object in the virtual interface described below, which is not limited in the present application.
需要说明的是,上述的目标界面可以为第一消息分享装置中的任一界面,例如,该目标界面可以为第一消息分享装置的桌面。上述的虚拟界面是根据该目标界面生成的。例如,该虚拟界面为第一消息分享装置根据第一消息分享装置的桌面生成的虚拟桌面。It should be noted that the above target interface may be any interface in the first message sharing device, for example, the target interface may be the desktop of the first message sharing device. The aforementioned virtual interface is generated according to the target interface. For example, the virtual interface is a virtual desktop generated by the first message sharing device according to the desktop of the first message sharing device.
需要说明的是,第一消息分享装置可以根据目标界面中的程序图标、消息标识以及壁纸等信息,以映射的方式生成映射后的虚拟界面(或称为截图缓存区域)。示例性地,第一消息分享装置可以收集目标界面中的程序图标和消息标识的状态信息,如形状、尺寸和颜色等,并将该状态信息录入数据库。然后,第一消息分享装置可以根据数据库中的状态信息生成映射后的虚拟界面。It should be noted that the first message sharing device may generate a mapped virtual interface (or called a screenshot cache area) in a mapped manner according to information such as program icons, message identifiers, and wallpapers in the target interface. Exemplarily, the first message sharing device may collect status information of program icons and message identifiers in the target interface, such as shape, size, and color, and record the status information into a database. Then, the first message sharing device may generate a mapped virtual interface according to the state information in the database.
示例性地,第一消息分享装置可以编辑虚拟界面中的程序图标和消息标识中的至少一个。需要说明的是,第一消息分享装置对该虚拟界面中的程序图标和消息标识的编辑不会改变目标界面本身的程序图标和消息标识。Exemplarily, the first message sharing device may edit at least one of a program icon and a message identifier in the virtual interface. It should be noted that the editing of the program icons and message identifiers in the virtual interface by the first message sharing device will not change the program icons and message identifiers of the target interface itself.
需要说明的是,当用户点击虚拟界面中的程序图标时,不会触发第一消息分享装置显示程序图标对应的应用程序界面。It should be noted that when the user clicks on the program icon in the virtual interface, the first message sharing device will not be triggered to display the application program interface corresponding to the program icon.
可以理解,上述的目标界面是动态的,虚拟界面是静态的。例如,第一消息分享装置在根据目标界面生成虚拟界面之后,如果第一消息分享装置接收到新的未读消息,此时,第一消息分享装置可以动态更新目标界面中的消息标识的显示内容,但不会更新虚拟界面中的消息标识的显示内容。It can be understood that the above-mentioned target interface is dynamic, and the virtual interface is static. For example, after the first message sharing device generates a virtual interface according to the target interface, if the first message sharing device receives a new unread message, at this time, the first message sharing device can dynamically update the display content of the message identification in the target interface , but does not update the display of the message ID in the virtual interface.
步骤202:第一消息分享装置向第二消息分享装置发送上述第一截图,以使该第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。Step 202: the first message sharing device sends the first screenshot to the second message sharing device, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot.
在本申请实施例中,上述的至少一个第一消息标识指示的未读消息可以是第二消息分享装置从第一消息分享装置接收的,也可以是第二消息分享装置从服务器获取的,本申请实施例对此不作限定。In this embodiment of the present application, the above-mentioned unread message indicated by at least one first message identifier may be received by the second message sharing device from the first message sharing device, or may be obtained by the second message sharing device from the server. The embodiment of the application does not limit this.
示例性地,第一消息分享装置向第二消息分享装置发送第一截图和上述至少一个 第一消息标识指示的未读消息之间没有明显的先后顺序。例如,第一消息分享装置可以在向第二消息分享装置发送第一截图之后,向第二消息分享装置发送上述至少一个第一消息标识指示的未读消息,也可以在向第二消息分享装置发送第一截图的同时,向第二消息分享装置发送上述至少一个第一消息标识指示的未读消息,还可以在向第二消息分享装置发送第一截图之前,向第二消息分享装置发送上述至少一个第一消息标识指示的未读消息,本申请实施例对此不作限定。Exemplarily, there is no obvious sequence between the first screenshot and the unread messages indicated by the at least one first message identifier sent by the first message sharing device to the second message sharing device. For example, after sending the first screenshot to the second message sharing device, the first message sharing device may send the unread message indicated by the above-mentioned at least one first message identifier to the second message sharing device, or send the unread message to the second message sharing device While sending the first screenshot, send the above-mentioned at least one unread message indicated by the first message identifier to the second message sharing device, and send the above-mentioned message to the second message sharing device before sending the first screenshot to the second message sharing device. The unread message indicated by at least one first message identifier, which is not limited in this embodiment of the present application.
示例性地,在上述至少一个第一消息标识指示的未读消息是第二消息分享装置从服务器获取的情况下,上述至少一个第一消息标识指示的未读消息可以是第一消息分享装置向服务器发送的,也可以是服务器中保存的,本申请实施例对此不作限定。Exemplarily, in the case where the unread message indicated by the at least one first message identifier is obtained by the second message sharing device from the server, the unread message indicated by the at least one first message identifier may be sent to the server by the first message sharing device. The information sent by the server may also be stored in the server, which is not limited in this embodiment of the present application.
本申请实施例提供的消息分享方法,首先,第一消息分享装置可以截取第一对象的图像,得到第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数。然后,第一消息分享装置可以向第二消息分享装置发送上述第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。通过上述方案,在通过电子设备分享未读消息的情况下,相比于相关技术中需要用户将自己的电子设备给其他用户从而可能造成用户隐私泄露的方案,本申请中的第一消息分享装置可以先截取包括N个第一程序图标和N个第一消息标识的图像,得到第一截图,再向第二消息分享装置发送该第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。如此,无需用户将自己的电子设备给其他用户,从而可以避免用户的隐私泄露,提高了通过电子设备分享未读消息的安全性,还可以使得其他用户在自己的电子设备中,通过截图快速查看用户分享的未读消息。In the message sharing method provided in the embodiment of the present application, firstly, the first message sharing device can capture the image of the first object to obtain a first screenshot, the first screenshot includes N first program icons and N first message identifiers, one The first program icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer. Then, the first message sharing device may send the first screenshot to the second message sharing device, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot. Through the above scheme, in the case of sharing unread messages through electronic equipment, compared with the scheme in the related art that requires users to give their electronic equipment to other users, which may cause user privacy leakage, the first message sharing device in this application It is possible to first intercept images including N first program icons and N first message identifiers to obtain a first screenshot, and then send the first screenshot to the second message sharing device, so that the second message sharing device can pass the first screenshot Obtain at least one unread message indicated by the first message identifier. In this way, there is no need for users to give their electronic devices to other users, thereby avoiding the leakage of user privacy, improving the security of sharing unread messages through electronic devices, and allowing other users to quickly check through screenshots in their electronic devices Unread messages shared by users.
可选地,在本申请实施例中,该方法还可以包括如下步骤A1至步骤A3:Optionally, in the embodiment of the present application, the method may also include the following steps A1 to A3:
步骤A1:第一消息分享装置接收用户的第二输入。Step A1: The first message sharing device receives the user's second input.
示例性地,上述的第二输入可以为:用户对屏幕的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。Exemplarily, the above-mentioned second input can be: the user's click input on the screen, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual usage requirements. Not limited.
示例性地,本申请实施例中的特定手势可以为单击手势、滑动手势、拖动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;本申请实施例中的点击输入可以为单击输入、双击输入或任意次数的点击输入等,还可以为长按输入或短按输入。Exemplarily, the specific gesture in this embodiment of the application may be any one of a click gesture, a slide gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture; The click input in the embodiment of the application may be a single click input, a double click input, or any number of click inputs, etc., and may also be a long press input or a short press input.
步骤A2:响应于上述第二输入,第一消息分享装置设置目标用户账户对应的查看权限。Step A2: In response to the above second input, the first message sharing device sets the viewing authority corresponding to the target user account.
其中,上述目标用户账户为第二消息分享装置对应的账户。Wherein, the above-mentioned target user account is an account corresponding to the second message sharing device.
步骤A3:第一消息分享装置根据上述查看权限,生成用户权限查询数据。Step A3: The first message sharing device generates user authority query data according to the above viewing authority.
其中,上述的查看权限用于指示第二消息分享装置在该查看权限为预设权限等级的情况下,通过第一截图获取与该预设权限等级对应的未读消息。Wherein, the above viewing permission is used to instruct the second message sharing device to obtain unread messages corresponding to the preset permission level through the first screenshot when the viewing permission is a preset permission level.
在一种示例中,上述的用户权限查询数据可以为用户权限查询数据表。In an example, the above-mentioned user authority query data may be a user authority query data table.
需要说明的是,第一消息分享装置除了可以设置目标用户对应的查看权限,还可以设置其他对端用户对应的查看权限,本申请实施例对此不作限定。It should be noted that, in addition to setting the viewing authority corresponding to the target user, the first message sharing device may also set the viewing authority corresponding to other peer users, which is not limited in this embodiment of the present application.
示例性地,用户可以通过第一消息分享装置对不同的应用程序设置不同的消息类别,例如,APP1的消息类别为aaa,APP2的消息类别为aa,APP3的消息类别为a。Exemplarily, the user can set different message categories for different applications through the first message sharing device, for example, the message category of APP1 is aaa, the message category of APP2 is aa, and the message category of APP3 is a.
需要说明的是,a的数量越多说明所需对端用户的查看权限越高。It should be noted that the greater the number of a, the higher the viewing authority required for the peer user.
示例性地,用户可以通过第一消息分享装置对不同的对端用户设置(即赋予)不同的查看权限,不同的查看权限对应不同的消息类别。例如,用户1的查看权限等级为高,对应的消息类别为aaa;用户2的查看权限等级为中,对应的消息类别为aa;用户3的查看权限等级为低,对应的消息类别为a。Exemplarily, the user can set (that is, grant) different viewing permissions to different peer users through the first message sharing device, and different viewing permissions correspond to different message categories. For example,
本申请实施例提供的消息分享方法可以应用与快速设置对端用户查看权限的场景中,用户可以根据需求通过第一消息分享装置设置目标用户对应的查看权限,使得目标用户只能查看满足自身查看权限的未读消息,从而可以保护未读消息的消息安全。The message sharing method provided by the embodiment of the present application can be applied to quickly set the viewing authority of the peer user. The user can set the viewing authority corresponding to the target user through the first message sharing device according to the demand, so that the target user can only view and meet the requirements of their own viewing. Unread messages with permission, so that the message security of unread messages can be protected.
可选地,在本申请实施例中,在上述的步骤201之前,该方法还可以包括如下步 骤203:Optionally, in the embodiment of the present application, before the
步骤203:第一消息分享装置在显示第二对象的情况下,对该第二对象执行目标处理,得到上述第一对象。Step 203: When the second object is displayed, the first message sharing device executes target processing on the second object to obtain the above-mentioned first object.
其中,上述第二对象包括M个第二程序图标和M个第二消息标识,一个第二程序图标对应一个第二消息标识,每个第二消息标识用于指示至少一条未读消息,M为正整数。Wherein, the above-mentioned second object includes M second program icons and M second message identifiers, one second program icon corresponds to one second message identifier, each second message identifier is used to indicate at least one unread message, and M is positive integer.
示例性地,上述的目标处理可以为一个,也可以为多个,本申请实施例对此不作限定。Exemplarily, the above-mentioned target processing may be one or multiple, which is not limited in this embodiment of the present application.
可选地,在本申请实施例中,上述的目标处理可以包括以下至少一项:删除第一标识;将目标程序图标拆分显示为至少一个第一程序图标,并将该目标程序图标对应的第二消息标识拆分显示为至少一个第一消息标识;更新第三消息标识的标识内容。Optionally, in this embodiment of the present application, the above target processing may include at least one of the following: deleting the first identifier; splitting and displaying the target program icon into at least one first program icon, and displaying the target program icon corresponding to The second message identifier is split and displayed as at least one first message identifier; and the identification content of the third message identifier is updated.
其中,上述第一标识为上述M个第二程序图标和上述M个第二消息标识中的任一个。上述目标程序图标为上述M个第二程序图标中的任一个,每个第一程序图标用于指示上述目标程序图标对应的应用程序的一个功能或一个消息类型;每个第一消息标识用于指示一个功能对应的未读消息或一个消息类型对应的未读消息。上述第三消息标识为上述M个第二消息标识中的任一个,更新后的第三消息标识指示的未读消息的数量少于更新显示前的第三消息标识指示的未读消息的数量。Wherein, the above-mentioned first identifier is any one of the above-mentioned M second program icons and the above-mentioned M second message identifiers. The above-mentioned target program icon is any one of the above-mentioned M second program icons, and each first program icon is used to indicate a function or a message type of the application program corresponding to the above-mentioned target program icon; each first message identifier is used for Indicates unread messages for a function or unread messages for a message type. The third message identifier is any one of the M second message identifiers, and the number of unread messages indicated by the updated third message identifier is less than the number of unread messages indicated by the third message identifier before updating and displaying.
需要说明的是,上述的目标处理包括但不限于上述的三种处理。It should be noted that the above target processing includes but not limited to the above three processing.
可选地,在本申请实施例中,消息分享装置可以主动执行上述的步骤203,可以被动执行上述的步骤203,本申请实施例对此不作限定。Optionally, in the embodiment of the present application, the message sharing device may actively perform the above-mentioned step 203, or may passively perform the above-mentioned step 203, which is not limited in this embodiment of the present application.
在一种示例中(主动执行),消息分享装置可以在确定第二对象包括M个第二程序图标和M个第二消息标识的情况下,直接对该第二对象执行目标处理,得到上述第一对象。In an example (active execution), the message sharing apparatus may directly perform target processing on the second object when it is determined that the second object includes M second program icons and M second message identifiers, to obtain the above-mentioned first an object.
在另一种示例中(被动执行),上述的步骤203具体可以包括如下步骤203a和步骤203b:In another example (passive execution), the above step 203 may specifically include the following steps 203a and 203b:
步骤203a:第一消息分享装置在显示第二对象的情况下,接收用户的第一输入。Step 203a: The first message sharing device receives a first input from the user when the second object is displayed.
示例性地,上述的第一输入可以为:用户对屏幕的点击输入,或者为用户对特定控件的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。Exemplarily, the above-mentioned first input may be: the user's click input on the screen, or the user's click input on a specific control, or a voice command input by the user, or a specific gesture input by the user, and the specific The usage requirements are determined, which is not limited in this embodiment of the present application.
步骤203b:响应于上述第一输入,第一消息分享装置对上述第二对象执行目标处理,得到上述第一对象。Step 203b: In response to the first input, the first message sharing device performs target processing on the second object to obtain the first object.
示例性地,不同的第一输入可以对应不同的目标处理。例如,在第一输入为单击输入的情况下,消息分享装置可以删除第一标识;在第一输入为双击输入的情况下,消息分享装置可以执行将目标程序图标拆分显示为至少一个第一程序图标,并将该目标程序图标对应的第二消息标识拆分显示为至少一个第一消息标识;在第一输入为长按输入的情况下,消息分享装置可以执行更新第三消息标识的标识内容。Exemplarily, different first inputs may correspond to different target processes. For example, when the first input is a single-click input, the message sharing device may delete the first identifier; when the first input is a double-click input, the message sharing device may split and display the target program icon into at least one A program icon, and the second message identification corresponding to the target program icon is split and displayed as at least one first message identification; in the case that the first input is a long press input, the message sharing device can perform updating of the third message identification Identify content.
下面分别对上述的三种目标处理的具体实现过程进行示例性说明。The specific realization process of the above three kinds of target processing will be exemplified below.
对于第一种处理:第一消息分享装置删除第一标识。For the first processing: the first message sharing device deletes the first identifier.
示例性地,上述的第一标识可以是系统默认设置的,也可以是用户自行设置的,本申请实施例对此不作限定。Exemplarily, the above-mentioned first identifier may be set by default by the system, or may be set by the user, which is not limited in this embodiment of the present application.
示例性地,第一消息分享装置可以通过以下至少两种可能实现的方式来删除第一标识。下面以第一标识为第二消息标识为例进行示例性说明。Exemplarily, the first message sharing apparatus may delete the first identifier in at least two possible implementation manners as follows. The following takes the first identifier as the second message identifier as an example for illustration.
在第一种可能实现的方式中(依据预设移除):In the first possible implementation (remove by default):
示例性地,第一消息分享装置包括信息移除数据,该信息移除数据用于指示可自动删除的标识,该可自动删除的标识包括以下至少一项:程序图标,消息标识。Exemplarily, the first message sharing device includes information removal data, and the information removal data is used to indicate an identifier that can be automatically deleted, and the identifier that can be automatically deleted includes at least one of the following: a program icon and a message identifier.
示例性地,用户可以通过第一消息分享装置提前建立信息移除数据(如,截图可移除数据库或截图可移除数据表),该信息移除数据可以包括应用程序的标识(例如,应用程序名称)和可移除字段,如表1所示。Exemplarily, the user may establish information removal data (such as a screenshot removable database or a screenshot removable data table) in advance through the first message sharing device, and the information removal data may include an identification of an application program (for example, an application program name) and removable fields, as shown in Table 1.
表1Table 1
示例性地,当用户通过第一消息分享装置选取截图区域后,系统可以自动识别出截图区域的第二对象中的应用程序,并根据应用程序的应用名程字段来智能匹配信息移除数据,当匹配到应用名称后,通过可移除字段删除截图区域中匹配的应用程序对应的第二消息标识,只保留该应用程序的第二程序图标。For example, after the user selects the screenshot area through the first message sharing device, the system can automatically identify the application program in the second object in the screenshot area, and intelligently match the information to remove the data according to the application name field of the application program, After the application name is matched, the second message identifier corresponding to the matching application in the screenshot area is deleted through the removable field, and only the second program icon of the application is retained.
举例说明,结合表1,如图2中的(a)所示,手机桌面31显示有9个应用图标,分别为APP1图标至APP9图标,其中,APP1图标32的右上角显示有消息角标32a和APP2图标33的右上角显示有消息角标33a。当用户想要截图时,可以点击“截图”控件启用截图功能,此时,手机桌面31中可以显示一个矩形框34,然后,用户可以通过调整矩形框34选取截图区域。当确定截图区域之后,若手机判断该截图区域中的对象为桌面中的对象,则手机可以启用截图处理功能。接着,若手机判断该截图区域中的对象包括消息角标,则手机可以识别消息角标对应的APP1和APP2是否属于截图可移除数据库,若属于,如图2中的(b)所示,手机可以直接删除APP1和APP2右上角的消息角标。For example, in combination with Table 1, as shown in (a) in Figure 2, the
需要说明的是,若手机判断该截图区域中的对象为非桌面中的对象,则手机可以进行常规截图。若手机判断该截图区域中的对象不包括消息角标,则手机也可以进行常规截图。It should be noted that, if the mobile phone determines that the object in the screenshot area is not an object in the desktop, the mobile phone can take a normal screenshot. If the mobile phone determines that the object in the screenshot area does not include a message corner mark, the mobile phone can also perform a regular screenshot.
在一种示例中,当手机确定截图区域之后,手机便可根据手机桌面生成虚拟桌面,从而手机可以判断该虚拟桌面中的对象是否为桌面中的对象,以及根据截图可移除数据库删除该虚拟桌面中的消息角标。In one example, after the mobile phone determines the screenshot area, the mobile phone can generate a virtual desktop according to the mobile phone desktop, so that the mobile phone can determine whether the object in the virtual desktop is an object in the desktop, and delete the virtual desktop according to the screenshot removable database. Message badges on the desktop.
在第二种可能实现的方式中(动态移除):In the second possible implementation (dynamic removal):
在一种示例中,第一消息分享装置可以在接收到用户的第一输入之后,可以为仅删除第一标识。In an example, after receiving the first input from the user, the first message sharing device may only delete the first identifier.
在另一种示例中,在上述第一输入为用户对第一标识的第一输入的情况下,上述的步骤203b中的对第二对象执行目标处理具体可以包括如下步骤203b1:In another example, in the case that the above-mentioned first input is the user's first input on the first identification, the above-mentioned step 203b of performing target processing on the second object may specifically include the following step 203b1:
步骤203b1:第一消息分享装置删除上述第一标识,并更新上述信息移除数据。Step 203b1: The first message sharing device deletes the above-mentioned first identifier, and updates the above-mentioned information removal data.
其中,上述第一标识为上述M个第二程序图标和上述M个第二消息标识中的任一个;更新后的消息移除数据用于指示第一消息分享装置可自动删除该第一标识。Wherein, the above-mentioned first identifier is any one of the above-mentioned M second program icons and the above-mentioned M second message identifiers; the updated message removal data is used to indicate that the first message sharing device can automatically delete the first identifier.
示例性地,第一消息分享装置可以在确定第二对象包括M个第二程序图标和M个第二消息标识的情况下,可以显示目标控件。然后,第一消息分享装置可以在接收到用户可以对目标控件的第一输入,删除第一标识。Exemplarily, the first message sharing apparatus may display the target control when it is determined that the second object includes M second program icons and M second message identifiers. Then, the first message sharing device may delete the first identifier after receiving the user's first input on the target control.
举例说明,结合图2中的(a),手机桌面31中的APP5图标35的右上角还显示有消息角标35a,若手机判断该截图区域中的对象包括消息角标,则手机可以在消息角标35a右边显示“删除”控件35b和“删除且标记”控件35c(即上述的目标控件)。若用户想要删除消息角标35a,并在截图可移除数据库录入APP5对应的信息,则用户可以点击“删除且标记”按钮35c(即上述的第一输入)。此时,如图3所示,手机可以移除消息角标35a,并可以在截图可移除数据库录入APP5对应的信息。For example, in conjunction with (a) in Fig. 2, the upper right corner of the
需要说明的是,当用户点击“删除”控件35b时,手机可以仅移除消息角标35a。It should be noted that when the user clicks the "delete"
对于第二种处理:第一消息分享装置将目标程序图标拆分显示为至少一个第一程序图标,并将该目标程序图标对应的第二消息标识拆分显示为至少一个第一消息标识。For the second processing: the first message sharing device splits and displays the target program icon into at least one first program icon, and splits and displays the second message ID corresponding to the target program icon into at least one first message ID.
示例性地,上述的目标程序图标可以是系统默认设置的,也可以是用户自行设置 的,本申请实施例对此不作限定。Exemplarily, the above-mentioned target program icon can be set by default by the system, or can be set by the user, which is not limited in this embodiment of the present application.
举例说明,以APP7为聊天APP为例,结合图2中的(a),手机桌面31中的APP7图标36的右上角还显示有消息角标37,该消息角标37显示未读消息数量为7,表示APP7中具有7条未读消息。当用户想要拆分APP7时,可以点击该APP7图标36。此时,手机可以按照消息类型对APP7进行拆分,如图4所示,手机将APP7图标36拆分显示为4个子图标(即上述的至少一个第一程序图标),分别为朋友圈图标36a、群图标36b、个人图标36c、新闻图标36d等;将消息角标36拆分显示为4个子标识(即上述的至少一个消息标识),分别为消息角标37a,消息角标37b、消息角标37c和消息角标37d。其中,消息角标37a显示未读消息数量为3,表示朋友圈未读消息有3条,消息角标37b显示未读消息数量为2,表示群未读消息有2条,消息角标37c显示未读消息数量为1,表示个人未读消息有1条,消息角标37d显示未读消息数量为1,表示新闻未读消息有1条。For example, taking APP7 as a chat APP as an example, in conjunction with (a) in Figure 2, the upper right corner of the
在一种示例中,结合图4,若用户仅需要保留朋友圈图标36a和消息角标37a,用户可以长按该朋友圈图标36a。此时,如图5所示,手机删除群图标36b、个人图标36c、新闻图标36d,消息角标37b、消息角标37c和消息角标37d,手机桌面31仅显示朋友圈图标36a和消息角标37a。In one example, referring to FIG. 4 , if the user only needs to keep the
本申请实施例提供的消息分享方法可以应用于快速对程序图标对应的未读信息进行分类显示场景中,第一消息分享装置可以通过应用程序的功能或消息类型对未读消息进行分类,从而根据分类拆分显示目标程序图标和该目标程序图标对应的第二消息标识,以使用户或对端用户可以根据需求,快速选择自己需要的分类的未读消息进行阅读,不需要显示所有未读消息,如此,使得未读消息的分享过程更灵活。The message sharing method provided by the embodiment of the present application can be applied to the scene of quickly classifying and displaying the unread information corresponding to the program icon. The first message sharing device can classify the unread messages according to the function or message type of the application program, so Split and display the target program icon and the second message identifier corresponding to the target program icon by category, so that the user or peer user can quickly select the unread messages of the category they need to read according to their needs, without displaying all unread messages , so that the process of sharing unread messages is more flexible.
对于第三种处理:第一消息分享装置更新第三消息标识的标识内容。For the third processing: the first message sharing device updates the identification content of the third message identification.
示例性地,上述的第三消息标识可以是系统默认设置的,也可以是用户自行设置的,本申请实施例对此不作限定。Exemplarily, the above-mentioned third message identifier may be set by default by the system, or may be set by the user, which is not limited in this embodiment of the present application.
示例性地,更新后的第三消息标识指示的未读消息可以根据时间确定。例如,更新后的第三消息标识指示的未读消息的接收时刻与当前时刻的差值小于或等于预设时长,即第一消息分享装置最近接收到的未读消息。Exemplarily, the unread message indicated by the updated third message identifier may be determined according to time. For example, the difference between the receiving time of the unread message indicated by the updated third message identifier and the current time is less than or equal to the preset duration, that is, the latest unread message received by the first message sharing device.
在一种示例中,在第三消息标识指示的未读消息的数量满足第一条件的情况下,更新第三消息标识的标识内容。In an example, when the number of unread messages indicated by the third message identifier satisfies the first condition, the identification content of the third message identifier is updated.
示例性地,上述的第一条件可以为第三标识指示的未读消息的数量大于预设阈值,更新后的第三消息标识指示的未读消息的数量为该预设阈值。其中,该预设阈值可以是系统默认设置的,也可以是用户设置的,本申请实施例对此不作限定。Exemplarily, the above-mentioned first condition may be that the number of unread messages indicated by the third identifier is greater than a preset threshold, and the number of unread messages indicated by the updated third message identifier is the preset threshold. Wherein, the preset threshold may be set by default by the system or by a user, which is not limited in this embodiment of the present application.
举例说明,以系统默认设置APP5最大显示阈值为4为例,结合图2中的(a),手机桌面31中的APP5图标37的右上角还显示有消息角标37a,该消息角标37a上显示未读消息数量为8,表示APP5中具有8条未读消息,大于4。此时,如图6所示,手机可以将消息角标37a上的未读消息数量更新显示为4。For example, take the system default setting APP5 maximum display threshold as 4 as an example, in conjunction with (a) in Figure 2, the upper right corner of the
需要说明的是,在第三消息标识指示的未读消息的数量不满足第一条件的情况下,图像处理装置可以保持显示该第三消息标识的显示内容,即按照第三消息标识指示的未读消息的实际数量显示。It should be noted that, when the number of unread messages indicated by the third message identifier does not meet the first condition, the image processing device may keep displaying the display content of the third message identifier, that is, according to the number of unread messages indicated by the third message identifier. The actual number of read messages is displayed.
可选地,在本申请实施例中,第一消息分享装置可以根据用户账户对应的查看权限确定上述的预设阈值。Optionally, in this embodiment of the present application, the first message sharing device may determine the above-mentioned preset threshold according to the viewing authority corresponding to the user account.
示例性地,在更新第三消息标识的标识内容之前,该方法还可以包括如下步骤B1:Exemplarily, before updating the identification content of the third message identification, the method may further include the following step B1:
步骤B1:第一消息分享装置根据目标用户账户对应的查看权限,确定预设阈值。Step B1: The first message sharing device determines a preset threshold according to the viewing authority corresponding to the target user account.
其中,上述目标用户账户为第二消息分享装置对应的账户。Wherein, the above-mentioned target user account is an account corresponding to the second message sharing device.
示例性地,上述的查看权限与预设阈值存在正比例关系,或者存在反比例关系,本申请实施例对此不作限定。例如,预设阈值可以随着查看权限的等级的升高而减小,随着查看权限的等级的降低而增大;或者随着查看权限的等级的升高而增大,随着查看权限的等级的降低而减小。Exemplarily, there is a direct proportional relationship or an inverse proportional relationship between the above viewing authority and the preset threshold, which is not limited in this embodiment of the present application. For example, the preset threshold may decrease as the level of viewing authority increases, and increase as the level of viewing authority decreases; or increase as the level of viewing authority increases, and increase as the level of viewing authority increases. decrease as the level decreases.
基于上述的步骤B1,上述更新第三消息标识的标识内容具体可以包括如下步骤B2:Based on the above-mentioned step B1, the above-mentioned update of the identification content of the third message identification may specifically include the following step B2:
步骤B2:第一消息分享装置在上述第三消息标识指示的未读消息的数量大于预设 阈值的情况下,更新第三消息标识的标识内容。Step B2: The first message sharing device updates the identification content of the third message identification when the number of unread messages indicated by the third message identification is greater than a preset threshold.
其中,更新后的第三消息标识指示的未读消息的数量为上述预设阈值。Wherein, the number of unread messages indicated by the updated third message identifier is the aforementioned preset threshold.
举例说明,手机桌面中的APP图标的右上角显示有消息角标37a,该消息角标上显示未读消息数量为6,表示APP中具有6条未读消息。当用户选择想要发送的对端用户账号后,手机可以获取该对端用户账号对应的查看权限等级为高,即确定最大显示阈值为2。由于6大于2,此时,手机可以将消息角标上的未读消息数量更新显示为2。For example, the upper right corner of the APP icon on the desktop of the mobile phone displays a
本申请实施例提供的消息分享方法可以应用于更新消息标识的显示内容场景中,第一消息分享装置可以根据目标用户账户对应的查看权限确定预设阈值,从而根据预设阈值确定分享的未读消息,如此,不仅可以调高分享未读消息的安全性,还可以使得分享未读消息的过程更灵活。The message sharing method provided by the embodiment of the present application can be applied to the scene of updating the display content of the message identifier. The first message sharing device can determine the preset threshold according to the viewing authority corresponding to the target user account, so as to determine the shared unread message according to the preset threshold. Messages, in this way, not only increase the security of sharing unread messages, but also make the process of sharing unread messages more flexible.
在一种示例中,第一消息分享装置可以在对上述的第二对象进行上述的三种处理之后得到上述的第一对象,然后第一消息分享装置可以截取该第一对象的图像,得到第一截图。In an example, the first message sharing device can obtain the above-mentioned first object after performing the above-mentioned three kinds of processing on the above-mentioned second object, and then the first message sharing device can intercept the image of the first object to obtain the second object a screenshot.
举例说明,结合图2中的(b)、图5和图6,如图7所示,手机可以显示整合后得到的截图41。For example, in combination with (b) in FIG. 2 , FIG. 5 and FIG. 6 , as shown in FIG. 7 , the mobile phone can display the
可选地,在本申请实施例中,在上述的步骤203中对该第二对象执行目标处理,得到上述第一对象之前,该方法还可以包括如下步骤204:Optionally, in this embodiment of the present application, the target processing is performed on the second object in the above-mentioned step 203, and before the above-mentioned first object is obtained, the method may also include the following step 204:
步骤204:第一消息分享装置根据目标界面,生成虚拟界面。Step 204: The first message sharing device generates a virtual interface according to the target interface.
其中,上述目标界面和上述虚拟界面均包括上述第二对象,该目标界面中的程序图标和消息标识与该虚拟界面中的程序图标和消息标识存在映射关系。Wherein, both the above-mentioned target interface and the above-mentioned virtual interface include the above-mentioned second object, and there is a mapping relationship between the program icons and message identifiers in the target interface and the program icons and message identifiers in the virtual interface.
示例性地,目标界面中的程序图标和消息标识与虚拟界面中的程序图标和消息标识之间可以为一一对应的映射关系。例如,目标界面中的程序图标与虚拟界面中的程序图标之间一一对应,目标界面中的消息标识与虚拟界面中的消息标识之间一一对应。Exemplarily, there may be a one-to-one mapping relationship between program icons and message identifiers in the target interface and program icons and message identifiers in the virtual interface. For example, there is a one-to-one correspondence between program icons on the target interface and program icons on the virtual interface, and a one-to-one correspondence between message identifiers on the target interface and message identifiers on the virtual interface.
基于上述的步骤204,上述的步骤203中对该第二对象执行目标处理,得到上述第一对象,具体可以包括如下步骤203c:Based on the above-mentioned step 204, in the above-mentioned step 203, the target processing is performed on the second object to obtain the above-mentioned first object, which may specifically include the following step 203c:
步骤203c:第一消息分享装置对上述虚拟界面中的第二对象执行目标处理,得到上述第一对象。Step 203c: The first message sharing device performs target processing on the second object in the virtual interface to obtain the first object.
示例性地,第一消息分享装置对上述虚拟界面中的第二对象执行目标处理,得到上述第一对象的实现过程,具体可以参考上述的对第二对象执行目标处理,得到上述第一对象的描述,此处不再赘述。Exemplarily, the first message sharing device executes target processing on the second object in the virtual interface to obtain the realization process of the above-mentioned first object. description and will not be repeated here.
基于上述的步骤204和步骤203c,上述的步骤201具体可以包括如下步骤201a:Based on the above step 204 and step 203c, the
步骤201a:第一消息分享装置截取上述虚拟界面中的第一对象的图像,得到第一截图。Step 201a: the first message sharing device intercepts the image of the first object in the virtual interface to obtain a first screenshot.
示例性地,第一消息分享装置截取上述虚拟界面中的第一对象的图像,得到第一截图的实现过程,具体可以参考上述的截取第一对象的图像,得到第一截图的描述,此处不再赘述。Exemplarily, the first message sharing device intercepts the image of the first object in the virtual interface to obtain the first screenshot. For details, please refer to the above description of intercepting the image of the first object to obtain the first screenshot. Here No longer.
可选地,在本申请实施例中,在上述的步骤202之后,该方法还可以包括如下步骤205:Optionally, in the embodiment of the present application, after the
步骤205:第一消息分享装置在获取到第一电子设备发送的第一指示信息的情况下,取消该第一指示信息指示的第四消息标识的显示,或更新该第四消息标识的标识内容。Step 205: When the first message sharing device acquires the first indication information sent by the first electronic device, cancel the display of the fourth message identification indicated by the first indication information, or update the identification content of the fourth message identification .
其中,上述第四消息标识为上述M个第二消息标识中的任一个;更新后的第四消息标识指示的未读消息的数量少于更新前的第四消息标识指示的未读消息的数量。Wherein, the above-mentioned fourth message identifier is any one of the above-mentioned M second message identifiers; the number of unread messages indicated by the updated fourth message identifier is less than the number of unread messages indicated by the fourth message identifier before the update .
需要说明的是,上述第四消息标识除了可以为上述M个第二消息标识中的任一个,也可以为上述M个第二消息标识中的多个,本申请实施例对此不作限定。It should be noted that, in addition to being any one of the M second message identifiers, the fourth message identifier may also be multiple of the M second message identifiers, which is not limited in this embodiment of the present application.
在一种示例中,第一消息分享装置可以直接接收第二消息分享装置发送的第一指示信息。In an example, the first message sharing device may directly receive the first indication information sent by the second message sharing device.
在另一种示例中,第二消息分享装置可以将第一指示信息发送给服务器,然后,第一消息分享装置可以从服务器获取第一指示信息。示例性地,消息分享装置可以周期性的问询服务器,以便及时获取指示信息。In another example, the second message sharing device may send the first indication information to the server, and then the first message sharing device may acquire the first indication information from the server. Exemplarily, the message sharing device may inquire the server periodically, so as to obtain indication information in time.
示例性地,上述的步骤205具体可以包括如下步骤:第一消息分享装置在获取到第二消息分享装置发送的第一指示信息的情况下,显示提示信息。然后,第一消息分享装置在接收到用户对提示信息的第四输入之后,可以取消该第一指示信息指示的第四消息标识的显示,或更新该第四消息标识的标识内容。Exemplarily, the above-mentioned step 205 may specifically include the following step: the first message sharing device displays prompt information when the first message sharing device obtains the first indication information sent by the second message sharing device. Then, after receiving the user's fourth input of the prompt information, the first message sharing device may cancel the display of the fourth message identifier indicated by the first indication information, or update the identifier content of the fourth message identifier.
举例说明,当对端用户查看了APP7中的2条未读消息之后,对端用户的手机可以在该2条未读消息中加上已读标识传回服务器,当本机获取到对端用户已读APP7中的2条未读消息之后,可以显示提示信息,该提示信息显示有是否同步数据到本机。当用户选择是,则本机自动删除APP7对应的消息角标。如此,对于某些用户共享给对端用户的未读消息,只要任意一个用户查看之后便可快捷的标识查看状态。For example, after the peer user views the 2 unread messages in APP7, the peer user's mobile phone can add the read mark to the 2 unread messages and send them back to the server. After reading 2 unread messages in APP7, a prompt message can be displayed, and the prompt message shows whether the data is synchronized to the machine. When the user selects Yes, the machine will automatically delete the message corner mark corresponding to APP7. In this way, for the unread messages shared by some users with peer users, as long as any user views them, the viewing status can be quickly identified.
本申请实施例提供的消息分享方法可以应用于快速标记对端用户查看状态的场景中,第一消息分享装置在获取到第二消息分享装置发送的第一指示信息的情况下,取消该第一指示信息指示的第四消息标识的显示,或更新该第四消息标识的标识内容,从而使得用户可以快速获知对端用户对第一截图指示的未读消息的查看状态。The message sharing method provided by the embodiment of the present application can be applied to the scenario of quickly marking the viewing status of the peer user. When the first message sharing device obtains the first indication information sent by the second message sharing device, the first message sharing device cancels the first message sharing method. Displaying the fourth message identifier indicated by the indication information, or updating the identifier content of the fourth message identifier, so that the user can quickly know the peer user's viewing status of the unread message indicated by the first screenshot.
可选地,在本申请实施例中,在上述的步骤201之后,该方法还可以包括如下步骤206a至步骤206c:Optionally, in this embodiment of the application, after the
步骤206a:第一消息分享装置生成第一映射关系。Step 206a: the first message sharing device generates a first mapping relationship.
其中,上述第一映射关系用于表征第一截图中的程序图标和消息标识与第一对象中的程序图标和消息标识之间的映射关系。Wherein, the above-mentioned first mapping relationship is used to characterize the mapping relationship between the program icon and message identifier in the first screenshot and the program icon and message identifier in the first object.
示例性地,第一截图中的程序图标和消息标识与第一对象中的程序图标和消息标识之间可以为一一对应的映射关系。例如,第一截图中的程序图标与第一对象中的程序图标之间一一对应,第一截图中的消息标识与第一对象中的消息标识之间一一对应。Exemplarily, there may be a one-to-one mapping relationship between the program icon and message identifier in the first screenshot and the program icon and message identifier in the first object. For example, there is a one-to-one correspondence between program icons in the first screenshot and program icons in the first object, and a one-to-one correspondence between message identifiers in the first screenshot and message identifiers in the first object.
步骤206b:第一消息分享装置生成第二映射关系。Step 206b: The first message sharing device generates a second mapping relationship.
其中,上述第二映射关系用于表征每个第一消息标识与该每个第一消息标识指示的未读消息之间的映射关系。Wherein, the above-mentioned second mapping relationship is used to characterize the mapping relationship between each first message identifier and the unread message indicated by each first message identifier.
示例性地,在每个第一消息标识指示的未读消息为一个的情况下,每个第一消息标识与该每个第一消息标识指示的未读消息之间可以为一一对应的映射关系;在每个第一消息标识指示的未读消息为多个的情况下,每个第一消息标识与该每个第一消息标识指示的未读消息之间可以为一对多的映射关系。Exemplarily, when there is one unread message indicated by each first message identifier, there may be a one-to-one mapping between each first message identifier and the unread message indicated by each first message identifier Relationship; in the case where there are multiple unread messages indicated by each first message identifier, there may be a one-to-many mapping relationship between each first message identifier and the unread messages indicated by each first message identifier .
示例性地,上述的第一映射关系和第二映射关系可以为映射关系表。Exemplarily, the above-mentioned first mapping relationship and second mapping relationship may be a mapping relationship table.
步骤206c:第一消息分享装置向第二消息分享装置发送第二指示消息。Step 206c: the first message sharing device sends a second indication message to the second message sharing device.
其中,上述第二指示消息包括上述第一映射关系和第二映射关系。Wherein, the above-mentioned second indication message includes the above-mentioned first mapping relationship and the second mapping relationship.
相应地,第二消息分享装置可以接收上述的第二指示消息,从而获取上述第一映射关系和第二映射关系。Correspondingly, the second message sharing device may receive the above-mentioned second indication message, so as to obtain the above-mentioned first mapping relationship and the second mapping relationship.
如此,可以方便第二消息分享装置根据上述的第一映射关系和第二映射关系通过第一截图查看未读消息。In this way, it is convenient for the second message sharing device to view unread messages through the first screenshot according to the above-mentioned first mapping relationship and the second mapping relationship.
图8为本申请实施例提供的另一种消息分享方法流程示意图,应用于第二消息分享装置,包括步骤501至步骤503:Fig. 8 is a schematic flow chart of another message sharing method provided by the embodiment of the present application, which is applied to the second message sharing device, including
步骤501:第二消息分享装置接收第一消息分享装置发送的第一截图。Step 501: the second message sharing device receives the first screenshot sent by the first message sharing device.
其中,上述第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数。Wherein, the above-mentioned first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, and N is positive integer.
步骤502:第二消息分享装置接收用户对上述第一截图的第三输入。Step 502: The second message sharing device receives a third input from the user on the above-mentioned first screenshot.
示例性地,上述的第三输入可以为:用户对第一截图的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。Exemplarily, the above-mentioned third input can be: the user's click input on the first screenshot, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual usage requirements. The embodiment of the present application There is no limit to this.
在一种示例中,上述的用户对第一截图的点击输入具体可以为用户对下述的目标消息标识的输入。In an example, the above-mentioned user's click input on the first screenshot may specifically be the user's input on the following target message identifier.
步骤503:响应于上述第三输入,第二消息分享装置显示至少一个第一消息标识指示的未读消息。Step 503: In response to the third input, the second message sharing device displays at least one unread message indicated by the first message identifier.
示例性地,第二消息分享装置可以从第一消息分享装置接收上述的至少一个第一消息标识指示的未读消息,或者可以从服务器获取该至少一个第一消息标识指示的未 读消息,本申请实施例对此不作限定。例如,第二消息分享装置可以从服务器将至少一个第一消息标识指示的未读消息下载至本地缓存区中。Exemplarily, the second message sharing device may receive the above-mentioned at least one unread message indicated by the first message identifier from the first message sharing device, or may acquire the unread message indicated by the at least one first message identifier from the server. The embodiment of the application does not limit this. For example, the second message sharing device may download at least one unread message indicated by the first message identifier from the server into the local buffer.
可选地,在本申请实施例中,上述的步骤502具体可以包括如下步骤502a:Optionally, in the embodiment of the present application, the
步骤502a:第二消息分享装置接收用户对上述N个第一消息标识中的目标消息标识的第三输入。Step 502a: The second message sharing apparatus receives a third input from the user on a target message ID among the N first message IDs.
示例性地,上述的目标消息标识可以为一个,也可以包括多个,本申请实施例对此不作限定。Exemplarily, the above-mentioned target message identifier may be one or multiple, which is not limited in this embodiment of the present application.
基于上述的步骤502a,上述的步骤503具体可以包括如下步骤503a:Based on the above step 502a, the
步骤503a:响应于上述第三输入,第二消息分享装置根据预先生成的第二映射关系,确定上述目标消息标识指示的目标未读消息,并显示该目标未读消息。Step 503a: In response to the third input, the second message sharing device determines the target unread message indicated by the target message identifier according to the pre-generated second mapping relationship, and displays the target unread message.
举例说明,结合图7,当手机1接收到手机发送的截图41之后,手机1可以显示截图41,该截图41上显示有8个APP图标和1个APP7对应的朋友圈图标,该8个APP图标分别为APP1图标至APP7图标以及APP9图标。其中,APP5图标的右上角还显示有消息角标,消息角标显示未读消息数量为4,表示APP5中存在4条未读消息。当用户想要查看APP5中的未读消息时,用户可以点击该消息角标,然后,如图9所示,手机1可以显示APP5中的4条未读消息,分别为未读消息1至未读消息4。For example, referring to Fig. 7, after the
可选地,在本申请实施例中,上述的步骤503a中的显示该目标未读消息具体可以包括如下步骤C1:Optionally, in this embodiment of the present application, the display of the target unread message in the above step 503a may specifically include the following step C1:
步骤C1:第二消息分享装置在目标用户账户对应的查看权限为预设权限等级的情况下,显示上述目标未读消息。Step C1: The second message sharing device displays the target unread messages when the viewing authority corresponding to the target user account is a preset authority level.
其中,上述的目标用户账户为第二消息分享装置对应的账户。Wherein, the above-mentioned target user account is an account corresponding to the second message sharing device.
示例性地,第二消息分享装置可以在目标用户账户对应的查看权限为第一权限等级(例如,高),显示上述的目标未读消息。Exemplarily, the second message sharing apparatus may display the above-mentioned target unread messages when the viewing permission corresponding to the target user account is the first permission level (for example, high).
可选地,在本申请实施例中,在上述的步骤503a中的根据预先生成的第二映射关系,确定上述目标消息标识指示的目标未读消息,并显示该目标未读消息之前,该方法还可以包括如下步骤D1和步骤D2:Optionally, in this embodiment of the present application, before the target unread message indicated by the target message identifier is determined according to the pre-generated second mapping relationship in the above-mentioned step 503a, and the target unread message is displayed, the method The following steps D1 and D2 may also be included:
步骤D1:第二消息分享装置获取上述第三输入的输入位置。Step D1: The second message sharing device obtains the input position of the third input.
示例性地,第二消息分享装置可以获取第三输入的输入位置的坐标信息。Exemplarily, the second message sharing device may acquire the coordinate information of the input location of the third input.
步骤D2:第二消息分享装置在上述输入位置位于第五消息标识上的情况下,将第一消息标识确定为目标消息标识。Step D2: The second message sharing device determines the first message ID as the target message ID when the input position is located on the fifth message ID.
第二消息分享装置在该输入位置位于第一图标上的情况下,将第一图标对应的至少一个消息标识确定为目标消息标识。When the input position is located on the first icon, the second message sharing device determines at least one message identifier corresponding to the first icon as the target message identifier.
其中,上述的第五消息标识为上述N个第一消息标识中的至少一个,上述第一图标为上述N个第一程序图标中的至少一个。Wherein, the above-mentioned fifth message identifier is at least one of the above-mentioned N first message identifiers, and the above-mentioned first icon is at least one of the above-mentioned N first program icons.
可选地,在本申请实施例中,在上述的步骤502a之后,该方法还可以包括如下步骤504:Optionally, in this embodiment of the application, after the above step 502a, the method may further include the following step 504:
步骤504:响应于上述第三输入,第二消息分享装置向第一消息分享装置发送第一指示信息。Step 504: In response to the third input, the second message sharing device sends the first indication information to the first message sharing device.
其中,上述第一指示信息用于指示第一消息分享装置取消第四消息标识的显示或更新该第四消息标识的标识内容,更新后的第四消息标识指示的未读消息的数量少于更新前的第四消息标识指示的未读消息的数量。Wherein, the above-mentioned first instruction information is used to instruct the first message sharing device to cancel the display of the fourth message identifier or to update the identifier content of the fourth message identifier, and the number of unread messages indicated by the updated fourth message identifier is less than that of the updated message identifier. The preceding fourth message identifier indicates the number of unread messages.
需要说明的是,第二消息分享装置在执行步骤504或步骤503a时没有明显的先后顺序。例如,第二消息分享装置可以在执行步骤504之前执行步骤503a,也可以在执行步骤504之后执行步骤503a,还可以在执行步骤504的同时执行步骤503a,本申请实施例对此不作限定。It should be noted that there is no obvious sequence when the second message sharing device executes step 504 or step 503a. For example, the second message sharing device may perform step 503a before performing step 504, or may perform step 503a after performing step 504, or may perform step 503a while performing step 504, which is not limited in this embodiment of the present application.
可选地,在本申请实施例中,在目标消息标识用于指示对应的应用程序的一个功能或一个消息类型的情况下,上述的目标未读消息为该目标消息标识指示功能对应的未读消息或指示消息类型对应的未读消息。Optionally, in this embodiment of the application, in the case where the target message identifier is used to indicate a function or a message type of the corresponding application program, the above-mentioned target unread message is an unread message corresponding to the target message identifier indicating the function. message or indicate unread messages corresponding to the message type.
举例说明,结合图7,APP7对应的朋友圈图标的右上角还显示有消息角标,该消息角标显示未读消息数量为3,表示APP7对应的朋友圈中存在3条未读消息。当用户想要查看APP7中的未读消息时,用户可以点击该消息角标,然后,手机1可以显示 APP7对应的朋友圈中的3条未读消息,分别为未读消息5至未读消息7。For example, referring to FIG. 7 , the upper right corner of the circle of friends icon corresponding to APP7 also displays a message corner mark, which shows that the number of unread messages is 3, indicating that there are 3 unread messages in the circle of friends corresponding to APP7. When the user wants to check the unread messages in APP7, the user can click on the corner icon of the message, and then the
本申请实施例提供的消息分享方法,第二消息分享装置可以先接收第一消息分享装置发送的第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;然后,第二消息分享装置可以在接收到用户对上述第一截图的第三输入之后,显示至少一个第一消息标识指示的未读消息。通过上述方案,第二消息分享装置在接收到第一消息分享装置分享的第一截图并在接收到用户对第一截图的输入之后,可以直接显示与第一截图中的至少一个第一消息标识指示的未读消息,从而方便用户快速查看未读消息。如此,通过分享截图的方式,即可实现未读消息的快速分享阅读,不仅使得整个未读消息分享过程操作简便,效率高,而且避免了用户将自己的电子设备给其他用户而造成隐私泄露,使得电子设备分享未读消息的安全性得到了极大提升。In the message sharing method provided by the embodiment of the present application, the second message sharing device may first receive the first screenshot sent by the first message sharing device, the first screenshot includes N first program icons and N first message identifiers, and a first screenshot A program icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer; then, the second message sharing device may receive the user's third screenshot of the above-mentioned first screenshot. After the input, at least one unread message indicated by the first message identifier is displayed. Through the above solution, after receiving the first screenshot shared by the first message sharing device and receiving the user's input on the first screenshot, the second message sharing device can directly display at least one first message identifier in the first screenshot. Indicated unread messages, so that users can quickly view unread messages. In this way, by sharing screenshots, unread messages can be quickly shared and read, which not only makes the entire unread message sharing process easy and efficient, but also avoids privacy leakage caused by users giving their electronic devices to other users. The security of electronic devices sharing unread messages has been greatly improved.
需要说明的是,本申请实施例提供的消息分享方法,执行主体可以为消息分享装置,或者该消息分享装置中的用于执行消息分享方法的控制模块。本申请实施例中以消息分享装置执行消息分享方法为例,说明本申请实施例提供的消息分享装置。It should be noted that, the message sharing method provided in the embodiment of the present application may be executed by a message sharing device, or a control module in the message sharing device for executing the message sharing method. In the embodiment of the present application, the message sharing method performed by the message sharing device is taken as an example to illustrate the message sharing device provided in the embodiment of the present application.
图10为实现本申请实施例提供的一种消息分享装置的可能的结构示意图,如图10所示,消息分享装置600包括:截取模块601和发送模块602,其中:截取模块601,用于截取第一对象的图像,得到第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;发送模块602,用于向第二消息分享装置发送截取模块601得到的第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。Fig. 10 is a schematic diagram of a possible structure of a message sharing device provided by an embodiment of the present application. As shown in Fig. 10, the
可选地,消息分享装置600还包括:执行模块;执行模块,用于在显示第二对象的情况下,对第二对象执行目标处理,得到第一对象;其中,该第二对象包括M个第二程序图标和M个第二消息标识,一个第二程序图标对应一个第二消息标识,每个第二消息标识用于指示至少一条未读消息,M为正整数。Optionally, the
可选地,消息分享装置600还包括:生成模块;生成模块,用于根据目标界面,生成虚拟界面;其中,该目标界面和该虚拟界面均包括上述第二对象,该目标界面中的程序图标和消息标识与该虚拟界面中的程序图标和消息标识存在映射关系;执行模块,具体用于对生成模块生成的虚拟界面中的第二对象执行目标处理,得到第一对象;截取模块601,具体用于截取生成模块生成的虚拟界面中的第一对象的图像,得到第一截图。Optionally, the
可选地,消息分享装置600还包括:接收模块;接收模块,用于在显示第二对象的情况下,接收用户的第一输入;执行模块,具体用于响应于接收模块接收到的第一输入,对第二对象执行目标处理,得到第一对象。Optionally, the
可选地,上述第一消息分享装置包括信息移除数据,该信息移除数据用于指示可自动删除的标识,可自动删除的标识包括以下至少一项:程序图标,消息标识;在第一输入为用户对第一标识的第一输入的情况下,执行模块,具体用于删除第一标识,并更新信息移除数据;其中,该第一标识为上述M个第二程序图标和上述M个第二消息标识中的任一个;更新后的消息移除数据用于指示第一消息分享装置可自动删除该第一标识。Optionally, the above-mentioned first message sharing device includes information removal data, and the information removal data is used to indicate an identifier that can be automatically deleted, and the identifier that can be automatically deleted includes at least one of the following: a program icon, a message identifier; If the input is the user's first input on the first identifier, the execution module is specifically configured to delete the first identifier and update the information removal data; wherein, the first identifier is the above-mentioned M second program icons and the above-mentioned M Any one of the second message identifiers; the updated message removal data is used to indicate that the first message sharing device can automatically delete the first identifier.
可选地,执行模块,具体用于将目标程序图标拆分显示为至少一个第一程序图标,并将目标程序图标对应的第二消息标识拆分显示为至少一个第一消息标识;其中,该目标程序图标为上述M个第二程序图标中的任一个,每个第一程序图标用于指示该目标程序图标对应的应用程序的一个功能或一个消息类型;每个第一消息标识用于指示一个功能对应的未读消息或一个消息类型对应的未读消息。Optionally, the execution module is specifically configured to split and display the target program icon into at least one first program icon, and split and display the second message identifier corresponding to the target program icon into at least one first message identifier; wherein, the The target program icon is any one of the above-mentioned M second program icons, and each first program icon is used to indicate a function or a message type of the application program corresponding to the target program icon; each first message identifier is used to indicate Unread messages corresponding to a function or unread messages corresponding to a message type.
可选地,执行模块,具体用于更新第三消息标识的标识内容;其中,该第三消息标识为上述M个第二消息标识中的任一个,更新后的第三消息标识指示的未读消息的数量少于更新显示前的第三消息标识指示的未读消息的数量。Optionally, the execution module is specifically configured to update the identification content of the third message identification; wherein, the third message identification is any one of the above-mentioned M second message identifications, and the unread message indicated by the updated third message identification The number of messages is less than the number of unread messages indicated by the third message identification before updating the display.
可选地,消息分享装置600还包括:确定模块;确定模块,用于根据目标用户账户对应的查看权限,确定预设阈值,该目标用户账户为第二消息分享装置对应的账户; 执行模块,具体用于在第三消息标识指示的未读消息的数量大于确定模块确定的预设阈值的情况下,更新第三消息标识的标识内容,其中,更新后的第三消息标识指示的未读消息的数量为该预设阈值。Optionally, the
可选地,消息分享装置600还包括:显示模块;显示模块,用于在接收到第二消息分享装置发送的第一指示信息的情况下,取消第一指示信息指示的第四消息标识的显示,或更新该第四消息标识的标识内容;其中,该第四消息标识为上述M个第二消息标识中的任一个;更新后的第四消息标识指示的未读消息的数量少于更新前的第四消息标识指示的未读消息的数量。Optionally, the
可选地,消息分享装置600还包括:生成模块;生成模块,用于生成第一映射关系,第一映射关系用于表征第一截图中的程序图标和消息标识与第一对象中的程序图标和消息标识之间的映射关系;以及生成第二映射关系,第二映射关系用于表征每个第一消息标识与每个第一消息标识指示的未读消息之间的映射关系;发送模块602,还用于向第二消息分享装置发送第二指示消息,第二指示消息包括第一映射关系和第二映射关系。Optionally, the
可选地,消息分享装置600还包括:生成模块、接收模块和设置模块;接收模块,用于接收用户的第二输入;设置模块,用于响应于接收模块接收到的第二输入,设置目标用户账户对应的查看权限,该目标用户账户为第二消息分享装置对应的账户;生成模块,用于根据设置模块设置的查看权限,生成用户权限查询数据;其中,该查看权限用于指示第二消息分享装置在查看权限为预设权限等级的情况下,通过第一截图获取与预设权限等级对应的未读消息。Optionally, the
本申请实施例提供的消息分享装置,该消息分享装置为第一分享装置首先,第一消息分享装置可以截取第一对象的图像,得到第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数。然后,第一消息分享装置可以向第二消息分享装置发送上述第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。通过上述方案,在通过电子设备分享未读消息的情况下,相比于相关技术中需要用户将自己的电子设备给其他用户从而可能造成用户隐私泄露的方案,本申请中的第一消息分享装置可以先截取包括N个第一程序图标和N个第一消息标识的图像,得到第一截图,再向第二消息分享装置发送该第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。如此,无需用户将自己的电子设备给其他用户,从而可以避免用户的隐私泄露,提高了通过电子设备分享未读消息的安全性,还可以使得其他用户在自己的电子设备中,通过截图快速查看用户分享的未读消息。The message sharing device provided by the embodiment of the present application is the first sharing device. First, the first message sharing device can intercept the image of the first object to obtain a first screenshot, and the first screenshot includes N first program icons and N first message identifiers, one first program icon corresponds to one first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer. Then, the first message sharing device may send the first screenshot to the second message sharing device, so that the second message sharing device acquires at least one unread message indicated by the first message identifier through the first screenshot. Through the above scheme, in the case of sharing unread messages through electronic equipment, compared with the scheme in the related art that requires users to give their electronic equipment to other users, which may cause user privacy leakage, the first message sharing device in this application It is possible to first intercept images including N first program icons and N first message identifiers to obtain a first screenshot, and then send the first screenshot to the second message sharing device, so that the second message sharing device can pass the first screenshot Obtain at least one unread message indicated by the first message identifier. In this way, there is no need for users to give their electronic devices to other users, thereby avoiding the leakage of user privacy, improving the security of sharing unread messages through electronic devices, and allowing other users to quickly check through screenshots in their electronic devices Unread messages shared by users.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
图11为实现本申请实施例提供的一种消息分享装置的可能的结构示意图,如图11所示,消息分享装置700包括:接收模块701和显示模块702;其中:接收模块701,用于接收第一消息分享装置发送的第一截图,以及接收用户对第一截图的第三输入;该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;显示模块702,用于响应于接收模块701接收到的第三输入,显示至少一个第一消息标识指示的未读消息。FIG. 11 is a schematic diagram of a possible structure of a message sharing device provided by an embodiment of the present application. As shown in FIG. 11 , the
可选地,接收模块701,具体用于接收用户对上述N个第一消息标识中的目标消息标识的第三输入;显示模块702,具体用于响应于接收模块701接收到的第三输入,根据预先生成的第二映射关系,确定上述目标消息标识指示的目标未读消息,并显示该目标未读消息。Optionally, the receiving
可选地,显示模块702,具体用于在上述目标用户账户对应的查看权限为预设权限等级的情况下,显示目标未读消息;其中,该目标用户账户为第二消息分享装置对应的账户。Optionally, the
可选地,消息分享装置700还包括:获取模块和确定模块;获取模块,用于获取第三输入的输入位置;确定模块,用于在获取模块获取到的输入位置位于第五消息标 识上的情况下,将第五消息标识确定为目标消息标识;并在获取模块获取到的输入位置位于第一图标上的情况下,将第一图标对应的至少一个消息标识确定为目标消息标识。Optionally, the
可选地,消息分享装置700还包括:发送模块;发送模块,用于响应于接收模块701接收到的第三输入,向第一消息分享装置发送第一指示信息;其中,该第一指示信息用于指示第一消息分享装置取消第四消息标识的显示或更新第四消息标识的标识内容,更新后的第四消息标识指示的未读消息的数量少于更新前的第四消息标识指示的未读消息的数量。Optionally, the
本申请实施例提供的消息分享装置,该消息分享装置为第二消息分享装置,第二消息分享装置可以先接收第一消息分享装置发送的第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;然后,第二消息分享装置可以在接收到用户对上述第一截图的第三输入之后,显示至少一个第一消息标识指示的未读消息。通过上述方案,第二消息分享装置在接收到第一消息分享装置分享的第一截图并在接收到用户对第一截图的输入之后,可以直接显示与第一截图中的至少一个第一消息标识指示的未读消息,从而方便用户快速查看未读消息。如此,通过分享截图的方式,即可实现未读消息的快速分享阅读,不仅使得整个未读消息分享过程操作简便,效率高,而且避免了用户将自己的电子设备给其他用户而造成隐私泄露,使得电子设备分享未读消息的安全性得到了极大提升。The message sharing device provided in the embodiment of the present application, the message sharing device is a second message sharing device, the second message sharing device can first receive the first screenshot sent by the first message sharing device, the first screenshot includes N first programs icon and N first message identifiers, a first program icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer; then, the second message sharing device can After receiving the user's third input on the first screenshot, at least one unread message indicated by the first message identifier is displayed. Through the above solution, after receiving the first screenshot shared by the first message sharing device and receiving the user's input on the first screenshot, the second message sharing device can directly display at least one first message identifier in the first screenshot. Indicated unread messages, so that users can quickly view unread messages. In this way, by sharing screenshots, unread messages can be quickly shared and read, which not only makes the entire unread message sharing process easy and efficient, but also avoids privacy leakage caused by users giving their electronic devices to other users. The security of electronic devices sharing unread messages has been greatly improved.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
本申请实施例中的消息分享装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性地,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The message sharing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, tablet computer, notebook computer, palmtop computer, vehicle electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的消息分享装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The message sharing device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的消息分享装置能够实现图1至图9的方法实施例实现的各个过程,为避免重复,这里不再赘述。The message sharing device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 9 , and details are not repeated here to avoid repetition.
可选的,如图12所示,本申请实施例还提供一种电子设备800,包括处理器801,存储器802,存储在存储器802上并可在所述处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述消息分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 12 , the embodiment of the present application further provides an
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图13为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 13 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
其中,处理器110,用于截取第一对象的图像,得到第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;射频单元101,用于向第 二消息分享装置发送处理器110得到的第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。Wherein, the
可选地,处理器110,用于在显示第二对象的情况下,对第二对象执行目标处理,得到第一对象;其中,该第二对象包括M个第二程序图标和M个第二消息标识,一个第二程序图标对应一个第二消息标识,每个第二消息标识用于指示至少一条未读消息,M为正整数。Optionally, the
可选地,处理器110,用于根据目标界面,生成虚拟界面;其中,该目标界面和该虚拟界面均包括上述第二对象,该目标界面中的程序图标和消息标识与该虚拟界面中的程序图标和消息标识存在映射关系;并对虚拟界面中的第二对象执行目标处理,得到第一对象;以及截取虚拟界面中的第一对象的图像,得到第一截图。Optionally, the
可选地,用户输入单元107,用于在显示第二对象的情况下,接收用户的第一输入;处理器110,具体用于响应于用户输入单元107接收到的第一输入,对第二对象执行目标处理,得到第一对象。Optionally, the user input unit 107 is configured to receive a user's first input when the second object is displayed; the
可选地,上述第一消息分享装置包括信息移除数据,该信息移除数据用于指示可自动删除的标识,可自动删除的标识包括以下至少一项:程序图标,消息标识;在第一输入为用户对第一标识的第一输入的情况下,处理器110,具体用于删除第一标识,并更新信息移除数据;其中,该第一标识为上述M个第二程序图标和上述M个第二消息标识中的任一个;更新后的消息移除数据用于指示第一消息分享装置可自动删除该第一标识。Optionally, the above-mentioned first message sharing device includes information removal data, and the information removal data is used to indicate an identifier that can be automatically deleted, and the identifier that can be automatically deleted includes at least one of the following: a program icon, a message identifier; When the input is the user's first input on the first identifier, the
可选地,处理器110,具体用于将目标程序图标拆分显示为至少一个第一程序图标,并将目标程序图标对应的第二消息标识拆分显示为至少一个第一消息标识;其中,该目标程序图标为上述M个第二程序图标中的任一个,每个第一程序图标用于指示该目标程序图标对应的应用程序的一个功能或一个消息类型;每个第一消息标识用于指示一个功能对应的未读消息或一个消息类型对应的未读消息。Optionally, the
可选地,处理器110,具体用于更新第三消息标识的标识内容;其中,该第三消息标识为上述M个第二消息标识中的任一个,更新后的第三消息标识指示的未读消息的数量少于更新显示前的第三消息标识指示的未读消息的数量。Optionally, the
可选地,处理器110,用于根据目标用户账户对应的查看权限,确定预设阈值,该目标用户账户为第二消息分享装置对应的账户;并在第三消息标识指示的未读消息的数量大于预设阈值的情况下,更新第三消息标识的标识内容,其中,更新后的第三消息标识指示的未读消息的数量为该预设阈值。Optionally, the
可选地,显示模块607,用于在接收到第二消息分享装置发送的第一指示信息的情况下,取消第一指示信息指示的第四消息标识的显示,或更新该第四消息标识的标识内容;其中,该第四消息标识为上述M个第二消息标识中的任一个;更新后的第四消息标识指示的未读消息的数量少于更新前的第四消息标识指示的未读消息的数量。Optionally, the display module 607 is configured to, in the case of receiving the first indication information sent by the second message sharing device, cancel the display of the fourth message identifier indicated by the first indication information, or update the fourth message identifier Identification content; wherein, the fourth message identification is any one of the above-mentioned M second message identifications; the number of unread messages indicated by the updated fourth message identification is less than the number of unread messages indicated by the fourth message identification before the update The number of messages.
可选地,处理器110,用于生成第一映射关系,第一映射关系用于表征第一截图中的程序图标和消息标识与第一对象中的程序图标和消息标识之间的映射关系;以及生成第二映射关系,第二映射关系用于表征每个第一消息标识与每个第一消息标识指示的未读消息之间的映射关系;射频单元101,还用于向第二消息分享装置发送第二指示消息,第二指示消息包括第一映射关系和第二映射关系。Optionally, the
可选地,用户输入单元107,用于接收用户的第二输入;处理器110,用于响应于用户输入单元107接收到的第二输入,设置目标用户账户对应的查看权限,该目标用户账户为第二消息分享装置对应的账户;并根据该查看权限,生成用户权限查询数据;其中,该查看权限用于指示第二消息分享装置在查看权限为预设权限等级的情况下,通过第一截图获取与预设权限等级对应的未读消息。Optionally, the user input unit 107 is configured to receive a second input from the user; the
本申请实施例提供的电子设备,首先,电子设备可以截取第一对象的图像,得到第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数。然后,电子设备可以向第二消息分享装置发送上述第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。通过上述方案,在通过电子设备分享未读消息的情况下,相比于相关技术中需要用户将自己的电子设备 给其他用户从而可能造成用户隐私泄露的方案,本申请中的电子设备可以先截取包括N个第一程序图标和N个第一消息标识的图像,得到第一截图,再向第二消息分享装置发送该第一截图,以使第二消息分享装置通过该第一截图获取至少一个第一消息标识指示的未读消息。如此,无需用户将自己的电子设备给其他用户,从而可以避免用户的隐私泄露,提高了通过电子设备分享未读消息的安全性,还可以使得其他用户在自己的电子设备中,通过截图快速查看用户分享的未读消息。For the electronic device provided in the embodiment of the present application, firstly, the electronic device can intercept the image of the first object to obtain the first screenshot, the first screenshot includes N first program icons and N first message identifiers, and one first program icon Corresponding to a first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer. Then, the electronic device may send the first screenshot to the second message sharing apparatus, so that the second message sharing apparatus acquires at least one unread message indicated by the first message identifier through the first screenshot. Through the above solution, in the case of sharing unread messages through electronic devices, compared with the related technology that requires users to give their electronic devices to other users, which may cause user privacy leakage, the electronic device in this application can first intercept An image including N first program icons and N first message identifiers is obtained, and a first screenshot is obtained, and then the first screenshot is sent to the second message sharing device, so that the second message sharing device obtains at least one message through the first screenshot. The unread message indicated by the first message identifier. In this way, there is no need for users to give their electronic devices to other users, thereby avoiding the leakage of user privacy, improving the security of sharing unread messages through electronic devices, and allowing other users to quickly check through screenshots in their electronic devices Unread messages shared by users.
或者,or,
射频单元101,用于接收第一消息分享装置发送的第一截图;用户输入单元107,用于接收用户对射频单元101接收到的第一截图的第三输入;该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;显示单元106,用于响应于用户输入单元107接收到的第三输入,显示至少一个第一消息标识指示的未读消息。The radio frequency unit 101 is configured to receive the first screenshot sent by the first message sharing device; the user input unit 107 is configured to receive a third input from the user on the first screenshot received by the radio frequency unit 101; the first screenshot includes Nth A program icon and N first message identifiers, a first program icon corresponds to a first message identifier, each first message identifier is used to indicate at least one unread message, N is a positive integer; the
可选地,用户输入单元107,具体用于接收用户对上述N个第一消息标识中的目标消息标识的第三输入;显示单元106,具体用于响应于用户输入单元107接收到的第三输入,根据预先生成的第二映射关系,确定上述目标消息标识指示的目标未读消息,并显示该目标未读消息。Optionally, the user input unit 107 is specifically configured to receive a third input from the user on the target message identifier among the above N first message identifiers; the
可选地,显示单元106,具体用于在上述目标用户账户对应的查看权限为预设权限等级的情况下,显示目标未读消息;其中,该目标用户账户为第二消息分享装置对应的账户。Optionally, the
可选地,处理器110,用于获取第三输入的输入位置;并在该输入位置位于第五消息标识上的情况下,将第五消息标识确定为目标消息标识;以及在该输入位置位于第一图标上的情况下,将第一图标对应的至少一个消息标识确定为目标消息标识。Optionally, the
可选地,射频单元101,用于响应于用户输入单元107接收到的第三输入,向第一消息分享装置发送第一指示信息;其中,该第一指示信息用于指示第一消息分享装置取消第四消息标识的显示或更新第四消息标识的标识内容,更新后的第四消息标识指示的未读消息的数量少于更新前的第四消息标识指示的未读消息的数量。Optionally, the radio frequency unit 101 is configured to send first indication information to the first message sharing device in response to the third input received by the user input unit 107; wherein the first indication information is used to indicate that the first message sharing device Canceling the display of the fourth message identifier or updating the identifier content of the fourth message identifier, the number of unread messages indicated by the updated fourth message identifier is less than the number of unread messages indicated by the fourth message identifier before the update.
本申请实施例提供的电子设备,电子设备可以先接收第一消息分享装置发送的第一截图,该第一截图包括N个第一程序图标和N个第一消息标识,一个第一程序图标对应一个第一消息标识,每个第一消息标识用于指示至少一条未读消息,N为正整数;然后,电子设备以在接收到用户对上述第一截图的第三输入之后,显示至少一个第一消息标识指示的未读消息。通过上述方案,电子设备在接收到第一消息分享装置分享的第一截图并在接收到用户对第一截图的输入之后,可以直接显示与第一截图中的至少一个第一消息标识指示的未读消息,从而方便用户快速查看未读消息。如此,通过分享截图的方式,即可实现未读消息的快速分享阅读,不仅使得整个未读消息分享过程操作简便,效率高,而且避免了用户将自己的电子设备给其他用户而造成隐私泄露,使得电子设备分享未读消息的安全性得到了极大提升。In the electronic device provided by the embodiment of the present application, the electronic device may first receive the first screenshot sent by the first message sharing device, the first screenshot includes N first program icons and N first message identifiers, and one first program icon corresponds to A first message identifier, each first message identifier is used to indicate at least one unread message, and N is a positive integer; then, the electronic device displays at least one first message after receiving the third input from the user on the above first screenshot. A message identifier indicating an unread message. Through the above solution, after receiving the first screenshot shared by the first message sharing device and receiving the user's input on the first screenshot, the electronic device can directly display the unidentified information indicated by at least one first message identifier in the first screenshot. Read messages, so that users can quickly view unread messages. In this way, by sharing screenshots, unread messages can be quickly shared and read, which not only makes the entire unread message sharing process easy and efficient, but also avoids privacy leakage caused by users giving their electronic devices to other users. The security of electronic devices sharing unread messages has been greatly improved.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。It should be understood that, in the embodiment of the present application, the
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令, 该程序或指令被处理器执行时实现上述消息分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium. The readable storage medium stores programs or instructions. When the program or instructions are executed by the processor, the various processes of the above message sharing method embodiments can be achieved, and the same To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述消息分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above message sharing method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.
Claims (21)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111017125.1 | 2021-08-31 | ||
| CN202111017125.1A CN114157753B (en) | 2021-08-31 | 2021-08-31 | Message sharing method and device and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023030309A1 true WO2023030309A1 (en) | 2023-03-09 |
Family
ID=80461789
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/115809 Ceased WO2023030309A1 (en) | 2021-08-31 | 2022-08-30 | Message sharing method and apparatus and electronic device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114157753B (en) |
| WO (1) | WO2023030309A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114157753B (en) * | 2021-08-31 | 2024-06-21 | 维沃移动通信(杭州)有限公司 | Message sharing method and device and electronic equipment |
| CN118802822A (en) * | 2024-03-27 | 2024-10-18 | 中国移动通信集团终端有限公司 | Message identification method, device, terminal equipment and computer program product |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104022938A (en) * | 2013-02-28 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Message synchronization method, system, server and client end |
| CN104683559A (en) * | 2013-12-03 | 2015-06-03 | 昆山研达电脑科技有限公司 | Electronic device auxiliary mobile phone reminding system and method thereof |
| CN106851380A (en) * | 2017-02-07 | 2017-06-13 | 上海与德信息技术有限公司 | A kind of information processing method and device based on intelligent television |
| US20210126880A1 (en) * | 2019-10-23 | 2021-04-29 | Sap Se | Contextual sharing for screen share |
| CN112835859A (en) * | 2021-01-22 | 2021-05-25 | 维沃移动通信有限公司 | Information sharing method, device and electronic device |
| CN114157753A (en) * | 2021-08-31 | 2022-03-08 | 维沃移动通信(杭州)有限公司 | Message sharing method and device and electronic equipment |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101888608A (en) * | 2010-07-20 | 2010-11-17 | 中兴通讯股份有限公司 | Remote control method, device and system |
| CN104469064B (en) * | 2014-11-25 | 2018-09-07 | 宇龙计算机通信科技(深圳)有限公司 | The transmission method and system of screenshotss content, display methods and system and terminal |
| CN104657211A (en) * | 2015-02-03 | 2015-05-27 | 百度在线网络技术(北京)有限公司 | Method and equipment used for operating target application on corresponding equipment |
| CN105302442A (en) * | 2015-10-30 | 2016-02-03 | 深圳市艾酷通信软件有限公司 | Image information processing method and terminal |
| CN107783807B (en) * | 2016-08-29 | 2022-05-27 | 中兴通讯股份有限公司 | Screen capture method and device |
| CN107798075A (en) * | 2017-09-29 | 2018-03-13 | 维沃移动通信有限公司 | A kind of screenshotss method and mobile terminal |
| CN109992125B (en) * | 2019-03-29 | 2022-11-15 | 京东方科技集团股份有限公司 | Information input method, device and system |
| CN111443967B (en) * | 2020-03-23 | 2021-11-16 | 联想(北京)有限公司 | Image processing method and device |
-
2021
- 2021-08-31 CN CN202111017125.1A patent/CN114157753B/en active Active
-
2022
- 2022-08-30 WO PCT/CN2022/115809 patent/WO2023030309A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104022938A (en) * | 2013-02-28 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Message synchronization method, system, server and client end |
| CN104683559A (en) * | 2013-12-03 | 2015-06-03 | 昆山研达电脑科技有限公司 | Electronic device auxiliary mobile phone reminding system and method thereof |
| CN106851380A (en) * | 2017-02-07 | 2017-06-13 | 上海与德信息技术有限公司 | A kind of information processing method and device based on intelligent television |
| US20210126880A1 (en) * | 2019-10-23 | 2021-04-29 | Sap Se | Contextual sharing for screen share |
| CN112835859A (en) * | 2021-01-22 | 2021-05-25 | 维沃移动通信有限公司 | Information sharing method, device and electronic device |
| CN114157753A (en) * | 2021-08-31 | 2022-03-08 | 维沃移动通信(杭州)有限公司 | Message sharing method and device and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114157753A (en) | 2022-03-08 |
| CN114157753B (en) | 2024-06-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3087530B1 (en) | Displaying private information on personal devices | |
| US11775244B2 (en) | Data processing method and electronic terminal | |
| US20170075737A1 (en) | Method of displaying notifications and electronic device adapted thereto | |
| RU2676872C2 (en) | Granting permission to object when adding people to chat | |
| EP3567887B1 (en) | Communication method and device | |
| AU2017219385A1 (en) | Electronic device and method of application data display therefor | |
| KR20210003224A (en) | Direct input from remote device | |
| US20160057090A1 (en) | Displaying private information on personal devices | |
| WO2022161431A1 (en) | Display method, apparatus, and electronic device | |
| CN107038358B (en) | Self-starting processing method and device and mobile terminal | |
| WO2022063165A1 (en) | Function execution method and apparatus | |
| CN111026299A (en) | Information sharing method and electronic equipment | |
| WO2016045226A1 (en) | Information processing method and apparatus | |
| WO2018214748A1 (en) | Method and apparatus for displaying application interface, terminal and storage medium | |
| WO2022247864A1 (en) | Message reminding method and apparatus, and electronic device | |
| WO2023030309A1 (en) | Message sharing method and apparatus and electronic device | |
| CN113794795B (en) | Information sharing method and device, electronic equipment and readable storage medium | |
| WO2018095216A1 (en) | Relationship chain processing method, terminal and storage medium | |
| CN108833684A (en) | A kind of information cuing method and terminal device | |
| CN112286615A (en) | Information display method and device of application program | |
| WO2023040845A1 (en) | Message transmission method and apparatus, and electronic device | |
| WO2023030129A1 (en) | Message display method, apparatus and electronic device | |
| CN111723163A (en) | Information processing method, device and system | |
| EP4351117A1 (en) | Information display method and apparatus, and electronic device | |
| CN113824841B (en) | Notification message processing method and device, electronic equipment and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22863444 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22863444 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22863444 Country of ref document: EP Kind code of ref document: A1 |