File sharing method, device, electronic device and medium

By receiving and parsing user preference information in multimedia files and updating display parameters of the display screen, the problem that cannot meet users' personalized display needs in the prior art is solved, and the user can see a display effect that meets their own needs when viewing multimedia files.

CN112883211BActive Publication Date: 2025-03-21VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110184928.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-10
Publication Date
2025-03-21
Estimated Expiration
2041-02-10

AI Technical Summary

Technical Problem

The prior art cannot enable users to see display effects that meet their own needs when viewing or browsing multimedia files.

Method used

By receiving user preference information in the target multimedia file, determine the target screen display parameter value, and update the screen display parameter value of the display screen to display the multimedia file that meets user needs.

Benefits of technology

It realizes that the screen display parameters of the display screen are updated on the receiving device according to the user's preference information, so that users can see the display effect that meets their own needs when viewing or browsing multimedia files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112883211B_ABST
    Figure CN112883211B_ABST
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a file sharing method, device, electronic device and medium. Background Art

[0002] With the continuous development of mobile communication technology, smart electronic devices (such as mobile phones) are becoming more and more popular. Smart electronic devices have more and more functions, such as taking photos, shooting videos, playing audio and video, browsing the web, sending and receiving emails, etc. Among them, using electronic devices to take photos is also widely favored by users.

[0003] Nowadays, the multimedia files such as photos or videos that people see, whether they are shared by others or viewed from various websites, have basically fixed effect styles, so the display effects seen by users are basically the same. However, in reality, everyone's needs are different, and the existing technology cannot enable users to see display effects that meet their needs. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a file sharing method, device, electronic device and medium, which can solve the problem in the prior art that when viewing or browsing multimedia files, users cannot see the display effects that meet their needs.

[0005] In order to solve the above technical problems, this application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a file sharing method, which is applied to a first file sharing device. The method includes:

[0007] receiving a target multimedia file shared by a second file sharing device;

[0008] extracting target user preference information from the target multimedia file;

[0009] Determining a target screen display parameter value according to the target user preference information;

[0010] According to the target screen display parameter value, updating the parameter value of the screen display parameter of the display screen;

[0011] The target multimedia file is displayed on the display screen after updating the parameter value of the screen display parameter.

[0012] In a second aspect, an embodiment of the present application provides a file sharing method, which is applied to a second file sharing device, and the method includes:

[0013] Obtaining target multimedia files to be shared and target user preference information;

[0014] Adding the target user preference information to the file header of the target multimedia file;

[0015] 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.

[0016] In a third aspect, an embodiment of the present application further provides a file sharing device, wherein the file sharing device is a first file sharing device, comprising:

[0017] A first receiving module, used for receiving a target multimedia file shared by a second file sharing device;

[0018] A first processing module, used for extracting target user preference information from the target multimedia file;

[0019] A second processing module, used to determine a target screen display parameter value according to the target user preference information;

[0020] 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;

[0021] The display module is used to display the target multimedia file on the display screen after updating the parameter value of the screen display parameter.

[0022] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the file sharing method described in the first aspect.

[0023] In a fifth aspect, an embodiment of the present application further provides a file sharing device, wherein the file sharing device is a second file sharing device, comprising:

[0024] An acquisition module, used to acquire the target multimedia file to be shared and the target user preference information;

[0025] A fourth processing module, used for adding the target user preference information to the file header of the target multimedia file;

[0026] The sharing module is used to share 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 displays the target multimedia file through the display screen after the parameter value of the screen display parameter is updated.

[0027] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the file sharing method described in the second aspect.

[0028] In the seventh aspect, an embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the file sharing method described in the first aspect are implemented, or the steps of the file sharing method described in the second aspect are implemented.

[0029] In an eighth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the file sharing method as described in the first aspect, or to implement the steps of the file sharing method as described in the second aspect.

[0030] In an embodiment of the present application, a target multimedia file shared by a second file sharing device is received; target user preference information in the target multimedia file is extracted; a target screen display parameter value is determined according to the target user preference information; parameter values ​​of screen display parameters of a display screen are updated according to the target screen display parameter values; and the target multimedia file is displayed on the display screen after the parameter values ​​of the screen display parameters are updated. In this way, the first file sharing device, i.e., the receiving device, can update the parameter values ​​of the screen display parameters of its display screen according to the target user preference information in the multimedia file shared by the second file processing device, so that when the receiving user watches or browses the multimedia file, the screen display effect that meets the user's own needs can be presented through the display screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 One of the flowcharts of the file sharing method provided in the embodiment of the present application;

[0032] Figure 2 The second flowchart of the file sharing method provided in the embodiment of the present application;

[0033] Figure 3 This is one of the structural diagrams of the file sharing device according to an embodiment of the present application;

[0034] Figure 4 This is a second structural diagram of the file sharing device according to an embodiment of the present application;

[0035] Figure 5 A schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0036] Figure 6A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0038] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0039] The photographing method provided by the embodiment of the present application will be described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0040] like Figure 1 FIG. 1 is a flowchart of a file sharing method provided by an embodiment of the present application. The method is applied to a first file sharing device, and the implementation process of the method is specifically described below with reference to the figure.

[0041] Step 101, receiving a target multimedia file shared by a second file sharing device;

[0042] Here, specifically, it can be receiving the target multimedia file sent by the second file sharing device, or it can be receiving the target multimedia file forwarded by the second file sharing device through the server. 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.

[0043] Here, the target multimedia file is a picture file or a video file.

[0044] Step 102, extracting target user preference information from the target multimedia file;

[0045] 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.

[0046] Here, the target user preference information is used to represent the target user's preference for screen color.

[0047] Optionally, the target user preference information is the target user's preference information for screen color; the target user preference information includes at least one of the following: screen display parameter value, screen color scheme, and screen style type.

[0048] Step 103, determining a target screen display parameter value according to the target user preference information;

[0049] Step 104, updating the parameter value of the screen display parameter of the display screen according to the target screen display parameter value;

[0050] Specifically, this step may include: outputting the target screen display parameter value to the driver IC of the display screen through a preset protocol and interface, and the driver IC updates the parameter value of the screen display parameter of the display screen according to the received target screen display parameter value.

[0051] Step 105, displaying the target multimedia file on the display screen after updating the parameter value of the screen display parameter.

[0052] Here, the display screen updated based on the parameter value of the screen display parameter can enable the user on the first file sharing apparatus side, ie, the receiving end device side, to watch or browse the target multimedia file, and the screen display effect of the corresponding display screen meets the user's own needs.

[0053] The file sharing method of the embodiment of the present invention receives a target multimedia file shared by a second file sharing device; extracts target user preference information in the target multimedia file; determines a target screen display parameter value according to the target user preference information; updates the parameter value of the screen display parameter of the display screen according to the target screen display parameter value; and displays the target multimedia file through the display screen after updating the parameter value of the screen display parameter. In this way, the first file sharing device, i.e., the receiving end device, can update the parameter value of the screen display parameter of its display screen according to the target user preference information in the multimedia file shared by the second file processing device, so that the receiving end user can present a screen display effect that meets the user's own needs through the display screen when watching or browsing the multimedia file.

[0054] As an optional implementation, when the target user preference information includes a screen display parameter value, step 103 of the method of the embodiment of the present application, determining the target screen display parameter value according to the target user preference information, may include:

[0055] The screen display parameter value is determined as a target screen display parameter value.

[0056] Here, since the target user preference information is used to characterize the target user's preference for screen color, when the target user preference information includes a screen display parameter value, the screen display parameter value is the screen display parameter value preferred by the target user. In this case, the screen display parameter is directly determined as the target screen display parameter value, which is used for updating the screen display parameters of subsequent display screens, thereby effectively improving the updating efficiency of the screen display parameters of the display screen.

[0057] As another optional implementation, when the target user preference information includes a screen color system, and the screen color system includes a warm color system, a cool color system, or a neutral color system, the method step 103 of the embodiment of the present application, determining the target screen display parameter value according to the target user preference information, may include:

[0058] A screen display parameter value associated with the screen color system is determined as a target screen display parameter value.

[0059] Here, the screen display parameter value associated with the screen color system preferred by the target user can be obtained through the pre-stored association relationship between the screen display parameter and the screen color system.

[0060] Specifically, by pre-establishing an association relationship between screen display parameters and screen color schemes and storing the association relationship, it is convenient to subsequently quickly obtain screen display parameter values ​​associated with the screen color scheme preferred by the target user based on the association relationship.

[0061] Usually, a display screen has many parameters that can be used to change the screen display effect, such as gamma parameters, CE parameters, etc. Generally, the IC of the display screen has a color adjustment module. In the embodiment of the present application, the correlation between the screen display parameters and the screen color system is obtained by adjusting the gamma parameter setting.

[0062] Here, the gamma parameter is a set of general parameters, wherein the whole set of parameters is implemented by values ​​stored in registers corresponding to the gamma parameters. For example, the default setting is mode A, that is, in mode A, the display screen presents the color of the image itself.

[0063] Optionally, the parameter mode may correspond to the screen color system, as shown in Table A

[0064] Table A

[0065]

[0066]

[0067] The generation of various modes can be obtained by modifying gamma parameters and CE parameters.

[0068] For the scene where the multimedia file is a video file, such as a movie, within its playback time, such as more than an hour, the video style type corresponding to the played video clip is often varied. For example, a certain period of time may be a memory of the distant past, a certain period of time may be more pleasant, and a period of time may be particularly sad, that is, the corresponding video style type is rich and varied. The video style type here can characterize the sensory experience brought to the viewer when the video file is played; and different video style types, the picture style that the user wants to present, that is, the visual experience corresponding to the video picture, also varies from person to person, and is different. How to meet the user's sensory and visual dual needs for the screen display effect finally presented by the video file based on the video style type of the video file, combined with the video picture style, as another optional implementation method, when the target user preference information includes the picture style type, and the target multimedia file is a video file, the method step 103 of the embodiment of the present application, according to the target user preference information, determines the target screen display parameter value, which may include:

[0069] Identifying N video style types of the target multimedia file;

[0070] Here, the N video style types of the target multimedia file can be identified by a preset classification model. It should be noted that the classification model is pre-established and can be obtained by machine learning, establishing a neural network model, etc., which is not specifically limited here.

[0071] 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;

[0072] It should be noted that there is a corresponding relationship between the video style type and the picture style type, that is, different video style types have different picture style types preferred by users.

[0073] Here, the value of N is 1, indicating that the video style type corresponding to the target video file is only one type, and based on the video style type, the picture style type preferred by the user is determined.

[0074] 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;

[0075] Here, the value of N is greater than 1, indicating that the target video file corresponds to more than one video style type. Based on the different video style types, the picture style type preferred by the corresponding user is determined.

[0076] Among them, one sub-video segment corresponds to one picture style type.

[0077] Here, the screen display parameter values ​​associated with the N video style types and picture style types may be obtained through the pre-stored association relationship between the screen display parameters, the video style types, and the picture style types.

[0078] Usually, a display screen has many parameters that can be used to change the screen display effect, such as gamma parameters, CE parameters, etc. Generally, the IC of the display screen has a color adjustment module. In the embodiment of the present application, by adjusting the gamma parameter setting, the correlation between the screen display parameter, the video style type and the picture style type is obtained.

[0079] Here, the gamma parameter is a set of general parameters, wherein the whole set of parameters is implemented by values ​​stored in registers corresponding to the gamma parameters. For example, the default setting is mode A, that is, in mode A, the display screen presents the color of the image itself.

[0080] Optionally, the parameter mode may correspond to the video style type and the picture style type, as shown in Table B.

[0081] Table B

[0082] Video style type Graphic style type Parameter Mode Sad Cool colors Mode A Pleasant warm color ModeB Fighting Retro ModeC … … …

[0083] The generation of various modes can be obtained by modifying gamma parameters and CE parameters.

