Application program updating method, device and network television playing software updating system

By collecting and classifying device information for multiple playback devices and pushing appropriate update data, the technical effect of improving the success rate of application updates is achieved, and the problem of low update success rate caused by inconsistent playback device specifications is solved.

CN115297366BActive Publication Date: 2024-11-29CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210929422.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-03
Publication Date
2024-11-29
Estimated Expiration
2042-08-03

AI Technical Summary

Technical Problem

Due to the inconsistent specifications of the playback device, the application update success rate is low.

Method used

By receiving device information from multiple playback devices, a set of playback devices with the same device information is determined, and update data is pushed to devices in the set, target update data is determined based on the update result, and finally target update data is pushed to all devices.

Benefits of technology

It improves the application update success rate and solves the problem of low update success rate caused by inconsistent playback device specifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115297366B_ABST
    Figure CN115297366B_ABST
Patent Text Reader

Abstract

The present invention discloses an application updating method, device and network television playback software updating system. The method comprises: receiving device information of multiple playback devices installed with a target application; determining playback devices with the same device information from the multiple playback devices to obtain a first device set, and pushing first-class update data for updating the target application in a manner corresponding to the first-class update data to multiple target devices in the first device set; receiving update results of the target application in the multiple target devices, and determining the target update data at least according to the update results; and pushing the target update data for updating the target application in a manner corresponding to the target update data to all devices in the first device set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network television, and in particular to an application program updating method and device and a network television playing software updating system. Background Art

[0002] Currently in the field of IPTV (interactive network television), soft terminals (also known as cloud terminals) are pure Android APP applications that have emerged to solve the rising cost of IPTV set-top box chips and tight market supply. They can be independently installed on Android devices, such as TVs, projectors, etc., providing a new way for operators' broadband network users to watch IPTV, and are an extension of the form of IPTV services. Users watch live broadcasts, on-demand programs, and replay programs, as well as some value-added services through the IPTV private network provided by operators and carried on the broadband network. Like traditional IPTV set-top box terminals, soft terminals support high-definition and ultra-high-definition program playback.

[0003] IPTV soft terminals are mainly used in open smart terminals, and most smart terminals can install applications downloaded by users through USB flash drives or other methods. However, due to the different specifications of smart terminals of different brands, it is impossible to implement complete and stable software iteration upgrades, which in turn damages the user experience.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide an application updating method, device and network television playing software updating system, so as to at least solve the technical problem of low application updating success rate caused by non-uniform playing device specifications.

[0006] According to one aspect of an embodiment of the present invention, there is provided a method for updating an application, comprising: receiving device information of a plurality of playback devices, wherein a target application is installed in the plurality of playback devices; determining playback devices having the same device information from the plurality of playback devices to obtain a first device set, and pushing a first type of update data to a plurality of target devices in the first device set, wherein the first type of update data is used to update the target application in a manner corresponding to the first type of update data; receiving update results of the target application in the plurality of target devices, and determining target update data at least based on the update results; and pushing the target update data to all devices in the first device set, wherein the target update data is used to update the target application in a manner corresponding to the target update data.

[0007] Optionally, determining playback devices with the same device information from the multiple playback devices to obtain a first device set includes: receiving device information of the multiple playback devices, the device information including at least one of the following: a processor model in the device, a motherboard model in the device, a device manufacturer, and an operating system version number corresponding to the device; determining a hash value of the device information; and determining the playback devices with the same hash value among the multiple playback devices as the first device set.

[0008] Optionally, pushing the first type of update data to multiple target devices in the first device set includes: determining multiple target devices from the first device set; and pushing the first type of update data to the multiple target devices.

[0009] Optionally, multiple target devices are determined from the first device set, including: when the number of devices in the first device set is higher than a first preset threshold, obtaining the interval duration of all devices in the first device set, the interval duration being used to characterize the time distance from the current moment to the last moment when the target application was started; and determining the device in the first device set whose interval duration is less than the preset duration threshold as the target device.

[0010] Optionally, determining the target update data at least according to the update result includes: receiving the update results of the target application in the multiple target devices, counting the update results to obtain statistical information, and determining the target update data based on the statistical information.

