CN113452535A - Upgrading method, information processing method and device and electronic equipment - Google Patents

Upgrading method, information processing method and device and electronic equipment Download PDF

Info

Publication number
CN113452535A
CN113452535A CN202010212805.8A CN202010212805A CN113452535A CN 113452535 A CN113452535 A CN 113452535A CN 202010212805 A CN202010212805 A CN 202010212805A CN 113452535 A CN113452535 A CN 113452535A
Authority
CN
China
Prior art keywords
network speed
electronic equipment
speed threshold
attribute information
electronic 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.)
Granted
Application number
CN202010212805.8A
Other languages
Chinese (zh)
Other versions
CN113452535B (en
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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN202010212805.8A priority Critical patent/CN113452535B/en
Publication of CN113452535A publication Critical patent/CN113452535A/en
Application granted granted Critical
Publication of CN113452535B publication Critical patent/CN113452535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Abstract

The application discloses an upgrading method, an information processing device and electronic equipment, and relates to the technical field of communication. The specific implementation scheme is as follows: sending a first request to a server, wherein the first request comprises attribute information associated with the electronic equipment; receiving a network speed threshold value which is sent by a server and generated based on attribute information; acquiring a first network speed of the electronic equipment; and downloading an upgrade package of the object to be upgraded under the condition that the first network speed is greater than or equal to the network speed threshold value, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package. The first network speed of the electronic equipment and the network speed threshold value generated based on the attribute information of the electronic equipment are considered, the network speed threshold value is not fixed any more but generated according to the attribute information, and under the condition that the first network speed of the electronic equipment is greater than or equal to the network speed threshold value, the upgrading package of the object to be upgraded can be downloaded to upgrade the object to be upgraded, so that the upgrading effect can be improved.

Description

Upgrading method, information processing method and device and electronic equipment
Technical Field
The present application relates to the field of communications technologies in computer technologies, and in particular, to an upgrade method, an information processing method, an apparatus, and an electronic device.
Background
OTA (Over-the-air technology) upgrade refers to a technology in which an electronic device downloads an upgrade package on a remote server through a wireless network, and performs software upgrade on the electronic device, for example, upgrading a system or an application of the electronic device.
At present, in the commonly adopted upgrade method, once a new upgrade package is detected, the upgrade package is downloaded through a network request for upgrading, or when a new upgrade package is detected, the upgrade package is downloaded through a network request for upgrading through a user operation, for example, a user selects to start upgrading. However, since the upgrade package needs to be downloaded through the network for upgrading, if the network is unstable, the upgrade effect is poor.
Disclosure of Invention
The application provides an upgrading method, an information processing device and electronic equipment, and aims to solve the problem that the upgrading effect is poor in the prior art.
In a first aspect, an embodiment of the present application provides an upgrade method applied to an electronic device, including:
sending a first request to a server, wherein the first request comprises attribute information associated with the electronic equipment;
receiving a network speed threshold value which is sent by the server and generated based on the attribute information;
acquiring a first network speed of the electronic equipment;
and downloading an upgrade package of the object to be upgraded under the condition that the first network speed is greater than or equal to the network speed threshold value, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package.
In the upgrading method of the embodiment of the application, the network speed threshold generated by the server based on the attribute information associated with the electronic equipment is received from the server, the upgrading package of the object to be upgraded is downloaded under the condition that the first network speed of the electronic equipment is greater than or equal to the network speed threshold, and the object to be upgraded of the electronic equipment is upgraded according to the upgrading package of the object to be upgraded. Therefore, in the process of downloading the upgrade package of the object to be upgraded by the electronic equipment for upgrading, the first network speed of the electronic equipment and the network speed threshold generated based on the attribute information of the electronic equipment are considered, the corresponding network speed threshold can be generated by different electronic equipment under the condition of different attribute information or the same electronic equipment under the condition of different attribute information (for example, the attribute information of the same electronic equipment may be different at different time), the network speed threshold is not fixed any more, but is generated according to the attribute information, and the upgrade package of the object to be upgraded can be downloaded for upgrading the object to be upgraded under the condition that the first network speed of the electronic equipment is greater than or equal to the network speed threshold, so that the upgrading effect can be improved.
Optionally, the attribute information associated with the electronic device includes at least one of:
the size of the firmware of the object to be upgraded in the electronic equipment;
a chip type of the electronic device;
a network parameter of the electronic device.
In this way, in this embodiment, the attribute information includes at least one of a firmware size of an object to be upgraded in the electronic device, a chip type of the electronic device, and a network parameter of the electronic device, and when a first request carrying the attribute information is sent to the server, a network speed threshold generated by the server based on at least one of the firmware size of the object to be upgraded in the electronic device, the chip type of the electronic device, and the network parameter of the electronic device may be subsequently received, and the upgrade may be performed based on the network speed threshold and the first network speed, that is, the network speed threshold used for upgrading the object to be upgraded takes into account at least one of the firmware size of the object to be upgraded in the electronic device, the chip type of the electronic device, and the network parameter of the electronic device, so that the network speed threshold is adapted to a situation of the electronic device, and an upgrade effect of the electronic device is improved.
Optionally, the receiving the network speed threshold generated based on the attribute information and sent by the server includes:
and receiving a network speed threshold value which is sent by the server and generated based on the attribute information and the position information of the electronic equipment, wherein the server determines the position information of the electronic equipment through the IP address of the electronic equipment in the first request.
Thus, in this embodiment, the generated network speed threshold not only considers the attribute information of the electronic device, but also considers the location information of the electronic device, and then, according to the comparison between the network speed threshold and the first network speed, when the first network speed of the electronic device is greater than or equal to the network speed threshold, the upgrade package of the object to be upgraded is downloaded, and the upgrade package of the object to be upgraded is used to upgrade the electronic device, so that the effect of upgrading the object to be upgraded of the electronic device can be improved.
Optionally, after the obtaining the first network speed of the electronic device, the method further includes:
and returning to the step of sending the first request to the server after a preset time length when the first network speed is smaller than the network speed threshold value.
Therefore, under the condition that the first network speed is lower than the network speed threshold value, the upgrading is suspended until the first network speed is higher than or equal to the network speed threshold value, the upgrading package of the object to be upgraded is downloaded, and the electronic equipment is upgraded according to the upgrading package of the object to be upgraded, so that the upgrading effect is improved.
In a second aspect, an embodiment of the present application provides an information processing method, which is an application server, and includes:
receiving a first request sent by electronic equipment, wherein the first request comprises attribute information associated with the electronic equipment;
generating a network speed threshold based on the attribute information;
and sending the network speed threshold value to the electronic equipment, wherein the network speed threshold value is used for downloading an upgrade package of an object to be upgraded by the electronic equipment under the condition that the first network speed is greater than or equal to the network speed threshold value, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package.
In the information processing method in the embodiment of the application, a first request sent by the electronic device is received, and a network speed threshold is generated based on the attribute information of the electronic device in the first request and sent to the electronic device. The network speed threshold is used for downloading an upgrade package of the object to be upgraded by the electronic equipment under the condition that the first network speed is greater than or equal to the network speed threshold, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package. The network speed threshold is not fixed, but generated according to the attribute information of the electronic device, and the attribute information is changed, so that the network speed threshold can be changed, that is, it can be understood that the network speed threshold in the embodiment of the present application is dynamically generated according to the attribute information, so that the obtained network speed threshold is adapted to the attribute information of the electronic device, that is, the accuracy of the network speed threshold can be improved, and the network speed threshold is sent to the electronic device for upgrading the object to be upgraded, thereby improving the upgrading effect.
Optionally, the first request further includes an IP address of the electronic device;
the generating a wire speed threshold based on the attribute information includes:
determining the position information of the electronic equipment according to the IP address of the electronic equipment;
generating the network speed threshold based on the attribute information and the position information of the electronic device.
Therefore, in the embodiment, in the process of generating the network speed threshold, the server not only considers the attribute information of the electronic device, but also considers the position information of the electronic device, so as to further improve the accuracy of the network speed threshold, and sends the network speed threshold to the electronic device for upgrading the object to be upgraded, so as to further improve the upgrading effect.
Optionally, the generating a wire speed threshold based on the attribute information includes: inputting the attribute information into a machine learning model, and obtaining the network speed threshold value through the machine learning model;
after the sending the network speed threshold to the electronic device, the method further includes:
acquiring upgrading information uploaded by the electronic equipment from a database;
updating the machine learning model based on the upgrade information.
The updating of the machine learning model is carried out through the updating information uploaded after the electronic equipment is updated, so that the machine learning model is more accurate, the accuracy of the estimation of the network speed threshold value can be improved, and the object to be updated is updated according to the network speed threshold value and the first network speed, so that the upgrading success rate of the object to be updated is improved.
In a third aspect, an embodiment of the present application provides an upgrade apparatus, which is applied to an electronic device, and the apparatus includes:
the first sending module is used for sending a first request to a server, wherein the first request comprises attribute information associated with the electronic equipment;
the first receiving module is used for receiving a network speed threshold value which is sent by the server and generated based on the attribute information;
the first acquisition module is used for acquiring a first network speed of the electronic equipment;
and the upgrading module is used for downloading an upgrading package of the object to be upgraded under the condition that the first network speed is greater than or equal to the network speed threshold value, and upgrading the object to be upgraded of the electronic equipment according to the upgrading package.
Optionally, the attribute information associated with the electronic device includes at least one of:
the size of the firmware of the object to be upgraded in the electronic equipment;
a chip type of the electronic device;
a network parameter of the electronic device.
Optionally, the receiving the network speed threshold generated based on the attribute information and sent by the server includes:
and receiving a network speed threshold value which is sent by the server and generated based on the attribute information and the position information of the electronic equipment, wherein the server determines the position information of the electronic equipment through the IP address of the electronic equipment in the first request.
Optionally, the first sending module is further configured to execute the sending of the first request to the server after a preset time period elapses under the condition that the first network speed is less than the network speed threshold.
In a fourth aspect, an embodiment of the present application provides an information processing apparatus, an application server, the apparatus including:
the second receiving module is used for receiving a first request sent by the electronic equipment, wherein the first request comprises attribute information associated with the electronic equipment;
the generating module is used for generating a network speed threshold value based on the attribute information;
and the second sending module is used for sending the network speed threshold to the electronic equipment, wherein the network speed threshold is used for downloading an upgrading package of an object to be upgraded by the electronic equipment under the condition that the first network speed is greater than or equal to the network speed threshold, and upgrading the object to be upgraded of the electronic equipment according to the upgrading package.
Optionally, the first request further includes an IP address of the electronic device;
the generation module comprises:
the position acquisition module is used for determining the position information of the electronic equipment according to the IP address of the electronic equipment;
a threshold generation module, configured to generate the network speed threshold based on the attribute information and the location information of the electronic device.
Optionally, the generating a wire speed threshold based on the attribute information includes: inputting the attribute information into a machine learning model, and obtaining the network speed threshold value through the machine learning model;
the device further comprises:
the upgrading information acquisition module is used for acquiring upgrading information uploaded by the electronic equipment from a database;
and the updating module is used for updating the machine learning model based on the upgrading information.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including:
at least one first processor; and
a first memory communicatively coupled to the at least one first processor; wherein the content of the first and second substances,
the first memory stores instructions executable by the at least one first processor, and the instructions are executed by the at least one first processor to enable the at least one first processor to execute the upgrading method provided by the embodiments of the present application.
In a sixth aspect, an embodiment of the present application further provides a server, including:
at least one second processor; and
a second memory communicatively coupled to the at least one second processor; wherein the content of the first and second substances,
the second memory stores instructions executable by the at least one second processor, and the instructions are executed by the at least one second processor to enable the at least one second processor to execute the information processing method provided by the embodiments of the present application.
In a seventh aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method provided by the embodiments of the present application.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is one of the flow diagrams of an upgrade method of an embodiment provided herein;
FIG. 2 is a schematic flow chart diagram illustrating an information processing method according to an embodiment of the present disclosure;
FIG. 3 is a second flowchart of an upgrade method according to an embodiment of the present application;
FIG. 4 is a block diagram of an upgrade apparatus according to an embodiment provided herein;
FIG. 5 is a block diagram of an information processing apparatus according to an embodiment provided herein;
FIG. 6 is a block diagram of an electronic device for implementing an upgrade method of an embodiment of the present application;
fig. 7 is a block diagram of an electronic device for implementing the information processing method according to the embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
As shown in fig. 1, according to an embodiment of the present application, the present application provides an upgrade method, applying an electronic device, the method including:
step S101: a first request is sent to a server.
The electronic device may send a first request to the server requesting a wire speed threshold from the server. The first request comprises attribute information related to the electronic equipment, so that the first request sent to the server can not only request the network speed threshold, but also send the attribute information related to the electronic equipment to the server. As an example, before sending the first request to the server, the electronic device may obtain attribute information associated with itself, and then send the first request carrying the attribute information to the server.
Step S102: and receiving a network speed threshold value generated based on the attribute information and sent by the server.
After receiving the first request sent by the electronic device, the server may respond to the first request, generate the network speed threshold based on the attribute information of the electronic device in the first request, and send the network speed threshold to the electronic device, so that the electronic device may receive the network speed threshold generated based on the attribute information of the electronic device sent by the server. In this embodiment, the network speed threshold is no longer fixed but generated according to the attribute information of the electronic device, and the attribute information changes, so that the network speed threshold may change, that is, it can be understood that the network speed threshold in this embodiment is dynamically generated according to the attribute information, so that the network speed threshold obtained is adapted to the attribute information of the electronic device.
Step S103: a first network speed of the electronic device is obtained.
After receiving the network speed threshold sent by the server, the electronic device may obtain a first network speed of the electronic device, where the first network speed may be understood as a current network speed of the electronic device.
Step S104: and downloading an upgrade package of the object to be upgraded under the condition that the first network speed is greater than or equal to the network speed threshold value, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package.
After the electronic equipment obtains the first network speed, the first network speed can be compared with a network speed threshold value, under the condition that the first network speed is greater than or equal to the network speed threshold value, the current network speed of the electronic equipment meets the upgrading requirement, the electronic equipment can be upgraded, namely, an upgrading package of an object to be upgraded is downloaded, and after the downloading is finished, the electronic equipment can upgrade the object to be upgraded of the electronic equipment according to the downloaded upgrading package of the object to be upgraded. As an example, the object to be upgraded of the electronic device may be a system of the electronic device, an application in the electronic device, a file in the electronic device, and the like, and the upgrade package of the object to be upgraded may be an upgrade package of the system, an upgrade package of the application, an upgrade package of the file, and the like. For example, the system is installed in the electronic device, and the system of the electronic device can be upgraded. As an example, the electronic device may be an embedded IOT (internet of things) device, and an embedded system is installed in the electronic device, and the embedded system may be upgraded. For another example, the electronic device is installed with an application, and the application in the electronic device can be upgraded. For another example, the electronic device may also be upgraded. As an example, the electronic device may download an upgrade package of an object to be upgraded to a first target server, where the first target server is configured to store the upgrade package of the object to be upgraded, and issue the upgrade package of the object to be upgraded through the first target server, and the first target server may send a notification message to the electronic device, where the notification message is used to notify the electronic device that the upgrade package of the object to be upgraded has been issued, and the upgrade may be performed, that is, an upgrade prompt is performed. After the electronic device receives the notification message, the electronic device may request the first target server for downloading of the upgrade package of the object to be upgraded. For example, when the first network speed is greater than or equal to the network speed threshold, the electronic device sends a download request to the first target server, receives an upgrade package of the object to be upgraded issued by the download request of the first target server, downloads the upgrade package of the object to be upgraded, and then upgrades the object to be upgraded according to the upgrade package of the object to be upgraded.
In the upgrading method of the embodiment of the application, the network speed threshold generated by the server based on the attribute information associated with the electronic equipment is received from the server, the upgrading package of the object to be upgraded is downloaded under the condition that the first network speed of the electronic equipment is greater than or equal to the network speed threshold, and the object to be upgraded of the electronic equipment is upgraded according to the upgrading package of the object to be upgraded. Therefore, in the process of downloading the upgrade package of the object to be upgraded by the electronic equipment for upgrading, the first network speed of the electronic equipment and the network speed threshold generated based on the attribute information of the electronic equipment are considered, the corresponding network speed threshold can be generated by different electronic equipment under the condition of different attribute information or the same electronic equipment under the condition of different attribute information (for example, the attribute information of the same electronic equipment may be different at different time), the network speed threshold is not fixed any more, but is generated according to the attribute information, and the upgrade package of the object to be upgraded can be downloaded for upgrading the object to be upgraded under the condition that the first network speed of the electronic equipment is greater than or equal to the network speed threshold, so that the upgrading effect can be improved.
In one embodiment, the electronic device associated attribute information includes at least one of:
the size of the firmware of an object to be upgraded in the electronic equipment;
a chip type of the electronic device;
a network parameter of the electronic device.
The electronic device is provided with a plurality of objects, for example, a system, different applications, and the like, different objects have different corresponding firmware sizes, and in the upgrading process, the size of the firmware can be used as a basis for generating a network speed threshold, so that the obtained network speed threshold is adapted to the size of the firmware of the object to be upgraded. Moreover, even if the objects are of the same type (e.g., all systems) in different electronic devices, the firmware sizes may be different, for example, for a system, if different systems are installed in different electronic devices, the corresponding system firmware sizes may be different. Each electronic device has a corresponding chip, and the chips of different electronic devices can adopt the same or different types of chips, namely, the types of the chips are different. As an example, the chip type of the electronic device may be a communication module type of the electronic device, for example, for a WiFi (wireless fidelity) module, a corresponding WiFi module type. The network parameters may be understood as network environment parameters, that is, the electronic device uses different networks, and the corresponding network environment parameters are different, for example, a WiFi network, a 3G network, a 4G network, and the like may be used, and the network environment parameters are different for the same type of network, for example, for the 4G network, if the network is different from the operator.
Different electronic devices may have different firmware sizes of the same type of objects to be upgraded, and the same electronic device may have different firmware sizes of different objects to be upgraded, for example, the firmware size of the system may be different from the firmware size of the application. For example, the network speed threshold needs to be reduced when the chip of some electronic devices allows high-speed network transmission due to cost limitation, but a higher network speed threshold can be used to ensure up-scaling power and improve user experience. Different network environments (WiFi, 3G network, 4G network, different operators), the expected "normal network speed" of each electronic device may have a great difference, and a fixed and unchangeable network speed threshold cannot meet the requirement, which easily results in a poor upgrading effect.
In this way, in this embodiment, the attribute information includes at least one of a firmware size of an object to be upgraded in the electronic device, a chip type of the electronic device, and a network parameter of the electronic device, and when a first request carrying the attribute information is sent to the server, the server may be subsequently received and upgrade may be performed based on the network speed threshold of the at least one of the firmware size of the object to be upgraded in the electronic device, the chip type of the electronic device, and the network parameter of the electronic device, that is, the network speed threshold for upgrading the object to be upgraded takes into account at least one of the firmware size of the object to be upgraded in the electronic device, the chip type of the electronic device, and the network parameter of the electronic device, so that the network speed threshold is adapted to a situation of the electronic device, and an upgrading effect of the electronic device is improved.
In one embodiment, receiving a network speed threshold value generated based on attribute information and sent by a server comprises: and receiving a network speed threshold value which is sent by the server and generated based on the attribute information and the position information of the electronic equipment, wherein the server determines the position information of the electronic equipment through the IP address of the electronic equipment in the first request.
The network environment is different due to different locations (e.g., cities and regions), and the fixed network speed threshold value causes a large difference in success rate of upgrading different electronic devices.
Thus, in this embodiment, the generated network speed threshold not only considers the attribute information of the electronic device, but also considers the location information of the electronic device, and then, according to the comparison between the network speed threshold and the first network speed, when the first network speed of the electronic device is greater than or equal to the network speed threshold, the upgrade package of the object to be upgraded is downloaded, and the upgrade package of the object to be upgraded is used to upgrade the electronic device, so that the effect of upgrading the object to be upgraded of the electronic device can be improved.
In one embodiment, after acquiring the first wire speed of the electronic device, the method further includes: and returning to the step of sending the first request to the server after a preset time length when the first network speed is smaller than the network speed threshold value.
Under the condition that the first network speed is less than the network speed threshold value, the first network speed of the current electronic equipment does not meet the upgrading condition, in this case, the upgrade is suspended, and after waiting for a preset time period, the first request is sent to the server again, since the attribute information of the electronic device may change after the preset time period elapses, the attribute information included in the retransmission of the first request to the server may be different, the generated network speed thresholds may be different, and the first network speed of the electronic device may also change due to the preset duration, and after the first network speed of the electronic device is obtained, the first network speed is compared with the network speed threshold until the first network speed is greater than or equal to the network speed threshold, and downloading an upgrade package of the object to be upgraded under the condition that the first network speed is greater than or equal to the network speed threshold value, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package of the object to be upgraded.
In this embodiment, if the first network speed is less than the network speed threshold, that is, the first network speed is low, the speed of downloading the upgrade package of the object to be upgraded is slow, it is likely that the download of the upgrade package of the object to be upgraded fails, and the like, and the current network speed does not satisfy the upgrade condition, the upgrade of the object to be upgraded is not performed, but after a preset time period, the step of sending the first request to the server is returned, and the request for the network speed threshold is continued again.
In one embodiment, in a case that the first network speed is greater than or equal to the network speed threshold, downloading an upgrade package of an object to be upgraded, and after upgrading the object to be upgraded of the electronic device according to the upgrade package, the method further includes: and uploading the upgrading information to a database.
The upgrade information includes an upgrade result and/or upgrade time consumption, for example, if the upgrade is successful, the upgrade result is successful, and if the upgrade is failed, the upgrade result is failed. The time spent for upgrading is the time spent for the upgrading process. As an example, the database may be disposed in the server, or disposed in a second target server, and if the database is disposed in the server, the electronic device uploads the upgrade information to the server, and the server receives the upgrade information and stores the upgrade information in the database. And if the database is arranged in the second target server, the electronic equipment uploads the upgrading information to the second target server, and the second target server receives the upgrading information and then stores the upgrading information in the database.
Referring to fig. 2, in an embodiment, the present application further provides an information processing method, an application server, and the method includes:
step 201: a first request sent by an electronic device is received.
The electronic device may send a first request to the server for a wire speed threshold to the server, and as such, the server may receive the first request. The first request comprises attribute information associated with the electronic equipment. As an example, the electronic device associated attribute information comprises at least one of: the size of the firmware of the object to be upgraded in the electronic equipment; a chip type of the electronic device; a network parameter of the electronic device.
Step 202: a wire speed threshold is generated based on the attribute information.
Step 203: and sending the network speed threshold value to the electronic equipment.
The network speed threshold is used for downloading an upgrade package of the object to be upgraded by the electronic equipment under the condition that the first network speed is greater than or equal to the network speed threshold, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package.
The server receives a first request, and in response to the first request, may generate and send a wire speed threshold to the electronic device based on the attribute information of the electronic device in the first request. The network speed threshold is used for judging whether the electronic equipment is to be upgraded subsequently, namely the network speed threshold is used for downloading an upgrade package of the object to be upgraded when the first network speed of the electronic equipment is greater than or equal to the network speed threshold, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package, after the electronic equipment receives the network speed threshold, the first network speed of the electronic equipment can be obtained, namely the first network speed is the first network speed of the electronic equipment obtained by the electronic equipment receiving the network speed threshold, and when the first network speed is greater than or equal to the network speed threshold, the upgrade package of the object to be upgraded is downloaded, and the object to be upgraded of the electronic equipment is upgraded according to the upgrade package.
In the information processing method in the embodiment of the application, a first request sent by the electronic device is received, and a network speed threshold is generated based on the attribute information of the electronic device in the first request and sent to the electronic device. The network speed threshold is used for downloading an upgrade package of the object to be upgraded by the electronic equipment under the condition that the first network speed is greater than or equal to the network speed threshold, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package. The network speed threshold is not fixed, but generated according to the attribute information of the electronic device, and the attribute information is changed, so that the network speed threshold can be changed, that is, it can be understood that the network speed threshold in the embodiment of the present application is dynamically generated according to the attribute information, so that the obtained network speed threshold is adapted to the attribute information of the electronic device, that is, the accuracy of the network speed threshold can be improved, and the network speed threshold is sent to the electronic device for upgrading the object to be upgraded, thereby improving the upgrading effect.
In one embodiment, the first request further includes an IP address of the electronic device;
generating a wire speed threshold based on the attribute information, comprising:
determining the position information of the electronic equipment according to the IP address of the electronic equipment;
and generating a network speed threshold value based on the attribute information and the position information of the electronic equipment.
The network environment is different due to different locations (e.g., cities and regions), and the fixed network speed threshold value causes a large difference in success rate of upgrading different electronic devices.
Therefore, in the embodiment, in the process of generating the network speed threshold, the server not only considers the attribute information of the electronic device, but also considers the position information of the electronic device, so as to further improve the accuracy of the network speed threshold, and sends the network speed threshold to the electronic device for upgrading the object to be upgraded, so as to further improve the upgrading effect.
In one embodiment, generating the wire speed threshold based on the attribute information comprises: inputting the attribute information into a machine learning model, and obtaining a network speed threshold value through the machine learning model;
after the network speed threshold is sent to the electronic device, the method further comprises the following steps: acquiring upgrading information uploaded by the electronic equipment from a database; the machine learning model is updated based on the upgrade information.
The upgrade information includes an upgrade result and/or upgrade time consumption, for example, if the upgrade is successful, the upgrade result is successful, and if the upgrade is failed, the upgrade result is failed. The time spent for upgrading is the time spent for the upgrading process.
The accuracy of the machine learning model for estimating the network speed threshold value is related to the model parameters of the machine learning model, the machine learning model is updated through the updating information uploaded after the electronic equipment is updated, the machine learning model is more accurate, the accuracy of estimating the network speed threshold value can be improved, and the object to be updated is updated according to the network speed threshold value and the first network speed, so that the upgrading success rate of the object to be updated is improved.
As an example, the database may be disposed in the server, or disposed in a second target server, and if the database is disposed in the server, the electronic device uploads the upgrade information to the server, the server receives the upgrade information and stores the upgrade information in the database, and a subsequent server directly obtains the upgrade information from a local database. And if the database is arranged in the second target server, the electronic equipment uploads the upgrading information to the second target server, and the second target server receives the upgrading information and stores the upgrading information in the database. Thus, the server needs to obtain the upgrade information from the database of the second target server. After the server obtains the upgrade information, the server can update the machine learning model according to the upgrade information, specifically, update the model parameters in the machine learning model.
In the process of generating the network speed threshold value based on the attribute information and the position information of the electronic device, the attribute information and the position information of the electronic device may be input to the machine learning model, and the network speed threshold value may be obtained by the machine learning model.
The following describes the process of the above method with a specific embodiment, and takes the object to be upgraded as an example.
As shown in fig. 3, in the OTA upgrade process of the electronic device, the electronic device first obtains its own attribute information, such as the size of the system firmware, the chip type (chip model), and the network environment parameters. And then sends a first request including the attribute information to the server. The server receives the first request, so that the server can obtain the attribute information of the electronic equipment, and obtain the position information of the electronic equipment according to the IP address carried by the first request, the attribute information and the position information are transmitted to a threshold dynamic decision system in the server, the threshold dynamic decision system carries out the prediction of a dynamic threshold, namely a network speed threshold through a machine learning model, namely generates a dynamic threshold, the generated network speed threshold can be obtained by inquiring the threshold dynamic decision system and then is returned to the electronic equipment, after the electronic equipment receives the network speed threshold, the current network speed, namely a first network speed of the electronic equipment can be obtained, the first network speed is compared with the network speed threshold, for example, whether the first network speed is lower than the network speed threshold is judged, if not, namely the first network speed is higher than or equal to the network speed threshold, a downloading system upgrading package is requested to a first target server, and after the system upgrading package is downloaded, and after the upgrading is started, the upgrading information (including upgrading results and time consumption for upgrading) can be reported to the second target server, and the second target server stores the upgrading information in a database so as to facilitate the server to inquire. The subsequent server can obtain the upgrading information from the server and update the machine learning model according to the upgrading information. If the first network speed is lower than the network speed threshold value, the upgrading is suspended, after the preset time length is waited, the step of obtaining the attribute information of the electronic equipment is returned, the first request is sent again, namely the first request is sent again according to the new attribute information so as to request the network speed threshold value again until the first network speed is larger than or equal to the network speed threshold value, the system upgrading package is downloaded under the condition that the first network speed is larger than or equal to the network speed threshold value, and the electronic equipment is subjected to system upgrading according to the system upgrading package. In addition, the threshold dynamic decision system can also obtain an upgrading result, upgrading time consumption and the like from the server, and updates the machine learning model according to the upgrading result and the upgrading time consumption, so that a more accurate machine learning model can be obtained, and the accuracy of the generated dynamic threshold is improved.
In the above embodiments of the present application, the information used by the machine learning model to perform network speed threshold estimation includes, but is not limited to, a system firmware size, a chip model, a network environment parameter, a geographic location, and the like. And performing comprehensive learning on the dimensional data of the information by using a machine learning model, wherein the analysis algorithm aims at: and selecting a minimum threshold value to improve the upgrade success rate under the current equipment environment. Different network speed thresholds can be set for electronic equipment with different system firmware sizes, chip models, network environment parameters and geographic positions, and threshold limit is reduced as far as possible under the condition of improving upgrade success rate, so that upgrade convergence speed of the electronic equipment is accelerated.
Referring to fig. 4, the present application provides an upgrade apparatus 400 of an embodiment, which is applied to an electronic device, and includes:
a first sending module 401, configured to send a first request to a server, where the first request includes attribute information associated with an electronic device;
a first receiving module 402, configured to receive a network speed threshold generated based on the attribute information and sent by the server;
a first obtaining module 403, configured to obtain a first network speed of the electronic device;
the upgrading module 404 is configured to download an upgrade package of the object to be upgraded when the first network speed is greater than or equal to the network speed threshold, and upgrade the object to be upgraded of the electronic device according to the upgrade package.
In one embodiment, the electronic device associated attribute information includes at least one of:
the size of the firmware of an object to be upgraded in the electronic equipment;
a chip type of the electronic device;
a network parameter of the electronic device.
In one embodiment, receiving a network speed threshold value generated based on attribute information and sent by a server comprises:
and receiving a network speed threshold value which is sent by the server and generated based on the attribute information and the position information of the electronic equipment, wherein the server determines the position information of the electronic equipment through the IP address of the electronic equipment in the first request.
In an embodiment, the first sending module is further configured to, when the first network speed is less than the network speed threshold, execute sending the first request to the server after a preset time period elapses.
The upgrading device of each embodiment is a device for implementing the upgrading method of each embodiment, and the technical features and technical effects correspond to each other, which are not described herein again.
Referring to fig. 5, the present application provides an information processing apparatus 500 according to an embodiment, an application server, the apparatus including:
the second receiving module is used for receiving a first request sent by the electronic equipment, wherein the first request comprises attribute information associated with the electronic equipment;
the generating module is used for generating a network speed threshold value based on the attribute information;
and the second sending module is used for sending the network speed threshold to the electronic equipment, and the network speed threshold is used for downloading an upgrading package of the object to be upgraded by the electronic equipment under the condition that the first network speed is greater than or equal to the network speed threshold, and upgrading the object to be upgraded of the electronic equipment according to the upgrading package.
In one embodiment, the first request further includes an IP address of the electronic device;
a generation module comprising:
the position acquisition module is used for determining the position information of the electronic equipment according to the IP address of the electronic equipment;
and the threshold value generation module is used for generating a network speed threshold value based on the attribute information and the position information of the electronic equipment.
In one embodiment, generating the wire speed threshold based on the attribute information comprises: inputting the attribute information into a machine learning model, and obtaining a network speed threshold value through the machine learning model;
the device still includes:
the upgrading information acquisition module is used for acquiring upgrading information uploaded by the electronic equipment from the database;
and the updating module is used for updating the machine learning model based on the upgrading information.
The information processing apparatus in each of the embodiments is an apparatus for implementing the information processing method in each of the embodiments, and the technical features and the technical effects correspond to each other, and are not described herein again.
According to an embodiment of the present application, an electronic device, a server and a readable storage medium are also provided.
Fig. 6 is a block diagram of an electronic device according to an upgrade method of an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more first processors 601, a first memory 602, and interfaces for connecting the components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The first processor may process instructions for execution within the electronic device, including instructions stored in or on the first memory to display graphical information of the GUM on an external input/first output device (such as a display device coupled to the interface). In other embodiments, multiple first processors and/or multiple buses may be used, along with multiple first memories and multiple first memories, if desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or multiple first processor systems). In fig. 6, a first processor 601 is taken as an example.
The first memory 602 is a non-transitory computer readable storage medium as provided herein. The first memory stores instructions executable by at least one first processor to cause the at least one first processor to execute the upgrading method provided by the application. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the upgrade method provided by the present application.
The first memory 602, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the upgrading method in the embodiment of the present application (for example, the first sending module 401, the first receiving module 402, the first obtaining module 403, and the upgrading module 404 shown in fig. 4). The first processor 601 executes various functional applications of the server and data processing, i.e., implements the upgrade method in the above-described method embodiments, by running the non-transitory software programs, instructions, and modules stored in the first memory 602.
The first memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device displayed by the keyboard, and the like. Further, the first memory 602 may include a high speed random access first memory and may also include a non-transitory first memory, such as at least one magnetic disk first storage device, a flash memory device, or other non-transitory solid state first storage device. In some embodiments, the first memory 602 may optionally include a first memory remotely located from the first processor 601, and these remote first memories may be connected to the keyboard display electronics through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the upgrade method may further include: a first input device 603 and a first output device 604. The first processor 601, the first memory 602, the first input device 603 and the first output device 604 may be connected by a bus or other means, and fig. 6 illustrates an example of connection by a bus.
The first input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device displayed by the keyboard, e.g., a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, etc. the first output device may be a device for outputting information related to user settings and function controls of the electronic device. The first output device 604 may include a display device, an auxiliary lighting device (e.g., an LED), a haptic feedback device (e.g., a vibration motor), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, special-purpose ASMC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable first processor, which may be special or general purpose, that receives data and instructions from, and transmits data and instructions to, a memory system, at least one first input device, and at least one first output device.
In the scheme of the embodiment of the application, the network speed threshold generated by the server based on the attribute information associated with the electronic equipment is received from the server, the system upgrade package is downloaded under the condition that the first network speed of the electronic equipment is greater than or equal to the network speed threshold, and the electronic equipment is upgraded according to the system upgrade package. Therefore, in the process of downloading the system upgrade package by the electronic device to perform system upgrade, the first network speed of the electronic device and the network speed threshold generated based on the attribute information of the electronic device are considered, different electronic devices can generate corresponding network speed thresholds under the condition of different attribute information or the same electronic device under the condition of different attribute information (for example, the attribute information of the same electronic device may be different at different time), the network speed thresholds are not fixed any more, but are generated according to the attribute information, and the system upgrade package can be downloaded to perform system upgrade under the condition that the first network speed of the electronic device is greater than or equal to the network speed threshold, so that the system upgrade effect can be improved.
As shown in fig. 7, is a block diagram of a server of an information processing method according to an embodiment of the present application. Server is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The server may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 7, the server includes: one or more second processors 701, a second memory 702, and interfaces for connecting the components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The second processor may process instructions for execution within the server, including instructions stored in or on the second memory to display graphical information of the GUM on an external input/second output device (such as a display device coupled to the interface). In other embodiments, multiple second processors and/or multiple buses may be used, along with multiple second memories and multiple second memories, if desired. Also, multiple servers may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or multiple second processor systems). In fig. 7, a second processor 701 is taken as an example.
The second memory 702 is a non-transitory computer readable storage medium as provided herein. The second memory stores instructions executable by at least one second processor, so that the at least one second processor executes the information processing method provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the information processing method provided by the present application.
The second memory 702, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules (e.g., the second receiving module 501, the generating module 502, and the second sending module 503 shown in fig. 5) corresponding to the information processing method in the embodiment of the present application. The second processor 701 executes various functional applications of the server and data processing, i.e., implements the information processing method in the above-described method embodiment, by running the non-transitory software programs, instructions, and modules stored in the second memory 702.
The second memory 702 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the server by the keyboard display, and the like. In addition, the second memory 702 may include a high-speed random access second memory, and may also include a non-transitory second memory, such as at least one magnetic disk second storage device, a flash memory device, or other non-transitory solid-state second storage device. In some embodiments, the second memory 702 may optionally include a second memory remotely located from the second processor 701, and these remote second memories may be connected to a server for keyboard display through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The server of the information processing method may further include: a second input device 703 and a second output device 704. The second processor 701, the second memory 702, the second input device 703 and the second output device 704 may be connected by a bus or other means, and fig. 7 illustrates an example of connection by a bus.
The second input device 703 may receive input numeric or character information and generate key signal inputs related to user settings and function control of a server of a keyboard display, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, etc. information second output device. The second output device 704 may include a display device, an auxiliary lighting device (e.g., an LED), a haptic feedback device (e.g., a vibration motor), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, special-purpose ASMC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: embodied in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable second processor, which may be special or general purpose, that receives data and instructions from, and transmits data and instructions to, a memory system, at least one second input device, and at least one second output device.
These computing programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using procedural and/or object oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
In the scheme of the embodiment of the application, a first request sent by the electronic device is received, and a network speed threshold is generated based on the attribute information of the electronic device in the first request and sent to the electronic device. The network speed threshold is used for downloading the system upgrading package when the first network speed of the electronic equipment is greater than or equal to the network speed threshold, and carrying out system upgrading on the electronic equipment according to the system upgrading package. The network speed threshold is not fixed, but generated according to the attribute information of the electronic device, and the attribute information changes, so that the network speed threshold can be changed, that is, it can be understood that the network speed threshold in the embodiment of the present application is dynamically generated according to the attribute information, so that the obtained network speed threshold is adapted to the attribute information of the electronic device, that is, the accuracy of the network speed threshold can be improved, and the network speed threshold is sent to the electronic device for system upgrade, thereby improving the system upgrade effect.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (17)

1. An upgrade method, characterized in that, applying an electronic device, the method comprises:
sending a first request to a server, wherein the first request comprises attribute information associated with the electronic equipment;
receiving a network speed threshold value which is sent by the server and generated based on the attribute information;
acquiring a first network speed of the electronic equipment;
and downloading an upgrade package of the object to be upgraded under the condition that the first network speed is greater than or equal to the network speed threshold value, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package.
2. The method of claim 1, wherein the electronic device associated attribute information comprises at least one of:
the size of the firmware of the object to be upgraded in the electronic equipment;
a chip type of the electronic device;
a network parameter of the electronic device.
3. The method of claim 1, wherein the receiving the wire speed threshold generated based on the attribute information and sent by the server comprises:
and receiving a network speed threshold value which is sent by the server and generated based on the attribute information and the position information of the electronic equipment, wherein the server determines the position information of the electronic equipment through the IP address of the electronic equipment in the first request.
4. The method of claim 1, wherein after obtaining the first wire speed of the electronic device, further comprising:
and returning to the step of sending the first request to the server after a preset time length when the first network speed is smaller than the network speed threshold value.
5. An information processing method and an application server, the method comprising:
receiving a first request sent by electronic equipment, wherein the first request comprises attribute information associated with the electronic equipment;
generating a network speed threshold based on the attribute information;
and sending the network speed threshold value to the electronic equipment, wherein the network speed threshold value is used for downloading an upgrade package of an object to be upgraded by the electronic equipment under the condition that the first network speed is greater than or equal to the network speed threshold value, and upgrading the object to be upgraded of the electronic equipment according to the upgrade package.
6. The method of claim 5, wherein the first request further includes an IP address of the electronic device;
the generating a wire speed threshold based on the attribute information includes:
determining the position information of the electronic equipment according to the IP address of the electronic equipment;
generating the network speed threshold based on the attribute information and the position information of the electronic device.
7. The method of claim 5, wherein generating the wire speed threshold based on the attribute information comprises: inputting the attribute information into a machine learning model, and obtaining the network speed threshold value through the machine learning model;
after the sending the network speed threshold to the electronic device, the method further includes:
acquiring upgrading information uploaded by the electronic equipment from a database;
updating the machine learning model based on the upgrade information.
8. An upgrade apparatus, characterized in that, using an electronic device, the apparatus comprises:
the first sending module is used for sending a first request to a server, wherein the first request comprises attribute information associated with the electronic equipment;
the first receiving module is used for receiving a network speed threshold value which is sent by the server and generated based on the attribute information;
the first acquisition module is used for acquiring a first network speed of the electronic equipment;
and the upgrading module is used for downloading an upgrading package of the object to be upgraded under the condition that the first network speed is greater than or equal to the network speed threshold value, and upgrading the object to be upgraded of the electronic equipment according to the upgrading package.
9. The apparatus of claim 8, wherein the electronic device associated attribute information comprises at least one of:
the size of the firmware of the object to be upgraded in the electronic equipment;
a chip type of the electronic device;
a network parameter of the electronic device.
10. The apparatus of claim 8, wherein the receiving the wire speed threshold generated based on the attribute information and sent by the server comprises:
and receiving a network speed threshold value which is sent by the server and generated based on the attribute information and the position information of the electronic equipment, wherein the server determines the position information of the electronic equipment through the IP address of the electronic equipment in the first request.
11. The apparatus of claim 8, wherein the first sending module is further configured to perform the sending the first request to the server after a preset time period elapses if the first wire speed is less than the wire speed threshold.
12. An information processing apparatus, an application server, the apparatus comprising:
the second receiving module is used for receiving a first request sent by the electronic equipment, wherein the first request comprises attribute information associated with the electronic equipment;
the generating module is used for generating a network speed threshold value based on the attribute information;
and the second sending module is used for sending the network speed threshold to the electronic equipment, wherein the network speed threshold is used for downloading an upgrading package of an object to be upgraded by the electronic equipment under the condition that the first network speed is greater than or equal to the network speed threshold, and upgrading the object to be upgraded of the electronic equipment according to the upgrading package.
13. The apparatus of claim 12, wherein the first request further includes an IP address of the electronic device;
the generation module comprises:
the position acquisition module is used for determining the position information of the electronic equipment according to the IP address of the electronic equipment;
a threshold generation module, configured to generate the network speed threshold based on the attribute information and the location information of the electronic device.
14. The apparatus of claim 12, wherein the generating a wire speed threshold based on the attribute information comprises: inputting the attribute information into a machine learning model, and obtaining the network speed threshold value through the machine learning model;
the device further comprises:
the upgrading information acquisition module is used for acquiring upgrading information uploaded by the electronic equipment from a database;
and the updating module is used for updating the machine learning model based on the upgrading information.
15. An electronic device, comprising:
at least one first processor; and
a first memory communicatively coupled to the at least one first processor; wherein the content of the first and second substances,
the first memory stores instructions executable by the at least one first processor to enable the at least one first processor to perform the upgrade method according to any one of claims 1 to 4.
16. A server, comprising:
at least one second processor; and
a second memory communicatively coupled to the at least one second processor; wherein the content of the first and second substances,
the second memory stores instructions executable by the at least one second processor to enable the at least one second processor to perform the information processing method of any one of claims 5 to 7.
17. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
CN202010212805.8A 2020-03-24 2020-03-24 Upgrading method, information processing method and device and electronic equipment Active CN113452535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010212805.8A CN113452535B (en) 2020-03-24 2020-03-24 Upgrading method, information processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010212805.8A CN113452535B (en) 2020-03-24 2020-03-24 Upgrading method, information processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113452535A true CN113452535A (en) 2021-09-28
CN113452535B CN113452535B (en) 2022-11-18

