Sharing method and electronic equipment

By identifying faces and character albums on electronic devices to match to obtain associated accounts and display sharing paths, the convenience and rate of sharing instant videos are improved, the problem of low sharing rate of instant videos is solved, and the effect of emotional transmission and communication is improved .

CN119155504APending Publication Date: 2024-12-17HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310724148.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-16
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

The sharing rate of moment video is low, and the existing technology is difficult to effectively improve the convenience and rate of users sharing moment videos.

Method used

After playing the moment video on the screen of an electronic device, the sharing path of nearby devices is displayed, allowing users to obtain associated accounts by identifying faces and character albums, and display the sharing path according to device distance and brand relationship, improving sharing convenience.

Benefits of technology

By guiding users to share the moment video with people who have shared experiences in the moment video, the sharing rate and emotional transmission are improved, and the dissemination effect of the moment video is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155504A_ABST
    Figure CN119155504A_ABST
Patent Text Reader

Abstract

The invention provides a sharing method and electronic equipment. The method comprises the following steps: playing a first moment video on a screen of first electronic equipment, wherein the first electronic equipment corresponds to a first account; after the video playing at the first moment is finished, a first sharing path corresponding to the second electronic equipment is displayed on a playing finishing interface of the video at the first moment, and the first sharing path is used for indicating to send the video at the first moment to the second electronic equipment; wherein the distance between the second electronic equipment and the first electronic equipment is smaller than the first length, the second electronic equipment corresponds to a second account number, and the second account number is an associated account number of a portrait in a figure album of the first electronic equipment. Therefore, after the user browses the moment video, the moment video can be shared to people who have common experiences in the moment video, emotion transmission is achieved, and the sharing rate of the moment video is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal devices, and in particular to a sharing method and electronic device. Background Art

[0002] At present, electronic devices are generally provided with a camera application and a gallery application. Through the camera application, images or videos can be collected and stored in a gallery.

[0003] Among them, the gallery application further provides a variety of functions, such as Moments. The Moments function can use images stored in the gallery and / or images in the video to edit a video, called a Moment video. When a Moment video is clicked, the Moment video can be played.

[0004] Currently, the sharing rate of Moment videos is low. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a sharing method and an electronic device to improve the sharing rate of moment videos.

[0006] In the first aspect, the present application provides a sharing method, which is applied to a first electronic device, and the method includes: playing a first moment video on the screen of the first electronic device, and the first electronic device corresponds to a first account; after the first moment video is played, the first sharing path corresponding to the second electronic device is displayed on the playback end interface of the first moment video, and the first sharing path is used to indicate that the first moment video is sent to the second electronic device; wherein the distance between the second electronic device and the first electronic device is less than the first length, the second electronic device corresponds to a second account, and the second account is an associated account of a portrait in the person album of the first electronic device. In this way, after the user browses the moment video, he can share the moment video with people who have the same experience in the moment video, so as to achieve emotional transmission and increase the sharing rate of the moment video.

[0007] According to the first aspect, it also includes: receiving a first selection operation on the first sharing path; and sending the first moment video to the second electronic device in response to the first selection operation.

[0008] According to the first aspect, it also includes: a second sharing path corresponding to the third electronic device is also displayed on the playback end interface of the video at the first moment, and the second sharing path is used to indicate that the video at the first moment is sent to the third electronic device; wherein the distance between the third electronic device and the first electronic device is less than the first length, the third electronic device and the first electronic device belong to the same brand, and the second electronic device corresponds to a third account, and the third account is an associated account of the portrait in the person album of the first electronic device.

[0009] According to the first aspect, it also includes: receiving a second selection operation on a second sharing path; and sending the first moment video to a third electronic device in response to the second selection operation.

[0010] According to the first aspect, it also includes: displaying a sharing icon on the playback end interface of the video at the first moment; receiving a third selection operation on the sharing icon; in response to the third selection operation, displaying a first sharing prompt box on the playback end interface of the video at the first moment, the first sharing prompt box including a third sharing path corresponding to the fourth electronic device and / or a fourth sharing path corresponding to the first application; the third sharing path is used to indicate that the video at the first moment is sent to the fourth electronic device, and the fourth sharing path is used to indicate that the video at the first moment is sent to the first application or the first object in the first application, and the fourth electronic device and the first electronic device are of the same brand.

[0011] According to the first aspect, after the playback of the video at the first moment ends, before the first sharing path corresponding to the second electronic device is displayed on the playback end interface of the video at the first moment, it also includes: identifying the first face appearing in the video at the first moment; matching the first face with a portrait in a character album; if the first face matches the first portrait in the character album, obtaining a second account associated with the first portrait; determining whether the distance between the second electronic device corresponding to the second account and the first electronic device is less than the first length, and if so, executing the step of displaying the first sharing path corresponding to the second electronic device on the playback end interface of the video at the first moment after the playback of the video at the first moment ends.