[0011] Optionally, determining the target update data based on the statistical information includes: obtaining the number of devices in the first device set and the number of devices in the first device set that have target permissions; obtaining the number of devices that have been successfully updated among the multiple target devices in the statistical information and the number of devices that have been updated among the multiple target devices; determining a first ratio of the number of devices in the first device set and the number of devices that have been updated among the multiple target devices; determining a second ratio of the number of devices that have been successfully updated among the multiple target devices and the number of devices that have been updated among the multiple target devices; determining the product of the first ratio and the second ratio as a target parameter, and determining the target update data based on the target parameter.

[0012] Optionally, determining the target update data based on the target parameter includes: when the target parameter is greater than a second preset threshold, determining the target update data as first category update data; when the target parameter is less than the second preset threshold, determining the target update as second category update data, wherein the target update data includes the first category update data and the second category update data, and the second category update data is used to update the target application in a manner corresponding to the second category update data.

[0013] Optionally, pushing the target update data to all devices in the first device set includes: setting a target identifier for all devices in the first device set; and pushing the target update data to the devices set with the target identifier.

[0014] Optionally, after pushing the target update data to all devices in the first device set, the method further includes: obtaining device information of all devices in the first device set at preset intervals; when the device information changes, pushing the first type of update data to the first device whose device information has changed, and obtaining the update result.

[0015] Optionally, the method further includes: determining playback devices with the same device number from the multiple playback devices to obtain a second device set; and pushing the target update data to devices in the second device set.

[0016] According to another aspect of an embodiment of the present invention, there is also provided a network television playback software update system, comprising: a plurality of network television playback devices and a remote server, wherein the plurality of network television playback devices are installed with network television playback software; the plurality of network television playback devices are used to send their own device information and update results of the network television playback software to the remote server, and are also used to send target permissions to the remote server, wherein the target permissions are used for the remote server to install first-type update data in target devices; the remote server is used to receive device information of the plurality of network television playback devices, and determine network television playback devices with the same device information among the plurality of network television playback devices as a first device set, and is also used to push first-type update data to a plurality of target devices in the first device set, wherein the first-type update data is used to update the network television playback software in a manner corresponding to the first-type update data, and receives update results of the network television playback software in the plurality of target devices, and is also used to determine target update data at least according to the update results, and push the target update data to all devices in the first device set, wherein the target update data is used to update the network television playback software in a manner corresponding to the target update data.

[0017] According to another aspect of an embodiment of the present invention, there is also provided an application updating device, comprising: a first receiving module, for receiving device information of a plurality of playback devices, wherein a target application is installed in the plurality of playback devices; a first pushing module, for determining playback devices with the same device information from the plurality of playback devices, obtaining a first device set, and pushing a first type of update data to a plurality of target devices in the first device set, wherein the first type of update data is used to update the target application in a manner corresponding to the first type of update data; a second receiving module, for receiving update results of the target application in the plurality of target devices, and determining target update data at least based on the update results; and a second pushing module, for pushing the target update data to all devices in the first device set, wherein the target update data is used to update the target application in a manner corresponding to the target update data.

[0018] According to another aspect of an embodiment of the present invention, there is also provided a method for updating an application, comprising: sending a request message to a remote server, requesting the remote server to send update data, wherein the request message includes device information; receiving a first type of update data sent by the remote server, and updating a target application in a first manner; sending an update result of the target application to the remote server, and receiving target update data sent by the remote server, and updating the target application in a target manner.

[0019] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is further provided, wherein the non-volatile storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the application updating methods.

[0020] According to another aspect of an embodiment of the present invention, there is further provided a computer device, including a memory and a processor, wherein the processor is used to run a program, wherein the program executes any one of the application program updating methods when running.

[0021] In an embodiment of the present invention, the device information of multiple playback devices is received, and the target application is installed in the multiple playback devices; playback devices with the same device information are determined from the multiple playback devices to obtain a first device set, and a first type of update data is pushed to multiple target devices in the first device set, and the first type of update data is used to update the target application in a manner corresponding to the first type of update data; update results of the target application in the multiple target devices are received, and target update data is determined at least based on the update results; target update data is pushed to all devices in the first device set, and the target update data is used to update the target application in a manner corresponding to the target update data. By classifying the playback devices and selecting some playback devices of the same type of playback devices to try to update, suitable update data for a type of terminal is determined, and the purpose of accurately pushing update data is achieved, thereby realizing the technical effect of improving the success rate of application update, and further solving the technical problem of low application update success rate due to non-uniform specifications of playback devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0023] Figure 1 It is a hardware structure block diagram of a computer terminal (or mobile device) according to an application program update method of an embodiment of the present application;

[0024] Figure 2 is a flowchart of a method for updating an application program according to the present application;

[0025] Figure 3 is a schematic diagram of an example of a device information display interface according to an embodiment of the present application;

[0026] Figure 4 is a structural diagram of an application updating system according to an embodiment of the present application;

[0027] Figure 5 is a structural diagram of an application updating device according to an embodiment of the present application;

[0028] Figure 6 It is a flowchart of another application updating method according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal, a cloud server or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing an application program update method is shown. Figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0032] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0033] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the updating method of the application program in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the updating method of the above-mentioned application program is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0034] The transmission module 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission module 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0035] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0036] According to an embodiment of the present invention, an embodiment of a method for updating an application is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0037] Figure 2is a flow chart of a method for updating an application according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0038] Step S202, receiving device information of multiple playback devices, wherein the target application is installed in the multiple playback devices;

[0039] Step S204, determining playback devices with the same device information from the multiple playback devices to obtain a first device set, and pushing first-type update data to multiple target devices in the first device set, where the first-type update data is used to update the target application in a manner corresponding to the first-type update data;

[0040] Step S206, receiving update results of the target application programs in the plurality of target devices, and determining target update data at least according to the update results;

[0041] Step S208: Pushing the target update data to all devices in the first device set, where the target update data is used to update the target application in a manner corresponding to the target update data.

[0042] It should be noted that the above-mentioned playback devices include but are not limited to televisions, mobile phones, tablet computers and other audio and video playback devices that can install applications; the target application can be an application on various terminal platforms such as mobile phone applications and television applications.

[0043] In step S204, the first type of update data can be a complete application installation software package, which is used to fully update the application, that is, calling the system installation APK installer to perform a complete APP installation (upgrade). It can be understood that the method corresponding to the first type of update data is the full update method.

[0044] In step S206, the update result of the application may include: whether the target application installed in the playback device has been updated, whether the update is successful or failed, and the target update data includes: first-category update data and second-category update data. The second-category update data includes: some software data, which is used to perform hot update on the target application, but the hot update cannot perform framework-level updates, cannot change major components, etc., which limits some expansion capabilities. Obviously, the method corresponding to the second-category update data is the hot update method.

[0045] It needs to be further explained that the core manifestation of hindering user application upgrades is that some smart terminals will block the upgrade of installed applications due to their own ecological construction and so-called security issues, and require the application to be updated through specific channels. Therefore, updating the target application requires opening installation permissions to the corresponding terminal. At the same time, certain versions of operating systems also have the problem of not authorizing self-installation of applications.

[0046] At present, there are two common practices in the industry: one is to require users to use specific playback devices provided by operators to achieve the unification of playback devices, which leads to increased costs; the other is to upgrade through hot updates without permission requirements, but the disadvantages of this technology are mainly reflected in the inability to perform framework-level updates and the inability to change major components, which limits some expansion capabilities.

[0047] The embodiment of the present application classifies playback devices and selects some playback devices of the same type to try to update, thereby determining appropriate update data for a type of terminal, thereby achieving the purpose of accurately pushing update data, thereby achieving the technical effect of improving the success rate of application updates, and further solving the technical problem of low application update success rate due to inconsistent playback device specifications.

[0048] Steps S202 to S208 are explained in detail below.

[0049] In step S204, playback devices with the same device information are determined from the above-mentioned multiple playback devices to obtain a first device set. In an optional manner, the first device set can be determined by receiving device information of the above-mentioned multiple playback devices, the above-mentioned device information includes at least one of the following: a processor model in the device, a motherboard model in the device, a device manufacturer and an operating system version number corresponding to the device; determining a hash value of the above-mentioned device information; and determining the playback devices with the same hash value among the above-mentioned multiple playback devices as the above-mentioned first device set.

[0050] It should be noted that the first device set is a device set having some of the same device information. The above method facilitates computer identification and comparison by converting the device information of the device into a hash value.

[0051] Specifically, each playback device sends its own device information (including hardware motherboard model, CPU model, brand string, operating system version number, etc.) to the remote server to establish a basic data set for the playback device; after receiving the device information sent by the playback device, the remote server generates a hash string based on the device information of the playback device, for example: df6eec347d503bfcf64105b6d6e18a33, and uses the hash string as the feature code of the playback device and as the adaptability data set index of the playback device.

[0052] Figure 3 A display interface of the acquired device information is shown. As can be seen from the figure, the acquired device information includes: the device identification code, address, device model, brand and CPU model.

[0053] Since the device information reflects the basic information of the playback device, the requirements for installing the application program on playback devices with the same device information are similar. It can be seen that playback devices with the same device information can adopt the same update method, thereby classifying devices with the same device information into one category, and then completing the classification of all access devices, and realizing the determination of the update method of some devices in the same category of devices, thereby determining the update method of the same type of playback devices, thereby improving the analysis efficiency.

[0054] In step S204, the first type of update data is pushed to multiple target devices in the first device set. First, multiple target devices need to be determined from the first device set; and then the first type of update data is pushed to the multiple target devices.

[0055] Optionally, the method of determining multiple target devices from the above-mentioned first device set can be determined by the frequency with which the devices are used. In actual application scenarios, devices with high usage frequency can be determined as target devices to obtain data faster. Specifically, when the number of devices in the above-mentioned first device set is higher than the first preset threshold, the interval duration of all devices in the above-mentioned first device set is obtained, and the above-mentioned interval duration is used to characterize the time from the current moment to the last time the above-mentioned target application was started; the device in the above-mentioned first device set whose above-mentioned interval duration is less than the preset duration threshold is determined as the above-mentioned target device.

[0056] It should be noted that the purpose of setting the first preset threshold is to ensure that there are enough samples so that the obtained data is more accurate. The number of the first preset threshold can be set according to actual needs, for example: 10.

[0057] The shorter the interval time is, the more frequently the target application is opened, thereby achieving the purpose of selecting devices with high usage frequency as target devices. The preset time threshold can be set according to actual needs, for example: 2 hours.

[0058] In an actual application scenario, the remote server determines each type of device to determine whether the number of devices of this type of playback devices has reached a first preset threshold. If the number of devices has not reached the first preset threshold, the update identifier UpdateMethod of this type of playback devices is set to the first identifier, for example: null; if the number of devices of this type of playback devices has reached the first preset threshold, a certain number of target devices are selected from this type of playback devices, and their update identifier UpdateMethod is set to the second identifier, for example: try.

[0059] By initially updating some target devices in the first device set, the data acquisition rate can be improved. At the same time, since the target device selection strategy is to select the playback devices with high usage frequency in the first device set, the data acquisition efficiency is further improved.

[0060] In some embodiments of the present application, the target update data is determined at least based on the above-mentioned update results, including: receiving the update results of the above-mentioned target application in the above-mentioned multiple target devices, counting the above-mentioned update results to obtain statistical information, and determining the above-mentioned target update data based on the above-mentioned statistical information.

[0061] Specifically, obtain the number of devices in the first device set and the number of devices with target permissions in the first device set; obtain the number of devices that have been successfully updated in the multiple target devices in the statistical information and the number of devices that have been updated in the multiple target devices; determine a first ratio of the number of devices in the first device set and the number of devices with target permissions in the first device set; determine a second ratio of the number of devices that have been successfully updated in the multiple target devices and the number of devices that have been updated in the multiple target devices; determine the product of the first ratio and the second ratio as a target parameter, and determine the target update data based on the target parameter.

[0062] It should be further explained that the target permission indicates that the remote server has the permission to update the target application in the playback device by means of a full update.

[0063] In an optional manner, the remote server performs a full update on the target device with the first identifier in the first device set. If the update fails, a second attempt is made. If the update fails again, a hot update is performed.

[0064] The number of devices that have been updated refers to the devices that have performed the update operation. Whether the update is successful or failed is counted in the number of devices that have been updated.

