CN110764851A - Application update reminding method and device, storage medium and electronic equipment - Google Patents

Application update reminding method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110764851A
CN110764851A CN201810846930.7A CN201810846930A CN110764851A CN 110764851 A CN110764851 A CN 110764851A CN 201810846930 A CN201810846930 A CN 201810846930A CN 110764851 A CN110764851 A CN 110764851A
Authority
CN
China
Prior art keywords
version
application
version number
update
updating content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810846930.7A
Other languages
Chinese (zh)
Inventor
陈勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810846930.7A priority Critical patent/CN110764851A/en
Publication of CN110764851A publication Critical patent/CN110764851A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Electrochromic Elements, Electrophoresis, Or Variable Reflection Or Absorption Elements (AREA)

Abstract

The application discloses a method and a device for reminding application update, a storage medium and electronic equipment. The method may be applied to an electronic device that includes an electrochromic component. The method comprises the following steps: acquiring a current version number and a latest version number of an application; judging whether the version of the application needs to be updated according to the current version number and the latest version number; if the version of the application needs to be updated, acquiring a target voltage; and providing the target voltage for the electrochromic assembly, and displaying the color corresponding to the target voltage by the electrochromic assembly after the target voltage is obtained so as to remind a user of version updating of the application. The method and the device can effectively remind the user of version updating of the application program.

Description

Application update reminding method and device, storage medium and electronic equipment
Technical Field
The application belongs to the technical field of terminals, and particularly relates to a method and device for reminding application update, a storage medium and an electronic device.
Background
In order to improve the functions of an application, such as repairing bugs existing in the application or improving the performance of the application, developers of the application generally issue updated versions of the application periodically or aperiodically, so that users can update versions of the application. However, in the related art, the electronic device cannot effectively remind the user of version update of the application program.
Disclosure of Invention
The embodiment of the application update reminding method and device, the storage medium and the electronic equipment can effectively remind a user of version update of an application program.
The embodiment of the application provides an application update reminding method, which is applied to electronic equipment, wherein the electronic equipment comprises an electrochromic component, and the method comprises the following steps:
acquiring a current version number and a latest version number of an application;
judging whether the version of the application needs to be updated or not according to the current version number and the latest version number;
if the version of the application needs to be updated, acquiring a target voltage;
and providing the target voltage for the electrochromic assembly, and displaying a color corresponding to the target voltage by the electrochromic assembly after the target voltage is obtained so as to remind a user of version updating of the application.
The embodiment of the application provides a reminding device of application update, is applied to electronic equipment, electronic equipment includes electrochromic subassembly, the device includes:
the first acquisition module is used for acquiring the current version number and the latest version number of the application;
the judging module is used for judging whether the version of the application needs to be updated according to the current version number and the latest version number;
the second obtaining module is used for obtaining the target voltage if the version of the application is judged to be required to be updated;
and the control module is used for providing the target voltage for the electrochromic assembly, and after the target voltage is obtained, the electrochromic assembly displays the color corresponding to the target voltage so as to remind a user of updating the version of the application.
The embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute the steps in the reminding method for updating an application provided by the embodiment of the present application.
The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute the steps in the application update reminding method provided in the embodiment of the present application by calling the computer program stored in the memory.
In this embodiment, the electronic device may obtain the current version number and the latest version number of the application, and accordingly determine whether to update the version of the application. If it is determined that the version of the application needs to be updated, the electronic device may obtain a target voltage and apply the target voltage to the electrochromic element. When the target voltage is applied to the electrochromic assembly, the electrochromic assembly may display a color corresponding to the target voltage, thereby prompting a user to make a version update of the application. Therefore, the embodiment can effectively remind the user of version updating of the application.
Drawings
The technical solution and the advantages of the present invention will be apparent from the following detailed description of the embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an electrochromic cell provided in an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an electrochromic cell after a voltage is applied according to an embodiment of the present application.
Fig. 3 is a schematic flowchart of a reminding method of an application update according to an embodiment of the present application.
Fig. 4 is another schematic flowchart of a reminding method of an application update according to an embodiment of the present application.
Fig. 5 is a schematic view of a first structure of an electronic device according to an embodiment of the present application.
Fig. 6 to fig. 8 are scene schematic diagrams of a reminding method of application update provided in an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a reminder device for application update according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a second electronic device according to an embodiment of the present application.
Fig. 11 is a third schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring now to the drawings, in which like numerals represent like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
Electrochromism refers to a phenomenon that optical properties (such as reflectivity, light transmittance, absorption rate and the like) of a material are subjected to stable and reversible color change under the action of an external electric field. Electrochromism appears in appearance as a reversible change in the color and transparency of the material. Materials with electrochromic properties may be referred to as electrochromic materials. Devices made with electrochromic materials may be referred to as electrochromic cells.
Referring to fig. 1, the electrochromic cell may include two conductive layers stacked on each other, and a color-changing layer, an electrolyte layer, and an ion storage layer disposed between the two conductive layers.
The conductive layer may be a transparent conductive layer, and has excellent conductivity and good optical transmittance. The transparent conductive layer can be Indium Tin Oxide (ITO) or tin oxide (SnO)2) And Antimony Tin Oxide (ATO).
The color-changing layer is a core layer of the electrochromic unit and is also a generation layer of color-changing reaction. The material of the color-changing layer may be classified into an inorganic electrochromic material and an organic electrochromic material according to types. The inorganic electrochromic material may be tungsten trioxide (WO)3) Or nickel oxide (NiO). The organic electrochromic material mainly comprises polythiophene and derivatives thereof, viologen, tetrathiafulvalene, metal phthalocyanine compounds and the like.
The electrolyte layer is composed of a special conductive material such as a liquid electrolyte material containing a solution of lithium perchlorate, sodium perchlorate, or the like, or may be a solid electrolyte material.
The ion storage layer plays a role in storing charges in the electrochromic unit, namely corresponding counter ions are stored when the material of the electrochromic layer undergoes an oxidation-reduction reaction, so that the charge balance of the whole electrochromic unit is ensured.
As shown in fig. 2, when a certain voltage is applied between the two transparent conductive layers, the material of the color-changing layer of the electrochromic cell undergoes an oxidation-reduction reaction under the action of the voltage, thereby undergoing a color change.
For example, when a voltage applied between two transparent conductive layers of an electrochromic cell is changed from 0V to 1V, the electrochromic cell may be changed from white to red. When the voltage applied between the two transparent conductive layers is changed from 0V to 1.2V, the electrochromic cell may be changed from white to black. When the voltage applied between the two transparent conductive layers is changed from 1.2V to-0.2V, the electrochromic cell may change from black to white, and so on.
It can be understood that the execution subject of the embodiment of the present application may be a terminal device such as a smart phone or a tablet computer.
Referring to fig. 3, fig. 3 is a flowchart illustrating a reminding method of application update according to an embodiment of the present application. The reminding method of the application update can be applied to an electronic device, and the electronic device can comprise an electrochromic component.
The flow of the reminding method for application update provided by this embodiment may include:
in 101, the current version number and the latest version number of the application are obtained.
In order to improve the functions of an application, such as repairing bugs existing in the application or improving the performance of the application, developers of the application generally issue updated versions of the application periodically or aperiodically, so that users can update versions of the application. However, in the related art, the electronic device cannot effectively remind the user of version update of the application program.
In the embodiment of the present application, for example, the electronic device may first obtain the current version number and the latest version number of the application.
In 102, it is determined whether the version of the application needs to be updated according to the current version number and the latest version number.
For example, after acquiring the current version number and the latest version number of the application, the electronic device may determine whether to update the version of the application according to the current version number and the latest version number.
If it is determined that a version update of the application is not required, the electronic device may perform other operations.
If it is determined that a version update of the application is required, then 103 may be entered.
At 103, if it is determined that the version of the application needs to be updated, the target voltage is obtained.
In 104, a target voltage is provided to the electrochromic device, and after the target voltage is obtained, the electrochromic device displays a color corresponding to the target voltage to remind a user of version update of the application.
For example, 103 and 104 may include:
the electronic device determines that version updating needs to be performed on the application according to the current version number and the latest version number of the application, and then the electronic device can obtain a target voltage.
The electronic device can then apply the target voltage to the electrochromic component. After the electrochromic component obtains the target voltage, the color corresponding to the target voltage can be displayed, so that a user is reminded to update the version of the application. That is, after observing that the electrochromic device changes to the color corresponding to the target voltage, the user can know that the version of the application needs to be updated.
It can be understood that, in this embodiment, the electronic device may obtain the current version number and the latest version number of the application, and accordingly determine whether the version of the application needs to be updated. If it is determined that the version of the application needs to be updated, the electronic device may obtain a target voltage and apply the target voltage to the electrochromic element. When the target voltage is applied to the electrochromic assembly, the electrochromic assembly may display a color corresponding to the target voltage, thereby prompting a user to make a version update of the application. Therefore, the embodiment can effectively remind the user of version updating of the application.
Referring to fig. 4, fig. 4 is another schematic flow chart of a reminding method of application update according to an embodiment of the present application. The reminding method of the application update can be applied to an electronic device, and the electronic device can comprise an electrochromic component.
The flow of the reminding method of the application update can comprise the following steps:
in 201, the electronic device obtains a current version number and a latest version number of an application.
For example, after entering the running interface of the application, the electronic device may obtain the current version number and the latest version number of the application.
After that, the electronic device may determine whether the current version number is consistent with the latest version number, that is, the electronic device may determine whether the current version of the application is the latest version.
If it is detected that the current version number corresponds to the latest version number, i.e. the current version of the application is already the latest version, the electronic device may perform further operations.
If it is detected that the current version number does not correspond to the latest version number, i.e. the current version of the application is not the latest version, then 202 may be entered.
At 202, if the current version number is different from the latest version number, the electronic device obtains version update content.
For example, the electronic device may obtain version update content in the case where the electronic device detects that the current version number of the application does not correspond to the latest version number, i.e., the current version of the application is not the latest version.
It should be noted that the version update content is content such as a function, a security patch, and the like newly added to the latest version of the application with respect to the current version of the application.
After the version updating content is acquired, the electronic device may detect whether the version updating content includes the security updating content. It should be noted that the security update content may be information such as a security patch for fixing a security vulnerability of the application.
In one embodiment, since the version updating contents all have a function description of the updating contents, the electronic device may detect whether the version updating contents include the security updating contents by:
the electronic equipment detects whether the version updating content contains preset keywords or not;
if the version updating content comprises the preset keyword, the electronic equipment detects that the version updating content comprises the safe updating content;
if the version updating content does not contain the preset keyword, the electronic equipment detects that the version updating content does not contain the safe updating content.
For example, after obtaining the version update content, the electronic device may detect whether preset keywords such as "bug", "patch", "fix", "security update", and the like are included in the version update content. If the version updating content contains the preset keyword, the electronic device can judge that the version updating content contains the safe updating content. If the version updating content does not contain the preset keyword, the electronic device can judge that the version updating content does not contain the safe updating content.
If it is detected that the version-up content does not include the secure update content, the electronic device may perform other operations.
If it is detected that the version-up contents include the secure update contents, 203 may be entered.
At 203, if it is detected that the version updating content includes the security updating content, the electronic device acquires a network connection record.
For example, the version update content acquired by the electronic device includes two pieces of content, which are respectively: the method comprises the following steps of 1, repairing XX application security holes, and 2, adding XX plug-ins to improve application stability. The electronic equipment detects that the version updating content contains preset keywords such as 'bug', 'repair', and the like by performing keyword detection on the version updating content, so that the electronic equipment can judge that the version updating content contains the safe updating content. In this case, the electronic device may retrieve its network connection record. The network connection record may be an operation record of the electronic device connecting to a network access device such as a wireless local area network WLAN, WiFi, etc.
In 204, according to the network connection record, the electronic device obtains the number of times it is connected to the wireless access point without accessing the password within a preset time range.
In 205, if the number of times is greater than or equal to the preset number of times, the electronic device determines that the version update of the application is required.
For example, 204 and 205 may include:
after the network connection record is obtained, the electronic device may obtain, according to the network connection record, the number of times that the electronic device is connected to a Wireless Access Point (Wireless Access Point) that does not need to Access a password within a preset time range.
It should be noted that some wireless access points require the electronic device to provide an access password when the electronic device is connected to the wireless access point, and the wireless access point allows the electronic device to use the network only when the electronic device provides the correct access password. If the electronic device fails to provide the correct access code, the wireless access point will deny the electronic device access. Some wireless access points do not need the electronic device to provide an access password, and most of the wireless access points are public wireless access points, so that the security is low.
After acquiring the number of times that the electronic device is connected to the wireless access point without accessing the password within a preset time range (for example, the last 7 days or the last month), the electronic device may detect whether the number of times is greater than or equal to a preset number of times.
If the number of times is detected to be less than the preset number of times, that is, the electronic device is less connected to the network with lower security, the security of the electronic device may be considered to be better, and the electronic device may perform other operations.
If the number of times is detected to be greater than or equal to the preset number of times, that is, the electronic device is connected to the network with lower security more often, the security of the electronic device may be considered to be poor. In this case, in order to avoid the electronic device from being hacked to exploit the security vulnerability of the application due to computer virus infection, the electronic device may determine that the version update of the application is required to add the security update content.
At 206, the electronic device obtains a target voltage.
In 207, the electronic device provides a target voltage to the electrochromic component, and after the target voltage is obtained, the electrochromic component displays a color corresponding to the target voltage to remind a user of version update of the application.
For example, 206 and 207 may include:
after determining that the application needs to be version updated, the electronic device may obtain a target voltage and apply the target voltage to the electrochromic component. The electrochromic component can display the color corresponding to the target voltage after acquiring the target voltage, so that a user is reminded to update the version of the application. After observing that the electrochromic component changes into the color corresponding to the target voltage, a user can know that the application needs to install important safety updating content, so that the data safety of the application and the system safety of the electronic equipment are improved.
In an embodiment, after acquiring the current version number and the latest version number of the application, the electronic device may also determine whether the version of the application needs to be updated by:
according to the current version number and the latest version number, the electronic equipment determines the number of versions with a difference between the current version and the latest version of the application;
if the version number is larger than a preset value, the electronic equipment judges that the version updating of the application is needed.
For example, the current version number and the latest version number of the application obtained by the electronic device are 2.3 and 2.8, respectively, and the electronic device detects that four versions, namely, 2.4, 2.5, 2.6, and 2.7, exist between the current version and the latest version according to the current version number and the latest version number. Then the electronic device may determine that the current version and the latest version of the application differ by a number of versions of 5, i.e. that the current version and the latest version differ by 5 versions (2.4, 2.5, 2.6, 2.7 and 2.8, respectively).
After determining the number of versions that differ between the current version and the latest version of the application, the electronic device may detect whether the number of versions is greater than a preset value. If the value is larger than the preset value, the electronic device may determine that the version of the application needs to be updated. That is, if it is detected that the current version and the latest version of the application differ by a plurality of versions, the electronic device may determine that a version update of the application is required.
In one embodiment, if it is detected that the number of versions that differ between the current version and the latest version of the application does not reach a preset value, the electronic device may perform other operations, such as not performing a version update on the application.
In an embodiment, after the electronic device obtains the version update content in 202, if the electronic device detects that the version update content includes the security update content, the electronic device may directly determine that the version update of the application is required. That is, after acquiring the current version number and the latest version number of the application, the following steps may be included:
if the current version number is different from the latest version number, the electronic equipment acquires version updating content;
the electronic equipment detects whether the version updating content contains safe updating content;
if the version updating content is detected to contain the safe updating content, the electronic equipment judges that the version updating needs to be carried out on the application.
In one embodiment, the electronic device may obtain the target voltage by:
acquiring a basic voltage value;
obtaining an environment light intensity value, and determining a voltage change value according to the environment light intensity value;
and determining a target voltage according to the basic voltage value and the voltage change value.
For example, the electronic device determines that the version of the application needs to be updated, and at this time, the electronic device may first obtain a basic voltage value. Thereafter, the electronic device may obtain an ambient light intensity value of the current environment. The electronic device may then determine a voltage change value based on the ambient light intensity value.
After the basic voltage value and the voltage change value are obtained, the electronic device may determine the target voltage according to the basic voltage value and the voltage change value. For example, the target voltage may be a sum of the base voltage value and the voltage variation value.
For example, in this embodiment, the value of the ambient light intensity value is also in the range of 0 to 100, and a larger value indicates a larger ambient light intensity. For example, when the ambient light intensity value is 0 to 40, the current environment is a dark light environment; when the ambient light intensity value is 41-70, the current environment is the environment with normal brightness; when the ambient light intensity value is 71-100, the current environment is a strong light environment.
For example, the base voltage value in the present embodiment is 1V. For example, after the electronic device obtains the ambient light intensity value, if the current environment is determined to be a dark light environment according to the ambient light intensity value, the electronic device may determine the voltage variation value to be 0, that is, the value of the target voltage is equal to the base voltage value. That is, when in a dim light environment, the target voltage is 1V. For example, when a voltage of 1V is applied to the electrochromic device, the electrochromic device may display a general red color, which may have a chromaticity value of 50.
After the electronic device obtains the ambient light intensity value, if the current environment is determined to be the environment with normal brightness according to the ambient light intensity value, the electronic device may determine the voltage change value to be 0.05V, and the value of the target voltage is equal to the sum of the base voltage value 1V and the voltage change value 0.05V, that is, the target voltage is 1.05V. That is, when in an environment of normal brightness, the target voltage is 1.05V. When a voltage of 1.05V is applied to the electrochromic device, the electrochromic device may display a deep red color, which may have a chromaticity value of 70.
After the electronic device obtains the ambient light intensity value, if it is determined that the current environment is a strong light environment according to the ambient light intensity value, the electronic device may determine the voltage change value to be 0.1V, and the value of the target voltage is equal to the sum of the base voltage value 1V and the voltage change value 0.1V, that is, the target voltage is 1.1V. That is, when in an environment of normal luminance, the target voltage is 1.1V. When a voltage of 1.1V is applied to the electrochromic device, the electrochromic device may display a darker red color, which may have a chromaticity value of 90.
In this embodiment, the electronic device may determine different target voltages according to the intensity of ambient light, so that the electrochromic device displays colors of different chromaticities. For example, in a dark light environment, a normal brightness environment, and a strong light environment, the target voltage may be sequentially increased, so that the chromaticity of the color displayed by the electrochromic element is sequentially increased. It will be appreciated that this embodiment may provide a better alert to the user because the user's eyes may receive different colors at different ambient light intensities. In addition, different target voltages are applied to the electrochromic component under different ambient light intensities, so that the electrochromic component presents colors with different chromaticities, and the flexibility of reminding a user can be improved.
Referring to fig. 5 to 8, fig. 5 is a schematic view of a first structure of an electronic device according to an embodiment of the present application, and fig. 6 to 8 are schematic views of a scene of an application update reminding method.
Referring to fig. 5, the electronic device 100 may include a screen 10. The screen 10 may include a display area 11 and a non-display area 12. The display area 11 is an area for displaying images and characters. The non-display area 12 is an area for disposing a functional device. For example, functional devices such as a microphone, a proximity sensor, a fingerprint sensor, and the like may be provided in the non-display area 12.
In the present embodiment, an electrochromic member 13 may be provided in the non-display area 12. In some embodiments, the shape of the electrochromic assembly 13 may be circular, rectangular, or the like.
For example, as shown in fig. 6, the user clicks and opens an instant messaging application a, and the electronic device enters a running interface of the application a. At this time, the electronic device may acquire the current version number and the latest version number of the application a. Thereafter, the electronic device may detect whether the current version number is consistent with the latest version number.
For example, the electronic device detects that the current version number does not correspond to the latest version number, i.e., that the current version of application a is not the latest version. Thereafter, the electronic device may obtain the version update content and detect whether the security update content is contained therein.
For example, the electronic device detects that the version update content includes a security vulnerability fix for application a. In this case, the electronic device may acquire a network connection record within the last 7 days, acquire the number of times that the electronic device has been connected to the wireless access point that does not need to access the password within the last 7 days according to the network connection record, and detect whether the number of times is greater than or equal to a preset number of times. For example, the electronic device has a total of 10 connections to the wireless access point of the wireless access code within the last 7 days. And the preset number of times is 2. In this case, it can be considered that the user often uses the electronic device to connect to the less secure wireless access point. At this time, the electronic device may determine that the version of the application a needs to be updated, so as to avoid problems that a hacker utilizes a security vulnerability of the application a due to computer virus infection of the electronic device caused by connection to a wireless access point with poor security.
The electronic device may then obtain a target voltage value and apply the target voltage to the electrochromic assembly 13 at preset time intervals. For example, the color displayed by the electrochromic element is related to the voltage applied to the electrochromic element. For example, the electrochromic assembly appears transparent in the absence of voltage. When the voltage applied between the two conductive layers of the electrochromic assembly is changed from zero to 1V, the electrochromic assembly changes color from transparent to red. When the voltage applied between the two conductive layers of the electrochromic assembly is changed from 1V to zero, the electrochromic assembly has red color restored to transparent color.
For example, the preset time interval is 0.3 seconds, and the electronic device may apply the target voltage to the electrochromic element every 0.3 seconds after determining that the target voltage is 1V. Therefore, the voltage between the two conducting layers of the electrochromic component is continuously changed from zero to 1V and then from 1V to zero, so that the electrochromic component intermittently displays the color corresponding to the target voltage 1V, and the electrochromic component has the effect of displaying the color corresponding to the target voltage in a flashing manner.
Wherein the effect of the electrochromic assembly 13 before and after the color change can be as shown in fig. 6.
The user can know that the version of the application A needs to be updated after observing the electrochromic component of the flashing display. For example, as shown in fig. 7, after observing the electrochromic component changes color, the user enters the version update interface of application a and performs a version update on application a, as shown in fig. 8.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a reminder device for application update according to an embodiment of the present application. The application update reminding device can be applied to electronic equipment, and the electronic equipment can comprise an electrochromic component. The reminding apparatus 300 for applying the update may include: a first obtaining module 301, a judging module 302, a second obtaining module 303 and a control module 304.
The first obtaining module 301 is configured to obtain a current version number and a latest version number of an application.
The determining module 302 is configured to determine whether to perform version update on the application according to the current version number and the latest version number.
A second obtaining module 303, configured to obtain the target voltage if it is determined that the version of the application needs to be updated.
The control module 304 is configured to provide the target voltage for the electrochromic component, and after the target voltage is obtained, the electrochromic component displays a color corresponding to the target voltage to remind a user of version update of the application.
In one embodiment, the determining module 302 may be configured to:
if the current version number is different from the latest version number, acquiring version updating content;
detecting whether the version updating content contains safe updating content;
and if the version updating content is detected to contain the safe updating content, judging that the version updating needs to be carried out on the application.
In one embodiment, the determining module 302 may be configured to:
if the version updating content is detected to contain the safe updating content, acquiring a network connection record of the electronic equipment;
acquiring the times of the electronic equipment being connected to a wireless access point without an access password within a preset time range according to the network connection record;
and if the times are more than or equal to the preset times, judging that the version of the application needs to be updated.
In one embodiment, the determining module 302 may be configured to:
determining the number of versions with difference between the current version and the latest version of the application according to the current version number and the latest version number;
and if the version number is larger than a preset value, judging that the version of the application needs to be updated.
In one embodiment, the determining module 302 may be configured to:
detecting whether the version updating content contains preset keywords or not;
if the version updating content contains a preset keyword, detecting that the version updating content contains safe updating content;
and if the version updating content does not contain the preset keyword, detecting that the version updating content does not contain the safe updating content.
The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute the steps in the reminding method of application update provided by the embodiment.
The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute the steps in the method for prompting application update provided in this embodiment by calling the computer program stored in the memory.
For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
The electronic device 400 may include electrochromic components 401, memory 402, processor 403, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The electrochromic element 401 may display a color corresponding to a voltage after the voltage is applied.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing executable code. The application programs may constitute various functional modules. The processor 403 executes various functional applications and data processing by running an application program stored in the memory 402.
The processor 403 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 403 in the electronic device loads the executable code corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 403 runs the application programs stored in the memory 402, thereby implementing the steps:
acquiring a current version number and a latest version number of an application;
judging whether the version of the application needs to be updated or not according to the current version number and the latest version number;
if the version of the application needs to be updated, acquiring a target voltage;
and providing the target voltage for the electrochromic assembly, and displaying a color corresponding to the target voltage by the electrochromic assembly after the target voltage is obtained so as to remind a user of version updating of the application.
Referring to fig. 11, an electronic device 500 may include an electrochromic device 501, a memory 502, a processor 503, an input unit 504, an output unit 505, a screen 506, and the like.
The electrochromic element 501 may display a color corresponding to a voltage after the voltage is applied.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 503 executes various functional applications and data processing by running an application program stored in the memory 502.
The processor 503 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 502 and calling the data stored in the memory 502, thereby performing overall monitoring of the electronic device.
The input unit 504 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The output unit 505 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The output unit may include a display panel.
In this embodiment, the processor 503 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 runs the application programs stored in the memory 502, thereby implementing the steps:
acquiring a current version number and a latest version number of an application;
judging whether the version of the application needs to be updated or not according to the current version number and the latest version number;
if the version of the application needs to be updated, acquiring a target voltage;
and providing the target voltage for the electrochromic assembly, and displaying a color corresponding to the target voltage by the electrochromic assembly after the target voltage is obtained so as to remind a user of version updating of the application.
In one embodiment, when the processor 503 executes the step of determining whether the version of the application needs to be updated according to the current version number and the latest version number, it may execute: if the current version number is different from the latest version number, acquiring version updating content; detecting whether the version updating content contains safe updating content; and if the version updating content is detected to contain the safe updating content, judging that the version updating needs to be carried out on the application.
In one embodiment, when the processor 503 determines that the version update of the application is needed if it is detected that the version update content includes the secure update content, it may perform: if the version updating content is detected to contain the safe updating content, acquiring a network connection record of the electronic equipment; acquiring the times of the electronic equipment being connected to a wireless access point without an access password within a preset time range according to the network connection record; and if the times are more than or equal to the preset times, judging that the version of the application needs to be updated.
In one embodiment, when the processor 503 determines whether the version of the application needs to be updated according to the current version number and the latest version number, it may perform: determining the number of versions with difference between the current version and the latest version of the application according to the current version number and the latest version number; and if the version number is larger than a preset value, judging that the version of the application needs to be updated.
In one embodiment, when the processor 503 performs the step of detecting whether the version updating content includes the secure updating content, it may perform: detecting whether the version updating content contains preset keywords or not; if the version updating content contains a preset keyword, detecting that the version updating content contains safe updating content; and if the version updating content does not contain the preset keyword, detecting that the version updating content does not contain the safe updating content.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and a part which is not described in detail in a certain embodiment may refer to the above detailed description of the application update reminding method, and is not described herein again.
The application update reminding device provided in the embodiment of the present application and the application update reminding method in the above embodiments belong to the same concept, and any method provided in the application update reminding method embodiment may be run on the application update reminding device, and a specific implementation process thereof is described in detail in the application update reminding method embodiment, and is not described herein again.
It should be noted that, for the method for reminding an application update described in the embodiment of the present application, it can be understood by those skilled in the art that all or part of the process of implementing the method for reminding an application update described in the embodiment of the present application can be completed by controlling related hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and during the execution process, the process of the embodiment of the method for reminding an application update described above can be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the application update reminding device in the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The above detailed description is provided for the application update reminding method, apparatus, storage medium and electronic device provided in the embodiments of the present application, and a specific example is applied in this document to explain the principle and implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and core ideas of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An application update reminding method applied to an electronic device, wherein the electronic device comprises an electrochromic component, and the method comprises the following steps:
acquiring a current version number and a latest version number of an application;
judging whether the version of the application needs to be updated or not according to the current version number and the latest version number;
if the version of the application needs to be updated, acquiring a target voltage;
and providing the target voltage for the electrochromic assembly, and displaying a color corresponding to the target voltage by the electrochromic assembly after the target voltage is obtained so as to remind a user of version updating of the application.
2. The method for reminding application update according to claim 1, wherein judging whether the application needs to be version-updated according to the current version number and the latest version number comprises:
if the current version number is different from the latest version number, acquiring version updating content;
detecting whether the version updating content contains safe updating content;
and if the version updating content is detected to contain the safe updating content, judging that the version updating needs to be carried out on the application.
3. The method for reminding application update according to claim 2, wherein if it is detected that the version update content includes a security update content, determining that the version update of the application is required comprises:
if the version updating content is detected to contain the safe updating content, acquiring a network connection record of the electronic equipment;
acquiring the times of the electronic equipment being connected to a wireless access point without an access password within a preset time range according to the network connection record;
and if the times are more than or equal to the preset times, judging that the version of the application needs to be updated.
4. The method for reminding application update according to claim 1, wherein judging whether the application needs to be version-updated according to the current version number and the latest version number comprises:
determining the number of versions with difference between the current version and the latest version of the application according to the current version number and the latest version number;
and if the version number is larger than a preset value, judging that the version of the application needs to be updated.
5. The method for reminding application update according to claim 2, wherein detecting whether the version update content includes a security update content comprises:
detecting whether the version updating content contains preset keywords or not;
if the version updating content contains a preset keyword, detecting that the version updating content contains safe updating content;
and if the version updating content does not contain the preset keyword, detecting that the version updating content does not contain the safe updating content.
6. An application update reminding device applied to electronic equipment, wherein the electronic equipment comprises an electrochromic component, and the device comprises:
the first acquisition module is used for acquiring the current version number and the latest version number of the application;
the judging module is used for judging whether the version of the application needs to be updated according to the current version number and the latest version number;
the second obtaining module is used for obtaining the target voltage if the version of the application is judged to be required to be updated;
and the control module is used for providing the target voltage for the electrochromic assembly, and after the target voltage is obtained, the electrochromic assembly displays the color corresponding to the target voltage so as to remind a user of updating the version of the application.
7. The application update reminding device according to claim 6, wherein the judging module is configured to:
if the current version number is different from the latest version number, acquiring version updating content;
detecting whether the version updating content contains safe updating content;
and if the version updating content is detected to contain the safe updating content, judging that the version updating needs to be carried out on the application.
8. The application update reminding device according to claim 7, wherein the determining module is configured to:
if the version updating content is detected to contain the safe updating content, acquiring a network connection record of the electronic equipment;
acquiring the times of the electronic equipment being connected to a wireless access point without an access password within a preset time range according to the network connection record;
and if the times are more than or equal to the preset times, judging that the version of the application needs to be updated.
9. A storage medium having stored thereon a computer program, characterized in that the computer program, when executed on a computer, causes the computer to execute the method according to any of claims 1 to 5.
10. An electronic device comprising a memory, a processor, wherein the processor is configured to perform the method of any one of claims 1 to 5 by invoking a computer program stored in the memory.
CN201810846930.7A 2018-07-27 2018-07-27 Application update reminding method and device, storage medium and electronic equipment Pending CN110764851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810846930.7A CN110764851A (en) 2018-07-27 2018-07-27 Application update reminding method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810846930.7A CN110764851A (en) 2018-07-27 2018-07-27 Application update reminding method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN110764851A true CN110764851A (en) 2020-02-07

Family

ID=69327164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810846930.7A Pending CN110764851A (en) 2018-07-27 2018-07-27 Application update reminding method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110764851A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112002291A (en) * 2020-09-17 2020-11-27 努比亚技术有限公司 Electrochromic film display method, device and computer readable storage medium
CN113721961A (en) * 2021-09-06 2021-11-30 Oppo广东移动通信有限公司 Equipment upgrading method and device, storage medium and electronic equipment
CN113778476A (en) * 2020-07-06 2021-12-10 北京沃东天骏信息技术有限公司 Method, device, equipment and computer readable medium for updating mobile application version
CN117114603A (en) * 2023-08-07 2023-11-24 广州锦成信息技术有限公司 Single-rail management method, single-rail management device, storage medium and single-rail management equipment for electronic drawing

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347217A (en) * 2013-06-29 2013-10-09 深圳市龙视传媒有限公司 Reminding method, system and terminal for application update
CN103677936A (en) * 2013-12-23 2014-03-26 联想(北京)有限公司 Application version upgrading method and electronic device
CN103970550A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Software updating prompting method and device for mobile terminal
CN105100144A (en) * 2014-05-05 2015-11-25 腾讯科技(深圳)有限公司 Application updating method and device
CN105389183A (en) * 2015-11-04 2016-03-09 广东欧珀移动通信有限公司 Method and apparatus for making application version and intelligent sound box software version correspond
CN106657660A (en) * 2016-12-31 2017-05-10 珠海市魅族科技有限公司 Information prompting method and apparatus
CN107390966A (en) * 2016-05-17 2017-11-24 广州阿里巴巴文学信息技术有限公司 Update application upgrade prompt message method and device
CN107734174A (en) * 2017-10-19 2018-02-23 维沃移动通信有限公司 The scene matching method and mobile terminal of a kind of mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970550A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Software updating prompting method and device for mobile terminal
CN103347217A (en) * 2013-06-29 2013-10-09 深圳市龙视传媒有限公司 Reminding method, system and terminal for application update
CN103677936A (en) * 2013-12-23 2014-03-26 联想(北京)有限公司 Application version upgrading method and electronic device
CN105100144A (en) * 2014-05-05 2015-11-25 腾讯科技(深圳)有限公司 Application updating method and device
CN105389183A (en) * 2015-11-04 2016-03-09 广东欧珀移动通信有限公司 Method and apparatus for making application version and intelligent sound box software version correspond
CN107390966A (en) * 2016-05-17 2017-11-24 广州阿里巴巴文学信息技术有限公司 Update application upgrade prompt message method and device
CN106657660A (en) * 2016-12-31 2017-05-10 珠海市魅族科技有限公司 Information prompting method and apparatus
CN107734174A (en) * 2017-10-19 2018-02-23 维沃移动通信有限公司 The scene matching method and mobile terminal of a kind of mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778476A (en) * 2020-07-06 2021-12-10 北京沃东天骏信息技术有限公司 Method, device, equipment and computer readable medium for updating mobile application version
CN112002291A (en) * 2020-09-17 2020-11-27 努比亚技术有限公司 Electrochromic film display method, device and computer readable storage medium
CN113721961A (en) * 2021-09-06 2021-11-30 Oppo广东移动通信有限公司 Equipment upgrading method and device, storage medium and electronic equipment
CN117114603A (en) * 2023-08-07 2023-11-24 广州锦成信息技术有限公司 Single-rail management method, single-rail management device, storage medium and single-rail management equipment for electronic drawing

Similar Documents

Publication Publication Date Title
CN110764851A (en) Application update reminding method and device, storage medium and electronic equipment
EP3373383B1 (en) Method of detecting swelling of battery using pressure sensor and electronic device using the method
US11289053B2 (en) Method for correcting brightness of display panel and apparatus for correcting brightness of display panel
CN109064996B (en) Display adjustment method and device, storage medium and electronic equipment
CN107688407B (en) Electronic device with fingerprint sensor
CN109029768B (en) Temperature reminding method and device of electronic equipment, storage medium and electronic equipment
CN109101833B (en) Content display method, content display device, storage medium and electronic equipment
US10997908B2 (en) Electronic device having display and sensor and method for operating the same
CN109246288B (en) Control method and device of electronic equipment, storage medium and electronic equipment
WO2020019802A1 (en) Device control method and apparatus, storage medium and electronic device
CN109144814B (en) Information reminding method and device, storage medium and electronic equipment
CN109240415B (en) Electronic device control method, electronic device control device, storage medium and electronic device
KR20170102681A (en) Electronic device and operating method thereof
CN109104529A (en) Information cuing method, device, storage medium and electronic equipment
CN109740519B (en) Control method and electronic device
CN108718367A (en) Control method of electronic device, device, storage medium and electronic equipment
CN109143717A (en) Control method, device, storage medium and the electronic equipment of electronic equipment
CN107945733A (en) Brightness of display screen method of adjustment, device, storage medium and electronic equipment
CN109086103B (en) Application display method and device, storage medium and electronic equipment
CN109001951A (en) Picture and text showing method, apparatus, electrochromic window assemblies and electronic equipment
CN108616697B (en) Shooting state reminding method and device, storage medium and electronic equipment
CN109714484B (en) Data processing method and electronic equipment
CN109192178B (en) Control method and device of electronic equipment, storage medium and electronic equipment
US20180203941A1 (en) Electronic device and method for creating shortcut to web page in electronic device
CN111291090B (en) Method, device, electronic equipment and medium for acquiring time period based on time control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination