CN107357612A - Application program updating detection method and device - Google Patents

Application program updating detection method and device Download PDF

Info

Publication number
CN107357612A
CN107357612A CN201710503206.XA CN201710503206A CN107357612A CN 107357612 A CN107357612 A CN 107357612A CN 201710503206 A CN201710503206 A CN 201710503206A CN 107357612 A CN107357612 A CN 107357612A
Authority
CN
China
Prior art keywords
version information
application program
detection result
upgrade detection
terminal device
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
CN201710503206.XA
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.)
Poly Polytron Technologies Inc
Original Assignee
Poly Polytron Technologies Inc
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 Poly Polytron Technologies Inc filed Critical Poly Polytron Technologies Inc
Priority to CN201710503206.XA priority Critical patent/CN107357612A/en
Publication of CN107357612A publication Critical patent/CN107357612A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

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 present invention provides a kind of application program updating detection method and device, and this method includes:The upgrading detection request that receiving terminal apparatus is sent, the upgrading detection request include the mark of terminal device;According to the mark of the terminal device, obtained in default memory space and upgrade testing result corresponding to the terminal device, the upgrading testing result is described to be generated using shop server before the upgrading detection request is received, and the upgrading testing result is used to indicate the latest version information of the mark of scalable application program and the scalable application program in the terminal device;The upgrading testing result is sent to the terminal device.The efficiency of upgrading testing result is fed back to terminal device for improving.

Description