[0065] In some embodiments of the present application, the target update data is determined based on the target parameters, including: when the target parameter is greater than a second preset threshold, determining that the target update data is first-category update data; when the target parameter is less than the second preset threshold, determining that the target update data is second-category update data, wherein the target update data includes the first-category update data and the second-category update data, and the second-category update data is used to update the target application in a manner corresponding to the second-category update data.

[0066] In some embodiments of the present application, pushing the target update data to all devices in the first device set includes: setting a target identifier for all devices in the first device set; and pushing the target update data to the devices set with the target identifier.

[0067] Specifically, when it is determined that the target parameter is greater than the second preset threshold, the update identifier of each playback device in the first device set can be changed from the second identifier to the third identifier, for example: full, indicating that the playback device can update the target application by a full update; when it is determined that the target parameter is greater than the second preset threshold, the update identifier of each playback device in the first device set is changed from the second identifier to the fourth identifier, for example: hot, indicating that the playback device can update the target application by a hot update.

[0068] In some embodiments of the present application, after pushing the above-mentioned target update data to all devices in the above-mentioned first device set, after a preset period of time, for example: one week, the device information of all devices in the above-mentioned first device set is obtained again; when the above-mentioned device information changes, the above-mentioned first type of update data is pushed to the first device whose device information has changed, and the update result is obtained.

[0069] It should be noted that the change in device information means that the device information acquired again is different from the device information acquired last time.

[0070] It is understandable that, considering that during normal use, the playback device may upgrade the operating system, and after the operating system is upgraded, the upgrade method that the playback device has determined may no longer be applicable. The main reason is that after the operating system is upgraded, the target permissions that have been given to the remote server may be cancelled, making the original upgrade path unavailable. By setting the playback device, the device information (including hardware motherboard model, CPU model, brand string, operating system version number, etc.) will be sent to the remote server every time it is turned on. The remote server determines the hash value of the device information of the playback device. If the newly calculated hash value changes compared to the original hash value, the background counts the terminal as a new type of playback device, and then executes the update method of the above application to determine the update method.

[0071] In some embodiments of the present application, the method further includes: determining playback devices with the same device number from the multiple playback devices to obtain a second device set; and pushing the target update data to devices in the second device set.

[0072] In actual application scenarios, for group devices, such as enterprises, schools and other groups, since the playback devices may be purchased collectively and have the same device models, such devices can be uniformly numbered. When devices with the same number are detected, they are directly updated according to the preset update method, which improves processing efficiency.

[0073] In some embodiments of the present application, a network television playback software update system is also provided, such as Figure 4 As shown, it includes: a plurality of network TV playback devices 40 and a remote server 42. Among them, the network TV playback software is installed in the plurality of network TV playback devices 40; the plurality of network TV playback devices 40 are used to send their own device information and the update result of the network TV playback software to the remote server 42, and are also used to send the target authority to the remote server 42, and the target authority is used for the remote server 42 to install the first type of update data in the target device; the remote server 42 is used to receive the device information of the plurality of network TV playback devices 40, and determine the network TV playback devices 40 with the same device information in the plurality of network TV playback devices 40 as the first device set, and is also used to push the first type of update data to the plurality of target devices in the first device set, and the first type of update data is used to update the network TV playback software in the manner corresponding to the first type of update data, and receive the update result of the network TV playback software in the plurality of target devices, and is also used to determine the target update data at least according to the update result, and push the target update data to all devices in the first device set, and the target update data is used to update the network TV playback software in the manner corresponding to the target update data.

[0074] Specifically, the remote server 40 stores a decision database, which includes three data sets: a basic device data set, a device adaptability data set, and a decision data set; wherein the basic device data set stores the acquired device information of the playback device; the device adaptability data set stores the device quantity information and the statistical information of the update result; the decision data set stores the hash value of the playback device, the update method, and the address corresponding to the update data;

[0075] Meanwhile, the remote server 40 is also provided with an analyzer, a communication component and an update database;

[0076] The analyzer is used to receive data from the decision database to determine the target update mode, and then send the target update data corresponding to the target update mode in the update database to the playback device 40 through the communication component.

[0077] In some embodiments of the present application, an application updating device is also provided, such as Figure 5 As shown, the device comprises:

