CN112988192A - Version updating method and device, electronic equipment and storage medium - Google Patents

Version updating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112988192A
CN112988192A CN202110298228.3A CN202110298228A CN112988192A CN 112988192 A CN112988192 A CN 112988192A CN 202110298228 A CN202110298228 A CN 202110298228A CN 112988192 A CN112988192 A CN 112988192A
Authority
CN
China
Prior art keywords
version
target
application program
updating
information
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
CN202110298228.3A
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.)
Beijing Jingdong Tuoxian Technology Co Ltd
Original Assignee
Beijing Jingdong Tuoxian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Tuoxian Technology Co Ltd filed Critical Beijing Jingdong Tuoxian Technology Co Ltd
Priority to CN202110298228.3A priority Critical patent/CN112988192A/en
Publication of CN112988192A publication Critical patent/CN112988192A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a version updating method, a version updating device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring target attribute associated information corresponding to a target application program; determining a target version updating mode for updating the version of the target application program according to the target attribute association information and the preset version updating rule information; and updating the version of the target application program based on the target version updating mode. The technical scheme of the embodiment of the invention solves the technical problem that the prior art has poor user experience because the version of the updated application program is not adapted to the terminal due to forced update of the application program, and realizes that the update mode of the version update can be determined based on the corresponding version update rule after the information associated with the target application program is acquired, so that the program version is updated based on the corresponding mode, the adaptability of the program version to the terminal is improved, and the technical effect of the user experience is improved.

Description

Version updating method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a version updating method and device, electronic equipment and a storage medium.
Background
At present, most internet using media are APP (application program) as the main media. The APP is mainly installed on a terminal, for example, a mobile terminal or a PC terminal. The server corresponding to the APP can detect whether the APP version has problems or whether the APP version is overdue and cannot be used continuously and the like. If the problem is detected, the user is forced to update the application program, for example, after the user opens the application program, the application program is automatically updated and upgraded; or, after the user opens the application program, popping up the upgraded control, and if the user does not trigger the upgraded control, automatically quitting the application program.
When the present invention is implemented based on the above-described embodiments, the inventors have found that the following problems occur:
if the APP version installed on the terminal has no fault, the upgrading is not necessary, and during forced upgrading, the problem that the application program cannot be used due to the fact that the upgrading version is not matched with the terminal exists; when the version is forcibly updated, the user is required to wait for a certain updating time to use the application program, so that the problems of user loss and poor user experience are caused; furthermore, most of the maintenance of the application program is based on the version number of the APP, so that when all users are forced to update versions, the users are easily lost.
Disclosure of Invention
The invention provides a version updating method, a version updating device, electronic equipment and a storage medium, which are used for effectively updating the version of an application program so as to improve the technical effect of user experience.
In a first aspect, an embodiment of the present invention provides a version update method, where the method includes:
acquiring target attribute associated information corresponding to a target application program;
determining a target version updating mode for updating the version of the target application program according to the target attribute association information and pre-configured version updating rule information;
and updating the version of the target application program based on the target version updating mode.
In a second aspect, an embodiment of the present invention further provides a version updating apparatus, where the apparatus includes:
the attribute associated information determining module is used for acquiring target attribute associated information corresponding to the target application program;
the version updating mode determining module is used for determining a target version updating mode for updating the version of the target application program according to the target attribute association information and the preset version updating rule information;
and the version updating module is used for updating the version of the target application program based on the target version updating mode.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the version update method according to any one of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the version updating method according to any one of the embodiments of the present invention.
The technical scheme of the embodiment of the invention determines the target version updating mode for updating the version of the target application program by acquiring the target attribute associated information corresponding to the target application program and performing matching processing according to the acquired target attribute associated information and the preset version rule information, and updates the target application program in the target version updating mode, thereby solving the technical problems that the updated application program version is not adapted to the terminal and the user needs to wait for a long time when the application program is forcibly updated in the prior art, resulting in poor experience and user loss, determining the updating mode for updating the version based on the corresponding rule after acquiring the information associated with the target application program, updating the program version based on the corresponding mode, and improving the adaptability of the program version and the terminal, thereby improving the technical effect of user experience.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a flowchart illustrating a version updating method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a version updating method according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a version updating method according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a version updating method according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a version updating apparatus according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating a version updating method according to an embodiment of the present invention, where the embodiment is applicable to determining a version updating manner for updating a version of an application program, and updating a target application program based on the version updating manner, and the method may be executed by a version updating apparatus, where the apparatus may be implemented in a form of software and/or hardware, and the hardware may be an electronic device, and the electronic device may be a mobile terminal, a PC terminal, or the like. The execution of the technical scheme can be executed by the server, the terminal equipment or the cooperation of the server and the terminal equipment.
Before the technical solution of the present embodiment is introduced, an application scenario is exemplarily described. Currently, the application is mainly installed on the mobile terminal or the PC side. As the user's demand for application experience increases, applications are often optimized, and thus different versions of the same application exist. In a specific application process, when a user triggers an application program, if the application program has a higher version, the application program may be automatically upgraded, so that the upgraded version is not matched with the terminal device to which the application program belongs, or a user needs to use the application program and wait for the upgrade, so that the user experience is poor, and the problem of user loss is caused.
As shown in fig. 1, the method includes:
and S110, acquiring target attribute associated information corresponding to the target application program.
It should be noted that, for any application installed on the terminal device, the method provided in this embodiment may be adopted to perform version update on the application. For clarity of describing the technical solution of this embodiment, version update may be performed on one of the application programs, and the described application program is taken as a target application program indicated in this embodiment.
The target application is an application installed in the current terminal and needs to determine whether to update the target application. The number of versions of the target application program can be one or more, namely the target application program is an application program corresponding to different program versions. For example, a certain application a includes three program versions, i.e. program versions 1.0.0, 1.0.1, and 1.0.2, that is, different program versions correspond to one application, and if the application is installed on the terminal device and it is determined whether to update the application, the application a may be a target application. The target attribute-related information may include a current program version of the target application program, device attribute information of the terminal device in which the target application program is installed, and geographical location information of the use application program.
Specifically, when it is required to determine whether the target application needs to be updated, the current program version of the target application, and the device attribute information of the terminal device to which the target application belongs, that is, the device attribute information of the installed terminal device, may be obtained first.
In this embodiment, the target attribute-related information includes at least one of a current program version of the target application program, device attribute information of the terminal device to which the target application program belongs, and current geographic location information.
Wherein the device attribute information includes: at least one of a device brand, a device model, a device system version, and a device processor. The benefits of determining device attribute information are: the program versions of some application programs are matched with the specific device brands, so that whether the target application program is updated or not can be determined according to the device brands, and correspondingly, the device system versions corresponding to different device models are different, and whether the application program is updated or not can be determined on the basis of the different device system versions. The current geographical location information is also included in the target attribute association information because: generally, there may be a certain difference between the program versions corresponding to different geographic areas, for example, if an application develops a certain block in the beijing area, but does not develop the block in other areas, then the certain version of the target application is only applicable to users in the beijing area, but is not applicable to users in other areas, and therefore, the application may not be updated for users in other areas. For the above reasons, the geographical location information may be used as one element in consideration of whether or not the version of the application is updated.
Specifically, when the application program is installed, the current version information of the application program, the device attribute information of the terminal device to which the application program belongs, and the current geographical location information may be stored in the database, so that when it is detected that the application program is triggered by a user, the target attribute associated information corresponding to the application program may be called from the database, and an update mode for updating the target application program is determined.
In this embodiment, the acquiring target attribute association information corresponding to a target application includes: when the starting of a target application program is detected, determining a target user identifier of the target application program; target attribute associated information matched with the target user identification is called from an information storage library; the information storage library comprises a plurality of attribute associated information corresponding to the user identification.
When a user installs an application program, an account and a password are usually set, and the set account can be used as a user identifier of the user to which the target application program belongs. The information repository stores a plurality of attribute associated information associated with the user identifier, that is, when a user registers, the attribute associated information corresponding to the application program may be obtained, and the attribute associated information and the user identifier may be stored in the information repository correspondingly.
Specifically, usually when the target application is started, optionally, the user triggers the target application installed on the terminal, and may determine the target user identifier of the target application. According to the target user identifier, the attribute associated information matched with the target user identifier can be called from a plurality of attribute associated information stored in the information storage library, and the attribute associated information is used as the target attribute associated information.
And S120, determining a target version updating mode for updating the version of the target application program according to the target attribute association information and the preset version updating rule information.
The version update rule information may be a version update rule determined according to the device attribute information, the application version information, and the geographical location information. The version updating rule information also comprises version updating modes corresponding to different equipment attribute information, application program version information and geographic position information. The version update mode includes at least one of regular update, forced update or no update. The conventional update may be understood as popping up an updated control on a display interface, determining whether to update according to a trigger operation of a user, optionally popping up the updated control on the display interface, when the user triggers the update control, updating the current version of the target application program, and when the user triggers the non-update control, not updating the target application program. The forced update may be a direct update to the target application. The application is not updated as the name implies.
Specifically, according to the current version of the target application program in the target attribute-related information, the device attribute information of the device to which the target application program belongs, and the geographic location information to which the target application program belongs, the version update rule information corresponding thereto may be determined, and the target version update mode for updating the version of the target application program may be determined.
And S130, updating the version of the target application program based on the target version updating mode.
Specifically, according to the determined target version updating mode, version updating is performed on the target application program, and optionally, the current version of the target application program is upgraded, or the version of the target application program is returned to the previous version.
In this embodiment, the update includes at least one of version upgrade, version reduction, and version non-update.
The technical scheme of the embodiment of the invention determines the target version updating mode for updating the version of the target application program by acquiring the target attribute associated information corresponding to the target application program and performing matching processing according to the acquired target attribute associated information and the preset version rule information, and updates the target application program in the target version updating mode, thereby solving the technical problems that the updated application program version is not adapted to the terminal and the user needs to wait for a long time when the application program is forcibly updated in the prior art, resulting in poor experience and user loss, determining the updating mode for updating the version based on the corresponding rule after acquiring the information associated with the target application program, updating the program version based on the corresponding mode, and improving the adaptability of the program version and the terminal, thereby improving the technical effect of user experience.
On the basis of the technical scheme, the method further comprises the following steps: and determining attribute associated information corresponding to each user identifier, and storing the attribute associated information into the information repository so as to retrieve the attribute associated information matched with the target user identifier from the information repository.
Specifically, when the user downloads and installs the target application program for the first time, the device brand, the device model, the system version number, the geographical location information, and the application program version number information of the device to which the target application program belongs may be acquired. The acquired information may be pre-stored locally, and if the user registers in the target application program, the registered account may be acquired, and the registered account is used as the user identifier. And correspondingly storing the acquired user identification into an information storage library so as to acquire the attribute associated information matched with the user identification from the information storage library when detecting that the user triggers the application program.
It should be noted that, if the user does not register the account, the information may be stored in a local file, when the target application is restarted and the user completes registration, the interface module may be called to retrieve device attribute information, application version number information, and current location information of a device to which the application belongs from the local file, and the information may be reported by the information reporting module, and stored in the database, where the information reported by the reporting module is, for example, a device brand XX, a device model a, a geographic location beijing, an application version number V3.0.0, a user identifier ID1, and stored in the information repository as a record.
In this embodiment, the advantage of this manner is that, in combination with the current version of the target application, the device attribute information of the device to which the target application belongs, and the current geographic location information, whether to update the target application can be comprehensively determined, so as to improve the adaptability of the application and the terminal device.
Example two
Fig. 2 is a flowchart illustrating a version updating method according to a second embodiment of the present invention. On the basis of the foregoing embodiment, a target version update manner for updating the version of the target application program may be determined to be optimized according to the target attribute association information and the pre-configured version update rule information, and a specific implementation manner thereof may refer to the technical solution of this embodiment. The technical terms that are the same as or corresponding to the above embodiments are not repeated herein.
As shown in fig. 2, the method includes:
s210, obtaining target attribute associated information corresponding to the target application program.
S220, determining a target configuration record consistent with the target attribute association information from the pre-configured version updating rule information.
Wherein the version update rule information may be set in advance. The version updating rule information comprises different combination conditions and version updating modes corresponding to the different combination conditions. The combination condition is determined according to the attribute association information corresponding to each user identifier, for example, the combination condition 1 may be: the equipment brand A, the equipment model A ', the equipment system version C, the equipment processor C' and the version number of the target application program are V1.0.0, and the version updating mode corresponding to the component condition is forced upgrade; the combination condition 2 may be: the equipment brand B, the equipment model B ', the equipment system version D and the equipment processor D' are updated in a common updating mode corresponding to the combination condition. That is, version update manners corresponding to different device attributes and application versions may be configured in advance, so that when a user triggers an application, corresponding configuration information may be called to determine a version update manner corresponding to a target application.
Optionally, the preconfigured version update rule information includes a plurality of configuration records and a version update mode corresponding to each configuration record; the configuration record is determined by combining the device brand, the device model, the device system version and the version number of the target application program, to which the target application program belongs; the version update mode is matched with the configuration record.
The version updating rule information comprises a plurality of configuration records and version updating modes corresponding to the configuration records. The configuration record is the above-indicated combination condition, and the version update mode may be any one of the above-mentioned normal update, forced update or no update. The combination condition is composed of combination elements, and the combination elements can be a device brand, a device model, a device system version, and respective version numbers of the target application. The types of the device brands may include a plurality of device models, each device brand includes a plurality of device models, and the device system versions corresponding to the respective different models are different, and meanwhile, a plurality of program versions may exist for the target application program, based on which, the combination condition may be a plurality. The version updating mode can be a corresponding updating mode determined according to the version use information fed back by each user, or a version updating mode determined according to actual tests. That is to say, the version updating manners corresponding to different combination conditions may be the same or different, and the specific version updating manner may be determined according to the use feedback of other users or the test result of the background staff.
Specifically, after the target attribute associated information is determined, a configuration record that is consistent with the target attribute associated information may be determined from the pre-configured version update rule information, that is, the content of the target attribute associated information is consistent with each element in the configuration record, and the configuration record determined at this time may be used as the target configuration record.
And S230, determining a version updating mode corresponding to the target configuration record and taking the version updating mode as a target version updating mode.
The configuration record may include a version update mode, or a mapping relationship between different configuration records and the version update mode may be pre-established, so that after the target configuration record is determined, the corresponding version update mode may be determined according to the mapping relationship.
Specifically, a version update mode corresponding to the target configuration record may be determined, and the version update mode determined at this time may be used as the target version update mode consistent with the target attribute information.
S240, updating the version of the target application program based on the target version updating mode.
In this embodiment, the target version updating method includes a forced updating method, and accordingly, updating the version of the target application program based on the target version updating method includes: if the target version updating mode is a forced updating mode, determining a target updating version of the target application program according to the current version of the target application program and the equipment attribute information of the equipment to which the target application program belongs; and updating the version of the target application program based on the target update version.
The forced updating mode is a mode that after a user triggers an application program, the version of the application program is directly updated. The target update version is a usable application program version determined according to the current version of the target application program and the device attribute information of the device to which the target application program belongs. The number of target update versions may be one or more, for example, for a terminal device to which a certain application belongs, the current program version is not applicable, but other two program versions may be applicable to the terminal, and accordingly, the target update versions may be two. Generally, the version installed in the terminal is unique, so that the latest version of the target application program can be pushed to the client corresponding to the target user and updated on the client.
Specifically, when the configuration record corresponding to the target application program is determined from the preconfigured version update rule information according to the target attribute associated information corresponding to the target application program, and the target version update mode corresponding to the configuration record is a forced update, a target update version adapted to the target version may be determined according to the device attribute information and the geographic location information in the target attribute associated information, so as to perform version update on the target application program installed on the terminal device based on the target update version. If the determined target update version includes two program versions, a final target update version may be determined according to the device attribute information, for example, if the device system or processor configuration in the device attribute information is relatively high, the latest optimized program version may be used as the target update version, otherwise, if the device system or processor configuration is relatively low, the lower program version may be selected as the final target update version.
On the basis of the above technical solution, the target version update method further includes a common update method, and accordingly, updating the version of the target application program based on the target version update method includes: if the target version updating mode is a common updating mode, pushing version updating information to a client to which the target application program belongs; and updating the version of the target application program according to the triggering operation of the user on the version updating information.
In the actual application process, a new version of the target application program may exist, but the current version of the target application program is suitable for the terminal device to which the target application program belongs, and the new version may also be installed, and at this time, a version update control may be popped up, so that the user can trigger the selection.
Specifically, if it is determined that the target version update mode is the normal update mode, the program version of the target application applicable to the device may be determined according to the device attribute information of the device to which the target application belongs. Meanwhile, version updating information can be pushed to the client, for example, a version updating popup can be provided, the popup can comprise an updating control and a non-updating control, and the version of the target application program can be updated according to the operation triggered by the user.
In this embodiment, the updating the version of the target application according to the trigger operation of the user on the version update information includes: when a user triggers an update control in the version update information, determining a target update version of a target application program according to the device attribute information and the geographic position information of the device to which the target application program belongs, and updating the version of the target application program based on the target update version.
The target update version refers to a program version for updating the target application program.
Specifically, when the user triggers the update control in the version update information, the available program version that can be installed on the terminal device may be determined according to the device attribute information of the device to which the target application program belongs, such as the brand of the device, the device model, the system of the device, and the processor of the device. In order to improve the user experience, the latest version of the available program versions may be used as the target update version. The target application may be version updated based on the target update version.
On the basis of the technical scheme, the updating of the version of the target application program according to the triggering operation of the user on the version updating information comprises the following steps: if the user triggers the control not to be updated in the version updating information, determining whether the current version application of the target application program has a version bug at the current terminal; if so, determining a target update version of the target application program according to the current version of the target application program and the system version of the equipment to which the target application program belongs, and updating the version of the target application program based on the target update version; and if not, not updating the version of the target application program.
Specifically, when it is detected that the user triggers the non-update control in the version update information, it may be determined whether a version bug exists at the current terminal in the current version application of the target application program, and if the version bug exists, it may be determined, according to the current version of the target application program and the device attribute information of the device to which the target application program belongs, a target update version updated for the target application program, so as to perform version update on the target application program based on the target update version. Correspondingly, if the current version does not have the version bug, the version of the target application program can be directly accessed to the home page of the target application program without updating the version of the target application program, that is, the user can operate the target application program to enable the target application program to execute corresponding operation.
For example, referring to fig. 3, after detecting that the target application program is started, version update rule information configured in advance in the upgrade module may be called to determine whether the current program version is applicable to the device to which the current program version belongs, and optionally, determine whether the current version of the target application program is valid, and whether forced update of the current version is required. For example, the update rule information maintained by the update module includes at least one of: versions below the first, target application V3.0.0 are invalid and require forced updates; secondly, the brand of the equipment is A, the system of the equipment is 10.0.0, the model of the equipment is A10, the version of the application program is V4.0.0 or less, and the version updating mode is forced updating; thirdly, the brand of the equipment is B, the system of the equipment is 8.0.0, the model of the equipment is BR15, the application program is version V4.0.1, and the version updating mode is conventional updating. That is, if the version of the target application installed by the current user is below V3.0.0, the application needs to be forcibly updated; if the device attribute information to which the target application program belongs is: if the equipment brand is A, the equipment system is 10.0.0, the equipment model is A10 and the version of the application program is V4.0.0, prompting the user to forcibly update, and otherwise, not forcibly updating; if the device attribute information of the device to which the target application program belongs is: the device brand is B, the device system is 8.0.0, the device model is BR15, and the application program is version V4.0.1, and if the device brand is normal update, a popup window requesting version update may pop up at this time to determine whether to perform version update according to a user trigger operation.
On the above exemplary basis, when the update is a common update, whether update information is updated or not can be popped up on a terminal interface, if the user triggers and selects no in the update information, the program version update can not be performed, meanwhile, a calling module of the target application program determines whether a BUG exists in the current program version of the target application program according to the device attribute information, and if only one piece of information in the device attribute information has a version BUG relative to the current version, the version update of the current version is still required; otherwise, the user can directly enter the program home page of the target application program, and the user can continue to operate the target application program to perform subsequent business processing.
The technical scheme of the embodiment of the invention determines the target version updating mode for updating the version of the target application program by acquiring the target attribute associated information corresponding to the target application program and performing matching processing according to the acquired target attribute associated information and the preset version rule information, and updates the target application program in the target version updating mode, thereby solving the technical problems that the updated application program version is not adapted to the terminal and the user needs to wait for a long time when the application program is forcibly updated in the prior art, resulting in poor experience and user loss, determining the updating mode for updating the version based on the corresponding rule after acquiring the information associated with the target application program, updating the program version based on the corresponding mode, and improving the adaptability of the program version and the terminal, thereby improving the technical effect of user experience.
EXAMPLE III
As an alternative embodiment of the foregoing embodiment, fig. 4 is a flowchart illustrating a version updating method provided by a third embodiment of the present invention. The technical terms that are the same as or corresponding to the above embodiments are not repeated herein.
As shown in fig. 4, the method includes:
s301, when the starting of the target application program is detected, determining target attribute associated information of the target application program.
Illustratively, when it is detected that the user triggers the target application program, target attribute association information matched with the user identification, such as program version, device brand, device model, device processor, device system and current geographical location information of the application program installed on the terminal device, is called from the pre-recorded configuration rule information according to the user identification of the target application program.
S302, judging whether the target version updating mode is forced updating or not according to the target attribute correlation information, if so, executing S303, and if not, executing S304.
Specifically, after the target attribute association information is obtained, it may be determined whether the current version of the target application program is applicable to the terminal device, and optionally, a version update mode for updating the target application program is determined according to the target attribute association information and preset version update rule information, for example, it may be determined whether the target version update mode is a forced upgrade mode, that is, the version of the target application program installed on the terminal must be updated before the target version update mode can be used. If yes, the corresponding update version can be determined according to the equipment attribute information of the terminal equipment. The updated version may be the latest version or a version of the program lower than the current version, and the specific version may be determined according to the device performance. If not, S304 may be performed.
And S303, determining a target update version and updating the version.
Specifically, the program version installed on the terminal is determined according to the device performance of the terminal device, and the determined program version may be used as a target update version to update the version of the target application program based on the target update version.
S304, judging whether the target version updating mode is the ordinary updating mode, if so, executing S303, and if not, executing S305.
Specifically, if the update is not a forced update, it may be further determined whether the target update mode is a normal update. If the target version updating mode is normal updating, version updating information can be pushed to the terminal equipment, and if a user triggers an updating control in the version updating information, S303 can be executed to determine a target updating version and update the version. S305 may be performed if the user triggers the non-update control in the version update information.
S305, judging whether the current version of the target application program has a bug, if so, executing S303; if not, go to S306.
Specifically, if the user triggers the non-update control, whether the current version of the target application program has a fault or not can be respectively determined according to the device attribute information, if yes, S303 can be executed to determine the target update version and update the version, and optionally, a latest non-problematic version is downloaded for the user to cover the application program; correspondingly, if the target application program does not exist, the home page of the target application program can be directly accessed to operate the target application program.
S306, entering a home page of the target application program and operating the target application program.
Specifically, if the target application installed on the terminal device does not have a bug, the first page of the target application may be entered to execute the corresponding target application.
The technical scheme of the embodiment of the invention determines the target version updating mode for updating the version of the target application program by acquiring the target attribute associated information corresponding to the target application program and performing matching processing according to the acquired target attribute associated information and the preset version rule information, and updates the target application program in the target version updating mode, thereby solving the technical problems that the updated application program version is not adapted to the terminal and the user needs to wait for a long time when the application program is forcibly updated in the prior art, resulting in poor experience and user loss, determining the updating mode for updating the version based on the corresponding rule after acquiring the information associated with the target application program, updating the program version based on the corresponding mode, and improving the adaptability of the program version and the terminal, thereby improving the technical effect of user experience.
Example four
Fig. 5 is a schematic structural diagram of a version updating apparatus according to a fourth embodiment of the present invention. As shown in fig. 5, the apparatus includes: an attribute associated information determining module 410, a version update mode determining module 420, and a version update module 430.
The attribute associated information determining module 410 is configured to obtain target attribute associated information corresponding to a target application; a version update mode determining module 420, configured to determine a target version update mode for updating the version of the target application program according to the target attribute association information and pre-configured version update rule information; and a version update module 430, configured to update the version of the target application program based on the target version update manner.
On the basis of the above technical solution, the target attribute association information includes at least one of device attribute information of the terminal device to which the target application program belongs, a current program version number of the target application program, and current geographical location information.
On the basis of the above technical solutions, the attribute associated information determining module includes: the target user identification determining unit is used for determining the target user identification of the target application program when the starting of the target application program is detected; the attribute associated information determining unit is used for calling target attribute associated information matched with the target user identification from an information storage library; the information storage library comprises a plurality of attribute associated information corresponding to the user identification.
On the basis of the above technical solutions, the apparatus further includes: and the attribute associated information storage module is used for determining attribute associated information corresponding to each user identifier and storing the attribute associated information into the information storage library so as to retrieve the attribute associated information matched with the target user identifier from the information storage library.
On the basis of the above technical solutions, the attribute associated information storage module includes:
the associated information determining unit is used for determining user identification and attribute associated information in the target application program when the target application program is detected to be installed; the attribute association information comprises at least one of device attribute information of a device to which the target application program belongs, a current version number of the target application program and geographical location information of the device to which the device belongs; and the relationship establishing unit is used for establishing the corresponding relationship between the user identification and the attribute associated information and storing the corresponding relationship as a record in the information storage library.
On the basis of the above technical solutions, the pre-configured version update rule information includes a plurality of configuration records and a version update mode corresponding to each configuration record; the configuration record is determined by combining the device brand, the device model, the device system version and the version number of the target application program, to which the target application program belongs; the version update mode is matched with the configuration record.
On the basis of the above technical solutions, the version update mode module includes:
the target configuration record determining unit is used for determining a target configuration record consistent with the target attribute association information from the pre-configured version updating rule information; and the updating mode determining unit is used for determining a version updating mode corresponding to the target configuration record and taking the version updating mode as the target version updating mode.
On the basis of the above technical solutions, the target version update mode includes a forced update mode, and the version update module includes:
a target update version determining unit, configured to determine a target update version of a target application according to device attribute information and current geographic location information of a device to which the target application belongs if the target version update mode is the forced update mode; and the updating unit is used for updating the version of the target application program based on the target updating version.
On the basis of the above technical solutions, the target version update mode includes a common update mode, and the version update module includes:
the update information pushing unit is used for pushing the version update information to the client to which the target application program belongs if the target version update mode is a common update mode; and the version updating unit is used for updating the version of the target application program according to the triggering operation of the user on the version updating information. On the basis of the foregoing technical solutions, the version update unit is further configured to determine a target update version of the target application program according to a current version of the target application program and a system version of a device to which the target application program belongs when a user triggers an update control in the version update information, and update the version of the target application program based on the target update version.
On the basis of the foregoing technical solutions, the version updating unit is further configured to: if the user triggers the control which is not updated in the version updating information, determining whether the current version application of the target application program has a version bug at the current terminal; if so, determining a target update version of the target application program according to the current version of the target application program and the system version of the equipment to which the target application program belongs, and updating the version of the target application program based on the target update version; and if not, not updating the version of the target application program.
The technical scheme of the embodiment of the invention determines the target version updating mode for updating the version of the target application program by acquiring the target attribute associated information corresponding to the target application program and performing matching processing according to the acquired target attribute associated information and the preset version rule information, and updates the target application program in the target version updating mode, thereby solving the technical problems that the updated application program version is not adapted to the terminal and the user needs to wait for a long time when the application program is forcibly updated in the prior art, resulting in poor experience and user loss, determining the updating mode for updating the version based on the corresponding rule after acquiring the information associated with the target application program, updating the program version based on the corresponding mode, and improving the adaptability of the program version and the terminal, thereby improving the technical effect of user experience.
The version updating method and device provided by the embodiment of the invention can execute the version updating method provided by any embodiment of the invention, and have the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
EXAMPLE five
Fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary electronic device 50 suitable for use in implementing embodiments of the present invention. The electronic device 50 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 6, electronic device 50 is embodied in the form of a general purpose computing device. The components of the electronic device 50 may include, but are not limited to: one or more processors or processing units 501, a system memory 502, and a bus 503 that couples the various system components (including the system memory 502 and the processing unit 501).
Bus 503 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 50 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 50 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 502 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)504 and/or cache memory 505. The electronic device 50 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 506 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 503 by one or more data media interfaces. Memory 502 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 508 having a set (at least one) of program modules 507 may be stored, for instance, in memory 502, such program modules 507 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 507 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The electronic device 50 may also communicate with one or more external devices 509 (e.g., keyboard, pointing device, display 510, etc.), with one or more devices that enable a user to interact with the electronic device 50, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 50 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 511. Also, the electronic device 50 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 512. As shown, the network adapter 512 communicates with the other modules of the electronic device 50 over the bus 503. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with electronic device 50, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 501 executes various functional applications and data processing, for example, implementing a version update method provided by an embodiment of the present invention, by running a program stored in the system memory 502.
EXAMPLE six
An embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a version update method.
The method comprises the following steps:
acquiring target attribute associated information corresponding to a target application program;
determining a target version updating mode for updating the version of the target application program according to the target attribute association information and pre-configured version updating rule information;
and updating the version of the target application program based on the target version updating mode.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (14)

1. A version update method, comprising:
acquiring target attribute associated information corresponding to a target application program;
determining a target version updating mode for updating the version of the target application program according to the target attribute association information and pre-configured version updating rule information;
and updating the version of the target application program based on the target version updating mode.
2. The method according to claim 1, wherein the target attribute association information includes at least one of device attribute information of a terminal device to which the target application belongs, a current program version number of the target application, and current geographical location information.
3. The method of claim 1, wherein obtaining target attribute association information corresponding to a target application comprises:
when the starting of a target application program is detected, determining a target user identifier of the target application program;
target attribute associated information matched with the target user identification is called from an information storage library;
the information storage library comprises a plurality of attribute associated information corresponding to the user identification.
4. The method of claim 3, further comprising:
and determining attribute associated information corresponding to each user identifier, and storing the attribute associated information into the information repository so as to retrieve the attribute associated information matched with the target user identifier from the information repository.
5. The method of claim 4, wherein determining attribute association information corresponding to each user identifier and storing the attribute association information in the information repository comprises:
when the target application program is detected to be installed, determining user identification and attribute associated information in the target application program; the attribute association information comprises at least one of device attribute information of a device to which the target application program belongs, a current version number of the target application program and geographical location information of the device to which the device belongs;
and establishing a corresponding relation between the user identification and the attribute associated information, and storing the corresponding relation as a record in the information storage library.
6. The method according to claim 1, wherein the pre-configured version update rule information includes a plurality of configuration records and a version update mode corresponding to each configuration record;
the configuration record is determined by combining the equipment brand, the equipment model, the equipment system version and the version number of the target application program of the equipment to which the target application program belongs; the version update mode is matched with the configuration record.
7. The method according to claim 6, wherein determining a target version update mode for updating the version of the target application according to the target attribute association information and preconfigured version update rule information comprises:
determining a target configuration record consistent with the target attribute association information from the pre-configured version updating rule information;
and determining a version updating mode corresponding to the target configuration record, and taking the version updating mode as the target version updating mode.
8. The method of claim 1, wherein the target version update style comprises a forced update style, and wherein updating the version of the target application based on the target version update style comprises:
if the target version updating mode is the forced updating mode, determining a target updating version of the target application program according to the equipment attribute information and the current geographical location information of the equipment to which the target application program belongs;
and updating the version of the target application program based on the target update version.
9. The method according to claim 1, wherein the target version update mode comprises a normal update mode, and the updating the version of the target application based on the target version update mode comprises:
if the target version updating mode is a common updating mode, pushing version updating information to a client to which the target application program belongs;
and updating the version of the target application program according to the triggering operation of the user on the version updating information.
10. The method according to claim 9, wherein the updating the version of the target application according to the trigger operation of the user on the version update information comprises:
when a user triggers an update control in the version update information, determining a target update version of a target application program according to the device attribute information and the current geographic position information of the device to which the target application program belongs, and updating the version of the target application program based on the target update version.
11. The method according to claim 9, wherein the updating the version of the target application according to the trigger operation of the user on the version update information comprises:
if the user triggers the control which is not updated in the version updating information, determining whether the current version application of the target application program has a version bug at the current terminal;
if yes, determining a target update version for updating the target application program according to the equipment attribute information of the equipment to which the target application program belongs, and updating the version of the target application program based on the target update version;
and if not, not updating the version of the target application program.
12. A version update apparatus, comprising:
the attribute associated information determining module is used for acquiring target attribute associated information corresponding to the target application program;
the version updating mode determining module is used for determining a target version updating mode for updating the version of the target application program according to the target attribute association information and the preset version updating rule information;
and the version updating module is used for updating the version of the target application program based on the target version updating mode.
13. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the version update method as claimed in any one of claims 1 to 11.
14. A storage medium containing computer-executable instructions for performing the version-up method of any one of claims 1-11 when executed by a computer processor.
CN202110298228.3A 2021-03-19 2021-03-19 Version updating method and device, electronic equipment and storage medium Pending CN112988192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110298228.3A CN112988192A (en) 2021-03-19 2021-03-19 Version updating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110298228.3A CN112988192A (en) 2021-03-19 2021-03-19 Version updating method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112988192A true CN112988192A (en) 2021-06-18

Family

ID=76334171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110298228.3A Pending CN112988192A (en) 2021-03-19 2021-03-19 Version updating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112988192A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114691699A (en) * 2022-06-02 2022-07-01 上海金仕达软件科技有限公司 Intelligent settlement method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114691699A (en) * 2022-06-02 2022-07-01 上海金仕达软件科技有限公司 Intelligent settlement method and system
CN114691699B (en) * 2022-06-02 2022-09-16 上海金仕达软件科技有限公司 Intelligent settlement method and system

Similar Documents

Publication Publication Date Title
US8874891B2 (en) Systems and methods for activation of applications using client-specific data
CN108319575B (en) Page component checking method, device, server and storage medium
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN109218393B (en) Push implementation method, device, equipment and computer storage medium
CN109117153B (en) Application processing method, device, terminal and storage medium
CN110781067A (en) Method, device, equipment and storage medium for calculating starting time consumption
CN110688111A (en) Configuration method, device, server and storage medium of business process
CN111240730A (en) Application program updating method and device
CN110990346A (en) File data processing method, device, equipment and storage medium based on block chain
CN112988192A (en) Version updating method and device, electronic equipment and storage medium
WO2023151397A1 (en) Application program deployment method and apparatus, device, and medium
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
CN113986385A (en) Item font library loading method and device, electronic equipment and storage medium
CN111475819B (en) Method and device for identifying abnormal terminal equipment, storage medium and electronic equipment
CN114461223A (en) Code generation method and device and terminal equipment
CN114356290A (en) Data processing method and device and computer readable storage medium
CN109634636B (en) Application processing method, device, equipment and medium
CN111741046B (en) Data reporting method, data acquisition method, device, equipment and medium
CN112925796A (en) Write consistency control method, device, equipment and storage medium
CN114138367A (en) Service implementation method, device, equipment and storage medium on self-service equipment
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN115374074A (en) Log processing method and device, storage medium and electronic equipment
CN112083939A (en) Batch upgrading method, device, system and medium
CN113590225B (en) Mapping detection method and device, electronic equipment and storage medium
CN113986138A (en) Resource deleting method and device, electronic equipment and storage medium

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