WO2017193343A1 - 媒体文件分享方法、媒体文件分享设备及终端 - Google Patents

媒体文件分享方法、媒体文件分享设备及终端 Download PDF

Info

Publication number
WO2017193343A1
WO2017193343A1 PCT/CN2016/081906 CN2016081906W WO2017193343A1 WO 2017193343 A1 WO2017193343 A1 WO 2017193343A1 CN 2016081906 W CN2016081906 W CN 2016081906W WO 2017193343 A1 WO2017193343 A1 WO 2017193343A1
Authority
WO
WIPO (PCT)
Prior art keywords
media file
shared
media
sharing
user
Prior art date
Application number
PCT/CN2016/081906
Other languages
English (en)
French (fr)
Inventor
黄雪妍
黄康敏
傅佳莉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201680081668.0A priority Critical patent/CN108701135A/zh
Priority to PCT/CN2016/081906 priority patent/WO2017193343A1/zh
Publication of WO2017193343A1 publication Critical patent/WO2017193343A1/zh
Priority to US16/188,250 priority patent/US20190082002A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a media file sharing method, a media file sharing device, and a terminal.
  • the embodiment of the invention provides a media file sharing method, a media file sharing device and a terminal, so as to improve sharing efficiency.
  • a media file sharing method is provided.
  • the media file sharing device selects and shares the media file by itself, without requiring the user to manually select, simplifying the selection process of the media file in the media file sharing process, and improving the sharing efficiency.
  • the media file sharing device includes a terminal and a social platform.
  • the preset selection condition is determined, and the media file that meets the preset selection condition is selected from the local file as the media file to be shared, and the shared media file is shared according to the preset selection condition.
  • the preset selection condition may include selecting a media file having a preset association relationship with a location where the media file sharing device is currently located, for example, selecting a collection location and the media file. Share the media files with the same location of the device, so that the media file sharing device can select and share the media files matching the current location according to the current location.
  • the preset selection condition may also be: selecting another media file having a preset association relationship with the collection location, for example, selecting a media file whose collection location is the same as the preset collection location, so that the media file sharing device can select a matching user. Set the media file for the collection location.
  • the preset selection condition may further include: selecting a media file having a preset association relationship with the media file content, for example, selecting a media file whose media file content has been processed, so that the media file sharing device selects the file content quality.
  • Higher media files For example, the media file whose theme of the media file content is the same as the preset theme may also be selected, so that the media file sharing device can select a media file that conforms to the theme set by the user.
  • the media file related to the environment in which the media file sharing device is located may be selected, and the media file related to the event occurring in the external environment where the media file sharing device is located may be selected. , so that the media file sharing device selects the media file according to the current environment.
  • an associated media file associated with the selected media file to be shared may also be selected, the associated media file including at least one of the following: a media file whose background similarity exceeds a set threshold; the media having the same action File; a media file with the same expression on the main body; a media file with the same costume on the main body.
  • the reference media file is generally one. If the selected media file includes more than one media file, the associated media file may be separately determined for each media file.
  • the preset selection condition may further include: selecting a media file that has a preset association relationship with the collection time, for example, selecting a media file whose acquisition time is within a preset collection time range, so that the media file sharing device can select A media file that matches the user's set acquisition time.
  • the preset selection condition may further include: selecting a media file that matches a keyword in the text to be shared by the user, for example, the media file sharing device may parse the text to be shared by the user to include time, location, and time. The keyword related to the task, and then select the media file matching the keywords, so that the media file sharing device can select the media file according to the text shared by the user.
  • the preset sharing condition may be obtained by the user selecting or modifying the sharing condition provided by the media file sharing device, so that the media file sharing device can select a media file that meets the user's wishes according to the user instruction.
  • the current time may be determined according to the collection time.
  • a media file whose number is less than or equal to the set number is selected among the selected media files.
  • the set number is less than or equal to the maximum number of media files that the media file sharing device can share at one time, so that the media file sharing device can select the media file that meets the share quantity, and the shared media file is collected in the latest time period.
  • the media file sharing device shares the history file to be shared to the group based on the same media file, and shares the to-be-shared media file to at least one group, so as to share a file to be shared.
  • shares the history file to be shared to the group based on the same media file and shares the to-be-shared media file to at least one group, so as to share a file to be shared.
  • the media file sharing device parses the content of the media file to be shared, and determines a text description that matches the content of the media file to be shared; the media file sharing device shares the to-be-shared The media file and the text description matching the content of the media file to be shared, so as to save the user from inputting the text description process and improve the sharing efficiency.
  • the media file sharing device may display the display mode of the to-be-shared media file in one of two ways: displaying different media in different display areas of the sharing display interface of the media file. File; or scrolling through different media files in the same display area of the sharing display interface of the media file.
  • the media file sharing device detects that the user deletes the deletion instruction of the media file to be shared that has been selected by the media file sharing device.
  • the media file sharing device deletes the media file indicated by the deletion instruction from the selected media file to be shared, so that the media file selected by the media file sharing device is not the media file that the user actually wants to share, and the user needs to Delete the already The selected application scenario of the media file to be shared.
  • the media file to be shared and the media added by the user may be selected and not deleted.
  • the media file added by the user may be a media file selected by the media file sharing device and recommended to the user.
  • the media file selected by the media file sharing device and recommended to the user may be a media file related to the deleted media file, or may be a media.
  • the file sharing device has selected but is not a media file for the media file to be shared.
  • the receiving user confirms the confirmation instruction of sharing the to-be-shared media file, and provides a manual confirmation process for the user to avoid sharing the user's desire. Shared media files.
  • the triggering operation for triggering the sharing of the media file is received, and the triggering operation may be triggered by the user, or may be triggered by the terminal that collects and stores the media file, and It can be triggered by a social platform that publishes media files to implement flexible media file selection triggering.
  • a media file sharing device has all the functions of implementing the foregoing media file sharing method, and the functions may be implemented by using hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the modules can be software and/or hardware.
  • the media file sharing device includes a selecting unit and a sharing unit, and the selecting unit is configured to determine a preset selection condition, and select a media file that meets the preset selection condition from a local file, As a media file to be shared.
  • the sharing unit is configured to share the to-be-shared media file selected by the selecting unit.
  • the media file sharing device includes a processor and a communication interface, and the processor is configured to support the media file sharing device to perform a corresponding function in the media file sharing method.
  • the communication interface is configured to perform a communication function in the process of sharing the media file.
  • the media file sharing device may further include a memory for processing and processing The device is coupled, which holds the necessary program instructions and data for the media file sharing device.
  • the embodiment of the present invention further provides a computer storage medium for storing computer software instructions used by the media file sharing device, which includes a program involved in executing the media file sharing device of the above aspect.
  • the media file sharing method and the media file sharing device provided by the foregoing embodiments of the present invention can implement the media file selection by itself, without manual selection by the user, and improve the media file sharing efficiency.
  • FIG. 1 is a schematic diagram of a system architecture applicable to a media file sharing method according to an embodiment of the present invention
  • FIG. 2 is an internal structural diagram of a terminal having a function of collecting and storing a media file according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for sharing a media file according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an interface for selecting and modifying a sharing condition by a user according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a graphical interface for sharing media files to multiple groups according to an embodiment of the present invention
  • FIG. 6 is a flowchart of another implementation of sharing a media file by a terminal according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of still another implementation of sharing a media file according to an embodiment of the present invention.
  • FIG. 8 is a preview interface for providing a user with a selected media file to be shared according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an interface for providing a user with a selected media file according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an interface for providing a user with a added media file according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of an interface for adding a media file according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of still another implementation of sharing a media file according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a media file sharing device according to an embodiment of the present disclosure.
  • FIG. 14 is another schematic structural diagram of a media file sharing device according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for the media file sharing device to select and share the media file by itself, which does not require manual selection by the user, and simplifies the selection process of the media file in the process of media file sharing, thereby improving sharing efficiency.
  • the media file sharing method provided by the embodiment of the present invention can be applied to the system architecture shown in FIG. 1.
  • the terminal has the function of collecting and storing media files
  • the social platform has the function of publishing media files
  • the media files stored on the terminal are uploaded to the social platform for sharing through the network.
  • FIG. 2 is a diagram showing the internal structure of a terminal having a function of collecting and storing media files according to an embodiment of the present invention.
  • the processing module 101 is used to control various parts of the terminal hardware device, application software, etc., and may be a central processing unit (CPU).
  • the storage module 102 is configured to complete storage of various software programs of the terminal device, storage of data, operation of software, and the like, and may be a random access memory (RAM) or an erasable programmable read only memory (Erasable Programmable).
  • RAM random access memory
  • Erasable Programmable Erasable Programmable
  • EPROM Read-Only Memory
  • SSD Solid State Drives
  • SD Secure Digital
  • HD High Definition
  • the collecting module 103 is configured to collect data such as audio and video, and may be a sensor device such as a camera or a microphone.
  • the display module 104 is configured to display a user interface and an operation result, and receive data of the processing module and display the data.
  • the communication module 105 is configured to communicate with other devices, and can receive command information sent by other devices by using cellular, Ethernet, Wireless Fidelity (WiFi), Bluetooth, infrared, etc., and can also be used by the terminal. Data is sent to the cloud or other devices.
  • the terminal involved in the embodiments of the present invention may include various handheld devices with communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of users.
  • User Equipment UE
  • mobile station MS
  • terminal equipment Terminal Equipment
  • the terminal of the embodiment may be a wearable device such as a smart phone, a watch, or a glasses, or may include a tablet computer having a camera or a drone having a shooting function.
  • the social platform involved in the embodiment of the present invention may be a client application with a media file publishing function, and the client application may run on the terminal.
  • the media file sharing device that implements the media file selection in the embodiment of the present invention may be a terminal or a social platform.
  • the following uses the media file sharing device as a terminal as an example, but is not limited thereto.
  • the social platform requests permission to view the media file on the terminal, and the terminal opens the social platform to view the rights of the media file on the terminal, and the social platform can also select the media file.
  • FIG. 3 is a flowchart of a method for sharing a media file according to an embodiment of the present invention, including:
  • the preset selection condition in the embodiment of the present invention may include selecting a media file having a preset association relationship with a location where the media file sharing device is currently located, or selecting a media file having a preset association relationship with the media file content.
  • the preset selection condition in the embodiment of the present invention is not limited to one type, and may be one type or a combination of multiple selection conditions.
  • S102 Select a media file that meets the preset selection condition from the local file as the media file to be shared.
  • the local file in the embodiment of the present invention includes the media file collected and stored by the terminal itself, and also includes the media file obtained from other devices or networks and cached locally.
  • one or more of the following manners may be used to select a media file that meets a preset selection condition: in an implementable manner, according to the time and location of the media file collection, the new time period is selected.
  • the collected media files are used as media files to be shared.
  • the media file that matches the current external condition of the terminal is selected as the media file to be shared according to the current external conditions of the terminal.
  • the media file matching the preset sharing condition is selected as the media file to be shared.
  • the associated media file is selected as the media file to be shared.
  • the media file to be shared selected by the terminal by using any one of the foregoing embodiments is usually a media file with better quality
  • the media file with better quality may be, for example, no jitter, no blur, and no closed eyes.
  • S103 The terminal shares the to-be-shared media file.
  • the terminal in the embodiment of the present invention may share the to-be-shared media file through a social platform.
  • the embodiments of the present invention first describe the implementation manners of selecting several media files to be shared in the foregoing embodiments.
  • the terminal can identify the time of collecting the media file. If the terminal detects that the terminal newly collects the media file, the terminal may trigger the terminal to select the shared media file and share the content to meet the requirement of the user to share the current media file.
  • the terminal may identify the newly collected media file in the latest time period according to the collection time of the media file.
  • the most recent time period may be a time value set by the user, or may be an empirical value set by the terminal by default, for example, the latest time period may be the first thirty minutes of the sharing time.
  • the terminal may identify the media file with a relatively concentrated collection location as the media file to be shared according to the collection location of the media file.
  • the relatively concentrated collection location refers to the situation where there are multiple media files in the same collection location. For example, during the recent time period, the user took 30 photos in the park and took a photo at home, the user is likely to share the photos taken in the park, so as to divide After enjoying the recent event of the park, the terminal detected that the media files in the latest time period were collected by the park as 30 media files, and the collection location was one of the home media files, the terminal could be at the collection location. Among the 30 media files in the park, some media files are selected as the media files to be shared.
  • the terminal may directly use the media file as the media file to be shared. If the terminal detects that there are multiple media files in the latest time period, the terminal may Select the best quality or most distinctive media file among the multiple media files as the media file to be shared.
  • the terminal may select the media file according to the media file theme in multiple media files, or select the media file according to the sharing policy. For example, the terminal may select the first m media files whose collection time is near the sharing time, and m may be preset. The value can be from 1 to max, and max is the maximum allowed by the social platform. The terminal can also select the best quality media files. Of course, the terminal can also select a media file of a specific media content, for example, a media file whose media content is a landscape or a character.
  • the image analysis algorithm may be implemented, such as image analysis, face detection, object detection, content recognition, and the like.
  • the media file that matches the current external conditions of the terminal in the embodiment of the present invention may be one or more of the following: a media file with the same location as the location of the terminal, and content of the media file and a media file related to a location where the terminal is located, a media file related to an environment in which the terminal is located, and a media file related to an event occurring in an external environment in which the terminal is located.
  • the terminal selects a media file that matches the current external conditions of the terminal, and the media file to be shared can satisfy the requirement of the user to share the media file that matches the current environment.
  • the terminal may detect the current external condition of the terminal through the sensor, and select a media file that matches the current external condition. For example, the terminal passes the global according to the terminal The Global Positioning System (GPS) detects that the current location is Shenzhen Bay, and then selects the media file related to Shenzhen Bay as the media file to be shared.
  • the media file related to Shenzhen Bay can be the media at the collection location of Shenzhen Bay.
  • the document, or the scene in the content of the selected media file is the media file of Shenzhen Bay Scenery.
  • the terminal can also use the camera to detect the surrounding environment, locate the current user's location and the activities involved, for example, the terminal detects the user's external environment through the camera to set up a party scene in the A restaurant, and then selects to be related to the A hotel. And the media file of the scene is a party to be shared as a media file to be shared.
  • the terminal selects a media file that matches the current external condition of the terminal, and in the process of the media file to be shared, if the media file information such as the collection time and location is recorded in the media file, the terminal may directly record according to the record. The time information and the location information are selected. If the media file information is not recorded, the terminal can identify and select the media file content by using an image recognition and analysis algorithm. For the image recognition and analysis algorithm, the currently mature technology can be used, and the embodiment of the present invention will not be described herein.
  • the terminal may provide the sharing condition as the preset sharing condition, and the sharing condition provided by the terminal may be a default sharing condition preset by the terminal, or may be based on the media stored in the media file library by the terminal.
  • the media file attributes include collection time, collection location, and media file content.
  • the terminal parses the shooting time attribute of the media file in the media file library, and analyzes when the media files collected in the previous batch are collected are collected, and these time segments are used as sharing conditions for the user to select. For example, user A goes to a scenic spot to visit an attraction at 10:30-12:00 (the first photo in this time period is taken at 10:30, and the latest photo is taken at 12:00). After visiting the second attraction from 14:00-17:00 pm, when User A wants to share photos, he can provide users with "Today 10:30-12:00" "Today 14:00-17:00” Two acquisition times are available for selection.
  • the user may select or modify the sharing condition provided by the terminal, and use the sharing condition obtained by the user to select or modify the sharing condition as the preset sharing condition.
  • the preset sharing condition may be temporary.
  • the terminal selects a media file that matches the preset sharing condition according to the preset sharing condition, and can meet the special requirement of the user for the media file, for example, the user may select the collection time.
  • the user can select or modify the sharing condition of a single shared media file to one or more of the following, different features (such as beautiful, funny, etc.), different content (such as characters, animals, landscapes, etc.), different expressions. (such as laughing, crying, ugly face, etc.), for a specific period of time (such as October 1st to 2nd, today 10:30-12:00 and 14:00-17:00), specific location or location (such as the seaside, Shenzhen, Window of the World), share the number of media files (such as 9), and processed photos (such as doing beauty treatment).
  • different features such as beautiful, funny, etc.
  • different content such as characters, animals, landscapes, etc.
  • different expressions. such as laughing, crying, ugly face, etc.
  • a specific period of time such as October 1st to 2nd, today 10:30-12:00 and 14:00-17:00
  • specific location or location such as the seaside, Shenzhen, Window of the World
  • share the number of media files such as 9
  • processed photos such as doing beauty treatment
  • the terminal may provide an interface for the user to select or modify the sharing condition provided by the terminal.
  • an interface as shown in FIG. 4 may be adopted.
  • the text input area 1, the acquisition time selection area 2, the collection location selection area 3, the theme selection area 4, and the shared media file number selection area 5 are included in the interface.
  • the terminal may parse the keyword of the text to be shared by the user, and select a media file that matches the keyword. As a media file to be shared.
  • the terminal can parse the text to be shared by the user into keywords including time, place, time, and task, and then select media files that match the keywords. For example, after the user finishes swimming in Shenzhen Bay, he wants to share the photos of the day's activities. He only needs to input the text “Shenzhen Bay One-Day Tour” to be shared, and the terminal can analyze the keyword “Shenzhen Bay Park”, which is shot. The time keyword "last day”, the terminal can select a media file including the location attribute of "Shenzhen Bay” and the time attribute of "Recent Day” from the media file library as the media file to be shared.
  • the selected media file when the media file to be shared is selected, the selected media file may be used as a reference media file, and an associated media file associated with the reference media file may be selected, and the reference media file and the association may be associated.
  • the media files are used together as media files to be shared.
  • the reference photo in the embodiment of the present invention refers to the selected media file to be shared, and the selected media file to be shared may be in the above embodiments (1), (2), (3), and (4).
  • the associated media file refers to a media file having a set relationship with the reference media file, such as a media file having a certain relevance such as collection time, collection location, and media file content.
  • the associated media file may include the same media file as the reference media file collection location; the media file associated with the reference media file collection time, the collection time association includes the same date, the same month, or the same year;
  • the subjects in the reference media file have the same action, the same expression, and/or media files of the same apparel.
  • the attribute of the media file collection location recorded in the media file may be determined, and the background similarity of the two media files may also be determined by using an image analysis algorithm. If the background similarity exceeds the set threshold, it can be determined that the two media files are collected at the same place.
  • the media file collection time attribute recorded in the media file may be determined.
  • the image analysis algorithm may be used to determine whether the objects in the two media files have the same action and the same Expressions and / or the same clothing.
  • the subject in the reference media file and the associated media file may be the same subject, or may be different subjects.
  • the photos taken by the father and the daughter at the same place may be related photos, and the main body is a daughter (user).
  • the main body is the father (the user's friend); the subject in the photo can be one or more bodies.
  • the photo taken by the mother and the daughter at different times can be associated photos, the main body is the mother (user), the main Body 2 is the daughter (user's friend).
  • the source of the associated media file in the embodiment of the present invention may be a media file of a media file library stored locally by the terminal, a media file of a cloud media file library of the same user account, or a user stored on a social platform or published on a social platform.
  • the reference media file is generally one. If the selected media file includes more than one media file, the associated media file may be separately determined for each media file.
  • the number of associated media files determined for a reference media file may be more than one. If the number of associated media files of a reference media file is more than one, one or more of the following manners may be determined as the media to be shared.
  • Associated media file of the file In an implementation manner, the associated media file whose acquisition time is farthest from the collection time of the reference media file is used as the associated media file of the media file to be shared. For example, on X, X, and X, user A took a photo of himself, and the terminal determines this by the media file selection method to be shared in the above embodiments (1), (2), (3), and (4).
  • the photo is a photo to be shared, the photo is taken as a reference photo, and in the source of the associated media file related to the above embodiment, it is determined that one or more photos of user A taken in X years of X years in different years are The one in the earliest year is associated with the photo.
  • sorting by similarity the geographic coordinates are closest, the acquisition time is closest (refer to the time of day, such as a few points), the background similarity is maximum, the action, the expression, and/or the clothing similarity
  • the largest associated media file acts as the associated media file for the media file to be shared.
  • On X, X, X, X, User A took a photo in the land, and the terminal determines this through the media file selection method to be shared in the above embodiments (1), (2), (3) and (4).
  • the photo is a photo to be shared, and the photo is used as a reference photo.
  • this photo may be user A of ten years ago.
  • the system can not judge who the subject is in the photo, or it may be that a user A was photographed in the same place ten years ago, so this photo is taken as a related photo.
  • the image analysis algorithm and the face recognition technology are used to judge the relationship of the characters in the associated media file, and are sorted according to the order of the user, the parents, the husband or the wife, the classmates, and the colleagues.
  • the associated media file closest to the subject relationship is used as the associated media file of the media file to be shared.
  • the user A takes a photo of his/her daughter, and the terminal determines the photo to be shared by the media file selection method to be shared in the above embodiments (1), (2), (3), and (4).
  • this photo as a reference photo, in the source of the associated media file involved in the above embodiment, it is determined that one or more photos of the same subject that are photographed in the same piece of clothing and meet the sharing quality requirements are similar. The highest photo is associated with the photo.
  • the distance may be current according to the collection time.
  • the time is selected by the near and far priority order, and the number of media files whose number is less than or equal to the set number is selected among the selected media files.
  • the set number is less than or equal to the maximum number of media files that the media file sharing device can share at one time.
  • the media file sharing device can be selected to match the shared number of media files, and the shared media files are the media files collected during the most recent time period.
  • the terminal in the embodiment of the present invention may share the history file to be shared to the group based on the same media file, and share the to-be-shared media file to at least one group, so as to implement one to be shared.
  • Media files are shared into multiple groups to meet the needs of users who are in multiple groups and need to group one media file into other similar groups. For example, user A is in 10 different groups at the same time, group 1-3 is a hobby a group, group 4-6 is a hobby b group, group 7-8 is a colleague group, group 9- 10 is a group of students.
  • the terminal determines that the user A often shares the same media file into a specific group.
  • the hobby a is running, and the user A shares the running media file to the group 1 each time.
  • the same media files will be shared to group 2 and group 3, then the terminal can be based on user A
  • the terminal may provide a user with a graphical interface interface that is shared into multiple groups. For example, when user A shares the determined media file to be shared to group 1, the user A is provided to share the group 2 at the same time. And 3 graphical interface. As shown in FIG. 5A, user A can select a group (group 1, group 2, group 3, group 4 or group 5) to which the media file to be shared is shared on the sharing display interface of the media file. If user A chooses to share the to-be-shared media file to group 1, group 2 and group 3 are also selected. In the embodiment of the present invention, the user A may also be provided with a graphic interface for confirming whether the media files to be selected are simultaneously shared to the group 2 and the group 3, as shown in FIG. 5B.
  • the terminal may parse the content of the media file to be shared, determine a text description that matches the content of the media file to be shared, and share the media file to be shared and the To share the text description of the content of the media file to save the user to input the text description process and improve the sharing efficiency. For example, if the terminal parses the content of the media file to be shared, and the scene in the media file is Shenzhen Bay, and the bicycle is in a bicycle, the terminal can automatically match the text description “Shenzhen Bay xxx Day Tour” for the to-be-shared media file, and Share the file to be shared and the matching text description together.
  • a display manner of the media file on the media file sharing display interface may be selected.
  • different media files may be displayed in different display areas of the sharing display interface of the media file. For example, if the media file to be shared is 9 videos, each video can be displayed in each of the 3x3 regions.
  • different media files may be scrolled and displayed in the same display area of the sharing display interface of the media file. For example, all media files can be played in sequence in one display area.
  • the terminal can select and share the to-be-shared media file by using the foregoing method, and complete media file selection and sharing without user participation, and the sharing efficiency is high.
  • the terminal can be set to select the period of the media file to be shared, and the setting is performed. During the period, the media files selected as the media files to be shared are detected and shared according to the manner provided in the foregoing embodiment.
  • the terminal may perform an implementation process of selecting and sharing the media file to be shared.
  • FIG. 6 is a flowchart of another implementation of a terminal sharing media file according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
  • S201 The terminal receives a triggering operation for triggering sharing of the media file.
  • the triggering operation for triggering the sharing of the media file in the embodiment of the present invention may be one of the following triggering manners: one of the implementable manners may be triggered by the user, for example, the user uses the click terminal to display the interface for sharing the media.
  • the social application of the file triggers the terminal to select the media file to be shared by itself; or the user can select a function menu for automatically selecting the media file at the entrance of the sharing interface of the media file sharing by the terminal.
  • the terminal may be triggered by the terminal.
  • the terminal may trigger the terminal to select the media file as the to-be-shared media file in the newly collected media file; or
  • the terminal may trigger the terminal to select a media file that matches the current location of the terminal as the media file to be shared.
  • the social platform that publishes the media file may be triggered. For example, if the user wants to share a piece of text on the social platform, the social platform may trigger the terminal to select the media that matches the keyword in the text to be shared.
  • the file serves as a media file to be shared.
  • S202 and S203 in the embodiment of the present invention are the same as S101 and S102 in the foregoing embodiments, and details are not described herein again.
  • the embodiment of the present invention in order to avoid the media file selected by the user in the process of selecting the to-be-shared media file, the embodiment of the present invention may be based on the method flow shown in FIG. 3 or FIG.
  • the user deletes the deletion instruction of the media file to be shared that has been selected by the terminal, and deletes the media file indicated by the deletion instruction from the selected media file to be shared.
  • the following describes an example in which the deletion instruction is detected on the basis of the method shown in FIG. 6 and the selected media file is deleted.
  • FIG. 7 is a flowchart of still another implementation of sharing a media file according to an embodiment of the present invention.
  • S301 and S302 in FIG. 7 are the same as S201 and S202 in FIG. 6, respectively, and S305 is the same as S203 in FIG. 6, and details are not described herein again. Only differences will be described below.
  • S303 The terminal detects that the user deletes the deletion instruction of the media file to be shared that has been selected by the terminal.
  • the terminal selects the media files with better quality according to the media file selection method in the foregoing embodiment, but the media files are likely not the media files that the user actually wants to share, and the user may delete the terminal.
  • the selected media file to be shared For example, the user took three photos, one is a single photo A of the user's friend, one is a double photo A' of the user friend and others, and one is a multi-person photo A of the user friend and others, the terminal The photo A with the largest number of people is selected as the photo to be shared, but the user actually wants to select the single photo A as the photo to be shared, and the user can delete the photo A selected by the terminal.
  • the terminal may provide the user with a preview interface of the selected media file to be shared, as shown in FIG. 8.
  • the selected media files to be shared and the alternative media files are included in the preview interface shown in FIG.
  • the terminal may provide a function for deleting the selected media file to be shared in the preview interface, for example, displaying a fork or minus icon in the upper right corner of each to-be-shared media file (not shown in the figure)
  • the method of the present invention can be deleted by other means. For example, the media file to be deleted is pressed hard, and the media file to be deleted is clicked up (or other direction) to slide out to select the to-be-shared. The media file is in the area where the corresponding media file is deleted.
  • S304 The terminal deletes the media file indicated by the deletion instruction from the selected media file to be shared.
  • the terminal may further select the media file as the media file to be shared, and select and serve as the media file to be shared again.
  • the media file can be the media associated with the deleted media file.
  • the file may also be a media file that the terminal has selected but is not used as a media file to be shared. For example, in the above example, if the user deletes the photo A" selected by the terminal, the terminal may select another media file to be shared for sharing in the plurality of media files A, A', A" of the same topic.
  • the media file selected by the terminal may be multiple, and the user selects the media file to be shared that is to be shared.
  • the terminal may recommend a media file that can be used as a media file to be shared to the user, and prompt the user, and the prompting manner may be various.
  • the prompting manner may be various. For example, in FIG. 9, in the candidate media file area, A, A' A" is enlarged a little, the color is brightened, the colored wire frame is added, etc.
  • the description is convenient, and the line is bolded in FIG.
  • the terminal may display an “auto-filling” or an operable prompt (such as “+”) having a similar function at the location where the deleted media file is located, as shown in FIG. 10, the user operates ( After clicking, the new media file is added, as shown in Figure 11.
  • a motion of a media file from an alternate photo to a media file to be shared may be displayed, including a sound track of a sound effect and/or a picture, etc., to enhance the terminal. Provide feedback to users to enhance the user experience.
  • the user may be provided with a graphic interface for adding media files.
  • the embodiment of the present invention may be based on the method flow shown in FIG. 3, FIG. 6 or FIG. Before the media file to be shared, the user may confirm that the confirmation instruction sharing the media file to be shared is shared.
  • the following describes an example in which the user confirms that the user confirms the sharing of the media file to be shared based on the method shown in FIG. 7 .
  • FIG. 12 is a flowchart of still another implementation of sharing a media file according to an embodiment of the present invention.
  • S401, S402, S403, and S404 in FIG. 12 are the same as S301, S302, S303, and S304 in FIG. 7, respectively, and S406 is the same as S305 in FIG. 7, and details are not described herein again, and only differences will be described below.
  • S405 The terminal receives a confirmation instruction that the user confirms sharing the to-be-shared media file.
  • the terminal may provide a manual confirmation process for the user, for example, providing a graphic interface for the user to select whether to confirm sharing the to-be-selected media file, and if the user selects to confirm sharing the to-be-shared media file, sharing the To share media files.
  • the embodiment of the present invention further provides a media file sharing device, where the media file sharing device has all the functions of implementing the media file sharing method.
  • the function that the media file sharing device performs in the foregoing media file sharing method may be implemented by using hardware or by executing corresponding software by hardware.
  • FIG. 13 is a schematic structural diagram of a media file sharing device according to an embodiment of the present invention.
  • the media file sharing device 100 includes a processor 101 and a communication interface 102.
  • the processor 101 is configured to perform all the functions in the media file sharing method, such as determining a preset selection condition, selecting a media file that meets the preset selection condition from the local file, as a media file to be shared, and sharing the Discuss sharing media files.
  • the communication interface 102 is configured to perform a communication function in the process of sharing the media file.
  • the media file sharing device 100 may further include a memory 103 for coupling with the processor 101, which stores program instructions and data necessary for the media file sharing device.
  • the hardware or software in the method for performing media file sharing by the media file sharing device includes one or more modules corresponding to the foregoing functions.
  • the modules can be software and/or hardware.
  • FIG. 14 is a schematic diagram of another structure of a media file sharing device according to an embodiment of the present invention.
  • the media file sharing device 200 includes a selecting unit 201 and a sharing unit 202, and the selecting unit 201 is configured to determine a preset selection condition, and select a media file that meets the preset selection condition from a local file.
  • the sharing unit 202 is configured to share the to-be-shared media file selected by the selecting unit 201.
  • the selecting unit 201 may select, according to the following manner, a media file that meets the preset selection condition: in an implementable manner, selecting a preset association relationship with a current location of the media file sharing device. Media file. In another implementable way, select the media file A media file whose content has a preset association.
  • the selecting unit 201 is further configured to:
  • the collection time is in the order of priority from the current time to the current time.
  • a media file whose number is less than or equal to the set number is selected in the selected media file.
  • the set number is less than or equal to the maximum number of media files that the media file sharing device can share at one time.
  • the selection unit 201 is further configured to:
  • the sharing unit 202 Before the sharing unit 202 shares the to-be-shared media file, and detects that the user deletes the deletion instruction of the to-be-shared media file that has been selected by the media file sharing device; and deletes the selected media file to be shared from the selected media file to be shared. Delete the media file indicated by the instruction.
  • the selection unit is further configured to:
  • the media file indicated by the deletion instruction is deleted from the selected media file to be shared, and the media file added by the user is obtained, the media file to be shared that has been selected and not deleted, and the media file added by the user are deleted. As a media file to be shared.
  • the selecting unit 201 is further configured to: before triggering the media file to be shared, receive a triggering operation for triggering the sharing of the media file.
  • the sharing unit 202 may share the to-be-shared media file to at least one group based on the history record of the same media file being shared to the group.
  • the sharing unit 202 may further parse the content of the media file to be shared, and determine a text description that matches the content of the media file to be shared, share the to-be-shared media file, and Share a textual description of the content of the media file.
  • the sharing unit 202 is further configured to: before receiving the media file to be shared, receive a confirmation instruction that the user confirms sharing the media file to be shared.
  • the media file sharing device 100 and the media file sharing device 200 in the embodiment of the present invention may include a terminal and a social platform, and implement all the functions of the media file sharing method involved in the foregoing method embodiments.
  • the specific implementation process can refer to the related method embodiment. Description, no longer repeat here.
  • the embodiment of the invention further provides a computer storage medium for storing computer software instructions used by the media file sharing device, which comprises a program for executing the media file sharing device of the above aspect.
  • the media file sharing method and the media file sharing device provided by the foregoing embodiments of the present invention can implement the media file selection by itself, without manual selection by the user, and improve the media file sharing efficiency.
  • FIG. 1 These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种媒体文件分享方法、媒体文件分享设备及终端,媒体文件分享设备确定预设选择条件,从本地文件中选择出符合所述预设选择条件的媒体文件,作为待分享媒体文件,分享所述待分享媒体文件,无需用户手动选择待分享媒体文件,能够提高媒体文件的分享效率。

Description

媒体文件分享方法、媒体文件分享设备及终端 技术领域
本发明涉及通信技术领域,尤其涉及一种媒体文件分享方法、媒体文件分享设备及终端。
背景技术
随着通信技术的不断发展,移动终端的功能越来越丰富。例如,通过社交平台分享媒体文件以及观看朋友在社交平台上分享的媒体文件,已经成为现代生活中不可缺少的一部分。
目前通过社交平台分享媒体文件时,需要用户在大量的媒体文件中选择出符合要求的媒体文件,然后进行分享,例如选择同一场景的媒体文件、选择清晰度较高的媒体文件等进行分享。
目前进行媒体文件分享时,用户选择用于分享的媒体文件过程,需要耗费较长的时间,分享效率较低。
发明内容
本发明实施例提供一种媒体文件分享方法、媒体文件分享设备及终端,以提高分享效率。
第一方面,提供一种媒体文件分享方法,该方法中媒体文件分享设备自行进行媒体文件的选择并分享,无需用户手动选择,简化媒体文件分享过程中媒体文件的选择过程,能够提高分享效率。
所述媒体文件分享设备包括终端和社交平台。
一种可能的设计中,确定预设选择条件,从本地文件中选择出符合所述预设选择条件的媒体文件,作为待分享媒体文件,分享所述待分享媒体文件实现按照预设选择条件进行媒体文件的自行选择和分享,提高分享效率。
其中,所述预设选择条件可以包括选择出与媒体文件分享设备当前所处地点具有预设关联关系的媒体文件,例如可选择出采集地点与所述媒体文件 分享设备所处地点相同的媒体文件,使得媒体文件分享设备可以根据当前所处地点选择出匹配当前所处地点的媒体文件并进行分享。当然所述预设选择条件还可以是选择出其它与采集地点具有预设关联关系的媒体文件,例如选择出采集地点与预设采集地点相同的媒体文件,使得媒体文件分享设备可以选择出符合用户设定采集地点的媒体文件。
其中,所述预设选择条件还可以包括选择出与媒体文件内容具有预设关联关系的媒体文件,例如可选择出媒体文件内容被处理过的媒体文件,使得媒体文件分享设备选择出文件内容质量较高的媒体文件。例如还可选择出媒体文件内容的主题与预设主题相同的媒体文件,使得媒体文件分享设备可以选择出符合用户设定主题的媒体文件。例如,还可选择出媒体文件内容与所述媒体文件分享设备所处外界环境相关的媒体文件,以及选择出媒体文件内容与所述媒体文件分享设备所处外界环境中发生的事件相关的媒体文件,使得媒体文件分享设备根据当前所处环境选择媒体文件。例如,还可选择出与已选择的待分享媒体文件的相关联的关联媒体文件,所述关联媒体文件包括以下至少一种:背景相似度超过设定阈值的媒体文件;主体具有相同动作的媒体文件;主体具有相同表情的媒体文件;主体具有相同服饰的媒体文件。所述待分享媒体文件确定关联媒体文件时,基准媒体文件一般为一个,若已选择的媒体文件中包括不止一个媒体文件,则可针对每一媒体文件分别确定关联媒体文件。
其中,所述预设选择条件还可以包括选择出与采集时间有预设关联关系的媒体文件,例如可选择出采集时间在预设采集时间范围内的媒体文件,使得媒体文件分享设备可选择出符合用户设定采集时间的媒体文件。
其中,所述预设选择条件还可以包括选择出与用户待分享文字中的关键词匹配的媒体文件,例如,所述媒体文件分享设备可将用户待分享的文字解析为包括时间、地点、时间和任务相关的关键词,然后选择与这些关键词匹配的媒体文件,使得媒体文件分享设备可依据用户分享的文字自行选择媒体文件。
其中,所述预设分享条件可以是用户对媒体文件分享设备提供的分享条件进行选择或修改所得到的,使得媒体文件分享设备能够按照用户指令选择出符合用户意愿的媒体文件。
另一种可能的设计中,从本地文件中选择出符合所述预设选择条件的媒体文件之后,在选择出的媒体文件的数量超出设定数量的情况下,可按照采集时间距离当前时间由近及远的优先级顺序,在所述选择出的媒体文件中选择出数量小于等于所述设定数量的媒体文件。其中,所述设定数量小于等于媒体文件分享设备一次所能分享的媒体文件的最大数量,使得媒体文件分享设备可选择出符合分享数量的媒体文件,并且分享的媒体文件是最近时间段内采集的媒体文件。
再一种可能的设计中,所述媒体文件分享设备基于同一媒体文件被分享到群组的历史记录,将所述待分享媒体文件分享到至少一个群组,以实现将一个待分享媒体文件分享到多个群组,以满足用户会处在多个群组情况下,需要将一个媒体文件分到其它性质类似的群组中的需求。
又一种可能的设计中,所述媒体文件分享设备解析所述待分享媒体文件的内容,并确定与所述待分享媒体文件内容匹配的文字描述;所述媒体文件分享设备分享所述待分享媒体文件以及与所述待分享媒体文件内容匹配的文字描述,以节省用户输入文字描述的过程,提高分享效率。
又一种可能的设计中,媒体文件分享设备分享所述待分享媒体文件的显示方式可采用如下两种方式中的一种:在媒体文件的分享显示界面的不同显示区域中分别显示不同的媒体文件;或者在媒体文件的分享显示界面的同一显示区域中滚动显示不同的媒体文件。
又一种可能的设计中,所述媒体文件分享设备分享所述待分享媒体文件之前,所述媒体文件分享设备在检测到用户删除所述媒体文件分享设备已选择的待分享媒体文件的删除指令的情况下;所述媒体文件分享设备从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件,以适应媒体文件分享设备选择的媒体文件不是用户实际想分享的媒体文件,用户需删除所述已 选择的待分享媒体文件的应用场景。
其中,从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件之后,在获取到用户添加的媒体文件情况下,可将已选择且未删除的待分享媒体文件以及用户添加的媒体文件,作为待分享媒体文件。用户添加的媒体文件可以是媒体文件分享设备选择出并推荐给用户的媒体文件,媒体文件分享设备选择出并推荐给用户的媒体文件可以是与删除的媒体文件相关的媒体文件,也可以是媒体文件分享设备已选择但是未被作为待分享媒体文件的媒体文件。
又一种可能的设计中,所述媒体文件分享设备分享所述待分享媒体文件之前,接收用户确认分享所述待分享媒体文件的确认指令,为用户提供一个手工确认的过程,避免分享用户不想分享的媒体文件。
又一种可能的设计中,所述媒体文件分享设备选择待分享媒体文件之前,接收用于触发分享媒体文件的触发操作,触发操作可由用户触发,也可由采集和存储媒体文件的终端触发,还可以由发布媒体文件的社交平台触发,实现灵活的媒体文件选择触发方式。
第二方面,提供一种媒体文件分享设备,该媒体文件分享设备具备实现上述媒体文件分享方法的全部功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。所述模块可以是软件和/或硬件。
一种可能的设计中,所述媒体文件分享设备包括选择单元和分享单元,所述选择单元用于确定预设选择条件,并从本地文件中选择出符合所述预设选择条件的媒体文件,作为待分享媒体文件。所述分享单元用于分享所述选择单元选出的待分享媒体文件。
另一种可能的设计中,所述媒体文件分享设备包括处理器和通信接口,所述处理器被配置为支持所述媒体文件分享设备执行上述媒体文件分享方法中的相应功能。所述通信接口被配置为执行分享所述媒体文件过程中的通信功能。所述媒体文件分享设备中还可以包括存储器,所述存储器用于与处理 器耦合,其保存媒体文件分享设备必要的程序指令和数据。
第三方面,本发明实施例还提供一种计算机存储介质,用于储存为上述媒体文件分享设备所用的计算机软件指令,其包含用于执行上述方面媒体文件分享设备所涉及的程序。
本发明实施例上述提供的媒体文件分享方法和媒体文件分享设备,能够实现自行选择媒体文件,无需用户手动选择,提高了媒体文件分享效率。
附图说明
图1为本发明实施例提供的媒体文件分享方法可应用的***架构;
图2为本发明实施例中具有采集和存储媒体文件功能的终端的内部结构图;
图3为本发明实施例提供的媒体文件分享方法流程图;
图4为本发明实施例提供的用户选择和修改分享条件的界面示意图;
图5A至图5B本发明实施例提供的媒体文件分享到多个群组的图形接口示意图;
图6为本发明实施例提供的终端分享媒体文件的另一种实施流程图;
图7为本发明实施例提供的分享媒体文件的再一种实施流程图;
图8为本发明实施例提供的为用户提供已选择的待分享媒体文件的预览界面;
图9为本发明实施例提供的为用户提供已选择媒体文件的界面示意图;
图10为本发明实施例提供的为用户提供添加媒体文件的界面示意图;
图11为本发明实施例提供的添加媒体文件的界面示意图;
图12为本发明实施例提供的分享媒体文件的又一种实施流程图;
图13为本发明实施例提供的媒体文件分享设备的一种结构示意图;
图14为本发明实施例提供的媒体文件分享设备的另一种结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行详细地描述。
本发明实施例提供一种媒体文件分享设备自行选择并分享媒体文件的方法,无需用户手动选择,简化媒体文件分享过程中媒体文件的选择过程,能够提高分享效率。
本发明实施例提供的媒体文件分享方法可应用于图1所示的***架构。图1中,终端具有采集和存储媒体文件的功能,社交平台具有发布媒体文件的功能,终端上存储的媒体文件通过网络被上传到社交平台上进行分享。
图2所示为本发明实施例中具有采集和存储媒体文件功能的终端的内部结构图。图2中,处理模块101,用于控制终端的各部分硬件设备和应用程序软件等,可以是中央处理器(CPU)。存储模块102,用于完成终端设备的各种软件程序的存储、数据的存储、软件的运行等,可以是随机存取存储器(random access memory,RAM),可擦可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM),固态硬盘(Solid State Drives,SSD),安全数字(Secure Digital,SD)卡,高清(High Definition,HD)硬盘中的一种或者多种。采集模块103,用于采集音视频等数据,可以是摄像头、麦克风等传感器设备。显示模块104,用于显示用户的操作界面和操作结果,可接收处理模块的数据,并进行显示。通讯模块105,用于与其他设备进行通信,可使用蜂窝,以太网,无线保真(Wireless Fidelity,WiFi),蓝牙,红外等通讯方式接收其他设备发来的指令信息,同时也可以将终端的数据发送给云端或者其他设备。
需要说明的是,本发明实施例所涉及到的终端可以包括各种具有通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile station,MS),终端设备(Terminal Equipment)等等。例如本发明 实施例的终端可以是智能手机,手表、眼镜等穿戴式设备,也可以是包括具有摄像头的平板电脑,或者有拍摄功能的无人机等。本发明实施例涉及的社交平台可以是具有媒体文件发布功能的客户端应用,该客户端应用可在终端上运行。
本发明实施例中实施媒体文件自行选择的媒体文件分享设备可以是终端,也可以是社交平台,本发明实施例以下以媒体文件分享设备为终端为例进行说明,但并不引以为限,例如社交平台被触发执行媒体文件分享功能后,社交平台请求在终端上查看媒体文件的权限,终端开放社交平台在终端上查看媒体文件的权限,进而社交平台也可进行媒体文件的选择。
图3所示为本发明实施例提供的媒体文件分享方法流程图,包括:
S101:确定预设选择条件。
本发明实施例中所述预设选择条件可以包括选择出与媒体文件分享设备当前所处地点具有预设关联关系的媒体文件,也可以是选择出与媒体文件内容具有预设关联关系的媒体文件。本发明实施例中所述预设选择条件并不限定为一种,可以是一种,也可以是多种选择条件的组合。
S102:从本地文件中选择出符合所述预设选择条件的媒体文件,作为待分享媒体文件。
本发明实施例中所述本地文件包括终端自身采集并存储在本地的媒体文件,也包括从其它设备或者网络中获取并缓存到本地的媒体文件。
本发明实施例中可采用如下方式中的一种或多种选择出符合预设选择条件的媒体文件:一种可实施的方式中,根据媒体文件采集的时间和地点,选择最近时间段内新采集的媒体文件,作为待分享媒体文件。另一种可实施的方式中,根据终端当前所处外界条件,选择与所述终端当前所处外界条件相匹配的媒体文件,作为待分享媒体文件。再一种可实施的方式中,根据预设的分享条件,选择与预设分享条件相匹配的媒体文件,作为待分享媒体文件。又一种可实施的方式中,根据媒体文件之间的关联性,选择关联媒体文件,作为待分享媒体文件。又一种可实施的方式中,根据用户在社交平台上待分 享的文字,选择与用户待分享文字中的关键词匹配的媒体文件,作为待分享媒体文件。
本发明实施例中终端采用上述任一种实施方式选择的待分享媒体文件,通常是质量较好的媒体文件,所述质量较好的媒体文件例如可以是无抖动,无模糊,无闭眼,无阴阳脸,无红眼,亮度合适(如无太暗或无太亮),背景噪音最少(如无垃圾桶、无标识牌、无电线、无路人等背景噪音)等的媒体文件。
S103:所述终端分享所述待分享媒体文件。
本发明实施例中所述终端可通过社交平台分享所述待分享媒体文件。
本发明实施例以下将结合实际应用对上述涉及的终端自行选择待分享媒体文件并分享的过程进行说明。
本发明实施例首先对上述实施例中涉及的几种选择待分享媒体文件的实施方式分别进行说明。
(一)根据媒体文件采集的时间,选择最近时间段内新采集的媒体文件,作为待分享媒体文件。
本发明实施例中终端可识别出媒体文件采集的时间,若终端检测到终端新采集了媒体文件,则可触发终端选择待分享媒体文件并分享,以满足用户分享当前媒体文件的需求。
本发明实施例中,终端可根据媒体文件的采集时间,识别出最近时间段内新采集的媒体文件。本发明实施例中,所述最近时间段可以是用户设置的时间值,也可以是终端默认设置的一个经验值,例如该最近时间段可以是在分享时刻的前三十分钟。
本发明实施例中,终端在选择最近时间段内新采集的媒体文件作为待分享媒体文件时,可根据媒体文件的采集地点,识别出采集地点比较集中的媒体文件,作为待分享媒体文件。所述采集地点比较集中是指同一采集地点存在多张媒体文件的情形。例如,最近时间段内,用户在公园拍摄了三十张照片,在家中拍摄了一张照片,则用户很可能分享在公园拍摄的照片,以便分 享最近游玩了公园这件事件,终端检测到最近时间段内的媒体文件的采集地点为公园的媒体文件为30个,而采集地点为家的媒体文件为1个,则终端可在采集地点为公园的30个媒体文件中选择一些媒体文件作为待分享媒体文件。
本发明实施例中终端如果检测到最近时间段内仅有一个媒体文件,则可直接将该媒体文件作为待分享媒体文件,如果终端检测到最近时间段内有多个媒体文件,则可在该多个媒体文件中选择质量最好或者最有特色的媒体文件,作为待分享媒体文件。
具体的,终端可在多个媒体文件中按照媒体文件主题选择媒体文件,也可按照分享策略选择媒体文件,例如:终端可选择采集时间临近分享时刻的前m个媒体文件,m可预设,取值可以为1~max,max为社交平台允许的最大值。终端还可选择质量最好的媒体文件。当然终端也可选择特定媒体内容的媒体文件,例如选择媒体内容为风景或人物的媒体文件。
本发明实施例中进行待分享媒体文件选择时进行媒体文件识别过程中,可以利用图像分析算法实现,例如图像分析,人脸检测,物体检测,内容识别等。
(二)、根据终端当前所处外界条件,选择与所述终端当前所处外界条件相匹配的媒体文件,作为待分享媒体文件。
本发明实施例中所述与所述终端当前所处外界条件相匹配的媒体文件可以是以下中的一种或多种:采集地点与所述终端所处地点相同的媒体文件,媒体文件内容与所述终端所处地点相关的媒体文件,媒体文件内容与所述终端所处外界环境相关的媒体文件,媒体文件内容与所述终端所处外界环境中发生的事件相关的媒体文件。本发明实施例中终端选择与所述终端当前所处外界条件相匹配的媒体文件,作为待分享媒体文件,可以满足用户分享与当前所处环境相符的媒体文件的需求。
本发明实施例中,终端可通过传感器检测终端当前所处外界条件,并选择与当前所处外界条件相匹配的媒体文件。例如,终端通过根据终端的全球 定位***(Global Positioning System,GPS)检测出当前位置为深圳湾,则可选择与深圳湾相关的媒体文件作为待分享媒体文件,与深圳湾相关的媒体文件,可以是采集地点是深圳湾的媒体文件,或者选择媒体文件内容中的景物为深圳湾景物的媒体文件。终端还可利用摄像头检测周围环境,定位当前用户所处的位置以及所参与的活动等,例如终端通过摄像头检测到用户所处外界环境为在A饭店进行聚会场景,则可选择与A饭店相关,以及场景为聚会的媒体文件作为待分享媒体文件。
本发明实施例中终端选择与所述终端当前所处外界条件相匹配的媒体文件,作为待分享媒体文件过程中,若媒体文件中记录了采集时间、地点等媒体文件信息,终端可直接根据记录的时间信息以及位置信息进行选择,若没有记录媒体文件信息,终端可利用图像识别和分析算法,识别媒体文件内容,并选择。对于图像识别和分析算法,可采用目前已成熟的技术,本发明实施例在此不再赘述。
(三)、根据预设的分享条件,选择与预设分享条件相匹配的媒体文件,作为待分享媒体文件。
本发明实施例中终端可提供分享条件,作为预设分享条件,所述终端提供的分享条件可以是所述终端预设的默认分享条件,也可以是所述终端依据媒体文件库中存储的媒体文件属性所确定的,所述媒体文件属性包括采集时间、采集地点和媒体文件内容等。例如,终端解析媒体文件库中媒体文件的拍摄时间属性,解析最近一批集中采集的媒体文件都是在什么时间采集的,将这些时间段作为分享条件供用户选择。如,用户A去某景区游玩,其在上午10:30-12:00游览了一个景点(此时间段内最早一张照片拍摄于10:30,最晚一张照片拍摄于12:00),下午14:00-17:00又游览了第二个景点,则当用户A想要分享照片时,可为用户提供“今天10:30-12:00”“今天14:00-17:00”两个采集时间供选择。
本发明实施例中,用户可对终端提供的分享条件进行选择或修改,将用户选择或修改后所得到的分享条件,作为预设分享条件。
本发明实施例中预设分享条件可以是临时性的,终端根据预设分享条件,选择与预设分享条件相匹配的媒体文件,可以满足用户对于媒体文件的特殊需求,例如用户可选择采集时间在预设采集时间范围内的媒体文件;采集地点与预设采集地点相同的媒体文件;媒体文件内容的主题与预设主题相同的媒体文件;媒体文件内容被处理的媒体文件中的一种或多种媒体文件作为待分享媒体文件。例如用户可选择或修改单次分享媒体文件的分享条件为以下中的一种或多种,不同特色(如漂亮的,搞笑的等),不同内容(如人物,动物,风景等),不同表情(如笑,哭,丑脸等),特定时间段(如10月1日~2日,今天10:30-12:00和14:00-17:00),特定地点或位置(如海边,深圳,世界之窗),分享媒体文件的个数(如9个),做过处理的照片(如做了美颜处理)。
本发明实施例中终端可为用户提供用于选择或修改终端提供的分享条件的界面,例如可采用如图4所示的界面。在该界面中包括文字输入区域1、采集时间选择区域2、采集地点选择区域3、主题选择区域4以及分享媒体文件数量选择区域5。
(四)、根据用户在社交平台上待分享的文字,选择与用户待分享文字中的关键词匹配的媒体文件,作为待分享媒体文件。
用户进行媒体文件分享时,通常会分享一段文字以表达内心感受,本发明实施例的一种实施方式中终端可解析用户待分享的文字的关键词,并选择与所述关键词匹配的媒体文件作为待分享媒体文件。
一种可实施的方式中,终端可将用户待分享的文字解析为包括时间、地点、时间和任务相关的关键词,然后选择与这些关键词匹配的媒体文件。例如用户在游完深圳湾之后,想到分享当天活动的照片,他只需要先输入待分享的文字“深圳湾一日游”,终端则可解析其中含有拍摄地点关键词“深圳湾公园”,拍摄时间关键词“最近一天”,则将终端可从媒体文件库中选择包括“深圳湾”的地点属性和“最近一天”的时间属性的媒体文件,作为待分享媒体文件。
(五)、根据媒体文件之间的关联性,选择关联媒体文件,作为待分享媒体文件。
本发明实施例中在选择待分享媒体文件时,可将已选择的媒体文件作为基准媒体文件,并选择与所述基准媒体文件相关联的关联媒体文件,将所述基准媒体文件和所述关联媒体文件一同作为待分享的媒体文件。本发明实施例中所述基准照片是指已选择的待分享媒体文件,所述已选择的待分享媒体文件可以是采用上述实施例(一)、(二)、(三)和(四)中涉及的待分享媒体文件选择方式中的任何一种或几种方式选择出的媒体文件。所述关联媒体文件是指与所述基准媒体文件有设定关系的媒体文件,例如采集时间、采集地点、媒体文件内容等具有一定关联性的媒体文件。例如所述关联媒体文件可以包括与所述基准媒体文件采集地点相同的媒体文件;与所述基准媒体文件采集时间关联的媒体文件,所述采集时间关联包括日期相同、月份相同或者年份相同;与所述基准媒体文件中的主体具有相同动作、相同表情和/或相同服饰的媒体文件。
本发明实施例中确定与基准媒体文件采集地点相同的关联媒体文件时,可通过媒体文件中记录的媒体文件采集地点属性进行确定,也可通过图像分析算法,判断两个媒体文件的背景相似度,如果背景相似度超过设定的阈值,即可确定两个媒体文件是在同一地点采集的。
本发明实施例中确定与基准媒体文件采集时间相关联的关联媒体文件时,可通过媒体文件中记录的媒体文件采集时间属性进行确定。
本发明实施例中确定与基准媒体文件中的主体具有相同动作、相同表情和/或相同服饰的关联媒体文件时,可通过图像分析算法,判断两个媒体文件中的主体是否具有相同动作、相同表情和/或相同服饰。其中,本发明实施例中基准媒体文件和关联媒体文件中的主体可以是同一主体,也可以是不同主体,如父亲和女儿在同一地点拍摄的照片可以为关联照片,主体一是女儿(用户),主体二是父亲(用户的好友);照片中的主体可以是一个或多体,如母亲和女儿在不同时间拍摄的合照可以是关联照片,主体一是母亲(用户),主 体二是女儿(用户的好友)。
本发明实施例中关联媒体文件的来源可以是终端本地存储的媒体文件库的媒体文件、同一用户帐号的云媒体文件库的媒体文件、用户存储在社交平台上或曾经在社交平台上发布过的媒体文件、用户在自己的社交平台主页上有权限看到的好友发布过的媒体文件。
本发明实施例中终端在选择关联媒体文件时,基准媒体文件一般为一个,若已选择的媒体文件中包括不止一个媒体文件,则可针对每一媒体文件分别确定关联媒体文件。
本发明实施例中针对一个基准媒体文件确定的关联媒体文件的数量可能不止一个,若一个基准媒体文件的关联媒体文件数量不止一个,可采用如下方式中的一种或多种确定作为待分享媒体文件的关联媒体文件:一种实施方式中,按采集时间排序,将采集时间离基准媒体文件采集时间最远的关联媒体文件作为待分享媒体文件的关联媒体文件。例如,X年X月X日,用户A拍摄了一张自己的照片,终端通过上述实施例(一)、(二)、(三)和(四)中涉及的待分享媒体文件选择方式确定这张照片为待分享照片,则将这张照片作为基准照片,在上述实施例涉及的关联媒体文件来源中确定存在一张或多张在不同年份X月X日拍摄的用户A的照片,则将最早年份的那一张作为关联照片。
另一种实施方式中,按相似度排序,将地理坐标最接近、采集时间最接近(指一天中的时间,如几点几分)、背景相似度最大、动作、表情和/或服饰相似度最大的关联媒体文件作为待分享媒体文件的关联媒体文件。X年X月X日,用户A在甲地拍摄了一张照片,终端通过上述实施例(一)、(二)、(三)和(四)中涉及的待分享媒体文件选择方式确定这张照片为待分享照片,将这张照片作为基准照片,在上述实施例涉及的关联媒体文件来源中确定存在一张背景相似度超过设定阈值的照片(这张照片可能是十年前用户A的父亲在同一地拍摄的,当然,***可以不用判断照片中的主体是谁,也有可能是一张十年前用户A本人在同一地拍摄的),于是将这张照片作为关联照片。
再一种实施方式中,按照主体关系排序,使用图像分析算法、人脸识别技术,判断关联媒体文件中的人物关系,按用户本人、父母儿女、夫妻或恋人、同学朋友、同事的顺序排序,将主体关系最亲近的关联媒体文件作为待分享媒体文件的关联媒体文件。例如,用户A拍摄了一张自己女儿的照片,终端通过上述实施例(一)、(二)、(三)和(四)中涉及的待分享媒体文件选择方式确定这张照片为待分享照片,将这张照片作为基准照片,在上述实施例涉及的关联媒体文件来源中确定存在一张或多张同一个拍摄主体穿着同样一件衣服拍摄的、符合分享质量要求的照片,则将相似度最高的一张照片作为关联照片。
可选的,本发明实施例中终端从本地文件中选择出符合所述预设选择条件的媒体文件之后,在选择出的媒体文件的数量超出设定数量的情况下,可按照采集时间距离当前时间由近及远的优先级顺序,在所述选择出的媒体文件中选择出数量小于等于所述设定数量的媒体文件。其中,所述设定数量小于等于媒体文件分享设备一次所能分享的媒体文件的最大数量。通过该实施方案,可使媒体文件分享设备选择出符合分享数量的媒体文件,并且分享的媒体文件是最近时间段内采集的媒体文件。
本发明实施例以下将对本发明实施例中分享待分享媒体文件的实施方式进行说明。
一种可能的实施方式中,本发明实施例中所述终端可基于同一媒体文件被分享到群组的历史记录,将所述待分享媒体文件分享到至少一个群组,以实现将一个待分享媒体文件分享到多个群组,以满足用户会处在多个群组情况下,需要将一个媒体文件分到其它性质类似的群组中的需求。例如,用户A同时处于10个不同的群组,其中群组1-3是爱好a群组,群组4-6是爱好b群组,群组7-8是同事群组,群组9-10是同学群组。终端通过解析用户A分享媒体文件的历史记录,确定用户A经常把同一媒体文件分享到特定的几个群组中,如爱好a是跑步,用户A每次将跑步的媒体文件分享到群组1,都会再将同样的媒体文件分享到群组2和群组3,则终端可以根据用户A对媒 体文件的分享的历史记录,将用户A的待分享媒体文件分享到群组1、群组2和群组3。
本发明实施例中终端可为用户提供分享到多个群组中的图形界面接口,例如当用户A将确定的待分享媒体文件分享到群组1时,向用户A提供同时分享到群组2和3的图形接口。如图5A所示,用户A可在媒体文件的分享显示界面上选择将待分享媒体文件分享到的群组(群组1,群组2,群组3,群组4或群组5),若用户A选择将待分享媒体文件分享到群组1,则群组2和群组3也被选中。本发明实施例中还可为用户A提供确认是否将待选择媒体文件同时分享到群组2和群组3的图形接口,如图5B所示。
另一种可能的实施方式中,所述终端可解析所述待分享媒体文件的内容,并确定与所述待分享媒体文件内容匹配的文字描述,并分享所述待分享媒体文件以及与所述待分享媒体文件内容匹配的文字描述,以节省用户输入文字描述的过程,提高分享效率。例如,若终端解析待分享媒体文件的内容得到,媒体文件中的场景是深圳湾,且为骑自行车,则终端可以为该待分享媒体文件自动匹配文字描述“深圳湾xxx一日游”,并将该待分享媒体文件以及匹配的文字描述一同分享。
再一种可能的实施方式中,本发明实施例中可选择媒体文件分享显示界面上媒体文件的显示方式。
一种实施方式中,可在媒体文件的分享显示界面的不同显示区域中分别显示不同的媒体文件。例如,待分享媒体文件为9个视频,则每个视频可被分别显示在3x3个区域中的每个区域。
另一种实施方式中,可在媒体文件的分享显示界面的同一显示区域中滚动显示不同的媒体文件。例如,可在一个显示区域内所有媒体文件顺序活动播放。
本发明实施例通过上述方法可实现终端自行选择并分享待分享媒体文件,无需用户参与即完成媒体文件选择与分享,分享效率较高。
本发明实施例中可设置终端自行选择待分享媒体文件的周期,在设定的 周期内按照上述实施例提供的方式进行检测符合选择为待分享媒体文件的媒体文件并进行分享。
本发明实施例中终端也可在检测到用于触发分享媒体文件的触发操作后,进行自行选择并分享待分享媒体文件的实施流程。
图6所示为本发明实施例提供的终端分享媒体文件的另一种实施流程图,如图6所示,包括:
S201:终端接收用于触发分享媒体文件的触发操作。
本发明实施例中用于触发分享媒体文件的触发操作可有以下几种触发方式中的一种:一种可实施的方式中可由用户触发,例如,用户通过点击终端显示界面上用于分享媒体文件的社交应用,触发终端自行选择待分享媒体文件;或者用户可在终端进行媒体文件分享的分享界面入口处选择了进行自动选择媒体文件的功能菜单。另一种可实施的方式中可由终端触发,例如,终端检测到媒体库中存在新采集的媒体文件,则可触发终端自行在新采集的媒体文件中选择媒体文件作为待分享媒体文件;或者,终端检测到终端媒体库中存在与终端当前所处地点相匹配的媒体文件,则可触发终端自行选择与终端当前所处地点相匹配的媒体文件作为待分享媒体文件。再一种可实施的方式中可由发布媒体文件的社交平台触发,例如,用户在社交平台上待分享一段文字,则社交平台可触发终端选择与所述待分享的文字中的关键词匹配的媒体文件作为待分享媒体文件。
S202:选择待分享媒体文件。
S203:分享待分享媒体文件。
本发明实施例中S202和S203分别与上述实施例中涉及的S101和S102相同,在此不再赘述。
本发明实施例中为避免上述方法终端自行选择待分享媒体文件过程中选择了用户不中意的媒体文件,本发明实施例可在图3或图6所示方法流程的基础上,所述终端检测用户删除所述终端已选择的待分享媒体文件的删除指令,并从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件。
本发明实施例以下以在图6所示方法基础上检测删除指令并删除已选择媒体文件为例进行说明。
图7所示为本发明实施例提供的再一种分享媒体文件的实施流程图。图7中S301、S302与图6中S201、S202分别相同,S305与图6中S203相同,在此不再赘述,以下仅就不同之处进行说明。
S303:终端检测到用户删除所述终端已选择的待分享媒体文件的删除指令。
本发明实施例中虽然终端按照上述实施例涉及的媒体文件选择方法,选择了质量较好的媒体文件,但是这些媒体文件很可能并不是用户实际想分享的媒体文件,则用户可删除所述终端已选择的待分享媒体文件。例如,用户拍摄了三张照片,一张是用户朋友的单人照片A,一张是用户朋友与其他人的双人照片A’,一张是用户朋友与其他人的多人照片A”,终端选择了人数最多的一张照片A”作为待分享照片,但是用户实际上想选择单人照片A作为待分享照片,则用户可删除终端已选择的照片A”。
本发明实施例中终端可为用户提供已选择的待分享媒体文件的预览界面,如图8所示。在图8所示的预览界面中包括已选择的待分享媒体文件以及备选媒体文件。本发明实施例中,终端可在预览界面上,为用户提供删除部分已选择待分享媒体文件的功能,例如在每个待分享媒体文件右上角显示一个叉形或减号图标(图中未示出),当然也可以通过其他方式删除,本发明实施例不做限定,例如用力按压要删除的媒体文件,点住要删除的媒体文件向上(或其他方向)滑,以滑出已选择待分享媒体文件所在区域,则相应的媒体文件被删除。
S304:终端从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件。
本发明实施例中,终端从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件后,终端还可再次选择媒体文件作为待分享媒体文件,该再次选择并作为待分享媒体文件的媒体文件可以是与删除的媒体文件相关的媒 体文件,也可以是终端已选择但是未被作为待分享媒体文件的媒体文件。例如上述举例中,若用户删除了终端已选择的照片A”,则终端可在同一主题的多个媒体文件A、A’、A”中再次选择一张用于分享的待分享媒体文件。
本发明实施例中终端再次选择的媒体文件可以有多个,由用户进行选择最终要分享的待分享媒体文件。可选的,终端可以向用户推荐可以作为待分享媒体文件的媒体文件,并提示给用户,提示的方式可以有多种,例如图9中,在备选媒体文件区域中,将A、A’、A”放大一点、颜色变亮、增加有色线框等。本发明实施例中为描述方便,图9中使用线条加粗来做标识。
本发明实施例中,终端可以在被删除的媒体文件所在的位置处显示一个“自动填满”或具有类似功能的可操作的提示(例如“+”),如图10所示,用户操作(如点击)后,新的媒体文件则被补充进来,如图11所示。本发明实施例中在补充新的媒体文件过程中,可以显示一个媒体文件从备选照片飞入到已选择待分享媒体文件的动效,包括音效和/或图片的运动轨迹等,以增强终端提供给用户的反馈,提升用户体验。
本发明实施例中,若终端选择的待分享媒体文件的数量少于社交平台一次分享所能分享的媒体文件最大数量时,可为用户提供用于增加媒体文件的图形接口。
本发明实施例中为避免上述方法终端自行选择并分享待分享媒体文件过程中分享了用户不中意的媒体文件,本发明实施例可在图3、图6或图7所示方法流程的基础上,所述待分享媒体文件之前,可检测用户确认分享所述待分享媒体文件的确认指令。
本发明实施例以下以在图7所示方法基础上检测用户确认分享所述待分享媒体文件的确认指令为例进行说明。
图12所示为本发明实施例提供的分享媒体文件的又一种实施流程图。图12中S401、S402、S403、S404与图7中S301、S302、S303、S304分别相同,S406与图7中S305相同,在此不再赘述,以下仅就不同之处进行说明。
S405:终端接收用户确认分享所述待分享媒体文件的确认指令。
本发明实施例中终端可为用户提供一个手工确认的过程,例如提供一个供用户选择是否确认分享待选择媒体文件的图形接口,若用户选择了确认分享所述待分享媒体文件,则分享所述待分享媒体文件。
基于上述方法实施例提供的媒体文件分享方法,本发明实施例还提供一种媒体文件分享设备,该媒体文件分享设备具备实现上述媒体文件分享方法的全部功能.
本发明实施例中,媒体文件分享设备执行上述媒体文件分享方法中涉及的所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。
图13所示为本发明实施例提供的媒体文件分享设备的一种结构示意图。媒体文件分享设备100包括处理器101和通信接口102。
处理器101被配置为执行上述媒体文件分享方法中所有的功能,诸如确定预设选择条件,从本地文件中选择出符合所述预设选择条件的媒体文件,作为待分享媒体文件,并分享所述待分享媒体文件。所述通信接口102被配置为执行分享所述媒体文件过程中的通信功能。所述媒体文件分享设备100中还可以包括存储器103,所述存储器103用于与处理器101耦合,其保存媒体文件分享设备必要的程序指令和数据。
本发明实施例中,媒体文件分享设备执行媒体文件分享方法中的所述硬件或软件包括一个或多个与上述功能相对应的模块。所述模块可以是软件和/或硬件。
图14所示为本发明实施例提供的媒体文件分享设备的另一种结构示意图。如图14所示,媒体文件分享设备200包括选择单元201和分享单元202,所述选择单元201用于确定预设选择条件,从本地文件中选择出符合所述预设选择条件的媒体文件,作为待分享媒体文件。所述分享单元202用于分享所述选择单元201选出的所述待分享媒体文件。
其中,所述选择单元201,可按如下方式选择出符合所述预设选择条件的媒体文件:一种可实施的方式中,选择出与媒体文件分享设备当前所处地点具有预设关联关系的媒体文件。另一种可实施的方式中,选择出与媒体文件 内容具有预设关联关系的媒体文件。
本发明实施例中,所述选择单元201,还用于:
从本地文件中选择出符合所述预设选择条件的媒体文件之后,在选择出的媒体文件的数量超出设定数量的情况下,按照采集时间距离当前时间由近及远的优先级顺序,在所述选择出的媒体文件中选择出数量小于等于所述设定数量的媒体文件。其中,所述设定数量小于等于媒体文件分享设备一次所能分享的媒体文件的最大数量。
其中,所述选择单元201,还用于:
在所述分享单元202分享所述待分享媒体文件之前,且在检测到用户删除所述媒体文件分享设备已选择的待分享媒体文件的删除指令;从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件。
所述选择单元,还用于:
在从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件之后,且在获取到用户添加的媒体文件情况下,将已选择且未删除的待分享媒体文件以及用户添加的媒体文件,作为待分享媒体文件。
其中,所述选择单元201,还用于:在选择待分享媒体文件之前,接收用于触发分享媒体文件的触发操作。
本发明实施例中,所述分享单元202可基于同一媒体文件被分享到群组的历史记录,将所述待分享媒体文件分享到至少一个群组。
本发明实施例中,所述分享单元202还可解析所述待分享媒体文件的内容,并确定与所述待分享媒体文件内容匹配的文字描述,分享所述待分享媒体文件以及与所述待分享媒体文件内容匹配的文字描述。
其中,所述分享单元202还用于:在分享所述待分享媒体文件之前,接收用户确认分享所述待分享媒体文件的确认指令。
可选的,本发明实施例中所述媒体文件分享设备100和所述媒体文件分享设备200可包括终端和社交平台,用于实现上述方法实施例中涉及的媒体文件分享方法的所有功能,其具体实现过程可以参照上述方法实施例的相关 描述,此处不再赘述。
本发明实施例还提供一种计算机存储介质,用于储存为上述媒体文件分享设备所用的计算机软件指令,其包含用于执行上述方面媒体文件分享设备所涉及的程序。
本发明实施例上述提供的媒体文件分享方法和媒体文件分享设备,能够实现自行选择媒体文件,无需用户手动选择,提高了媒体文件分享效率。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令处理器完成,所述的程序可以存储于计算机可读存储介质中,所述存储介质是非短暂性(英文:non-transitory)介质,例如随机存取存储器,只读存储器,快闪存储器,硬盘,固态硬盘,磁带(英文:magnetic tape),软盘(英文:floppy disk),光盘(英文:optical disc)及其任意组合。
本发明是参照本发明实施例的方法和设备各自的流程图和方框图来描述的。应理解可由计算机程序指令实现流程图和方框图中的每一流程和方框、以及流程图和方框图中的流程和方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和方框图一个方框或多个方框中指定的功能的装置。
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。

Claims (21)

  1. 一种媒体文件分享方法,其特征在于,所述方法包括:
    确定预设选择条件;
    从本地文件中选择出符合所述预设选择条件的媒体文件,作为待分享媒体文件;
    分享所述待分享媒体文件。
  2. 如权利要求1所述的方法,其特征在于,所述预设选择条件包括选择出与媒体文件分享设备当前所处地点具有预设关联关系的媒体文件。
  3. 如权利要求1所述的方法,其特征在于,所述预设选择条件包括选择出与媒体文件内容具有预设关联关系的媒体文件。
  4. 如权利要求1至3任一项所述的方法,其特征在于,从本地文件中选择出符合所述预设选择条件的媒体文件之后,所述方法还包括:
    在选择出的媒体文件的数量超出设定数量的情况下,按照采集时间距离当前时间由近及远的优先级顺序,在所述选择出的媒体文件中选择出数量小于等于所述设定数量的媒体文件;
    其中,所述设定数量小于等于媒体文件分享设备一次所能分享的媒体文件的最大数量。
  5. 如权利要求1至4任一项所述的方法,其特征在于,所述分享所述待分享媒体文件,包括:
    基于同一媒体文件被分享到群组的历史记录,将所述待分享媒体文件分享到至少一个群组。
  6. 如权利要求1至5任一项所述的方法,其特征在于,所述分享所述待分享媒体文件,包括:
    解析所述待分享媒体文件的内容,并确定与所述待分享媒体文件内容匹配的文字描述;
    分享所述待分享媒体文件以及与所述待分享媒体文件内容匹配的文字描 述。
  7. 如权利要求1至6任一项所述的方法,其特征在于,分享所述待分享媒体文件之前,所述方法还包括:
    在检测到用户删除所述媒体文件分享设备已选择的待分享媒体文件的删除指令的情况下,从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件。
  8. 如权利要求7所述的方法,其特征在于,从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件之后,所述方法还包括:
    在获取到用户添加的媒体文件情况下;
    将已选择且未删除的待分享媒体文件以及用户添加的媒体文件,作为待分享媒体文件。
  9. 如权利要求1至8任一项所述的方法,其特征在于,分享所述待分享媒体文件之前,所述方法还包括:
    接收用户确认分享所述待分享媒体文件的确认指令。
  10. 如权利要求1至9任一项所述的方法,其特征在于,确定预设选择条件之前,所述方法还包括:
    接收用于触发分享媒体文件的触发操作。
  11. 一种媒体文件分享设备,其特征在于,包括:
    选择单元,用于确定预设选择条件,并从本地文件中选择出符合所述预设选择条件的媒体文件,作为待分享媒体文件;
    分享单元,用于分享所述选择单元选出的待分享媒体文件。
  12. 如权利要求11所述的媒体文件分享设备,其特征在于,所述选择单元,具体用于按如下方式选择出符合所述预设选择条件的媒体文件:
    选择出与媒体文件分享设备当前所处地点具有预设关联关系的媒体文件。
  13. 如权利要求11所述的媒体文件分享设备,其特征在于,所述选择单元,具体用于按如下方式选择出符合所述预设选择条件的媒体文件:
    选择出与媒体文件内容具有预设关联关系的媒体文件。
  14. 如权利要求11至13任一项所述的媒体文件分享设备,其特征在于,所述选择单元,还用于:
    从本地文件中选择出符合所述预设选择条件的媒体文件之后,在选择出的媒体文件的数量超出设定数量的情况下,按照采集时间距离当前时间由近及远的优先级顺序,在所述选择出的媒体文件中选择出数量小于等于所述设定数量的媒体文件;
    其中,所述设定数量小于等于媒体文件分享设备一次所能分享的媒体文件的最大数量。
  15. 如权利要求11至14任一项所述的媒体文件分享设备,其特征在于,所述分享单元具体采用如下方式分享所述待分享媒体文件:
    基于同一媒体文件被分享到群组的历史记录,将所述待分享媒体文件分享到至少一个群组。
  16. 如权利要求11至15任一项所述的媒体文件分享设备,其特征在于,所述分享单元具体采用如下方式分享所述待分享媒体文件:
    解析所述待分享媒体文件的内容,并确定与所述待分享媒体文件内容匹配的文字描述;
    分享所述待分享媒体文件以及与所述待分享媒体文件内容匹配的文字描述。
  17. 如权利要求11至16任一项所述的媒体文件分享设备,其特征在于,所述选择单元,还用于:
    在所述分享单元分享所述待分享媒体文件之前,且在检测到用户删除所述媒体文件分享设备已选择的待分享媒体文件的删除指令的情况下,从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件。
  18. 如权利要求11至17任一项所述的媒体文件分享设备,其特征在于,所述选择单元,还用于:
    在从已选择的待分享媒体文件中删除所述删除指令指示的媒体文件之 后,且在获取到用户添加的媒体文件情况下,将已选择且未删除的待分享媒体文件以及用户添加的媒体文件,作为待分享媒体文件。
  19. 如权利要求11至18任一项所述的媒体文件分享设备,其特征在于,所述分享单元还用于:
    在分享所述待分享媒体文件之前,接收用户确认分享所述待分享媒体文件的确认指令。
  20. 如权利要求11至19任一项所述的媒体文件分享设备,其特征在于,所述选择单元,还用于:
    在选择待分享媒体文件之前,接收用于触发分享媒体文件的触发操作。
  21. 一种终端,其特征在于,包括存储器、处理器和通信接口,其中,
    所述存储器,用于存储处理器执行的程序代码;
    所述处理器用于调用所述存储器存储的程序,执行权利要求1至权利要求10任一项所述的媒体文件分享方法;
    所述通信接口,用于分享所述媒体文件。
PCT/CN2016/081906 2016-05-12 2016-05-12 媒体文件分享方法、媒体文件分享设备及终端 WO2017193343A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201680081668.0A CN108701135A (zh) 2016-05-12 2016-05-12 媒体文件分享方法、媒体文件分享设备及终端
PCT/CN2016/081906 WO2017193343A1 (zh) 2016-05-12 2016-05-12 媒体文件分享方法、媒体文件分享设备及终端
US16/188,250 US20190082002A1 (en) 2016-05-12 2018-11-12 Media file sharing method, media file sharing device, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/081906 WO2017193343A1 (zh) 2016-05-12 2016-05-12 媒体文件分享方法、媒体文件分享设备及终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/188,250 Continuation US20190082002A1 (en) 2016-05-12 2018-11-12 Media file sharing method, media file sharing device, and terminal

Publications (1)

Publication Number Publication Date
WO2017193343A1 true WO2017193343A1 (zh) 2017-11-16

Family

ID=60266866

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081906 WO2017193343A1 (zh) 2016-05-12 2016-05-12 媒体文件分享方法、媒体文件分享设备及终端

Country Status (3)

Country Link
US (1) US20190082002A1 (zh)
CN (1) CN108701135A (zh)
WO (1) WO2017193343A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111130996A (zh) * 2019-12-16 2020-05-08 深圳市微购科技有限公司 视图信息分享方法、设备及计算机可读存储介质
EP3852341B1 (en) * 2020-01-20 2023-08-30 Shenzhen Transsion Holdings Co., Ltd. Information sharing method, device and non-transitory computer readable storage medium thereof
CN114397991B (zh) * 2021-12-28 2023-12-22 展讯通信(天津)有限公司 一种共享操作方法、装置和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103119591A (zh) * 2010-07-21 2013-05-22 三星电子株式会社 用于共享内容的方法和设备
CN105005599A (zh) * 2015-06-30 2015-10-28 广东欧珀移动通信有限公司 一种照片分享方法及移动终端
CN105005597A (zh) * 2015-06-30 2015-10-28 广东欧珀移动通信有限公司 一种照片分享方法及移动终端

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9405752B2 (en) * 2009-02-13 2016-08-02 T-Mobile Usa, Inc. System and method for automatically presenting a media file on a mobile device based on relevance to a user
JP5963756B2 (ja) * 2011-12-13 2016-08-03 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America コンテンツ選択装置、およびコンテンツ選択方法
CN102930610A (zh) * 2012-10-24 2013-02-13 深圳市万凯达科技有限公司 一种签到信息处理方法及***
US9098532B2 (en) * 2012-11-29 2015-08-04 International Business Machines Corporation Generating alternative descriptions for images
US11074618B2 (en) * 2013-06-13 2021-07-27 Blackberry Limited Method and apparatus pertaining to history-based content-sharing recommendations
CN104601641B (zh) * 2014-05-23 2018-04-06 腾讯科技(深圳)有限公司 应用链接分享方法、装置及***
US20160149991A1 (en) * 2014-11-20 2016-05-26 Ricoh Company, Ltd. Bulk upload of collaborative documents to an online document management system
US20180139447A1 (en) * 2015-05-15 2018-05-17 Tmm, Inc. Systems and methods for performing self-similarity upsampling
US10332506B2 (en) * 2015-09-02 2019-06-25 Oath Inc. Computerized system and method for formatted transcription of multimedia content
CN105282010B (zh) * 2015-09-14 2019-04-23 小米科技有限责任公司 信息分享的处理方法、装置和服务器
US9799373B2 (en) * 2015-11-05 2017-10-24 Yahoo Holdings, Inc. Computerized system and method for automatically extracting GIFs from videos
US20180367838A1 (en) * 2016-01-20 2018-12-20 Atriva Media Inc. Systems for and methods of browsing and viewing huge and heterogeneous media collections on tv with unified interface
US10484484B2 (en) * 2016-02-05 2019-11-19 International Business Machines Corporation Context-aware task processing for multiple devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103119591A (zh) * 2010-07-21 2013-05-22 三星电子株式会社 用于共享内容的方法和设备
CN105005599A (zh) * 2015-06-30 2015-10-28 广东欧珀移动通信有限公司 一种照片分享方法及移动终端
CN105005597A (zh) * 2015-06-30 2015-10-28 广东欧珀移动通信有限公司 一种照片分享方法及移动终端

Also Published As

Publication number Publication date
US20190082002A1 (en) 2019-03-14
CN108701135A (zh) 2018-10-23

Similar Documents

Publication Publication Date Title
US11354702B2 (en) Generating interactive advertising with content collections
KR102196486B1 (ko) 콘텐츠 모음 네비게이션 및 오토포워딩
CN103797493B (zh) 用于自动共享图片的智能相机
CN115443641A (zh) 将第一用户界面内容组合到第二用户界面中
US11367101B2 (en) Interactive advertising with media collections
EP2887686A1 (en) Sharing content on devices with reduced user actions
US20240062494A1 (en) Presenting available augmented reality content items in association with multi-video clip capture
CN105930073A (zh) 用于支持电子设备中的通信的方法和装置
KR102637042B1 (ko) 콘텐츠 아이템들의 재표출을 위한 메시징 시스템
KR102673676B1 (ko) 메시징 시스템 내의 비디오에 광고들을 삽입함
CN115867882A (zh) 用于图像的基于出行的增强现实内容
CN116171566A (zh) 上下文触发的增强现实
CN111386547A (zh) 具有选择退出插播式广告的媒体集合导航
CN116685995A (zh) 向捕获的视频添加基于时间的字幕
CN116134797A (zh) 增强现实自动反应
KR20230127314A (ko) 멀티 비디오 클립 캡처를 위한 비디오 트리밍
KR20230128068A (ko) 캡처된 비디오에 시간-기반 캡션들을 추가
CN117337430A (zh) 消息***内根据扫描操作的快捷方式
CN116648895A (zh) 用于捕获多个视频片段的摄像装置模式
KR20240027047A (ko) 카메라에 적용가능한 기능들을 제시하기 위한 사용자 인터페이스
WO2017193343A1 (zh) 媒体文件分享方法、媒体文件分享设备及终端
CN118176712A (zh) 来自视频的自定义动画
KR20160016574A (ko) 영상 제공 방법 및 이를 위한 장치
CN117396849A (zh) 在消息***内将功能组合成快捷方式
CN116745741A (zh) 修剪用于多视频片段捕获的视频

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16901298

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16901298

Country of ref document: EP

Kind code of ref document: A1