[0012] According to the first aspect, before playing the first moment video on the screen of the first electronic device, it includes: associating a first portrait in a person album with a second account, the first portrait being a portrait corresponding to the face appearing in the first moment video.

[0013] According to the first aspect, after the playback of the video at the first moment ends, the first sharing path corresponding to the second electronic device is displayed on the playback end interface of the video at the first moment, including: after the playback of the video at the first moment ends, a sharing icon is displayed on the playback end interface of the video at the first moment; a fourth selection operation on the sharing icon is received; in response to the fourth selection operation, a second sharing prompt box is displayed on the playback end interface of the video at the first moment, and the second sharing prompt box includes the first sharing path corresponding to the second electronic device.

[0014] According to the first aspect, the second sharing prompt box also includes a second sharing path corresponding to a third electronic device, the second sharing path is used to indicate that the first moment video is sent to a third electronic device, the distance between the third electronic device and the first electronic device is less than the first length, the third electronic device and the first electronic device belong to the same brand, and the second electronic device corresponds to a third account, the third account is an associated account in the person album of the first electronic device; and / or, the second sharing prompt box also includes a third sharing path corresponding to a fourth electronic device, the third sharing path is used to indicate that the first moment video is sent to a fourth electronic device, the fourth electronic device and the first electronic device belong to the same brand; and / or, the second sharing prompt box also includes a fourth sharing path corresponding to the first application, the fourth sharing path is used to indicate that the first moment video is sent to the first application or the first object in the first application.

[0015] According to the first aspect, it also includes: after the playback of the video at the first moment ends, a replay icon is also displayed on the playback end interface of the video at the first moment; a fifth selection operation on the replay icon is received; and in response to the fifth selection operation, the video at the first moment is replayed on the screen of the first electronic device.

[0016] According to the first aspect, it also includes: after the playback of the video at the first moment ends, the cover of the video at the second moment is also displayed on the playback end interface of the video at the first moment.

[0017] According to the first aspect, it also includes: receiving a sixth selection operation on the cover of the second moment video; and in response to the sixth selection operation, playing the second moment video on the screen of the first electronic device.

[0018] According to the first aspect, it also includes: receiving a seventh operation on the cover of the video at the second moment, the seventh operation being pressing and holding the cover of the video at the second moment and sliding the cover of the video at the second moment in the first direction; in response to the seventh operation, hiding the cover of the video at the second moment on the playback end interface of the video at the first moment, and displaying the cover of the video at the third moment on the playback end interface of the video at the first moment.

[0019] According to a first aspect, the first electronic device and the second electronic device belong to the same brand; or the first electronic device and the second electronic device belong to different brands of the same manufacturer.

[0020] In a second aspect, the present application provides an electronic device, comprising: a memory and a processor, wherein the memory is coupled to the processor; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes any one of the sharing methods of the first aspect.

[0021] In a third aspect, the present application provides a computer-readable storage medium, including a computer program, which, when executed on an electronic device, enables the electronic device to execute any one of the sharing methods of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a schematic structural diagram of an illustrative electronic device 100;

[0023] Figure 2 1 is a software structure block diagram of an electronic device 100 according to an embodiment of the present application;

[0024] Figure 3 is an exemplary flowchart of the sharing method in this embodiment;

[0025] Figure 4 This is an example diagram of the interface process before the video playback ends in mobile phone A;

[0026] Figure 5 This is an example diagram showing the process of binding a portrait to an account;

[0027] Figure 6 Another example diagram of the playback end interface of the moment video 1 in the mobile phone A is shown as an example;

[0028] Figure 7 The touch control is shown as an example Figure 6 Example of the interface of mobile phone A after clicking the share icon;

[0029] Figure 8 is another example diagram of the playback end interface of the moment video 1 in the mobile phone A;

[0030] Fig. 9 For example, Figure 8 Figure (b) shows an example of the interface change process when selecting sharing path 2 on the interface. DETAILED DESCRIPTION

[0031] 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 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.

[0032] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0033] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.

[0034] This embodiment provides a sharing method, which can be applied to electronic devices with camera functions such as mobile phones and tablets.

[0035] In this embodiment, the structure of the electronic device can be as follows Figure 1 shown.

[0036] Figure 1 FIG. 1 is a schematic diagram of the structure of an electronic device 100 exemplarily shown. It should be understood that Figure 1 The electronic device 100 shown is only one example of an electronic device, and the electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different configuration of components. Figure 1 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0037] See also Figure 1 The electronic device 100 may include: a processor 110, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, an indicator 192, a camera 193, etc.

[0038] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0039] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0040] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory.

[0041] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0042] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0043] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0044] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0045] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0046] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0047] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0048] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0049] Figure 2 1 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application.

[0050] The layered architecture of the electronic device 100 divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system may include an application layer, an application framework layer, a system library, and a kernel layer.

