[go: up one dir, main page]

CN112883211B - File sharing method, device, electronic device and medium - Google Patents

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

Info

Publication number
CN112883211B
CN112883211B CN202110184928.XA CN202110184928A CN112883211B CN 112883211 B CN112883211 B CN 112883211B CN 202110184928 A CN202110184928 A CN 202110184928A CN 112883211 B CN112883211 B CN 112883211B
Authority
CN
China
Prior art keywords
target
file
preference information
screen
screen display
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.)
Active
Application number
CN202110184928.XA
Other languages
Chinese (zh)
Other versions
CN112883211A (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 CN202110184928.XA priority Critical patent/CN112883211B/en
Publication of CN112883211A publication Critical patent/CN112883211A/en
Application granted granted Critical
Publication of CN112883211B publication Critical patent/CN112883211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种文件分享方法、装置、电子设备及介质,属于通信技术领域。该方法包括:接收第二文件分享装置分享的目标多媒体文件;提取所述目标多媒体文件中的目标用户偏好信息;根据所述目标用户偏好信息,确定目标屏幕显示参数值;按照所述目标屏幕显示参数值,更新显示屏的屏幕显示参数的参数值;通过更新屏幕显示参数的参数值后的所述显示屏,显示所述目标多媒体文件。本申请使得接收端用户在观看或者浏览多媒体文件时,能够通过显示屏呈现符合用户自身需求的屏幕显示效果。

The present application discloses a file sharing method, device, electronic device and medium, belonging to the field of communication technology. The method comprises: 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; displaying the target multimedia file through the display screen after updating the parameter value of the screen display parameter. The present application enables the receiving end user to present a screen display effect that meets the user's own needs through the display screen when watching or browsing multimedia files.

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 method and apparatus for sharing files, 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 intelligent electronic devices have more and more functions, such as photographing, video shooting, audio and video playing, web page browsing, mail receiving and sending, etc. Among them, photographing using an electronic device is also popular with users.
The effect style of the multimedia files such as photos or videos seen by people is basically fixed no matter the multimedia files are shared by others or seen from various websites, so that the display effect seen by the users is basically consistent. However, in reality, the needs of each person are different, and the prior art cannot enable the user to see the display effect meeting the needs of the user.
Disclosure of Invention
The embodiment of the application aims to provide a file sharing method, a device, electronic equipment and a medium, which can solve the problem that a user cannot watch a display effect meeting the self requirement when watching or browsing a multimedia file in the prior art.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a file sharing method, which is applied to a first file sharing device, where the method includes:
receiving a target multimedia file shared by the 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 updating the parameter value of the screen display parameter.
In a second aspect, an embodiment of the present application provides a file sharing method, which is applied to a second file sharing device, where the method includes:
acquiring a target multimedia file to be shared and target user preference information;
adding the target user preference information to a 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.
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, including:
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 updating the parameter value of the screen display parameter.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, where the program or the instruction implements the steps of the file sharing method according to the first aspect when executed by the processor.
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, including:
The acquisition module is used for acquiring the target multimedia file to be shared and the target user preference information;
a fourth processing module for adding the target user preference information to a header of the target multimedia file;
And the sharing module is used for sharing the target multimedia file to the 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 updating the parameter value of the screen display parameter.
In a sixth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, where the program or the instruction implements the steps of the file sharing method according to the second aspect when executed by the processor.
In a seventh aspect, an embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction implement the steps of the file sharing method according to the first aspect or implement the steps of the file sharing method according to the second aspect when executed by a processor.
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 instructions to implement a file sharing method according to the first aspect, or implement steps of the file sharing method according to the second aspect.
According to the embodiment of the application, the target multimedia file shared by the second file sharing device is received, the target user preference information in the target multimedia file is extracted, the target screen display parameter value is determined according to the target user preference information, the parameter value of the screen display parameter of the display screen is updated according to the target screen display parameter value, and 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 therefore, when a receiving terminal user views or browses the multimedia file, the screen display effect meeting the user's own needs can be displayed through the display screen.
Drawings
FIG. 1 is a flow chart of a file sharing method according to an embodiment of the present application;
FIG. 2 is a second flowchart of a file sharing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a file sharing device according to an embodiment of the application;
FIG. 4 is a second schematic diagram of a document sharing apparatus according to an embodiment of the 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 following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The photographing method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes 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 application. 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 device may be received, or the target multimedia file forwarded by the second file sharing device 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.
Step 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 parsing 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 colors, and the target user preference information comprises at least one of screen display parameter values, screen color systems and picture style types.
Step 103, determining a target screen display parameter value according to the target user preference information;
104, updating the parameter values of the screen display parameters of the display screen according to the target screen display parameter values;
Specifically, the method comprises the steps of outputting the target screen display parameter value to a drive IC of a 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 step 105, displaying the target multimedia file through the display screen after updating the parameter value of the screen display parameter.
Here, the display screen updated based on the parameter value of the screen display parameter can enable the screen display effect of the corresponding display screen of the user on the first file sharing device side, namely the receiving end device side, to meet the self requirement of the user when the user views or browses the target multimedia file.
The file sharing method includes the steps of 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 a parameter value of a screen display parameter of a display screen according to the target screen display parameter value, and displaying the target multimedia file through the display screen after updating the parameter value of the screen display parameter.
As an optional implementation manner, when the target user preference information includes a screen display parameter value, the determining, according to the target user preference information, the target screen display parameter value in step 103 of the embodiment of the present application may include:
And determining the screen display parameter value as a target screen display parameter value.
Here, because the target user preference information is used for representing the preference of the target user to the screen color, 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, and then 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, where the screen color system includes a warm color system, a cool color system, or a neutral color system, the determining, according to the target user preference information, the target screen display parameter value in step 103 of the embodiment of the present application may include:
and determining a screen display parameter value associated with the screen color family as a target screen display parameter value.
Here, the screen display parameter values associated with the screen color system preferred by the target user can be obtained by the association relationship of the screen display parameter and the screen color system stored in advance.
Specifically, the association relation 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 conveniently and quickly obtained based on the association relation.
Typically, a display screen has many parameters that can be used to change the display effect of the screen, such as gamma parameters, CE parameters, etc. Typically, the display screen has a color adjustment module inside the IC. In the embodiment of the application, the association relation between the screen display parameters and the screen color system is obtained by adjusting the gamma parameter setting.
Here, the gamma parameter is a set of general parameters, where the set of parameters is implemented by a value stored in a register corresponding to the gamma parameter, for example, default to mode a, that is, in this mode a, the display screen presents the color of the image itself.
Alternatively, the parameter pattern may correspond to a screen color system, recorded as Table A
Table A
The generation of various modes can be obtained by modifying gamma parameters, CE parameters and the like.
For a scene, such as a movie, in which the multimedia file is a video file, the type of video style corresponding to the played video clip is often changeable in the playing duration, such as a period of time, for example, a period of time may be a long-term recall, a period of time may be pleasant, a period of time may be particularly wounded, that is, the corresponding type of video style is rich and changeable. The video style types herein can represent the sensory experience brought to the viewer when the video file is played, and different video style types, namely, the visual experience corresponding to the video picture, which is intended to be presented by the user, are different from person to person, how to satisfy the dual requirements of the user on the sensory and visual aspects of the screen display effect finally presented by the video file based on the video style type of the video file, in combination with the video picture style, as a further optional implementation manner, when the target user preference information includes the picture style type, and the target multimedia file is the video file, the method step 103 of the embodiment of the present application determines the target screen display parameter value according to the target user preference information, and 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 established in advance, and may be obtained by machine learning, establishing a neural network model, or the like, and is not particularly limited herein.
Under the condition that the value of N is 1, determining the 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 correspondence between the video style and the picture style, that is, different video styles, and the picture style preferred by the user is different.
Here, N is 1, which indicates that the video style corresponding to the target video file is only one type, and based on the video style, the picture style preferred by the user is determined.
Determining N sub-video files based on the N video style types under the condition that the N value is larger than 1, 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, the value of N is greater than 1, which indicates that the video style corresponding to the target video file is more than one type, and then the picture style preferred by the user corresponding to the video style is determined based on different video styles.
Wherein one sub-video clip corresponds to one picture style type.
Here, the screen display parameter values associated with the N video genre types and the picture genre type may be obtained through an association relationship among the screen display parameter, the video genre type, and the picture genre type stored in advance.
Typically, a display screen has many parameters that can be used to change the display effect of the screen, such as gamma parameters, CE parameters, etc. Typically, the display screen has a color adjustment module inside the IC. According to the embodiment of the application, the association relationship among the screen display parameters, the video style and the picture style is obtained by adjusting the gamma parameter setting.
Here, the gamma parameter is a set of general parameters, where the set of parameters is implemented by a value stored in a register corresponding to the gamma parameter, for example, default to mode a, that is, in this 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. And is noted as table B.
Table B
Video style type Picture style type Parameter mode
Feeling of injury Cool colour ModeA
Pleasant and pleasant Warm color ModeB
Fight the fight Antique ModeC
... ... ...
The generation of various modes can be obtained by modifying gamma parameters, CE parameters and the like.
For example, when the video style of the current sub-video clip is identified to be changed during playing of the target video file, the picture style of the corresponding user preference under the video style can be found through the table B, and the parameter mode is determined based on the picture style, that is, the target screen display parameter value is determined.
Optionally, the first file sharing device stores a preset association relationship in advance;
In the case that the target user preference information includes a screen color system, the preset association relationship is an association relationship between the screen color system and a screen display parameter value;
in the case that the target user preference information includes a picture style, the preset association relationship is an association relationship between a picture style and a screen display parameter value.
The file sharing method includes the steps of 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 a parameter value of a screen display parameter of a display screen according to the target screen display parameter value, and displaying the target multimedia file through the display screen after updating the parameter value of the screen display parameter.
Fig. 2 is a schematic flow chart of a file sharing method according to an embodiment of the present application. The method is applied to the second file sharing device. The implementation of the method is described in detail below with reference to the 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, a multimedia file browsed by a user on the internet, or a multimedia file generated instantly by a local device, for example, a picture or video file instantly taken.
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 may click on a video sharing control, pop up a buddy list to be shared, and determine, through selection input of the user to the buddy list, a target user, that is, an object to be shared corresponding to the video file.
Here, the target user preference information is used to characterize the target user's preference for screen color. Specifically, the preference information of the target user can be obtained by analyzing big data and collecting the behavior habits of the target user.
Step 202, adding the target user preference information into a file header of the target multimedia file;
Here, if the target multimedia file is a multimedia file generated in real time, the target multimedia file may be selectively saved or not saved after being generated. And finally, adding the target user preference information into the file header of the target multimedia file, thereby facilitating the target to be 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.
And 203, 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.
It should be noted that, because 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 display the parameter value of the screen display parameter of the new 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 display the screen display effect meeting the user's own requirement through the display screen when watching 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 obtained, the target user preference information is added to the file header of the target multimedia file, the target multimedia file is shared to the 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 updating the parameter value of the screen display parameter, so that the target user can display the screen display effect meeting the user's own requirements 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 colors, and the target user preference information comprises at least one of screen display parameter values, screen color systems and picture style types.
As an optional implementation manner, before obtaining the target multimedia file to be shared and the target user preference information, the embodiment of the present application may further include:
acquiring historical behavior information for a target user to watch a multimedia file;
here, the history behavior information includes behavior habits and access frequency of the target user for viewing the multimedia file.
And obtaining target user preference information of the target user according to the historical behavior information.
It should be noted that, the electronic device obtains user preference information of different users through analysis of big data by using historical behavior information of different users, and stores records.
Table C
Zhang San (Zhang San) Cool colour
Liwu four-element bag Warm color
Wangdi (Chinese character) Antique
... ...
According to the file sharing method, the target multimedia file to be shared and the target user preference information are obtained, the target user preference information is added to the file header of the target multimedia file, the target multimedia file is shared to the 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 updating the parameter value of the screen display parameter, so that the target user can display the screen display effect meeting the user's own requirements 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 body may be a file sharing device, or a control module for executing the file sharing method in the file sharing device.
In the embodiment of the application, a method for executing file sharing by using a file sharing device is taken as an example, and the file sharing device provided by the embodiment of the application is described.
Fig. 3 is a schematic structural diagram of a file sharing device according to an embodiment of the present application. The file sharing device 300 is a first file sharing device, and may include:
the receiving module 301 is configured to receive a target multimedia file shared by the second file sharing device;
A first processing module 302, configured to extract target user preference information in the target multimedia file;
a second processing module 303, configured to determine a target screen display parameter value according to the target user preference information;
A third processing module 304, configured to update a parameter value of a screen display parameter of the display screen according to the target screen display parameter value;
And the display module 305 is 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 colors, and the target user preference information comprises at least one of screen display parameter values, screen color systems and picture style types.
Optionally, the target user preference information includes a screen display parameter value;
accordingly, 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 including a warm color system, a cool color system, or a neutral color system;
accordingly, the second processing module 303 includes:
And a second processing unit for determining a 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;
A third processing unit, configured to determine, as a target screen display parameter value, a screen display parameter value associated with the video style type and the picture style type, in the case where N has a value of 1;
a fourth processing unit, configured to determine, based on the N video genre types, N sub-video files, and determine N sets of screen parameter values associated with the N video genre types and the picture genre types as target screen display parameter values, if the N value is greater than 1;
Wherein one sub-video clip corresponds to one picture style type.
Optionally, the first file sharing device stores a preset association relationship in advance;
In the case that the target user preference information includes a screen color system, the preset association relationship is an association relationship between the screen color system and a screen display parameter value;
in the case that the target user preference information includes a picture style, the preset association relationship is an association relationship between a picture style and a screen display parameter value.
The sharing device of the multimedia file in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), an automated teller machine or a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The file sharing device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The file sharing device provided by the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and in order to avoid repetition, details are not repeated here.
The file sharing device comprises a first receiving module, a first processing module, a third processing module, a display module and a first file sharing device, wherein the first receiving module is used for receiving target multimedia files shared by the second file sharing device, the first processing module is used for extracting target user preference information in the target multimedia files, the second processing module is used for determining target screen display parameter values according to the target user preference information, the third processing module is used for updating the parameter values of screen display parameters of a display screen according to the target screen display parameter values, and the display module is used for displaying the target multimedia files through the display screen after updating the parameter values of the screen display parameters.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and capable of running on the processor 401, where the program or the instruction implements each process of the above embodiment of the file sharing method or implements the above method for displaying a file when executed by the processor 401, and the same technical effects can be achieved, so that repetition is avoided and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
In the embodiment of the application, a method for executing file sharing by using a file sharing device is taken as an example, and the file sharing device provided by the embodiment of the application is described.
Fig. 5 is a schematic structural diagram of a file sharing device according to an embodiment of the present application. The file sharing device 500 is a second file sharing device, and may include:
the acquiring module 501 is configured to acquire 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;
and the sharing module 503 is configured to share 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.
Optionally, the target user preference information is preference information of a target user on screen colors, and the target user preference information comprises at least one of screen display parameter values, screen color systems and picture style types.
The file sharing device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), an automated teller machine or a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The file sharing device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The file sharing device provided by the embodiment of the present application can implement each process implemented by the method embodiment of fig. 2, and in order to avoid repetition, details are not repeated here.
The file sharing device comprises a file sharing module, a first processing module, a second processing module and a third processing module, wherein the file sharing module is used for acquiring target multimedia files to be shared and target user preference information through the acquisition module, the fourth processing module is used for adding the target user preference information into file headers of the target multimedia files, the sharing module is used for sharing the target multimedia files to a first file sharing device, the first file sharing device is used for updating parameter values of screen display parameters of a display screen based on the target user preference information, and the target multimedia files are displayed through the display screen after the parameter values of the screen display parameters are updated, so that a target user can display screen display effects meeting own requirements of the user through the display screen when watching or browsing the multimedia files.
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 include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 610 by a power management system to perform functions such as managing charge, discharge, and power consumption by 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
When the electronic device 600 is used as a first electronic device and the first electronic device includes a first file sharing device, the processor 610 is configured to receive a target multimedia file shared by a second file sharing device, extract target user preference information in the target multimedia file, determine a target screen display parameter value according to the target user preference information, update a parameter value of a screen display parameter of a display screen according to the target screen display parameter value, and display the target multimedia file through the display screen after updating the parameter value of the screen display parameter.
In the embodiment of the application, the parameter values of the screen display parameters of the display screen can be updated, so that a receiving end user can present the 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 colors, and the target user preference information comprises at least one of screen display parameter values, screen color systems and picture style types.
Optionally, the target user preference information includes screen display parameter values, and 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 including a warm color system, a cool color system, or a neutral color system, and the processor 610 is further configured to:
and determining a screen display parameter value associated with the screen color family as a target screen display parameter value.
Optionally, the target user preference information includes a picture style, and the target multimedia file is a video file, and 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 the screen display parameter values associated with the video style type and the picture style type as target screen display parameter values;
determining N sub-video files based on the N video style types under the condition that the N value is larger than 1, 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 clip corresponds to one picture style type.
Optionally, the first file sharing device stores a preset association relationship in advance;
In the case that the target user preference information includes a screen color system, the preset association relationship is an association relationship between the screen color system and a screen display parameter value;
in the case that the target user preference information includes a picture style, the preset association relationship is an association relationship between a picture style and a screen display parameter value.
When the electronic device 600 is used as a second electronic device, the second electronic device includes a second file sharing device, the processor 610 is configured to obtain a target multimedia file to be shared and target user preference information, add the target user preference information to a file header of the target multimedia file, share 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 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 colors, and the target user preference information comprises at least one of screen display parameter values, screen color systems and picture style types.
According to the embodiment of the application, when a target user views or browses the multimedia file, the screen display effect meeting the self requirements of the user can be presented through the display screen.
It should be appreciated that in embodiments of the present application, the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, with the graphics processor 6041 processing image data of still pictures or video obtained by an image capturing apparatus (e.g., 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. The touch panel 6071 is also called 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, a joystick, and so forth, 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 that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that 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 application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above embodiment of the file sharing method, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the file sharing method, and the same technical effects can be achieved, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (6)

1.一种文件分享方法,应用于第一文件分享装置,其特征在于,包括:1. A file sharing method, applied to a first file sharing device, comprising: 接收第二文件分享装置分享的目标多媒体文件;receiving a target multimedia file shared by a second file sharing device; 提取所述目标多媒体文件中的目标用户偏好信息,所述目标用户偏好信息为目标用户对屏幕色彩的偏好信息;Extracting target user preference information from the target multimedia file, wherein the target user preference information is the target user's preference information for screen color; 根据所述目标用户偏好信息,确定目标屏幕显示参数值;Determining a target screen display parameter value according to the target user preference information; 按照所述目标屏幕显示参数值,更新显示屏的屏幕显示参数的参数值;According to the target screen display parameter value, updating the parameter value of the screen display parameter of the display screen; 通过更新屏幕显示参数的参数值后的所述显示屏,显示所述目标多媒体文件;Displaying the target multimedia file on the display screen after updating the parameter value of the screen display parameter; 其中,所述目标用户偏好信息包括画面风格类型,所述目标多媒体文件为视频文件;Wherein, the target user preference information includes a picture style type, and the target multimedia file is a video file; 所述根据所述目标用户偏好信息,确定目标屏幕显示参数值,包括:The step of determining a target screen display parameter value according to the target user preference information includes: 识别所述目标多媒体文件的N个视频风格类型;Identifying N video style types of the target multimedia file; 在N取值为1的情况下,将与所述视频风格类型以及所述画面风格类型关联的屏幕显示参数值确定为目标屏幕显示参数值;When the value of N is 1, the screen display parameter value associated with the video style type and the picture style type is determined as the target screen display parameter value; 在N取值大于1的情况下,基于所述N个视频风格类型,确定N个子视频文件,将与所述N个视频风格类型以及所述画面风格类型关联的N组屏幕参数值确定为目标屏幕显示参数值;When the value of N is greater than 1, based on the N video style types, N sub-video files are determined, and N groups of screen parameter values associated with the N video style types and the picture style types are determined as target screen display parameter values; 其中,一个子视频片段对应一种画面风格类型。Among them, one sub-video segment corresponds to one picture style type. 2.一种文件分享方法,应用于第二文件分享装置,其特征在于,包括:2. A file sharing method, applied to a second file sharing device, comprising: 获取待分享的目标多媒体文件和目标用户偏好信息,所述目标用户偏好信息为目标用户对屏幕色彩的偏好信息;Acquire a target multimedia file to be shared and target user preference information, wherein the target user preference information is the target user's preference information for screen color; 将所述目标用户偏好信息添加至所述目标多媒体文件的文件头中;Adding the target user preference information to the file header of the target multimedia file; 将所述目标多媒体文件分享至第一文件分享装置,以使所述第一文件分享装置基于所述目标用户偏好信息,更新显示屏的屏幕显示参数的参数值,并通过更新屏幕显示参数的参数值后的显示屏,显示所述目标多媒体文件;其中,所述目标用户偏好信息包括画面风格类型,所述目标多媒体文件为视频文件。The target multimedia file is shared 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; wherein the target user preference information includes a picture style type, and the target multimedia file is a video file. 3.一种文件分享装置,所述文件分享装置为第一文件分享装置,其特征在于,包括:3. A file sharing device, the file sharing device being a first file sharing device, characterized in that it comprises: 接收模块,用于接收第二文件分享装置分享的目标多媒体文件;A receiving module, used for receiving a target multimedia file shared by a second file sharing device; 第一处理模块,用于提取所述目标多媒体文件中的目标用户偏好信息,所述目标用户偏好信息为目标用户对屏幕色彩的偏好信息;A first processing module is used to extract target user preference information from the target multimedia file, where the target user preference information is the target user's preference information for screen color; 第二处理模块,用于根据所述目标用户偏好信息,确定目标屏幕显示参数值;A second processing module, used to determine a target screen display parameter value according to the target user preference information; 第三处理模块,用于按照所述目标屏幕显示参数值,更新显示屏的屏幕显示参数的参数值;A third processing module, used for updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value; 显示模块,用于通过更新屏幕显示参数的参数值后的所述显示屏,显示所述目标多媒体文件其中,所述目标用户偏好信息包括画面风格类型,所述目标多媒体文件为视频文件;A display module, configured to display the target multimedia file on the display screen after updating the parameter value of the screen display parameter, wherein the target user preference information includes a picture style type, and the target multimedia file is a video file; 所述第二处理模块包括:The second processing module comprises: 识别单元,用于识别所述目标多媒体文件的N个视频风格类型;An identification unit, used for identifying N video style types of the target multimedia file; 第三处理单元,用于在N取值为1的情况下,将与所述视频风格类型以及所述画面风格类型关联的屏幕显示参数值确定为目标屏幕显示参数值;A third processing unit, configured to determine, when the value of N is 1, a screen display parameter value associated with the video style type and the picture style type as a target screen display parameter value; 第四处理单元,用于在N取值大于1的情况下,基于所述N个视频风格类型,确定N个子视频文件,将与所述N个视频风格类型以及所述画面风格类型关联的N组屏幕参数值确定为目标屏幕显示参数值;a fourth processing unit, configured to determine N sub-video files based on the N video style types when the value of N is greater than 1, and determine N groups of screen parameter values associated with the N video style types and the picture style types as target screen display parameter values; 其中,一个子视频片段对应一种画面风格类型。Among them, one sub-video segment corresponds to one picture style type. 4.一种文件分享装置,所述文件分享装置为第二文件分享装置,其特征在于,包括:4. A file sharing device, the file sharing device being a second file sharing device, characterized in that it comprises: 获取模块,用于获取待分享的目标多媒体文件和目标用户偏好信息,所述目标用户偏好信息为目标用户对屏幕色彩的偏好信息;An acquisition module, used to acquire a target multimedia file to be shared and target user preference information, wherein the target user preference information is the target user's preference information for screen color; 第四处理模块,用于将所述目标用户偏好信息添加至所述目标多媒体文件的文件头中;A fourth processing module, used for adding the target user preference information to the file header of the target multimedia file; 分享模块,用于将所述目标多媒体文件分享至第一文件分享装置,以使所述第一文件分享装置基于所述目标用户偏好信息,更新显示屏的屏幕显示参数的参数值,并通过更新屏幕显示参数的参数值后的显示屏,显示所述目标多媒体文件;其中,所述目标用户偏好信息包括画面风格类型,所述目标多媒体文件为视频文件。A sharing module is used to share 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; wherein the target user preference information includes a picture style type, and the target multimedia file is a video file. 5.一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1所述的文件分享方法的步骤,或者实现如权利要求2所述的文件分享方法的步骤。5. An electronic device, characterized in that it includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the file sharing method as described in claim 1 are implemented, or the steps of the file sharing method as described in claim 2 are implemented. 6.一种可读存储介质,其特征在于,所述可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如权利要求1所述的文件分享方法的步骤,或者实现如权利要求2所述的文件分享方法的步骤。6. A readable storage medium, characterized in that a program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the file sharing method as claimed in claim 1 are implemented, or the steps of the file sharing method as claimed in claim 2 are implemented.
CN202110184928.XA 2021-02-10 2021-02-10 File sharing method, device, electronic device and medium Active CN112883211B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN112883211A CN112883211A (en) 2021-06-01
CN112883211B true CN112883211B (en) 2025-03-21

Family

ID=76056411

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN112883211B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287260A (en) * 2020-10-20 2021-01-29 维沃移动通信有限公司 Content output method and device and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7289793B2 (en) * 2001-12-03 2007-10-30 Scott Gilbert 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
CN101621700B (en) * 2008-10-21 2011-04-13 青岛海信电器股份有限公司 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
CN110366041B (en) * 2019-07-17 2020-09-01 百度在线网络技术(北京)有限公司 Media data sharing method, device and equipment
CN112241327B (en) * 2019-07-17 2024-10-18 腾讯科技(深圳)有限公司 Sharing information processing method, device, storage medium and electronic device
CN112241397B (en) * 2019-07-18 2023-08-22 腾讯科技(深圳)有限公司 Sharing method and device of multimedia files, electronic equipment and readable storage medium
CN110933306A (en) * 2019-11-29 2020-03-27 维沃移动通信有限公司 A method and electronic device for sharing shooting parameters

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287260A (en) * 2020-10-20 2021-01-29 维沃移动通信有限公司 Content output method and device and electronic equipment

Also Published As

Publication number Publication date
CN112883211A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN113114841B (en) Dynamic wallpaper acquisition method and device
US11580155B2 (en) Display device for displaying related digital images
CN111654635A (en) Shooting parameter adjustment method, device and electronic device
CN113010126B (en) Display control method, device, electronic equipment and medium
WO2022206696A1 (en) Photographing interface display method and apparatus, electronic device and medium
CN110572706B (en) Video screenshot method, terminal and computer-readable storage medium
CN112911147B (en) Display control method, display control device and electronic equipment
CN106201246A (en) Page layout processing method and processing device
CN111857512A (en) Image editing method, apparatus and electronic device
CN112418942A (en) Advertising display method, device and electronic device
WO2016202024A1 (en) 3d animation presentation method and device
WO2023116678A1 (en) Desktop display method and apparatus, electronic device, and medium
CN114025092A (en) Shooting control display method, device, electronic device and medium
CN113905125B (en) Video display method and device, electronic equipment and storage medium
CN112330728B (en) Image processing method, device, electronic device and readable storage medium
CN112818147B (en) Image processing method, device, equipment and storage medium
WO2022267433A1 (en) Video resource processing method and apparatus
CN112883211B (en) File sharing method, device, electronic device and medium
US20240184434A1 (en) Display method and apparatus
CN104137101B (en) Method, apparatus for managing media file and computer program product
CN113676734B (en) Image compression method and image compression device
CN114339410B (en) Frame insertion method, device and electronic equipment
CN113766141B (en) Image information processing method and device
CN114125149A (en) Video playing method, device, system, electronic equipment and storage medium
WO2023011300A1 (en) Method and apparatus for recording facial expression of video viewer

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