CN112214774A - Permission setting method, file playing method and device and electronic equipment - Google Patents

Permission setting method, file playing method and device and electronic equipment Download PDF

Info

Publication number
CN112214774A
CN112214774A CN202011060332.0A CN202011060332A CN112214774A CN 112214774 A CN112214774 A CN 112214774A CN 202011060332 A CN202011060332 A CN 202011060332A CN 112214774 A CN112214774 A CN 112214774A
Authority
CN
China
Prior art keywords
target
data
user
input
identifier
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
CN202011060332.0A
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 CN202011060332.0A priority Critical patent/CN112214774A/en
Publication of CN112214774A publication Critical patent/CN112214774A/en
Priority to PCT/CN2021/120891 priority patent/WO2022068768A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Automation & Control Theory (AREA)
  • Storage Device Security (AREA)

Abstract

The application discloses an authority setting method, a file playing method and device and electronic equipment, belongs to the technical field of communication and aims to solve the problems of complex operation and low efficiency in a video sharing process. The method comprises the following steps: displaying N identifications under the condition of recording or playing a target multimedia file, wherein N is an integer greater than or equal to 1; receiving a first input of a target identifier of the N identifiers; responding to the first input, and setting the permission of the target user for viewing the target data; the target user is the user indicated by the target identification, and the target data is the data in the target multimedia file within the first time period. The method and the device are applied to a scene of setting the user permission.

Description

