CN112506407A - File sharing method and device - Google Patents

File sharing method and device Download PDF

Info

Publication number
CN112506407A
CN112506407A CN202011403235.7A CN202011403235A CN112506407A CN 112506407 A CN112506407 A CN 112506407A CN 202011403235 A CN202011403235 A CN 202011403235A CN 112506407 A CN112506407 A CN 112506407A
Authority
CN
China
Prior art keywords
target
pressing operation
file
pressure value
target file
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.)
Granted
Application number
CN202011403235.7A
Other languages
Chinese (zh)
Other versions
CN112506407B (en
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 CN202011403235.7A priority Critical patent/CN112506407B/en
Publication of CN112506407A publication Critical patent/CN112506407A/en
Application granted granted Critical
Publication of CN112506407B publication Critical patent/CN112506407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a file sharing method and device, and belongs to the field of communication. The method comprises the following steps: receiving a pressing operation executed on a target sharing object in at least one sharing object and a target file in at least one file, establishing a corresponding relation between the target sharing object and the target file, wherein the files are in the same or different folders, and a plurality of different pressure value ranges are set for the pressing operation; sharing the target file to the target sharing object aiming at the same corresponding relation; wherein, in same corresponding relation, the pressure value of the press operation that the object corresponds is shared to the target file and the pressure value of the press operation that the object corresponds is shared to the target is in same pressure value within range, and this application can be through simple press operation, swift a plurality of files that belong to in the different folders send the purpose for different sharing objects, and whole sharing operation does not have loaded down with trivial details operation of selecting, and sharing efficiency and user experience degree are higher.

Description

File sharing method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a file sharing method and device.
Background
With the increasing memory of the electronic device, the electronic device also assumes the function of the storage medium, and the user often needs to share files in the electronic device.
At present, if a user wants to share files belonging to different folders or share files to multiple users, multiple sharing operations are required. Resulting in cumbersome and time consuming sharing operations.
Disclosure of Invention
An embodiment of the present application provides a file sharing method and device, so as to solve the problems of complex sharing operation and time consumption in the prior art.
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 file sharing method, including:
receiving a pressing operation executed on a target sharing object in at least one sharing object and a target file in at least one file, establishing a corresponding relation between the target sharing object and the target file, wherein the files are in the same or different folders, and a plurality of different pressure value ranges are set for the pressing operation;
the target file is shared to the target sharing object according to the same corresponding relation;
in the same corresponding relationship, the pressure value of the pressing operation corresponding to the target file and the pressure value of the pressing operation corresponding to the target sharing object are within the same pressure value range.
In a second aspect, an embodiment of the present application provides a file sharing apparatus, where the apparatus includes:
the device comprises an establishing module, a processing module and a processing module, wherein the establishing module is used for receiving a pressing operation executed on a target sharing object in at least one sharing object and a target file in at least one file, establishing a corresponding relation between the target sharing object and the target file, the files are in the same or different folders, and a plurality of different pressure value ranges are set aiming at the pressing operation;
the sharing module is used for sharing the target file to the target sharing object according to the same corresponding relation;
in the same corresponding relationship, the pressure value of the pressing operation corresponding to the target file and the pressure value of the pressing operation corresponding to the target sharing object are within the same pressure value range.
In a third aspect, an embodiment of 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.
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, 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.
In the embodiment of the application, a pressing operation executed on a target sharing object in at least one sharing object and a target file in at least one file is received, a corresponding relation between the target sharing object and the target file is established, the files are located in the same or different folders, and a plurality of different pressure value ranges are set for the pressing operation; sharing the target file to the target sharing object aiming at the same corresponding relation; wherein, in same corresponding relation, the pressure value of the press operation that the object file corresponds and the pressure value of the press operation that the object corresponds is shared to the target are in same pressure value within range, and this application can be through simple press operation, swift with a plurality of files that belong to in the different folders send the purpose for different sharing objects, whole sharing operation is fairly simple, improves user experience.
Drawings
Fig. 1 is a schematic diagram illustrating steps of a file sharing method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating specific steps of a file sharing method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a first file sharing interface according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a second file sharing interface provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a third file sharing interface provided in the embodiment of the present application;
fig. 6 is a schematic diagram of a fourth file sharing interface provided in the embodiment of the present application;
fig. 7 is a schematic diagram of a fifth file sharing interface provided in the embodiment of the present application;
fig. 8 is a schematic diagram of a sixth file sharing interface provided in an embodiment of the present application;
fig. 9 is a schematic diagram illustrating specific steps of another file sharing method according to an embodiment of the present application;
fig. 10 is a block diagram of a file sharing apparatus according to an embodiment of the present disclosure;
fig. 11 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 12 is a schematic hardware structure 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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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 following describes in detail a file sharing method, a file sharing apparatus, and an electronic device provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram illustrating steps of a file sharing method provided in an embodiment of the present application is shown, including:
step 101, receiving a pressing operation executed on a target sharing object in the at least one sharing object and a target file in the at least one file, and establishing a corresponding relationship between the target sharing object and the target file.
And 102, sharing the target file to the target sharing object according to the same corresponding relation.
The files are in the same or different folders, a plurality of different pressure value ranges are set for the pressing operation, and in the same corresponding relation, the pressure value of the pressing operation corresponding to the target file and the pressure value of the pressing operation corresponding to the target sharing object are in the same pressure value range.
The file sharing operation specifically includes selection of a target file to be shared, selection of a target sharing object, and an operation of sending the target file to the target sharing object.
Optionally, the pressing operation is an operation in which the pressure value is greater than or equal to a third preset pressure threshold, and the pressing duration is greater than or equal to a second preset duration. In this embodiment of the application, the pressing operation may be an operation with a certain pressing force degree and a pressing time length longer than a certain time, where values of the third preset pressure threshold and the second preset time length may be set according to actual requirements.
In the embodiment of the application, the pressing operation refers to the process that the electronic equipment generates and changes the pressure of the display screen through induction, so that the change of electrical data is realized, the instruction is generated through the electrical data, the pressure is finally reached, and the instruction is indirectly realized. In addition, according to different pressing degrees of a user, different pressure values can be generated by pressing operation, and different pressure value ranges can be divided in advance, so that different pressure values can belong to the same or different pressure value ranges. The pressing operation refers to a pressing operation of an icon of a target file and an icon of a target sharing object in a sharing interface of a display screen of the electronic device.
Further, the files in the embodiment of the present application may be in the same or different folders, and the shared objects may also be in the same or different object lists.
Specifically, according to the embodiment of the application, pressing operation in a sharing interface of a display screen of an electronic device can be adopted, selection of a target file and a target sharing object is achieved, the target file and the target sharing object are respectively grouped to establish corresponding relations through different pressure values generated by different pressing force degrees of the target file and the target sharing object, the pressure values generated by the pressing operation have the corresponding pressure value ranges, the pressing operation of different pressure values corresponds to different pressure value ranges, the different pressure value ranges correspond to different groups, the corresponding relations between the target sharing object and the target file are established, the target file in the same group is shared with the target sharing object, and the purposes that the file is oriented and the target sharing object is shared to the designated sharing object are achieved.
For example, assuming that a pressure value range to which a pressing operation that can be recognized by a display screen of the electronic device belongs is set as five ranges, namely a first-level range, a second-level range, a third-level range, a fourth-level range and a fifth-level range, the higher the number of the levels is, the greater the force required by the user to press the electronic device is, the electronic device has two folders: folder 1 and folder 2, folder 1 having two files a and b, and folder 2 having two files c and d. The user wishes to send files a and c to the shared object a and files B and d to the shared object B.
In one implementation mode, a user can press icons of files a and b through a press operation 1 with a pressure value in a secondary range, and press an icon of a sharing object A through the press operation 1 to establish a corresponding relation between the files a and c and the sharing object A; the icons of the files B and d are pressed through the pressing operation 2 with the pressure value in the four-level range, the icon of the sharing object B is pressed through the pressing operation 2, the corresponding relation between the files B and d and the sharing object B is established, and after the corresponding relation is established, the files in the corresponding relation can be sent to the sharing object in the corresponding relation, so that the purpose that a plurality of files belonging to different folders are sent to different sharing objects through simple pressing operation is achieved, the whole sharing operation is free of fussy selecting operation, and the sharing efficiency and the user experience degree are high.
It should be noted that the pressure value range to which the pressure value of the pressing operation performed by the user belongs may be selected by the user, for example, in another implementation, the user may also press icons of the files a and b by the pressing operation in which the pressure value belongs to the first-level range, and press icons of the files b and d by the pressing operation in which the pressure value belongs to the third-level range.
In addition, the implementation mode provides a scheme that the user selects the target file first and then selects the target sharing object, the user can also achieve the same sharing effect by selecting the target sharing object first and then selecting the target file, and the sequence of selecting the target file and the target sharing object is not specifically limited in the embodiment of the application.
To sum up, the embodiment of the present application provides a file sharing method, which receives a pressing operation performed on a target sharing object in at least one sharing object and a target file in at least one file, establishes a corresponding relationship between the target sharing object and the target file, where the files are in the same or different folders, and sets a plurality of different pressure value ranges for the pressing operation; sharing the target file to the target sharing object aiming at the same corresponding relation; wherein, in same corresponding relation, the pressure value of the press operation that the object file corresponds and the pressure value of the press operation that the object corresponds is shared to the target are in same pressure value within range, and this application can be through simple press operation, swift with a plurality of files that belong to in the different folders send the purpose for different sharing objects, whole sharing operation is fairly simple, improves user experience.
Referring to fig. 2, a schematic diagram illustrating specific steps of a file sharing method provided in an embodiment of the present application is shown, including:
step 201, receiving an initial pressing operation on the file, and generating an inquiry control.
The initial pressing operation is that the pressure value is greater than or equal to a first preset pressure threshold value, and the pressing duration is greater than a first preset duration.
In the embodiment of the application, the file sharing process can be triggered by an initial pressing operation executed by a user, and the user can trigger generation of an inquiry control for display by pressing the file with a pressure value larger than or equal to a first preset pressure threshold and a pressing duration longer than a first preset duration. For example, the query control may include the text "ask if file sharing is to be done? ", and two touch buttons," determine "and" cancel ".
Step 202, after receiving the determined operation of the query control, executing step 203.
In this step, referring to the example provided in step 201 above, after the user clicks the "ok" button, it may be determined that the electronic device receives an operation of determining the query control, and then step 203 may be executed to trigger the sharing process.
Step 203, receiving a first pressing operation on a target file in at least one file, selecting the target file, and dividing the target file into groups corresponding to a pressure value range to which the first pressing operation belongs.
Step 204, when a target sharing object in at least one sharing object receives a second pressing operation, and a pressure value of the second pressing operation and a pressure value of the first pressing operation are within the same pressure value range, adding the target sharing object to the group to obtain the corresponding relationship.
In this embodiment, in combination with the above step 203 and step 204, the user may first perform a first pressing operation on the target file in the folder interface, so as to select the target file, divide the selected target file into groups corresponding to the pressure value range to which the first pressing operation belongs, then perform a second pressing operation on the target sharing object in the sharing object selection interface, so as to select the target sharing object, divide the selected target sharing object into groups corresponding to the pressure value range to which the second pressing operation belongs, and establish a corresponding relationship between the target file and the target sharing object based on the groups when the pressure value of the second pressing operation and the pressure value of the first pressing operation are within the same pressure value range.
For example, referring to fig. 3, which shows a schematic diagram of a first file sharing interface provided in an embodiment of the present application, where a pressure value range to which a pressing operation that can be recognized by a display screen of an electronic device belongs is set as five ranges, which are a first-level range, a second-level range, a third-level range, a fourth-level range, and a fifth-level range, respectively, and the higher the number of levels is, the greater the force required by a user to press is, the electronic device has two folders: folder 1 and folder 2, folder 1 having 3 files 1, 2 and 3, and folder 2 having 2 files 4 and 5. The user wishes to send files 2 and 5 to shared object a and file 3 to shared object B.
In one implementation, the user may first press the icon of file 2 by the press operation 10 whose pressure value belongs to the four-level range and the icon of file 3 by the press operation 11 whose pressure value belongs to the two-level range under the interface of the folder 1, so as to divide the file 2 into the four-level group 20 and the file 3 into the two-level group 21.
Further, referring to fig. 4, which shows a schematic view of a second file sharing interface provided in the embodiment of the present application, a user presses an icon of a file 5 through a pressing operation 10 whose pressure value belongs to a four-level range under an interface of a folder 2, so as to divide the file 5 into four levels of groups 2, thereby completing selection of a target file.
Referring to fig. 5, which shows a schematic diagram of a third file sharing interface provided in the embodiment of the present application, after a target file is selected, a user may jump to a sharing object selection interface, where a sharing object may be a contact in a contact menu, the user presses an icon of a contact a through a pressing operation 10 where a pressure value belongs to a four-level range, presses an icon of a contact B through a pressing operation 11 where a pressure value belongs to a two-level range, divides the contact a into four-level groups 20, divides the contact B into two-level groups 21, and after a corresponding relationship in each group is established, a file in the corresponding relationship may be sent to the sharing object in the corresponding relationship, so that a purpose of quickly sending a plurality of files belonging to different folders to different objects through a simple pressing operation is achieved.
And step 205, sharing the target file to the target sharing object according to the same corresponding relation.
In this step, referring to fig. 5, after the correspondence relationship of each packet is established, files 2 and 5 in the fourth-level packet 20 may be sent to contact a, and file 3 in the second-level packet 21 may be sent to contact B.
It should be noted that, referring to fig. 6, which shows a schematic diagram of a fourth file sharing interface provided in the embodiment of the present application, before a target file is shared with a target sharing object, whether the target file is shared with the target sharing object may be prompted through a popup window 30, and if the target file is determined to be selected by a user, the target file is sent, so that the probability of false sending is reduced.
Optionally, the method may further include:
step 206, after selecting the target file, if the first pressing operation on the target file is received again, moving the target file out of the group.
In this embodiment of the application, if the user selects the target file by the first pressing operation and needs to cancel sharing of the target file due to the problem of decision change, the user may execute the first pressing operation on the target file again to move the target file out of the group.
Step 207, after selecting the target file, if a third pressing operation on the target file is received, dividing the target file into groups corresponding to pressure value ranges to which the third pressing operation belongs.
Wherein the pressure value of the third pressing operation and the pressure value of the first pressing operation belong to different pressure value ranges.
In this embodiment, if the user selects the target file by the first pressing operation, and the sharing object of the target file needs to be changed due to the problem of decision change, the user may execute a third pressing operation with a pressure value that is within a range of a different pressure value from the pressure value of the first pressing operation on the target file again, and divide the target file into groups corresponding to the range of the pressure value to which the third pressing operation belongs, so that the target file is subsequently shared with the target sharing object in the group corresponding to the third pressing operation.
Optionally, the method may further include:
and step 208, deleting all the corresponding relations under the condition that one file receives a pressing operation with a pressure value greater than or equal to a second preset pressure threshold value.
In the embodiment of the present application, referring to fig. 7, which shows a schematic diagram of a fifth file sharing interface provided in the embodiment of the present application, after a user selects a target file and/or a target sharing object, the user may perform a pressing operation 40 on a certain file by a pressing operation with a larger pressure value (the pressure value is greater than or equal to a second preset pressure threshold) in an interface X if the user needs to reselect the target file due to a problem of decision change, trigger a popup window 31 to display, prompt "empty all groups", and after clicking the popup window 31, the user jumps to an interface Y, prompt whether all groups are empty through the popup window 32, and if the user determines to select, delete a corresponding relationship established in all groups.
Further, referring to fig. 8, which shows a schematic diagram of a sixth file sharing interface provided in the embodiment of the present application, if a user needs to quit the sharing operation due to a problem of decision change after selecting a target file and/or a target sharing object, the user may execute a pressing operation 41 on a certain contact by a pressing operation with a larger pressure value (the pressure value is greater than or equal to a second preset pressure threshold) in the interface M, trigger the popup window 33 to display, prompt "quit the sharing operation", and after clicking the popup window 33, jump to the interface N, prompt whether to quit the sharing operation through the popup window 34, and if the user determines to select, quit the sharing operation.
It should be noted that, according to the above embodiment, five ranges of pressure value ranges to which the pressing operation that can be recognized by the display screen of the electronic device belongs are divided: the first-order range, the second-order range, the third-order range, the fourth-order range, and the fifth-order range may be included in the pressing operation in which the pressure value is greater than or equal to the second preset pressure threshold value.
Optionally, the method may further include:
and 209, after receiving the pressing operation, displaying a preset animation corresponding to the pressing operation, and simultaneously performing vibration feedback operation corresponding to the pressing operation.
In this application embodiment, every time a pressing operation is received, the electronic device can perform corresponding feedback to realize the perception of the user on the pressing operation, and specifically, after the pressing operation is received, a preset animation corresponding to the pressing operation can be displayed, and meanwhile, a vibration feedback operation corresponding to the pressing operation is performed.
For example, after a target file is selected by the pressing operation, a popup including "selected file XX" may be displayed, and after a target sharing object is selected by the pressing operation, a popup including "selected sharing object XX" may be displayed. In addition, after the pressing operation is completed, the electronic equipment can feed back a vibration feedback within the pressure value range of the pressing operation through the built-in vibration motor, so that the sensory perception of the user is improved.
To sum up, the embodiment of the present application provides a file sharing method, which receives a pressing operation performed on a target sharing object in at least one sharing object and a target file in at least one file, establishes a corresponding relationship between the target sharing object and the target file, where the files are in the same or different folders, and sets a plurality of different pressure value ranges for the pressing operation; sharing the target file to the target sharing object aiming at the same corresponding relation; wherein, in same corresponding relation, the pressure value of the press operation that the object corresponds is shared to the target file and the pressure value of the press operation that the object corresponds is shared to the target is in same pressure value within range, and this application can be through simple press operation, swift a plurality of files that belong to in the different folders send the purpose for different sharing objects, and whole sharing operation does not have loaded down with trivial details operation of selecting, and sharing efficiency and user experience degree are higher.
Referring to fig. 9, a schematic diagram illustrating specific steps of another file sharing method provided in an embodiment of the present application is shown, including:
step 301, receiving an initial pressing operation on the file, and generating an inquiry control.
The initial pressing operation is that the pressure value is greater than or equal to a first preset pressure threshold value, and the pressing duration is greater than a first preset duration.
This step may specifically refer to step 201 described above, and is not described herein again.
Step 302, after receiving the determination operation of the query control, step 303 is executed.
This step may specifically refer to step 202 described above, and is not described here again.
Step 303, receiving a fourth pressing operation on a target sharing object in at least one sharing object, selecting the target sharing object, and dividing the target sharing object into groups corresponding to a pressure value range to which the fourth pressing operation belongs.
Step 304, when a target file in at least one file receives a fifth pressing operation, and a pressure value of the fifth pressing operation and a pressure value of the fourth pressing operation are within the same pressure value range, adding the target file to the group, and establishing the corresponding relationship.
In this embodiment, in combination with the above steps 303 to 304, the user may first perform a fourth pressing operation on the target sharing object in the sharing object selection interface, so as to select the target sharing object, divide the selected target sharing object into groups corresponding to the pressure value range to which the fourth pressing operation belongs, then perform a fifth pressing operation on the target file in the folder interface, so as to select the target file, divide the selected target file into groups corresponding to the pressure value range to which the fifth pressing operation belongs, and establish a corresponding relationship between the target file and the target sharing object based on the groups when the pressure value of the fifth pressing operation and the pressure value of the fourth pressing operation are within the same pressure value range.
And 305, sharing the target file to the target sharing object according to the same corresponding relation.
This step may specifically refer to step 205, which is not described herein again.
Optionally, the method may further include:
step 306, after the target sharing object is selected, if a fourth pressing operation on the target file is received again, moving the target sharing object out of the group.
This step may specifically refer to step 206, which is not described herein again.
Step 307, after the target file is selected, if a sixth pressing operation on the target file is received, dividing the target sharing object into groups corresponding to the pressure value range to which the sixth pressing operation belongs.
Wherein the pressure value of the sixth pressing operation and the pressure value of the fourth pressing operation belong to different pressure value ranges.
This step may specifically refer to step 207, which is not described herein again.
Optionally, the method may further include:
step 308, deleting all the corresponding relations under the condition that one file receives a pressing operation with a pressure value greater than or equal to a second preset pressure threshold value.
This step may specifically refer to step 208, which is not described herein again.
Optionally, the method may further include:
step 309, after receiving the pressing operation, displaying a preset animation corresponding to the pressing operation, and simultaneously performing a vibration feedback operation corresponding to the pressing operation.
This step may specifically refer to step 209 above, and is not described here again.
To sum up, the embodiment of the present application provides a file sharing method, which receives a pressing operation performed on a target sharing object in at least one sharing object and a target file in at least one file, establishes a corresponding relationship between the target sharing object and the target file, where the files are in the same or different folders, and sets a plurality of different pressure value ranges for the pressing operation; sharing the target file to the target sharing object aiming at the same corresponding relation; wherein, in same corresponding relation, the pressure value of the press operation that the object file corresponds and the pressure value of the press operation that the object corresponds is shared to the target are in same pressure value within range, and this application can be through simple press operation, swift with a plurality of files that belong to in the different folders send the purpose for different sharing objects, whole sharing operation is fairly simple, improves user experience.
Referring to fig. 10, a block diagram of a file sharing apparatus according to an embodiment of the present application is shown, including:
the creating module 401 is configured to receive a pressing operation performed on a target shared object in at least one shared object and a target file in at least one file, create a corresponding relationship between the target shared object and the target file, where the files are in the same or different folders, and set a plurality of different pressure value ranges for the pressing operation;
optionally, the establishing module 401 includes:
the device comprises a first dividing module, a second dividing module and a third dividing module, wherein the first dividing module is used for receiving a first pressing operation on a target file in at least one file, selecting the target file, and dividing the target file into groups corresponding to a pressure value range to which the first pressing operation belongs;
and the first adding submodule is used for adding a target sharing object to the group to obtain the corresponding relationship under the condition that the target sharing object in at least one sharing object receives a second pressing operation, and the pressure value of the second pressing operation and the pressure value of the first pressing operation are in the same pressure value range.
Optionally, the establishing module 401 further includes:
the first moving-out submodule is used for moving the target file out of the group if the first pressing operation on the target file is received again after the target file is selected;
and the second division submodule is used for dividing the target file into groups corresponding to the pressure value range to which the third pressing operation belongs if the third pressing operation on the target file is received after the target file is selected, wherein the pressure value of the third pressing operation and the pressure value of the first pressing operation belong to different pressure value ranges.
Optionally, the establishing module includes:
the third dividing submodule is used for receiving a fourth pressing operation on a target sharing object in at least one sharing object, selecting the target sharing object and dividing the target sharing object into groups corresponding to a pressure value range to which the fourth pressing operation belongs;
and the second adding submodule is used for adding the target file to the group and establishing the corresponding relation when the target file in at least one file receives a fifth pressing operation and the pressure value of the fourth pressing operation are in the same pressure value range.
Optionally, the establishing module further includes:
a second moving-out submodule, configured to, after the target sharing object is selected, move the target sharing object out of the group if a fourth pressing operation on the target file is received again;
and a fourth dividing submodule, configured to, after the target file is selected, divide the target sharing object into groups corresponding to pressure value ranges to which sixth pressing operations belong if the sixth pressing operations on the target file are received, where the pressure values of the sixth pressing operations and the fourth pressing operations belong to different pressure value ranges.
Optionally, the apparatus further comprises:
the generating module is used for receiving initial pressing operation on the file and generating an inquiry control, wherein the pressure value of the initial pressing operation is greater than or equal to a first preset pressure threshold, and the pressing duration is greater than a first preset duration;
and the execution module is used for executing the step of receiving the pressing operation executed on the target sharing object in the at least one sharing object and the target file in the at least one file after receiving the determined operation on the inquiry control, and establishing the corresponding relation between the target sharing object and the target file.
Optionally, the apparatus further comprises: and the deleting module is used for deleting all the corresponding relations under the condition that one file receives a pressing operation with a pressure value larger than or equal to a second preset pressure threshold value.
Optionally, the apparatus further comprises: and the feedback module is used for displaying a preset animation corresponding to the pressing operation after receiving the pressing operation and simultaneously performing vibration feedback operation corresponding to the pressing operation.
Optionally, the pressing operation is an operation in which the pressure value is greater than or equal to a third preset pressure threshold, and the pressing duration is greater than or equal to a second preset duration.
A sharing module 402, configured to share the target file with the target sharing object according to the same corresponding relationship;
in the same corresponding relationship, the pressure value of the pressing operation corresponding to the target file and the pressure value of the pressing operation corresponding to the target sharing object are within the same pressure value range.
To sum up, the embodiment of the present application provides a file sharing device, which receives a pressing operation performed on a target sharing object in at least one sharing object and a target file in at least one file, establishes a corresponding relationship between the target sharing object and the target file, where the files are in the same or different folders, and sets a plurality of different pressure value ranges for the pressing operation; sharing the target file to the target sharing object aiming at the same corresponding relation; wherein, in same corresponding relation, the pressure value of the press operation that the object file corresponds and the pressure value of the press operation that the object corresponds is shared to the target are in same pressure value within range, and this application can be through simple press operation, swift with a plurality of files that belong to in the different folders send the purpose for different sharing objects, whole sharing operation is fairly simple, improves user experience.
The file sharing device in the embodiment of the present application may be a device, 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, 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 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 device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The file sharing device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 9, and is not described here again to avoid repetition.
Optionally, as shown in fig. 11, an electronic device 700 is further provided in an embodiment of the present application, and includes a processor 702, a memory 701, and a program or an instruction stored in the memory 701 and capable of being executed on the processor 702, where the program or the instruction is executed by the processor 702 to implement 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.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 12 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 not repeated here.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 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 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 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 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
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 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 a magnetic disk
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, so as to implement each process of the above file sharing method embodiment, and achieve the same technical effect, and in order to avoid repetition, the description is omitted 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 (12)

1. A file sharing method, the method comprising:
receiving a pressing operation on a target sharing object in at least one sharing object and a target file in at least one file, and establishing a corresponding relation between the target sharing object and the target file, wherein the files are in the same or different folders, and a plurality of different pressure value ranges are set for the pressing operation;
the target file is shared to the target sharing object according to the same corresponding relation;
in the same corresponding relationship, the pressure value of the pressing operation corresponding to the target file and the pressure value of the pressing operation corresponding to the target sharing object are within the same pressure value range.
2. The method according to claim 1, wherein the receiving a pressing operation performed on a target shared object in the at least one shared object and a target file in the at least one file, and establishing a corresponding relationship between the target shared object and the target file comprises:
receiving a first pressing operation on a target file in at least one file, selecting the target file, and dividing the target file into groups corresponding to a pressure value range to which the first pressing operation belongs;
and adding the target sharing object to the group to obtain the corresponding relation under the condition that the target sharing object in at least one sharing object receives a second pressing operation and the pressure value of the first pressing operation are in the same pressure value range.
3. The method of claim 2, further comprising:
after the target file is selected, if the first pressing operation on the target file is received again, moving the target file out of the group;
after the target file is selected, if a third pressing operation on the target file is received, dividing the target file into groups corresponding to pressure value ranges to which the third pressing operation belongs, wherein the pressure values of the third pressing operation and the first pressing operation belong to different pressure value ranges.
4. The method according to claim 1, wherein the receiving a pressing operation performed on a target shared object in the at least one shared object and a target file in the at least one file, and establishing a corresponding relationship between the target shared object and the target file comprises:
receiving a fourth pressing operation on a target sharing object in at least one sharing object, selecting the target sharing object, and dividing the target sharing object into groups corresponding to a pressure value range to which the fourth pressing operation belongs;
and adding the target file to the group and establishing the corresponding relation when the target file in at least one file receives a fifth pressing operation and the pressure value of the fourth pressing operation are in the same pressure value range.
5. The method of claim 4, further comprising:
after the target sharing object is selected, if a fourth pressing operation on the target file is received again, moving the target sharing object out of the group;
after the target file is selected, if a sixth pressing operation on the target file is received, dividing the target sharing object into groups corresponding to pressure value ranges to which the sixth pressing operation belongs, wherein the pressure values of the sixth pressing operation and the fourth pressing operation respectively belong to different pressure value ranges.
6. The method according to claim 1, wherein before the receiving a pressing operation performed on a target shared object in the at least one shared object and a target file in the at least one file to establish a corresponding relationship between the target shared object and the target file, the method further comprises:
receiving an initial pressing operation on the file, and generating an inquiry control, wherein the pressure value of the initial pressing operation is greater than or equal to a first preset pressure threshold, and the pressing duration is greater than a first preset duration;
and after receiving the determination operation on the inquiry control, executing the step of receiving the pressing operation executed on the target sharing object in the at least one sharing object and the target file in the at least one file, and establishing the corresponding relation between the target sharing object and the target file.
7. A file sharing apparatus, the apparatus comprising:
the device comprises an establishing module, a processing module and a processing module, wherein the establishing module is used for receiving a pressing operation executed on a target sharing object in at least one sharing object and a target file in at least one file, establishing a corresponding relation between the target sharing object and the target file, the files are in the same or different folders, and a plurality of different pressure value ranges are set aiming at the pressing operation;
the sharing module is used for sharing the target file to the target sharing object according to the same corresponding relation;
in the same corresponding relationship, the pressure value of the pressing operation corresponding to the target file and the pressure value of the pressing operation corresponding to the target sharing object are within the same pressure value range.
8. The apparatus of claim 7, wherein the establishing module comprises:
the device comprises a first dividing module, a second dividing module and a third dividing module, wherein the first dividing module is used for receiving a first pressing operation on a target file in at least one file, selecting the target file, and dividing the target file into groups corresponding to a pressure value range to which the first pressing operation belongs;
and the first adding submodule is used for adding a target sharing object to the group to obtain the corresponding relationship under the condition that the target sharing object in at least one sharing object receives a second pressing operation, and the pressure value of the second pressing operation and the pressure value of the first pressing operation are in the same pressure value range.
9. The apparatus of claim 8, wherein the establishing module further comprises:
the first moving-out submodule is used for moving the target file out of the group if the first pressing operation on the target file is received again after the target file is selected;
and the second division submodule is used for dividing the target file into groups corresponding to the pressure value range to which the third pressing operation belongs if the third pressing operation on the target file is received after the target file is selected, wherein the pressure value of the third pressing operation and the pressure value of the first pressing operation belong to different pressure value ranges.
10. The apparatus of claim 7, wherein the establishing module comprises:
the third dividing submodule is used for receiving a fourth pressing operation on a target sharing object in at least one sharing object, selecting the target sharing object and dividing the target sharing object into groups corresponding to a pressure value range to which the fourth pressing operation belongs;
and the second adding submodule is used for adding the target file to the group and establishing the corresponding relation when the target file in at least one file receives a fifth pressing operation and the pressure value of the fourth pressing operation are in the same pressure value range.
11. The apparatus of claim 10, wherein the establishing module further comprises:
a second moving-out submodule, configured to, after the target sharing object is selected, move the target sharing object out of the group if a fourth pressing operation on the target file is received again;
and a fourth dividing submodule, configured to, after the target file is selected, divide the target sharing object into groups corresponding to pressure value ranges to which sixth pressing operations belong if the sixth pressing operations on the target file are received, where the pressure values of the sixth pressing operations and the fourth pressing operations respectively belong to different pressure value ranges.
12. The apparatus of claim 7, further comprising:
the generating module is used for receiving initial pressing operation on the file and generating an inquiry control, wherein the pressure value of the initial pressing operation is greater than or equal to a first preset pressure threshold, and the pressing duration is greater than a first preset duration;
and the execution module is used for executing the step of receiving the pressing operation executed on the target sharing object in the at least one sharing object and the target file in the at least one file after receiving the determined operation on the inquiry control, and establishing the corresponding relation between the target sharing object and the target file.
CN202011403235.7A 2020-12-04 2020-12-04 File sharing method and device Active CN112506407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011403235.7A CN112506407B (en) 2020-12-04 2020-12-04 File sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011403235.7A CN112506407B (en) 2020-12-04 2020-12-04 File sharing method and device

Publications (2)

Publication Number Publication Date
CN112506407A true CN112506407A (en) 2021-03-16
CN112506407B CN112506407B (en) 2022-05-03

Family

ID=74968401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011403235.7A Active CN112506407B (en) 2020-12-04 2020-12-04 File sharing method and device

Country Status (1)

Country Link
CN (1) CN112506407B (en)

Cited By (1)

* 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

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120299843A1 (en) * 2011-05-23 2012-11-29 Kim Hak-Doo Real-time object transfer and information sharing method
CN104375772A (en) * 2013-08-12 2015-02-25 北京千橡网景科技发展有限公司 Method and equipment for matching by screen sensors
CN105760430A (en) * 2016-01-29 2016-07-13 深圳天珑无线科技有限公司 Method and device for rapidly sharing file through pressure touch technology
CN105808089A (en) * 2014-12-30 2016-07-27 联想(北京)有限公司 Data transmission method and first electronic device
CN106371724A (en) * 2016-08-26 2017-02-01 广东欧珀移动通信有限公司 Control method and apparatus of mobile terminal and mobile terminal
CN107025541A (en) * 2016-12-19 2017-08-08 阿里巴巴集团控股有限公司 Implementation method, client and the service end of transactional operation
CN107784211A (en) * 2017-11-06 2018-03-09 北京小米移动软件有限公司 Method of password authentication and device
CN110221746A (en) * 2019-04-28 2019-09-10 网易(杭州)网络有限公司 Information interacting method, device, medium and calculating equipment
CN111857468A (en) * 2020-07-01 2020-10-30 Oppo广东移动通信有限公司 Content sharing method and device, equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120299843A1 (en) * 2011-05-23 2012-11-29 Kim Hak-Doo Real-time object transfer and information sharing method
CN104375772A (en) * 2013-08-12 2015-02-25 北京千橡网景科技发展有限公司 Method and equipment for matching by screen sensors
CN105808089A (en) * 2014-12-30 2016-07-27 联想(北京)有限公司 Data transmission method and first electronic device
CN105760430A (en) * 2016-01-29 2016-07-13 深圳天珑无线科技有限公司 Method and device for rapidly sharing file through pressure touch technology
CN106371724A (en) * 2016-08-26 2017-02-01 广东欧珀移动通信有限公司 Control method and apparatus of mobile terminal and mobile terminal
CN107025541A (en) * 2016-12-19 2017-08-08 阿里巴巴集团控股有限公司 Implementation method, client and the service end of transactional operation
CN107784211A (en) * 2017-11-06 2018-03-09 北京小米移动软件有限公司 Method of password authentication and device
CN110221746A (en) * 2019-04-28 2019-09-10 网易(杭州)网络有限公司 Information interacting method, device, medium and calculating equipment
CN111857468A (en) * 2020-07-01 2020-10-30 Oppo广东移动通信有限公司 Content sharing method and device, equipment and storage medium

Cited By (1)

* 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

Also Published As

Publication number Publication date
CN112506407B (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN111984115A (en) Message sending method and device and electronic equipment
CN112099695B (en) Icon position adjusting method and device and electronic equipment
CN112399006B (en) File sending method and device and electronic equipment
CN112286887A (en) File sharing method and device and electronic equipment
CN112540709A (en) Split screen display method and device, electronic equipment and readable storage medium
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
CN113037614B (en) File sharing method and device, electronic equipment and storage medium
CN113127432B (en) Operation execution method, device, electronic equipment and medium
CN112486444B (en) Screen projection method, device, equipment and readable storage medium
CN105808057A (en) Method for selecting programs in folder, device and terminal
CN113253883A (en) Application interface display method and device and electronic equipment
CN113179205A (en) Image sharing method and device and electronic equipment
CN112565063A (en) Message processing method and device and electronic equipment
CN112083854A (en) Application program running method and device
CN114489913A (en) Interaction method, interaction device and electronic equipment
CN113141295A (en) Message display method and device and electronic equipment
CN113596555A (en) Video playing method and device and electronic equipment
CN112506407B (en) File sharing method and device
US10628031B2 (en) Control instruction identification method and apparatus, and storage medium
CN114374663A (en) Message processing method and message processing device
CN112269509B (en) Information processing method and device and electronic equipment
CN112818094A (en) Chat content processing method and device and electronic equipment
CN112269510B (en) Information processing method and device and electronic equipment
CN112230817B (en) Link page display method and device and electronic equipment
CN113852540A (en) Information sending method, information sending device and electronic 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
GR01 Patent grant
GR01 Patent grant