Screenshot image sharing method and device
By displaying recommended areas and operation controls in the screenshot image sharing area, objects associated with the screenshot image can be directly shared, which solves the problem of cumbersome screenshot sharing operations and improves user experience and efficiency.
Patent Information
- Application Number
- CN202211052974.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-08-30
AI Technical Summary
The screenshot image sharing method requires the user to perform multiple operations, which makes the operation cumbersome and affects the user experience.
Obtain the screenshot image by responding to the screenshot command, determine the object associated with the screenshot image, and display the recommended area in the screenshot image sharing area, including the operation controls of the object. The user can directly trigger the operation controls in the recommended area to share the screenshot image with the object. .
It simplifies the sharing operation, improves the user experience, reduces the steps for the user to select the object associated with the screenshot image, and improves the efficiency of sharing.
Smart Images

Figure CN115268756B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more particularly to a screenshot image sharing method and device. Background Art
[0002] Users often save the displayed screen as a screenshot image by taking screenshots, and share the screenshot image with others. However, currently, the method of sharing the screenshot image requires the user to perform multiple operations to complete the sharing, which is cumbersome and affects the user's experience. Summary of the invention
[0003] This application provides the following technical solutions:
[0004] On one hand, the present application provides a screenshot image sharing method, comprising:
[0005] In response to the screenshot instruction, obtaining a screenshot image;
[0006] Based on the screenshot image, determining an object associated with the screenshot image;
[0007] Displaying a recommendation area in the screenshot image sharing area, wherein the recommendation area at least includes an operation control of the object;
[0008] In response to a trigger instruction of an operation control of the object, a sharing operation is performed to share the screenshot image with the object.
[0009] The objects associated with the screenshot image include:
[0010] The application associated with the screenshot image.
[0011] The object associated with the screenshot image includes: a target contact user and / or a target contact user group in the application associated with the screenshot image.
[0012] The determining, based on the screenshot image, an object associated with the screenshot image comprises:
[0013] Acquire at least one historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to a sharing behavior corresponding to the historical screenshot image, and a type of the sharing behavior;
[0014] Determine, from the at least one historical screenshot image, a historical screenshot image to be used whose similarity with the screenshot image satisfies a similarity condition;
[0015] Based on the identifier of the sharing application corresponding to the historical screenshot image to be used, parameters related to the sharing behavior corresponding to the historical screenshot image to be used, and the type of the sharing behavior, a target contact user and / or a target contact user group in the application associated with the screenshot image is determined.
[0016] Get at least one historical screenshot image, including:
[0017] Obtaining a feature value of at least one historical screenshot image;
[0018] Determining, from the at least one historical screenshot image, a historical screenshot image to be used whose similarity with the screenshot image satisfies a similarity condition, comprises:
[0019] Determining a characteristic value of the screenshot image;
[0020] Determining a similarity between a feature value of the screenshot image and a feature value of the historical screenshot image;
[0021] If the similarity satisfies a similarity condition, the historical screenshot image is determined to be the historical screenshot image to be used.
[0022] Before obtaining the screenshot image in response to the screenshot instruction, the method further includes:
[0023] If a sharing operation is performed at a time before the current time, the sharing operation is recorded, and a historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and the type of the sharing behavior are obtained;
[0024] The historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and the type of the sharing behavior are stored.
[0025] The storing of the historical screenshot images comprises:
[0026] The feature values of the historical screenshot images are stored.
[0027] Display recommended areas in the screenshot image sharing area, including:
[0028] In response to the first trigger event, a recommendation area is displayed in the screenshot image sharing area.
[0029] Display recommended areas in the screenshot image sharing area, including:
[0030] Automatically display the recommended area in the screenshot image sharing area.
[0031] Another aspect of the present application provides a screenshot image sharing device, comprising:
[0032] An acquisition module, used for obtaining a screenshot image in response to a screenshot instruction;
[0033] A determination module, configured to determine an object associated with the screenshot image based on the screenshot image;
[0034] A display module, configured to display a recommendation area in the screenshot image sharing area, wherein the recommendation area at least includes an operation control of the object;
[0035] An execution module is used to execute a sharing operation in response to a trigger instruction of an operation control of the object, so as to share the screenshot image with the object.
[0036] In the present application, a screenshot image is obtained in response to a screenshot instruction, and based on the screenshot image, an object associated with the screenshot image is determined, and a recommendation area is displayed in the screenshot image sharing area. The recommendation area at least includes operation controls for the object, so that the user can directly trigger the operation controls of the object associated with the screenshot image in the recommendation area and share the screenshot image with the object. The user does not need to perform multiple operations to select the object associated with the screenshot image, which simplifies the sharing operation and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0038] Figure 1 This is a flowchart of a screenshot image sharing method embodiment 1 provided by the present application;
[0039] Figure 2 This is a schematic diagram of an implementation scenario of a screenshot image sharing method provided by the present application;
[0040] Figure 3 This is another implementation scenario schematic diagram of a screenshot image sharing method provided by the present application;
[0041] Figure 4 This is a flowchart of a screenshot image sharing method embodiment 2 provided by the present application;
[0042] Figure 5 This is a flowchart of Embodiment 3 of a screenshot image sharing method provided by the present application;
[0043] Figure 6It is a flowchart of a screenshot image sharing method embodiment 4 provided by the present application;
[0044] Figure 7 It is a structural schematic diagram of a screenshot image sharing device provided by the present application;
[0045] Figure 8 It is a structural schematic diagram of an electronic device provided by this application. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0047] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0048] Reference Figure 1 , is a flowchart of a screenshot image sharing method provided in Example 1 of the present application. The method can be applied to electronic devices. The present application does not limit the product type of the electronic device, such as Figure 1 As shown, the method may include but is not limited to the following steps:
[0049] Step S101: In response to a screenshot instruction, obtain a screenshot image.
[0050] In this embodiment, the screenshot instruction is used to instruct to perform a screenshot operation on the target display screen. The screenshot instruction can be generated by touch, voice or gesture operation, and this application does not limit this.
[0051] In this application, there is no restriction on the target display screen. For example, the target display screen can be a display screen presented in the application that the user wants to share, such as a display screen containing a health code in the WeChat application, or a display screen containing travel information in the WeChat application, or a display screen corresponding to the website page content in the browser application. The target display screen can also be a display screen corresponding to the display desktop that the user responds to share.
[0052] In this embodiment, in response to the screenshot instruction, the screenshot image obtained at least includes image information of the target display screen.
[0053] Step S102: Based on the screenshot image, determine the object associated with the screenshot image.
[0054] In this embodiment, the object associated with the screenshot image may include but is not limited to: an application associated with the screenshot image. The application associated with the screenshot image may include but is not limited to: a social application (such as WeChat application) and / or a cloud storage service application.
[0055] It is understandable that there may be one or more applications associated with the screenshot image.
[0056] Of course, the object associated with the screenshot image may also include but is not limited to: a target contact user or a target contact user group in the application associated with the screenshot image.
[0057] The presentation method of a target contact user group in the application associated with the screenshot image is not limited in this application. For example, if the application associated with the screenshot image is the WeChat application, the target contact user group can be a group chat group in the WeChat application or a circle of friends in the WeChat application.
[0058] It should be noted that, when the object associated with the screenshot image is a target contact user or a target contact user group in the application associated with the screenshot image, the operation controls of the application associated with the screenshot image may be included in the screenshot image sharing area excluding the recommended area. For example, if a target contact user in the application associated with the screenshot image is a class teacher of DingTalk, the operation controls of the class teacher in the DingTalk application are included in the recommended area, and the area excluding the recommended area in the screenshot image sharing area may include the operation controls of the DingTalk application.
[0059] Step S103: displaying a recommended area in the screenshot image sharing area, where the recommended area at least includes an operation control of the object.
[0060] The recommended area displayed in the screenshot image sharing area may include but is not limited to:
[0061] S1031. In response to a first trigger event, display a recommendation area in the screenshot image sharing area.
[0062] Specifically, the first trigger event may be generated by, but is not limited to, triggering the screenshot image sharing area.
[0063] The recommended area displayed in the screenshot image sharing area may also include but is not limited to:
[0064] S1032. Automatically display the recommended area in the screenshot image sharing area.
[0065] In this embodiment, a sharing operation can be performed by operating the operation control of the object to share the screenshot image with the object.
[0066] In the case that there are multiple objects associated with the screenshot image, the recommendation area may at least include operation controls of the multiple objects.
[0067] Step S104: In response to a trigger instruction of the operation control of the object, a sharing operation is performed to share the screenshot image with the object.
[0068] When there are multiple objects associated with the screenshot image, the user can trigger the operation controls of multiple objects in the recommendation area at the same time. Accordingly, the electronic device can perform a sharing operation in response to the triggering instructions of the operation controls of the multiple objects to share the screenshot image to the multiple objects.
[0069] In this embodiment, the trigger instruction is used to instruct to perform a sharing operation to share the screenshot image with the object. In this application, the trigger instruction for operating the object's control can be generated by, but not limited to, touch, voice or gesture operation.
[0070] In this embodiment, by responding to the screenshot instruction, a screenshot image is obtained, based on the screenshot image, the object associated with the screenshot image is determined, and a recommendation area is displayed in the screenshot image sharing area. The recommendation area at least contains the operation controls of the object, so that the user can directly trigger the operation controls of the object associated with the screenshot image in the recommendation area and share the screenshot image with the object. The user does not need to perform multiple operations to select the object associated with the screenshot image, which simplifies the sharing operation and improves the user experience. For example, if the screenshot image is a screenshot image containing a health code or travel information, the application associated with the screenshot image determined based on the screenshot image is the WeChat application, such as Figure 2 As shown, a recommendation area is displayed in the screenshot image sharing area. The recommendation area includes operation controls of the WeChat application, which distinguishes the display of the WeChat application from other applications (such as DingTalk application, Weibo application, printer application, etc.). Users do not need to search for the WeChat application from many applications. Users can directly trigger the operation controls of the WeChat application in the recommendation area, which simplifies the sharing operation.
[0071] For another example, if the screenshot image is a screenshot image containing a health code or travel information, a target contact user in the application associated with the screenshot image determined based on the screenshot image is the class teacher in the DingTalk application and Xiao Ming in the WeChat application, and a target contact user group in the application associated with the screenshot image determined is the circle of friends in the WeChat application, such as Figure 3As shown, a recommendation area is displayed in the screenshot image sharing area, and the recommendation area includes the operation controls of the class teacher of DingTalk. The user can directly trigger the operation controls of the class teacher of DingTalk in the recommendation area to share the screenshot image with the class teacher. There is no need to find the DingTalk application in the sliding application list, click the DingTalk icon, and then slide the user list in DingTalk to find the class teacher, and then click the class teacher and other operations, which simplifies the sharing operation.
[0072] As another optional embodiment of the present application, refer to Figure 4 , is a flow chart of a screenshot image sharing method embodiment 2 provided by the present application. This embodiment is mainly a refinement of the screenshot image sharing method described in the above embodiment 1. The method may include but is not limited to the following steps:
[0073] Step S201: In response to a screenshot instruction, obtain a screenshot image.
[0074] The detailed process of step S201 can refer to the relevant introduction of step S101 in embodiment 1, which will not be repeated here.
[0075] Step S202: Obtain at least one historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and a type of the sharing behavior.
[0076] Based on the identifier of the sharing application corresponding to the historical screenshot image, the application that receives the shared historical screenshot image can be determined.
[0077] Based on the parameters related to the sharing behavior corresponding to the historical screenshot image, the object to which the sharing behavior corresponding to the historical screenshot image in the sharing application acts may be determined. For example, if the sharing application corresponding to the historical screenshot image is the WeChat application, and the sharing behavior corresponding to the historical screenshot image is to share with a target contact user, the parameters related to the sharing behavior corresponding to the historical screenshot image may be the name of the target contact user.
[0078] The types of sharing behaviors may include but are not limited to: sharing to a contact user, or, sharing to a contact user group, or, sharing to a folder, such as, a favorites folder in the WeChat application.
[0079] Step S203: Determine, from at least one historical screenshot image, a historical screenshot image to be used whose similarity to the screenshot image satisfies a similarity condition.
[0080] This step may include but is not limited to:
[0081] S2031. Determine, from at least one historical screenshot image, a historical screenshot image to be used whose similarity to the screenshot image is greater than a similarity threshold.
[0082] This step may also include but is not limited to:
[0083] S2032, determining the similarity between each historical screenshot image and the screenshot image in at least one historical screenshot image;
[0084] S2033, sorting the similarities between each historical screenshot image and the screenshot image in order from high to low to obtain a sorting result, and based on the sorting result, determining the top n historical screenshot images from at least one historical screenshot image as the historical screenshot images to be used, wherein n can be set as needed and is not limited in the present application.
[0085] Step S204: determine a target contact user and / or a target contact user group in the application associated with the screenshot image based on the identifier of the sharing application corresponding to the historical screenshot image to be used, parameters related to the sharing behavior corresponding to the historical screenshot image to be used, and the type of sharing behavior.
[0086] This step may include but is not limited to:
[0087] S2041: Based on the identifier of the shared application corresponding to the historical screenshot image to be used, an application associated with the screenshot image may be determined;
[0088] S2042: If the type of sharing behavior corresponding to the historical screenshot image to be used is sharing with a contact user, determine a target contact user in an application associated with the screenshot image based on parameters related to the sharing behavior corresponding to the historical screenshot image to be used.
[0089] For example, if the application associated with the screenshot image is the WeChat application, the type of sharing behavior is sharing with a contact user, and the parameter related to the sharing behavior corresponding to the historical screenshot image to be used is the name of the contact user, the name of the contact user is Xiao Ming, and the object associated with the screenshot image is determined to be Xiao Ming in the WeChat application.
[0090] S2043: If the type of sharing behavior corresponding to the historical screenshot image to be used is sharing with a contact user group, determine a target contact user group in the application associated with the screenshot image based on parameters related to the sharing behavior corresponding to the historical screenshot image to be used.
[0091] If the application associated with the screenshot image is the WeChat application, the type of sharing behavior is sharing with a contact user group, the parameter related to the sharing behavior corresponding to the historical screenshot image to be used is the name of the contact user group, the name of the contact user group is Moments, and the object associated with the screenshot image is determined to be the Moments in the WeChat application.
[0092] S2043: If the type of sharing behavior corresponding to the historical screenshot image to be used is sharing with a contact user and a contact user group, based on parameters related to the sharing behavior corresponding to the historical screenshot image to be used, determine a target contact user and a target contact user group in the application associated with the screenshot image.
[0093] For example, if the application associated with the screenshot image is the WeChat application, the type of sharing behavior is sharing with a contact user and a contact user group, based on the parameters related to the sharing behavior corresponding to the historical screenshot image to be used, which are the names of the contact user and the contact user group, the name of the contact user is Xiao Ming, and the name of the contact user group is Moments, it is determined that the objects associated with the screenshot image are Xiao Ming and Moments in the WeChat application.
[0094] Steps S202-S204 are a specific implementation of step S102 in Example 1.
[0095] Step S205: displaying a recommendation area in the screenshot image sharing area, wherein the recommendation area at least includes operation controls of the target contact user and / or the target contact user group.
[0096] Step S206: in response to a trigger instruction of an operation control of the target contact user and / or the target contact user group, executing a sharing operation to share the screenshot image with the target contact user and / or the target contact user group.
[0097] Steps S205 and S206 are respectively a specific implementation of steps S103 and S104 in Example 1.
[0098] In this embodiment, a screenshot image is obtained in response to a screenshot instruction, a historical screenshot image to be used whose similarity with the screenshot image meets a similarity condition is determined from at least one historical screenshot image, and a target contact user and / or a target contact user group in the application associated with the screenshot image is determined based on the identifier of the sharing application corresponding to the historical screenshot image to be used, parameters related to the sharing behavior corresponding to the historical screenshot image to be used, and the type of sharing behavior, and a recommendation area is displayed in the screenshot image sharing area, the recommendation area at least including operation controls of the target contact user and / or the target contact user group, so that the user can directly trigger the operation controls of the target contact user and / or the target contact user group in the recommendation area, and share the screenshot image with the target contact user and / or the target contact user group, without the user having to perform multiple operations to select the target contact user and / or the target contact user group, thereby simplifying the sharing operation and improving the user experience.
[0099] As another optional embodiment of the present application, refer to Figure 5, is a flow chart of a screenshot image sharing method embodiment 3 provided by the present application. This embodiment is mainly a refinement of the screenshot image sharing method described in the above embodiment 2. The method may include but is not limited to the following steps:
[0100] Step S301: In response to a screenshot instruction, obtain a screenshot image.
[0101] The detailed process of step S301 can refer to the relevant introduction of step S201 in embodiment 2, which will not be repeated here.
[0102] Step S302: Obtain a feature value of at least one historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and a type of the sharing behavior.
[0103] In this embodiment, the feature value of the historical screenshot image can represent the historical screenshot image. The feature value of the historical screenshot image can include but is not limited to: a hash value of the historical screenshot image.
[0104] Step S302 is a specific implementation of step S202 in Example 2.
[0105] Step S303: Determine the feature value of the screenshot image.
[0106] In an implementation manner where the feature value of the historical screenshot image is a hash value of the historical screenshot image, this step may include but is not limited to:
[0107] Based on the hash algorithm, determine the hash value of the screenshot image.
[0108] Step S304: Determine the similarity between the feature value of the screenshot image and the feature value of the historical screenshot image.
[0109] This step may include but is not limited to:
[0110] S3041. Calculate the similarity between the hash value of the screenshot image and the hash value of the historical screenshot image.
[0111] S3041 may include but is not limited to:
[0112] Calculate the Hamming distance between the hash value of the screenshot image and the hash value of the historical screenshot images.
[0113] Among them, the smaller the Hamming distance, the more similar the screenshot image is to the historical screenshot image.
[0114] Step S305: If the similarity meets the similarity condition, determine the historical screenshot image as the historical screenshot image to be used.
[0115] The similarity meeting the similarity condition may include but is not limited to: the Hamming distance meeting a set distance threshold.
[0116] Steps S303-S305 are a specific implementation of step S203 in Example 2.
[0117] Step S306: Determine a target contact user and / or a target contact user group in the application associated with the screenshot image based on the identifier of the sharing application corresponding to the historical screenshot image to be used, parameters related to the sharing behavior corresponding to the historical screenshot image to be used, and the type of sharing behavior.
[0118] Step S307: displaying a recommendation area in the screenshot image sharing area, wherein the recommendation area at least includes operation controls of the target contact user and / or the target contact user group.
[0119] Step S308: In response to a trigger instruction of an operation control of the target contact user and / or the target contact user group, a sharing operation is performed to share the screenshot image with the target contact user and / or the target contact user group.
[0120] The detailed process of steps S307-S308 can refer to the relevant introduction of steps S205-S206 in Example 2, which will not be repeated here.
[0121] In this embodiment, by responding to a screenshot instruction, a screenshot image is obtained, a feature value of the screenshot image is determined, and the similarity between the feature value of the screenshot image and the feature value of the historical screenshot image is determined. If the similarity meets the similarity condition, the historical screenshot image is determined to be the historical screenshot image to be used. Based on the identifier of the sharing application corresponding to the historical screenshot image to be used, the parameters related to the sharing behavior corresponding to the historical screenshot image to be used, and the type of sharing behavior, a target contact user and / or a target contact user group in the application associated with the screenshot image is determined, and a recommendation area is displayed in the screenshot image sharing area. The recommendation area at least includes operation controls of the target contact user and / or the target contact user group, so that the user can directly trigger the operation controls of the target contact user and / or the target contact user group in the recommendation area, and share the screenshot image with the target contact user and / or the target contact user group. The user does not need to perform multiple operations to select the target contact user and / or the target contact user group, thereby simplifying the sharing operation and improving the user experience.
[0122] In addition, by determining the characteristic value of the screenshot image, determining the similarity between the characteristic value of the screenshot image and the characteristic value of the historical screenshot image, if the similarity meets the similarity condition, determining the historical screenshot image as the historical screenshot image to be used, the amount of calculation can be reduced and the overall efficiency of screenshot image sharing can be improved.
[0123] As another optional embodiment of the present application, refer to Figure 6 , is a flowchart of a screenshot image sharing method embodiment 4 provided by the present application. This embodiment is mainly an extension of the screenshot image sharing method described in the above embodiment 5. The method may include but is not limited to the following steps:
[0124] Step S401: If a sharing operation is performed at a time before the current time, the sharing operation is recorded, and a historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and a type of sharing behavior are obtained.
[0125] If a sharing operation is performed at a time before the current time, the sharing operation is recorded, so that every sharing operation performed before the current time is recorded.
[0126] Step S402: store the historical screenshot images, the identifier of the sharing application corresponding to the historical screenshot images, the parameters related to the sharing behavior corresponding to the historical screenshot images, and the type of sharing behavior.
[0127] In this embodiment, it is possible but not limited to: storing historical screenshot images, identifiers of sharing applications corresponding to the historical screenshot images, parameters related to the sharing behaviors corresponding to the historical screenshot images, and the types of sharing behaviors in the local storage of the electronic device and / or in a cloud storage server.
[0128] In this embodiment, storing the historical screenshot images may include but is not limited to: storing feature values of the historical screenshot images.
[0129] Storing the feature values of historical screenshot images can save storage space compared to storing historical screenshot images.
[0130] Step S403: In response to the screenshot instruction, obtain a screenshot image.
[0131] Step S404: obtaining at least one historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and a type of the sharing behavior.
[0132] In this embodiment, at least one historical screenshot image, the identifier of the sharing application corresponding to the historical screenshot image, the parameters related to the sharing behavior corresponding to the historical screenshot image, and the type of sharing behavior are obtained from the stored historical screenshot images, the identifier of the sharing application corresponding to the historical screenshot image, the parameters related to the sharing behavior corresponding to the historical screenshot image, and the type of sharing behavior.
[0133] Step S405: Determine, from at least one historical screenshot image, a historical screenshot image to be used whose similarity to the screenshot image satisfies a similarity condition.
[0134] Step S406: Determine a target contact user and / or a target contact user group in the application associated with the screenshot image based on the identifier of the sharing application corresponding to the historical screenshot image to be used, parameters related to the sharing behavior corresponding to the historical screenshot image to be used, and the type of sharing behavior.
[0135] Step S407: displaying a recommendation area in the screenshot image sharing area, wherein the recommendation area at least includes operation controls of the target contact user and / or the target contact user group.
[0136] Step S408: In response to a trigger instruction of an operation control of the target contact user and / or the target contact user group, a sharing operation is performed to share the screenshot image with the target contact user and / or the target contact user group.
[0137] The detailed process of steps S403-S408 can refer to the relevant introduction of steps S201-S206 in Example 2, which will not be repeated here. Of course, in this embodiment, the specific implementation of steps S404 and S405 can refer to the relevant introduction of the specific implementation of the corresponding steps S202 and S203 in Example 3, which will not be repeated here.
[0138] In this embodiment, by performing a sharing operation at a moment before the current moment, recording the sharing operation, obtaining a historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and the type of sharing behavior, and storing the above content, it is possible to store the historical screenshot image corresponding to each sharing operation performed before the current moment, the identifier of the sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and the type of sharing behavior.
[0139] On the basis of storing the above content, a screenshot image is obtained by responding to a screenshot instruction, a historical screenshot image to be used whose similarity with the screenshot image meets a similarity condition is determined from at least one historical screenshot image, and based on the identifier of the sharing application corresponding to the historical screenshot image to be used, parameters related to the sharing behavior corresponding to the historical screenshot image to be used, and the type of sharing behavior, a target contact user and / or a target contact user group in the application associated with the screenshot image is determined, and a recommendation area is displayed in the screenshot image sharing area, the recommendation area at least including operation controls of the target contact user and / or the target contact user group, so that the user can directly trigger the operation controls of the target contact user and / or the target contact user group in the recommendation area, and share the screenshot image with the target contact user and / or the target contact user group, without the user having to perform multiple operations to select the target contact user and / or the target contact user group, thereby simplifying the sharing operation and improving the user experience.
[0140] Next, a screenshot image sharing device provided by the present application is introduced. The screenshot image sharing device introduced below and the screenshot image sharing method introduced above can refer to each other.
[0141] See also Figure 7 The screenshot image sharing device includes: an obtaining module 100, a determining module 200, a display module 300 and an executing module 400.
[0142] The obtaining module 100 is used to obtain a screenshot image in response to a screenshot instruction.
[0143] The determination module 200 is used to determine the object associated with the screenshot image based on the screenshot image.
[0144] In this embodiment, the objects associated with the screenshot image may include:
[0145] The application associated with the screenshot image;
[0146] or,
[0147] A target contact user and / or a target contact user group in the application associated with the screenshot image.
[0148] The display module 300 is used to display a recommendation area in the screenshot image sharing area, where the recommendation area at least includes an operation control of the object.
[0149] The execution module 400 is used to execute a sharing operation in response to a trigger instruction of an operation control of an object, so as to share the screenshot image with the object.
[0150] In this embodiment, the determination module 200 may be specifically used for:
[0151] Acquire at least one historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to a sharing behavior corresponding to the historical screenshot image, and a type of the sharing behavior;
[0152] Determine, from at least one historical screenshot image, a historical screenshot image to be used whose similarity with the screenshot image satisfies a similarity condition;
[0153] Based on the identifier of the sharing application corresponding to the historical screenshot image to be used, parameters related to the sharing behavior corresponding to the historical screenshot image to be used, and the type of sharing behavior, a target contact user and / or a target contact user group in the application associated with the screenshot image is determined.
[0154] In this embodiment, the process of determining module 200 acquiring at least one historical screenshot image may specifically include:
[0155] Obtaining a feature value of at least one historical screenshot image;
[0156] Accordingly, the process of determining the historical screenshot image to be used whose similarity with the screenshot image satisfies the similarity condition from at least one historical screenshot image by the determination module 200 may specifically include:
[0157] Determine feature values of the screenshot image;
[0158] Determining similarities between feature values of the screenshot image and feature values of historical screenshot images;
[0159] If the similarity satisfies the similarity condition, the historical screenshot image is determined to be the historical screenshot image to be used.
[0160] In this embodiment, the screenshot image sharing device may further include:
[0161] A recording module, for recording the sharing operation if it is performed at a time before the current time, obtaining a historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and a type of the sharing behavior;
[0162] The storage module is used to store historical screenshot images, identifiers of sharing applications corresponding to the historical screenshot images, parameters related to sharing behaviors corresponding to the historical screenshot images, and types of sharing behaviors.
[0163] In this embodiment, the process of storing the historical screenshot images by the storage module may specifically include:
[0164] The feature values of the historical screenshot images are stored.
[0165] In this embodiment, the display module 300 can be specifically used for:
[0166] In response to a first trigger event, displaying a recommendation area in the screenshot image sharing area;
[0167] or,
[0168] Automatically display the recommended area in the screenshot image sharing area.
[0169] Corresponding to the above-mentioned screenshot image sharing method embodiment provided by the present application, the present application also provides an electronic device embodiment applying the screenshot image sharing method.
[0170] like Figure 8 The figure is a schematic diagram of the structure of an electronic device provided by the present application, and the electronic device may include the following structure:
[0171] The memory 10 and the processor 20 .
[0172] A memory 10, used to store at least one set of instruction sets;
[0173] The processor 20 is used to call and execute the instruction set in the memory 10, and execute the screenshot image sharing method introduced in any one of the above method embodiments 1-4 by executing the instruction set.
[0174] Corresponding to the above-mentioned screenshot image sharing method embodiment provided by the present application, the present application also provides an embodiment of a storage medium.
[0175] In this embodiment, the storage medium stores a computer program for implementing the screenshot image sharing method as described in one of the method embodiments 1-4. The computer program is executed by the processor to implement the screenshot image sharing method as described in any one of the embodiments 1-4.
[0176] It should be noted that each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0177] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0178] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0179] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0180] The above is a detailed introduction to a screenshot image sharing method and device provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for sharing screenshot images, include: In response to the screenshot instruction, obtaining a screenshot image; Based on the screenshot image, determining an object associated with the screenshot image; Displaying a recommendation area in the screenshot image sharing area, wherein the recommendation area at least includes an operation control of the object; In response to a trigger instruction of an operation control of the object, performing a sharing operation to share the screenshot image with the object; In the case where the object associated with the screenshot includes a target contact user and / or a target contact user group in the application associated with the screenshot; The operation controls of the application associated with the screenshot image are included in an area other than the recommendation area in the screenshot image sharing area.
2. The method according to claim 1, wherein the object associated with the screenshot image further comprises: include: The application associated with the screenshot image.
3. The method according to claim 1, wherein the object associated with the screenshot image is determined based on the screenshot image. include: Acquire at least one historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to a sharing behavior corresponding to the historical screenshot image, and a type of the sharing behavior; Determine, from the at least one historical screenshot image, a historical screenshot image to be used whose similarity with the screenshot image satisfies a similarity condition; Based on the identifier of the sharing application corresponding to the historical screenshot image to be used, parameters related to the sharing behavior corresponding to the historical screenshot image to be used, and the type of the sharing behavior, a target contact user and / or a target contact user group in the application associated with the screenshot image is determined.
4. The method according to claim 3, obtaining at least one historical screenshot image, include: Obtaining a feature value of at least one historical screenshot image; Determining, from the at least one historical screenshot image, a historical screenshot image to be used whose similarity with the screenshot image satisfies a similarity condition, comprises: Determining a characteristic value of the screenshot image; Determining a similarity between a feature value of the screenshot image and a feature value of the historical screenshot image; If the similarity satisfies a similarity condition, the historical screenshot image is determined to be the historical screenshot image to be used.
5. The method according to claim 3 or 4, wherein before obtaining the screenshot image in response to the screenshot instruction, include: If a sharing operation is performed at a time before the current time, the sharing operation is recorded, and a historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and the type of the sharing behavior are obtained; The historical screenshot image, an identifier of a sharing application corresponding to the historical screenshot image, parameters related to the sharing behavior corresponding to the historical screenshot image, and the type of the sharing behavior are stored.
6. The method according to claim 5, wherein storing the historical screenshot images, include: The feature values of the historical screenshot images are stored.
7. The method according to claim 1, displaying a recommendation area in the screenshot image sharing area, include: In response to the first trigger event, a recommendation area is displayed in the screenshot image sharing area.
8. The method according to claim 1, displaying a recommendation area in the screenshot image sharing area, include: Automatically display the recommended area in the screenshot image sharing area.
9. A screenshot image sharing device, include: An acquisition module, used for obtaining a screenshot image in response to a screenshot instruction; A determination module, configured to determine an object associated with the screenshot image based on the screenshot image; A display module, configured to display a recommendation area in the screenshot image sharing area, wherein the recommendation area at least includes an operation control of the object; an execution module, configured to execute a sharing operation in response to a trigger instruction of an operation control of the object, so as to share the screenshot image with the object; In the case where the object associated with the screenshot includes a target contact user and / or a target contact user group in the application associated with the screenshot; The operation controls of the application associated with the screenshot image are included in an area other than the recommendation area in the screenshot image sharing area.
Citation Information
Patent Citations
Path recommendation method for information sharing and mobile terminal
CN108616448A
Method and apparatus for storing and sending a computer location
US20180338227A1
