Camera effect file upgrading method and terminal

By responding to user upgrade requests on the terminal, requesting and storing the upgraded camera effect file from the server, the problem of low upgrade frequency of camera effect file in the prior art is solved, and a higher upgrade frequency and user experience is achieved.

CN119718359AInactive Publication Date: 2025-03-28QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311277696.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the camera effect files in the terminal have low upgrade frequency and cannot meet the user's needs for high-quality image processing.

Method used

By responding to the user's upgrade request on the terminal, requesting the server to upgrade the camera effect file, and storing the received upgrade file in the target data storage area of ​​the user layer, independent upgrade of the camera effect file is achieved.

Benefits of technology

It increases the frequency of camera effect files upgrade, allowing users to update camera effect files without requiring the entire system upgrade, thereby improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718359A_ABST
    Figure CN119718359A_ABST
Patent Text Reader

Abstract

The invention discloses a camera effect file upgrading method and a terminal, and the terminal firstly responds to an upgrading request which is triggered by a user and is used for indicating to upgrade a camera effect file, requests the upgrading effect file from a server, and sends the upgrading effect file to the server after the terminal receives a first installation data packet which is returned by the server and carries a first target camera effect file. The first target camera effect file is stored in a target data storage area of the terminal, then the terminal responds to a camera opening operation triggered by a user, the first target camera effect file is obtained from the target data storage area, and the first target camera effect file is loaded. The terminal upgrading camera effect file is obtained by directly sending the upgrading request to the server, and the upgraded camera effect file returned by the server is stored in the target data storage area of the terminal, so that the camera effect file does not need to be upgraded when the terminal system is upgraded, and the upgrading efficiency is improved. Therefore, the upgrading frequency of the camera effect file is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminal technology, and in particular to a camera effect file upgrading method and terminal. Background Art

[0002] With the development of terminal technology, users have higher and higher requirements on the images captured by the terminal camera. After the terminal camera captures the image, the terminal can process the image according to the camera effect selected by the user, such as modifying the color of the image, adding text to the image, changing the image background, etc.

[0003] At present, camera effect files are usually saved in the vendor repository under Android in the form of .so or .bin. Due to Android's permission restrictions, users are not allowed to write camera effect files in the vendor repository. Therefore, the camera effect files can only be updated by OTA of the whole system version. However, the upgrade of the whole system is affected by multiple modules and multiple aspects, and the upgrade frequency is limited, which leads to the low upgrade frequency of camera effect files. Summary of the invention

[0004] The present invention provides a camera effect file upgrade method and terminal, which are used to solve the problem of low upgrade frequency of camera effect files in terminals in the prior art.

[0005] In a first aspect, the present application provides a method for upgrading a camera effect file, the method comprising:

[0006] The terminal, in response to an upgrade request triggered by a user indicating an upgrade of the camera effect file, requests the server to upgrade the camera effect file, so that the server sends a first installation data packet carrying a first target camera effect file to the terminal;

[0007] After receiving the first installation data packet carrying the first target camera effect file returned by the server, the terminal stores the first target camera effect file carried in the first installation data packet in a target data storage area located in a user layer of the terminal;

[0008] The terminal obtains the first target camera effect file from the target data storage area in response to a camera opening operation triggered by a user;

[0009] The terminal loads the first target camera effect file.

[0010] In a possible implementation, after the terminal responds to the operation of opening the camera triggered by the user and before the terminal loads the first target camera effect file, the method further includes:

[0011] The terminal compares the version identification of the first target camera effect file with the version identification of the camera effect file stored in the system file storage area of ​​the system layer of the terminal;

[0012] The terminal determines that the version identifier of the first target camera effect file is higher than the version identifier of the camera effect file stored in the system file storage area, wherein the system file storage area is used to store the initial system files of the terminal, or to store the upgraded system files after the terminal system is upgraded.

[0013] In a possible implementation, before the terminal responds to the request for upgrading the camera effect file triggered by the user, the terminal further includes:

[0014] The terminal sends the download request to the server in response to the download request triggered by the user, wherein the download request is used to instruct downloading a camera effect application related to the upgraded camera effect file;

[0015] The terminal receives a second installation data packet carrying a second target camera effect file corresponding to the download request and returned by the server;

[0016] The terminal installs the camera effect application according to the second installation data packet, stores the second target camera effect file carried in the second installation data packet to the target data storage area, and displays an icon corresponding to the camera effect application on a display interface of the terminal;

[0017] The terminal responds to an upgrade request triggered by a user indicating that a camera effect file is upgraded, including:

[0018] The terminal responds to the user's operation of triggering the icon.

[0019] In a possible implementation, after the terminal receives the first installation data packet carrying the first target camera effect file returned by the server, the method further includes:

[0020] The terminal updates the camera effect application according to the first installation data packet

[0021] In a possible implementation, the terminal stores the first target camera effect file carried in the first installation data packet in a target data storage area located at a user layer of the terminal, including:

[0022] The terminal updates the second target camera effect file stored in the target data storage area to the first target camera effect file.

[0023] In a possible implementation, the method further includes:

[0024] If the first target camera effect file is not obtained from the data storage area, the terminal obtains the camera effect file from the system file storage area.

[0025] In a second aspect, the present application further provides a terminal, including an image acquisition unit, a processor and a display screen;

[0026] The image acquisition unit is used to acquire images;

[0027] The processor is configured to, in response to an upgrade request triggered by a user indicating an upgrade of the camera effect file, request a server to upgrade the camera effect file, so that the server sends a first installation data packet carrying a first target camera effect file to the terminal; after receiving the first installation data packet carrying the first target camera effect file returned by the server, store the first target camera effect file carried in the first installation data packet to a target data storage area located at a user layer of the terminal; in response to a camera opening operation triggered by a user, obtain the first target camera effect file from the target data storage area; load the first target camera effect file; and use the first target camera effect file to perform display effect processing on the image;

[0028] The display screen is used to display the image captured by the image acquisition unit and / or the image processed with display effects.

[0029] In a possible implementation, after the processor responds to the operation of opening the camera triggered by the user and before loading the first target camera effect file, it is further configured to:

[0030] Compare the version identification of the first target camera effects file with the version identification of the camera effects file stored in the system file storage area of ​​the system layer of the terminal; determine that the version identification of the first target camera effects file is higher than the version identification of the camera effects file stored in the system file storage area, wherein the system file storage area is used to store the initial system files of the terminal, or to store upgraded system files after the terminal system is upgraded.

[0031] In a possible implementation, before the processor responds to a request for upgrading the camera effect file triggered by a user, it is further configured to:

[0032] In response to a download request triggered by a user, sending the download request to the server, wherein the download request is used to instruct downloading a camera effect application related to an upgraded camera effect file; receiving a second installation data packet carrying a second target camera effect file corresponding to the download request returned by the server; installing the camera effect application according to the second installation data packet, storing the second target camera effect file carried in the second installation data packet to the target data storage area, and displaying an icon corresponding to the camera effect application on a display interface of the terminal;

[0033] The processor is specifically used for:

[0034] In response to the user triggering an operation of the icon.

[0035] In a possible implementation manner, the processor is specifically configured to:

[0036] The camera effects application is updated according to the first installation data package.

[0037] In a possible implementation manner, the processor is specifically configured to:

[0038] The second target camera effect file stored in the target data storage area is updated to the first target camera effect file.

[0039] In a possible implementation manner, the processor is further configured to:

[0040] If the first target camera effect file is not obtained from the data storage area, the camera effect file is obtained from the system file storage area.

[0041] The beneficial effects of the present invention are as follows:

[0042] The present application provides a camera effect file upgrade method and terminal. The terminal first responds to a user-triggered upgrade request for upgrading the camera effect file, and requests the server to upgrade the effect file. The terminal receives a first installation data packet carrying a first target camera effect file returned by the server, and stores the first target camera effect file carried in the first installation data packet to a target data storage area of ​​the user layer of the terminal. Then, the terminal responds to a user-triggered camera opening operation, obtains the first target camera effect file from the target data storage area, and loads the first target camera effect file. Since the terminal upgrades the camera effect file in the present application by directly sending an upgrade request to the server, and the upgraded camera effect file returned by the server is saved to the target data storage area of ​​the terminal, there is no need to upgrade the camera effect file when the terminal system is upgraded, thereby increasing the upgrade frequency of the camera effect file. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0044] Figure 1 A schematic diagram of the structure of a communication system provided in an embodiment of the present application;

[0045] Figure 2 A schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0046] Figure 3 A flowchart of a method for upgrading a camera effect file provided in an embodiment of the present application;

[0047] Figure 4 A schematic diagram of a display interface of a terminal provided in an embodiment of the present application;

[0048] Figure 5 A schematic diagram of a display interface of another terminal provided in an embodiment of the present application;

[0049] Figure 6 A schematic diagram of a display interface of another terminal provided in an embodiment of the present application;

[0050] Figure 7 A schematic diagram of a display interface of another terminal provided in an embodiment of the present application;

[0051] Figure 8 A schematic diagram of a display interface of another terminal provided in an embodiment of the present application;

[0052] Fig. 9 A schematic diagram of a display interface of another terminal provided in an embodiment of the present application;

[0053] Fig.10 An interactive schematic diagram of a camera effect file upgrade method provided in an embodiment of the present application;

[0054] Fig.11 An interactive schematic diagram of another camera effect file upgrade method provided in an embodiment of the present application;

