CN111459514A - Terminal upgrading processing method, server and base station - Google Patents

Terminal upgrading processing method, server and base station Download PDF

Info

Publication number
CN111459514A
CN111459514A CN201910047318.8A CN201910047318A CN111459514A CN 111459514 A CN111459514 A CN 111459514A CN 201910047318 A CN201910047318 A CN 201910047318A CN 111459514 A CN111459514 A CN 111459514A
Authority
CN
China
Prior art keywords
terminal
upgrade
version number
terminal type
base station
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
CN201910047318.8A
Other languages
Chinese (zh)
Other versions
CN111459514B (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.)
Potevio Information Technology Co Ltd
Original Assignee
Potevio Information 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 Potevio Information Technology Co Ltd filed Critical Potevio Information Technology Co Ltd
Priority to CN201910047318.8A priority Critical patent/CN111459514B/en
Publication of CN111459514A publication Critical patent/CN111459514A/en
Application granted granted Critical
Publication of CN111459514B publication Critical patent/CN111459514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a processing method for terminal upgrading, a server and a base station, wherein the method comprises the following steps: sending an upgrade command to a base station, so that the base station generates first packet information after receiving the upgrade command, and periodically sends a first page carrying the first packet information to a terminal; receiving a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all return messages; if yes, sending an updating effective instruction to the base station so that the base station can generate second packaging information, and sending a second paging carrying the second packaging information to each terminal corresponding to the terminal type; the server executes the method; the base station performs another method. The method, the server and the base station provided by the embodiment of the invention can effectively control the terminal.

Description