Family

ID=77806513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010212805.8A Active CN113452535B (en) 2020-03-24 2020-03-24 Upgrading method, information processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113452535B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992516A (en) * 2021-10-21 2022-01-28 远景智能国际私人投资有限公司 Firmware updating method and device for equipment of Internet of things and Internet of things
CN114063517A (en) * 2021-11-16 2022-02-18 天津金米特科技股份有限公司 Control method of wearable device
CN116962376A (en) * 2023-09-20 2023-10-27 季华实验室 NB-IOT terminal upgrading method, device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123170A (en) * 2011-01-21 2011-07-13 中兴通讯股份有限公司 Method and device for upgrading firmware version
EP2683136A1 (en) * 2012-07-03 2014-01-08 BlackBerry Limited Methods And Devices For Facilitating A Download Session
CN107302591A (en) * 2017-07-31 2017-10-27 广东欧珀移动通信有限公司 Method of data synchronization, device, storage medium and electronic equipment
CN107508985A (en) * 2017-08-22 2017-12-22 山东大学 A kind of method that application program is downloaded in Android mobile phone
CN108599997A (en) * 2018-04-04 2018-09-28 北京奇艺世纪科技有限公司 Upgrade control method and device
CN110489151A (en) * 2019-08-27 2019-11-22 深信服科技股份有限公司 A kind of terminal staging method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123170A (en) * 2011-01-21 2011-07-13 中兴通讯股份有限公司 Method and device for upgrading firmware version
EP2683136A1 (en) * 2012-07-03 2014-01-08 BlackBerry Limited Methods And Devices For Facilitating A Download Session
CN107302591A (en) * 2017-07-31 2017-10-27 广东欧珀移动通信有限公司 Method of data synchronization, device, storage medium and electronic equipment
CN107508985A (en) * 2017-08-22 2017-12-22 山东大学 A kind of method that application program is downloaded in Android mobile phone
CN108599997A (en) * 2018-04-04 2018-09-28 北京奇艺世纪科技有限公司 Upgrade control method and device
CN110489151A (en) * 2019-08-27 2019-11-22 深信服科技股份有限公司 A kind of terminal staging method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992516A (en) * 2021-10-21 2022-01-28 远景智能国际私人投资有限公司 Firmware updating method and device for equipment of Internet of things and Internet of things
CN114063517A (en) * 2021-11-16 2022-02-18 天津金米特科技股份有限公司 Control method of wearable device
CN116962376A (en) * 2023-09-20 2023-10-27 季华实验室 NB-IOT terminal upgrading method, device, electronic equipment and storage medium
CN116962376B (en) * 2023-09-20 2024-04-05 季华实验室 NB-IOT terminal upgrading method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113452535B (en) 2022-11-18