[0051] The application layer can include a series of application packages.

[0052] like Figure 2 As shown, the application package may include camera, gallery, calendar, map, WLAN, music, short message, call, navigation, Bluetooth, video and other applications. Of course, these applications are only exemplary. In other embodiments, the application layer may include Figure 2 The applications not shown in the figure may not include Figure 2 One or more applications shown in .

[0053] Among them, the gallery application includes a sharing module, and the sharing module is used to execute the sharing method of the embodiment of the present application.

[0054] like Figure 2 As shown, the application framework layer may include a window manager, a resource manager, a view system, etc.

[0055] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0056] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0057] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0058] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0059] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0060] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0061] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0062] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0063] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0064] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0065] A 2D graphics engine is a drawing engine for 2D (two-dimensional) drawing.

[0066] The kernel layer is the layer between hardware and software.

[0067] like Figure 2 As shown, the kernel layer may include display driver, camera driver, audio driver, sensor driver, Bluetooth driver, etc.

[0068] Understandably, Figure 2 The layers in the software structure shown and the components included in each layer do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer layers than shown, and each layer may include more or fewer components, which is not limited in the present application.

[0069] Figure 3 FIG. 1 is a flowchart showing an exemplary sharing method in this embodiment. Figure 3 In this embodiment, the sharing method is applied to the first electronic device, and the process of the sharing method may include the following steps:

[0070] S301, playing a video at a first moment on a screen of a first electronic device, the first electronic device belongs to a first brand, and the first electronic device corresponds to a first account.

[0071] S302: After the playback of the video at the first moment ends, a first sharing path corresponding to the second electronic device is displayed on the playback end interface of the video at the first moment, where the first sharing path is used to indicate that the video at the first moment is sent to the second electronic device.

[0072] The distance between the second electronic device and the first electronic device is less than the first length, the second electronic device belongs to the first brand, and the second electronic device corresponds to a second account, which is an associated account in the person album of the first electronic device.

[0073] The first electronic device has a pre-stored correspondence between portraits and accounts in the portrait album. For example, the correspondence may be as shown in Table 1. For the process of associating and binding a portrait with an account in the portrait album, please refer to the following Figure 5 and related instructions.

[0074] Table 1

[0075] Portrait name Linked Accounts Electronic devices Portrait 1 Mother Honor Account 1 Honor 80 Portrait 2 dad Honor Account 2 Honor 60 Portrait 3 elder brother Honor Account 3 Honor 80, Honor 60 Portrait 4 younger sister No Honor Account Mobile Phone B

[0076] It should be noted that in the correspondence between a portrait and an account, the portrait and the account correspond one to one, but an account can correspond to one or more electronic devices. In one example, the accounts in the correspondence are accounts of electronic devices of the same brand (the types of electronic devices can be different, such as tablets and mobile phones).

[0077] It should be noted that the actual expression of the correspondence between the portraits and accounts stored in the character album may also be in a form other than the table form shown in Table 1, for example, in the form of character image + character name (wherein the character name may be located in the character image or below the character image, or above the character image).

[0078] Before the first sharing path corresponding to the second electronic device is displayed on the playback end interface of the video at the first moment, the first electronic device identifies the faces appearing in the video at the first moment, and then matches these faces with the portraits in the character album one by one, and if the portrait in the character album is matched (the matched portrait is called a matched portrait), the account associated with the matched portrait is obtained. The device corresponding to the associated account is the second electronic device.

[0079] The first electronic device can search for nearby electronic devices. If the second electronic device is found, it means that the distance between the second electronic device and the first electronic device is less than the first length, that is, the second electronic device is near the first electronic device. In this way, the first electronic device executes step S302 to display the first sharing path corresponding to the second electronic device on the playback end interface of the video at the first moment.

[0080] The first electronic device may use its own software with a search function to search for nearby electronic devices. For example, in one example, the first electronic device may use a "Glory Share" function to search for nearby electronic devices.

[0081] Here, we take a mobile phone as an example to explain the process of associating and binding a portrait with an account in a person's photo album. Figure 5 This is an example diagram showing the process of binding a portrait to an account. Figure 5 , enter the "Portrait" page in the Gallery app, the "Portrait" page is as follows Figure 5 As shown in Figure (a), the "Portrait" page may include multiple portraits, such as Portrait 1, Portrait 2, Portrait 3, Portrait 4, Portrait 5, etc. Among them, the lower left corner of the picture corresponding to each portrait displays the name of the portrait, and the lower right corner displays the number of pictures of the portrait saved in the character album. For example, "Mom" in the lower left corner of Portrait 1 is the name of Portrait 1, and the number "30" in the lower right corner of Portrait 1 indicates that there are 30 pictures of Portrait 1 saved in the character album.

[0082] The "Portrait" page is the portrait album.