Terminal upgrading processing method, server and base station
Technical Field
The embodiment of the invention relates to the technical field of terminal management and control, in particular to a processing method for terminal upgrading, a server and a base station.
Background
In order to effectively manage and control a terminal by a network management server (hereinafter referred to as a "server"), the terminal generally needs to be upgraded, and the upgrading mode of terminal upgrading is particularly important for effectively managing and controlling the terminal by the server.
In the prior art, a server is generally adopted to periodically designate one or a small number of designated terminals which are not upgraded to simultaneously upgrade, each terminal occupies one subband or one channel in the upgrading process, but when the number of terminals needing upgrading is large, the upgrading mode needs to occupy frequency spectrum resources for a long time and influences the transmission of normal services.
Therefore, how to avoid the above-mentioned defects and effectively manage and control the terminal by adopting a reasonable terminal upgrading mode, and then reduce the time that the terminal occupies the spectrum resource due to upgrading, so that the terminal can have more time for service transmission, and improve the utilization rate of the time-frequency resource, which becomes a problem to be solved urgently.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a processing method for terminal upgrading, a server and a base station.
The embodiment of the invention provides a processing method for terminal upgrading, which comprises the following steps:
sending an upgrade command to a base station, so that the base station generates first packet information after receiving the upgrade command, and periodically sends a first page carrying the first packet information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
receiving a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
if yes, sending an updating validation instruction to the base station so that the base station can generate second packaging information, and sending a second paging carrying the second packaging information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
The embodiment of the invention also provides a processing method for terminal upgrading, which comprises the following steps:
receiving an upgrading command sent by a server, and generating first packaging information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
periodically sending a first paging carrying the first packet information to a terminal;
receiving a return message which is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
receiving an updating effective instruction sent by the server when the server is determined to be yes, generating second packaged information, and sending a second paging carrying the second packaged information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
An embodiment of the present invention provides a server, including:
the first sending module is used for sending an upgrade command to a base station so that the base station generates first paging information after receiving the upgrade command and periodically sends a first page carrying the first paging information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
a determining module, configured to receive a return message, which is forwarded by the base station and is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determine whether all terminals corresponding to the terminal type have received the upgrade data packet according to the number of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
a second sending module, configured to send an update validation instruction to the base station if the determination result is yes, so that the base station generates second packet information, and sends a second page carrying the second packet information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
An embodiment of the present invention provides an electronic device, including: a first processor, a first memory, and a first bus, wherein,
the first processor and the first memory are communicated with each other through the first bus;
the first memory stores program instructions executable by the first processor, the first processor invoking the program instructions to perform a method comprising:
sending an upgrade command to a base station, so that the base station generates first packet information after receiving the upgrade command, and periodically sends a first page carrying the first packet information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
receiving a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
if yes, sending an updating validation instruction to the base station so that the base station can generate second packaging information, and sending a second paging carrying the second packaging information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform a method comprising:
sending an upgrade command to a base station, so that the base station generates first packet information after receiving the upgrade command, and periodically sends a first page carrying the first packet information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
receiving a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
if yes, sending an updating validation instruction to the base station so that the base station can generate second packaging information, and sending a second paging carrying the second packaging information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
An embodiment of the present invention provides a base station, including:
the first generation unit is used for receiving an upgrade command sent by the server and generating first packing information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
a sending unit, configured to periodically send a first page carrying the first paging information to a terminal;
the forwarding unit is used for receiving a return message which is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
a second generating unit, configured to receive an update validation instruction sent by the server when the determination result is yes, generate second packet information, and send a second page carrying the second packet information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
An embodiment of the present invention provides an electronic device, including: a second processor, a second memory, and a second bus, wherein,
the second processor and the second memory complete mutual communication through the second bus;
the second memory stores program instructions executable by the second processor, the second processor invoking the program instructions to perform the method of:
receiving an upgrading command sent by a server, and generating first packaging information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
periodically sending a first paging carrying the first packet information to a terminal;
receiving a return message which is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
receiving an updating effective instruction sent by the server when the server is determined to be yes, generating second packaged information, and sending a second paging carrying the second packaged information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform a method comprising:
receiving an upgrading command sent by a server, and generating first packaging information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
periodically sending a first paging carrying the first packet information to a terminal;
receiving a return message which is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
receiving an updating effective instruction sent by the server when the server is determined to be yes, generating second packaged information, and sending a second paging carrying the second packaged information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
According to the terminal upgrading processing method, the server and the base station provided by the embodiment of the invention, firstly, the terminal corresponding to the terminal type needing upgrading sends the return message after receiving the upgrading data packet, then, all the terminals are determined to receive the upgrading data packet according to the number of the return messages, and then, the upgrading version number in all the terminals is enabled to take effect by sending the second packaging information, so that the terminals can be effectively controlled by adopting a reasonable terminal upgrading mode, the time of the terminals occupying frequency spectrum resources due to upgrading is further reduced, the terminals can have more time for service transmission, and the time-frequency resource utilization rate is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flowchart of an embodiment of a processing method for upgrading a terminal according to the present invention;
FIG. 2 is a flowchart of another embodiment of a method for processing terminal upgrade according to the present invention;
FIG. 3 is a flowchart of another embodiment of a method for processing terminal upgrade according to the present invention;
FIG. 4 is a diagram illustrating a server structure according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a base station structure according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of an embodiment of a processing method for terminal upgrade according to the present invention, and as shown in fig. 1, the processing method for terminal upgrade provided in the embodiment of the present invention includes the following steps:
s101: sending an upgrade command to a base station, so that the base station generates first packet information after receiving the upgrade command, and periodically sends a first page carrying the first packet information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrade command carries the first flag bit and the terminal type.
Specifically, the server sends an upgrade command to the base station, so that the base station generates first paging information after receiving the upgrade command, and periodically sends a first page carrying the first paging information to the terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrade command carries the first flag bit and the terminal type. The upgrade version number may specifically be a upgrade version number of software that needs to be deployed in the terminal, for example V1.1. The 'designated sub-band' in the starting sub-band number of the designated sub-band carrying the upgrade data packet may be selected according to actual conditions, for example, may be selected as a broadcast sub-band, a logic sub-band, a resident sub-band, and the like, and represents the frequency domain resource occupied by the upgrade data packet. The first flag bit indicating the update command may be understood as a command flag bit informing the terminal of receiving the upgrade data packet, and may be represented by zero. The terminal type of the terminal needing to be upgraded can be understood as the terminal type of the terminal which is upgraded at this time.
Fig. 2 is a flowchart of another embodiment of the processing method for upgrading a terminal according to the present invention, as shown in fig. 2, a server corresponds to "network management" in fig. 2, and may use a first preset format to represent first package information, where the first preset format corresponds to "DCI 1" in fig. 2. The sending period value for periodically sending the first paging can be set autonomously according to the actual situation. It should be noted that: if the terminal happens to be in service transmission in one transmission period, the terminal cannot respond to the first paging in the transmission period, the terminal continues to monitor the first paging after the current service transmission is finished and the resident subband is returned, and the terminal can respond to the first paging when the first paging is transmitted again.
S102: receiving a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all return messages; and the terminal corresponding to the terminal type compares the upgrade version number with the local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different.
Specifically, the server receives a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type to indicate that the upgrade data packet has been received, and determines whether all terminals corresponding to the terminal type have received the upgrade data packet according to the number of all return messages; and the terminal corresponding to the terminal type compares the upgrade version number with the local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different. The return message may be returned to the base station by means of the MAC control element as shown in fig. 2. Examples are as follows: the terminal types comprise an A type and a B type, and 50 terminals corresponding to the A type terminal types are provided; all terminals corresponding to the type B terminal type are 100; in step S101, the number of terminals in the first paging sent to the terminal periodically may be 150, and if the terminal type carried in the upgrade order is a type, the terminal of the type a recognizes that the terminal type is a type after receiving the first paging, and the terminal type of the terminal is a type, and the comparison results are consistent, the step of comparing the upgrade version number with the local upgrade version number according to the first flag bit is executed; if the terminal of type B recognizes that the terminal type is type a and the terminal type itself is type B after receiving the first page, the comparison result is not consistent, the step of comparing the upgrade version number with the local upgrade version number according to the first flag bit is not performed, which can be understood as follows: the A-type terminal can confirm that the instruction sent by the server is an instruction updating command according to the first mark bit, so that the comparison between the upgrading version number and the local upgrading version number is carried out, and if the upgrading version number is higher than the local upgrading version number, the terminal needs to be upgraded; if the upgrade version number is equal to the local upgrade version number, the terminal does not need to be upgraded; in general, the situation that the upgrade version number is smaller than the local upgrade version number does not occur.
Further, the step may specifically be: and if the number is equal to the number of all the terminals, determining that all the terminals have received the upgrade data packet. Referring to the above example, when the number of the return messages in the server is 50, that is, the number is equal to 50 of the total number of the a-type terminals, it is determined that all the a-type terminals have received the upgrade data packet, and further, the server may identify which terminals have sent the return messages and which terminals have not sent the return messages by carrying the terminal identifiers in the return messages.
And if the quantity is judged to be unequal to the quantity of all the terminals, determining that all the terminals do not receive the upgrade data packet. Referring to the above example, when the number of return messages in the server is less than 50, i.e. not equal to the total number of a-type terminals 50 (normally, there will be no more than 50), it is determined that all the a-type terminals have not received the upgrade data packet. It should be noted that: if the terminal receives the upgrade data packet and sends a return message, but the server does not receive the return message possibly due to network faults and other factors, the network state between the message receiving and sending objects can be further monitored, and when faults occur, the faults are timely processed.
S103: if yes, sending an updating validation instruction to the base station so that the base station can generate second packaging information, and sending a second paging carrying the second packaging information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
Specifically, if the server determines that the terminal type is the first paging type, the server sends an update validation instruction to the base station, so that the base station generates second packet information, and sends a second paging carrying the second packet information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit. The second packetization information may be represented in a second preset format, which corresponds to "DCI 2" in fig. 2. With reference to the above examples, it will be appreciated that: each A-type terminal can confirm that the instruction sent by the server is an instruction for indicating updating validation according to the second flag bit, so that comparison between the updating version number and the updating version number to be updated validated is performed (namely, the version number of the previously received updating data packet is ensured to be consistent with the version number to be updated validated), and if the comparison result is the same, the flag bit representing the updating state is further set to be 1 to indicate that the updating version number corresponding to the updating data packet is validated. The effective time can be set independently according to actual conditions, and can be selected to be 1 minute.
According to the processing method for terminal upgrading provided by the embodiment of the invention, firstly, the terminal corresponding to the terminal type needing upgrading sends the return message after receiving the upgrading data packet, then, all the terminals are determined to receive the upgrading data packet according to the number of the return messages, and then, the second packaging information is sent, so that the upgrading version number in all the terminals can be effectively controlled by adopting a reasonable terminal upgrading mode, the time of the terminals occupying frequency spectrum resources due to upgrading is further reduced, the terminals can have more time for service transmission, and the utilization rate of time-frequency resources is improved.
On the basis of the foregoing embodiment, the determining, according to the number of all the return messages, whether all the terminals corresponding to the terminal type have received the upgrade data packet includes:
and if the number is equal to the number of all the terminals, determining that all the terminals have received the upgrade data packet.
Specifically, if the server judges that the number is equal to the number of all the terminals, it is determined that all the terminals have received the upgrade data packet. Reference may be made to the above embodiments, which are not described in detail.
And if the quantity is judged to be unequal to the quantity of all the terminals, determining that all the terminals do not receive the upgrade data packet.
Specifically, if the server judges that the number is not equal to the number of all terminals, it is determined that all terminals do not receive the upgrade data packet. Reference may be made to the above embodiments, which are not described in detail.
The processing method for terminal upgrade provided by the embodiment of the invention can further effectively control the terminal by adopting a reasonable terminal upgrade mode, thereby reducing the time of the terminal for occupying frequency spectrum resources due to upgrade, enabling the terminal to have more time for service transmission and improving the utilization rate of time-frequency resources.
Fig. 3 is a flowchart of another embodiment of the processing method for terminal upgrade according to the present invention, and as shown in fig. 3, the processing method for terminal upgrade provided in the embodiment of the present invention includes the following steps:
s301: receiving an upgrading command sent by a server, and generating first packaging information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrade command carries the first flag bit and the terminal type.
Specifically, the base station receives an upgrade command sent by the server and generates first package information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrade command carries the first flag bit and the terminal type. The first packetization information may be represented by a first preset format, and the first preset format (DCI1) may specifically be as follows:
DCI 1: (updating DCI)
flag: flag is zero in DCI1, indicating a first flag bit indicating an update command; 1 bit;
subbandidix: carrying the initial sub-band number of the appointed sub-band of the upgrade data packet (the appointed sub-band can be selected from a broadcast sub-band, a logic sub-band and a resident sub-band); value [0,477 ]; 9 bit;
updateVersion: the upgrading version number in the DCI1 is used for comparing with the version number stored by the terminal to determine whether upgrading is needed; 1 bit:
the terminal types of the terminals needing to be upgraded are that the value range is 0 for serial port L CM, 1 for internet port L CM, 2 for chip, 3 for CPE and 2 bit.
S302: and periodically sending a first paging carrying the first packet information to a terminal.
Specifically, the base station periodically sends a first paging carrying the first paging information to the terminal. The specific value of the sending period can be set independently according to the actual situation.
S303: receiving a return message which is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; and the terminal corresponding to the terminal type compares the upgrade version number with the local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different.
Specifically, the base station receives a return message which is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and forwards all the return messages to the server, so that the server determines whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the number of all the return messages; and the terminal corresponding to the terminal type compares the upgrade version number with the local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different. Reference is made to the description of fig. 2, and the description is omitted.
S304: receiving an updating effective instruction sent by the server when the server is determined to be yes, generating second packaged information, and sending a second paging carrying the second packaged information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
Specifically, the base station receives an update validation instruction sent by the server when the server determines that the update validation instruction is valid, generates second packaging information, and sends a second page carrying the second packaging information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit. The second bundling information may be represented by a second preset format, and the second preset format (DCI2) may specifically be as follows:
DCI 2: (update effective DCI)
flag: flag in DCI2 is 1, indicating a second flag bit indicating an update validation instruction; 1 bit;
updateVersion: the effective upgrade version number to be updated in the DCI2 is used for comparing with the upgrade version number in the original DCI1 in the terminal to determine whether the effective upgrade version number needs to be effective or not; 1 bit;
InUseTime: the effective time; i.e. the terminal performs the update operation the first few minutes after receiving the second flag bit. Optionally 1, 3, 5, 10; unit: min; 3 bit.
The whole flow of the embodiment of the present invention is briefly described below with reference to fig. 2:
1. the network management (server) sends an upgrade order to the base station.
2. The base station acquires the upgrade data packet from the local FTP and issues a page (updating DCI, namely DCI1) to a certain type of terminals.
3. The terminal in idle state monitors paging; and after finishing the current service transmission, the terminal with the service returns to the resident subband to monitor paging.
4. The base station sends paging periodically and sends upgrading data packets in the appointed sub-band.
5. After monitoring the paging, the terminal descrambles by using two modes of P-RNTI and G-RNTI; if the paging request is P-RNTI, entering a common paging flow; if the local upgrade version number is not consistent with the upgrade version number carried in the paging, the following upgrade process is carried out.
6. And the terminal receives the upgrading data packet at the appointed sub-band, returns the resident sub-band after finishing the upgrading data packet, and sends a return message to the base station in a mode of sending the MAC control unit.
7. After receiving a return message, the base station forwards the return message to the network manager to count the upgrading percentage.
8. And after the upgrade percentage reaches one hundred percent (namely all the terminals receive the upgrade data packets correctly), the network manager sends an update effective instruction to the base station, and the base station receives the update effective DCI (DCI2) sent by the specified sub-band.
9. The terminal continues to listen for pages to obtain DCI 2; and simultaneously monitoring whether downlink services exist, if the downlink services exist, processing according to a normal downlink service flow, and if the uplink services exist, directly sending the SR.
10. And after the service processing is finished, the terminal compares whether the upgrade version number is consistent with the upgrade version number to be updated and validated in the DCI2, and if so, the upgrade operation is finished.
According to the processing method for terminal upgrading provided by the embodiment of the invention, firstly, the terminal corresponding to the terminal type needing upgrading sends the return message after receiving the upgrading data packet, then, all the terminals are determined to receive the upgrading data packet according to the number of the return messages, and then, the second packaging information is sent, so that the upgrading version number in all the terminals can be effectively controlled by adopting a reasonable terminal upgrading mode, the time of the terminals occupying frequency spectrum resources due to upgrading is further reduced, the terminals can have more time for service transmission, and the utilization rate of time-frequency resources is improved.
On the basis of the above embodiment, the method further includes:
and respectively representing the first packing information and the second packing information by adopting a first preset format and a second preset format.
Specifically, the base station respectively represents the first packing information and the second packing information by adopting a first preset format and a second preset format. Reference may be made to the description of the above embodiments, which are not repeated.
The processing method for terminal upgrading provided by the embodiment of the invention can more intuitively and conveniently represent the first packaging information and the second packaging information.
On the basis of the above embodiment, the first preset format is: the flag-subtianddx-updateVersion needs to upgrade the terminal type of the terminal; when the flag is zero, the flag represents a first flag bit indicating an update command; subbandldx represents the starting subband number of the specified subband carrying the upgrade data packet; updateVersion represents an upgrade version number; the second preset format is as follows: flag-updateVersion-InUseTime; when the flag is 1, the flag represents a second flag bit indicating an update validation instruction; updateVersion represents an upgrade version number to be updated to take effect; InUuseTime indicates the validation time.
Specifically, the first preset format in the base station is: the flag-subtianddx-updateVersion needs to upgrade the terminal type of the terminal; when the flag is zero, the flag represents a first flag bit indicating an update command; subbandldx represents the starting subband number of the specified subband carrying the upgrade data packet; updateVersion represents an upgrade version number; the second preset format is as follows: flag-updateVersion-InUseTime; when the flag is 1, the flag represents a second flag bit indicating an update validation instruction; updateVersion represents an upgrade version number to be updated to take effect; InUuseTime indicates the validation time. Reference may be made to the description of the above embodiments, which are not repeated.
The processing method for terminal upgrading provided by the embodiment of the invention can further more intuitively and conveniently represent the first packaging information and the second packaging information.
Fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention, and as shown in fig. 4, an embodiment of the present invention provides a server, including a first sending module 401, a determining module 402, and a second sending module 403, where:
the first sending module 401 is configured to send an upgrade command to a base station, so that the base station generates first paging information after receiving the upgrade command, and periodically sends a first page carrying the first paging information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; the determining module 402 is configured to receive a return message, which is forwarded by the base station and is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determine whether all terminals corresponding to the terminal type have received the upgrade data packet according to the number of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; the second sending module 403 is configured to send an update validation instruction to the base station if the determination is yes, so that the base station generates second packet information, and sends a second page carrying the second packet information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
Specifically, the first sending module 401 is configured to send an upgrade command to a base station, so that the base station generates first paging information after receiving the upgrade command, and periodically sends a first page carrying the first paging information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; the determining module 402 is configured to receive a return message, which is forwarded by the base station and is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determine whether all terminals corresponding to the terminal type have received the upgrade data packet according to the number of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; the second sending module 403 is configured to send an update validation instruction to the base station if the determination is yes, so that the base station generates second packet information, and sends a second page carrying the second packet information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
According to the server provided by the embodiment of the invention, the terminal corresponding to the terminal type needing upgrading sends the return message after receiving the upgrading data packet, the number of the return messages is determined, and then the upgrading data packet is received and completed by all the terminals, and the upgrading version number in all the terminals is enabled to take effect by sending the second packaging information.
The server provided in the embodiment of the present invention may be specifically configured to execute the processing flow of each of the method embodiments, and the functions of the server are not described herein again, and refer to the detailed description of the method embodiments.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device includes: a first processor (processor)501, a first memory (memory)502, and a first bus 503;
the first processor 501 and the first memory 502 complete communication with each other through a first bus 503;
the first processor 501 is configured to call program instructions in the first memory 502 to perform the methods provided by the above-mentioned method embodiments, for example, including: sending an upgrade command to a base station, so that the base station generates first packet information after receiving the upgrade command, and periodically sends a first page carrying the first packet information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; receiving a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; if yes, sending an updating validation instruction to the base station so that the base station can generate second packaging information, and sending a second paging carrying the second packaging information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: sending an upgrade command to a base station, so that the base station generates first packet information after receiving the upgrade command, and periodically sends a first page carrying the first packet information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; receiving a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; if yes, sending an updating validation instruction to the base station so that the base station can generate second packaging information, and sending a second paging carrying the second packaging information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: sending an upgrade command to a base station, so that the base station generates first packet information after receiving the upgrade command, and periodically sends a first page carrying the first packet information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; receiving a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; if yes, sending an updating validation instruction to the base station so that the base station can generate second packaging information, and sending a second paging carrying the second packaging information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
Fig. 6 is a schematic structural diagram of a base station according to an embodiment of the present invention, and as shown in fig. 6, an embodiment of the present invention provides a base station, which includes a first generating unit 601, a sending unit 602, a forwarding unit 603, and a second generating unit 604, where:
the first generating unit 601 is configured to receive an upgrade command sent by a server, and generate first package information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; the sending unit 602 is configured to periodically send a first page carrying the first paging information to a terminal; the forwarding unit 603 is configured to receive a return message indicating that the upgrade data packet has been received and returned by the terminal corresponding to the terminal type, and forward all the return messages to the server, so that the server determines, according to the number of all the return messages, whether all the terminals corresponding to the terminal type have received the upgrade data packet; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; a second generating unit 604, configured to receive an update validation instruction sent by the server when the determination result is yes, generate second packet information, and send a second page carrying the second packet information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
Specifically, the first generating unit 601 is configured to receive an upgrade command sent by a server, and generate first package information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; the sending unit 602 is configured to periodically send a first page carrying the first paging information to a terminal; the forwarding unit 603 is configured to receive a return message indicating that the upgrade data packet has been received and returned by the terminal corresponding to the terminal type, and forward all the return messages to the server, so that the server determines, according to the number of all the return messages, whether all the terminals corresponding to the terminal type have received the upgrade data packet; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; a second generating unit 604, configured to receive an update validation instruction sent by the server when the determination result is yes, generate second packet information, and send a second page carrying the second packet information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
The base station provided by the embodiment of the invention firstly sends the first packing information to ensure that the terminal corresponding to the terminal type needing to be upgraded sends the return information after receiving the upgrade data packet, then determines that all terminals receive the upgrade data packet according to the number of the return information, and then sends the second packing information to ensure that the upgrade version numbers in all terminals take effect, can effectively control the terminals by adopting a reasonable terminal upgrade mode, further reduces the time of the terminals occupying frequency spectrum resources due to upgrade, ensures that the terminals can have more time for service transmission, and improves the utilization rate of time-frequency resources.
The base station provided in the embodiment of the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the base station are not described herein again, and refer to the detailed description of the above method embodiments.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the electronic device includes: a second processor (processor)701, a second memory (memory)702, and a second bus 703;
the second processor 701 and the second memory 702 complete communication with each other through a second bus 703;
the second processor 701 is configured to call the program instructions in the second memory 702 to execute the method provided by the above-mentioned method embodiments, for example, including: receiving an upgrading command sent by a server, and generating first packaging information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; periodically sending a first paging carrying the first packet information to a terminal; receiving a return message which is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; receiving an updating effective instruction sent by the server when the server is determined to be yes, generating second packaged information, and sending a second paging carrying the second packaged information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: receiving an upgrading command sent by a server, and generating first packaging information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; periodically sending a first paging carrying the first packet information to a terminal; receiving a return message which is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; receiving an updating effective instruction sent by the server when the server is determined to be yes, generating second packaged information, and sending a second paging carrying the second packaged information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: receiving an upgrading command sent by a server, and generating first packaging information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type; periodically sending a first paging carrying the first packet information to a terminal; receiving a return message which is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different; receiving an updating effective instruction sent by the server when the server is determined to be yes, generating second packaged information, and sending a second paging carrying the second packaged information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the electronic device and the like are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A processing method for terminal upgrade is characterized by comprising the following steps:
sending an upgrade command to a base station, so that the base station generates first packet information after receiving the upgrade command, and periodically sends a first page carrying the first packet information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
receiving a return message which is forwarded by the base station and is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
if yes, sending an updating validation instruction to the base station so that the base station can generate second packaging information, and sending a second paging carrying the second packaging information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
2. The method of claim 1, wherein the determining whether all terminals corresponding to the terminal type have received the upgrade data packet according to the number of all return messages comprises:
if the number is equal to the number of all the terminals, determining that all the terminals have received the upgrade data packet;
and if the quantity is judged to be unequal to the quantity of all the terminals, determining that all the terminals do not receive the upgrade data packet.
3. A processing method for terminal upgrade is characterized by comprising the following steps:
receiving an upgrading command sent by a server, and generating first packaging information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
periodically sending a first paging carrying the first packet information to a terminal;
receiving a return message which is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
receiving an updating effective instruction sent by the server when the server is determined to be yes, generating second packaged information, and sending a second paging carrying the second packaged information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
4. The method of claim 3, further comprising:
and respectively representing the first packing information and the second packing information by adopting a first preset format and a second preset format.
5. The method of claim 4, wherein the first predetermined format is:
flag-subbandldx-updateVersion-the type of the terminal needing to be upgraded;
when the flag is zero, the flag represents a first flag bit indicating an update command; subbandldx represents the starting subband number of the specified subband carrying the upgrade data packet; updateVersion represents an upgrade version number;
the second preset format is as follows:
flag-updateVersion-InUseTime;
when the flag is 1, the flag represents a second flag bit indicating an update validation instruction; updateVersion represents an upgrade version number to be updated to take effect; InUuseTime indicates the validation time.
6. A server, comprising:
the first sending module is used for sending an upgrade command to a base station so that the base station generates first paging information after receiving the upgrade command and periodically sends a first page carrying the first paging information to a terminal; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
a determining module, configured to receive a return message, which is forwarded by the base station and is returned by a terminal corresponding to the terminal type and indicates that the upgrade data packet has been received, and determine whether all terminals corresponding to the terminal type have received the upgrade data packet according to the number of all return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
a second sending module, configured to send an update validation instruction to the base station if the determination result is yes, so that the base station generates second packet information, and sends a second page carrying the second packet information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
7. An electronic device, comprising: a first processor, a first memory, and a first bus, wherein:
the first processor and the first memory are communicated with each other through the first bus;
the first memory stores program instructions executable by the first processor, the first processor invoking the program instructions to perform the method of claim 1 or 2.
8. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of claim 1 or 2.
9. A base station, comprising:
the first generation unit is used for receiving an upgrade command sent by the server and generating first packing information; the first package information comprises an upgrade version number, a starting sub-band number of a specified sub-band carrying an upgrade data package, a first flag bit indicating an update command and a terminal type of a terminal needing to be upgraded; the upgrading command carries the first marking bit and the terminal type;
a sending unit, configured to periodically send a first page carrying the first paging information to a terminal;
the forwarding unit is used for receiving a return message which is returned by the terminal corresponding to the terminal type and indicates that the upgrade data packet is received completely, and forwarding all the return messages to the server so that the server can determine whether all the terminals corresponding to the terminal type have received the upgrade data packet according to the quantity of all the return messages; the terminal corresponding to the terminal type compares the upgrade version number with a local upgrade version number according to the first mark bit, and receives the upgrade data packet according to the initial sub-band number if the comparison result is different;
a second generating unit, configured to receive an update validation instruction sent by the server when the determination result is yes, generate second packet information, and send a second page carrying the second packet information to each terminal corresponding to the terminal type; each terminal compares the upgrade version number with the upgrade version number to be updated and validated according to a second mark bit indicating an update validation instruction, and if the comparison result is the same, executes an instruction for validating the upgrade version number; the second packaging information comprises the second marking bit, an upgrade version number to be updated and effective time; the validation time is used for controlling the time delay of each terminal corresponding to the terminal type for executing the update validation instruction after receiving the second marking bit.
10. An electronic device, comprising: a second processor, a second memory, and a second bus, wherein:
the second processor and the second memory complete mutual communication through the second bus;
the second memory stores program instructions executable by the second processor, the second processor invoking the program instructions to perform the method of any of claims 3 to 5.
11. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 3 to 5.
CN201910047318.8A 2019-01-18 2019-01-18 Terminal upgrading processing method, server and base station Active CN111459514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910047318.8A CN111459514B (en) 2019-01-18 2019-01-18 Terminal upgrading processing method, server and base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910047318.8A CN111459514B (en) 2019-01-18 2019-01-18 Terminal upgrading processing method, server and base station

