CN113938759A - File sharing method and file sharing device - Google Patents

File sharing method and file sharing device Download PDF

Info

Publication number
CN113938759A
CN113938759A CN202111216300.XA CN202111216300A CN113938759A CN 113938759 A CN113938759 A CN 113938759A CN 202111216300 A CN202111216300 A CN 202111216300A CN 113938759 A CN113938759 A CN 113938759A
Authority
CN
China
Prior art keywords
file
input
time
user
sharing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111216300.XA
Other languages
Chinese (zh)
Inventor
马鹤天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111216300.XA priority Critical patent/CN113938759A/en
Publication of CN113938759A publication Critical patent/CN113938759A/en
Priority to PCT/CN2022/124760 priority patent/WO2023066100A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Abstract

The application discloses a file sharing method and a file sharing device, and belongs to the technical field of communication. The file sharing method comprises the following steps: receiving a first input of a playing time axis of a first file by a user, wherein the first file is an audio file or a video file in a first application of first electronic equipment; displaying a time stamp on a play time axis of the first file in response to the first input; determining a first file segment of the first file according to the time point corresponding to the time mark; receiving a second input of the first file segment from the user; and responding to a second input, and sharing the first file segment to the second electronic equipment or a second application of the first electronic equipment.

Description

File sharing method and file sharing device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a file sharing method and a file sharing device.
Background
The user can share audio or video to other applications or other electronic devices through the electronic device, but currently, only audio or video can be shared in its entirety. If the sharer wants to make the sharee focus on a certain clip, the sharee can only be informed of the time point of starting playing through other modes, and then the sharee can select the corresponding time point of starting playing to play the clip. The whole operation process is tedious to operate and poor in experience for the sharer and the shared user.
Disclosure of Invention
The embodiment of the application aims to provide a file sharing method and a file sharing device, and the problem that the sharing process is complex in operation in the related technology can be solved.
In a first aspect, an embodiment of the present application provides a file sharing method, where the file sharing method includes:
receiving a first input of a playing time axis of a first file by a user, wherein the first file is an audio file or a video file in a first application of first electronic equipment;
displaying a time stamp on a play time axis of the first file in response to the first input;
determining a first file segment of the first file according to the time point corresponding to the time mark;
receiving a second input of the first file segment from the user;
and responding to a second input, and sharing the first file segment to the second electronic equipment or a second application of the first electronic equipment.
In a second aspect, an embodiment of the present application provides a file sharing apparatus, where the file sharing apparatus includes:
the receiving module is used for receiving first input of a playing time axis of a first file by a user, wherein the first file is an audio file or a video file in a first application of first electronic equipment;
the determining module is used for responding to the first input, displaying a time mark on a playing time axis of the first file, and determining a first file segment of the first file according to a time point corresponding to the time mark;
the receiving module is also used for receiving second input of the first file segment from the user;
the sharing module is used for responding to the second input and sharing the first file segment to the second electronic equipment or the second application of the first electronic equipment.
In a third aspect, embodiments of the present application provide a first electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the first application of the first electronic device displays the play time axis of the first file, the first input of the user on the play time axis is received, and the first file is marked, that is, the time mark is marked on the play time axis of the first file, so that at least one first file segment is divided into the first file. And then receiving a second input of the user to the first file segment, so that the first file segment is shared to the second electronic device or a second application of the first electronic device. According to the embodiment of the application, when the user shares the audio file or the video file in the first electronic device, a certain segment can be selected as a key point, so that the sharee can quickly find the key segment which the user wants to share, and the effectiveness of sharing the key segment is provided. In addition, the user can share the key segments only through simple marking operation, so that the operation steps of the user are reduced, and the use of the user is facilitated.
Drawings
Fig. 1 is a schematic flowchart illustrating a file sharing method according to an embodiment of the present application;
FIG. 2 is one of display diagrams of a first electronic device according to an embodiment of the present application;
fig. 3 is a second display schematic diagram of the first electronic device according to the embodiment of the present application;
FIG. 4 is a third schematic display diagram of a first electronic device according to an embodiment of the present application;
FIG. 5 is a fourth illustration of a display of a first electronic device according to an embodiment of the present application;
FIG. 6 is a fifth display diagram of a first electronic device according to an embodiment of the present application;
FIG. 7 is a sixth illustration of a display of a first electronic device in accordance with an embodiment of the present application;
fig. 8 is a second flowchart illustrating a file sharing method according to an embodiment of the present application;
fig. 9 is a third flowchart illustrating a file sharing method according to an embodiment of the present application;
fig. 10 is a schematic block diagram of a file sharing apparatus according to an embodiment of the present application;
FIG. 11 is one of the schematic block diagrams of a first electronic device of an embodiment of the present application;
fig. 12 is a second schematic block diagram of the first electronic device according to the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The file sharing method, the file sharing apparatus, the first electronic device, and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
An embodiment of the present application provides a file sharing method, and as shown in fig. 1, the file sharing method includes:
102, receiving a first input of a playing time axis of a first file by a user, wherein the first file is an audio file or a video file in a first application of first electronic equipment;
step 104, responding to a first input, and displaying a time mark on a playing time axis of a first file;
step 106, determining a first file segment of the first file according to the time point corresponding to the time mark;
step 108, receiving a second input of the first file segment from the user;
step 110, in response to the second input, sharing the first file segment to the second electronic device or a second application of the first electronic device.
The first input and the second input include, but are not limited to, a single click input, a double click input, a slide input, a press input, and the like. Specifically, the manner of the first input and the second input is not particularly limited in the embodiments of the present application, and may be any realizable manner.
In this embodiment, under the condition that the first application of the first electronic device displays the play timeline of the first file, the first input of the user on the play timeline is received, and the first file is marked, that is, the time mark is marked on the play timeline of the first file, so that the first file is divided into at least one first file segment. And then receiving a second input of the user to the first file segment, so that the first file segment is shared to the second electronic device or a second application of the first electronic device.
It should be noted that the user shares the first file segment selected in the first file to the second electronic device through an application, for example, shares the first file segment to a friend through a social application. Or, the first file segment selected in the first file is shared to the second application for posting, for example, the first file segment selected in the first file is shared to a friend circle of the social software for posting.
The first file is an audio file or a video file, and may be an online file (e.g., web page information) or a local file. The first file fragment can be shared out in a file form, and can also be shared out in a link form. By the method, the sharing flexibility is improved, and the sharing requirements of users are met.
According to the embodiment of the application, when the user shares the audio file or the video file in the first electronic device, a certain segment can be selected as a key point, so that the sharee can quickly find the key segment which the user wants to share, and the effectiveness of sharing the key segment is provided. In addition, the user can share the key segments only through simple marking operation, so that the operation steps of the user are reduced, and the use of the user is facilitated.
Further, in an embodiment of the present application, determining a first file segment of the first file according to a time point corresponding to the time stamp includes: determining a file segment between a time point corresponding to the time mark and the starting time point of the first file as a first file segment; or determining a file segment between the time point corresponding to the time mark and the ending time point of the first file as a first file segment; or determining the file segment between the time points corresponding to the two adjacent time marks as the first file segment.
In this embodiment, the determining the first file segment by the time stamp marked by the user specifically includes: (1) taking a segment between a time point corresponding to the time mark and the starting time point of the first file as a first file segment; (2) taking a segment between a time point corresponding to the time mark and the end time point of the first file as a first file segment; (3) and taking the segment between the time points corresponding to the two adjacent time marks as a first file segment.
Illustratively, as shown in fig. 2, the user marks a first time stamp a1 and a second time stamp B1 on the playing time axis of the song "XX", the first time stamp a1 and the second time stamp B1 form a group of time stamps (a1, B1), a time point corresponding to the first time stamp a1 is taken as a start time, a time point corresponding to the second time stamp B1 is taken as an end time, and an audio clip is marked, which is the first file clip of the audio file. The user continues to select a sharing target that the user wants to share, for example, the user clicks the second electronic device, and then the first file segment is shared to the second electronic device.
As shown in fig. 3, the user marks a third time stamp a2 and a fourth time stamp B2 on the playing time axis of the movie "YY", the third time stamp a2 and the fourth time stamp B2 form a group of time stamps (a2, B2), a time point corresponding to the third time stamp a2 is used as a start time, and a time point corresponding to the fourth time stamp B2 is used as an end time, and a video clip is marked, which is the first file clip of the video file. The user continues to select a sharing target that the user wants to share, for example, the user clicks the second application, and then the first file segment is shared to the second application.
In addition, when the time mark is made on the playback time axis of the audio file, the lyric information (e.g., aaaaa, bbbbbb) of the time point corresponding to the time mark is displayed, so that the user knows the marked position. When the time mark is marked on the playing time axis of the video file, the video image of the time point corresponding to the time mark is displayed, so that the user can know the marked position.
It should be noted that the first file segment marked in the first file may be one or more, that is, the user may select a plurality of first file segments in sequence. As shown in fig. 4, the user marks time stamps A3, B3, a4 and B4 on the play time axis of the song XX, which are respectively denoted as time stamps (A3, B3), (a4 and B4), and shares the audio clips between the time stamps (A3 and B3) and the audio clips between the time stamps (a4 and B4). Alternatively, as shown in fig. 5, when the user marks time stamps a5, B5, a6, and B6 on the playback time axis of movie "YY" and marks them as time stamps (a5, B5), (a6, and B6), the video clips between the time stamps (a5 and B5) and the video clips between the time stamps (a6 and B6) are shared.
According to the embodiment of the application, the first file fragment is simply and quickly marked, and the flexibility of setting the key fragment is improved, so that the key fragment in the first file is shared, and user operation steps are reduced.
Further, in an embodiment of the present application, sharing the first file segment to the second electronic device or the second application of the first electronic device includes: under the condition that the number of the first file segments is multiple, the multiple first file segments are shared to the second electronic equipment or the second application of the first electronic equipment according to the time sequence of the multiple first file segments, so that the second electronic equipment or the second application can play the multiple first file segments according to the time sequence; wherein the time sequence includes a sequence of start time points or a sequence of end time points.
In this embodiment, when the marked first file segments are multiple, the multiple first file segments are shared to the second electronic device or the second application according to the time sequence of the start time points or the time sequence of the end time points of the multiple first file segments, so that the second electronic device or the second application plays the multiple first file segments according to the time sequence.
Illustratively, as shown in fig. 5, the user marks time stamps a5, B5, a6 and B6 on the playing time axis of the movie "YY", respectively as time stamps (a5, B5), (a6 and B6), and shares the video clips between the time stamps (a5 and B5) and the video clips between the time stamps (a6 and B6) to the second electronic device. Then the video segment between the timestamps (a5, B5) is played first and then the video segment between the timestamps (a6, B6) is played when played by the second electronic device.
Through the mode, under the condition that the user needs to share the plurality of file segments, the plurality of shared file segments can be displayed according to the marked time sequence of the user, so that the user requirements are met.
Further, in an embodiment of the present application, before receiving a first input of a playback timeline of a first file from a user, the file sharing method further includes: receiving a third input of the sharing identifier of the first application from the user; displaying a marker identification in response to a third input; receiving a fourth input of the mark identification by the user; in response to a fourth input, a playback timeline for the first file is displayed.
Wherein the third input and the fourth input include, but are not limited to, a single click input, a double click input, a slide input, a press input, and the like. Specifically, the manner of the third input and the fourth input is not particularly limited in the embodiments of the present application, and may be any realizable manner.
In this embodiment, as shown in fig. 6, when a user browses playing content in a first application of a first electronic device, a sharing identifier 602 is displayed in a display interface of the first application. After the user clicks the sharing identifier 602, as shown in fig. 7, a sharing bullet frame 702 is displayed, and a mark identifier 704 is displayed in the sharing bullet frame 702. After the user clicks the mark 704, the play timeline of the first file is displayed, so as to mark the first file segment.
Through the mode, the marking of the first file segment by the user can be realized.
Further, in an embodiment of the present application, the file sharing method further includes: displaying an icon of the second electronic device or an icon of the second application in response to the third input; receiving a fifth input of the icon by the user; and responding to a fifth input, and sharing the first file to the second electronic equipment or the second application corresponding to the icon.
Wherein the fifth input includes, but is not limited to, a single click input, a double click input, a slide input, a press input, etc. Specifically, the embodiment of the present application does not specifically limit the manner of the fifth input, and may be any realizable manner.
In this embodiment, after the user clicks the sharing identifier 602 in fig. 6, as shown in fig. 7, the sharing object to be shared (i.e., the second electronic device and the second application) is displayed while the sharing bullet box 702 is displayed. If the user does not click the mark identifier 704 in the sharing bullet box 702, but directly clicks the second electronic device or the second application, it indicates that the user does not need to mark an important segment for the first file, but chooses to share the entire first file directly.
Through the mode, the user can select to directly share the first file, and the flexibility of file sharing is improved.
Further, in an embodiment of the present application, the file sharing method further includes: sharing the second file segment to the second electronic device or a second application of the first electronic device; the second file segment is the content of the first file except the first file segment.
In this embodiment, while sharing the first file segment, a second file segment may also be shared, where the second file segment is content other than the first file segment in the display content. That is to say, the whole first file can be shared, and after the first file is shared to the second electronic device or the second application, the first file segment is played first, and after the playing of the first file segment is finished, if the user selects to play the second file segment, the second file segment is played.
By the mode, the shared person can quickly check key information which the user wants to share, and meanwhile, the whole first file can be checked.
In an embodiment of the present application, a user needs to share a first file segment of a first file. As shown in fig. 8, the file sharing method includes:
step 802, a user clicks to enter a sharing interface of a first application of first electronic equipment;
step 804, the user marks a group of timestamps of the audio or video to be shared;
step 806, sharing the marked time stamp and the audio or video to a sharing target;
and 808, the sharing target plays the segments marked according to the time stamps in the audio or the video.
In this embodiment, when the first electronic device is playing audio or video, as shown in fig. 6, if the user clicks the sharing identifier 602 of the application to which the audio or video belongs, as shown in fig. 7, the mark identifier 704 is displayed.
When the user clicks on the tag identifier 704, the user is presented with an interactive mode that can optionally tag a set of timestamps. As shown in fig. 2, the user can mark 2 time stamps a1 and B1 as 1 group time stamp, recorded as (a1, B1). Alternatively, as shown in fig. 3, the user may mark 2 time stamps a2 and B2 as 1 set of time stamps, recorded as (a2, B2).
After the user marks and clicks any sharing path, the group of timestamps is written into the sharing link, and the link is shared to a sharing target (namely, the second electronic device or the second application) through the sharing path selected by the user.
When the audio or video which is shared out and marked with a group of time stamps is opened in the sharing target, the audio or video is automatically played from the time point of the first time stamp to the time point of the second time stamp. For example, play begins at start timestamp A1 and ends at end timestamp B1. In the playing process, the user can drag the progress bar to start playing from any position. After the marked segment is played, the non-marked segment (i.e. the second file segment) will not be played automatically, but the user can choose to start playing from any position of the second file segment.
By the mode, when the user shares the audio or the video, the shared person can start playing from a specified time and end at another specified time, so that the user can conveniently share a group of wonderful fragments of the audio or the video.
In another embodiment of the present application, a user needs to share a plurality of first file segments of a first file. As shown in fig. 9, the file sharing method includes:
step 902, a user clicks to enter a sharing interface of a first application of first electronic equipment;
step 904, the user marks a plurality of groups of timestamps of the audio or video to be shared;
step 906, sharing the marked time stamp and the audio or video to a sharing target;
step 908, the sharing target plays the audio or video segments marked according to the time stamp.
In this embodiment, when the first electronic device is playing audio or video, as shown in fig. 6, if the user clicks the sharing identifier 602 of the application to which the audio or video belongs, as shown in fig. 7, the mark identifier 704 is displayed.
When the user clicks on the tag identifier 704, the user is presented with an interactive mode that can optionally tag multiple sets of timestamps. As shown in fig. 4, the user can mark 4 time stamps A3 and B3, and a4 and B4 as 2 sets of time stamps, recorded in order of time from front to back as (A3, B3) and (a4, B4). Alternatively, as shown in fig. 5, the user may mark 4 time stamps a5 and B5, and a6 and B6 as 2 sets of time stamps, recorded as (a5, B5) and (a6, B6) in order of time from front to back.
After the user marks and clicks any sharing path, the two groups of timestamps are written into the sharing link, and the link is shared to a sharing target (namely, the second electronic device or the second application) through the sharing path selected by the user.
When the audio or video which is shared out and marked with the two groups of time stamps is opened in the sharing target, the fragments corresponding to all the groups of time stamps are automatically played in sequence. That is, the playing is automatically started from the time point of the first time stamp, ended at the time point of the second time stamp, started from the time point of the third time stamp, and ended at the time point of the fourth time stamp. For example, playback begins at the start timestamp A3, ends at the end timestamp B3, begins at the start timestamp A4, and ends at the end timestamp B4. In the playing process, the user can drag the progress bar to start playing from any position. After the playing of all the marked segments is finished, the non-marked segment (i.e. the second file segment) will not be automatically played, but the user can select to start playing from any position of the second file segment by himself.
By the mode, when the user shares the audio or the video, the shared person can start playing from one appointed time and finish playing to another appointed time, and therefore the user can conveniently share multiple groups of wonderful fragments of the audio or the video.
It should be noted that, in the file sharing method provided in the embodiment of the present application, the execution main body may be a file sharing device, or a control module in the file sharing device, configured to execute the file sharing method. In the embodiment of the present application, a file sharing method executed by a file sharing device is taken as an example to describe the file sharing device provided in the embodiment of the present application.
An embodiment of the present application provides a file sharing apparatus, as shown in fig. 10, the file sharing apparatus 1000 includes:
a receiving module 1002, configured to receive a first input of a playing timeline of a first file by a user, where the first file is an audio file or a video file in a first application of a first electronic device;
a determining module 1004, configured to respond to the first input, display a time stamp on a playing time axis of the first file, and determine a first file segment of the first file according to a time point corresponding to the time stamp;
the receiving module 1002 is further configured to receive a second input of the first file segment from the user;
the sharing module 1006 is configured to share the first file segment to the second electronic device or a second application of the first electronic device in response to a second input.
In this embodiment, under the condition that the first application of the first electronic device displays the play timeline of the first file, the first input of the user on the play timeline is received, and the first file is marked, that is, the time mark is marked on the play timeline of the first file, so that the first file is divided into at least one first file segment. And then receiving a second input of the user to the first file segment, so that the first file segment is shared to the second electronic device or a second application of the first electronic device. According to the embodiment of the application, when the user shares the audio file or the video file in the first electronic device, a certain segment can be selected as a key point, so that the sharee can quickly find the key segment which the user wants to share, and the effectiveness of sharing the key segment is provided. In addition, the user can share the key segments only through simple marking operation, so that the operation steps of the user are reduced, and the use of the user is facilitated.
Further, in an embodiment of the present application, the determining module 1004 is specifically configured to: determining a file segment between a time point corresponding to the time mark and the starting time point of the first file as a first file segment; or determining a file segment between the time point corresponding to the time mark and the ending time point of the first file as a first file segment; or determining the file segment between the time points corresponding to the two adjacent time marks as the first file segment.
Further, in an embodiment of the application, the sharing module 1006 is specifically configured to, when the first file segment is multiple, share the multiple first file segments to the second electronic device or a second application of the first electronic device according to a time sequence of the multiple first file segments, so that the second electronic device or the second application plays the multiple first file segments according to the time sequence; wherein the time sequence includes a sequence of start time points or a sequence of end time points.
Further, in an embodiment of the present application, the receiving module 1002 is further configured to receive a third input of the sharing identifier of the first application from the user; the file sharing apparatus 1000 further includes: a display module for displaying the marker identification in response to a third input; the receiving module 1002 is further configured to receive a fourth input of the mark identifier by the user; and the display module is also used for responding to the fourth input and displaying the playing time axis of the first file.
Further, in an embodiment of the present application, the display module is further configured to display an icon of the second electronic device or an icon of the second application in response to a third input; the receiving module 1002 is further configured to receive a fifth input of the icon by the user; the sharing module 1006 is further configured to share the first file to the second electronic device or the second application corresponding to the icon in response to a fifth input.
The file sharing apparatus 1000 in the embodiment of the present application may be an apparatus, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the Mobile electronic device may be a Mobile phone, a tablet Computer, a notebook Computer, a palm top Computer, an in-vehicle electronic device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-Mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (Personal Computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The file sharing apparatus 1000 in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The file sharing device 1000 provided in this embodiment of the application can implement each process implemented in the file sharing method embodiment of fig. 1, and is not repeated here to avoid repetition.
Optionally, as shown in fig. 11, an embodiment of the present application further provides a first electronic device 1100, which includes a processor 1102, a memory 1104, and a program or an instruction that is stored in the memory 1104 and can be executed on the processor 1102, and when the program or the instruction is executed by the processor 1102, the process of the file sharing method embodiment is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 12 is a schematic hardware structure diagram of a first electronic device for implementing an embodiment of the present application.
The first electronic device 1200 includes, but is not limited to: radio frequency unit 1202, network module 1204, audio output unit 1206, input unit 1208, sensors 1210, display unit 1212, user input unit 1214, interface unit 1216, memory 1218, and processor 1220.
Those skilled in the art will appreciate that the first electronic device 1200 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1220 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The first electronic device structure shown in fig. 12 does not constitute a limitation of the first electronic device, and the first electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
The user input unit 1214 is configured to receive a first input of a playing timeline of a first file by a user, where the first file is an audio file or a video file in a first application of the first electronic device; a processor 1220, configured to respond to a first input, display a time stamp on a playing time axis of the first file, and determine a first file segment of the first file according to a time point corresponding to the time stamp; a user input unit 1214, further configured to receive a second input of the first file segment by the user; the processor 1220 is further configured to share the first file segment to the second electronic device or a second application of the first electronic device in response to the second input.
In this embodiment, under the condition that the first application of the first electronic device displays the play timeline of the first file, the first input of the user on the play timeline is received, and the first file is marked, that is, the time mark is marked on the play timeline of the first file, so that the first file is divided into at least one first file segment. And then receiving a second input of the user to the first file segment, so that the first file segment is shared to the second electronic device or a second application of the first electronic device. According to the embodiment of the application, when the user shares the audio file or the video file in the first electronic device, a certain segment can be selected as a key point, so that the sharee can quickly find the key segment which the user wants to share, and the effectiveness of sharing the key segment is provided. In addition, the user can share the key segments only through simple marking operation, so that the operation steps of the user are reduced, and the use of the user is facilitated.
Further, in an embodiment of the present application, the processor 1220 is specifically configured to: determining a file segment between a time point corresponding to the time mark and the starting time point of the first file as a first file segment; or determining a file segment between the time point corresponding to the time mark and the ending time point of the first file as a first file segment; or determining the file segment between the time points corresponding to the two adjacent time marks as the first file segment.
Further, in an embodiment of the present application, the processor 1220 is specifically configured to, when the first file segment is multiple, share the multiple first file segments to the second electronic device or a second application of the first electronic device according to a time sequence of the multiple first file segments, so that the second electronic device or the second application plays the multiple first file segments according to the time sequence; wherein the time sequence includes a sequence of start time points or a sequence of end time points.
Further, in an embodiment of the present application, the user input unit 1214 is further configured to receive a third input of the sharing identifier of the first application from the user; a display unit 1212 for displaying the mark identification in response to a third input; the user input unit 1214 is further configured to receive a fourth input of the mark identification by the user; the display unit 1212 is further configured to display a playback time axis of the first file in response to a fourth input.
Further, in an embodiment of the present application, the display unit 1212 is further configured to display an icon of the second electronic device or an icon of the second application in response to a third input; a user input unit 1214, further configured to receive a fifth input of the icon by the user; the processor 1220 is further configured to, in response to the fifth input, share the first file to the second electronic device or the second application corresponding to the icon.
It should be understood that, in the embodiment of the present application, the radio frequency unit 1202 may be used for transceiving information or transceiving signals during a call, and in particular, receiving downlink data of a base station or sending uplink data to the base station. Radio frequency unit 1202 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The network module 1204 provides wireless broadband internet access to the user, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 1206 may convert audio data received by the radio frequency unit 1202 or the network module 1204 or stored in the memory 1218 into an audio signal and output as sound. Also, the audio output unit 1206 may also provide audio output related to a specific function performed by the first electronic device 1200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1206 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1208 is used to receive audio or video signals. The input Unit 1208 may include a Graphics Processing Unit (GPU) 12082 and a microphone 12084, and the Graphics processor 12082 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1212 or stored in the memory 1218 (or other storage medium) or transmitted via the radio frequency unit 1202 or the network module 1204. The microphone 12084 can receive sound and can process the sound into audio data, and the processed audio data can be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1202 in the case of a phone call mode.
The first electronic device 1200 further comprises at least one sensor 1210, such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, a motion sensor, and others.
The display unit 1212 is used to display information input by the user or information provided to the user. The display unit 1212 may include a display panel 12122, and the display panel 12122 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
The user input unit 1214 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the first electronic device. Specifically, the user input unit 1214 includes a touch panel 12142 and other input devices 12144. Touch panel 12142, also referred to as a touch screen, may collect touch operations by a user on or near it. The touch panel 12142 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1220 to receive and execute commands sent by the processor 1220. Other input devices 12144 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 12142 may be overlaid on the display panel 12122, such that when the touch panel 12142 detects a touch operation on or near the touch panel 12142, the touch operation is transmitted to the processor 1220 to determine the type of touch event, and the processor 1220 then provides a corresponding visual output on the display panel 12122 according to the type of touch event. The touch panel 12142 and the display panel 12122 may be provided as two separate components or may be integrated into one component.
The interface unit 1216 is an interface for connecting an external device to the first electronic apparatus 1200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1216 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the first electronic apparatus 1200 or may be used to transmit data between the first electronic apparatus 1200 and the external device.
Memory 1218 may be used to store software programs as well as various data. The memory 1218 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. In addition, the memory 1218 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1220 performs various functions of the first electronic device 1200 and processes data by running or executing software programs and/or modules stored in the memory 1218 and by invoking data stored in the memory 1218 to thereby perform overall monitoring of the first electronic device 1200. Processor 1220 may include one or more processing units; preferably, the processor 1220 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the file sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the first electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the file sharing method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A file sharing method is characterized by comprising the following steps:
receiving a first input of a playing time axis of a first file by a user, wherein the first file is an audio file or a video file in a first application of first electronic equipment;
displaying a time stamp on a playback time axis of the first file in response to the first input;
determining a first file segment of the first file according to the time point corresponding to the time mark;
receiving a second input of the first file segment from a user;
in response to the second input, the first file segment is shared to a second electronic device or a second application of the first electronic device.
2. The method according to claim 1, wherein the determining a first file segment of the first file according to the time point corresponding to the time stamp includes:
determining a file segment between a time point corresponding to the time mark and the starting time point of the first file as the first file segment; or
Determining a file segment between a time point corresponding to the time mark and an ending time point of the first file as the first file segment; or
And determining the file segment between the time points corresponding to the two adjacent time marks as the first file segment.
3. The file sharing method according to claim 1, wherein the sharing the first file segment to a second electronic device or a second application of the first electronic device includes:
under the condition that the number of the first file segments is multiple, sharing the first file segments to second electronic equipment or a second application of the first electronic equipment according to the time sequence of the first file segments, so that the second electronic equipment or the second application can play the first file segments according to the time sequence;
wherein the temporal sequence comprises a sequence of starting time points or a sequence of ending time points.
4. The file sharing method according to any one of claims 1 to 3, wherein before the receiving of the first input of the play timeline of the first file by the user, the method further comprises:
receiving a third input of the sharing identifier of the first application from the user;
displaying a marker identification in response to the third input;
receiving a fourth input of the mark identification by the user;
displaying a playback timeline of the first file in response to the fourth input.
5. The file sharing method according to claim 4, further comprising:
displaying an icon of the second electronic device or an icon of the second application in response to the third input;
receiving a fifth input of the icon by the user;
responding to the fifth input, and sharing the first file to the second electronic equipment or the second application corresponding to the icon.
6. A file sharing apparatus, comprising:
the device comprises a receiving module, a playing module and a playing module, wherein the receiving module is used for receiving first input of a playing time axis of a first file by a user, and the first file is an audio file or a video file in a first application of first electronic equipment;
a determining module, configured to respond to the first input, display a time stamp on a playing time axis of the first file, and determine a first file segment of the first file according to a time point corresponding to the time stamp;
the receiving module is further used for receiving a second input of the first file segment from the user;
the sharing module is used for responding to the second input and sharing the first file segment to second electronic equipment or second application of the first electronic equipment.
7. The file sharing device according to claim 6, wherein the determining module is specifically configured to:
determining a file segment between a time point corresponding to the time mark and the starting time point of the first file as the first file segment; or
Determining a file segment between a time point corresponding to the time mark and an ending time point of the first file as the first file segment; or
And determining the file segment between the time points corresponding to the two adjacent time marks as the first file segment.
8. The file sharing apparatus according to claim 6,
the sharing module is specifically configured to, when the first file segment is multiple, share the multiple first file segments to a second electronic device or a second application of the first electronic device according to a time sequence of the multiple first file segments, so that the second electronic device or the second application plays the multiple first file segments according to the time sequence;
wherein the temporal sequence comprises a sequence of starting time points or a sequence of ending time points.
9. The file sharing apparatus according to any one of claims 6 to 8,
the receiving module is further configured to receive a third input of the sharing identifier of the first application from the user;
the file sharing apparatus further includes: a display module to display a marker identification in response to the third input;
the receiving module is further configured to receive a fourth input of the mark identifier by the user;
the display module is further configured to display a play timeline of the first file in response to the fourth input.
10. The file sharing apparatus according to claim 9,
the display module is further used for responding to the third input and displaying an icon of the second electronic equipment or an icon of the second application;
the receiving module is further configured to receive a fifth input of the icon by the user;
the sharing module is further configured to share the first file to a second electronic device or a second application corresponding to the icon in response to the fifth input.
CN202111216300.XA 2021-10-19 2021-10-19 File sharing method and file sharing device Pending CN113938759A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111216300.XA CN113938759A (en) 2021-10-19 2021-10-19 File sharing method and file sharing device
PCT/CN2022/124760 WO2023066100A1 (en) 2021-10-19 2022-10-12 File sharing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111216300.XA CN113938759A (en) 2021-10-19 2021-10-19 File sharing method and file sharing device

Publications (1)

Publication Number Publication Date
CN113938759A true CN113938759A (en) 2022-01-14

Family

ID=79280569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111216300.XA Pending CN113938759A (en) 2021-10-19 2021-10-19 File sharing method and file sharing device

Country Status (2)

Country Link
CN (1) CN113938759A (en)
WO (1) WO2023066100A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023066100A1 (en) * 2021-10-19 2023-04-27 维沃移动通信有限公司 File sharing method and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093067A (en) * 2014-06-23 2014-10-08 广州三星通信技术研究有限公司 Device and method for sharing and playing audio and visual fragments in terminal
WO2021083168A1 (en) * 2019-10-30 2021-05-06 维沃移动通信有限公司 Video sharing method and electronic device
WO2021197154A1 (en) * 2020-03-31 2021-10-07 维沃移动通信有限公司 Audio processing method, server, electronic device and computer-readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9437247B2 (en) * 2011-11-14 2016-09-06 Apple Inc. Preview display for multi-camera media clips
US9529510B2 (en) * 2014-03-07 2016-12-27 Here Global B.V. Determination of share video information
CN104159151B (en) * 2014-08-06 2017-12-05 哈尔滨工业大学深圳研究生院 A kind of device and method for carrying out video intercepting on OTT boxes and handling
CN104506937B (en) * 2015-01-06 2017-11-17 三星电子(中国)研发中心 Audio frequency and video share processing method and system
WO2017016339A1 (en) * 2015-07-27 2017-02-02 腾讯科技(深圳)有限公司 Video sharing method and device, and video playing method and device
CN113938759A (en) * 2021-10-19 2022-01-14 维沃移动通信有限公司 File sharing method and file sharing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093067A (en) * 2014-06-23 2014-10-08 广州三星通信技术研究有限公司 Device and method for sharing and playing audio and visual fragments in terminal
WO2021083168A1 (en) * 2019-10-30 2021-05-06 维沃移动通信有限公司 Video sharing method and electronic device
WO2021197154A1 (en) * 2020-03-31 2021-10-07 维沃移动通信有限公司 Audio processing method, server, electronic device and computer-readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023066100A1 (en) * 2021-10-19 2023-04-27 维沃移动通信有限公司 File sharing method and apparatus

Also Published As

Publication number Publication date
WO2023066100A1 (en) 2023-04-27

Similar Documents

Publication Publication Date Title
CN107172477B (en) Voting method and device
CN110087117B (en) Video playing method and terminal
WO2016197758A1 (en) Information recommendation system, method and apparatus
CN107846352B (en) Information display method and mobile terminal
CN104796743B (en) Content item display system, method and device
CN110784771B (en) Video sharing method and electronic equipment
CN110933511B (en) Video sharing method, electronic device and medium
CN108616771B (en) Video playing method and mobile terminal
CN108616448B (en) Information sharing path recommendation method and mobile terminal
CN107908765B (en) Game resource processing method, mobile terminal and server
CN110958485A (en) Video playing method, electronic equipment and computer readable storage medium
CN109495638B (en) Information display method and terminal
CN110719527A (en) Video processing method, electronic equipment and mobile terminal
CN108769822B (en) Video display method and terminal equipment
CN114025242A (en) Video processing method, video processing device and electronic equipment
CN114422461A (en) Message reference method and device
CN109672845B (en) Video call method and device and mobile terminal
CN109669710B (en) Note processing method and terminal
CN108462794B (en) Information display method and mobile terminal
WO2023066100A1 (en) File sharing method and apparatus
CN110471895B (en) Sharing method and terminal device
CN109857578B (en) Text copying method and electronic equipment
CN108804615B (en) Sharing method and server
CN110913256A (en) Video searching method and electronic equipment
CN110888572A (en) Message display method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination