CN116800821A - System upgrading method and device, storage medium and electronic equipment - Google Patents

System upgrading method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116800821A
CN116800821A CN202311062300.8A CN202311062300A CN116800821A CN 116800821 A CN116800821 A CN 116800821A CN 202311062300 A CN202311062300 A CN 202311062300A CN 116800821 A CN116800821 A CN 116800821A
Authority
CN
China
Prior art keywords
upgrade
upgrading
converged communication
information
system upgrade
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
CN202311062300.8A
Other languages
Chinese (zh)
Other versions
CN116800821B (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.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu 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 TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202311062300.8A priority Critical patent/CN116800821B/en
Publication of CN116800821A publication Critical patent/CN116800821A/en
Application granted granted Critical
Publication of CN116800821B publication Critical patent/CN116800821B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application discloses a system upgrading method, a device, a storage medium and electronic equipment, and relates to the technical field of communication, wherein the method comprises the following steps: if the converged communication registration trigger is detected, generating a converged communication registration message carrying system upgrading auxiliary information; sending the converged communication registration message to a converged communication server; receiving a registration result message sent by the converged communication server, wherein the registration result message carries system upgrade instruction information, and the system upgrade instruction information is obtained from a system upgrade server by the converged communication server according to the system upgrade auxiliary information; and carrying out system upgrading according to the system upgrading indication information. The application can realize effective auxiliary upgrade in a mode of depending on system upgrade application by integrating the communication registration function, can provide double guarantees for system upgrade and improves the upgrade rate of the equipment system.

Description

System upgrading method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a system upgrade method, a device, a storage medium, and an electronic apparatus.
Background
The device, for example, a smart phone, has a powerful and complex functional design, and whether the stability problem caused by the functional complexity needs to be repaired or a new function needs to be introduced along with the technical progress, the device is usually pushed to be realized by relying on System Update/Fota.
Currently, there is a mainstream manner of system upgrade, in which a system upgrade application requests an update of a latest system software version from a system upgrade server (such as a Fota server) of an operator according to an upgrade policy, for example, the system upgrade application periodically requests the update of the latest version of the system software.
In the current mode depending on system upgrading software, whether an upgrading strategy or a system upgrading application itself exists, the equipment system upgrading rate is low easily due to the fact that the equipment system upgrading rate is insufficient.
Disclosure of Invention
The embodiment of the application provides a system upgrading scheme which can effectively improve the equipment system upgrading rate.
The embodiment of the application provides the following technical scheme:
according to one embodiment of the present application, a system upgrade method includes: if the converged communication registration trigger is detected, generating a converged communication registration message carrying system upgrading auxiliary information; sending the converged communication registration message to a converged communication server; receiving a registration result message sent by the converged communication server, wherein the registration result message carries system upgrade instruction information, and the system upgrade instruction information is obtained from a system upgrade server by the converged communication server according to the system upgrade auxiliary information; and carrying out system upgrading according to the system upgrading indication information.
In some embodiments of the present application, the system upgrade according to the system upgrade instruction information includes: judging whether to upgrade the system according to the system upgrade indication information; if yes, an upgrade instruction is sent to a system upgrade application, wherein the upgrade instruction is used for triggering the system upgrade application to acquire a system upgrade package from the system upgrade server to upgrade the system.
In some embodiments of the present application, the system upgrade instruction information includes a latest system software version number determined according to the system upgrade auxiliary information in the system upgrade server; the step of judging whether to upgrade the system according to the system upgrade indication information comprises the following steps: comparing the latest system software version number with the local system software version number to obtain a comparison result; and judging whether to upgrade the system according to the comparison result.
In some embodiments of the present application, the system upgrade instruction information includes upgrade operation information determined according to the system upgrade auxiliary information in the system upgrade server; the step of judging whether to upgrade the system according to the system upgrade indication information comprises the following steps: and if the system upgrading indication information comprises the upgrading operation information, determining to upgrade the system.
In some embodiments of the present application, before the generating the converged communication registration message carrying the system upgrade assistance information, the method further comprises: acquiring local system upgrading processing information; and determining whether auxiliary upgrading is carried out through converged communication registration according to the local system upgrading processing information.
In some embodiments of the present application, the determining whether to perform auxiliary upgrade through converged communication registration according to the local system upgrade processing information includes: calculating the difference between the last upgrading time point and the current time point in the local system upgrading processing information to obtain an upgrading time difference; and if the upgrading time difference is larger than a preset threshold value, determining to carry out auxiliary upgrading through converged communication registration.
In some embodiments of the present application, the determining whether to perform auxiliary upgrade through converged communication registration according to the local system upgrade processing information includes: determining the emergency degree of upgrading according to unrepaired system abnormal information in the local system upgrading processing information; determining upgrading hysteresis degree according to the difference between the next upgrading time point and the current time point in the local system upgrading processing information; if the upgrade urgency is greater than the first level and the upgrade hysteresis is greater than the second level, determining to conduct an auxiliary upgrade through converged communication registration.
According to one embodiment of the present application, a system upgrade apparatus, the apparatus includes: the generation module is used for generating a converged communication registration message carrying system upgrading auxiliary information if the converged communication registration trigger is detected; the sending module is used for sending the converged communication registration message to a converged communication server; the receiving module is used for receiving a registration result message sent by the converged communication server, wherein the registration result message carries system upgrade indication information, and the system upgrade indication information is obtained from a system upgrade server by the converged communication server according to the system upgrade auxiliary information; and the upgrading module is used for upgrading the system according to the system upgrading indication information.
According to another embodiment of the present application, a storage medium has a computer program stored thereon, which when executed by a processor of a computer, causes the computer to perform the method according to the embodiment of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
According to another embodiment of the application, a computer program product or computer program includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the computer device to perform the methods provided in the various alternative implementations described in the embodiments of the present application.
In the embodiment of the application, if the fusion communication registration trigger is detected, a fusion communication registration message carrying auxiliary information of system upgrading is generated; sending the converged communication registration message to a converged communication server; receiving a registration result message sent by the converged communication server, wherein the registration result message carries system upgrade instruction information, and the system upgrade instruction information is obtained from a system upgrade server by the converged communication server according to the system upgrade auxiliary information; and carrying out system upgrading according to the system upgrading indication information.
The beneficial effects of the application are as follows: the converged communication registration message carrying the system upgrading auxiliary information is generated and sent to the converged communication server, so that the converged communication server obtains the system upgrading indication information from the system upgrading server according to the system upgrading auxiliary information, the equipment can further conduct system upgrading according to the system upgrading indication information, further, effective auxiliary upgrading is achieved in a mode of depending on system upgrading application through the converged communication registration function, double guarantees can be provided for system upgrading, and the equipment system upgrading rate is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a flow chart of a system upgrade method according to one embodiment of the present application.
Fig. 2 schematically illustrates an architecture diagram of a system upgrade system according to one embodiment of the present application.
FIG. 3 illustrates a system upgrade flow diagram in accordance with an embodiment of the present application in one scenario.
Fig. 4 shows a block diagram of a system upgrade apparatus according to one embodiment of the present application.
Fig. 5 shows a block diagram of an electronic device according to an embodiment of the application.
Detailed Description
The present disclosure is further described in detail below with reference to the drawings and examples. It should be understood that the examples provided herein are merely illustrative of the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are some of the embodiments for implementing the present disclosure, and not all of the embodiments for implementing the present disclosure, and the technical solutions described in the embodiments of the present disclosure may be implemented in any combination without conflict.
It should be noted that, in the embodiments of the present disclosure, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a method or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such method or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other related elements (e.g., a step in a method or a unit in an apparatus, e.g., a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.) in a method or apparatus comprising the element.
For example, the system upgrade method provided in the embodiment of the present disclosure includes a series of steps, but the system upgrade method provided in the embodiment of the present disclosure is not limited to the described steps, and similarly, the system upgrade apparatus provided in the embodiment of the present disclosure includes a series of units, but the apparatus provided in the embodiment of the present disclosure is not limited to including the explicitly described units, and may also include units that are required to be set when acquiring related information or performing processing based on the information.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure.
Fig. 1 schematically shows a flow chart of a system upgrade method according to an embodiment of the present application. The main execution body of the system upgrading method can be any equipment for installing the system, such as televisions, computers, mobile phones, smart watches, household appliances and the like.
As shown in fig. 1, the system upgrade method may include steps S110 to S140.
Step S110, if the fusion communication registration trigger is detected, generating a fusion communication registration message carrying auxiliary information of system upgrade; step S120, the converged communication registration message is sent to a converged communication server; step S130, receiving a registration result message sent by the converged communication server, wherein the registration result message carries system upgrade indication information, and the system upgrade indication information is obtained by the converged communication server from a system upgrade server according to the system upgrade auxiliary information; and step S140, carrying out system upgrading according to the system upgrading indication information.
The converged communication (RCS: rich Communication Services) is a communication mode proposed by the global system for mobile communication society, and the converged communication (RCS: rich Communication Services) is converged with communication services such as voice, message, status bar, location service and the like, so as to enrich the customer experience of native applications of mobile phone systems such as conversation, short messages, contacts and the like. According to the converged communication (RCS) protocol, whenever a device is powered on or a device network registration changes, the device initiates a converged communication (RCS) registration, which includes operations such as authentication and activation with an operator server, and the converged communication registration information of the converged communication (RCS) registration generally includes registration information such as RCS capability and SIM number and phone number.
In the embodiment of the application, if the equipment detects that the converged communication registration is triggered locally, the converged communication registration message carrying the system upgrading auxiliary information is generated, so that the converged communication registration message further carries the system upgrading auxiliary information, wherein the system upgrading auxiliary information is the relevant information for assisting in system upgrading. In some examples, the system upgrade assistance information may include an international mobile equipment identification number (IMEI, international Mobile Equipment Identity), a current local system software version number in the device. In other examples, the system upgrade assistance information may include system anomaly information, which may be unrepaired system anomaly information recorded in the device.
The device may further send the converged communication registration message to a converged communication server (RCS server), where the converged communication server (RCS server) is a server for converged communication registration, and the converged communication server (RCS server) performs converged communication registration after receiving the converged communication registration message.
An auxiliary upgrade protocol may be established in advance between a converged communication server (RCS server) and a system upgrade server, i.e., a predetermined server capable of performing a system upgrade, which is typically an operator's server (e.g., fota (Firmware over the air) server). When the converged communication registration message carries the system upgrade auxiliary information, the converged communication server (RCS server) can interact with the system upgrade server by using the system upgrade auxiliary information according to an auxiliary upgrade protocol, and system upgrade indication information of equipment adaptation is obtained from the system upgrade server.
The converged communication server (RCS server) can further carry the system upgrade instruction information in the registration result information along with the registration result information of the converged communication registration and send the information to the equipment, and the equipment can upgrade the system according to the system upgrade instruction information to realize auxiliary system upgrade based on the converged communication registration function.
In this way, based on step S110 to step S140, by generating the converged communication registration message carrying the auxiliary information of the system upgrade and sending the message to the converged communication server, the converged communication server obtains the indication information of the system upgrade from the system upgrade server according to the auxiliary information of the system upgrade, so that the device can further perform the system upgrade according to the indication information of the system upgrade, further, the effective auxiliary upgrade is realized in a manner of depending on the application of the system upgrade by the converged communication registration function, double guarantees can be provided for the system upgrade, and the system upgrade rate of the device is improved.
Fig. 2 schematically illustrates an architecture diagram of a system upgrade system according to one embodiment of the present application. The system upgrade system shown in fig. 2 may include a device 201, a converged communication server 202, and a system upgrade server 203.
As shown in fig. 2, a message application (a message application, i.e., an application that can perform converged communication registration) in the device 201 may execute: if the converged communication registration trigger is detected, generating a converged communication registration message carrying system upgrading auxiliary information; step S120, sending the converged communication registration message to the converged communication server 202; step S130, receiving a registration result message sent by the converged communication server 202, where the registration result message carries system upgrade instruction information, where the system upgrade instruction information is obtained by the converged communication server 202 from the system upgrade server 203 according to the system upgrade auxiliary information; and step S140, carrying out system upgrading according to the system upgrading indication information.
Further alternative embodiments of the steps performed when a system upgrade is performed under the embodiment of fig. 1 are described below.
In one embodiment, before the generating the converged communication registration message carrying the system upgrade auxiliary information, the method further includes: acquiring local system upgrading processing information; and determining whether auxiliary upgrading is carried out through converged communication registration according to the local system upgrading processing information.
The local system upgrade processing information, that is, the relevant information of the system upgrade processing performed locally by the device, may include information such as a time point of the last system upgrade performed locally (i.e., a last upgrade time point), unrepaired system anomaly information, and a time point of the next system upgrade processing (a next upgrade time point) set according to a predetermined upgrade policy. The local system upgrade processing information may be obtained from a system record, for example, where some of the information may be obtained from an upgrade record of the system upgrade application.
Before generating a converged communication registration message carrying system upgrade auxiliary information, the device first determines whether auxiliary upgrade is performed through converged communication registration according to local system upgrade processing information. If the auxiliary upgrading is determined through the converged communication registration, a converged communication registration message carrying auxiliary information of the system upgrading can be generated, and further, the converged communication auxiliary upgrading is carried out according to the local actual upgrading condition, invalid or unnecessary converged communication auxiliary upgrading is avoided, and the reliability of the system upgrading is further improved.
It may be appreciated that, alternatively, in other embodiments of the present application, if the device detects the converged communication registration trigger, the device may directly generate the converged communication registration message carrying the auxiliary system upgrade information without performing other confirmation operations, that is, if the device detects the converged communication registration trigger each time, the device starts to perform the converged communication auxiliary upgrade.
Further, in the foregoing embodiment, the determining, according to the local system upgrade processing information, whether to perform auxiliary upgrade through converged communication registration may specifically include:
calculating the difference between the last upgrading time point and the current time point in the local system upgrading processing information to obtain an upgrading time difference; and if the upgrading time difference is larger than a preset threshold value, determining to carry out auxiliary upgrading through converged communication registration.
The last upgrading time point is the time point of the last system upgrading locally, and the current time point is the real-time point when the current step is executed. And calculating the difference between the final upgrading time point and the current time point to obtain an upgrading time difference, if the upgrading time difference is larger than a preset threshold value, determining to carry out auxiliary upgrading through fusion communication registration, otherwise, if the upgrading time difference is not larger than the preset threshold value, determining to carry out auxiliary upgrading not through fusion communication registration.
The preset threshold value can be preset according to actual conditions, if the upgrading time difference is larger than the preset threshold value, auxiliary upgrading is determined to be carried out through fusion communication registration, invalid or unnecessary fusion communication auxiliary upgrading can be effectively avoided, and effective or necessary fusion communication auxiliary upgrading can be carried out.
Further, in the foregoing embodiment, the determining, according to the local system upgrade processing information, whether to perform the auxiliary upgrade through converged communication registration may specifically include:
determining the emergency degree of upgrading according to unrepaired system abnormal information in the local system upgrading processing information; determining upgrading hysteresis degree according to the difference between the next upgrading time point and the current time point in the local system upgrading processing information; if the upgrade urgency is greater than the first level and the upgrade hysteresis is greater than the second level, determining to conduct an auxiliary upgrade through converged communication registration.
From a preset degree lookup table, the upgrade urgent degree corresponding to unrepaired system abnormal information can be queried, and the upgrade hysteresis degree corresponding to the difference between the next upgrade time point and the current time point can be queried.
The higher the level of upgrade urgency, the more quickly the upgrade is needed, and the higher the level of upgrade hysteresis, the higher the local current system upgrade hysteresis. If the upgrade urgent degree is higher than the first level and the upgrade hysteresis degree is higher than the second level, determining to perform auxiliary upgrade through converged communication registration; further, if the upgrade urgency is not greater than the first level and/or the upgrade hysteresis is not greater than the second level, it is determined that the auxiliary upgrade is not performed through converged communication registration. The method can also effectively avoid invalid or unnecessary converged communication auxiliary upgrades and can perform the valid or necessary converged communication auxiliary upgrades.
In one embodiment, the system upgrade according to the system upgrade instruction information includes: judging whether to upgrade the system according to the system upgrade indication information; if yes, an upgrade instruction is sent to a system upgrade application, wherein the upgrade instruction is used for triggering the system upgrade application to acquire a system upgrade package from the system upgrade server to upgrade the system.
The message application (Messaging application) in the device can judge whether to perform system upgrade according to the system upgrade instruction information, if so, an upgrade instruction is sent to the application system upgrade specially used for system upgrade in the device, and the instruction of the system upgrade application can obtain a system upgrade package from a system upgrade server to perform system upgrade, so that auxiliary system upgrade is successfully realized. Wherein, the message application (message application) can send an upgrade instruction to the system upgrade application by sending a broadcast or other inter-application synchronous message.
Further, in the foregoing embodiment, the system upgrade instruction information includes a latest system software version number determined according to the system upgrade auxiliary information in the system upgrade server; the determining whether to perform the system upgrade according to the system upgrade instruction information may specifically include: comparing the latest system software version number with the local system software version number to obtain a comparison result; and judging whether to upgrade the system according to the comparison result.
The system upgrade assistance information may include an international mobile equipment identification number (IMEI, international Mobile Equipment Identity) of the device, a current local system software version number in the device. The system upgrade server can accurately inquire the latest system software version number of the system matched with the equipment according to the international mobile equipment identification code and the local system software version number.
The system upgrade indication information comprises the latest system software version number determined by the system upgrade server, and the message application in the equipment can compare the latest system software version number with the local system software version number to obtain a comparison result; and judging whether to upgrade the system according to the comparison result, specifically, if the comparison result is consistent, determining not to upgrade the system, and if the comparison result is that the latest system software version number is different from the local system software version number, determining to upgrade the system.
At this time, if it is determined to perform system upgrade, the message application in the device may send the upgrade instruction of the carrier of the latest system software version number to the system upgrade application, and then the system upgrade application may obtain the system upgrade package of the corresponding version from the system upgrade server according to the latest system software version number to perform system upgrade.
Further, in the foregoing embodiment, the system upgrade instruction information includes upgrade operation information determined according to the system upgrade auxiliary information in the system upgrade server; the determining whether to perform the system upgrade according to the system upgrade instruction information may specifically include: and if the system upgrading indication information comprises the upgrading operation information, determining to upgrade the system.
The system upgrade auxiliary information may include system abnormality information, which may be unrepaired system abnormality information recorded in the device. The system upgrade server may determine corresponding upgrade operation information (how to start system upgrade and specific upgrade operation information) according to the system anomaly information.
If the message application in the equipment detects that the system upgrade instruction information comprises upgrade operation information, the message application in the equipment determines to upgrade the system, otherwise, the message application does not upgrade the system.
At this time, if it is determined to perform system upgrade, the message application in the device may send the upgrade instruction of the upgrade operation information carrier to the system upgrade application, and then the system upgrade application may perform a corresponding operation according to the upgrade operation information, and obtain a system upgrade package of a corresponding version from the system upgrade server to perform system upgrade.
In order to better implement the system upgrade method provided by the embodiment of the present application, the foregoing embodiment is further described below in conjunction with a system upgrade procedure in one scenario. Where the meaning of the terms is the same as in the system upgrade method described above, specific implementation details may be referred to in the description of the method embodiments.
FIG. 3 illustrates a system upgrade flow diagram in accordance with an embodiment of the present application in one scenario. The system upgrade is implemented in the mobile phone (i.e., a device) in this scenario by applying the foregoing embodiment of the present application, and the system upgrade process in this scenario may include steps S310 to S350 as shown in fig. 3.
Step S310, the mobile phone is started up/registered with the network. According to the converged communication (RCS) protocol, the message application in the mobile phone initiates the converged communication (RCS) registration whenever the mobile phone is powered on or the mobile phone registers with the network.
In step S320, the message application initiates a converged communication (RCS) registration (carrying the IMEI and the local system software version number).
Specifically, the message application: if the converged communication registration trigger is detected, generating a converged communication registration message carrying system upgrading auxiliary information; and sending the converged communication registration message to a converged communication server. In this scenario, the system upgrade auxiliary information may include an international mobile equipment identification (IMEI, international Mobile Equipment Identity) of the mobile phone, and a current local system software version number in the mobile phone.
In step S330, the converged communication (RCS) server returns a registration result message (carrying the latest system software version number).
Specifically, the message application: and receiving a registration result message sent by the converged communication server, wherein the registration result message carries system upgrade indication information, and the system upgrade indication information is obtained from a system upgrade server by the converged communication server according to the system upgrade auxiliary information. In this scenario, the system upgrade instruction information specifically includes the latest system software version number.
Step S340, judging whether the latest system software version number is not equal to the local system software version number, if yes, proceeding to step S350, otherwise, ending. In step S350, the message application notifies the system upgrade application to perform system upgrade.
Specifically, the message application: performing system upgrade according to the system upgrade instruction information, wherein the system upgrade is performed according to the system upgrade instruction information, and specifically comprises the following steps: judging whether to upgrade the system according to the system upgrade indication information; if yes, an upgrade instruction is sent to a system upgrade application, wherein the upgrade instruction is used for triggering the system upgrade application to acquire a system upgrade package from the system upgrade server to upgrade the system. Wherein, the determining whether to upgrade the system according to the system upgrade instruction information may specifically include: comparing the latest system software version number with the local system software version number to obtain a comparison result; and judging whether to upgrade the system according to the comparison result. If the comparison result is consistent, the system upgrading is not determined, and if the comparison result is that the latest system software version number is different from the local system software version number, the system upgrading is determined.
In this scenario, by applying the embodiment of the present application, in the mobile phone: the method realizes effective auxiliary upgrade in a mode of depending on system upgrade application by integrating communication registration functions, can provide double guarantees for system upgrade and improves the upgrade rate of the equipment system.
In order to facilitate better implementation of the system upgrading method provided by the embodiment of the application, the embodiment of the application also provides a system upgrading device based on the system upgrading method. Where the meaning of the terms is the same as in the system upgrade method described above, specific implementation details may be referred to in the description of the method embodiments. Fig. 4 shows a block diagram of a system upgrade apparatus according to one embodiment of the present application.
As shown in fig. 4, the system upgrade apparatus 400 may include: the generating module 410 may be configured to generate a converged communication registration message carrying auxiliary information of system upgrade if a converged communication registration trigger is detected; the sending module 420 may be configured to send the converged communication registration message to a converged communication server; the receiving module 430 may be configured to receive a registration result message sent by the converged communication server, where the registration result message carries system upgrade indication information, where the system upgrade indication information is obtained by the converged communication server from a system upgrade server according to the system upgrade auxiliary information; the upgrade module 440 may be configured to upgrade the system according to the system upgrade instruction information.
In some embodiments of the present application, the upgrade module 440 may be configured to: judging whether to upgrade the system according to the system upgrade indication information; if yes, an upgrade instruction is sent to a system upgrade application, wherein the upgrade instruction is used for triggering the system upgrade application to acquire a system upgrade package from the system upgrade server to upgrade the system.
In some embodiments of the present application, the system upgrade instruction information includes a latest system software version number determined according to the system upgrade auxiliary information in the system upgrade server; the upgrade module 440 may be configured to: comparing the latest system software version number with the local system software version number to obtain a comparison result; and judging whether to upgrade the system according to the comparison result.
In some embodiments of the present application, the system upgrade instruction information includes upgrade operation information determined according to the system upgrade auxiliary information in the system upgrade server; the upgrade module 440 may be configured to: and if the system upgrading indication information comprises the upgrading operation information, determining to upgrade the system.
In some embodiments of the present application, before the generating the converged communication registration message carrying the system upgrade auxiliary information, the apparatus further includes a determining module configured to: acquiring local system upgrading processing information; and determining whether auxiliary upgrading is carried out through converged communication registration according to the local system upgrading processing information.
In some embodiments of the present application, the determining module is configured to: calculating the difference between the last upgrading time point and the current time point in the local system upgrading processing information to obtain an upgrading time difference; and if the upgrading time difference is larger than a preset threshold value, determining to carry out auxiliary upgrading through converged communication registration.
In some embodiments of the present application, the determining module is configured to: determining the emergency degree of upgrading according to unrepaired system abnormal information in the local system upgrading processing information; determining upgrading hysteresis degree according to the difference between the next upgrading time point and the current time point in the local system upgrading processing information; if the upgrade urgency is greater than the first level and the upgrade hysteresis is greater than the second level, determining to conduct an auxiliary upgrade through converged communication registration.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the application further provides an electronic device, as shown in fig. 5, and fig. 5 shows a block diagram of the electronic device according to one embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 501, one or more computer-readable storage media's memory 502, a power supply 503, and an input unit 504, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 501 is a control center of the electronic device, and connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 502, and calling data stored in the memory 502, thereby performing overall monitoring of the electronic device. Optionally, processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user pages, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by executing the software programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 502 may also include a memory controller to provide access to the memory 502 by the processor 501.
The electronic device further comprises a power supply 503 for powering the various components, preferably the power supply 503 is logically connected to the processor 501 via a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 503 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 504, which input unit 504 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 501 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 502 according to the following instructions, and the processor 501 executes the computer programs stored in the memory 502, so as to implement the functions in the foregoing embodiments of the present application, where the processor 501 may perform the following steps:
if the converged communication registration trigger is detected, generating a converged communication registration message carrying system upgrading auxiliary information; sending the converged communication registration message to a converged communication server; receiving a registration result message sent by the converged communication server, wherein the registration result message carries system upgrade instruction information, and the system upgrade instruction information is obtained from a system upgrade server by the converged communication server according to the system upgrade auxiliary information; and carrying out system upgrading according to the system upgrading indication information.
In some embodiments of the present application, the system upgrade according to the system upgrade instruction information includes: judging whether to upgrade the system according to the system upgrade indication information; if yes, an upgrade instruction is sent to a system upgrade application, wherein the upgrade instruction is used for triggering the system upgrade application to acquire a system upgrade package from the system upgrade server to upgrade the system.
In some embodiments of the present application, the system upgrade instruction information includes a latest system software version number determined according to the system upgrade auxiliary information in the system upgrade server; the step of judging whether to upgrade the system according to the system upgrade indication information comprises the following steps: comparing the latest system software version number with the local system software version number to obtain a comparison result; and judging whether to upgrade the system according to the comparison result.
In some embodiments of the present application, the system upgrade instruction information includes upgrade operation information determined according to the system upgrade auxiliary information in the system upgrade server; the step of judging whether to upgrade the system according to the system upgrade indication information comprises the following steps: and if the system upgrading indication information comprises the upgrading operation information, determining to upgrade the system.
In some embodiments of the present application, before the generating the converged communication registration message carrying the system upgrade auxiliary information, the method may further include: acquiring local system upgrading processing information; and determining whether auxiliary upgrading is carried out through converged communication registration according to the local system upgrading processing information.
In some embodiments of the present application, the determining whether to perform auxiliary upgrade through converged communication registration according to the local system upgrade processing information includes: calculating the difference between the last upgrading time point and the current time point in the local system upgrading processing information to obtain an upgrading time difference; and if the upgrading time difference is larger than a preset threshold value, determining to carry out auxiliary upgrading through converged communication registration.
In some embodiments of the present application, the determining whether to perform auxiliary upgrade through converged communication registration according to the local system upgrade processing information includes: determining the emergency degree of upgrading according to unrepaired system abnormal information in the local system upgrading processing information; determining upgrading hysteresis degree according to the difference between the next upgrading time point and the current time point in the local system upgrading processing information; if the upgrade urgency is greater than the first level and the upgrade hysteresis is greater than the second level, determining to conduct an auxiliary upgrade through converged communication registration.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application also provides a storage medium in which a computer program is stored, the computer program being capable of being loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may be a computer-readable storage medium, the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps of any one of the methods provided in the embodiments of the present application may be executed by the computer program stored in the storage medium, so that the beneficial effects that can be achieved by the methods provided in the embodiments of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the application is not limited to the embodiments which have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (10)

1. A system upgrade method, comprising:
if the converged communication registration trigger is detected, generating a converged communication registration message carrying system upgrading auxiliary information;
sending the converged communication registration message to a converged communication server;
receiving a registration result message sent by the converged communication server, wherein the registration result message carries system upgrade instruction information, and the system upgrade instruction information is obtained from a system upgrade server by the converged communication server according to the system upgrade auxiliary information;
and carrying out system upgrading according to the system upgrading indication information.
2. The method of claim 1, wherein the performing a system upgrade according to the system upgrade instruction information comprises:
judging whether to upgrade the system according to the system upgrade indication information;
if yes, an upgrade instruction is sent to a system upgrade application, wherein the upgrade instruction is used for triggering the system upgrade application to acquire a system upgrade package from the system upgrade server to upgrade the system.
3. The method of claim 2, wherein the system upgrade indication information includes a latest system software version number determined from the system upgrade auxiliary information in the system upgrade server;
the step of judging whether to upgrade the system according to the system upgrade indication information comprises the following steps:
comparing the latest system software version number with the local system software version number to obtain a comparison result;
and judging whether to upgrade the system according to the comparison result.
4. The method according to claim 2, wherein the system upgrade instruction information includes upgrade operation information determined according to the system upgrade auxiliary information in the system upgrade server;
the step of judging whether to upgrade the system according to the system upgrade indication information comprises the following steps:
and if the system upgrading indication information comprises the upgrading operation information, determining to upgrade the system.
5. The method of claim 1, wherein prior to generating the converged communication registration message carrying system upgrade assistance information, the method further comprises:
acquiring local system upgrading processing information;
and determining whether auxiliary upgrading is carried out through converged communication registration according to the local system upgrading processing information.
6. The method of claim 5, wherein determining whether to perform auxiliary upgrades via converged communication registration based on the local system upgrade processing information comprises:
calculating the difference between the last upgrading time point and the current time point in the local system upgrading processing information to obtain an upgrading time difference;
and if the upgrading time difference is larger than a preset threshold value, determining to carry out auxiliary upgrading through converged communication registration.
7. The method of claim 5, wherein determining whether to perform auxiliary upgrades via converged communication registration based on the local system upgrade processing information comprises:
determining the emergency degree of upgrading according to unrepaired system abnormal information in the local system upgrading processing information;
determining upgrading hysteresis degree according to the difference between the next upgrading time point and the current time point in the local system upgrading processing information;
if the upgrade urgency is greater than the first level and the upgrade hysteresis is greater than the second level, determining to conduct an auxiliary upgrade through converged communication registration.
8. A system upgrade apparatus, comprising:
the generation module is used for generating a converged communication registration message carrying system upgrading auxiliary information if the converged communication registration trigger is detected;
the sending module is used for sending the converged communication registration message to a converged communication server;
the receiving module is used for receiving a registration result message sent by the converged communication server, wherein the registration result message carries system upgrade indication information, and the system upgrade indication information is obtained from a system upgrade server by the converged communication server according to the system upgrade auxiliary information;
and the upgrading module is used for upgrading the system according to the system upgrading indication information.
9. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 7.
10. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 7.
CN202311062300.8A 2023-08-23 2023-08-23 System upgrading method and device, storage medium and electronic equipment Active CN116800821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311062300.8A CN116800821B (en) 2023-08-23 2023-08-23 System upgrading method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311062300.8A CN116800821B (en) 2023-08-23 2023-08-23 System upgrading method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN116800821A true CN116800821A (en) 2023-09-22
CN116800821B CN116800821B (en) 2023-12-15

Family

ID=88044128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311062300.8A Active CN116800821B (en) 2023-08-23 2023-08-23 System upgrading method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116800821B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951391A (en) * 2010-04-13 2011-01-19 杭州海康威视系统技术有限公司 Method, device and system for remotely upgrading monitoring equipment
WO2016145679A1 (en) * 2015-03-16 2016-09-22 宇龙计算机通信科技(深圳)有限公司 Terminal upgrade method and device
CN106535228A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 System upgrading device and method
CN107426090A (en) * 2017-07-25 2017-12-01 广东欧珀移动通信有限公司 Information processing method, device, medium, electronic equipment, server and system
US20180337961A1 (en) * 2017-05-17 2018-11-22 Mediatek Inc. Synchronization of UE Capability and Registration Status for SIP-Based Application Services
CN110337038A (en) * 2019-07-09 2019-10-15 深圳市友华通信技术有限公司 The upgrade method of Convergence gateway equipment
CN111262891A (en) * 2018-11-30 2020-06-09 成都鼎桥通信技术有限公司 Data pushing method and system under wide-band and narrow-band fusion
KR20210003576A (en) * 2019-07-02 2021-01-12 주식회사 엘지유플러스 Method, apparatus and system for providing next generation messaging service
KR20210020571A (en) * 2019-08-16 2021-02-24 주식회사 엘지유플러스 Method, apparatus and system for providing next generation messaging service
CN114202256A (en) * 2022-02-17 2022-03-18 深圳市明源云科技有限公司 Architecture upgrading early warning method and device, intelligent terminal and readable storage medium
CN114584539A (en) * 2021-12-28 2022-06-03 上海繁易信息科技股份有限公司 Cloud upgrading method and system for industrial field device
WO2023034982A1 (en) * 2021-09-03 2023-03-09 Google Llc Session-less and connection-less message protocol for rcs messages
CN116450184A (en) * 2023-06-09 2023-07-18 联宝(合肥)电子科技有限公司 System upgrading method and device, electronic equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951391A (en) * 2010-04-13 2011-01-19 杭州海康威视系统技术有限公司 Method, device and system for remotely upgrading monitoring equipment
WO2016145679A1 (en) * 2015-03-16 2016-09-22 宇龙计算机通信科技(深圳)有限公司 Terminal upgrade method and device
CN106535228A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 System upgrading device and method
US20180337961A1 (en) * 2017-05-17 2018-11-22 Mediatek Inc. Synchronization of UE Capability and Registration Status for SIP-Based Application Services
CN107426090A (en) * 2017-07-25 2017-12-01 广东欧珀移动通信有限公司 Information processing method, device, medium, electronic equipment, server and system
CN111262891A (en) * 2018-11-30 2020-06-09 成都鼎桥通信技术有限公司 Data pushing method and system under wide-band and narrow-band fusion
KR20210003576A (en) * 2019-07-02 2021-01-12 주식회사 엘지유플러스 Method, apparatus and system for providing next generation messaging service
CN110337038A (en) * 2019-07-09 2019-10-15 深圳市友华通信技术有限公司 The upgrade method of Convergence gateway equipment
KR20210020571A (en) * 2019-08-16 2021-02-24 주식회사 엘지유플러스 Method, apparatus and system for providing next generation messaging service
WO2023034982A1 (en) * 2021-09-03 2023-03-09 Google Llc Session-less and connection-less message protocol for rcs messages
CN114584539A (en) * 2021-12-28 2022-06-03 上海繁易信息科技股份有限公司 Cloud upgrading method and system for industrial field device
CN114202256A (en) * 2022-02-17 2022-03-18 深圳市明源云科技有限公司 Architecture upgrading early warning method and device, intelligent terminal and readable storage medium
CN116450184A (en) * 2023-06-09 2023-07-18 联宝(合肥)电子科技有限公司 System upgrading method and device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LUXEMBOURG BUSINESS REGISTERS: ""Business registration and filings with the RCS"", Retrieved from the Internet <URL:https://guichet.public.lu/en/entreprises/gestion-juridique-comptabilite/registre-commerce/depots-publications/immatriculation-entreprise-publication-rcs.html> *
吕光旭: ""IMS业务应用服务器部署方式分析"", 《邮电设计技术》 *
马丽娜;蒋泽军;王丽芳;: "基于插件技术的远程自动升级系统的研究", 西南民族大学学报(自然科学版), no. 02 *

Also Published As

Publication number Publication date
CN116800821B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
US9256479B2 (en) App icon processing method and communication terminal
US20190158626A1 (en) Method, apparatus and computer readable storage medium for processing service
CN113765714B (en) Equipment network distribution method and device, storage medium and electronic equipment
CN105677477A (en) Method and device for optimizing application program resources and electronic equipment
CN105388990A (en) Power saving processing method and apparatus for terminal device
CN110650503B (en) Network access method, device, system and computer readable storage medium
CN113746821B (en) Intelligent device control method and device, storage medium and electronic device
CN109982355B (en) Method for saving and restoring network path, apparatus, terminal and storage medium thereof
CN114116014A (en) Instruction issuing method and device, intelligent equipment and storage medium
US20230367664A1 (en) Method for managing ecu on vehicle, and ecu and readable storage medium
CN116800821B (en) System upgrading method and device, storage medium and electronic equipment
CN109918215B (en) Process communication method, system, terminal and storage medium
CN106130815B (en) Board level testing method and device
KR100768856B1 (en) Mobile communications terminal for performing specific operation if power-off is predicted due to low battery and server for administrating the mobile communication terminal
CN114116275A (en) Terminal abnormity repairing method and device, storage medium and electronic equipment
CN116760930B (en) Call processing method and device, storage medium and electronic equipment
CN114513844B (en) Network registration method and device, storage medium and electronic equipment
CN116545860B (en) Calibration data reading method and device, storage medium and electronic equipment
CN115495161B (en) BIOS option modification validation method and device and storage medium
CN113568719B (en) Service fault processing method and device, electronic equipment and storage medium
CN117411854A (en) IMS registration abnormality recovery method, device, storage medium and electronic equipment
CN112241283A (en) Software upgrading method and device, computer equipment and storage medium
JP2006302081A (en) Service restart device and service restart program
CN114968112A (en) RAID configuration method, device, equipment and medium
CN117407202A (en) Desktop icon layout repairing method and device, storage medium and electronic equipment

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