Similar Documents

Publication Publication Date Title
CN113452535B (en) Upgrading method, information processing method and device and electronic equipment
CN107040609B (en) Network request processing method and device
CN110704136A (en) Rendering method of small program assembly, client, electronic device and storage medium
CN109857403B (en) Page updating method and device, page processing method and device
CN111694857B (en) Method, device, electronic equipment and computer readable medium for storing resource data
CN103544033A (en) Method, device and associated equipment for rolling back application program
CN112073994A (en) Method and device for over-the-air upgrading, electronic equipment and readable storage medium
CN110730090B (en) Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment
WO2018006841A1 (en) Qr code information transmission method, device and apparatus
CN106293738B (en) Expression image updating method and device
KR102546577B1 (en) Method and device for mini program data processing
CN114972594B (en) Data processing method, device, equipment and medium for meta universe
CN109428839B (en) CDN scheduling method, device and system
CN106953898B (en) Method and device for acquiring software package
CN112328296B (en) Method, device, equipment and medium for updating software aiming at cross-platform application
CN111290768B (en) Updating method, device, equipment and medium of containerized application system
CN112506584B (en) Resource file loading method, device, equipment, storage medium and product
CN112118318A (en) Vehicle upgrading method, terminal device, vehicle and computer storage medium
CN111782229B (en) Method and device for starting small program and electronic equipment
CN111885114A (en) Method, device and storage medium for upgrading application program interface module in gateway
CN111176577B (en) Distributed block storage service command processing method, device, equipment and medium
CN106445594B (en) System application installation method and device and terminal equipment
CN112068914B (en) Material content processing method and device, electronic equipment and storage medium
CN112667255B (en) Updating method, updating device, electronic equipment and storage medium
CN110609671B (en) Sound signal enhancement method, device, electronic equipment and storage medium

Legal Events

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