CN112883211A - File sharing method and device, electronic equipment and medium - Google Patents

File sharing method and device, electronic equipment and medium Download PDF

Info

Publication number
CN112883211A
CN112883211A CN202110184928.XA CN202110184928A CN112883211A CN 112883211 A CN112883211 A CN 112883211A CN 202110184928 A CN202110184928 A CN 202110184928A CN 112883211 A CN112883211 A CN 112883211A
Authority
CN
China
Prior art keywords
target
screen
screen display
preference information
user preference
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
CN202110184928.XA
Other languages
Chinese (zh)
Inventor
柯力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110184928.XA priority Critical patent/CN112883211A/en
Publication of CN112883211A publication Critical patent/CN112883211A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/435Filtering based on additional data, e.g. user or group profiles
    • G06F16/437Administration of user profiles, e.g. generation, initialisation, adaptation, distribution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor

Abstract

The application discloses a file sharing method and device, electronic equipment and a medium, and belongs to the technical field of communication. The method comprises the following steps: receiving a target multimedia file shared by a second file sharing device; extracting target user preference information in the target multimedia file; determining a target screen display parameter value according to the target user preference information; updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value; and displaying the target multimedia file through the display screen after the parameter values of the screen display parameters are updated. According to the method and the device, when the receiving end user watches or browses the multimedia file, the screen display effect meeting the requirements of the user can be displayed through the display screen.

Description