Application program upgrade detection method and device
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method and a device for detecting upgrading of an application program.
Background
Currently, an application store program may be installed in a terminal device (e.g., a mobile phone, a computer, etc.), and a user may view information such as current version information of the application program in the terminal device, latest version information of each application program, and an application identifier that is upgradable in the application store program.
In the actual application process, when a user needs to check information such as an upgradable application program identifier in the terminal device, the user may start an application store program in the terminal device, or refresh a version information page of the application store program in the terminal device, so that the terminal device sends an upgrade detection request to the application store server through the application store program, and carries a current version number of the application program in the terminal device in the upgrade detection request, after the application store server receives the upgrade detection request, the application store server obtains a latest version number of the application program, generates an upgrade detection result according to the current version number and the latest version number of the application program, and sends the upgrade detection result to the terminal device through the application store program, so that the terminal device presents the upgrade detection result to the user through the application store program, wherein, the upgrade detection result may include information such as an identifier of the upgradeable application.
However, in the above process, after the user requests to view the upgrade detection result, the app store server performs the above-mentioned series of actions to generate the upgrade detection result, and feeds back the upgrade detection result to the terminal device, so that the user needs to wait for a long time to view the upgrade detection result after requesting to view the upgrade detection result, which results in low efficiency of feeding back the upgrade detection result to the terminal device.
Disclosure of Invention
The embodiment of the invention provides an application program upgrade detection method and device, which improve the efficiency of feeding back an upgrade detection result to terminal equipment.
In a first aspect, an embodiment of the present invention provides an application program upgrade detection method, which is applied to an application store server, and the method includes:
receiving an upgrade detection request of a terminal device, wherein the upgrade detection request comprises an identifier of the terminal device;
acquiring an upgrade detection result corresponding to the identifier of the terminal device in a preset storage space according to the identifier of the terminal device, wherein the upgrade detection result is generated by the application store server before receiving the upgrade detection request, and the upgrade detection result is used for indicating the identifier of the upgradable application program in the terminal device and the latest version information of the upgradable application program;
and sending the upgrade detection result to the terminal equipment.
In a possible implementation manner, before receiving the upgrade detection request sent by the terminal device, the method further includes:
acquiring current version information of each application program in the terminal equipment and latest version information of each application program;
judging whether an upgrade detection result corresponding to the terminal equipment exists in the preset storage space;
if yes, generating the upgrade detection result according to the current version information and the latest version information of each application program, and storing the upgrade detection result in the preset storage space;
and if not, updating the corresponding upgrade detection result of the terminal equipment in the preset storage space according to the current version information and the latest version information of each application program.
In another possible implementation manner, the obtaining current version information of each application program in the terminal device includes:
receiving the current version information sent by the terminal equipment;
or,
and receiving update information of the application program in the terminal equipment, which is sent by the terminal equipment, and determining the current version information according to the version information of the application program in the terminal equipment and the update information, which are stored in the application store server.
In another possible implementation, the obtaining information of the latest version of each application program in the terminal device includes:
acquiring the latest version information in the application store server, wherein the latest version information in the application store server is synchronized to the application store server in advance;
or,
sending a latest version information acquisition request to a preset device, and receiving the latest version information sent by the preset device according to the latest version information acquisition request; the preset device is a server corresponding to an application program in the terminal device or a third-party data collection device.
In another possible implementation, generating the upgrade detection result according to the current version information and the latest version information of each application includes:
determining the upgradable application programs in the application programs of the terminal equipment according to the current version information and the latest version information of each application program, wherein the current version information of the upgradable application programs is different from the latest version information of the upgradable application programs;
and generating the upgrade detection result according to the current version information of the upgradable application program and the latest version information of the upgradable application program.
In a second aspect, an embodiment of the present invention provides an apparatus for detecting an upgrade of an application program, including a receiving module, a first obtaining module, and a sending module, where,
the receiving module is used for receiving an upgrade detection request sent by the terminal equipment, wherein the upgrade detection request comprises an identifier of the terminal equipment;
the first obtaining module is configured to obtain, in a preset storage space, an upgrade detection result corresponding to the identifier of the terminal device according to the identifier of the terminal device, where the upgrade detection result is generated by the app store server before receiving the upgrade detection request, and the upgrade detection result is used to indicate the identifier of the upgradable application program in the terminal device and information of a latest version of the upgradable application program;
and the sending module is used for sending the upgrade detection result to the terminal equipment.
In a possible implementation manner, the apparatus further includes a second obtaining module, a judging module, a generating module, a storing module and an updating module, wherein,
the second obtaining module is configured to obtain current version information of each application program in the terminal device and latest version information of each application program before the receiving module receives the upgrade detection request sent by the terminal device;
the judging module is used for judging whether an upgrade detection result corresponding to the terminal equipment exists in the preset storage space;
the generation module is configured to generate an upgrade detection result according to current version information and latest version information of each application program when the judgment module judges that the upgrade detection result corresponding to the terminal device exists in the preset storage space, and the storage module is configured to store the upgrade detection result in the preset storage space;
the updating module is used for updating the upgrade detection result corresponding to the terminal device in the preset storage space according to the current version information and the latest version information of each application program when the judging module judges that the upgrade detection result corresponding to the terminal device does not exist in the preset storage space.
In another possible implementation manner, the second obtaining module is specifically configured to:
receiving the current version information sent by the terminal equipment;
or,
and receiving update information of the application program in the terminal equipment, which is sent by the terminal equipment, and determining the current version information according to the version information of the application program in the terminal equipment and the update information, which are stored in the application store server.
In another possible implementation manner, the second obtaining module is specifically configured to:
acquiring the latest version information in the application store server, wherein the latest version information in the application store server is synchronized to the application store server in advance;
or,
sending a latest version information acquisition request to a preset device, and receiving the latest version information sent by the preset device according to the latest version information acquisition request; the preset device is a server corresponding to an application program in the terminal device or a third-party data collection device.
In another possible implementation manner, the generating module is specifically configured to:
determining the upgradable application programs in the application programs of the terminal equipment according to the current version information and the latest version information of each application program, wherein the current version information of the upgradable application programs is different from the latest version information of the upgradable application programs;
and generating the upgrade detection result according to the current version information of the upgradable application program and the latest version information of the upgradable application program.
According to the method and the device for detecting the upgrade of the application program, after the application store program is installed in the terminal equipment, the application store server can automatically generate and maintain the upgrade detection result of the terminal equipment, and the upgrade detection result is stored in the preset storage space, so that when the terminal equipment requests the application store server to obtain the upgrade detection result, the application store server directly obtains the upgrade detection result corresponding to the terminal equipment in the preset storage space, and the upgrade detection result is generated without executing a series of actions after receiving the upgrade detection request, so that the time for obtaining the detection result by the application store server is shortened, and the efficiency for feeding the upgrade detection result back to the terminal equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of an application program upgrade detection method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an application upgrade detection method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for generating/updating an upgrade detection result according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a mobile phone interface according to an embodiment of the present invention;
fig. 5 is a first schematic structural diagram of an application upgrade detection apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a second application program upgrade detection apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic view of an application scenario of an application program upgrade detection method according to an embodiment of the present invention. Referring to fig. 1, a terminal apparatus 101 and an application store server 102 are included. Optionally, the terminal device 101 may be a mobile phone, a computer, a television, or the like, an application store program and other multiple application programs are installed in the terminal device 101, and a user may view, through the application store program, upgradable conditions and version information of the other application programs installed in the terminal device 101. The application store server 102 is used to provide services to the application store programs installed in the terminal apparatus 101.
In the present application, the app store server 102 may automatically analyze the application program in each terminal device installed with the app store program under a preset trigger condition (e.g., periodically, etc.) to generate an upgrade detection result of each terminal device, and store the upgrade detection result of each terminal device in a preset storage space, so that, when the terminal device 101 requests the upgrade detection result from the app store server 102 through the app store program, the app store server 102 directly obtains the pre-generated detection result in the preset storage space and sends the detection result to the terminal device, thereby shortening the time period for the app store server 102 to obtain the detection result, and further improving the efficiency of feeding back the upgrade detection result to the terminal device.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following specific embodiments may be combined with each other, and description of the same or similar contents is not repeated in different embodiments.
Fig. 2 is a schematic flowchart of an application program upgrade detection method according to an embodiment of the present invention. Referring to fig. 2, the method may include:
s201, receiving an upgrade detection request sent by the terminal equipment, wherein the upgrade detection request comprises an identifier of the terminal equipment.
The execution subject of the embodiment of the present invention may be an application program upgrade detection apparatus (hereinafter, referred to as an upgrade detection apparatus for short), and the upgrade detection apparatus may be disposed in an application store server. Alternatively, the upgrade detection apparatus may be implemented by software, or the upgrade detection apparatus may be implemented by a combination of software and hardware.
In the embodiment of the present invention, the application store program is an application program installed in the terminal device, and the application store program may be self-contained in the terminal device when the terminal device is shipped from a factory, or may be downloaded and installed in the terminal device by the user. For example, the application store program may be software such as a cell phone housekeeper.
In an actual application process, when a user needs to check which application programs in the terminal device can be upgraded, the user may input an upgrade detection result checking instruction in the terminal device, for example, the upgrade detection result checking instruction may be a start operation input to an application store program in the terminal device, a refresh operation input in the started application store program, and the like. After the terminal device receives an upgrade result viewing instruction input by a user, the terminal device sends an upgrade detection request to the app store server through the app store program, and carries an identifier of the terminal device in the upgrade detection request.
S202, according to the identification of the terminal device, obtaining an upgrade detection result corresponding to the identification of the terminal device in a preset storage space, wherein the upgrade detection result is generated by the application store server before receiving an upgrade detection request, and the upgrade detection result is used for indicating the identification of the upgradable application program in the terminal device and the latest version information of the upgradable application program.
In the embodiment of the present invention, the upgradable application refers to an application that can be upgraded in the terminal device, and the current version information of the upgradable application in the terminal device is different from the latest version information provided by the upgradable application server.
In the embodiment of the present invention, after the terminal device downloads and installs the application store program, the terminal device may report the identifier of the terminal device, the identifier of the application program installed in the terminal device, the version information of each application program, and the like to the application store server through the application store program. The application store server records information reported by the terminal device, generates an upgrade detection result corresponding to the terminal device according to the information reported by the terminal device, stores the upgrade detection result in a preset storage space, and periodically updates the generated upgrade detection result, which is described in detail in the embodiment shown in fig. 3 and is not described herein again.
After the application store server receives the upgrade detection request, the identifier of the terminal device is obtained in the upgrade detection request, and the upgrade detection result corresponding to the terminal device is obtained in the preset storage space according to the identifier of the terminal device. The upgrade detection results of the plurality of terminal devices are stored in a preset storage space of the application store server, and the application store server can periodically maintain the upgrade detection results of each terminal device.
Optionally, the upgrade detection result may include an identifier of the upgradable application program in the terminal device and latest version information of the upgradable application program. Of course, in the actual application process, the content included in the upgrade detection result may be set according to actual needs, and this is not specifically limited in the embodiment of the present invention.
Optionally, in order to improve the efficiency of the terminal device displaying the upgrade detection result through the app store program, the upgrade detection result may be page information including an identifier of the upgradable app and latest version information, so that after the terminal device receives the upgrade detection result, the terminal device may directly display the page information, so as to quickly display the identifier of the upgradable app in the terminal device and the latest version information of the upgradeable app to the user.
And S203, sending an upgrade detection result to the terminal equipment.
After the application store server obtains the upgrade detection result corresponding to the terminal device, the application store server can send the upgrade detection result to the terminal device through the application store program. And after the terminal equipment receives the upgrade detection result, the terminal equipment displays the identification of the upgradable application program in the terminal equipment and the latest version information of the upgradable application program through the application store program. Of course, the terminal device may also display the identifier of the application program that does not need to be upgraded in the terminal device and the version information of the identifier of the application program that does not need to be upgraded, which is not specifically limited in the embodiment of the present invention.
According to the application program upgrade detection method provided by the embodiment of the invention, after the application store program is installed in the terminal equipment, the application store server can automatically generate and maintain the upgrade detection result of the terminal equipment, and the upgrade detection result is stored in the preset storage space, so that when the terminal equipment requests the application store server to obtain the upgrade detection result, the application store server directly obtains the upgrade detection result corresponding to the terminal equipment in the preset storage space, and the upgrade detection result is generated without executing a series of actions after receiving the upgrade detection request, so that the time for the application store server to obtain the detection result is shortened, and the efficiency for feeding back the upgrade detection result to the terminal equipment is further improved.
On the basis of the embodiment shown in fig. 2, the application store server needs to generate an upgrade detection result of the terminal device before receiving an upgrade detection request sent by the terminal device, and a method for generating and updating the upgrade detection result by the application store server is described in detail below with reference to the embodiment shown in fig. 3.
Fig. 3 is a schematic flowchart of a method for generating/updating an upgrade detection result according to an embodiment of the present invention. Referring to fig. 3, the method may include:
s301, acquiring current version information of each application program in the terminal equipment and latest version information of each application program.
In an actual application process, after the application store program is installed in the terminal device, the application store server may execute the embodiment shown in fig. 3 to generate the upgrade detection result of the terminal device in time, and after that, the application store server may periodically execute the embodiment shown in fig. 3 to update the upgrade detection result of the terminal device in time, thereby ensuring that the upgrade detection result can be quickly and accurately provided to the terminal device.
Optionally, the application store server may obtain the current version information of the application program through at least two possible implementations:
one possible implementation is:
and the application store server receives the current version information sent by the terminal equipment through the application store program.
In this possible implementation, the terminal device needs to periodically send the current version information of the application program in the terminal device to the application store server through the application store program.
Another possible implementation:
the application store server receives the update information of the application program in the terminal equipment, which is sent by the terminal equipment through the application store program, and determines the current version information according to the version information and the update information of the application program in the terminal equipment, which are stored in the application store server.
Optionally, the update information may include installation information, uninstallation information, upgrade information, and the like of the application program, and the update information is used to indicate that the application program in the terminal device has changed.
In this possible implementation manner, the application store server needs to obtain the version information of the application program in the terminal device at least once and store the version information of the application program, and optionally, when the application store program is installed in the terminal device, the terminal device may send the version information of each application program in the terminal device to the application store server through the application store program. When the application program in the terminal device changes, for example, a new application program is installed in the terminal device, an application program is uninstalled in the terminal device, the application program in the terminal device is upgraded, and the like, the terminal device sends update information to the application store server, so that the application store server can determine current version information according to version information and update information of the locally stored application program.
Of course, in the actual application process, the current version information of the application program may also be obtained according to other feasible implementation manners, for example, the application store server may obtain the current version information of the application program in the third-party data collection device, which is not limited in this embodiment of the present invention.
Optionally, the application store server may obtain the latest version information of the application program through at least two possible implementations:
one possible implementation is:
the application store server locally acquires the latest version information, and the latest version information in the application store server is synchronized to the application store server in advance.
In this feasible implementation, the latest version information of the application program is synchronized to the application store server in advance, so that when the application store server needs to obtain the latest version information of the terminal device, the latest version information is directly obtained locally. Optionally, the application store server may periodically obtain the latest version information of the application program from a preset database, where the preset database may be a big database of a current internet vendor, and the latest version information of all the application programs may be included in the big database.
Another possible implementation:
the application store server sends a latest version information acquisition request to the preset equipment and receives latest version information sent by the preset equipment according to the latest version information acquisition request.
Optionally, the preset device may be a server corresponding to an application program in the terminal device, or a third-party data collection device, and the third-party data collection device may be a big data collection device of a current internet manufacturer.
In this feasible implementation manner, when the application store server needs to acquire the latest version information of the application program in the terminal device, the application store server sends an latest version information acquisition request to the preset device, and the latest version information acquisition request carries the identifier of the application program in the terminal device, and the preset device feeds back the latest version information of the application program to the application store server according to the latest version information acquisition request.
Of course, the latest version information of the application program may also be obtained according to other possible implementations, which is not specifically limited in the embodiment of the present invention.
S302, judging whether an upgrade detection result corresponding to the terminal equipment exists in the preset storage space.
If yes, go to S303.
If not, go to step S304.
S303, generating an upgrade detection result according to the current version information and the latest version information of each application program, and storing the upgrade detection result in a preset storage space.
If the upgrade detection result corresponding to the terminal device does not exist in the preset storage space, it indicates that the application store server has not generated the upgrade detection result corresponding to the terminal device. Optionally, the application store server may generate an upgrade detection result corresponding to the terminal device according to the following feasible implementation manner:
determining the upgradable application programs in the application programs of the terminal equipment according to the current version information and the latest version information of each application program, and generating an upgrade detection result according to the current version information of the upgradable application programs and the latest version information of the upgradable application programs.
Optionally, the app store server may compare the current version information and the latest version information of each application program in sequence, if the current version information and the latest version information of an application program are different, the application program is determined to be an upgradable application program, and after the app store server determines that an upgradable application program is obtained in the application program of the terminal device, the app store server generates an upgrade detection result according to the current version and the latest version of the upgradable application program.
And S304, updating the corresponding upgrade detection result of the terminal equipment in the preset storage space according to the current version information and the latest version information of each application program.
If the upgrade detection result corresponding to the terminal device exists in the preset storage space, it indicates that the application store server has generated the upgrade detection result corresponding to the terminal device before the current time, and correspondingly, the application store server only needs to update the upgrade detection result corresponding to the terminal device in the preset storage space according to the current version information and the latest version information of the application program.
In the embodiment shown in fig. 3, when the upgrade detection result of the terminal device does not exist in the preset storage space of the application store server, the application store server may generate the upgrade detection result of the terminal device, and when the upgrade detection result of the terminal device exists in the preset storage space of the application store server, the application store server periodically updates the upgrade detection result, thereby ensuring the accuracy of the upgrade detection result.
It should be noted that, in the actual application process, after the application store server updates the upgrade detection result of the terminal device, the application store server may also actively send the upgrade detection result to the terminal device. Optionally, the application store server may send the upgrade detection result to the terminal device in a notification manner, or may send the upgrade detection result to the terminal device in a page information manner. When the application store server sends the upgrade detection result to the terminal device in the form of page information, the terminal device may cache the upgrade detection result first, and when the terminal device runs the application store program, the cached upgrade detection result may be obtained locally, and page display may be performed according to the local upgrade detection result, so that efficiency of feeding back the upgrade detection result to the terminal device may be further improved.
The technical solution shown in the above method embodiment is described in detail below by referring to a schematic diagram of a mobile phone interface shown in fig. 4 through a specific example.
Fig. 4 is a schematic diagram of a mobile phone interface according to an embodiment of the present invention. See fig. 4, including page 401 and page 402.
Referring to the page 401, when a user needs to check which applications in the mobile phone can be upgraded, the user can start an application store program in the mobile phone, the page after the application store program is started is shown as the page 401, the page 401 includes "all applications" and "upgradable applications" buttons, the user can click the "all applications" button to check version information of all applications installed in the mobile phone, and the like, and the user can click the "upgradable applications" button to check version information of applications that can be upgraded in the mobile phone.
After a user clicks an upgradable application program button, the mobile phone sends an upgrade detection request to the application store server through the application store program, and the upgrade detection request carries the IMEI of the mobile phone. After the application store server receives an upgrade detection request sent by the mobile phone, the application store server obtains an upgrade detection result corresponding to the mobile phone in a preset storage space according to the IMEI of the mobile phone, and sends the obtained upgrade detection result to the mobile phone through an application store program. After the mobile phone receives the upgrade detection result, the page 402 is displayed according to the upgrade detection result.
Referring to page 402, the mobile phone displays page 402 in the mobile phone according to the upgrade detection result, where the page 402 includes a list of upgradable applications in the mobile phone, a current version, a latest version, and a corresponding update button of each upgradable application, and a user can clearly know which applications can be updated according to the page 402.
It should be noted that the pages 401 and 402 are merely exemplary and illustrated as pages in the application store program, and are not limited to the pages in the application store program, and in an actual application process, contents included in the pages of the application store program may be set according to actual needs, which is not specifically limited in this embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a first application program upgrade detection apparatus according to an embodiment of the present invention. The application upgrade detection apparatus may be provided in an application store server, and referring to fig. 5, the apparatus may include a receiving module 11, a first obtaining module 12, and a transmitting module 13, wherein,
the receiving module 11 is configured to receive an upgrade detection request sent by a terminal device, where the upgrade detection request includes an identifier of the terminal device;
the first obtaining module 12 is configured to obtain, according to the identifier of the terminal device, an upgrade detection result corresponding to the terminal device in a preset storage space, where the upgrade detection result is generated by the app store server before receiving the upgrade detection request, and the upgrade detection result is used to indicate the identifier of an upgradable application program in the terminal device and latest version information of the upgradable application program;
the sending module 13 is configured to send the upgrade detection result to the terminal device.
The application program upgrade detection apparatus provided in the embodiment of the present invention may implement the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
Fig. 6 is a schematic structural diagram of a second application program upgrade detection apparatus according to an embodiment of the present invention. On the basis of the embodiment shown in fig. 5, please refer to fig. 6, the apparatus further includes a second obtaining module 14, a determining module 15, a generating module 16, a storing module 17, and an updating module 18, wherein,
the second obtaining module 14 is configured to obtain current version information of each application program in the terminal device and latest version information of each application program before the receiving module receives an upgrade detection request sent by the terminal device;
the judging module 15 is configured to judge whether an upgrade detection result corresponding to the terminal device exists in the preset storage space;
the generating module 16 is configured to generate an upgrade detection result according to the current version information and the latest version information of each application program when the determining module 15 determines that the upgrade detection result corresponding to the terminal device exists in the preset storage space, and the storage module 17 is configured to store the upgrade detection result in the preset storage space;
the updating module 18 is configured to, when the determining module 15 determines that the upgrade detection result corresponding to the terminal device does not exist in the preset storage space, update the upgrade detection result corresponding to the terminal device in the preset storage space according to the current version information and the latest version information of each application program.
In a possible implementation, the second obtaining module 14 is specifically configured to:
receiving the current version information sent by the terminal equipment;
or,
and receiving update information of the application program in the terminal equipment, which is sent by the terminal equipment, and determining the current version information according to the version information of the application program in the terminal equipment and the update information, which are stored in the application store server.
In another possible implementation, the second obtaining module 14 is specifically configured to:
acquiring the latest version information in the application store server, wherein the latest version information in the application store server is synchronized to the application store server in advance;
or,
sending a latest version information acquisition request to a preset device, and receiving the latest version information sent by the preset device according to the latest version information acquisition request; the preset device is a server corresponding to an application program in the terminal device or a third-party data collection device.
In another possible implementation, the generating module 16 is specifically configured to:
determining the upgradable application programs in the application programs of the terminal equipment according to the current version information and the latest version information of each application program, wherein the current version information of the upgradable application programs is different from the latest version information of the upgradable application programs;
and generating the upgrade detection result according to the current version information of the upgradable application program and the latest version information of the upgradable application program.
The application program upgrade detection apparatus provided in the embodiment of the present invention may implement the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the embodiments of the present invention.

Claims (10)

1. An application program upgrade detection method applied to an application store server, the method comprising:
receiving an upgrade detection request sent by terminal equipment, wherein the upgrade detection request comprises an identifier of the terminal equipment;
acquiring an upgrade detection result corresponding to the identifier of the terminal device in a preset storage space according to the identifier of the terminal device, wherein the upgrade detection result is generated by the application store server before receiving the upgrade detection request, and the upgrade detection result is used for indicating the identifier of the upgradable application program in the terminal device and the latest version information of the upgradable application program;
and sending the upgrade detection result to the terminal equipment.
2. The method of claim 1, wherein before receiving the upgrade detection request sent by the terminal device, the method further comprises:
acquiring current version information of each application program in the terminal equipment and latest version information of each application program;
judging whether an upgrade detection result corresponding to the terminal equipment exists in the preset storage space;
if yes, generating the upgrade detection result according to the current version information and the latest version information of each application program, and storing the upgrade detection result in the preset storage space;
and if not, updating the corresponding upgrade detection result of the terminal equipment in the preset storage space according to the current version information and the latest version information of each application program.
3. The method of claim 2, wherein obtaining the current version information of each application in the terminal device comprises:
receiving the current version information sent by the terminal equipment;
or,
and receiving update information of the application program in the terminal equipment, which is sent by the terminal equipment, and determining the current version information according to the version information of the application program in the terminal equipment and the update information, which are stored in the application store server.
4. The method of claim 2, wherein obtaining the latest version information of each application program in the terminal device comprises:
acquiring the latest version information in the application store server, wherein the latest version information in the application store server is synchronized to the application store server in advance;
or,
sending a latest version information acquisition request to a preset device, and receiving the latest version information sent by the preset device according to the latest version information acquisition request; the preset device is a server corresponding to an application program in the terminal device or a third-party data collection device.
5. The method of any of claims 2-4, wherein generating the upgrade detection result based on current version information and latest version information for each application comprises:
determining the upgradable application programs in the application programs of the terminal equipment according to the current version information and the latest version information of each application program, wherein the current version information of the upgradable application programs is different from the latest version information of the upgradable application programs;
and generating the upgrade detection result according to the current version information of the upgradable application program and the latest version information of the upgradable application program.
6. The device for detecting the upgrade of the application program is characterized by comprising a receiving module, a first obtaining module and a sending module, wherein,
the receiving module is used for receiving an upgrade detection request sent by the terminal equipment, wherein the upgrade detection request comprises an identifier of the terminal equipment;
the first obtaining module is configured to obtain, in a preset storage space, an upgrade detection result corresponding to the identifier of the terminal device according to the identifier of the terminal device, where the upgrade detection result is generated by the app store server before receiving the upgrade detection request, and the upgrade detection result is used to indicate the identifier of the upgradable application program in the terminal device and information of a latest version of the upgradable application program;
and the sending module is used for sending the upgrade detection result to the terminal equipment.
7. The apparatus of claim 6, further comprising a second obtaining module, a determining module, a generating module, a storing module, and an updating module, wherein,
the second obtaining module is configured to obtain current version information of each application program in the terminal device and latest version information of each application program before the receiving module receives the upgrade detection request sent by the terminal device;
the judging module is used for judging whether an upgrade detection result corresponding to the terminal equipment exists in the preset storage space;
the generation module is configured to generate an upgrade detection result according to current version information and latest version information of each application program when the judgment module judges that the upgrade detection result corresponding to the terminal device exists in the preset storage space, and the storage module is configured to store the upgrade detection result in the preset storage space;
the updating module is used for updating the upgrade detection result corresponding to the terminal device in the preset storage space according to the current version information and the latest version information of each application program when the judging module judges that the upgrade detection result corresponding to the terminal device does not exist in the preset storage space.
8. The apparatus of claim 7, wherein the second obtaining module is specifically configured to:
receiving the current version information sent by the terminal equipment;
or,
and receiving update information of the application program in the terminal equipment, which is sent by the terminal equipment, and determining the current version information according to the version information of the application program in the terminal equipment and the update information, which are stored in the application store server.
9. The apparatus of claim 7, wherein the second obtaining module is specifically configured to:
acquiring the latest version information in the application store server, wherein the latest version information in the application store server is synchronized to the application store server in advance;
or,
sending a latest version information acquisition request to a preset device, and receiving the latest version information sent by the preset device according to the latest version information acquisition request; the preset device is a server corresponding to an application program in the terminal device or a third-party data collection device.
10. The apparatus according to any one of claims 7 to 9, wherein the generating module is specifically configured to:
determining the upgradable application programs in the application programs of the terminal equipment according to the current version information and the latest version information of each application program, wherein the current version information of the upgradable application programs is different from the latest version information of the upgradable application programs;
and generating the upgrade detection result according to the current version information of the upgradable application program and the latest version information of the upgradable application program.
CN201710503206.XA 2017-06-27 2017-06-27 Application program updating detection method and device Pending CN107357612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710503206.XA CN107357612A (en) 2017-06-27 2017-06-27 Application program updating detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710503206.XA CN107357612A (en) 2017-06-27 2017-06-27 Application program updating detection method and device

Publications (1)

Publication Number Publication Date
CN107357612A true CN107357612A (en) 2017-11-17

Family

ID=60273152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710503206.XA Pending CN107357612A (en) 2017-06-27 2017-06-27 Application program updating detection method and device

Country Status (1)

Country Link
CN (1) CN107357612A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108399073A (en) * 2018-01-26 2018-08-14 广东欧珀移动通信有限公司 Information displaying method, device, server and computer-readable medium
CN109032640A (en) * 2018-07-20 2018-12-18 中国邮政储蓄银行股份有限公司 Terminal more new system, method and apparatus
CN109104381A (en) * 2018-06-26 2018-12-28 东南大学 A kind of mobile application recognition methods based on third party's flow HTTP message
CN109324801A (en) * 2018-09-18 2019-02-12 华为技术有限公司 Algorithm method for down loading, equipment and Related product
CN109871217A (en) * 2017-12-01 2019-06-11 龙芯中科技术有限公司 Application program installation method and device based on application shop

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321350A (en) * 2008-07-24 2008-12-10 北京立通无限科技有限公司 Method ,device and system for automatically updating application software of mobile terminal
CN101534202A (en) * 2008-03-12 2009-09-16 株式会社日立制作所 Software update system for information equipment
CN102868768A (en) * 2012-10-16 2013-01-09 北京奇虎科技有限公司 Application upgrading system
CN102882978A (en) * 2012-10-16 2013-01-16 北京奇虎科技有限公司 Server and application updating method
CN103713926A (en) * 2013-12-27 2014-04-09 珠海金山网络游戏科技有限公司 Method and system for updating software of client in advance
CN105100191A (en) * 2015-05-22 2015-11-25 华为技术有限公司 Method, device and system for realizing Java application installation via cloud compilation
CN105335192A (en) * 2015-10-19 2016-02-17 联想(北京)有限公司 Information processing method and electronic equipment
US9424021B2 (en) * 2014-12-09 2016-08-23 Vmware, Inc. Capturing updates to applications and operating systems
CN106020916A (en) * 2016-07-04 2016-10-12 乐视控股(北京)有限公司 Method for updating application, terminal equipment and server
CN106708537A (en) * 2017-01-22 2017-05-24 百度在线网络技术(北京)有限公司 Application updating method and application updating device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534202A (en) * 2008-03-12 2009-09-16 株式会社日立制作所 Software update system for information equipment
CN101321350A (en) * 2008-07-24 2008-12-10 北京立通无限科技有限公司 Method ,device and system for automatically updating application software of mobile terminal
CN102868768A (en) * 2012-10-16 2013-01-09 北京奇虎科技有限公司 Application upgrading system
CN102882978A (en) * 2012-10-16 2013-01-16 北京奇虎科技有限公司 Server and application updating method
CN103713926A (en) * 2013-12-27 2014-04-09 珠海金山网络游戏科技有限公司 Method and system for updating software of client in advance
US9424021B2 (en) * 2014-12-09 2016-08-23 Vmware, Inc. Capturing updates to applications and operating systems
CN105100191A (en) * 2015-05-22 2015-11-25 华为技术有限公司 Method, device and system for realizing Java application installation via cloud compilation
CN105335192A (en) * 2015-10-19 2016-02-17 联想(北京)有限公司 Information processing method and electronic equipment
CN106020916A (en) * 2016-07-04 2016-10-12 乐视控股(北京)有限公司 Method for updating application, terminal equipment and server
CN106708537A (en) * 2017-01-22 2017-05-24 百度在线网络技术(北京)有限公司 Application updating method and application updating device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871217A (en) * 2017-12-01 2019-06-11 龙芯中科技术有限公司 Application program installation method and device based on application shop
CN108399073A (en) * 2018-01-26 2018-08-14 广东欧珀移动通信有限公司 Information displaying method, device, server and computer-readable medium
CN108399073B (en) * 2018-01-26 2021-10-22 Oppo广东移动通信有限公司 Information display method and device, server and computer readable medium
CN109104381A (en) * 2018-06-26 2018-12-28 东南大学 A kind of mobile application recognition methods based on third party's flow HTTP message
CN109032640A (en) * 2018-07-20 2018-12-18 中国邮政储蓄银行股份有限公司 Terminal more new system, method and apparatus
CN109324801A (en) * 2018-09-18 2019-02-12 华为技术有限公司 Algorithm method for down loading, equipment and Related product
CN109324801B (en) * 2018-09-18 2022-04-12 华为云计算技术有限公司 Algorithm downloading method, equipment and related product
US11662992B2 (en) 2018-09-18 2023-05-30 Huawei Cloud Computing Technologies Co., Ltd. Algorithm downloading method, device, and related product

Similar Documents

Publication Publication Date Title
CN107357612A (en) Application program updating detection method and device
CN110708346B (en) Information processing system and method
EP3382534A1 (en) Page jumping method and apparatus
CN113055702B (en) Method, system and client for displaying business components
CN106802814B (en) Method and device for upgrading software version
CN104066077A (en) OTA downloading and upgrading method and device thereof
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
US9736228B2 (en) Method, apparatus, and system for distributing information in graphic code
CN103476002A (en) Method and device for data interaction
CN105323269A (en) Method for updating APP in Android system, terminal and storage medium
JP5004857B2 (en) Application update information providing system and application update information providing method
CN106648733B (en) Method for application preloading
WO2023020070A1 (en) Method for determining upgrade package and server
WO2016008256A1 (en) Method for terminal to update operating system, terminal and system
US10193737B2 (en) Method for performing communication between browser and mobile terminal, and browser apparatus
US10209868B2 (en) Display terminal and display method for displaying application images based on display information
CN104077168A (en) Method and device for updating operation systems for terminal
CN111679842B (en) Application program hot update processing method, device and system
CN104090805B (en) A kind of method, equipment and system for updating terminal operating system
CN112083945A (en) NPM installation package update prompting method and device, electronic equipment and storage medium
EP2928158A1 (en) Distribution apparatus and distribution method
CN107391132B (en) Method, device and equipment for target App to execute preset action
CN107861966B (en) Cache detection method, equipment and computer readable storage medium
CN111767062A (en) Application configuration data updating method, device, equipment and storage medium
CN107390966B (en) Method and device for updating application upgrading prompt information

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171117