[0084] For example, when playing the target video file, when it is recognized that the video style type of the current sub-video clip has changed, the user-preferred picture style type corresponding to the video style type can be found through Table B, and the parameter mode is determined based on the picture style type, that is, the target screen display parameter value is determined.

[0085] Optionally, the first file sharing device pre-stores a preset association relationship;

[0086] In the case where 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;

[0087] In the case where the target user preference information includes a picture style type, the preset association relationship is an association relationship between the picture style type and a screen display parameter value.

[0088] The file sharing method of the embodiment of the present invention receives a target multimedia file shared by a second file sharing device; extracts target user preference information in the target multimedia file; determines a target screen display parameter value according to the target user preference information; updates the parameter value of the screen display parameter of the display screen according to the target screen display parameter value; and displays the target multimedia file through the display screen after updating the parameter value of the screen display parameter. In this way, the first file sharing device, i.e., the receiving end device, can update the parameter value of the screen display parameter of its display screen according to the target user preference information in the multimedia file shared by the second file processing device, so that the receiving end user can present a screen display effect that meets the user's own needs through the display screen when watching or browsing the multimedia file.

[0089] like Figure 2 FIG. 1 is a flow chart of a file sharing method provided in an embodiment of the present application. The method is applied to a second file sharing device. The implementation process of the method is specifically described below with reference to the figure.

[0090] Step 201, obtaining the target multimedia file to be shared and the target user preference information;

[0091] Here, the target multimedia file may be a multimedia file stored locally, a multimedia file browsed by a user online, or a multimedia file generated instantly by a local device, such as a picture or video file taken instantly.

[0092] Here, the target user refers to the object to be shared with the target multimedia file.

[0093] In one example, when a user needs to share a video file, he or she can click the video sharing control, and then a list of friends to share with will pop up. The user can select and input the target user, that is, the person to share the video file with, through the user's selection in the friend list.

[0094] Here, the target user preference information is used to represent the target user's preference for screen color. Specifically, the target user preference information can be obtained by collecting the target user's behavior habits through big data analysis.

[0095] Step 202, adding the target user preference information to the file header of the target multimedia file;

[0096] Here, if the target multimedia file is a multimedia file generated in real time, you can choose to save or not save the target multimedia file after it is generated. Then, click to share the target multimedia file, select the target user to be shared, and obtain the target user's preference information; finally, add the target user's preference information to the file header of the target multimedia file, so that the target user corresponding to the first file sharing device can extract the target user's preference information in the target multimedia file by parsing the target multimedia file.

[0097] Step 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 the parameter value of the screen display parameter is updated.

[0098] It should be noted that, since the target multimedia file carries the user preference information of the target user, the first file sharing device corresponding to the target user can, after receiving the target multimedia file, based on the user preference information, the parameter values ​​of the screen display parameters of the new display screen, and display the target multimedia file through the display screen after updating the parameter values ​​of the screen display parameters, so that when the target user watches or browses the multimedia file, the screen display effect that meets the user's own needs can be presented through the display screen.

[0099] The file sharing method of the embodiment of the present application obtains the target multimedia file to be shared and the target user preference information; adds the target user preference information to the file header of the target multimedia file; shares 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, so that when the target user watches or browses the multimedia file, the screen display effect that meets the user's own needs can be presented through the display screen.

[0100] Optionally, the target user preference information is the target user's preference information for screen color; the target user preference information includes at least one of the following: screen display parameter value, screen color scheme, and screen style type.

[0101] As an optional implementation, before obtaining the target multimedia file to be shared and the target user preference information, the embodiment of the present application may further include:

[0102] Obtain historical behavior information of target users viewing multimedia files;

[0103] Here, the historical behavior information includes the target user's behavior habits and access frequency of viewing multimedia files.

[0104] Target user preference information of the target user is obtained according to the historical behavior information.

[0105] It should be noted that the electronic device obtains user preference information of different users through historical behavior information of different users and performs big data analysis, and saves the records.

[0106] Table C