Permission setting method, file playing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an authority setting method, a file playing method, an authority setting device and electronic equipment.
Background
With the development of electronic devices, users frequently share multimedia files with other users using the electronic devices. When a user shares a multimedia file through an electronic device, there are often situations where it is not desirable for part of the content of the file to be shared.
Taking sharing a video file as an example, the user a wants to share the video file, but does not want other users to see a certain video clip in the video file. The user A can cut the video clip in the video file through a professional video editing application program in the electronic equipment; then, triggering the electronic equipment to store the cut video file; and finally, sharing the saved clipped video file to the other side through the electronic equipment.
However, when the user a wants to share the same video file with a plurality of other users, the user a does not want the video clips seen by the other users to be different for different other users, and if the user clips the video file in the above manner, the user may be required to repeatedly execute the above operation steps of the clipping process on the video file for a plurality of times. Therefore, the whole video sharing process is complex in operation and low in efficiency.
Disclosure of Invention
The embodiment of the application aims to provide an authority setting method, a file playing method and device and electronic equipment, and the problems of complex operation and low efficiency in a video sharing process can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for setting an authority, where the method includes: displaying N identifications under the condition of recording or playing a target multimedia file, wherein N is an integer greater than or equal to 1; receiving a first input of a target identifier of the N identifiers; responding to the first input, and setting the permission of the target user for viewing the target data; the target user is the user indicated by the target identification, and the target data is the data in the target multimedia file within the first time period.
In a second aspect, an embodiment of the present application provides an authority setting apparatus, including: the device comprises a display module, a receiving module and an execution module; the display module is used for displaying N identifiers under the condition of recording or playing a target multimedia file, wherein N is an integer greater than or equal to 1; the receiving module is used for receiving first input of a target identifier in the N identifiers displayed by the display module; the execution module is used for responding to the first input received by the receiving module and setting the permission of the target user for viewing the target data; the target user is the user indicated by the target identification, and the target data is the data in the target multimedia file within the first time period.
In a third aspect, an embodiment of the present application provides a file playing method, where the method includes: acquiring a target multimedia file, wherein the target multimedia file at least comprises first data in a second time period and second data in a third time period; the first data is data which is viewed by the owner user with permission, and the second data is data which is viewed by the owner user without permission; receiving a second input to the target multimedia file; and responding to the second input, playing the target multimedia file, and skipping second data in the playing process.
In a fourth aspect, an embodiment of the present application provides a file playing apparatus, where the file playing apparatus includes: the device comprises an acquisition module, a receiving module and a playing module; the acquisition module is used for acquiring a target multimedia file, wherein the target multimedia file at least comprises first data in a second time period and second data in a third time period; the first data is data which is viewed by the owner user with permission, and the second data is data which is viewed by the owner user without permission; the receiving module is used for receiving a second input of the target multimedia file acquired by the acquiring module; and the playing module is used for responding to the second input received by the receiving module, playing the target multimedia file and skipping over the second data in the playing process.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect or the third aspect.
In a sixth aspect, the present application provides 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 or third aspect.
In a seventh aspect, an embodiment of the present application provides 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 or the third aspect.
In this embodiment, first, in the case of recording or playing a target multimedia file, the permission setting device may display N identifiers. Then, the authority setting means may set the authority of the target user to view the target data after receiving the first input to the target identifier among the above N identifiers. The target user is the user indicated by the target identification, and the target data is the data in the target multimedia file within the first time period. Through the scheme, the user can quickly set the viewing permission of the target user for viewing the data in the target multimedia file through the displayed N identifiers. For example, when a user wants to share a video file 1 with a user a and a user B, but does not want the user a to view a segment 1 in the video file 1 and does not want the user B to view a segment 2 in the video file 1, the user can quickly set that the user a does not have permission to view the segment 1 in the video file 1 through input of the identifier corresponding to the user a, and quickly set that the user B does not have permission to view the segment 2 in the video file 1 through input of the identifier corresponding to the user B. Compared with the scheme that the electronic equipment needs to cut the segments 1 and the segments 2 in the video file 1 respectively in the prior art, then the video file 1 with the segments 1 cut off is sent to the user A, and the video file 1 with the segments 2 cut off is sent to the user B, the scheme has the advantages that the video file 1 does not need to be cut off, the viewing permission of the user for viewing the data of the video file 1 is set, and different users can view different data even if the same video file is shared. Therefore, the target multimedia file sharing process is simple and convenient to operate and high in efficiency.
Drawings
Fig. 1 is a schematic flowchart of a method for setting permissions according to an embodiment of the present application;
fig. 2 is one of schematic interfaces applied to a permission setting method according to an embodiment of the present application;
fig. 3 is a second schematic interface diagram of an application of a permission setting method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a file playing method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an authority setting apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a file playing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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. The objects distinguished by "first", "second", and the like are usually a class, and the number of the objects is not limited, and for example, the first object may be one or a plurality of objects. 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 permission setting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of an authority setting method provided in an embodiment of the present application, including steps 201 to 203:
step 201: and the authority setting device displays the N identifications under the condition of recording or playing the target multimedia file.
Wherein one identifier indicates at least one user and N is an integer greater than or equal to 1.
In an embodiment of the present application, the target multimedia file may include at least one of the following: video files and audio files, which are not limited in the embodiments of the present application.
In the embodiment of the present application, the identifier in the present application may include at least one of: characters and pictures, which are not limited in this application.
In this embodiment of the application, the N identifiers may be displayed in any area of the screen of the authority setting device. For example, the N flags may be displayed in an upper area of the screen, or displayed in a lower area of the screen, or displayed in a left area of the screen, or displayed in a right area of the screen, or displayed in an upper left area of the screen, or displayed in an upper right area of the screen, or displayed in a lower left area of the screen, or displayed in a lower right area of the screen, which is not limited in this embodiment of the application.
In an example, in a case where the authority setting apparatus has a waterfall screen, the N identifiers may be displayed in a side area of the waterfall screen. For example, as shown in fig. 2, taking the authority setting device as a mobile phone as an example, a left area 31a of a waterfall screen 31 of the mobile phone displays 4 identifiers, and a right area 31b displays 2 identifiers. Wherein, the 4 identifiers are respectively "group 1", "group 2", "group 3" and "group 4", and the 2 identifiers are respectively "local" and "public".
Step 202: the authority setting device receives a first input of a target identifier among the N identifiers.
In the embodiment of the present application, one or more target marks may be provided, and the embodiment of the present application is not limited thereto.
In this embodiment of the application, the first input may be a click input of a target identifier by a user, or a voice instruction input by the user, or a specific gesture input by the user, which may be determined specifically according to an actual use requirement, and this is not limited in this embodiment of the present invention.
The specific gesture in the embodiment of the invention can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the invention can be click input, double-click input or click input of any number of times, and can also be long-press input or short-press input.
Step 203: in response to the first input, the authority setting means sets the authority of the target user to view the target data.
The target user is the user indicated by the target identifier, and the target data is data in a first time period in the target multimedia file.
In the embodiment of the present application, the permission is to view the data in the target multimedia file, or to view the data in the target multimedia file without permission.
In this embodiment of the present application, the target data may be default data of the system or set by the user, which is not limited in this embodiment of the present application.
In this embodiment of the present application, the target user may be one user or multiple users, which is not limited in this embodiment of the present application.
It is to be understood that one target identifier may indicate one user, or may indicate multiple users, which is not limited in this embodiment of the application. Wherein, a plurality of users can be a user group. In an example, the user group may be a user group existing in the electronic device. For example, the user group described above may be a user group in a social application.
In an embodiment of the present application, the target user may include at least one of the following: the owner of the electronic device is any user except the owner.
In the embodiment of the application, different first inputs correspond to different authorities. For example, when the user clicks the target identifier, the corresponding right may be a right to view data in the target multimedia file; or, in the case that the user double-clicks the target identifier, the corresponding right may be no right to view the data in the target multimedia file.
For example, referring to fig. 2, taking the example that a user of a mobile phone wants to share a video file 1 with other users, assuming that the total duration of the video file 1 is 8 minutes, the mobile phone can divide the total duration of the video file 1 into 3 time periods, where the 3 time periods are 0 to 3 minutes, 4 to 5 minutes, and 6 to 8 minutes, respectively. If the user wants the 0 th to 3 rd minutes of the video file 1 to be visible to all people, when the playing time point of the video file 1 is any time point between the 0 th to 3 rd minutes, the user can click the public identification, and at the moment, the mobile phone sets the 0 th to 3 rd minutes of the video file 1 to be visible to all people; if the user wants that the 4 th to 5 th minutes of the video file 1 are only visible to the user indicated by the group 1, when the playing time point of the video file 1 is any time point between the 4 th to 5 th minutes, the user can click the 'group 1' mark, and at the moment, the mobile phone sets the 4 th to 5 th minutes of the video file 1 to be visible to the user indicated by the group 1; if the user wants that the 6 th to 8 th minutes of the video file 1 are only visible to the users indicated by the group 2 and the group 3, when the playing time point of the video file 1 is any time point between the 6 th to 8 th minutes, the user can simultaneously click the 'group 2' identifier and the 'group 3' identifier, and at this time, the mobile phone sets the 6 th to 8 th minutes of the video file 1 to be visible to the users indicated by the group 2 and the group p 3. Thus, when other users receive video file 1, the users indicated by group 1 can view the 0 th to 5 th minutes in video file 1, the users indicated by groups 2 and 3 can view the 0 th to 3 th minutes and the 6 th to 8 th minutes in video file 1, and the users other than the users indicated by groups 1, 2, and 3 (e.g., the users indicated by group 4) among the other users can view only the 0 th to 3 th minutes in video file 1.
It should be noted that the mobile phone may not display the "public" identifier, and it is understood that when the user of the mobile phone does not select any other identifier, the mobile phone determines that the data of the video file is visible to all people.
It should be noted that, as the viewing permission for the user indicated by the target identifier to view the target data can be understood, the permission setting device may set identifier bits for data at different positions in the target multimedia file, where one identifier bit corresponds to one identifier. Then, the permission setting device can share the target multimedia file containing the identification bit to other users, when other users receive the target multimedia file, the permission setting device indicates that the other users have permission to view the data corresponding to the identification bit only under the condition that the identifications of the other users are matched with the identifications corresponding to the identification bit, and indicates that the other users have no permission to view the data corresponding to the identification bit under the condition that the identifications of the other users are not matched with the identifications corresponding to the identification bit.
It should be noted that the permission setting device may store the target multimedia file and the target multimedia file containing the identification bit, or the permission setting device may replace the original target multimedia file with the target multimedia file containing the identification bit.
Alternatively, in the embodiment of the present application, the permission setting device may determine the first time period in at least two possible manners.
In a first example, in a case that the first input is a long press input, the first time period may be a time period corresponding to recording or playing of the target multimedia file during the process of receiving the first input.
It will be appreciated that the first time period described above is the period from the beginning of the first input until the end of the first input. For example, the first time period may be a time period between a point in time when the user's finger begins to press against the target identification corresponding target multimedia file and a point in time when the user's finger lifts off to stop pressing the corresponding target multimedia file.
In a second example, the first input may be an input when the target multimedia file is recorded or played to a first time point, and the first time period may be a time period before or after the first time point.
For example, the time period before or after the first time point may be set by default in the system, or may be set by a user, which is not limited in this embodiment of the application.
According to the permission setting method provided by the embodiment of the application, firstly, under the condition of recording or playing the target multimedia file, the permission setting device can display N identifications. Then, the authority setting means may set the authority of the target user to view the target data after receiving the first input to the target identifier among the above N identifiers. The target user is the user indicated by the target identification, and the target data is the data in the target multimedia file within the first time period. Through the scheme, the user can quickly set the viewing permission of the target user for viewing the data in the target multimedia file through the displayed N identifiers. For example, when a user wants to share a video file 1 with a user a and a user B, but does not want the user a to view a segment 1 in the video file 1 and does not want the user B to view a segment 2 in the video file 1, the user can quickly set that the user a does not have permission to view the segment 1 in the video file 1 through input of the identifier corresponding to the user a, and quickly set that the user B does not have permission to view the segment 2 in the video file 1 through input of the identifier corresponding to the user B. Compared with the scheme that the electronic equipment needs to cut the segments 1 and the segments 2 in the video file 1 respectively in the prior art, then the video file 1 with the segments 1 cut off is sent to the user A, and the video file 1 with the segments 2 cut off is sent to the user B, the scheme has the advantages that the video file 1 does not need to be cut off, the viewing permission of the user for viewing the data of the video file 1 is set, and different users can view different data even if the same video file is shared. Therefore, the target multimedia file sharing process is simple and convenient to operate and high in efficiency.
Optionally, in this embodiment of the application, the permission setting device may perform different operations in a case where the target identifiers are different.
In a first example, the setting of the permission of the target user to view the target data in step 203 may specifically include the following step 203 a:
step 203 a: and under the condition that the target identification comprises the first identification, the permission setting device only sets that the owner user has permission to view the target data.
For example, referring to fig. 2, taking the example that a user of a mobile phone wants to share a video file 1 with other users, assuming that the total duration of the video file 1 is 8 minutes, the mobile phone can divide the total duration of the video file 1 into 3 time periods, where the 3 time periods are 0 to 3 minutes, 4 to 5 minutes, and 6 to 8 minutes, respectively. If the user wants that the 0 th to 3 rd minutes of the video file 1 are only visible by himself, when the playing time point of the video file 1 is any time point between the 0 th and 3 rd minutes, the user can click the "local" identifier (i.e. the first identifier), and at this time, the mobile phone sets the 0 th to 3 rd minutes of the video file 1 to be visible only by the owner user.
In a second example, the setting of the permission of the target user to view the target data in step 203 may specifically include the following step 203 b:
step 203 a: and under the condition that the target identification comprises the second identification, the permission setting device sets that all users have permission to view the target data.
For example, referring to fig. 2, taking the example that a user of a mobile phone wants to share a video file 1 with other users, assuming that the total duration of the video file 1 is 8 minutes, the mobile phone can divide the total duration of the video file 1 into 3 time periods, where the 3 time periods are 0 to 3 minutes, 4 to 5 minutes, and 6 to 8 minutes, respectively. If the user wants the 0 th to 3 rd minutes of the video file 1 to be visible to all users, the user can click the "public" identifier (i.e. the second identifier) when the playing time point of the video file 1 is any time point between the 0 th and 3 rd minutes, and at this time, the mobile phone sets the 0 th to 3 rd minutes of the video file 1 to be visible to all users.
In a third example, the setting of the permission of the target user to view the target data in step 203 may specifically include the following step 203 c:
step 203 c: and under the condition that the target identification comprises the first identification and the third identification, the permission setting device sets that the owner user has permission to view the target data and sets that at least one first user has no permission to view the target data.
For example, the target identifier may include a first identifier and a third identifier, where the first identifier indicates the owner user, and the third identifier indicates at least one first user different from the owner user.
The third mark and the second mark may be the same mark or different marks, and the embodiment of the present application is not limited thereto.
It is to be understood that, after the permission setting means receives the input for setting the permission of the owner user to view the target data and the permission of the at least one first user to view the target data, the permission setting means may respond only to the input for setting the permission of the owner user to view the target data. Therefore, when the master user wants the target data to be visible only, if the owner user mistakenly clicks the identifier for setting that at least one first user has the authority to view the target data, the authority setting device can only set that the owner user has the authority to view the target data, and set that the at least one first user does not have the authority to view the target data, so that data leakage is prevented, and data safety is improved.
The permission setting method provided by the embodiment of the application can be applied to a scene of setting permissions of different users according to different identifications, and the users can quickly set the permissions of the users corresponding to the target identifications according to the input of the different identifications.
Optionally, in this embodiment of the application, the permission setting device may display the identifiers in different display areas, and quickly set whether the user has permission to view the data in the target multimedia file or has no permission to view the data in the target multimedia file through the different display areas.
For example, the N identifiers may include a first identifier group and a second identifier group, where the first identifier group and the second identifier group each include N/2 identifiers, the identifiers in the first identifier group and the identifiers in the second identifier group are in one-to-one correspondence, and N is an even number greater than 1.
The N identifications can be displayed in the suspension control; the first identification group is displayed in a first area of the suspension control, and the second identification group is displayed in a second area of the suspension control; the identifier displayed in the first area is used for indicating that the target multimedia file has permission to view the data, the identifier displayed in the second area is used for indicating that the target multimedia file has no permission to view the data, and the floating control comprises a target button.
The first input may be input of a target identifier displayed in a target area of the hover control by dragging a target button by a user, where the target area is the first area or the second area.
It is to be understood that the identifiers in the first identifier group and the identifiers in the second identifier group may be the same or different, and this is not limited in this embodiment of the application. For example, the colors of the identifiers in the first identifier group and the identifiers in the second identifier group may be different.
In one example, when the user presses the target button for a long time, the permission setting device may be triggered to close the set viewing permission. For example, the target button may move as the user's finger drags.
For example, taking the example that the mobile phone user wants to share the video file 1 with other users as an example, as shown in fig. 3, a circular control 41 is displayed on the mobile phone screen, and the circular control 41 includes a left half area 41a (i.e., the first area), a right half area 41b (i.e., the second area), and a black button 41 c. The circular control 41 has 8 identifiers displayed therein, wherein 4 identifiers are displayed in the left half area 41a, and are respectively "group 1", "group 2", "local", and "public"; also shown in the right half 41b are 4 identifiers, respectively "group 1", "group 2", "local", and "public". When the user wants the 0 th to 2 th minutes of the video file 1 to be visible to the user indicated by the group 1, the user can drag the black button 41c to the area where the "group 1" mark in the left half area 41a is located, and at this time, the user indicated by the mobile phone setting group 1 has the right to view the 0 th to 2 th minutes of the video file 1; when the user wants that the 0 th to 2 th minutes of the video file 1 are invisible to the user indicated by the group 1, the user can drag the black button 41c to the area where the "group 1" mark is located in the right half area 41b, and at this time, the user indicated by the mobile phone setting group 1 does not have the right to view the 0 th to 2 th minutes of the video file 1.
The permission setting method provided by the embodiment of the application can be applied to a scene of quickly setting viewing permission in a subarea, the permission setting device can display the N/2 identifications in the first area and the second area, and because the identification displayed in the first area indicates that the permission is provided for viewing the data in the target multimedia file and the identification displayed in the second area indicates that the permission is not provided for viewing the data in the target multimedia file, a user can quickly set viewing permission by dragging the target button to the target area.
Optionally, in this embodiment of the application, in a case that the first time period is a time period before or after the first time point, the authority setting device may set the authority in at least two possible following manners.
In a first implementation (the first time period being a time period after the first time point):
for example, in the case that the target state is recording or playing the target multimedia file, before the step 202, the method may further include the following steps a1 and a 2:
step A1: the permission setting means receives a third input.
For example, the third input may be a click input of the user on the screen, or a voice command input by the user, or a specific gesture input by the user, which may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
Step A2: in response to the third input, the permission setting means sets that the second user has permission to view the file after the second point in time.
For example, the second user may be the above-mentioned owner user, or may also be the above-mentioned first user, which is not limited in this embodiment of the application.
For example, the second time point may be the same as the time point when the authority setting device receives the third input, or may be different from the time point when the authority setting device receives the third input, which is not limited in this embodiment of the application. For example, when the second time point is a recording start time point, the second time point may be a time point when the permission setting device receives the third input, or may be a time point after the time point when the permission setting device receives the third input.
Based on the above steps a1 and a2, the setting of the permission of the target user to view the target data in the step 203 may specifically include the following steps 203 d:
step 203 d: the permission setting device sets that the target user has permission to view the data after the first time point, and sets that the second user has no permission to view the data after the first time point.
Wherein the first time point is later than the second time point.
It should be noted that the data corresponding to the time period after the first time point is the target data, and the target user is different from the second user.
For example, taking a mobile phone user recording a conference video by using a mobile phone as an example, with reference to fig. 2, the mobile phone user may click the "group 1" identifier (i.e., the third input) before recording the conference video, and then the mobile phone user may click the "record" button to start recording the conference video, at this time, the user corresponding to the mobile phone setting group 1 has an authority to view the video after 0 th minute of the conference video. When the conference video is recorded for 3 minutes, if the mobile phone user wants the video after 3 minutes to be invisible to the user corresponding to the group 1 and the user corresponding to the group 2, the mobile phone user can click the "group 2" identifier (i.e. the first input), at this time, the user corresponding to the mobile phone setting group 2 has the right to view the video after 3 minutes of the conference video, and the user corresponding to the group 1 has no right to view the video after 3 minutes of the conference video.
In a second implementation (the first time period being a time period before the first time point):
for example, in the case that the target state is recording or playing the target multimedia file, before the step 202, the method may further include the following steps B1 and B2:
step B1: the permission setting means receives a fourth input.
For example, the fourth input may be a click input of the user on the screen, or a voice command input by the user, or a specific gesture input by the user, which may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
Step B2: in response to the fourth input, the permission setting means sets that the third user has permission to view the file before the third point in time.
For example, the third user may be the above-mentioned owner user, or may also be the above-mentioned first user, which is not limited in this embodiment of the application.
The time point when the authority setting device receives the fourth input may be the same as the third time point, or may be different from the time point when the authority setting device receives the fourth input, which is not limited in this embodiment of the application. For example, the time point when the permission setting device receives the fourth input may be the third time point, or may be a time point after the third time point by a preset time length (e.g., 1 second).
Based on the above steps B1 and B2, the step 203 of setting the right of the target user to view the target data may specifically include the following steps 203 e:
step 203 e: the permission setting device sets that the target user has permission to view the data later than the third time point and earlier than the first time point.
Wherein the first time point is later than the third time point.
It should be noted that the data later than the third time point and earlier than the first time point is the target data.
For example, taking the case that a mobile phone user records a conference video by using a mobile phone, with reference to fig. 2, the mobile phone user may click a "record" button to start recording the conference video. When the conference video is recorded for 3 minutes, if the mobile phone user wants the video before 3 minutes to be visible to the user corresponding to the group 1, the mobile phone user can click the "group 1" identifier (i.e., the fourth input), and at this time, the user corresponding to the mobile phone set group 1 has the right to view the videos of 0 th to 3 th minutes of the conference video. When the conference video is recorded for 6 minutes, if the mobile phone user wants the video of 3 rd to 6 th minutes to be visible to the user corresponding to the group 2, the mobile phone user can click the 'group 2' identifier (i.e. the first input), and at this time, the user corresponding to the mobile phone setting group 2 has the right to view the video of 3 rd to 6 th minutes of the conference video.
The permission setting method provided by the embodiment of the application can be applied to a scene of setting the viewing permission when a target multimedia file is recorded or played, the permission setting device can set the viewing permission for the file which is not recorded or not played in advance, and can also set the viewing permission for the file which is recorded or played, so that the permission setting device can set the permission more flexibly under the condition of recording or playing the target multimedia file.
In this application, the time point is understood to be a time point.
The following describes in detail the file playing method provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 4 is a schematic flowchart of a file playing method according to an embodiment of the present application, including steps 501 to 503:
step 501: the file playing device acquires a target multimedia file.
The target multimedia file at least comprises first data in a second time period and second data in a third time period. The first data is data which is viewed by the owner user with permission, and the second data is data which is viewed by the owner user without permission.
In an embodiment of the present application, the target multimedia file may include at least one of the following: video files and audio files, which are not limited in the embodiments of the present application.
For example, the target multimedia file may be a multimedia file downloaded by a file playing device, or a multimedia file sent by a target device, or a multimedia file in a local storage area of the file playing device, which is not limited in this embodiment of the present application. The target device may be a server, the authority setting apparatus described above, or any other possible device, which is not limited in this embodiment of the present application.
For example, the first data may be the target data, or may be different from the target data, and the embodiment of the present application does not limit this. The second data may be the target data, or may be different from the target data, and this is not limited in the embodiment of the present application.
Step 502: the file playing device receives a second input to the target multimedia file.
In this embodiment of the application, the second input may be a click input of a target multimedia file by a user, or a voice instruction input by the user, or a specific gesture input by the user, which may be determined according to an actual use requirement, and this is not limited in this embodiment of the present invention.
Step 503: in response to the second input, the file playing device plays the target multimedia file and skips over the second data during the playing process.
It is to be understood that skipping the second data during playing as described above can be understood as skipping the third time period during playing.
For example, the mobile phone acquires a video file 1, where the video file 1 includes 2 time periods, and the 2 time periods are 0 to 3 minutes and 4 to 5 minutes, respectively. Wherein, the mobile phone user has no authority to view the 0 th to 3 th minutes of the video file 1, and has the authority to view the 4 th to 5 th minutes of the video file 1. When the mobile phone user wants to watch the video file 1, the mobile phone user can click the 'play' key of the video file 1, and at the moment, the mobile phone skips the 0 th to 3 th minutes of the video file 1 and normally plays the 4 th to 5 th minutes of the video file 1.
In the file playing method provided by the embodiment of the application, first, the file playing device may obtain the target multimedia file, and then, after receiving the second input to the target multimedia file, the file playing device may play the target multimedia file and skip the second data in the playing process. Wherein the target multimedia file comprises at least first data in a second time period and second data in a third time period; the first data is data which is viewed by the owner user with permission, and the second data is data which is viewed by the owner user without permission. By the scheme, after the file playing device acquires the target multimedia file, the target multimedia file can be played according to whether the owner user is set with the permission to view the data in the target multimedia file.
It should be noted that, in the authority setting method provided in the embodiment of the present application, the execution main body may be an authority setting device, or a control module in the authority setting device for executing the authority setting method. In the embodiment of the present application, an authority setting device executes an authority setting method as an example, and the authority setting device provided in the embodiment of the present application is described.
Fig. 5 is a schematic diagram of a possible structure of an authority setting apparatus for implementing the embodiment of the present application, and as shown in fig. 5, the authority setting apparatus 600 includes: a display module 601, a receiving module 602 and an execution module 603; the display module 601 is configured to display N identifiers when a target multimedia file is recorded or played, where N is an integer greater than or equal to 1; a receiving module 602, configured to receive a first input of a target identifier in the N identifiers displayed by the display module 601; an executing module 603, configured to set, in response to the first input received by the receiving module 602, an authority of the target user to view the target data; the target user is the user indicated by the target identification, and the target data is the data in the target multimedia file within the first time period.
Optionally, in a case that the first input is a long press input, the first time period is a time period corresponding to recording or playing of the target multimedia file in a process of receiving the first input.
Optionally, the first input is an input when the target multimedia file is recorded or played to a first time point, and the first time period is a time period before or after the first time point.
Optionally, the executing module 603 is specifically configured to: under the condition that the target identifier comprises a first identifier, only setting that an owner user has the authority to view target data; or, in the case that the target identifier includes the second identifier, all users are set to have authority to view the target data.
Optionally, the N identifiers include a first identifier group and a second identifier group, where the first identifier group and the second identifier group each include N/2 identifiers, the identifiers in the first identifier group and the identifiers in the second identifier group are in one-to-one correspondence, and N is an even number greater than 1; the N identifications are displayed in the suspension control; a first identification group is displayed in a first area of the suspension control, and a second identification group is displayed in a second area of the suspension control; the identifier displayed in the first area is used for indicating that the data in the target multimedia file is viewed with permission, the identifier displayed in the second area is used for indicating that the data in the target multimedia file is viewed without permission, and the floating control comprises a target button; the first input is input of a target mark displayed in a target area of the floating control by dragging a target button by a user, and the target area is a first area or a second area.
According to the permission setting device provided by the embodiment of the application, firstly, under the condition of recording or playing the target multimedia file, the permission setting device can display N identifications. Then, the authority setting means may set the authority of the target user to view the target data after receiving the first input to the target identifier among the above N identifiers. The target user is the user indicated by the target identification, and the target data is the data in the target multimedia file within the first time period. Through the scheme, the user can quickly set the viewing permission of the target user for viewing the data in the target multimedia file through the displayed N identifiers. For example, when a user wants to share a video file 1 with a user a and a user B, but does not want the user a to view a segment 1 in the video file 1 and does not want the user B to view a segment 2 in the video file 1, the user can quickly set that the user a does not have permission to view the segment 1 in the video file 1 through input of the identifier corresponding to the user a, and quickly set that the user B does not have permission to view the segment 2 in the video file 1 through input of the identifier corresponding to the user B. Compared with the scheme that the electronic equipment needs to cut the segments 1 and the segments 2 in the video file 1 respectively in the prior art, then the video file 1 with the segments 1 cut off is sent to the user A, and the video file 1 with the segments 2 cut off is sent to the user B, the scheme has the advantages that the video file 1 does not need to be cut off, the viewing permission of the user for viewing the data of the video file 1 is set, and different users can view different data even if the same video file is shared. Therefore, the target multimedia file sharing process is simple and convenient to operate and high in efficiency.
The authority setting device in the embodiment of the present application may be a device, or may 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, a vehicle-mounted 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 (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The authority setting device in the embodiment of the present application may be a device 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 permission setting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 3, and is not described here again to avoid repetition.
It should be noted that, in the file playing method provided in the embodiment of the present application, the execution main body may be a file playing device, or a control module in the file playing device for executing the file playing method. In the embodiment of the present application, a file playing device executing a file playing method is taken as an example to describe the file playing device provided in the embodiment of the present application.
Fig. 6 is a schematic diagram of a possible structure of a file playing apparatus for implementing the embodiment of the present application, and as shown in fig. 6, the file playing apparatus 700 includes: an acquisition module 701, a receiving module 702 and a playing module 703; the acquiring module 701 is configured to acquire a target multimedia file, where the target multimedia file at least includes first data in a second time period and second data in a third time period; the first data is data which is viewed by the owner user with permission, and the second data is data which is viewed by the owner user without permission; a receiving module 702, configured to receive a second input to the target multimedia file acquired by the acquiring module 701; the playing module 703 is configured to play the target multimedia file in response to the second input received by the receiving module 702, and skip the second data during the playing process.
According to the permission setting device provided by the embodiment of the application, firstly, the file playing device can acquire the target multimedia file, then, after receiving the second input to the target multimedia file, the file playing device can play the target multimedia file, and the second data is skipped in the playing process. Wherein the target multimedia file comprises at least first data in a second time period and second data in a third time period; the first data is data which is viewed by the owner user with permission, and the second data is data which is viewed by the owner user without permission. By the scheme, after the file playing device acquires the target multimedia file, the target multimedia file can be played according to whether the owner user is set with the permission to view the data in the target multimedia file.
The authority setting device in the embodiment of the present application may be a device, or may 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, a vehicle-mounted 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 (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The authority setting device in the embodiment of the present application may be a device 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 permission setting device provided by the embodiment of the application can play the file in each process realized by the embodiment of the method, and is not repeated here to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction that is stored in the memory 802 and is executable on the processor 801, and when the program or the instruction is executed by the processor 801, the process of the above-mentioned embodiment of the permission setting method or the file playing method 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. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 106 is configured to display N identifiers when the target multimedia file is recorded or played, where N is an integer greater than or equal to 1; a user input unit 107 for receiving a first input of a target identifier among the N identifiers displayed by the display unit 106; a processor 110 for setting a right of a target user to view target data in response to the first input received by the user input unit 107; the target user is the user indicated by the target identification, and the target data is the data in the target multimedia file within the first time period.
Optionally, in a case that the first input is a long press input, the first time period is a time period corresponding to recording or playing of the target multimedia file in a process of receiving the first input.
Optionally, the first input is an input when the target multimedia file is recorded or played to a first time point, and the first time period is a time period before or after the first time point.
Optionally, the processor 110 is specifically configured to: under the condition that the target identifier comprises a first identifier, only setting that an owner user has the authority to view target data; or, in the case that the target identifier includes the second identifier, all users are set to have authority to view the target data.
Optionally, the N identifiers include a first identifier group and a second identifier group, where the first identifier group and the second identifier group each include N/2 identifiers, the identifiers in the first identifier group and the identifiers in the second identifier group are in one-to-one correspondence, and N is an even number greater than 1; the N identifications are displayed in the suspension control; a first identification group is displayed in a first area of the suspension control, and a second identification group is displayed in a second area of the suspension control; the identifier displayed in the first area is used for indicating that the data in the target multimedia file is viewed with permission, the identifier displayed in the second area is used for indicating that the data in the target multimedia file is viewed without permission, and the floating control comprises a target button; the first input is input of a target mark displayed in a target area of the floating control by dragging a target button by a user, and the target area is a first area or a second area.
According to the electronic device provided by the embodiment of the application, firstly, under the condition of recording or playing the target multimedia file, the electronic device can display N identifiers. Then, the electronic device may set a right of the target user to view the target data after receiving the first input of the target identifier of the N identifiers. The target user is the user indicated by the target identification, and the target data is the data in the target multimedia file within the first time period. Through the scheme, the user can quickly set the viewing permission of the target user for viewing the data in the target multimedia file through the displayed N identifiers. For example, when a user wants to share a video file 1 with a user a and a user B, but does not want the user a to view a segment 1 in the video file 1 and does not want the user B to view a segment 2 in the video file 1, the user can quickly set that the user a does not have permission to view the segment 1 in the video file 1 through input of the identifier corresponding to the user a, and quickly set that the user B does not have permission to view the segment 2 in the video file 1 through input of the identifier corresponding to the user B. Compared with the scheme that the electronic equipment needs to cut the segments 1 and the segments 2 in the video file 1 respectively in the prior art, then the video file 1 with the segments 1 cut off is sent to the user A, and the video file 1 with the segments 2 cut off is sent to the user B, the scheme has the advantages that the video file 1 does not need to be cut off, the viewing permission of the user for viewing the data of the video file 1 is set, and different users can view different data even if the same video file is shared. Therefore, the target multimedia file sharing process is simple and convenient to operate and high in efficiency.
Alternatively, the first and second electrodes may be,
wherein: a radio frequency unit 101, configured to acquire a target multimedia file, where the target multimedia file at least includes first data in a second time period and second data in a third time period; the first data is data which is viewed by the owner user with permission, and the second data is data which is viewed by the owner user without permission; a user input unit 107, configured to receive a second input to the target multimedia file acquired by the radio frequency unit 101; and an audio output unit 103 for playing the target multimedia file in response to the second input received by the user input unit 107, and skipping second data during playing.
According to the electronic device provided by the embodiment of the application, firstly, the electronic device can acquire the target multimedia file, and then, after receiving the second input to the target multimedia file, the electronic device can play the target multimedia file and skip the second data in the playing process. Wherein the target multimedia file comprises at least first data in a second time period and second data in a third time period; the first data is data which is viewed by the owner user with permission, and the second data is data which is viewed by the owner user without permission. By the scheme, after the electronic equipment acquires the target multimedia file, the target multimedia file can be played according to whether the owner user is set with the permission to view the data in the target multimedia file.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 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. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
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 above-mentioned embodiment of the permission setting method or the file playing method, 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 electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
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 run a program or an instruction to implement each process of the above-mentioned permission setting method or file playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
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 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, an air conditioner, 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 (14)

1. A method for setting permissions, the method comprising:
displaying N identifications under the condition of recording or playing a target multimedia file, wherein N is an integer greater than or equal to 1;
receiving a first input to a target identifier of the N identifiers;
setting the authority of the target user to view the target data in response to the first input; the target user is the user indicated by the target identifier, and the target data is data in the target multimedia file within a first time period.
2. The method of claim 1, wherein, when the first input is a long press input, the first time period is a time period corresponding to recording or playing the target multimedia file during receiving the first input.
3. The method of claim 1, wherein the first input is an input when recording or playing a target multimedia file to a first time point, and wherein the first time period is a time period before or after the first time point.
4. The method of any one of claims 1 to 3, wherein the setting of the right of the target user to view the target data comprises:
only setting that an owner user has authority to view target data under the condition that the target identifier comprises a first identifier; alternatively, the first and second electrodes may be,
and under the condition that the target identification comprises the second identification, setting that all users have the authority to view the target data.
5. The method according to claim 1, wherein the N identifiers comprise a first identifier group and a second identifier group, the first identifier group and the second identifier group each comprise N/2 identifiers, the identifiers in the first identifier group and the identifiers in the second identifier group are in one-to-one correspondence, and N is an even number greater than 1;
the N identifications are displayed in the suspension control; the first identification group is displayed in the first area of the suspension control, and the second identification group is displayed in the second area of the suspension control; the identifier displayed in the first area is used for indicating that the data in the target multimedia file is viewed with permission, the identifier displayed in the second area is used for indicating that the data in the target multimedia file is viewed without permission, and the floating control comprises a target button;
the first input is input of a target identifier displayed by dragging the target button to a target area of the floating control by a user, and the target area is the first area or the second area.
6. A method for playing a file, the method comprising:
acquiring a target multimedia file, wherein the target multimedia file at least comprises first data in a second time period and second data in a third time period; the first data is data which is viewed by an owner user with permission, and the second data is data which is viewed by the owner user without permission;
receiving a second input to the target multimedia file;
and responding to the second input, playing the target multimedia file, and skipping the second data in the playing process.
7. An authority setting apparatus characterized by comprising: the device comprises a display module, a receiving module and an execution module;
the display module is used for displaying N identifiers under the condition of recording or playing a target multimedia file, wherein N is an integer greater than or equal to 1;
the receiving module is used for receiving a first input of a target identifier in the N identifiers displayed by the display module;
the execution module is used for responding to the first input received by the receiving module and setting the permission of the target user for viewing the target data; the target user is the user indicated by the target identifier, and the target data is data in the target multimedia file within a first time period.
8. The permission setting device of claim 7, wherein, when the first input is a long press input, the first time period is a time period corresponding to recording or playing the target multimedia file during receiving the first input.
9. The apparatus of claim 7, wherein the first input is an input when a target multimedia file is recorded or played to a first time point, and the first time period is a time period before or after the first time point.
10. The permission setting apparatus according to any one of claims 7 to 9, wherein the execution module is specifically configured to:
only setting that an owner user has authority to view target data under the condition that the target identifier comprises a first identifier; alternatively, the first and second electrodes may be,
and under the condition that the target identification comprises the second identification, setting that all users have the authority to view the target data.
11. The permission setting device of claim 7, wherein the N identifiers include a first identifier group and a second identifier group, the first identifier group and the second identifier group each include N/2 identifiers, the identifiers in the first identifier group and the identifiers in the second identifier group are in one-to-one correspondence, and N is an even number greater than 1;
the N identifications are displayed in the suspension control; the first identification group is displayed in the first area of the suspension control, and the second identification group is displayed in the second area of the suspension control; the identifier displayed in the first area is used for indicating that the data in the target multimedia file is viewed with permission, the identifier displayed in the second area is used for indicating that the data in the target multimedia file is viewed without permission, and the floating control comprises a target button;
the first input is input of a target identifier displayed by dragging the target button to a target area of the floating control by a user, and the target area is the first area or the second area.
12. A file playback apparatus, characterized in that the file playback apparatus comprises: the device comprises an acquisition module, a receiving module and a playing module;
the acquisition module is used for acquiring a target multimedia file, wherein the target multimedia file at least comprises first data in a second time period and second data in a third time period; the first data is data which is viewed by an owner user with permission, and the second data is data which is viewed by the owner user without permission;
the receiving module is used for receiving a second input of the target multimedia file acquired by the acquiring module;
the playing module is configured to play the target multimedia file in response to the second input received by the receiving module, and skip the second data during playing.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the rights setting method of any one of claims 1 to 5, or implementing the steps of the file playing method of claim 6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the rights setting method of any one of claims 1 to 5, or implement the steps of the file playing method of claim 6.
CN202011060332.0A 2020-09-30 2020-09-30 Permission setting method, file playing method and device and electronic equipment Pending CN112214774A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011060332.0A CN112214774A (en) 2020-09-30 2020-09-30 Permission setting method, file playing method and device and electronic equipment
PCT/CN2021/120891 WO2022068768A1 (en) 2020-09-30 2021-09-27 Permission setting method and apparatus, file playback method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011060332.0A CN112214774A (en) 2020-09-30 2020-09-30 Permission setting method, file playing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112214774A true CN112214774A (en) 2021-01-12

Family

ID=74050964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011060332.0A Pending CN112214774A (en) 2020-09-30 2020-09-30 Permission setting method, file playing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112214774A (en)
WO (1) WO2022068768A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113271378A (en) * 2021-04-25 2021-08-17 维沃移动通信有限公司 Image processing method and device and electronic equipment
WO2022068768A1 (en) * 2020-09-30 2022-04-07 维沃移动通信有限公司 Permission setting method and apparatus, file playback method and apparatus, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200430A (en) * 2012-01-04 2013-07-10 华为终端有限公司 Personal content sharing method, system, server and terminal devices
CN103686396A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN103686250A (en) * 2013-12-24 2014-03-26 深圳市龙视传媒有限公司 Method for sharing fragment of media file and relevant devices
CN108650547A (en) * 2018-05-09 2018-10-12 北京奇艺世纪科技有限公司 A kind of video sharing method, apparatus and equipment
CN111464428A (en) * 2020-03-31 2020-07-28 维沃移动通信有限公司 Audio processing method, server, electronic device, and computer-readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170270974A1 (en) * 2016-03-21 2017-09-21 Le Holdings (Beijing) Co., Ltd. Method for Controlling Multimedia and Electronic Device
CN107333182A (en) * 2017-06-19 2017-11-07 北京小米移动软件有限公司 The player method and device of multimedia file
CN111027030B (en) * 2019-11-26 2022-11-04 维沃移动通信有限公司 Permission setting method and terminal device
CN112214774A (en) * 2020-09-30 2021-01-12 维沃移动通信有限公司 Permission setting method, file playing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200430A (en) * 2012-01-04 2013-07-10 华为终端有限公司 Personal content sharing method, system, server and terminal devices
CN103686396A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN103686250A (en) * 2013-12-24 2014-03-26 深圳市龙视传媒有限公司 Method for sharing fragment of media file and relevant devices
CN108650547A (en) * 2018-05-09 2018-10-12 北京奇艺世纪科技有限公司 A kind of video sharing method, apparatus and equipment
CN111464428A (en) * 2020-03-31 2020-07-28 维沃移动通信有限公司 Audio processing method, server, electronic device, and computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022068768A1 (en) * 2020-09-30 2022-04-07 维沃移动通信有限公司 Permission setting method and apparatus, file playback method and apparatus, and electronic device
CN113271378A (en) * 2021-04-25 2021-08-17 维沃移动通信有限公司 Image processing method and device and electronic equipment

Also Published As

Publication number Publication date
WO2022068768A1 (en) 2022-04-07

Similar Documents

Publication Publication Date Title
CN112148163B (en) Screen recording method and device and electronic equipment
CN111857510B (en) Parameter adjusting method and device and electronic equipment
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
WO2022068768A1 (en) Permission setting method and apparatus, file playback method and apparatus, and electronic device
CN111694490B (en) Setting method and device and electronic equipment
CN113835580A (en) Application icon display method and device, electronic equipment and storage medium
WO2022268024A1 (en) Video playback method and apparatus, and electronic device
CN113179205A (en) Image sharing method and device and electronic equipment
CN112672061A (en) Video shooting method and device, electronic equipment and medium
CN112911147A (en) Display control method, display control device and electronic equipment
CN114116098A (en) Application icon management method and device, electronic equipment and storage medium
CN112181252B (en) Screen capturing method and device and electronic equipment
CN113703634A (en) Interface display method and device
CN112684963A (en) Screenshot method and device and electronic equipment
CN112711368A (en) Operation guidance method and device and electronic equipment
CN113709565B (en) Method and device for recording facial expression of watching video
CN112698771B (en) Display control method, device, electronic equipment and storage medium
CN114679546A (en) Display method and device, electronic equipment and readable storage medium
CN113923392A (en) Video recording method, video recording device and electronic equipment
CN113721816A (en) Video processing method and device
CN112286615A (en) Information display method and device of application program
CN112486650A (en) Operation path switching method and device and electronic equipment
CN113726953B (en) Display content acquisition method and device
CN115134317B (en) Message display method, device, storage medium and electronic device
CN117608459A (en) Screenshot method, screenshot device, screenshot equipment and screenshot medium

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