[0083] If the user touches Figure 5 If the image 1 in (a) is shown in Figure 1, the phone will display Figure 5 The portrait album corresponding to the portrait 1 shown in Figure (b) shows the picture of the portrait 1. If the user touches Figure 5 (b) Click the "More" icon in the upper right corner of the image to display the "More" function option box in the photo album corresponding to Portrait 1. It should be noted that if you enter the photo album corresponding to Portrait 1 and do not touch Figure 5 In (b) the “More” icon is in the upper right corner of the image, but the “More” function option box is not displayed in the interface.

[0084] like Figure 5 As shown in Figure (b), the "More" function option box includes the "Link Honor Account" option. When the user touches the "Link Honor Account" option, the phone displays Figure 5 The interface shown in Figure (c). Figure 5 The interface shown in Figure (c) shows "My Account" (i.e. the Honor account of the phone itself) and nearby accounts (i.e. the Honor accounts of other devices near the phone). The devices corresponding to the nearby accounts need to be near the phone (e.g. within the near-field communication range of the phone).

[0085] User in Figure 5In the interface shown in Figure (c), select the nearby account "Mom's Honor 80" to bind the portrait 1 to the Honor account "Mom's Honor 80". The Honor account "Mom's Honor 80" is the Honor account 1 in Table 1. The device corresponding to the Honor account "Mom's Honor 80" can be called the device "Mom's Honor 80".

[0086] The sharing method of this embodiment is further described in detail below through examples.

[0087] Assume that the user of mobile phone A has named the portrait in the portrait album of mobile phone A and associated the portrait with the corresponding Honor account.

[0088] Assume that the correspondence between the portraits and accounts shown in Table 1 is pre-stored in the portrait album of mobile phone A, and mobile phone A is Honor P70. The name of the portrait album may be, for example, "Portraits".

[0089] Figure 4 This is an example diagram showing the interface process before the video playback ends in mobile phone A. Figure 4 ,exist Figure 4 In Figure (a), the user touches the gallery icon on the desktop of mobile phone A. In response to the user touching the gallery icon, mobile phone A displays the internal interface of the gallery application on the screen of mobile phone A. When the user selects the "Moments" function in the internal interface of the gallery application, the screen of mobile phone A displays Figure 4 (b) shows the interface corresponding to the “Moment” function.

[0090] Figure 4 The interface shown in Figure (b) shows a list of moment videos, which includes moment video 1, moment video 2, moment video 3, etc. It should be noted that Figure 4 In the interface shown in Figure (b), the moment video list displays the cover image of the moment video. When the user touches the cover image of moment video 1, mobile phone A responds to the user touching the cover image of moment video 1 and displays Figure 4 The interface is shown in Figure (c). Figure 4 The upper area of ​​the interface shown in Figure (c) dynamically plays the screen of moment video 1, and the play button of moment video 1 is displayed in the area. Figure 4 The lower area of ​​the interface shown in Figure (c) displays the images and videos used to produce the moment video 1: Image 1, Video 1, Video 2, etc.

[0091] When the user touches Figure 4 In the interface shown in FIG. (c), the mobile phone A displays the playback interface of the moment video 1 in response to the user touching the playback button of the moment video 1, such as Figure 4 As shown in Figure (d).

[0092] It should be noted that Figure 4 The patterns and positions of the displayed contents are only exemplary and should not be considered as limitations of this embodiment. Figure 4 The display contents may adopt other patterns and / or be located at other positions.

[0093] In the related art, after the moment video 1 is played, if the user wants to play other moment videos, he needs to gradually return to the homepage of the "Moment" function and reselect other moment videos; if the moment video 1 is played and the user does not perform any operation, then mobile phone A can loop to play the moment video 1. It can be seen that in the related art, switching moment videos requires more operations and is less convenient.

[0094] Example 1

[0095] Figure 6 Another example diagram of the playback end interface of video 1 in mobile phone A is shown as an example. Figure 6 ,exist Figure 4 After the playback process of the moment video 1 shown in Figure (d) ends, mobile phone A recognizes the faces appearing in the moment video 1. Assume that the faces appearing in video 1 include the mother's face, the father's face, the brother's face, the sister's face, and the cousin's face. Then, mobile phone A matches the recognized faces of the mother, the father, the brother, and the sister with the portraits in the character album one by one. After matching, it is determined that the mother's face matches the portrait 1 in the character album, the father's face matches the portrait 2 in the character album, the brother's face matches the portrait 3 in the character album, the sister's face matches the portrait 4 in the character album, and the cousin's face does not match any portrait in the character album.

[0096] It should be noted that the human face appearing in moment video 1 not only includes the human face appearing on the end screen of moment video 1, but also includes the human face appearing on any frame screen of moment video 1.

[0097] Then, mobile phone A obtains account 1 associated with portrait 1, account 2 associated with portrait 2, and account 3 associated with portrait 3 from the corresponding relationship shown in Table 1. Although the face of the younger sister matches portrait 4 in the people album, according to Table 1, the younger sister does not have an Honor account, so the sharing path to mobile phone B (the user of mobile phone B is the younger sister) is not provided subsequently.