Publications (2)

Publication Number Publication Date
CN111459514A true CN111459514A (en) 2020-07-28
CN111459514B CN111459514B (en) 2023-06-23

Family

ID=71682131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910047318.8A Active CN111459514B (en) 2019-01-18 2019-01-18 Terminal upgrading processing method, server and base station

Country Status (1)

Country Link
CN (1) CN111459514B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118313A (en) * 2020-09-17 2020-12-22 紫光展锐(重庆)科技有限公司 Method and related device for remotely upgrading terminal equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2157728A1 (en) * 1994-09-08 1996-03-09 Richard Allen Stupek Jr. Automatic Computer Upgrading
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN101060441A (en) * 2007-06-13 2007-10-24 华为技术有限公司 A method, equipment and system for controlling the upgrade of software version
WO2012019395A1 (en) * 2010-08-11 2012-02-16 中兴通讯股份有限公司 Packing method and device for version upgrade software package
CN102541596A (en) * 2011-12-22 2012-07-04 中标软件有限公司 Operating system upgrading method and device
CN103685495A (en) * 2013-12-05 2014-03-26 金蝶软件(中国)有限公司 Method and system for upgrading software
CN107770279A (en) * 2017-10-31 2018-03-06 深圳市银河风云网络系统股份有限公司 Remote upgrade method and system
CN108616913A (en) * 2016-12-15 2018-10-02 中国移动通信集团河南有限公司 A kind of call processing method, apparatus and system
GB201813775D0 (en) * 2017-09-13 2018-10-10 Fisher Rosemount Systems Inc Systems and methods for assessing configuration files associated with a process control system
US20180324119A1 (en) * 2017-05-05 2018-11-08 ShieldX Networks, Inc. Upgrading components of a messaging system used by a microservice-based application
CN108845812A (en) * 2018-05-31 2018-11-20 康键信息技术(深圳)有限公司 Update of plug-in method, apparatus, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2157728A1 (en) * 1994-09-08 1996-03-09 Richard Allen Stupek Jr. Automatic Computer Upgrading
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN101060441A (en) * 2007-06-13 2007-10-24 华为技术有限公司 A method, equipment and system for controlling the upgrade of software version
WO2012019395A1 (en) * 2010-08-11 2012-02-16 中兴通讯股份有限公司 Packing method and device for version upgrade software package
CN102541596A (en) * 2011-12-22 2012-07-04 中标软件有限公司 Operating system upgrading method and device
CN103685495A (en) * 2013-12-05 2014-03-26 金蝶软件(中国)有限公司 Method and system for upgrading software
CN108616913A (en) * 2016-12-15 2018-10-02 中国移动通信集团河南有限公司 A kind of call processing method, apparatus and system
US20180324119A1 (en) * 2017-05-05 2018-11-08 ShieldX Networks, Inc. Upgrading components of a messaging system used by a microservice-based application
GB201813775D0 (en) * 2017-09-13 2018-10-10 Fisher Rosemount Systems Inc Systems and methods for assessing configuration files associated with a process control system
CN107770279A (en) * 2017-10-31 2018-03-06 深圳市银河风云网络系统股份有限公司 Remote upgrade method and system
CN108845812A (en) * 2018-05-31 2018-11-20 康键信息技术(深圳)有限公司 Update of plug-in method, apparatus, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118313A (en) * 2020-09-17 2020-12-22 紫光展锐(重庆)科技有限公司 Method and related device for remotely upgrading terminal equipment
CN112118313B (en) * 2020-09-17 2023-04-18 紫光展锐(重庆)科技有限公司 Method and related device for remotely upgrading terminal equipment