[0078] A first receiving module 50 is used to receive device information of multiple playback devices, wherein the target application is installed in the multiple playback devices;

[0079] A first push module 52 is used to determine playback devices with the same device information from the multiple playback devices to obtain a first device set, and push first-type update data to multiple target devices in the first device set, where the first-type update data is used to update the target application in a manner corresponding to the first-type update data;

[0080] A second receiving module 54 is used to receive update results of the target application programs in the multiple target devices, and determine target update data at least according to the update results;

[0081] The second push module 56 is used to push the target update data to all devices in the first device set, where the target update data is used to update the target application in a manner corresponding to the target update data.

[0082] In some embodiments of the present application, the first push module 52 includes a first receiving submodule and a first determining submodule, wherein the first receiving submodule is used to receive device information of the above-mentioned multiple playback devices, and the above-mentioned device information includes at least one of the following: the processor model in the device, the motherboard model in the device, the device manufacturer and the operating system version number corresponding to the device; the above-mentioned first determining submodule is used to determine the hash value of the above-mentioned device information; and the playback devices with the same hash value among the above-mentioned multiple playback devices are determined as the above-mentioned first device set.

[0083] In some embodiments of the present application, the second push module 56 includes a second determination submodule and a first push submodule, wherein the second determination submodule is used to determine multiple target devices from the first device set; the first push submodule is used to push the first type of update data to the multiple target devices.

[0084] In some embodiments of the present application, the second determination submodule includes a first acquisition unit and a first determination unit, wherein the first acquisition unit is used to obtain the interval duration of all devices in the first device set when the number of devices in the first device set is higher than a first preset threshold, and the interval duration is used to characterize the time from the current moment to the last time the target application was started; the first determination unit is used to determine the device in the first device set whose interval duration is less than the preset duration threshold as the target device.

[0085] In some embodiments of the present application, the second receiving module 54 includes a second receiving sub-module, wherein the second receiving sub-module is used to receive the update results of the target application in the multiple target devices, count the update results to obtain statistical information, and determine the target update data based on the statistical information.

[0086] In some embodiments of the present application, the second receiving submodule includes a second acquisition unit, a third acquisition unit, a second determination unit, a third determination unit and a fourth determination unit, wherein the second acquisition unit is used to acquire the number of devices in the first device set and the number of devices with target permissions in the first device set; the third acquisition unit is used to acquire the number of devices successfully updated in the multiple target devices and the number of devices updated in the multiple target devices in the statistical information; the second determination unit is used to determine a first ratio of the number of devices in the first device set and the number of devices with target permissions in the first device set; the third determination unit is used to determine a second ratio of the number of devices successfully updated in the multiple target devices and the number of devices updated in the multiple target devices; the fourth determination unit is used to determine the product of the first ratio and the second ratio as a target parameter, and determine the target update data based on the target parameter.

[0087] In some embodiments of the present application, the fourth determination unit includes a first determination subunit and a second determination subunit, wherein the first determination subunit is used to determine that the target update data is the first type of update data when the target parameter is greater than a second preset threshold value; the second determination subunit is used to determine that the target update is the second type of update data when the target parameter is less than the second preset threshold value, wherein the target update data includes the first type of update data and the second type of update data, and the second type of update data is used to update the target application in a manner corresponding to the second type of update data.

[0088] In some embodiments of the present application, the second push module 56 includes a second push sub-module and a third push sub-module, wherein the second push sub-module is used to set a target identifier for all devices in the first device set; and the third push sub-module is used to push the target update data to the device set with the target identifier.

[0089] In some embodiments of the present application, the above-mentioned device also includes an acquisition module and a third push module, wherein the above-mentioned acquisition module is used to acquire the device information of all devices in the above-mentioned first device set at intervals of a preset time after pushing the above-mentioned target update data to all devices in the above-mentioned first device set; the above-mentioned third push module is used to push the above-mentioned first type of update data to the first device whose device information is changed and obtain the update result when the above-mentioned device information changes.

[0090] In some embodiments of the present application, the above-mentioned device also includes a determination module and a fourth push module, wherein the above-mentioned determination module is used to determine the playback device with the same device number from the above-mentioned multiple playback devices to obtain a second device set; the above-mentioned fourth recommendation module is used to push the above-mentioned target update data to the devices in the above-mentioned second device set.