[0098] Next, mobile phone A can respectively determine whether the distance between the device "Mom's Honor 80" corresponding to account 1 (in order to distinguish the same model devices of different users, the portrait name can be added before the device model), the device "Dad's Honor 60" corresponding to account 2, and the device "Brother's Honor 60" corresponding to account 3 and mobile phone A is less than the first length. In this embodiment, it is assumed that the distance between "Mom's Honor 80" and mobile phone A is less than the first length, the distance between "Dad's Honor 60" and mobile phone A is less than the first length, and the distance between "Brother's Honor 60" and mobile phone A is greater than the first length.

[0099] In one example, mobile phone A can determine whether the distance between other devices and mobile phone A is less than the first length by searching for nearby devices. For example, when mobile phone A searches for nearby devices, the devices in the "Available Devices" list displayed in the search results can be considered to be less than the first length from mobile phone A. Of course, this method is only an example and is not used to limit this embodiment. In other embodiments, other methods can also be used to determine whether the distance between other devices and mobile phone A is less than the first length.

[0100] After the judgment is completed, the sharing path 1 corresponding to "Mom's Honor 80" and the sharing path 2 corresponding to "Dad's Honor 60" are displayed on the playback end interface of the moment video 1, such as Figure 6 shown.

[0101] As can be seen above, the following sharing conditions must be met to display the sharing path on the video playback end interface:

[0102] First, the device corresponding to the shared path needs to be near mobile phone A;

[0103] Second, the face of the user whose portrait corresponds to the sharing path appears in the video at the moment that needs to be shared.

[0104] In one example, the device corresponding to the sharing path and mobile phone A belong to the same brand, or the device corresponding to the sharing path and mobile phone A belong to different brands of the same manufacturer. For example, mobile phone A belongs to brand 1 of manufacturer L, and the device corresponding to the sharing path belongs to brand 2 of manufacturer L.

[0105] Of course, the above description about the brand is only exemplary and is not intended to limit this embodiment.

[0106] See also Figure 6 After the moment video 1 is played, the sharing path 1 and the sharing path 2 are displayed on the playback end interface. Among them, the sharing path 1 is used to indicate that the moment video 1 is sent to the device "Mom's Honor 80", and the sharing path 2 is used to indicate that the moment video 1 is sent to the "Dad's Honor 60". Figure 6It can be seen that the sharing path can include a portrait (such as portrait 1) and the corresponding device name (such as "Mom's Honor 80")

[0107] It should be noted that Figure 6 The dotted boxes indicating sharing path 1 and sharing path 2 are not the content displayed on the playback end interface of video 1 at the moment, but are indicator lines added to facilitate the explanation of the content of the sharing path.

[0108] It should be noted that Figure 6 The two sharing paths in the example are only examples. In other embodiments, the number of sharing paths may be 1, 3, 5, etc. The number of sharing paths may be determined according to the number of external devices that meet the aforementioned sharing conditions.

[0109] When there are a large number of sharing paths and not all of them can be displayed simultaneously on the playback end interface of the moment video, some of the sharing paths can be hidden and displayed, and the hidden sharing paths can be displayed on the playback end interface of the moment video by sliding.

[0110] For example, suppose there are 6 sharing paths: sharing paths 1 to 6, arranged from left to right. The playback end interface of the moment video can display 3 sharing paths at the same time. For example, if sharing paths 1 to 3 are displayed, the user presses and holds the portrait of any path from sharing paths 1 to 3 and slides to the left, sharing paths 1, 5, and 6 are hidden and sharing paths 2 to 4 are displayed. If the user continues to slide to the left, sharing paths 1, 2, and 6 are hidden and sharing paths 3 to 5 are displayed, and so on.

[0111] Among them, the control for displaying the content of the sharing path can be located in the upper layer of the layer where the playback end screen of the moment video 1 is located.

[0112] exist Figure 6 In the interface shown, the user can share the moment video by touching the portrait in the sharing path and selecting the corresponding sharing path.

[0113] For example, if the user touches Figure 6 In the sharing path 1, the mobile phone A responds to the touch operation and sends the moment video 1 to the device "Mom's Honor 80".

[0114] For example, if the user touches Figure 6 In the sharing path 2, portrait 2 is shown, and mobile phone A responds to the touch operation and sends moment video 1 to the device "Dad's Honor 60".

[0115] Figure 6 In the figure, name 1 is the name of moment video 1, and the date “× year × month × day” below name 1 is the date when moment video 1 was generated.

[0116] Please continue to see Figure 6 , the share icon is also displayed on the playback end interface of video 1. Figure 6 Instead of touching any one of the sharing paths 1, 2, etc. in the video, the mobile phone A touches the sharing icon. The mobile phone A receives the touch operation on the sharing icon. In response to the touch operation, the mobile phone A displays a sharing prompt box 1 on the playback end interface of the video 1 at the moment. Figure 7 As shown, Figure 7 The touch control is shown as an example Figure 6 An example of the interface of mobile phone A after clicking the share icon.

[0117] Please continue to see Figure 7 , the sharing prompt box 1 includes two parts: the upper area and the lower area. The upper area includes the device "Xiaoming's Honor 80" (the Honor account of the device is also "Xiaoming's Honor 80"), the device "Lili's Honor 80", and the device "Rongrong's Honor 80". The devices in the upper area are devices that meet the first of the above-mentioned sharing conditions but do not meet the second one. That is, these devices are currently near mobile phone A, but the accounts of these devices are not bound to the portraits in mobile phone A.

[0118] If the user touches Figure 7 The icon corresponding to the device "Xiao Ming's Honor 80" is displayed, and mobile phone A sends the moment video 1 to the device "Xiao Ming's Honor 80" through near field communication (such as "Honor Share").

[0119] Please continue to see Figure 7 The lower area of ​​the sharing prompt box 1 also includes multiple applications (such as Bluetooth, WeChat (corresponding to Figure 7 "Send to a friend" in the ... Figure 7 The application icon in the sharing prompt box 1 indicates the sharing path, which is used to indicate that the moment video 1 is sent to the application corresponding to the application icon, or to the object in the application corresponding to the application icon. It should be noted that the above application names, icons, etc. are only exemplary and should not be regarded as limitations on this embodiment. The same application can have different names in electronic devices of different brands, and the icons can also use different patterns.

[0120] For example, if the user touches Figure 7 In the share prompt box 1, the app icon of the note is displayed, and phone A sends the moment video 1 to its own note app. Figure 7In the sharing prompt box 1, the WeChat application icon is displayed, and the mobile phone A sends the moment video 1 to a contact recorded in the WeChat application (after touching the WeChat application icon, the contact list can be displayed, and the user can continue to select the contact to receive the moment video 1 in the contact list, that is, the recipient of the moment video 1).

[0121] Please continue to see Figure 6 , a replay icon is also displayed on the playback end interface of moment video 1. If the user touches the replay icon, mobile phone A receives the touch operation on the replay icon, and mobile phone A responds to the touch operation and replays moment video 1 on the screen of mobile phone A, as shown in FIG. Figure 4 The interface shown in Figure (d).

[0122] Please continue to see Figure 6 After the moment video 1 is played, the cover of the recommended moment video, such as the cover of the moment video 2, is also displayed on the playback end interface of the moment video 1.

[0123] If the user touches Figure 6 In the example, the cover of the moment video 2 is shown, and the mobile phone A responds to the touch operation and plays the moment video 2 on the screen of the mobile phone A. It can be seen that the operation required to switch the moment video in this example is small, which improves the convenience.

[0124] Example 2

[0125] Assume that the user of mobile phone A has named the portrait in the portrait album of mobile phone A and associated the portrait with the corresponding Honor account.

[0126] Assume that the correspondence between the portraits and accounts shown in Table 1 above is pre-stored in the portrait album of mobile phone A, and mobile phone A is Honor P70.

[0127] In the aforementioned Figure 4 After the process is completed, if the moment video 1 ends, the moment video 1 playback end interface can also be as follows Figure 8 shown.

[0128] Figure 8 FIG. 1 is another example of an interface showing the end of playback of video 1 in mobile phone A. Figure 8 ,exist Figure 4After the playback process of the moment video 1 shown in Figure (d) is completed, mobile phone A recognizes the face that appears in the moment video 1, and then mobile phone A matches the recognized face with the portraits in the character album one by one. Next, mobile phone A obtains the account associated with the portrait that matches the face that appears in the moment video 1 from the corresponding relationship shown in Table 1. Next, mobile phone A can determine whether the distance between the device corresponding to each associated account and mobile phone A is less than the first length. After the judgment is completed, the sharing path of the corresponding device is displayed on the playback end interface of the moment video 1: Sharing path 1 corresponding to "Mom's Honor 80", and sharing path 2 corresponding to "Dad's Honor 60", such as Figure 8 For the detailed process of identifying the face appearing in the video 1 at the above moment, matching the identified face with the portrait in the person album, and judging by example, please refer to the relevant description in the above example 1, which will not be repeated here.

[0129] After confirming the sharing path to be displayed, mobile phone A displays Figure 8 The interface shown.

[0130] See also Figure 8 ,exist Figure 4 At the moment shown in Figure (d) of the video 1, after the playback process ends, mobile phone A displays Figure 8 The interface shown in FIG. (a) includes a share icon, a replay icon, etc. The interface may also include the cover image of the recommended moment video determined by mobile phone A according to a preset recommendation algorithm, such as the cover image of moment video 1. Of course, in various examples of this embodiment, the play end interface of moment video 1 may not include the covers of other recommended moment videos.

[0131] If the user is Figure 8 The sharing icon is touched on the interface shown in FIG. (a), and mobile phone A responds to the operation by displaying a sharing prompt box 2 on the playback end interface of the video 1 at the moment when the video 1 is played. Figure 8 As shown in Figure (b). Figure 8 In the figure (b), the sharing prompt box 2 includes an upper area, a middle area and a lower area. The upper area of ​​the sharing prompt box 2 includes sharing path 1 and sharing path 2. Sharing path 1 is used to indicate that the moment video 1 is sent to the device "Mom's Honor 80", and sharing path 2 is used to indicate that the moment video 1 is sent to "Dad's Honor 60". "Mom's Honor 80" and "Dad's Honor 60" are devices that meet the above-mentioned sharing conditions.

[0132] Figure 8 In Figure (b), the middle area of ​​the sharing prompt box 2 is the same as the Figure 7 The display content of the upper area of ​​the sharing prompt box 1 is the same. For the display content of this area and the response after touching, please refer to the previous Figure 7The relevant instructions in will not be repeated here.

[0133] Figure 8 In Figure (b), the area below the sharing prompt box 2 is the same as the Figure 7 The display content of the lower area of ​​the sharing prompt box 1 is the same. For the display content of this area and the response after touching, please refer to the previous Figure 7 The relevant instructions in will not be repeated here.

[0134] The user can select a sharing path in the sharing prompt box 2. For example, in one example, if the user Figure 8 Select sharing path 2 based on the interface shown in Figure (b). The process is as follows Fig. 9 shown. Fig. 9 For example, Figure 8 (b) shows an example of the interface changes when selecting sharing path 2. Fig. 9 , Fig. 9 The interface display content of (a) is the same as Figure 8 The display content of the interface shown in Figure (b) is the same as that of Figure 1. The user touches the icon "Portrait 2" in the interface, and mobile phone A responds to the operation by sending the moment video 1 to the device "Dad's Honor 60" and displays Fig. 9 The interface is shown in Figure (b). Fig. 9 In the interface shown in Figure (b), the outer contour of the icon "Portrait 2" shows the progress of mobile phone A transmitting the moment video 1 data to the device "Dad's Honor 60", and the data transmission rate (150MB / s) of mobile phone A transmitting the moment video 1 to the device "Dad's Honor 60" is displayed below the name "Dad's Honor 60" corresponding to the icon "Portrait 2".

[0135] After browsing the moment video, the user will tend to share the moment video with people who have the same experience, that is, the characters who appeared in the moment video. The sharing method of this embodiment guides the user after browsing the moment video, allowing the user to share the moment video with people who have the same experience in the moment video, so as to achieve emotional transmission, thereby increasing the sharing rate of the moment video and improving the popularity of the topic.

[0136] An embodiment of the present application also provides an electronic device, which includes a memory and a processor, wherein the memory is coupled to the processor, and the memory stores program instructions. When the program instructions are executed by the processor, the electronic device implements the sharing method executed by the aforementioned electronic device.

[0137] It is understandable that, in order to realize the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.

[0138] This embodiment also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the sharing method in the above-mentioned embodiment.

[0139] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the sharing method in the above-mentioned embodiment.

[0140] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory so that the chip executes the sharing method in the above-mentioned method embodiments.

[0141] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.

[0142] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0143] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0144] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0145] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0146] Any content of each embodiment of the present application, as well as any content of the same embodiment, can be freely combined. Any combination of the above content is within the scope of the present application.