[0055] Fig.12 An interactive schematic diagram of another camera effect file upgrade method provided in an embodiment of the present application;

[0056] Fig.13An interactive schematic diagram of another camera effect file upgrade method provided in an embodiment of the present application;

[0057] Fig.14 An interactive schematic diagram of another camera effect file upgrade method provided in an embodiment of the present application;

[0058] Fig.15 A schematic diagram of the structure of another terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] Below, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0061] The application (application, app for short) involved in the embodiments of the present application is a software program that can implement one or more specific functions. Usually, multiple applications can be installed in a terminal. For example, a camera application includes: a system camera application and / or a third-party camera application, etc.; for another example, a camera effect application is used to upgrade a camera effect file. The terminal can implement an image capture function through a camera application, and can use a camera effect application to implement an upgrade of a camera effect file. The camera effect application mentioned below can be a camera effect application that is installed on the electronic device when it leaves the factory, or it can be a camera effect application that a user downloads from the Internet or obtains from other electronic devices during the use of the electronic device.

[0062] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to be limiting of the present application. As used in the specification and appended claims of the present application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context.

[0063] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0064] The following is an introduction to the application scenario of a camera effect file upgrade method provided by an embodiment of the present application in conjunction with the accompanying drawings. Figure 1 The communication system shown includes a terminal 10 and a server 20;

[0065] The terminal 10 is configured to, in response to an upgrade request for upgrading the camera effect file triggered by a user, request a server to upgrade the camera effect file, so that the server sends a first installation data packet carrying a first target camera effect file to the terminal; after receiving the first installation data packet carrying the first target camera effect file returned by the server, store the first target camera effect file carried in the first installation data packet to a target data storage area located at a user layer of the terminal; in response to a camera opening operation triggered by a user, obtain the first target camera effect file from the target data storage area; and load the first target camera effect file;

[0066] The server 20 is configured to send a first installation data packet carrying a first target camera effect file to the terminal after receiving an upgrade request sent by the terminal.

[0067] like Figure 2 The terminal shown includes an image acquisition unit 101, a processor 102 and a display screen 103, wherein:

[0068] An image acquisition unit 101, used for acquiring images;

[0069] The processor 102 is configured to, in response to an upgrade request triggered by a user indicating that the camera effect file is upgraded, request a server to upgrade the camera effect file, so that the server sends a first installation data packet carrying a first target camera effect file to the terminal; after receiving the first installation data packet carrying the first target camera effect file returned by the server, store the first target camera effect file carried in the first installation data packet to a target data storage area located at a user layer of the terminal; in response to a camera opening operation triggered by a user, obtain the first target camera effect file from the target data storage area; load the first target camera effect file; and use the first target camera effect file to perform display effect processing on the image;

[0070] The display screen 103 is used to display the image captured by the image acquisition unit 101 and / or the image processed with display effects.

[0071] It should be noted that the terminal 10 may be an electronic device such as a mobile phone or a tablet computer, and the image acquisition unit 101 may be a camera.

[0072] The method provided in the embodiments of the present application is not limited to Figure 1 and Figure 2 The application scenario shown can also be used in other possible application scenarios, which are not limited in the embodiments of the present application.

[0073] like Figure 3 As shown, it is a flowchart of a camera effect file upgrade method provided in an embodiment of the present application, and the specific steps are as follows:

[0074] S301, in response to an upgrade request triggered by a user indicating that a camera effect file is to be upgraded, the terminal requests a server to upgrade the camera effect file, so that the server sends a first installation data packet carrying a first target camera effect file to the terminal;

[0075] S302: After receiving the first installation data packet carrying the first target camera effect file returned by the server, the terminal stores the first target camera effect file carried in the first installation data packet in a target data storage area located in a user layer of the terminal;

[0076] S303, the terminal obtains the first target camera effect file from the target data storage area in response to the operation of opening the camera triggered by the user;

[0077] S304: The terminal loads the first target camera effect file.

[0078] In an embodiment of the present application, the terminal first responds to an upgrade request triggered by the user indicating an upgrade of the camera effect file, and requests the server to upgrade the camera effect file. After the terminal receives the first installation data packet carrying the first target camera effect file returned by the server, the terminal stores the first target camera effect file in the target data storage area of ​​the user layer of the terminal. Then, the terminal responds to the user-triggered operation of opening the camera, obtains the first target camera effect file from the target data storage area, and loads the first target broken camera effect file. Since the terminal upgrades the camera effect file in the present application by directly sending an upgrade request to the server, and the first target camera effect file returned by the server is saved in the target data storage area of ​​the user layer of the terminal, there is no need to upgrade the camera effect file when the terminal system is upgraded, thereby increasing the upgrade frequency of the camera effect file.

[0079] It should be noted that the target data storage area of ​​the terminal is the data partition of the terminal.

[0080] In addition to the target data storage area, the terminal also includes a system file storage area. If the terminal uses the Android system, the path of the system file storage area is usually the Default vendor / path. The system file storage area is used to store the initial system files of the terminal, or the upgraded system files after the terminal system is upgraded. The initial system files are the system files stored before the terminal leaves the factory, or the system files when the factory settings are restored. The system files of the terminal include camera effect files.

[0081] like Figure 4 As shown, the display interface of the terminal usually includes an icon corresponding to the "camera" application. After the user clicks the icon corresponding to the "camera" application, the display interface enters the photo taking mode, such as Figure 5 As shown, different effects will be displayed on the display interface. The user selects one of the effects and then clicks the "photo" button to obtain images with different effects.

[0082] The "effect" displayed on the display interface means that after the user triggers the photo function, the terminal will obtain the camera effect file from the specified location and load the camera effect file. After successful loading, the terminal can display the icon corresponding to each effect in the photo mode.

[0083] In the related art, the terminal can only obtain the camera effect file from the system file storage area that stores the system file. The camera effect file can only be upgraded when the terminal system is upgraded. Therefore, the upgrade frequency of the camera effect file is low, and there may be a problem of not meeting user needs. In addition, for the same terminal, customized effect parameters are often required for different users. The method for upgrading the camera effect provided by the related art needs to generate different system versions accordingly, which is complicated and prone to errors.

[0084] In an embodiment of the present application, a camera effect file is pre-stored in a target data storage area at a user layer of a terminal. After a user triggers an operation to open the camera, the terminal obtains the camera effect file from the target data storage area. The camera effect file stored in the target data storage area is stored in the first target camera effect file returned by the server after the user triggers an upgrade request indicating an upgrade of the camera effect file. Therefore, there is no need to upgrade the camera effect file when the terminal system is upgraded, thereby increasing the frequency of camera effect file upgrades and improving user experience.

[0085] In a specific implementation, a camera effect file app can be pre-installed on the terminal. When the camera effect file needs to be upgraded, the user clicks on the camera effect file app to complete the upgrade of the camera effect file.

[0086] In one embodiment, before the terminal responds to a request triggered by a user to upgrade a camera effect file, the terminal responds to a download request triggered by a user and sends the download request to a server, wherein the download request is used to indicate downloading a camera effect application related to the upgraded camera effect file. After the terminal receives a second installation data packet carrying a second target camera effect file corresponding to the download request returned by the server, the terminal installs the camera effect application according to the second installation data packet, stores the second target camera effect file carried in the second installation data packet to a target data storage area, and displays an icon corresponding to the camera effect application on the display interface of the terminal.

[0087] The terminal responds to the download request triggered by the user. For example, the user opens the "App Store" app installed on the terminal, finds the "Camera Effect File" app from the "App Store", and clicks "Install" corresponding to the "Camera Effect File" app, which triggers the download request.

[0088] After the user triggers the download request, the terminal sends the download request to the server. After receiving the download request, the server returns a second installation data packet corresponding to the download request and carrying the second target camera effect file to the terminal. The terminal installs the camera effect application according to the second installation data packet, stores the second target camera effect file carried in the second installation data packet to the target data storage area, and displays the icon corresponding to the camera effect application on the display interface of the terminal, such as Figure 6 As shown, the icon corresponding to "Camera Effects"

[0089] When the terminal installs the camera effects application, it stores the latest camera effects file in the target data storage area, that is, it stores the second target camera effects file in the target data storage area. Therefore, when the user triggers the operation of opening the camera, the terminal automatically loads the camera effects file stored in the target data storage area.

[0090] The following are detailed instructions for installing the Camera Effects app.

[0091] First, place the camera effect file that needs to be upgraded in the assets / path of the app code. When the app is compiled, the effect file in this path will be automatically compiled and packaged into the apk file. When the app is started, the InputStream interface is called to read the camera effect file in the assets / path, and then the read effect file data is saved to the specified path in data / through the write interface of FileOutputStream for loading on the camera system side.

[0092] Then upload the written camera effect app to the app store server. Users can download or update the camera effect app through the app store. After local installation, start the app to complete the above process.

[0093] After the camera effect application is installed on the terminal, the user obtains a second target camera effect file from the target data storage area in response to a user-triggered operation of opening the camera, and loads the second target camera effect file;

[0094] If you need to upgrade the camera effect file, the user can click the icon corresponding to the camera effect application displayed on the terminal display interface, such as Figure 7 As shown, after the user clicks the icon corresponding to the camera effect application, the terminal display interface displays "Do you want to upgrade the camera effect file?", "Yes" or "No". The user clicks "Yes". Figure 8 As shown, the terminal sends a request to the server to upgrade the camera effect file. After receiving the request, the server returns a first installation data packet carrying the first target camera effect file to the terminal. After receiving the first installation data packet returned by the server, the terminal stores the first target camera effect file carried in the first installation data packet to the target data storage area;

[0095] After receiving the first installation data packet returned by the server, the terminal not only stores the first target camera effect file carried in the first installation data packet into the target data storage area, but also updates the camera effect application according to the first installation data packet.

[0096] In another embodiment, the upgrade request for upgrading the camera effect file triggered by the user may also be that after the user triggers the operation of turning on the camera, after the words "whether to upgrade the camera effect file", "yes" or "no" are displayed on the display interface, the user triggers the operation of "yes", such as Fig. 9 After the user triggers "yes", the terminal sends a request to the server to upgrade the camera effect file. After receiving the request, the server returns a first installation data packet carrying the first target camera effect file to the terminal. After the terminal receives the first installation data packet carrying the first target camera effect file returned by the server, the terminal stores the first target camera effect file carried in the first installation data packet in the data storage area, and updates the camera effect application according to the first installation data packet.

[0097] In an embodiment of the present application, after the terminal receives the first installation data packet carrying the first target camera effect file, the camera effect file stored in the target data storage area is updated to the first target camera effect file, so that the terminal loads the first target camera effect file to improve the user experience.

[0098] Figures 4 to 9 The middle terminal includes an image acquisition unit 101, such as a camera.

[0099] After responding to the user-triggered operation of opening the camera, the terminal obtains the first target camera effect file from the target data storage area. If the first target camera effect file is not obtained from the target data storage area, in order to ensure that the photo-taking function can operate normally, the terminal can obtain the camera effect file from the system file storage area.

[0100] It should be noted that the camera effect files stored in the system file storage area may be camera effect files in the initial system files or camera effect files in the upgraded system files.

[0101] In one embodiment, before loading the first target camera effects file, the terminal may also compare the version identifier of the first target camera effects file stored in the target data storage area with the version identifier of the camera effects file stored in the system file storage area. If the version identifier of the first target camera effects file is higher than the version identifier of the camera effects file stored in the system file storage area, the first target camera effects file is loaded from the target data storage area; if the version identifier of the first target camera effects file is equal to the version identifier of the camera effects file stored in the system file storage area, the first target camera effects file is loaded from the target data storage area; if the version identifier of the first target camera effects file is lower than the version identifier of the camera effects file stored in the system file storage area, the camera effects file is loaded from the system file storage area.

[0102] In an embodiment of the present application, first, an area is established in the android data partition for storing camera effect files; when reading the camera effect files on the camera system side, it is first determined whether there are camera effect files in the data area. If so, the camera effect files are read from the data area first. If not, they are read from the Default vendor / path.

[0103] When writing a camera effects app, copy the packaged upgraded camera effects file to the specified data area.

[0104] Push the camera effect app to the App Store. Users can download and update the camera effect app through the App Store. After local installation and opening, the camera effect files packaged in the camera effect app can be updated to the data / specified path to complete the update of the camera effect files. It is convenient, fast and easy to operate.

[0105] like Fig.10 , which is an interactive schematic diagram of a camera effect file upgrade method provided in an embodiment of the present application;

[0106] S1001, the terminal responds to a download request triggered by a user;

[0107] S1002, the terminal sends a download request to the server;

[0108] S1003: After receiving the download request, the server returns a second installation data packet carrying a second target camera effect file to the terminal;

[0109] S1004: After receiving the second installation data packet carrying the second target camera effect file, the terminal installs the camera effect application;

[0110] S1005. The terminal displays an icon corresponding to the camera effect application on the display interface, and saves the second target camera effect file carried by the second installation data packet to the target data storage area;

[0111] S1006, the terminal responds to the operation of opening the camera triggered by the user;

[0112] S1007, the terminal obtains a second target camera effect file from the target data storage area;

[0113] S1008, the terminal loads the second target camera effect file;

[0114] S1009. The terminal uses the second target camera effect file to perform display effect processing on the acquired image to obtain an image after display effect processing.

[0115] like Fig.11, is an interactive schematic diagram of another camera effect file upgrade method provided in an embodiment of the present application;

[0116] S1101, the terminal responds to an upgrade request triggered by a user;

[0117] S1102, the terminal sends an upgrade request to the server;

[0118] S1103: After receiving the upgrade request, the server returns a first installation data packet carrying a first target camera effect file to the terminal;

[0119] S1104: After receiving the first installation data package carrying the first target camera effect file, the terminal replaces the second target camera effect file stored in the data storage area with the first target camera effect file, and updates the camera effect application according to the first installation data package;