[0091] In some embodiments of the present application, a method for updating an application is also provided, such as Figure 6 As shown, including:

[0092] Step S602, sending a request message to a remote server, requesting the remote server to send update data, wherein the request message includes device information;

[0093] Step S604, receiving the first type of update data sent by the remote server, and updating the target application in a first manner;

[0094] Step S606: sending the update result of the target application to the remote server, receiving the target update data sent by the remote server, and updating the target application in a target manner.

[0095] In some embodiments of the present application, a non-volatile storage medium is further provided, wherein the non-volatile storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the above-mentioned application updating methods.

[0096] In some embodiments of the present application, a computer device is further provided, including a memory and a processor, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned application program updating methods when running.

[0097] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0098] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0099] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0101] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of an application functional unit.

[0102] If the integrated unit is implemented in the form of an application functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of an application product. The computer application product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0103] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for updating an application, characterized in that: include: Receiving device information of a plurality of playback devices, wherein the plurality of playback devices have a target application installed therein; Determine playback devices with the same device information from the multiple playback devices to obtain a first device set, and push first-type update data to multiple target devices in the first device set, where the first-type update data is used to update the target application in a manner corresponding to the first-type update data; receiving update results of the target application programs in the plurality of target devices, and determining target update data at least according to the update results; Pushing the target update data to all devices in the first device set, the target update data being used to update the target application in a manner corresponding to the target update data; Determining the target update data at least according to the update result, comprising: receiving the update results of the target application in the plurality of target devices, collecting statistics of the update results to obtain statistical information, and determining the target update data based on the statistical information; Determining the target update data based on the statistical information includes: obtaining the number of devices in the first device set and the number of devices with target permissions in the first device set; obtaining the number of devices that have been successfully updated and the number of devices that have been updated in the multiple target devices in the statistical information; determining a first ratio of the number of devices in the first device set and the number of devices that have been updated in the multiple target devices; determining a second ratio of the number of devices that have been successfully updated and the number of devices that have been updated in the multiple target devices; determining the product of the first ratio and the second ratio as a target parameter, and determining the target update data based on the target parameter.

2. The method according to claim 1, characterized in that Determining playback devices with the same device information from the multiple playback devices to obtain a first device set includes: Receive device information of the multiple playback devices, the device information including at least one of the following: a processor model in the device, a motherboard model in the device, a device manufacturer, and an operating system version number corresponding to the device; Determining a hash value of the device information; The playback devices having the same hash value among the multiple playback devices are determined as the first device set.

3. The method according to claim 1, characterized in that Pushing first-category update data to multiple target devices in the first device set includes: determining a plurality of target devices from the first set of devices; The first type of update data is pushed to the multiple target devices.

4. The method according to claim 3, characterized in that Determining a plurality of target devices from the first device set includes: When the number of devices in the first device set is higher than a first preset threshold, obtaining the interval duration of all devices in the first device set, where the interval duration is used to represent the time duration from the current moment to the last moment when the target application was started; The device in the first device set whose interval duration is less than a preset duration threshold is determined as the target device.

5. The method according to claim 1, characterized in that Determining the target update data based on the target parameter includes: When the target parameter is greater than a second preset threshold, determining that the target update data is first-category update data; When the target parameter is less than a second preset threshold, the target update is determined to be second-category update data, wherein the target update data includes the first-category update data and the second-category update data, and the second-category update data is used to update the target application in a manner corresponding to the second-category update data.

6. The method according to claim 1, characterized in that Pushing the target update data to all devices in the first device set includes: Setting target identifiers for all devices in the first device set; The target update data is pushed to a device set with the target identifier.

7. The method according to claim 1, characterized in that After pushing the target update data to all devices in the first device set, the method further includes: Acquire device information of all devices in the first device set at preset intervals; When the device information is changed, the first type of update data is pushed to the first device whose device information is changed, and an update result is obtained.

8. The method according to claim 1, characterized in that The method further comprises: Determine playback devices with the same device number from the multiple playback devices to obtain a second device set; The target update data is pushed to devices in the second device set.