[0147] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0148] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

[0149] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in a hardware manner, or can be implemented by a processor executing a software instruction. The software instruction can be composed of corresponding software modules, and the software module can be stored in a random access memory (Random Access Memory, RAM), a flash memory, a read-only memory (Read Only Memory, ROM), an erasable programmable read-only memory (Erasable Programmable ROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), a register, a hard disk, a mobile hard disk, a read-only compact disk (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.

[0150] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0151] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A sharing method, It is characterized in that Applied to a first electronic device, the method includes: Playing a video at a first moment on a screen of the first electronic device, the first electronic device corresponding to the first account; After the playback of the video at the first moment ends, a first sharing path corresponding to the second electronic device is displayed on the playback end interface of the video at the first moment, where the first sharing path is used to indicate that the video at the first moment is sent to the second electronic device; The distance between the second electronic device and the first electronic device is less than a first length, the second electronic device corresponds to a second account, and the second account is an associated account of the portrait in the portrait album of the first electronic device.

2. The method according to claim 1, It is characterized in that Also includes: Receiving a first selection operation on the first sharing path; In response to the first selection operation, the first moment video is sent to the second electronic device.

3. The method according to claim 1, It is characterized in that Also includes: A second sharing path corresponding to the third electronic device is also displayed on the playback end interface of the video at the first moment, where the second sharing path is used to indicate that the video at the first moment is sent to the third electronic device; Among them, the distance between the third electronic device and the first electronic device is less than the first length, the third electronic device and the first electronic device belong to the same brand, and the second electronic device corresponds to a third account, and the third account is an associated account of the portrait in the portrait album of the first electronic device.

