CN113271282B - Program updating method, device and system - Google Patents

Program updating method, device and system Download PDF

Info

Publication number
CN113271282B
CN113271282B CN202010092120.4A CN202010092120A CN113271282B CN 113271282 B CN113271282 B CN 113271282B CN 202010092120 A CN202010092120 A CN 202010092120A CN 113271282 B CN113271282 B CN 113271282B
Authority
CN
China
Prior art keywords
terminals
network
group
terminal
network information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010092120.4A
Other languages
Chinese (zh)
Other versions
CN113271282A (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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202010092120.4A priority Critical patent/CN113271282B/en
Publication of CN113271282A publication Critical patent/CN113271282A/en
Application granted granted Critical
Publication of CN113271282B publication Critical patent/CN113271282B/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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention relates to a program updating method, a device and a system, wherein the program updating method comprises the following steps: transmitting a network information request instruction to a plurality of terminals, so that at least part or all of the terminals respectively respond to the network information request instruction to reply to the first network information; judging a first network condition of the terminal according to the received first network information; when the first network condition is a first network state, periodically sending a network information request instruction to each terminal in the first group of terminals, so that each terminal in the first group of terminals responds to the network information request instruction to reply to the second network information; judging a second network condition of the corresponding terminal according to the received second network information; when the second network condition is the second network state, program update data are issued to the first terminals in the first group of terminals to start program update, and the dynamic adjustment of the program update is carried out by acquiring and monitoring the network information of the terminals in real time, so that the purpose of real time and high efficiency is achieved.

Description

Program updating method, device and system
Technical Field
The present invention relates to the field of program updating technologies, and in particular, to a program updating method, a program updating apparatus, and a program updating system.
Background
In the LED industry, a server adopts a wired network or a wireless network to carry out corresponding data connection and communication with a terminal of a client, then the server pushes corresponding program data to the terminal of the client, then the terminal of the client downloads a program, and finally the program is played after the downloading is completed; after the program is changed, the client terminal automatically updates the program.
However, if the network condition is bad or the network change occurs in the client terminal, the server does not dynamically adjust the downloaded program update according to the network change condition of the terminal, i.e. if the network fluctuation occurs, an intervention process is needed manually, so that the purpose of high efficiency and real time cannot be achieved.
Disclosure of Invention
Therefore, to overcome the defects and shortcomings of the prior art, the embodiments of the present invention provide a program updating method, a program updating apparatus, and a program updating system.
In one aspect, a program updating method provided by an embodiment of the present invention includes: a network information request instruction is sent to a plurality of terminals, and a part or all of the terminals respectively respond to the network information request instruction to reply to first network information; judging a first network condition of a corresponding terminal according to the received first network information; responding to a first network condition corresponding to each terminal of a first group of terminals in the part or all of terminals to be in a first network state, and periodically sending the network information request instruction to each terminal of the first group of terminals so as to enable each terminal of the first group of terminals to respond to the network information request instruction to reply to second network information; judging a second network condition of the corresponding terminal according to the received second network information; and responding to the second network condition corresponding to the first terminal in the first group of terminals as a second network state, and transmitting program update data to the first terminal in the first group of terminals to start program update.
In the prior art, a server does not dynamically adjust program update of a terminal according to network change conditions of the terminal, namely, under the condition of network fluctuation, an intervention process is needed manually, and in the invention, the network conditions of the partial terminals are acquired from the responding partial terminals by firstly sending network information request instructions to the plurality of terminals, when the network conditions are in a first network state, second network conditions of the partial terminals are acquired in real time, and then the second network conditions are judged to be good or bad, and when the second network conditions are in a second network state, data information of program update is sent to the partial terminals with good network states, so that the partial terminals start program update operation, thereby achieving the purposes of dynamically adjusting the program update of the terminal network conditions and achieving real-time and high efficiency.
In one embodiment of the present invention, after the determining the first network condition of the corresponding terminal according to the received first network information, the method further includes: responding to the first network condition corresponding to each terminal of a second group of terminals in the part or all of terminals to be in a second network state, and transmitting the program update data to each terminal of the second group of terminals to start program update; and responding to the first network condition corresponding to each terminal in a third group of terminals in the part or all of the terminals to be in a third network state, selecting a specified number of terminals in the third group of terminals, and issuing the program update data to each terminal in the specified number of terminals in the third group of terminals to start program update, wherein no intersection exists among the second group of terminals, the third group of terminals and the first group of terminals.
In one embodiment of the present invention, after the sending of the network information request instruction to the plurality of terminals, the method further includes: and displaying that each terminal in the fourth group of terminals is abnormal in network in response to each terminal in the fourth group of terminals except the part of terminals not replying to the first network information within a designated time.
In one embodiment of the present invention, after the determining the second network condition of the corresponding terminal according to the received second network information, the method further includes: and responding to the condition of the second network corresponding to the first terminal in the first group of terminals as the first network state and lasting for a specified time, and displaying that the first terminal in the first group of terminals has network abnormality.
In one embodiment of the present invention, the responding to the first network condition corresponding to each terminal in the second group of terminals in the plurality of terminals being the second network state, issuing the program update data to each terminal in the second group of terminals to start program update includes: and transmitting the program update data to each terminal in the second group of terminals, and maintaining the corresponding maximum transmission rate to start the program update.
In one embodiment of the present invention, after the issuing of the program update data to the first terminal of the first group of terminals to start the program update, the method further includes: periodically receiving third network information reported by the first terminal in the first group of terminals; judging a third network condition of the first terminal in the first group of terminals according to the received third network information; terminating the program update for the first terminal of the first group of terminals in response to the third network condition of the first terminal of the first group of terminals being a fourth network state; and suspending the program update of the first terminal in the first group of terminals in response to the third network condition of the first terminal in the first group of terminals being the first network state.
In one embodiment of the present invention, after said terminating said program update of said first terminal in said first group of terminals, further comprising: periodically sending the network information request instruction to the first terminal in the first group of terminals; responding to fourth network information replied by the first terminal responding to the network information request instruction in the first group of terminals received in a designated time; judging a fourth network condition of the first terminal in the first group of terminals according to the received fourth network information; and restarting the program update of the first terminal in the first group of terminals in response to the fourth network condition of the first terminal in the first group of terminals being a second network state.
In one embodiment of the present invention, after said issuing said program update data to each of said specified number of terminals of said third group of terminals to initiate a program update, further comprising: periodically receiving third network information respectively reported by terminals in the designated number in the first group of terminals, the second group of terminals and the third group of terminals; judging a third network condition of the corresponding terminal according to the received third network information; in response to the third network condition corresponding to a part of terminals in the specified number of terminals in the first group of terminals, the second group of terminals and the third group of terminals being a third network state, reducing the number of program updating performed by the part of terminals in the specified number of terminals
In still another aspect, an embodiment of the present invention provides a program updating apparatus, configured to perform any one of the foregoing program updating methods, including: the first instruction sending module is used for sending a network information request instruction to a plurality of terminals so that part or all of the terminals respectively respond to the network information request instruction to reply to first network information; the first condition judging module is used for judging the first network condition of the corresponding terminal according to the received first network information; the second instruction sending module is used for responding to the first network condition corresponding to each terminal of the first group of terminals in the part or all of terminals as a first network state, periodically sending the network information request instruction to each terminal of the first group of terminals, and responding to the network information request instruction by each terminal of the first group of terminals to reply to second network information; the second condition judging module is used for judging a second network condition of the corresponding terminal according to the received second network information; and the program updating module is used for responding to the second network condition corresponding to the first terminal in the first group of terminals as a second network state and transmitting program updating data to the first terminal in the first group of terminals so as to start program updating.
In still another aspect, a program update processing system provided in an embodiment of the present invention includes: a processor and a memory coupled to the processor; wherein the memory stores instructions for execution by the processor and the instructions cause the processor to perform operations to perform any of the program update methods described above.
In yet another aspect, an embodiment of the present invention provides a computer readable storage medium, which is a nonvolatile memory and stores computer readable instructions, where the computer readable instructions implement any one of the foregoing program updating methods when executed by a computer.
From the above, the technical features of the present invention may have one or more of the following advantages:
1. in the prior art, when the network fluctuation occurs in the terminal, the server does not dynamically adjust the terminal issuing instruction, and meanwhile, manual intervention is also needed;
2. The server can also receive the network condition change generated by the terminal in the program updating process in real time, judge the network condition, classify the network condition according to the judgment, and correspondingly adjust the program updating data to ensure the updating release of the program.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart illustrating a program updating method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating steps of the program updating method shown in fig. 1 after step S102 according to the first embodiment of the present invention.
Fig. 3 is a flowchart illustrating steps of the program updating method shown in fig. 1 after step S104 according to the first embodiment of the present invention.
Fig. 4 is a flowchart illustrating steps of the program updating method shown in fig. 1 after step S101 according to the first embodiment of the present invention.
Fig. 5 is a flowchart showing steps of the program updating method shown in fig. 1 after step S105 according to the first embodiment of the present invention.
Fig. 6 is a flowchart illustrating steps of the program updating method shown in fig. 2 according to the first embodiment of the present invention after step S202.
Fig. 7A is a schematic block diagram of a program updating apparatus according to a second embodiment of the present invention.
Fig. 7B is a schematic block diagram of another program updating apparatus according to the second embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a program updating system according to a third embodiment of the present invention.
Fig. 9 is a schematic structural view of a computer readable storage medium according to a fourth embodiment of the present invention.
[ reference numerals description ]
S101-S105, S201-S202, S301, S401, S501-S504, S601-S603: program updating method;
700: program updating means; 701: a first instruction sending module; 702: a first condition judgment module; 703: a second instruction sending module; 704: a second condition judgment module; 705: a program digging updating module; 706: a first issuing module; 707: a second issuing module; 708: a first display module; 709: a second display module; 710: a first receiving module; 711: a third condition judgment module; 712: a termination module; 713: a pause module; 714: a third instruction issuing module; 715: a second receiving module; 716: a fourth condition judgment module; 717: restarting the module; 718: a third receiving module; 719: a fifth situation judgment module; 820: a reduction module;
800: a parameter processing system; 801: a processor; 803: a memory;
900: computer readable storage media.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
[ first embodiment ]
As shown in fig. 1, a program updating method provided in a first embodiment of the present invention includes:
s101, a network information request instruction is sent to a plurality of terminals, and part or all of the terminals respectively respond to the network information request instruction to reply to first network information;
the server sends a network information request instruction to a plurality of terminals, the network request instruction also comprises a program update instruction, the program update instruction is sent to the plurality of terminals together, then the server receives a response of part or all of the terminals responding to the network information request instruction in the plurality of terminals according to the received network request instruction and replies the received network information request instruction, the information replied by the part of terminals is called network information, the network information comprises time delay, instantaneous bandwidth and network jitter, and the network jitter can be represented by average transmission rate in the embodiment of the invention.
S102, judging a first network condition of a corresponding terminal according to the received first network information;
after receiving the network information replied by the terminal with the response in the step, the server judges the time delay, the instantaneous bandwidth and the average transmission rate in the network information, and correspondingly judges the network condition according to the data size of the received network information.
S103, responding to the first network condition corresponding to each terminal of the first group of terminals in the part or all of terminals to be in a first network state, namely, periodically sending the network information request instruction to each terminal of the first group of terminals when the first network condition is in the first network state, so that each terminal of the first group of terminals responds to the network information request instruction to reply to second network information;
when the network condition is judged to be a first network condition, the first network condition is poor, the specific represented network information is, for example, the time delay is within 1 to 30 seconds, the instantaneous bandwidth is 1M-2M, the average transmission rate is 100kb/s-200kb/s, the first group of terminal network conditions can be considered to be the first poor network condition, when the network condition of the part of terminals is judged to be poor, namely, the first group of terminal network conditions are poor, then the server periodically sends a network information request instruction to each terminal in the first group, so that each terminal in the first group can receive whether a response exists after receiving the instruction, the periodicity can be set by artificial, for example, the network information request instruction is sent every 30 seconds or the instruction is sent every 1 minute, or a specific numerical value can be obtained for setting after the server collects data for analysis, and the method is not limited.
S104, judging a second network condition of the corresponding terminal according to the received second network information;
when a terminal with general network condition in the first group of terminals receives a network information request instruction issued by the server, replying the instruction and sending the network information of the terminal to the server again, wherein the network information is second network information, and then the server judges the second network information after receiving the second network information.
And S105, responding to the second network condition corresponding to the first terminal in the first group of terminals to be in a second network state, namely, when the second network condition is in the second network state, issuing program update data to the first terminal in the first group of terminals so as to start program update.
When the server judges that the network condition of part of the terminals in the first group of terminals is a second network condition, the second network condition is good, the specific network information represented by the second network condition is that the time delay is not more than 100 milliseconds, the instantaneous bandwidth is 2M-10M, the average transmission rate is more than 1M/s, the network condition can be judged to be the second good network condition, the server then transmits the program updated data to the terminals with good network conditions in the rented terminals, and then the terminals begin to update the program after receiving the program updated data.
In the prior art, a server does not dynamically adjust program update of a terminal according to network change conditions of the terminal, namely, under the condition of network fluctuation, an intervention process is needed manually, and in the invention, the network conditions of the partial terminals are acquired from the responding partial terminals by firstly sending network information request instructions to the plurality of terminals, when the network conditions are in a first network state, second network conditions of the partial terminals are acquired in real time, and then the second network conditions are judged to be good or bad, and when the second network conditions are in a second network state, data information of program update is sent to the partial terminals with good network states, so that the partial terminals start program update operation, thereby achieving the purposes of dynamically adjusting the program update of the terminal network conditions and achieving real-time and high efficiency.
In another specific embodiment, as shown in fig. 2, after step S102, the method further includes:
s201, responding to the condition that the first network condition corresponding to each terminal of the second group of terminals in the part or all of terminals is a second network state, namely, when the first network condition is the second network state, issuing program update data to each terminal of the second group of terminals;
After receiving the first network information replied by the terminal with the response in the plurality of terminals, the server judges the condition of the first network information, and when judging that the condition of the network information is the second network state, namely, the condition of good network condition in the embodiment, the server will send the program update data to the terminals with good network condition, namely, the second group of terminals, and then the transmission rate of the program update of the terminals with good network condition is always kept at the maximum rate for downloading.
S202, responding to the fact that the first network condition corresponding to each terminal in the third group of terminals in the part or all of terminals is in a third network state, namely when the first network condition is in the third network state, selecting a specified number of terminals in the third group of terminals, and transmitting program update data to the specified number of terminals.
After receiving first network information replied by a terminal having a response in a plurality of terminals, the server judges the first network information, when judging that the network information is in a third network state, the third network state is common, the specific network information represented by the third network state is, for example, the time delay is within 100 ms to 1000 ms, the instantaneous bandwidth is 2M-10M, the average transmission rate is 300kb/s-1M/s, the network condition of the third group of terminals can be judged to be common, then the server screens the terminals of the third group according to the bandwidth of the port transmission rate of the server, then transmits program update data to the terminals of the specified number after screening, for example, 20 terminals are arranged, the bandwidth of the port transmission rate of the server is 20M, one terminal with good network condition is needed to occupy a bandwidth of 10M, then the bandwidth of the rest 10M server is selected from the terminals with common network condition, each bandwidth is 2M, then the server bandwidth of the server is full of the program update data of 5 terminals, and the terminals of the third group of the terminals are not occupied, and the program update data of the terminals is carried out between the terminals of the third group of the terminals.
In another specific embodiment, as shown in fig. 3, after step S104, the method further includes:
and S301, responding to the condition of the second network corresponding to the first terminal in the first group of terminals to be the first network state and lasting for a specified time, namely, displaying that the first terminal in the first group of terminals is abnormal in network when the condition of the second network is the first network state and lasting for the specified time.
When the server judges that the first group of terminals are poor in network condition, then the network information request instruction is sent to the part of terminals, then the second network information replied by the terminals is received, then the network information condition is judged, when the network information condition is judged to be poor, then the received network conditions are judged to be poor in network condition in a lasting appointed time, the server prompts the user that the part of terminals are abnormal in network condition and needs the user to perform corresponding processing, the appointed time can be set manually, for example, 30 minutes and 1 hour, and can be obtained by analysis according to the collected network information or other peripheral information, and the specific application is not limited.
In another specific embodiment, as shown in fig. 4, after step S101, the method further includes:
s401, in response to each terminal in the fourth group of terminals except the partial terminals does not reply to the first network information within a designated time, displaying that each terminal in the fourth group of terminals is abnormal in network.
After the server sends the network information request instruction, some or all of the terminals respond, but in a fourth group of terminals, except for some of the terminals, there is no network information replied to the server within a set time, and then the server informs the user that a network abnormality occurs in the fourth group, and the user needs to process the network abnormality, where the set time may be manually set, for example, 30 minutes, 1 hour, or may be obtained by analyzing according to collected network information or other peripheral information, and the specific point is not limited herein.
In another specific embodiment, as shown in fig. 5, after step S105, the method further includes:
s501, periodically receiving third network information uploaded by a first terminal in a first group of terminals;
After the program update is started by a part of terminals, the terminals performing the program update operation periodically send their own network information to the server, where the network information is the third network information, and the periodic time may be every minute, every second or every hour, and the corresponding adjustment may be performed according to a specific embodiment, which is not limited herein.
S502, judging a third network condition of the first terminal in the first group of terminals according to the received third network information, namely judging the third network condition of the first terminal in the first group of terminals;
and then, after receiving the third network information reported by the terminal which is carrying out program update, the server correspondingly judges the network condition in the network information and judges which network state the network condition belongs to.
S503, responding to the third network condition of the first terminal in the first group of terminals to be in a fourth network state, namely, stopping program updating of the first terminal in the first group of terminals when the third network condition is in the fourth network state;
when the server determines that the network condition of a part of the terminals in the terminals which are undergoing program updating belongs to the fourth network state, namely the network condition of the terminal which is extremely bad, the method is specifically expressed in that, for example, the time delay exceeds 30 seconds, the instantaneous bandwidth is less than 1M, the average transmission rate is not more than 1kb/s, the network condition of the terminal of the part can be determined to be extremely bad, and the server sends a program updating termination instruction to the terminal of the extremely bad network condition of the part, so that the terminal terminates the program updating operation.
S504, periodically sending a network information request instruction to a first terminal in a first group of terminals;
the server always transmits a network information request instruction to the terminal with the extremely bad network in the duration time, so that the terminal transmits the own network information to the server.
S505, responding to the fourth network information received by the first terminal in the first group of terminals in the appointed time and responding to the network information request instruction, namely receiving the fourth network information received by the first terminal in the first group of terminals in the appointed time and responding to the network information request instruction;
the server then receives the replied fourth network information within a specified duration, which may be set manually, for example, 30 minutes, 1 hour, or may be analyzed based on collecting network information or other peripheral information, which is not limited herein, and may be set correspondingly according to a specific embodiment.
S506, judging a fourth network condition of the first terminal in the first group of terminals according to the received fourth network information, namely judging the fourth network condition of the first terminal in the first group of terminals;
And then the server receives the fourth network information, judges the condition of the network information and judges which network state the network condition is.
S507, restarting program update of the first terminal in the first group of terminals in response to the fourth network condition of the first terminal in the first group of terminals being in the second network state, namely when the fourth network condition is in the second network state;
when the fourth network condition is judged to be good, the server sends a re-program updating instruction to the part of terminals, and then the part of terminals restart program updating operation after receiving the instruction.
And S508, suspending program updating of the first terminal in the first group of terminals in response to the third network condition of the first terminal in the first group of terminals being in the first network state, namely when the third network condition is in the first network state.
When the third network condition of the part of terminals is judged to be the poor network condition, the server sends a pause instruction to the part of terminals, and then the terminals pause the program updating operation.
In another specific embodiment, as shown in fig. 6, after step S202, the method further includes:
S601, periodically receiving third network information respectively reported by terminals in a designated number in a first group of terminals, a second group of terminals and a third group of terminals;
the server periodically receives the network information reported by the terminal after starting program update, and the periodicity may be set manually, for example, 30 minutes or 1 hour, or may be obtained by analyzing according to the collected network information or other peripheral information, which is not limited herein, and may be set correspondingly according to a specific embodiment.
S602, judging a third network condition of the corresponding terminal according to the received third network information;
and then, after receiving the third network information, judging the third network condition, and judging which network state the third network condition belongs to.
S603, responding to the third network condition corresponding to part of terminals in the appointed number of terminals in the first group of terminals, the second group of terminals and the third group of terminals as a third network state, and reducing the number of program updating of the part of terminals in the appointed number of terminals;
when the third network condition is judged to be normal, the number of program updating in partial terminals in the appointed number of terminals is reduced, and the network congestion is prevented.
In order to more clearly understand the present embodiment, a specific implementation of the program updating method of the present embodiment will be described in detail with reference to fig. 1 and 6.
After the user performs operations such as program making and updating, the server acquires network conditions of the user from the plurality of terminals, the plurality of terminals detect the network of the user, acquire real-time network condition indexes and send the real-time network condition indexes to the server, and then the server judges conditions of the terminals according to reported data of the terminals to perform corresponding operations.
If the network condition of the terminal is good, that is, the network condition of the terminal is in the second network state, the server sends statement program update data to enable the terminal to perform program update operation, and the maximum transmission rate is kept to ensure quick program update.
If the terminal network condition is general, namely, the terminal network condition is in a third network state, program updating operation is carried out on selected part of terminals in the terminal, the transmission rate is reduced, stable downloading of a plurality of terminal networks is ensured, and after the downloading is finished, the terminals which are not updated by the rest programs are dynamically started to start program updating.
If the terminal network condition is worse, namely, the terminal network condition is in a first network state, suspending program updating of the terminal, then waiting for network condition change, judging which network state the network condition belongs to, then carrying out corresponding operation, and responding in time.
If the terminal has poor long-time network condition, namely the terminal is always in the first network state in the appointed time, the user is timely reminded of network abnormality, and detection, processing and recovery of the corresponding terminal network are carried out.
If the server does not receive the feedback of the network condition of the terminal, the program updating operation is terminated, the network condition is continuously acquired from the terminal, and if the information cannot be acquired beyond the appointed time, for example, 30 minutes, the user is prompted that the network is abnormal and maintenance is requested.
In the process of updating and downloading programs by the terminal, the terminal detects the network condition in real time, and timely notifies the server to make corresponding processing after the network condition changes.
If the network condition becomes poor, the program update process is carried out again after the network condition becomes good. After the network duration is worse than a specified period of time, for example, 30 minutes, informing and prompting a user that the corresponding terminal is abnormal, and informing the user of processing maintenance;
if the network condition is worse, suspending the program updating operation of part of terminals, and if the network condition is improved in the lasting time, immediately starting to continue downloading;
If the network condition is common, the number of updating the terminal program is reduced, so that the terminal can update stably;
if the network condition is good, program updating and downloading are carried out;
if the server does not receive the feedback of the network condition of the terminal, and the program updating process of the terminal is abnormal, the program updating operation is stopped, the network condition is continuously acquired from the terminal, and if the information cannot be acquired for more than a specified time, for example, 30 minutes, the user is prompted that the network is abnormal and maintenance is requested.
In summary, in the prior art, the server does not dynamically adjust program update of the terminal according to the network change condition of the terminal, that is, in the case of network fluctuation, an intervention process needs to be performed manually.
[ second embodiment ]
As shown in fig. 7 to 8, a program update processing apparatus 700 according to a second embodiment of the present invention includes: a first instruction sending module 701, a first condition judging module 702, a second instruction sending module 703, a second condition judging module 704 and a program matting updating module 705.
A first instruction sending module 701, configured to send a network information request instruction to a plurality of terminals, so that some or all of the plurality of terminals respectively respond to the network information request instruction to reply to first network information;
a first condition judging module 702, configured to judge a first network condition of a corresponding terminal according to the received first network information;
a second instruction sending module 703, configured to respond to a first network condition corresponding to each terminal of the first group of terminals in the part or all of terminals being a first network state, and periodically send the network information request instruction to each terminal of the first group of terminals, so that each terminal of the first group of terminals replies with second network information in response to the network information request instruction;
a second condition judging module 704, configured to judge a second network condition of a corresponding terminal according to the received second network information;
And the program updating module 705 is configured to send program updating data to the first terminals in the first group of terminals to start program updating in response to the second network condition corresponding to the first terminals in the first group of terminals being in the second network state.
Further, the program updating apparatus 700 provided in this embodiment further includes:
a first issuing module 706, configured to issue the program update data to each terminal in the second group of terminals to start program update in response to a first network condition corresponding to each terminal in the second group of terminals being a second network state;
a second issuing module 707, configured to, in response to a first network condition corresponding to each terminal in a third group of terminals in the part or all of the terminals being a third network state, select a specified number of terminals in the third group of terminals, and issue the program update data to each terminal in the specified number of terminals in the third group of terminals to start program update;
wherein there is no intersection between the second set of terminals, the third set of terminals and the first set of terminals;
further, the program updating apparatus 700 provided in this embodiment further includes:
A first display module 708, configured to display that each terminal in the fourth group of terminals is abnormal in network, in response to each terminal in the fourth group of terminals except the part of terminals not replying to the first network information within a specified time;
further, the program updating apparatus 700 provided in this embodiment further includes:
a second display module 709, configured to respond to the second network condition corresponding to the first terminal in the first group of terminals being the first network state and lasting for a specified time, and display that a network abnormality occurs in the first terminal in the first group of terminals;
further, the program updating apparatus 700 provided in this embodiment further includes:
a first receiving module 710, configured to periodically receive third network information reported by the first terminal in the first group of terminals;
a third condition determining module 711, configured to determine a third network condition of the first terminal in the first group of terminals according to the received third network information;
a termination module 712 configured to terminate the program update of the first terminal in the first group of terminals in response to the third network condition of the first terminal in the first group of terminals being a fourth network state;
A suspension module 713 for suspending the program update of the first terminals of the first group of terminals in response to the third network condition of the first terminals of the first group of terminals being the first network state;
further, the program updating apparatus 700 provided in this embodiment further includes:
a third instruction sending module 714, configured to periodically send the network information request instruction to the first terminal in the first group of terminals;
a second receiving module 715, configured to respond to receiving, within a specified time, fourth network information replied by the first terminal in the first group of terminals in response to the network information request instruction;
a fourth condition determining module 716, configured to determine a fourth network condition of the first terminal in the first group of terminals according to the received fourth network information;
a restart module 717 for restarting the program update of the first terminals in the first group of terminals in response to the fourth network condition of the first terminals in the first group of terminals being a second network state;
further, the program updating apparatus 700 provided in this embodiment further includes:
A third receiving module 718, configured to periodically receive third network information respectively reported by a specified number of terminals in the first group of terminals, the second group of terminals, and the third group of terminals;
a fifth situation judging module 719, configured to judge a third network situation of the corresponding terminal according to the received third network information;
and a reducing module 720, configured to reduce, in response to the third network condition corresponding to a part of terminals in the specified number of terminals in the first group of terminals, the second group of terminals, and the third group of terminals being a third network state, the number of program updates performed by the part of terminals in the specified number of terminals.
The program updating method implemented by the program updating apparatus disclosed in this embodiment is as described in the foregoing first embodiment, and thus will not be described in detail here. Optionally, each module in the second embodiment and the other operations or functions described above are respectively for implementing the method in the first embodiment of the present invention, and the beneficial effects of this embodiment are the same as those of the first embodiment, and are not described herein for brevity.
[ third embodiment ]
As shown in fig. 8, a program updating system 800 according to a third embodiment of the present invention includes: a processor 801 and a memory 803; wherein the memory 803 stores instructions for execution by the processor 801, and the instructions, for example, cause the processor 801 to perform operations to carry out the program update method described in the foregoing first embodiment.
It should be noted that, the program updating system 800 according to the present embodiment has instructions that cause the processor 801 to perform operations to perform the program updating method according to the first embodiment is described in the foregoing, so that a detailed description thereof will not be provided herein. Optionally, in order to implement the method in the first embodiment of the present invention, each processor and each memory in the present embodiment are the same as the technical effects of the program updating method in the first embodiment, and are not described herein.
[ fourth embodiment ]
As shown in fig. 9, a computer readable storage medium 900 according to a fourth embodiment of the present invention is a nonvolatile memory and stores computer readable instructions, and the computer readable instructions include instructions for performing the program updating method according to the first embodiment, so that a description thereof will not be given here. The computer readable storage medium 900 is, for example, a nonvolatile memory, including: magnetic media (e.g., hard disk, floppy disk, and magnetic strips), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices that are specially constructed for storing and performing computer-executable instructions (e.g., read-only memory (ROM), random Access Memory (RAM), flash memory, etc.). Computer-readable storage medium 900 may execute computer-readable instructions by one or more processors or processing devices.
In addition, the technical effects of the computer readable storage medium 900 disclosed in the present embodiment are the same as those of the program updating method in the first embodiment, and will not be described herein.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments may be arbitrarily combined and matched without conflict in technical features, contradiction in structure, and departure from the purpose of the present invention.
In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and/or methods may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and the division of the units/modules is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units/modules described as separate units may or may not be physically separate, and units/modules may or may not be physically units, may be located in one place, or may be distributed on multiple network units. Some or all of the units/modules may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated in one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated in one unit/module. The integrated units/modules may be implemented in hardware or in hardware plus software functional units/modules.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A program update method, comprising:
a network information request instruction is sent to a plurality of terminals, and a part or all of the terminals respectively respond to the network information request instruction to reply to first network information;
judging a first network condition of a corresponding terminal according to the received first network information;
responding to a first network condition corresponding to each terminal of a first group of terminals in the part or all of terminals to be in a first network state, and periodically sending the network information request instruction to each terminal of the first group of terminals so as to enable each terminal of the first group of terminals to respond to the network information request instruction to reply to second network information;
judging a second network condition of the corresponding terminal according to the received second network information;
responding to a second network condition corresponding to a first terminal in the first group of terminals to be in a second network state, and transmitting program update data to the first terminal in the first group of terminals to start program update; wherein, the liquid crystal display device comprises a liquid crystal display device,
after the first network condition of the corresponding terminal is judged according to the received first network information, the method further comprises the following steps:
responding to the first network condition corresponding to each terminal of a second group of terminals in the part or all of terminals to be in a second network state, and transmitting the program update data to each terminal of the second group of terminals to start program update;
Responding to the first network condition corresponding to each terminal in a third group of terminals in the part or all of the terminals as a third network state, selecting a specified number of terminals in the third group of terminals, and transmitting the program update data to each terminal in the specified number of terminals in the third group of terminals to start program update;
wherein there is no intersection between the second set of terminals, the third set of terminals and the first set of terminals.
2. The program updating method as claimed in claim 1, wherein after said transmitting the network information request command to the plurality of terminals, if some of the plurality of terminals reply to the first network information in response to the network information request command, respectively, then further comprising:
and displaying that each terminal in the fourth group of terminals is abnormal in network in response to each terminal in the fourth group of terminals except the part of terminals not replying to the first network information within a designated time.
3. The program updating method according to claim 1, further comprising, after said judging a second network condition of a corresponding terminal based on said received second network information:
And responding to the condition of the second network corresponding to the first terminal in the first group of terminals as the first network state and lasting for a specified time, and displaying that the first terminal in the first group of terminals has network abnormality.
4. The program update method of claim 1, wherein said issuing the program update data to each of the second group of terminals to start program update in response to the first network condition corresponding to each of the second group of terminals being a second network state, comprises:
and transmitting the program update data to each terminal in the second group of terminals, and maintaining the corresponding maximum transmission rate to start the program update.
5. The program update method of claim 1, further comprising, after said issuing program update data to a first terminal of said first group of terminals to start a program update:
periodically receiving third network information reported by the first terminal in the first group of terminals;
judging a third network condition of the first terminal in the first group of terminals according to the received third network information;
Terminating the program update for the first terminal of the first group of terminals in response to the third network condition of the first terminal of the first group of terminals being a fourth network state;
and suspending the program update of the first terminal in the first group of terminals in response to the third network condition of the first terminal in the first group of terminals being the first network state.
6. The program update method of claim 5, further comprising, after said terminating said program update for said first terminal in said first set of terminals:
periodically sending the network information request instruction to the first terminal in the first group of terminals;
responding to fourth network information replied by the first terminal responding to the network information request instruction in the first group of terminals received in a designated time;
judging a fourth network condition of the first terminal in the first group of terminals according to the received fourth network information;
and restarting the program update of the first terminal in the first group of terminals in response to the fourth network condition of the first terminal in the first group of terminals being a second network state.
7. The program update method of claim 1, further comprising, after said issuing said program update data to each of said specified number of terminals of said third group of terminals to start program update:
periodically receiving third network information respectively reported by terminals in the designated number in the first group of terminals, the second group of terminals and the third group of terminals;
judging a third network condition of the corresponding terminal according to the received third network information;
and responding to the third network condition corresponding to part of terminals in the appointed number of terminals in the first group of terminals, the second group of terminals and the third group of terminals to be in a third network state, and reducing the number of the program updating performed by the part of terminals in the appointed number of terminals.
8. A program updating apparatus for performing the program updating method according to any one of claims 1 to 7, characterized in that the program updating apparatus comprises:
the first instruction sending module is used for sending a network information request instruction to a plurality of terminals so that part or all of the terminals respectively respond to the network information request instruction to reply to first network information;
The first condition judging module is used for judging the first network condition of the corresponding terminal according to the received first network information;
the second instruction sending module is used for responding to the first network condition corresponding to each terminal of the first group of terminals in the part or all of terminals as a first network state, periodically sending the network information request instruction to each terminal of the first group of terminals, and responding to the network information request instruction by each terminal of the first group of terminals to reply to second network information;
the second condition judging module is used for judging a second network condition of the corresponding terminal according to the received second network information;
the program updating module is used for responding to the second network condition corresponding to the first terminal in the first group of terminals as a second network state and transmitting program updating data to the first terminal in the first group of terminals so as to start program updating; and
the first issuing module is used for issuing the program update data to each terminal in the second group of terminals to start program update in response to the condition that the first network condition corresponding to each terminal in the second group of terminals in the part or all of terminals is in a second network state;
The second issuing module is used for responding to the condition that the first network condition corresponding to each terminal in a third group of terminals in the part or all of the terminals is a third network state, selecting a specified number of terminals in the third group of terminals, and issuing the program update data to each terminal in the specified number of terminals in the third group of terminals so as to start program update;
wherein there is no intersection between the second set of terminals, the third set of terminals and the first set of terminals.
9. A program update processing system, comprising: a processor and a memory coupled to the processor; wherein the memory stores instructions for execution by the processor and the instructions cause the processor to perform operations for performing the program update method of any one of claims 1 to 7.
CN202010092120.4A 2020-02-14 2020-02-14 Program updating method, device and system Active CN113271282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010092120.4A CN113271282B (en) 2020-02-14 2020-02-14 Program updating method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010092120.4A CN113271282B (en) 2020-02-14 2020-02-14 Program updating method, device and system

Publications (2)

Publication Number Publication Date
CN113271282A CN113271282A (en) 2021-08-17
CN113271282B true CN113271282B (en) 2023-06-20

Family

ID=77227181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010092120.4A Active CN113271282B (en) 2020-02-14 2020-02-14 Program updating method, device and system

Country Status (1)

Country Link
CN (1) CN113271282B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209077A (en) * 2011-06-09 2011-10-05 山东大学 Improved-transmission control protocol-friendly multicast congestion control (TFMCC)-protocol-based communication method
CN107493518A (en) * 2017-08-15 2017-12-19 深圳创维数字技术有限公司 IPTV terminal network egress switching method, device and readable storage medium storing program for executing

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100585724B1 (en) * 2003-08-18 2006-06-07 엘지전자 주식회사 Method for notifying network state of general packet radio service system
CN101997861B (en) * 2009-08-27 2013-08-28 杭州华三通信技术有限公司 Data storage method and equipment
CN102148662B (en) * 2011-03-21 2014-01-15 大唐移动通信设备有限公司 Adjusting method and device for data transmitting speed
CN103458466B (en) * 2012-05-30 2017-04-12 株式会社日立制作所 Flow control device, flow control method, network flow management system, and network flow management method
CN103516796B (en) * 2013-09-26 2016-09-21 深圳酷派技术有限公司 Data processing method in the case of a kind of weak signal and system
US9904535B2 (en) * 2015-09-14 2018-02-27 At&T Intellectual Property I, L.P. Method and apparatus for distributing software
CN105376144B (en) * 2015-12-04 2019-06-18 小米科技有限责任公司 Information processing method and device
CN106485803A (en) * 2016-11-07 2017-03-08 上海外服宝信信息技术有限公司 A kind of offline punch card method, terminal, server and system
CN108093019B (en) * 2016-11-23 2020-12-04 腾讯科技(深圳)有限公司 Member information refreshing method and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209077A (en) * 2011-06-09 2011-10-05 山东大学 Improved-transmission control protocol-friendly multicast congestion control (TFMCC)-protocol-based communication method
CN107493518A (en) * 2017-08-15 2017-12-19 深圳创维数字技术有限公司 IPTV terminal network egress switching method, device and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN113271282A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN106909411A (en) A kind of file updating method and device
CN110794800A (en) Monitoring system for wisdom mill information management
CN106851799B (en) Method and device for sending heartbeat packet in long connection
CN103955381A (en) Method and system for management server to perform batch software update on terminal equipment
US20130055271A1 (en) Apparatus and method for controlling polling
CN107483297B (en) Active monitoring system and method for quality of service carried on embedded equipment
CN113590337B (en) Method and device for automatically adjusting cloud host configuration in cloud environment
CN103024065A (en) System configuration management method for cloud storage system
CN111953785B (en) Data transmission method, system and server
CN112272291A (en) Video storage method, device, management equipment and readable storage medium
CN106789913B (en) User account management method and device
CN113271282B (en) Program updating method, device and system
CN113765743A (en) Intelligent gateway working state monitoring method
CN113765690A (en) Cluster switching method, system, device, terminal, server and storage medium
CN113220421A (en) Management method, management server and management system of server cluster
CN108092829A (en) Processing method, SDN controllers and the storage medium of cluster division
CN116667945A (en) Instrument cluster testing method, instrument cluster system, equipment and storage medium
CN101227330B (en) Method and system for history performance data collection
US20090083747A1 (en) Method for managing application programs by utilizing redundancy and load balance
CN109144788B (en) Method, device and system for reconstructing OSD
CN114090369A (en) Service instance monitoring method, device and storage medium
KR102518774B1 (en) Apparatus and method for high available facility control managing electric power distribution system
CN115865651B (en) Data acquisition method and device, electronic equipment and storage medium
CN112954035B (en) Server restarting method, device, equipment and storage medium
CN112995571B (en) Communication management method and communication management device for wireless conference system

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