[0107] Zhang San Cool colors Li Si warm color Wang Er Retro … …

[0108] The file sharing method of the embodiment of the present application obtains the target multimedia file to be shared and the target user preference information; adds the target user preference information to the file header of the target multimedia file; shares 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, so that when the target user watches or browses the multimedia file, the screen display effect that meets the user's own needs can be presented through the display screen.

[0109] It should be noted that the file sharing method provided in the embodiment of the present application can be executed by a file sharing device, or a control module in the file sharing device for executing the file sharing method.

[0110] In the embodiment of the present application, a file sharing device executing a file sharing method is taken as an example to illustrate the file sharing device provided by the embodiment of the present application.

[0111] like Figure 3 , which is a schematic diagram of the structure of a file sharing device provided in an embodiment of the present application. The file sharing device 300 is a first file sharing device, which may include:

[0112] The receiving module 301 is used to receive the target multimedia file shared by the second file sharing device;

[0113] A first processing module 302, configured to extract target user preference information from the target multimedia file;

[0114] The second processing module 303 is used to determine the target screen display parameter value according to the target user preference information;

[0115] The third processing module 304 is used to update the parameter value of the screen display parameter of the display screen according to the target screen display parameter value;

[0116] The display module 305 is used to display the target multimedia file on the display screen after updating the parameter value of the screen display parameter.

[0117] Optionally, the target user preference information is the target user's preference information for screen color; the target user preference information includes at least one of the following: screen display parameter value, screen color scheme, and screen style type.

[0118] Optionally, the target user preference information includes screen display parameter values;

[0119] Accordingly, the second processing module 303 includes:

[0120] The first processing unit is used to determine the screen display parameter value as a target screen display parameter value.

[0121] Optionally, the target user preference information includes a screen color scheme, and the screen color scheme includes a warm color scheme, a cool color scheme, or a neutral color scheme;

[0122] Accordingly, the second processing module 303 includes:

[0123] The second processing unit is used to determine the screen display parameter value associated with the screen color system as the target screen display parameter value.

[0124] Optionally, the target user preference information includes a picture style type, and the target multimedia file is a video file;

[0125] The second processing module 303 includes:

[0126] An identification unit, used for identifying N video style types of the target multimedia file;

[0127] 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;

[0128] 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;

[0129] Among them, one sub-video segment corresponds to one picture style type.

[0130] Optionally, the first file sharing device pre-stores a preset association relationship;

[0131] In the case where 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;

[0132] In the case where the target user preference information includes a picture style type, the preset association relationship is an association relationship between the picture style type and a screen display parameter value.

[0133] The multimedia file sharing device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0134] The file sharing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0135] The file sharing device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0136] The file sharing device of the embodiment of the present application receives the target multimedia file shared by the second file sharing device through the first receiving module; the first processing module extracts the target user preference information in the target multimedia file; the second processing module determines the 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. In this way, the first file sharing device, that is, the receiving end device, can update the parameter value of the screen display parameter of its display screen according to the target user preference information in the multimedia file shared by the second file processing device, so that the receiving end user can present a screen display effect that meets the user's own needs through the display screen when watching or browsing the multimedia file.

[0137] Alternatively, if Figure 4 As shown, an embodiment of the present application also provides an electronic device 400, including a processor 401, a memory 402, and a program or instruction stored in the memory 402 and executable on the processor 401. When the program or instruction is executed by the processor 401, the various processes of the above-mentioned file sharing method embodiment are implemented, or the above-mentioned file display method is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0138] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0139] In the embodiment of the present application, a file sharing device executing a file sharing method is taken as an example to illustrate the file sharing device provided by the embodiment of the present application.

[0140] like Figure 5 FIG. 5 is a schematic diagram of the structure of a file sharing device provided in an embodiment of the present application. The file sharing device 500 is a second file sharing device and may include:

[0141] The acquisition module 501 is used to acquire the target multimedia file to be shared and the target user preference information;

[0142] The fourth processing module 502 is used to add the target user preference information to the file header of the target multimedia file;