[0120] S1105, the terminal responds to the operation of opening the camera triggered by the user;

[0121] S1106, the terminal obtains a first target camera effect file from the target data storage area;

[0122] S1107, the terminal loads the first target camera effect file;

[0123] S1108. The terminal uses the first target camera effect file to perform display effect processing on the acquired image to obtain an image after display effect processing.

[0124] like Fig.12 , is an interactive schematic diagram of another camera effect file upgrade method provided in an embodiment of the present application;

[0125] S1201, the terminal responds to an upgrade request triggered by a user;

[0126] S1202, the terminal sends an upgrade request to the server;

[0127] S1203: After receiving the upgrade request, the server returns a first installation data packet carrying a first target camera effect file to the terminal;

[0128] S1204: After receiving the first installation data package carrying the first target camera effect file, the terminal replaces the second target camera effect file stored in the target data storage area with the first target camera effect file, and updates the camera effect application according to the first installation data package;

[0129] S1205, the terminal responds to the operation of opening the camera triggered by the user;

[0130] S1206: The terminal fails to obtain the first target camera effect file from the target data storage area;

[0131] S1207, the terminal obtains a camera effect file from the system file storage area;

[0132] S1208, the terminal loads the camera effect file obtained from the system file storage area;

[0133] S1209. The terminal uses the camera effect file obtained from the system file storage area to perform display effect processing on the obtained image to obtain an image after display effect processing.

[0134] like Fig.13 , is an interactive schematic diagram of another camera effect file upgrade method provided in an embodiment of the present application;

[0135] S1301, the terminal responds to an upgrade request triggered by a user;

[0136] S1302, the terminal sends an upgrade request to the server;

[0137] S1303: After receiving the upgrade request, the server returns a first installation data packet carrying a first target camera effect file to the terminal;

[0138] S1304: After receiving the first installation data package carrying the first target camera effect file, the terminal replaces the second target camera effect file stored in the target data storage area with the first target camera effect file, and updates the camera effect application according to the first installation data package;

[0139] S1305, the terminal responds to the operation of opening the camera triggered by the user;

[0140] S1306, the terminal obtains a first target camera effect file from the target data storage area, and obtains a camera effect file from the system file storage area;

[0141] S1307: The terminal determines that the version of the first target camera effect file is higher than the version of the camera effect file obtained from the system file storage area;

[0142] S1308, the terminal loads the first target camera effect file;

[0143] S1309. The terminal uses the first target camera effect file to perform display effect processing on the acquired image to obtain an image after display effect processing.

[0144] like Fig.14 , which is an interactive schematic diagram of another camera effect file upgrade method provided in an embodiment of the present application;

[0145] S1401, the terminal responds to an upgrade request triggered by a user;

[0146] S1402, the terminal sends an upgrade request to the server;

[0147] S1403: After receiving the upgrade request, the server sends a first installation data packet carrying a first target camera effect file;

[0148] S1404: After receiving the first installation data package carrying the first target camera effect file, the terminal replaces the second target camera effect file stored in the data storage area with the first target camera effect file, and updates the camera effect application according to the first installation data package;

[0149] S1405, the terminal responds to the operation of opening the camera triggered by the user;

[0150] S1406, the terminal obtains a first target camera effect file from the target data storage area, and obtains a camera effect file from the system file storage area;

[0151] S1407: The terminal determines that the version of the first target camera effect file is lower than the version of the camera effect file obtained from the system file storage area;

[0152] S1408, the terminal loads and obtains the camera effect file from the system file storage area;

[0153] S1409. The terminal obtains a camera effect file from a system file storage area to perform display effect processing on the acquired image to obtain an image after display effect processing.

[0154] Based on the same inventive concept, an embodiment of the present application also provides a terminal, the principle of which is similar to the principle of the above-mentioned camera effect file upgrade method. The implementation of the terminal can refer to the implementation of the method, and the repeated parts will not be repeated.

[0155] like Figure 2 As shown, a terminal provided by an embodiment of the present application includes an image acquisition unit and a processor;

[0156] An image acquisition unit 101, used for acquiring images;

[0157] The processor 102 is configured to, in response to an upgrade request triggered by a user indicating that the camera effect file is upgraded, request a server to upgrade the camera effect file, so that the server sends a first installation data packet carrying a first target camera effect file to the terminal; after receiving the first installation data packet carrying the first target camera effect file returned by the server, store the first target camera effect file carried in the first installation data packet to a target data storage area located at a user layer of the terminal; in response to a camera opening operation triggered by a user, obtain the first target camera effect file from the target data storage area; load the first target camera effect file; and use the first target camera effect file to perform display effect processing on the image;

[0158] The display screen 103 is used to display the image captured by the image acquisition unit 101 and / or the image processed with display effects.