Also Published As

Publication number Publication date
CN111459514B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
US11894992B2 (en) Network component management method and network device
CN112822699B (en) Method and device for executing intention
US20160088577A1 (en) Timing value adjustment method and apparatus
US9999001B2 (en) Power control method and device
JP2018506910A (en) Random access method, terminal, and base station
CN103092663B (en) A kind of method of set up applications in the terminal and device
CA2988613A1 (en) Flow entry aging method, switch, and controller
CN111586759A (en) Transmission method and equipment
US20220394764A1 (en) Transmission collision resolving method and apparatus, and terminal and storage medium
US10740161B2 (en) Broadcast message sending method and apparatus, and mobile terminal
CN111459514A (en) Terminal upgrading processing method, server and base station
EP4072085A1 (en) Traffic scheduling method, electronic device and storage medium
EP2385726A1 (en) Apparatus and method for controlling amount of concurrent calls
CN112311498B (en) Terminal capability processing method and device, network side equipment and terminal
US9125207B2 (en) Method and device for controlling channel transmission
CN114666279B (en) Method and system for issuing PCC session management policy in 5G system
CN114745792B (en) Resource scheduling method and device, equipment and computer readable storage medium
CN108616461B (en) Policy switching method and device
CN112996112A (en) Frequency domain resource allocation method, device, electronic equipment and storage medium
CN107786310B (en) Data packet transmission method and node
CN112954699A (en) Spectrum sharing method and device for wireless communication, electronic equipment and storage medium
CN112422305B (en) Upgrading method and device of communication equipment
CN113747559B (en) Method and device for reporting power headroom, terminal and readable storage medium
EP4243383A1 (en) Message transmission method and system, and network device and storage medium
CN112788619B (en) Secondary cell group configuration method, main base station, secondary base station and terminal

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