4. The method according to claim 3, It is characterized in that Also includes: receiving a second selection operation on the second sharing path; In response to the second selection operation, the first moment video is sent to the third electronic device.

5. The method according to claim 1, It is characterized in that Also includes: A sharing icon is also displayed on the playback end interface of the video at the first moment; receiving a third selection operation on the sharing icon; In response to the third selection operation, displaying a first sharing prompt box on the playback end interface of the video at the first moment, wherein the first sharing prompt box includes a third sharing path corresponding to the fourth electronic device and / or a fourth sharing path corresponding to the first application; The third sharing path is used to indicate that the first moment video is sent to the fourth electronic device, and the fourth sharing path is used to indicate that the first moment video is sent to the first application or the first object in the first application. The fourth electronic device and the first electronic device are of the same brand.

6. The method according to claim 1, It is characterized in that After the video at the first moment is played, before the first sharing path corresponding to the second electronic device is displayed on the playback end interface of the video at the first moment, the method further includes: Identifying a first face appearing in the video at the first moment; Matching the first human face with the human portrait in the human photo album; If the first face matches the first portrait in the portrait album, obtaining the second account associated with the first portrait; Determine whether the distance between the second electronic device corresponding to the second account and the first electronic device is less than the first length. If so, execute the step of displaying the first sharing path corresponding to the second electronic device on the playback end interface of the video at the first moment after the video playback at the first moment ends.

7. The method according to claim 1, It is characterized in that Before playing the first moment video on the screen of the first electronic device, the method includes: The first portrait in the portrait album is associated with the second account, wherein the first portrait corresponds to the face of the person appearing in the video at the first moment.

8. The method according to claim 1, It is characterized in that After the video at the first moment is played, the first sharing path corresponding to the second electronic device is displayed on the playback end interface of the video at the first moment, including: After the playback of the video at the first moment ends, a sharing icon is displayed on the playback end interface of the video at the first moment; receiving a fourth selection operation on the sharing icon; In response to the fourth selection operation, a second sharing prompt box is displayed on the playback end interface of the video at the first moment, and the second sharing prompt box includes the first sharing path corresponding to the second electronic device.

9. The method according to claim 8, It is characterized in that The second sharing prompt box also includes a second sharing path corresponding to a third electronic device, the second sharing path is used to indicate that the first moment video is sent to the third electronic device, the distance between the third electronic device and the first electronic device is less than the first length, the third electronic device and the first electronic device are of the same brand, and the second electronic device corresponds to a third account, and the third account is an associated account in the person album of the first electronic device; and / or, The second sharing prompt box also includes a third sharing path corresponding to a fourth electronic device, the third sharing path is used to indicate that the first moment video is sent to the fourth electronic device, and the fourth electronic device and the first electronic device are of the same brand; and / or, The second sharing prompt box also includes a fourth sharing path corresponding to the first application, and the fourth sharing path is used to indicate that the first moment video is sent to the first application or the first object in the first application.

10. The method according to claim 1, It is characterized in that Also includes: After the playback of the video at the first moment ends, a replay icon is also displayed on the playback end interface of the video at the first moment; receiving a fifth selection operation on the replay icon; In response to the fifth selection operation, the first moment video is replayed on the screen of the first electronic device.

11. The method according to claim 1, It is characterized in that Also includes: After the playback of the video at the first moment ends, the cover of the video at the second moment is also displayed on the playback end interface of the video at the first moment.

12. The method according to claim 11, It is characterized in that Also includes: Receiving a sixth selection operation on the cover of the video at the second moment; In response to the sixth selection operation, the video at the second moment is played on the screen of the first electronic device.

13. The method according to claim 11, It is characterized in that Also includes: receiving a seventh operation on the cover of the video at the second moment, wherein the seventh operation is pressing and holding the cover of the video at the second moment and sliding the cover of the video at the second moment in a first direction; In response to the seventh operation, the cover of the video at the second moment is hidden on the playback end interface of the video at the first moment, and the cover of the video at the third moment is displayed on the playback end interface of the video at the first moment.

14. The method according to claim 1, It is characterized in that The first electronic device and the second electronic device are of the same brand; or the first electronic device and the second electronic device are of different brands from the same manufacturer.

15. An electronic device, It is characterized in that include: a memory and a processor, the memory being coupled to the processor; The memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the sharing method as described in any one of claims 1 to 14.

16. A computer-readable storage medium comprising a computer program, It is characterized in that When the computer program runs on an electronic device, the electronic device executes the sharing method as described in any one of claims 1 to 14.