File sharing method and device, electronic equipment and medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a file sharing method and apparatus, an electronic device, and a medium.
Background
With the continuous development of mobile communication technology, intelligent electronic devices (such as mobile phones) are becoming popular. The functions of the intelligent electronic device are increasing, such as taking pictures, taking videos, playing audios and videos, browsing webpages, sending and receiving mails and the like. Among them, taking pictures using electronic devices is also popular among users.
At present, multimedia files such as photos or videos and the like which are seen by people are shared by others or seen from various websites, the effect style is basically fixed, and therefore the display effect seen by users is basically consistent. However, the requirements of each person in reality are different, and the prior art cannot enable the user to view the display effect meeting the requirements of the user.
Disclosure of Invention
An object of the embodiments of the present application is to provide a file sharing method, an apparatus, an electronic device, and a medium, which can solve a problem in the prior art that a user cannot view a display effect that meets a self-demand when viewing or browsing a multimedia file.
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 applied to a first file sharing device, where the method includes:
receiving a target multimedia file shared by a second file sharing device;
extracting target user preference information in the target multimedia file;
determining a target screen display parameter value according to the target user preference information;
updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value;
and displaying the target multimedia file through the display screen after the parameter values of the screen display parameters are updated.
In a second aspect, an embodiment of the present application provides a file sharing method, which is applied to a second file sharing apparatus, and the method includes:
acquiring a target multimedia file to be shared and target user preference information;
adding the target user preference information to a file header of the target multimedia file;
and sharing the target multimedia file to a first file sharing device, so that the first file sharing device updates the parameter value of the screen display parameter of the display screen based on the target user preference information, and displays the target multimedia file through the display screen after the parameter value of the screen display parameter is updated.
In a third aspect, an embodiment of the present application further provides a file sharing device, where the file sharing device is a first file sharing device, and the file sharing device includes:
the first receiving module is used for receiving the target multimedia file shared by the second file sharing device;
the first processing module is used for extracting target user preference information in the target multimedia file;
the second processing module is used for determining a target screen display parameter value according to the target user preference information;
the third processing module is used for updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value;
and the display module is used for displaying the target multimedia file through the display screen after the parameter values of the screen display parameters are updated.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the file sharing method according to the first aspect.
In a fifth aspect, an embodiment of the present application further provides a file sharing device, where the file sharing device is a second file sharing device, and the file sharing device includes:
the acquisition module is used for acquiring a target multimedia file to be shared and target user preference information;
the fourth processing module is used for adding the target user preference information into a file header of the target multimedia file;
the sharing module is used for sharing the target multimedia file to a first file sharing device so that the first file sharing device updates the parameter value of the screen display parameter of the display screen based on the target user preference information, and the target multimedia file is displayed through the display screen after the parameter value of the screen display parameter is updated.
In a sixth 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, where the program or instructions, when executed by the processor, implement the steps of the file sharing method according to the second aspect.
In a seventh aspect, an 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 the program or the instruction, when executed by a processor, implements the steps of the file sharing method according to the first aspect, or implements the steps of the file sharing method according to the second aspect.
In an eighth 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 an instruction to implement the file sharing method according to the first aspect, or to implement the steps of the file sharing method according to the second aspect.
In the embodiment of the application, the target multimedia file shared by the second file sharing device is received; extracting target user preference information in the target multimedia file; determining a target screen display parameter value according to the target user preference information; updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value; the target multimedia file is displayed through the display screen after the parameter value of the screen display parameter is updated, so that the first file sharing device, namely the receiving terminal equipment can update the parameter value of the screen display parameter of the display screen according to the target user preference information in the multimedia file shared by the second file processing device, and the receiving terminal user can display the screen display effect meeting the self requirement of the user through the display screen when watching or browsing the multimedia file.
Drawings
Fig. 1 is a schematic flowchart of a file sharing method according to an embodiment of the present disclosure;
fig. 2 is a second schematic flowchart of a file sharing method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a file sharing device according to an embodiment of the present disclosure;
fig. 4 is a second schematic structural diagram of a file sharing device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure 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 photographing method provided by the embodiment of the present application will be described in detail by specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a file sharing method according to an embodiment of the present disclosure. The method is applied to the first file sharing device, and the implementation process of the method is specifically described below with reference to the figure.
Step 101, receiving a target multimedia file shared by a second file sharing device;
here, specifically, the target multimedia file sent by the second file sharing apparatus may be received, or the target multimedia file forwarded by the second file sharing apparatus through the server may be received. For example, the target multimedia file is uploaded to the server by the second file sharing device, and then forwarded to the first file sharing device by the server.
Here, the target multimedia file is a picture file or a video file.
102, extracting target user preference information in the target multimedia file;
in this step, the target user preference information is carried in the target multimedia file, and the target user preference information in the target multimedia file is extracted by analyzing the target multimedia file.
Here, the target user preference information is used to characterize the target user's preference for screen color.
Optionally, the target user preference information is preference information of a target user on screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
103, determining a target screen display parameter value according to the target user preference information;
104, updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value;
specifically, the steps may include: and outputting the target screen display parameter value to a drive IC of the display screen through a preset protocol and an interface, and updating the parameter value of the screen display parameter of the display screen by the drive IC according to the received target screen display parameter value.
And 105, displaying the target multimedia file through the display screen after the parameter values of the screen display parameters are updated.
Here, the display screen after updating the parameter value of the screen display parameter can enable the screen display effect of the corresponding display screen to meet the user's own requirements when the user on the first file sharing device side, that is, the receiving end device side, watches or browses the target multimedia file.
According to the file sharing method, the target multimedia file shared by the second file sharing device is received; extracting target user preference information in the target multimedia file; determining a target screen display parameter value according to the target user preference information; updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value; the target multimedia file is displayed through the display screen after the parameter value of the screen display parameter is updated, so that the first file sharing device, namely the receiving terminal equipment can update the parameter value of the screen display parameter of the display screen according to the target user preference information in the multimedia file shared by the second file processing device, and the receiving terminal user can display the screen display effect meeting the self requirement of the user through the display screen when watching or browsing the multimedia file.
As an optional implementation manner, when the target user preference information includes a screen display parameter value, step 103 of the method of this embodiment of the present application, determining a target screen display parameter value according to the target user preference information, may include:
and determining the screen display parameter value as a target screen display parameter value.
Here, since the target user preference information is used to represent the preference of the target user for the screen color, and when the target user preference information includes the screen display parameter value, the screen display parameter value is the screen display parameter value preferred by the target user, the screen display parameter is directly determined as the target screen display parameter value for updating the screen display parameter of the subsequent display screen, so that the updating efficiency of the screen display parameter of the display screen can be effectively improved.
As another optional implementation manner, when the target user preference information includes a screen color system, and the screen color system includes a warm color system, a cold color system, or a neutral color system, the method step 103 of the embodiment of the present application, according to the target user preference information, determining a target screen display parameter value, may include:
determining screen display parameter values associated with the screen color system as target screen display parameter values.
Here, the screen display parameter value associated with the screen color system preferred by the target user may be obtained by the pre-stored association relationship between the screen display parameter and the screen color system.
Specifically, the association relationship between the screen display parameters and the screen color system can be pre-established and stored, so that the screen display parameter values associated with the screen color system preferred by the target user can be quickly obtained based on the association relationship.
Generally, a display screen has many parameters, such as gamma parameter, CE parameter, etc., which can be used to change the display effect of the screen. Generally, the display screen has a color adjustment module inside the IC. In the embodiment of the application, the incidence relation between the screen display parameters and the screen color system is obtained by adjusting gamma parameter setting.
Here, the gamma parameter is a set of general parameters, wherein the set of parameters is implemented by values stored in a register corresponding to the gamma parameter, for example, the set is set as a mode a by default, that is, in the mode a, the display screen presents the color of the image itself.
Alternatively, the parameter patterns may correspond to the color system of the screen, and are recorded as Table A
TABLE A
Figure BDA0002942715500000061
Figure BDA0002942715500000071
The generation of the various patterns may be achieved by modifying gamma parameters and CE parameters, among others.
For a scene in which a multimedia file is a video file, such as a movie, within a playing time duration, such as a time of more than one hour, a style of a video corresponding to a played video clip is often variable, for example, a certain period of time may be a long past of recall, a certain period of time may be relatively pleasant, and a certain period of time may be particularly offensive, that is, the corresponding style of a video is rich and variable. The video style type can represent the sensory experience brought to a viewer when the video file is played; as another optional implementation manner, when the target user preference information includes a picture style type and the target multimedia file is a video file, the method 103 of the embodiment of the present application determines a target screen display parameter value according to the target user preference information, which may include:
identifying N video style types of the target multimedia file;
here, the N video style types of the target multimedia file may be identified through a preset classification model. It should be noted that the classification model is pre-established, and may be obtained by machine learning, neural network model establishment, and the like, which is not specifically limited herein.
Under the condition that the value of N is 1, determining screen display parameter values associated with the video style type and the picture style type as target screen display parameter values;
it should be noted that there is a corresponding relationship between the video genre type and the picture genre type, that is, different video genre types and different picture genre types preferred by the user.
Here, if the value of N is 1, it is described that the video genre corresponding to the target video file is only one type, and then the picture genre preferred by the user is determined based on the video genre.
Under the condition that the value of N is larger than 1, determining N sub-video files based on the N video style types, and determining N groups of screen parameter values associated with the N video style types and the picture style types as target screen display parameter values;
here, if the value of N is greater than 1, which indicates that the video genre corresponding to the target video file is not only one type, then based on different video genres, the picture genre preferred by the user corresponding to the video genre is determined.
Wherein one sub-video segment corresponds to one picture style type.
Here, the screen display parameter values associated with the N video genre types and the picture genre types may be obtained by an association relationship among the screen display parameters, the video genre types, and the picture genre types stored in advance.
Generally, a display screen has many parameters, such as gamma parameter, CE parameter, etc., which can be used to change the display effect of the screen. Generally, the display screen has a color adjustment module inside the IC. In the embodiment of the application, the incidence relation among the screen display parameters, the video style types and the picture style types is obtained by adjusting the gamma parameter setting.
Here, the gamma parameter is a set of general parameters, wherein the set of parameters is implemented by values stored in a register corresponding to the gamma parameter, for example, the set is set as a mode a by default, that is, in the mode a, the display screen presents the color of the image itself.
Alternatively, the parameter pattern may correspond to a video style type as well as a picture style type. Note as Table B.
TABLE B
Video style type Picture style type Parameter mode
For the feeling of injury Cold color ModeA
Pleasure Warm color ModeB
Of fighting type Returning to ancient times ModeC
The generation of the various patterns may be achieved by modifying gamma parameters and CE parameters, among others.
For example, when the target video file is played, when it is recognized that the video style type of the current sub-video segment is changed, the table B may look up the picture style type corresponding to the video style type and preferred by the user, and determine the parameter mode based on the picture style type, that is, determine the target screen display parameter value.
Optionally, the first file sharing device stores a preset association relationship in advance;
under the condition that the target user preference information comprises a screen color system, the preset association relationship is an association relationship between the screen color system and a screen display parameter value;
and under the condition that the target user preference information comprises the picture style type, the preset association relationship is the association relationship between the picture style type and the screen display parameter value.
According to the file sharing method, the target multimedia file shared by the second file sharing device is received; extracting target user preference information in the target multimedia file; determining a target screen display parameter value according to the target user preference information; updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value; the target multimedia file is displayed through the display screen after the parameter value of the screen display parameter is updated, so that the first file sharing device, namely the receiving terminal equipment can update the parameter value of the screen display parameter of the display screen according to the target user preference information in the multimedia file shared by the second file processing device, and the receiving terminal user can display the screen display effect meeting the self requirement of the user through the display screen when watching or browsing the multimedia file.
Fig. 2 is a schematic flow chart of a file sharing method according to an embodiment of the present disclosure. The method is applied to the second file sharing device. The implementation of the method is described in detail below with reference to this figure.
Step 201, acquiring a target multimedia file to be shared and target user preference information;
here, the target multimedia file may be a multimedia file stored locally, or a multimedia file browsed by a user on the internet, or a multimedia file generated instantly by a local device, such as a picture or a video file taken instantly.
Here, the target user refers to an object to be shared corresponding to the target multimedia file.
In an example, when a user needs to share a video file, the user can click a video sharing control, then pop up a buddy list to be shared, and determine a target user, that is, an object to be shared corresponding to the video file, through selection input of the user on the buddy list.
Here, the target user preference information is used to characterize the target user's preference for screen color. Specifically, the target user preference information can be obtained by collecting the behavior habits of the target user through big data analysis.
Step 202, adding the target user preference information to a file header of the target multimedia file;
here, if the target multimedia file is a multimedia file generated immediately, it may be selected to be saved or not saved after the target multimedia file is generated. Then, clicking to share the target multimedia file, selecting a target user needing to be shared, and acquiring the preference information of the target user; and finally, adding the target user preference information into a file header of the target multimedia file, so that the target is conveniently used for a corresponding first file sharing device, and extracting the target user preference information in the target multimedia file by analyzing the target multimedia file.
Step 203, sharing the target multimedia file to a first file sharing device, so that the first file sharing device updates a parameter value of a screen display parameter of a display screen based on the target user preference information, and displays the target multimedia file through the display screen after updating the parameter value of the screen display parameter.
It should be noted that, since the target multimedia file carries the user preference information of the target user, after receiving the target multimedia file, the first file sharing device corresponding to the target user can update the parameter value of the screen display parameter of the display screen based on the user preference information, and display the target multimedia file through the display screen after updating the parameter value of the screen display parameter, so that the target user can present the screen display effect meeting the user's own requirements through the display screen when viewing or browsing the multimedia file.
According to the file sharing method, the target multimedia file to be shared and the target user preference information are acquired; adding the target user preference information to a file header of the target multimedia file; and sharing the target multimedia file to a first file sharing device so that the first file sharing device updates the parameter value of the screen display parameter of the display screen based on the target user preference information, and displays the target multimedia file through the display screen after updating the parameter value of the screen display parameter, so that the target user can present a screen display effect meeting the self requirements of the user through the display screen when watching or browsing the multimedia file.
Optionally, the target user preference information is preference information of a target user on screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
As an optional implementation manner, before obtaining a target multimedia file to be shared and target user preference information, an embodiment of the present application may further include:
acquiring historical behavior information of watching multimedia files by aiming at a target user;
here, the historical behavior information includes behavior habits and access frequencies of viewing multimedia files of the target user.
And obtaining the target user preference information of the target user according to the historical behavior information.
It should be noted that, the electronic device obtains the user preference information of different users through the historical behavior information of different users and through big data analysis, and stores the record.
Watch C
Zhang San Cold color
Li Si Warm color
Wangsan Returning to ancient times
According to the file sharing method, the target multimedia file to be shared and the target user preference information are acquired; adding the target user preference information to a file header of the target multimedia file; and sharing the target multimedia file to a first file sharing device so that the first file sharing device updates the parameter value of the screen display parameter of the display screen based on the target user preference information, and displays the target multimedia file through the display screen after updating the parameter value of the screen display parameter, so that the target user can present a screen display effect meeting the self requirements of the user through the display screen when watching or browsing the multimedia file.
It should be noted that, in the file sharing method provided in the embodiment of the present application, the execution main body may be a file sharing device, or a control module in the file sharing device for executing the file sharing method.
In the embodiment of the present application, a file sharing method executed by a file sharing device is taken as an example to describe the file sharing device provided in the embodiment of the present application.
Fig. 3 is a schematic structural diagram of a file sharing device according to an embodiment of the present disclosure. The file sharing apparatus 300 is a first file sharing apparatus, and may include:
a receiving module 301, configured to receive a target multimedia file shared by a second file sharing apparatus;
a first processing module 302, configured to extract target user preference information in the target multimedia file;
the second processing module 303 is configured to determine a target screen display parameter value according to the target user preference information;
the third processing module 304 is configured to update the parameter value of the screen display parameter of the display screen according to the target screen display parameter value;
a display module 305, configured to display the target multimedia file through the display screen after updating the parameter value of the screen display parameter.
Optionally, the target user preference information is preference information of a target user on screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
Optionally, the target user preference information comprises a screen display parameter value;
correspondingly, the second processing module 303 includes:
and the first processing unit is used for determining the screen display parameter value as a target screen display parameter value.
Optionally, the target user preference information includes a screen color system, and the screen color system includes a warm color system, a cold color system, or a neutral color system;
correspondingly, the second processing module 303 includes:
and the second processing unit is used for determining the screen display parameter value associated with the screen color system as a target screen display parameter value.
Optionally, the target user preference information includes a picture style type, and the target multimedia file is a video file;
the second processing module 303 includes:
the identification unit is used for identifying N video style types of the target multimedia file;
the third processing unit is used for determining screen display parameter values related to the video style type and the picture style type as target screen display parameter values under the condition that the value of N is 1;
a fourth processing unit, configured to determine N sub-video files based on the N video style types and determine N sets of screen parameter values associated with the N video style types and the picture style types as target screen display parameter values when the value of N is greater than 1;
wherein one sub-video segment corresponds to one picture style type.
Optionally, the first file sharing device stores a preset association relationship in advance;
under the condition that the target user preference information comprises a screen color system, the preset association relationship is an association relationship between the screen color system and a screen display parameter value;
and under the condition that the target user preference information comprises the picture style type, the preset association relationship is the association relationship between the picture style type and the screen display parameter value.
The sharing device of the multimedia file 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 (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The file sharing device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
The file sharing device of the embodiment of the application receives the target multimedia file shared by the second file sharing device through the first receiving module; extracting target user preference information in the target multimedia file by a first processing module; the second processing module determines a target screen display parameter value according to the target user preference information; the third processing module updates the parameter value of the screen display parameter of the display screen according to the target screen display parameter value; the display module displays the target multimedia file through the display screen after updating the parameter value of the screen display parameter, so that the first file sharing device, namely the receiving terminal equipment can update the parameter value of the screen display parameter of the display screen according to the target user preference information in the multimedia file shared by the second file processing device, and therefore when the receiving terminal user watches or browses the multimedia file, the screen display effect meeting the self requirements of the user can be displayed through the display screen.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in an embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the file sharing method embodiment or implement the file displaying method, and the same technical effect can be achieved, and is not described herein again to avoid repetition.
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.
In the embodiment of the present application, a file sharing method executed by a file sharing device is taken as an example to describe the file sharing device provided in the embodiment of the present application.
Fig. 5 is a schematic structural diagram of a file sharing device according to an embodiment of the present disclosure. The file sharing apparatus 500 is a second file sharing apparatus, and may include:
an obtaining module 501, configured to obtain a target multimedia file to be shared and target user preference information;
a fourth processing module 502, configured to add the target user preference information to a header of the target multimedia file;
the sharing module 503 is configured to share the target multimedia file with a first file sharing device, so that the first file sharing device updates a parameter value of a screen display parameter of a display screen based on the target user preference information, and displays the target multimedia file through the display screen after updating the parameter value of the screen display parameter.
Optionally, the target user preference information is preference information of a target user on screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
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 (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The file sharing device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 2, and is not described here again to avoid repetition.
According to the file sharing device, the target multimedia file to be shared and the target user preference information are acquired through the acquisition module; the fourth processing module adds the target user preference information to a file header of the target multimedia file; the sharing module shares the target multimedia file with a first file sharing device, so that the first file sharing device updates the parameter value of the screen display parameter of the display screen based on the preference information of the target user, and displays the target multimedia file through the display screen after updating the parameter value of the screen display parameter, and therefore, when the target user watches or browses the multimedia file, the screen display effect meeting the self requirements of the user can be displayed through the display screen.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611.
Those skilled in the art will appreciate that the electronic device 600 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 610 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. 6 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.
When the electronic device 600 is used as a first electronic device and the first electronic device includes a first file sharing apparatus, the processor 610 is configured to receive a target multimedia file shared by a second file sharing apparatus; extracting target user preference information in the target multimedia file; determining a target screen display parameter value according to the target user preference information; updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value; and the display unit 606 is configured to display the target multimedia file through the display screen after the parameter value of the screen display parameter is updated.
In the embodiment of the application, the parameter value of the screen display parameter of the display screen can be updated, so that when a receiving end user watches or browses the multimedia file, the screen display effect meeting the self requirement of the user can be presented through the display screen.
Optionally, the target user preference information is preference information of a target user on screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
Optionally, the target user preference information comprises a screen display parameter value; accordingly, the processor 610 is further configured to:
and determining the screen display parameter value as a target screen display parameter value.
Optionally, the target user preference information includes a screen color system, and the screen color system includes a warm color system, a cold color system, or a neutral color system; accordingly, the processor 610 is further configured to:
determining screen display parameter values associated with the screen color system as target screen display parameter values.
Optionally, the target user preference information includes a picture style type, and the target multimedia file is a video file; accordingly, the processor 610 is further configured to:
identifying N video style types of the target multimedia file;
under the condition that the value of N is 1, determining screen display parameter values associated with the video style type and the picture style type as target screen display parameter values;
under the condition that the value of N is larger than 1, determining N sub-video files based on the N video style types, and determining N groups of screen parameter values associated with the N video style types and the picture style types as target screen display parameter values;
wherein one sub-video segment corresponds to one picture style type.
Optionally, the first file sharing device stores a preset association relationship in advance;
under the condition that the target user preference information comprises a screen color system, the preset association relationship is an association relationship between the screen color system and a screen display parameter value;
and under the condition that the target user preference information comprises the picture style type, the preset association relationship is the association relationship between the picture style type and the screen display parameter value.
When the electronic device 600 is used as a second electronic device, and the second electronic device includes a second file sharing apparatus, the processor 610 is configured to obtain a target multimedia file to be shared and target user preference information; adding the target user preference information to a file header of the target multimedia file; and sharing the target multimedia file to a first file sharing device, so that the first file sharing device updates the parameter value of the screen display parameter of the display screen based on the target user preference information, and displays the target multimedia file through the display screen after the parameter value of the screen display parameter is updated.
Optionally, the target user preference information is preference information of a target user on screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
In the embodiment of the application, when the target user watches or browses the multimedia file, the screen display effect meeting the requirements of the user can be presented through the display screen.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 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 609 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 610 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 610.
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 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, 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 (18)

1. A file sharing method is applied to a first file sharing device and is characterized by comprising the following steps:
receiving a target multimedia file shared by a second file sharing device;
extracting target user preference information in the target multimedia file;
determining a target screen display parameter value according to the target user preference information;
updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value;
and displaying the target multimedia file through the display screen after the parameter values of the screen display parameters are updated.
2. The method according to claim 1, wherein the target user preference information is target user preference information for screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
3. The method of claim 2, wherein the target user preference information comprises screen display parameter values;
determining a target screen display parameter value according to the target user preference information, wherein the determining comprises:
and determining the screen display parameter value as a target screen display parameter value.
4. The method of claim 2, wherein the target user preference information comprises a screen color family comprising a warm color family, a cold color family, or a neutral color family;
determining a target screen display parameter value according to the target user preference information, wherein the determining comprises:
determining screen display parameter values associated with the screen color system as target screen display parameter values.
5. The method of claim 2, wherein the target user preference information includes a picture style type, and the target multimedia file is a video file;
determining a target screen display parameter value according to the target user preference information, wherein the determining comprises:
identifying N video style types of the target multimedia file;
under the condition that the value of N is 1, determining screen display parameter values associated with the video style type and the picture style type as target screen display parameter values;
under the condition that the value of N is larger than 1, determining N sub-video files based on the N video style types, and determining N groups of screen parameter values associated with the N video style types and the picture style types as target screen display parameter values;
wherein one sub-video segment corresponds to one picture style type.
6. The method according to claim 2, wherein the first file sharing device stores a preset association relationship in advance;
under the condition that the target user preference information comprises a screen color system, the preset association relationship is an association relationship between the screen color system and a screen display parameter value;
and under the condition that the target user preference information comprises the picture style type, the preset association relationship is the association relationship between the picture style type and the screen display parameter value.
7. A file sharing method is applied to a second file sharing device and is characterized by comprising the following steps:
acquiring a target multimedia file to be shared and target user preference information;
adding the target user preference information to a file header of the target multimedia file;
and sharing the target multimedia file to a first file sharing device, so that the first file sharing device updates the parameter value of the screen display parameter of the display screen based on the target user preference information, and displays the target multimedia file through the display screen after the parameter value of the screen display parameter is updated.
8. The method according to claim 7, wherein the target user preference information is target user preference information for screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
9. The utility model provides a file sharing device, file sharing device is first file sharing device, its characterized in that includes:
the receiving module is used for receiving the target multimedia file shared by the second file sharing device;
the first processing module is used for extracting target user preference information in the target multimedia file;
the second processing module is used for determining a target screen display parameter value according to the target user preference information;
the third processing module is used for updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value;
and the display module is used for displaying the target multimedia file through the display screen after the parameter values of the screen display parameters are updated.
10. The apparatus according to claim 9, wherein the target user preference information is target user preference information for screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
11. The apparatus of claim 10, wherein the target user preference information comprises screen display parameter values;
the second processing module comprises:
and the first processing unit is used for determining the screen display parameter value as a target screen display parameter value.
12. The apparatus of claim 10, wherein the target user preference information comprises a screen color family comprising a warm color family, a cold color family, or a neutral color family;
the second processing module comprises:
and the second processing unit is used for determining the screen display parameter value associated with the screen color system as a target screen display parameter value.
13. The apparatus of claim 10, wherein the target user preference information comprises a picture style type, and the target multimedia file is a video file;
the second processing module comprises:
the identification unit is used for identifying N video style types of the target multimedia file;
the third processing unit is used for determining screen display parameter values related to the video style type and the picture style type as target screen display parameter values under the condition that the value of N is 1;
a fourth processing unit, configured to determine N sub-video files based on the N video style types and determine N sets of screen parameter values associated with the N video style types and the picture style types as target screen display parameter values when the value of N is greater than 1;
wherein one sub-video segment corresponds to one picture style type.
14. The apparatus according to claim 10, wherein the first file sharing apparatus stores a preset association relationship in advance;
under the condition that the target user preference information comprises a screen color system, the preset association relationship is an association relationship between the screen color system and a screen display parameter value;
and under the condition that the target user preference information comprises the picture style type, the preset association relationship is the association relationship between the picture style type and the screen display parameter value.
15. The utility model provides a file sharing device, file sharing device is second file sharing device, its characterized in that includes:
the acquisition module is used for acquiring a target multimedia file to be shared and target user preference information;
the fourth processing module is used for adding the target user preference information into a file header of the target multimedia file;
the sharing module is used for sharing the target multimedia file to a first file sharing device so that the first file sharing device updates the parameter value of the screen display parameter of the display screen based on the target user preference information, and the target multimedia file is displayed through the display screen after the parameter value of the screen display parameter is updated.
16. The apparatus according to claim 15, wherein the target user preference information is target user preference information for screen color; the target user preference information includes at least one of: screen display parameter values, screen color system and picture style types.
17. 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 steps of the file sharing method according to any one of claims 1 to 6 or implementing the steps of the file sharing method according to any one of claims 7 to 8.
18. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the file sharing method according to any one of claims 1 to 6, or implement the steps of the file sharing method according to any one of claims 7 to 8.
CN202110184928.XA 2021-02-10 2021-02-10 File sharing method and device, electronic equipment and medium Pending CN112883211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110184928.XA CN112883211A (en) 2021-02-10 2021-02-10 File sharing method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110184928.XA CN112883211A (en) 2021-02-10 2021-02-10 File sharing method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN112883211A true CN112883211A (en) 2021-06-01

Family

ID=76056411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110184928.XA Pending CN112883211A (en) 2021-02-10 2021-02-10 File sharing method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN112883211A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030104830A1 (en) * 2001-12-03 2003-06-05 David Norwood Method and apparatus for displaying real-time information objects between a wireless mobile user station and multiple information sources based upon event driven parameters and user modifiable object manifest
CN101621700A (en) * 2008-10-21 2010-01-06 青岛海信电器股份有限公司 Color gamut matching method for multimedia device and TV
CN106648500A (en) * 2016-11-10 2017-05-10 乐视控股(北京)有限公司 Multi-screen display method, device and system
CN106982379A (en) * 2017-04-21 2017-07-25 北京小米移动软件有限公司 Management method, device and the terminal of screen color
CN109035180A (en) * 2018-09-27 2018-12-18 广州酷狗计算机科技有限公司 Video broadcasting method, device, equipment and storage medium
CN110366041A (en) * 2019-07-17 2019-10-22 百度在线网络技术(北京)有限公司 Media data sharing method, device and equipment
CN112241397A (en) * 2019-07-18 2021-01-19 腾讯科技(深圳)有限公司 Multimedia file sharing method and device, electronic equipment and readable storage medium
CN112241327A (en) * 2019-07-17 2021-01-19 腾讯科技(深圳)有限公司 Shared information processing method and device, storage medium and electronic equipment
CN112287260A (en) * 2020-10-20 2021-01-29 维沃移动通信有限公司 Content output method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030104830A1 (en) * 2001-12-03 2003-06-05 David Norwood Method and apparatus for displaying real-time information objects between a wireless mobile user station and multiple information sources based upon event driven parameters and user modifiable object manifest
CN101621700A (en) * 2008-10-21 2010-01-06 青岛海信电器股份有限公司 Color gamut matching method for multimedia device and TV
CN106648500A (en) * 2016-11-10 2017-05-10 乐视控股(北京)有限公司 Multi-screen display method, device and system
CN106982379A (en) * 2017-04-21 2017-07-25 北京小米移动软件有限公司 Management method, device and the terminal of screen color
CN109035180A (en) * 2018-09-27 2018-12-18 广州酷狗计算机科技有限公司 Video broadcasting method, device, equipment and storage medium
CN110366041A (en) * 2019-07-17 2019-10-22 百度在线网络技术(北京)有限公司 Media data sharing method, device and equipment
CN112241327A (en) * 2019-07-17 2021-01-19 腾讯科技(深圳)有限公司 Shared information processing method and device, storage medium and electronic equipment
CN112241397A (en) * 2019-07-18 2021-01-19 腾讯科技(深圳)有限公司 Multimedia file sharing method and device, electronic equipment and readable storage medium
CN112287260A (en) * 2020-10-20 2021-01-29 维沃移动通信有限公司 Content output method and device and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DUC V. NGUYEN: "A QoS-adaptive framework for screen sharing over Internet", 2016 EIGHTH INTERNATIONAL CONFERENCE ON UBIQUITOUS AND FUTURE NETWORKS (ICUFN), 11 August 2016 (2016-08-11) *
沈模卫;沈勇;梁君英;乔歆新;陈晶;陈雯;陈硕;: "即时通讯工具使用体验及其与使用动机和偏好的关系模型", 应用心理学, no. 03, 15 September 2008 (2008-09-15) *

Similar Documents

Publication Publication Date Title
CN113114841B (en) Dynamic wallpaper acquisition method and device
CN113010063B (en) File previewing method and device, electronic equipment and storage medium
WO2009029955A1 (en) Tuning/customization
CN106201246A (en) Page layout processing method and processing device
CN113010126A (en) Display control method, display control device, electronic device, and medium
CN112929748B (en) Video processing method, video processing device, electronic equipment and medium
WO2023116678A1 (en) Desktop display method and apparatus, electronic device, and medium
CN112004117A (en) Video playing method and device
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN111857510A (en) Parameter adjusting method and device and electronic equipment
CN106469036B (en) Information display method and client
CN113938551B (en) Caching method and device, electronic equipment and storage medium
CN113596555B (en) Video playing method and device and electronic equipment
CN112788178B (en) Message display method and device
CN113709300B (en) Display method and device
CN112883211A (en) File sharing method and device, electronic equipment and medium
WO2022267433A1 (en) Video resource processing method and apparatus
CN114125149A (en) Video playing method, device, system, electronic equipment and storage medium
CN113962840A (en) Image processing method, image processing device, electronic equipment and storage medium
CN112104785B (en) Information display method and device
CN112099682B (en) Icon display method and device and electronic equipment
CN113779293A (en) Image downloading method, device, electronic equipment and medium
CN112418942A (en) Advertisement display method and device and electronic equipment
CN113905125A (en) Video display method and device and electronic equipment
CN113676734A (en) Image compression method and image compression device

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