[0143] The sharing module 503 is used to share 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 displays the target multimedia file through the display screen after the parameter value of the screen display parameter is updated.

[0144] Optionally, the target user preference information is the target user's preference information for screen color; the target user preference information includes at least one of the following: screen display parameter value, screen color scheme, and screen style type.

[0145] The file sharing device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0146] The file sharing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0147] The file sharing device provided in the embodiment of the present application can achieve Figure 2 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0148] The file sharing device of the embodiment of the present application obtains the target multimedia file to be shared and the target user preference information through the acquisition module; the fourth processing module adds the target user preference information to the file header of the target multimedia file; the sharing module shares 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 displays the target multimedia file through the display screen after the parameter value of the screen display parameter is updated, so that when the target user watches or browses the multimedia file, the screen display effect that meets the user's own needs can be presented through the display screen.

[0149] Figure 6 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present application.

[0150] 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.

[0151] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0152] Among them, when the electronic device 600 serves as a first electronic device and the first electronic device includes a first file sharing device, the processor 610 is used 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 based on the target user preference information; update 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 used to display the target multimedia file on the display screen after updating the parameter value of the screen display parameter.

[0153] In the embodiment of the present application, the parameter values ​​of the screen display parameters of the display screen can be updated, so that when the receiving user watches or browses multimedia files, the screen display effect that meets the user's own needs can be presented through the display screen.

[0154] Optionally, the target user preference information is the target user's preference information for screen color; the target user preference information includes at least one of the following: screen display parameter value, screen color scheme, and screen style type.

[0155] Optionally, the target user preference information includes a screen display parameter value; accordingly, the processor 610 is further configured to:

[0156] The screen display parameter value is determined as a target screen display parameter value.

[0157] Optionally, the target user preference information includes a screen color system, and the screen color system includes a warm color system, a cool color system, or a neutral color system; accordingly, the processor 610 is further configured to:

[0158] A screen display parameter value associated with the screen color system is determined as a target screen display parameter value.

[0159] 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:

[0160] Identifying N video style types of the target multimedia file;

[0161] 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;

[0162] 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;

[0163] Among them, one sub-video segment corresponds to one picture style type.

[0164] Optionally, the first file sharing device pre-stores a preset association relationship;

[0165] In the case where 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;

[0166] In the case where the target user preference information includes a picture style type, the preset association relationship is an association relationship between the picture style type and a screen display parameter value.

[0167] When the electronic device 600 serves as a second electronic device and the second electronic device includes a second file sharing device, the processor 610 is used to obtain the target multimedia file to be shared and the target user preference information; add the target user preference information to the file header of the target multimedia file; share 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 displays the target multimedia file through the display screen after the parameter value of the screen display parameter is updated.

[0168] Optionally, the target user preference information is the target user's preference information for screen color; the target user preference information includes at least one of the following: screen display parameter value, screen color scheme, and screen style type.

[0169] In the embodiment of the present application, when the target user watches or browses multimedia files, a screen display effect that meets the user's own needs can be presented through the display screen.

[0170] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture 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, etc. 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: a touch detection device and a touch controller. Other input devices 6072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.

[0171] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned file sharing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0172] 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 computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0173] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned file sharing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0174] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0175] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0176] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0177] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A file sharing method, applied to a first file sharing device, characterized in that: include: 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: Identifying N video style types of the target multimedia file; 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; 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. A file sharing method, applied to a second file sharing device, characterized in that: include: 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. A file sharing device, the file sharing device being a first file sharing device, characterized in that: include: 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: An identification unit, used for identifying N video style types of the target multimedia file; 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; 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. A file sharing device, the file sharing device being a second file sharing device, characterized in that: include: 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. An electronic device, characterized in that: The invention comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the file sharing method as claimed in claim 1, or implements the steps of the file sharing method as claimed in claim 2.

6. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the file sharing method according to claim 1 are implemented, or the steps of the file sharing method according to claim 2 are implemented.

Citation Information

Patent Citations

  • Content output method and device and electronic equipment

    CN112287260A