[0159] In one embodiment, after the processor 102 responds to the user-triggered operation of opening the camera and before loading the first target camera effect file, it is further configured to:

[0160] Compare the version identification of the first target camera effect file with the version identification of the camera effect file stored in the system file storage area of ​​the system layer of the terminal; determine that the version identification of the first target camera effect file is higher than the version identification of the camera effect file stored in the system file storage area, wherein the system file storage area is used to store the initial system files of the terminal, or to store the upgraded system files after the terminal system is upgraded.

[0161] In one embodiment, before responding to a user-triggered request to upgrade the camera effect file, the processor 102 is further configured to:

[0162] In response to a download request triggered by a user, sending the download request to the server, wherein the download request is used to instruct downloading a camera effect application related to an upgraded camera effect file; receiving a second installation data packet carrying a second target camera effect file corresponding to the download request returned by the server; installing the camera effect application according to the second installation data packet, storing the second target camera effect file carried in the second installation data packet to the target data storage area, and displaying an icon corresponding to the camera effect application on a display interface of the terminal;

[0163] After receiving the first installation data packet carrying the first target camera effect file returned by the server, the processor 102 is further configured to:

[0164] In response to the user triggering an operation of the icon.

[0165] In one embodiment, the processor 102 is specifically configured to:

[0166] The second target camera effect file stored in the target data storage area is updated to the first target camera effect file.

[0167] In one embodiment, the processor 102 is further configured to:

[0168] If the first target camera effect file is not obtained from the data storage area, the camera effect file is obtained from the system file storage area.

[0169] Based on the same inventive concept, an embodiment of the present application also provides a terminal, the principle of which is similar to the principle of the above-mentioned camera effect file upgrade method. The implementation of the terminal can refer to the implementation of the method, and the repeated parts will not be repeated.

[0170] like Fig.15 FIG. 1 is a schematic diagram of the structure of another terminal provided in an embodiment of the present application, from Fig.15 As can be seen, the terminal includes:

[0171] A request module 1501 is used for requesting a server to upgrade the camera effect file in response to an upgrade request triggered by a user, so that the server sends a first installation data packet carrying a first target camera effect file to the terminal;

[0172] The storage module 1502 is configured to store the first target camera effect file carried in the first installation data packet to a target data storage area at a user layer of the terminal after receiving the first installation data packet carrying the first target camera effect file returned by the server;

[0173] An acquisition module 1503 is used to acquire the first target camera effect file from the target data storage area in response to a camera opening operation triggered by a user;

[0174] The loading module 1504 is used to load the first target camera effect file.

[0175] In one embodiment, the terminal further includes a determination module, wherein after the operation of opening the camera in response to the user triggering the operation, and before loading the first target camera effect file, the determination module is used to:

[0176] Compare the version identification of the first target camera effects file with the version identification of the camera effects file stored in the system file storage area of ​​the system layer of the terminal; determine that the version identification of the first target camera effects file is higher than the version identification of the camera effects file stored in the system file storage area, wherein the system file storage area is used to store the initial system files of the terminal, or to store upgraded system files after the terminal system is upgraded.

[0177] In one embodiment, the terminal further includes a download module, and before the terminal responds to a request for upgrading the camera effect file triggered by a user, the download module is used to:

[0178] In response to a download request triggered by a user, the download request is sent to the server, wherein the download request is used to indicate downloading a camera effect application related to an upgraded camera effect file; a second installation data packet carrying a second target camera effect file corresponding to the download request and returned by the server is received; the camera effect application is installed according to the second installation data packet, and the second target camera effect file carried in the second installation data packet is stored in the target data storage area, and an icon corresponding to the camera effect application is displayed on the display interface of the terminal.

[0179] In response to a request sent by a user to upgrade a camera effect file, the method includes:

[0180] The terminal responds to the user's operation of triggering the icon.

[0181] In one embodiment, the download module is further used to update the camera effect application according to the first installation data package.

[0182] In one embodiment, the storage module is specifically used for:

[0183] The second target camera effect file stored in the target data storage area is updated to the first target camera effect file.

[0184] In one embodiment, the acquisition module is used to:

[0185] If the first target camera effect file is not obtained from the data storage area, the camera effect file is obtained from the system file storage area.

[0186] The present application is described above with reference to the block diagrams and / or flow charts showing the methods, devices (systems) and / or computer program products according to the embodiments of the present application. It should be understood that a block of the block diagram and / or flow chart diagram and a combination of blocks of the block diagram and / or flow chart diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer and / or other programmable data processing device to produce a machine, so that the instructions executed by the computer processor and / or other programmable data processing device create a method for implementing the functions / actions specified in the block diagram and / or flow chart block.