9. A network television broadcasting software updating system, characterized in that: include: A plurality of network television playback devices and a remote server, wherein the plurality of network television playback devices are installed with network television playback software; The plurality of network television playback devices are used to send their own device information and the update result of the network television playback software to the remote server, and are also used to send target permissions to the remote server, and the target permissions are used for the remote server to install the first type of update data in the target device; The remote server is used to receive device information of the multiple network TV playback devices, and determine the network TV playback devices with the same device information among the multiple network TV playback devices as a first device set, and is also used to push first-type update data to multiple target devices in the first device set, the first-type update data is used to update the network TV playback software in a manner corresponding to the first-type update data, and receive update results of the network TV playback software in the multiple target devices, and is also used to determine target update data at least according to the update results, and push the target update data to all devices in the first device set, the target update data is used to update the network TV playback software in a manner corresponding to the target update data; Determining the target update data at least according to the update result includes: receiving the update results of the network TV playback software in the multiple target devices, collecting statistics of the update results to obtain statistical information, and determining the target update data based on the statistical information; Determining the target update data based on the statistical information includes: obtaining the number of devices in the first device set and the number of devices with target permissions in the first device set; obtaining the number of devices that have been successfully updated and the number of devices that have been updated in the multiple target devices in the statistical information; determining a first ratio of the number of devices in the first device set and the number of devices that have been updated in the multiple target devices; determining a second ratio of the number of devices that have been successfully updated and the number of devices that have been updated in the multiple target devices; determining the product of the first ratio and the second ratio as a target parameter, and determining the target update data based on the target parameter.

10. An application updating device, characterized in that: include: A first receiving module, configured to receive device information of a plurality of playback devices, wherein the plurality of playback devices have the target application installed therein; A first push module, configured to determine playback devices with the same device information from the multiple playback devices, obtain a first device set, and push first-type update data to multiple target devices in the first device set, wherein the first-type update data is used to update the target application in a manner corresponding to the first-type update data; A second receiving module, configured to receive update results of the target application programs in the multiple target devices, and determine target update data at least according to the update results; A second push module, configured to push the target update data to all devices in the first device set, wherein the target update data is used to update the target application in a manner corresponding to the target update data; Determining the target update data at least according to the update result, comprising: receiving the update results of the target application in the plurality of target devices, collecting statistics of the update results to obtain statistical information, and determining the target update data based on the statistical information; Determining the target update data based on the statistical information includes: obtaining the number of devices in the first device set and the number of devices with target permissions in the first device set; obtaining the number of devices that have been successfully updated and the number of devices that have been updated in the multiple target devices in the statistical information; determining a first ratio of the number of devices in the first device set and the number of devices that have been updated in the multiple target devices; determining a second ratio of the number of devices that have been successfully updated and the number of devices that have been updated in the multiple target devices; determining the product of the first ratio and the second ratio as a target parameter, and determining the target update data based on the target parameter.

11. A method for updating an application, characterized in that: include: Sending a request message to a remote server, requesting the remote server to send update data, wherein the request message includes device information; Receiving the first type of update data sent by the remote server, and updating the target application in a first manner; Sending the update result of the target application to the remote server, receiving the target update data sent by the remote server, and updating the target application in a manner corresponding to the target update data; Receive target update data determined by the remote server at least based on the update result, the target update data determination process includes: receiving the update results of the target application in multiple target devices, counting the update results to obtain statistical information, and determining the target update data based on the statistical information, the determination of the target update data based on the statistical information includes: obtaining the number of devices in a first device set and the number of devices with target permissions in the first device set; obtaining the number of devices with successful updates and the number of devices with updated permissions in the multiple target devices in the statistical information; determining a first ratio of the number of devices in the first device set to the number of devices with target permissions in the first device set; determining a second ratio of the number of devices with successful updates and the number of devices with updated permissions in the multiple target devices; determining the product of the first ratio and the second ratio as a target parameter, and determining the target update data based on the target parameter, the first device set includes: playback devices with the same device information in multiple playback devices, and the multiple target devices are devices in the first device set.

12. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for updating the application program according to any one of claims 1 to 8.

13. A computer device, characterized in that: The invention comprises a memory and a processor, wherein the processor is used to run a program, wherein the program, when running, executes the method for updating the application program described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Software upgrading method and electronic equipment

    CN111399876A