[0187] Accordingly, the present application may also be implemented with hardware and / or software (including firmware, resident software, microcode, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium, for use by an instruction execution system or in conjunction with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium may be any medium that may contain, store, communicate, transmit, or convey a program for use by an instruction execution system, device, or apparatus, or in conjunction with an instruction execution system, device, or apparatus.

[0188] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for upgrading a camera effect file, characterized in that: The method includes: The terminal, in response to an upgrade request triggered by a user indicating an upgrade of the camera effect file, requests the server to upgrade the camera effect file, so that the server sends a first installation data packet carrying a first target camera effect file to the terminal; After receiving the first installation data packet carrying the first target camera effect file returned by the server, the terminal stores the first target camera effect file carried in the first installation data packet in a target data storage area located in a user layer of the terminal; The terminal obtains the first target camera effect file from the target data storage area in response to a camera opening operation triggered by a user; The terminal loads the first target camera effect file.

2. The method according to claim 1, characterized in that After the terminal responds to the operation of opening the camera triggered by the user and before the terminal loads the first target camera effect file, the terminal further includes: The terminal compares the version identification of the first target camera effect file with the version identification of the camera effect file stored in the system file storage area of ​​the system layer of the terminal; The terminal determines that the version identifier of the first target camera effect file is higher than the version identifier of the camera effect file stored in the system file storage area, wherein the system file storage area is used to store the initial system files of the terminal, or to store the upgraded system files after the terminal system is upgraded.

3. The method according to claim 1, characterized in that Before the terminal responds to the request for upgrading the camera effect file triggered by the user, the terminal further includes: The terminal sends the download request to the server in response to the download request triggered by the user, wherein the download request is used to instruct downloading a camera effect application related to the upgraded camera effect file; The terminal receives a second installation data packet carrying a second target camera effect file corresponding to the download request and returned by the server; The terminal installs the camera effect application according to the second installation data packet, stores the second target camera effect file carried in the second installation data packet to the target data storage area, and displays an icon corresponding to the camera effect application on a display interface of the terminal; The terminal responds to an upgrade request triggered by a user indicating that a camera effect file is upgraded, including: The terminal responds to the user's operation of triggering the icon.

4. The method according to claim 3, characterized in that After the terminal receives the first installation data packet carrying the first target camera effect file returned by the server, the terminal further includes: The terminal updates the camera effects application according to the first installation data packet.

5. The method according to claim 3, characterized in that The terminal stores the first target camera effect file carried in the first installation data packet in a target data storage area located at the user layer of the terminal, including: The terminal updates the second target camera effect file stored in the target data storage area to the first target camera effect file.

6. The method according to any one of claims 2 to 5, characterized in that: The method further comprises: If the first target camera effect file is not obtained from the data storage area, the terminal obtains the camera effect file from the system file storage area.

7. A terminal, characterized in that: It includes an image acquisition unit, a processor and a display screen; The image acquisition unit is used to acquire images; The processor is configured to, in response to an upgrade request triggered by a user indicating an upgrade of the camera effect file, request a server to upgrade the camera effect file, so that the server sends a first installation data packet carrying a first target camera effect file to the terminal; after receiving the first installation data packet carrying the first target camera effect file returned by the server, store the first target camera effect file carried in the first installation data packet to a target data storage area located at a user layer of the terminal; in response to a camera opening operation triggered by a user, obtain the first target camera effect file from the target data storage area; load the first target camera effect file; and use the first target camera effect file to perform display effect processing on the image; The display screen is used to display the image captured by the image acquisition unit and / or the image processed with display effects.

8. The terminal according to claim 7, characterized in that After the processor responds to the operation of opening the camera triggered by the user and before loading the first target camera effect file, it is further used to: Compare the version identification of the first target camera effects file with the version identification of the camera effects file stored in the system file storage area of ​​the system layer of the terminal; determine that the version identification of the first target camera effects file is higher than the version identification of the camera effects file stored in the system file storage area, wherein the system file storage area is used to store the initial system files of the terminal, or to store upgraded system files after the terminal system is upgraded.

9. The terminal according to claim 7, characterized in that: Before the processor responds to the user-triggered request to upgrade the camera effect file, the processor is further configured to: In response to a download request triggered by a user, sending the download request to the server, wherein the download request is used to instruct downloading a camera effect application related to an upgraded camera effect file; receiving a second installation data packet carrying a second target camera effect file corresponding to the download request returned by the server; installing the camera effect application according to the second installation data packet, storing the second target camera effect file carried in the second installation data packet to the target data storage area, and displaying an icon corresponding to the camera effect application on a display interface of the terminal; The processor is specifically used for: In response to the user triggering an operation of the icon.

10. The terminal according to claim 9, characterized in that The processor is specifically used for: The camera effects application is updated according to the first installation data package.