Terminal updating method and device and computer readable storage medium

By adopting automatic wireless communication with multi-connection mode during terminal update process, the problem of low terminal update efficiency in the prior art is solved, and efficient update regardless of the number of terminals is achieved.

CN119201153APending Publication Date: 2024-12-27ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310771739.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the prior art In the process of terminal update, when there are many terminals that do not have update files or fewer terminals that have update files, they need to connect one by one, resulting in inefficient update efficiency.

Method used

By detecting terminals within the connection range, the multi-connection mode is adopted to allow terminals with update files to send update files to multiple terminals without update files, realizing automatic wireless communication, avoiding connection-by-line mode and improving update efficiency.

Benefits of technology

No matter how many terminals have updated files or how many terminals do not have updated files, efficient terminal updates can be achieved, improving update efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201153A_ABST
    Figure CN119201153A_ABST
Patent Text Reader

Abstract

The invention discloses a terminal updating method, terminal updating equipment and a computer readable storage medium, which are applied to the technical field of communication, are applied to a first terminal, and comprise the following steps: if at least one second terminal in a connection range is detected, operating in a multi-connection mode so that each second terminal is connected with the first terminal, each second terminal operates in a single connection mode; and sending the update file to each connected second terminal, so that each second terminal performs terminal update according to the respective received update file. The invention aims to provide an automatic terminal connection updating scheme so as to realize high efficiency of terminal updating.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a terminal updating method, device and computer-readable storage medium. Background Art

[0002] At present, a terminal with an update file is usually connected to a terminal without the update file via a connecting line, so that the update file can be transmitted from the terminal with the update file to the terminal without the update file, so that the terminal with the update file can perform terminal update according to the update file. However, when the number of terminals without the update file is large and / or the number of terminals with the update file is small, it is necessary to connect each terminal without the update file to the terminal with the update file one by one, resulting in low efficiency of terminal update. Summary of the invention

[0003] The main purpose of the present invention is to provide a terminal update method, device and computer-readable storage medium, aiming to provide a solution for automatic terminal connection update to achieve high efficiency of terminal update.

[0004] In a first aspect, a terminal update method is provided, which is applied to a first terminal, comprising: if at least one second terminal within a connection range is detected, operating in a multi-connection mode so that each second terminal can be connected to the first terminal, wherein each second terminal operates in a single connection mode; sending an update file to each connected second terminal so that each second terminal can perform a terminal update according to the update file received by each second terminal, thereby realizing automatic wireless communication between the first terminal and the plurality of second terminals, each first terminal can send an update file to the plurality of connected second terminals, and even if the number of terminals of the first terminal is small and / or the number of terminals of the second terminal is large at the beginning, there is no need to connect the first terminal to each second terminal one by one through a connecting line, thereby improving the efficiency of terminal update.

[0005] In a second aspect, a terminal update method is provided, which is applied to a second terminal, including: if a first terminal within a connection range is detected, operating in a single connection mode and connecting to the first terminal, wherein the first terminal operates in a multi-connection mode; if an update file sent by the first terminal is received, updating the second terminal according to the update file, thereby achieving automatic wireless communication between the first terminal and the second terminal, each second terminal can receive the update file sent by the connected first terminal, and even if the number of terminals of the first terminal is small and / or the number of terminals of the second terminal is large at the beginning, there is no need to connect the first terminal to each second terminal one by one through a connecting line, thereby improving the efficiency of terminal updating.

[0006] According to a third aspect, a first terminal is provided, the first terminal including:

[0007] an operating module, configured to operate in a multi-connection mode if at least one second terminal within a connection range is detected, so that each second terminal can be connected to the first terminal, wherein each second terminal operates in a single connection mode;

[0008] The sending module is used to send the update file to each connected second terminal, so that each second terminal can perform terminal update according to the update file received by each second terminal.

[0009] The third aspect corresponds to any implementation of the first aspect. The technical effects corresponding to the third aspect can refer to the technical effects corresponding to the first aspect, which will not be described in detail here.

[0010] In a fourth aspect, a second terminal is provided, the second terminal including:

[0011] A connection module, configured to operate in a single connection mode and connect to the first terminal if a first terminal within a connection range is detected, wherein the first terminal operates in a multi-connection mode;

[0012] The updating module is configured to update the terminal according to the updating file if an updating file sent by the first terminal is received.

[0013] The fourth aspect corresponds to any implementation of the second aspect. The technical effect corresponding to the fourth aspect can refer to the technical effect corresponding to the above-mentioned second aspect, which will not be repeated here.

[0014] In a fifth aspect, a terminal update device is provided, the terminal update device comprising: a memory, a processor, and a terminal update program stored in the memory and executable on the processor, and when the terminal update program is executed by the processor, the above steps are implemented when the terminal update device is executed.

[0015] The fifth aspect corresponds to any implementation of the first aspect or the second aspect. The technical effects corresponding to the fifth aspect can refer to the technical effects corresponding to the first aspect or the second aspect, which will not be repeated here.

[0016] In a sixth aspect, a computer-readable storage medium is proposed, on which a terminal update program is stored. When the terminal update program is executed by a processor, the terminal update device executes the terminal update method in the first aspect.

[0017] The sixth aspect corresponds to any implementation of the first aspect or the second aspect. The technical effects corresponding to the sixth aspect can refer to the technical effects corresponding to the first aspect or the second aspect, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of the structure of the hardware operating environment involved in the embodiment of the present invention;

[0019] Figure 2 It is a flowchart of a first embodiment of a terminal updating method of the present invention;

[0020] Figure 3 A schematic diagram of the structure of a core unit and a terminal involved in an embodiment of the present invention;

[0021] Figure 4 A schematic diagram of a communication connection between a first terminal and each second terminal involved in an embodiment of the present invention;

[0022] Figure 5 A schematic diagram of a flow chart of a third embodiment of a terminal updating method of the present invention;

[0023] Figure 6 A schematic diagram of a connection scenario between a first terminal and a second terminal involved in an embodiment of the present invention;

[0024] Figure 7 A schematic diagram of a communication interaction scenario between a first terminal and a second terminal involved in an embodiment of the present invention;

[0025] Figure 8 A schematic diagram of a cluster interaction scenario of a first terminal and a second terminal involved in an embodiment of the present invention;

[0026] Fig. 9 A schematic diagram of functional modules of a preferred embodiment of the first terminal of the present invention;

[0027] Fig.10 FIG. 4 is a schematic diagram of functional modules of a preferred embodiment of the second terminal of the present invention.

[0028] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0029] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0030] like Figure 1 As shown, Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.

[0031] It should be noted that the terminal update device in the embodiment of the present invention may be a smart phone, a personal computer, a server or other device, and no specific limitation is made herein.

[0032] like Figure 1As shown, the terminal update device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0033] Those skilled in the art will understand that Figure 1 The device structure shown in the figure does not constitute a limitation on the terminal update device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0034] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a terminal update program. The operating system is a program that manages and controls the hardware and software resources of the device and supports the operation of the terminal update program and other software or programs. Figure 1 In the device shown, the user interface 1003 is mainly used for data communication with the client; the network interface 1004 is mainly used for establishing a communication connection with the server; and the processor 1001 can be used to call the terminal update program stored in the memory 1005 and perform the following operations:

[0035] If at least one second terminal within the connection range is detected, operating in a multi-connection mode to allow each second terminal to connect to the first terminal, wherein each second terminal operates in a single connection mode;

[0036] The update file is sent to each connected second terminal, so that each second terminal can perform terminal update according to the update file received by each second terminal.

[0037] Furthermore, the operations running in the multi-connection mode include:

[0038] If the first terminal is a core unit, it operates in a multi-connection mode;

[0039] If the first terminal is the updated second terminal, the single connection mode is switched to the multi-connection mode.

[0040] Further, if the first terminal is the updated second terminal, before switching the single connection mode to the multi-connection mode, the processor 1001 may also be used to call the terminal update program stored in the memory 1005 to perform the following operations:

[0041] Opening a wireless connection channel of the first terminal, and receiving a third terminal version of the third terminal sent by a third terminal, wherein the third terminal is connected to the first terminal through the wireless connection channel;

[0042] If it is detected that the version sequence relationship between the third terminal version and the first terminal version corresponding to the first terminal meets a preset first sequence relationship condition, the first terminal is determined to be an updated second terminal.

[0043] Further, after the operation of sending the update file to each connected second terminal, the processor 1001 may also be used to call the terminal update program stored in the memory 1005 to perform the following operations:

[0044] If it is detected that all second terminals within the connection range have been updated, the multi-connection mode is switched to the single connection mode.

[0045] Further, after the operation of sending the update file to each connected second terminal, the processor 1001 may also be used to call the terminal update program stored in the memory 1005 to perform the following operations:

[0046] If it is detected that any of the second terminals fails to update, the wireless connection channel of the first terminal is closed.

[0047] Further, the operation of sending the update file to at least one second terminal connected to the first terminal includes:

[0048] If it is detected that any running program other than the terminal update program is in a running state, the update file is sent to each second terminal at a first sending speed;

[0049] If it is detected that all running programs except the terminal update program are in a non-running state, the update file is sent to each second terminal at a second sending speed, wherein the first sending speed is lower than the second sending speed.

[0050] Alternatively, the processor 1001 may also be configured to call a terminal update program stored in the memory 1005 to perform the following operations:

[0051] If a first terminal is detected within the connection range, operating in a single connection mode and connecting with the first terminal, wherein the first terminal operates in a multi-connection mode;

[0052] If the update file sent by the first terminal is received, the terminal is updated according to the update file.

[0053] Further, after performing the terminal update operation according to the update file, the processor 1001 may also be used to call the terminal update program stored in the memory 1005 to perform the following operations:

[0054] If at least one second terminal within the connection range is detected, the single connection mode is switched to the multi-connection mode.

[0055] Further, before the operation in the single connection mode, the processor 1001 may also be used to call the terminal update program stored in the memory 1005 to perform the following operations:

[0056] Opening a wireless connection channel and receiving a fourth terminal version of a fourth terminal sent by a fourth terminal, wherein the fourth terminal is connected to the second terminal through the wireless connection channel of the second terminal;

[0057] If it is detected that the version sequence relationship between the fourth terminal version and the second terminal version corresponding to the second terminal meets the preset second sequence relationship condition, the step of operating in the single connection mode is executed.

[0058] Further, the operation of connecting with the first terminal includes:

[0059] If the terminal is within the connection range of multiple first terminals, a terminal whose corresponding terminal connection information meets the preset connection information condition is selected from each first terminal as a target terminal, and the target terminal is connected.

[0060] Furthermore, the operation of selecting a terminal whose corresponding terminal connection information meets a preset connection information condition as a target terminal from among the first terminals includes:

[0061] If the terminal connection information includes terminal connection performance, a terminal whose corresponding terminal connection performance is greater than a preset performance threshold is selected from each first terminal as the target terminal; and / or,

[0062] If the terminal connection information includes connection signal strength, a terminal whose corresponding connection signal strength is greater than a preset signal strength threshold is selected from each first terminal as the target terminal; and / or,

[0063] If the terminal connection information includes the number of devices connected to the terminal, a terminal whose corresponding number of devices connected to the terminal is less than a preset device number threshold is selected from each first terminal as the target terminal; and / or,

[0064] If the terminal connection information includes terminal operation occupancy, a terminal whose corresponding terminal operation occupancy is less than a preset operation occupancy threshold is selected from each first terminal as the target terminal.

[0065] Further, after performing the terminal update operation according to the update file, the processor 1001 may also be used to call the terminal update program stored in the memory 1005 to perform the following operations:

[0066] If it is detected that the terminal update fails and / or the connection with the first terminal is disconnected, the process returns to the step of connecting with the first terminal until it is detected that the terminal update succeeds.

[0067] Further, after performing the terminal update operation according to the update file, the processor 1001 may also be used to call the terminal update program stored in the memory 1005 to perform the following operations:

[0068] Detect terminal update progress and terminal update speed;

[0069] If the terminal update speed is less than the preset speed threshold, and the terminal update progress is less than the preset progress threshold, the process returns to the step of connecting with the first terminal.

[0070] Furthermore, the multi-connection mode is the entry point mode, and the single-connection mode is the station mode.

[0071] Based on the above structure, various embodiments of a terminal updating method are proposed.

[0072] Reference Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a terminal updating method according to the present invention.

[0073] The embodiment of the present invention provides an embodiment of the terminal update method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in a different order than here. In this embodiment, the execution subject of the terminal update method can be a personal computer, a smart phone and other devices, which is not limited in this embodiment. For the convenience of description, the following description of each embodiment is omitted. In this embodiment, applied to the first terminal, the terminal update method includes:

[0074] Step S10, if at least one second terminal within the connection range is detected, operating in a multi-connection mode to allow each second terminal to connect to the first terminal, wherein each second terminal operates in a single connection mode;

[0075] In this embodiment, it should be noted that the first terminal is a networked terminal, and the networked terminal is a terminal that has the ability to connect and communicate with other devices or terminals, and provide networking capabilities for other devices or terminals. The second terminal is a terminal with wireless connection capabilities, and the second terminal can be an offline terminal. The offline terminal is a terminal that does not have the ability to provide networking capabilities for other devices or terminals, and the second terminal can also be a networked terminal. The multi-connection mode can be an AP (Access Point, wireless access point) mode, and can also be other modes that can provide networking capabilities to multiple terminals, which is not limited here. The single connection mode can be a STA (Station, site) mode, and can also be other networking modes, which is not limited here.

[0076] Exemplarily, the first terminal detects whether there is at least one second terminal within the connection range. If the first terminal detects that there is at least one second terminal within the connection range, the first terminal operates in the multi-connection mode.

[0077] Optionally, after the first terminal detects whether there is at least one second terminal within the connection range, the method further includes: if the first terminal detects that there is no second terminal within the connection range, operating in a single connection mode, or closing a wireless connection channel of the first terminal.

[0078] Wherein, in step S10, running in a multi-connection mode includes:

[0079] Step S11, if the first terminal is a core unit, it operates in a multi-connection mode;

[0080] In this embodiment, it should be noted that the core unit may be a terminal other than the second terminal, and the core unit may also include only the update program component and the wireless connection device. Figure 3 , Figure 3 This is a schematic diagram of the structure of the core unit and the terminal involved in an embodiment of the present invention. The update program component includes but is not limited to an update processor, an update interface, a display screen and an update storage component. The display screen is used to output the terminal update information of the second terminal connected to the core unit. The terminal update information includes the terminal update progress and / or the terminal update speed. The update storage component is used to store the update file corresponding to the target terminal version. The target terminal version is a terminal version after the terminal update of the pre-set second terminal. The target terminal version can be the terminal system version or the version of the program in the terminal, such as an application program. The first terminal / second terminal includes various program components and wireless connection devices. The various program components include but are not limited to various processors, various interfaces, display screens and storage components. The core unit can be mobile or fixed. When the core unit is mobile, a mobile device is deployed on the core unit to drive the core unit to move.

[0081] It is understandable that when the core unit only includes a structure for updating, there is no structure in the core unit that affects the terminal upgrade process, thereby ensuring high efficiency of terminal upgrade.

[0082] In a feasible embodiment, if the first terminal is a mobile core unit and it is detected that there is no second terminal within the connection range, the mobile device of the mobile core unit is controlled to move and return to the step of detecting whether there is at least one second terminal within the connection range until at least one second terminal is detected within the connection range.

[0083] By moving the mobile core unit, the mobile core unit can be connected to each second terminal within a connection range corresponding to each position after the movement, thereby realizing automatic upgrading of the terminal cluster.

[0084] In another feasible embodiment, if the first terminal is a fixed core unit and it is detected that there is no second terminal within the connection range, information that there is no second terminal within the connection range is output on the display screen of the fixed core unit to prompt the user to move the fixed core unit to a position where the second terminal exists within the corresponding connection range.

[0085] When there is no second terminal within the connection range, by outputting information that there is no second terminal within the connection range on the display screen, the user moves the fixed core unit to each position where there is a second terminal within the corresponding connection range, thereby realizing terminal cluster upgrade.

[0086] Step S12: If the first terminal is the updated second terminal, switching the single connection mode to the multi-connection mode.

[0087] Optionally, before the first terminal is the updated second terminal, the method further includes: detecting whether the first terminal is the updated second terminal.

[0088] In a feasible embodiment, it is detected whether the terminal structure of the first terminal includes other program components except the update program component, and the first terminal is determined to be an updated second terminal; if the terminal structure of the first terminal does not include other program components except the update program component, the first terminal is determined to be a core unit.

[0089] In another feasible embodiment, the terminal identification of the first terminal is obtained. If the terminal identification matches the preset identification corresponding to the core unit, the first terminal is determined to be the core unit; if the terminal identification does not match the preset identification corresponding to the core unit, the first terminal is determined to be the updated second terminal.

[0090] By switching the single connection mode to the multi-connection mode through the updated second terminal, the updated second terminal can also be connected to each non-updated second terminal, thereby realizing the terminal cluster upgrade.

[0091] It is understandable that since the core unit stores the update file corresponding to the target terminal version, there is no need to identify the terminal version of the core unit. However, for other terminals, their terminal versions need to be identified to determine whether they are the first terminal, the second terminal or the updated second terminal.

[0092] Wherein, in step S10, if the first terminal is the updated second terminal, before switching the single connection mode to the multi-connection mode, the method further includes:

[0093] Step S01, opening a wireless connection channel of a first terminal, and receiving a third terminal version of a third terminal sent by a third terminal, wherein the third terminal is connected to the first terminal through the wireless connection channel;

[0094] In this embodiment, it should be noted that the third terminal is a terminal within the connection range of the first terminal. The third terminal may be the second terminal, or may be an updated second terminal or the first terminal, and no limitation is made here.

[0095] In a feasible embodiment, a terminal file of a third terminal sent by a third terminal is received to identify a version of the third terminal.

[0096] In another feasible embodiment, a terminal version identifier of a third terminal sent by a third terminal is received.

[0097] By receiving the terminal version identifier of the third terminal sent by the third terminal, not only the sending and receiving speed is improved, but also the terminal version identification efficiency is improved.

[0098] Step S02: if it is detected that the version sequence relationship between the third terminal version and the first terminal version corresponding to the first terminal satisfies a preset first sequence relationship condition, then the first terminal is determined to be an updated second terminal.

[0099] In this embodiment, it should be noted that the terminal update target includes but is not limited to terminal upgrade and terminal downgrade. The number of the third terminal may be multiple.

[0100] Optionally, before it is detected that the version sequence relationship between the third terminal version and the first terminal version corresponding to the first terminal satisfies a preset first sequence relationship condition, it also includes: if the terminal update target is terminal upgrade, the preset first sequence relationship is that the first terminal version is later than the third terminal version; if the terminal update target is terminal downgrade, the preset first sequence relationship is that the first terminal version is earlier than the third terminal version.

[0101] In a feasible embodiment, if it is detected that the version sequence relationship between the third terminal version and the first terminal version corresponding to the first terminal satisfies a preset first sequence relationship condition, then the first terminal is determined to be an updated second terminal, and there is an unupdated second terminal within the connection range; if it is detected that the version sequence relationship between each third terminal version and the first terminal version does not satisfy the preset first sequence relationship condition, then the first terminal is determined to be an updated second terminal, and there is no unupdated second terminal within the connection range; alternatively, the first terminal is determined to be an unupdated second terminal, and the following steps for the second terminal are executed.

[0102] In another feasible embodiment, if the third terminal is the second terminal, and it is detected that the version sequence relationship between each third terminal version and the first terminal version does not meet the preset first sequence relationship condition, then the first terminal is determined to be an unupdated second terminal; if the third terminal is the first terminal or an updated second terminal, then when the first terminal version is the same as the third terminal version, the first terminal is determined to be an updated second terminal, and there is no unupdated second terminal within the connection range, and when the first terminal version is different from the third terminal version, the first terminal is determined to be an unupdated second terminal.

[0103] Step S20: sending an update file to each connected second terminal, so that each second terminal can perform terminal update according to the update file received by each second terminal.

[0104] In this embodiment, it should be noted that the update file includes an update package and / or an update script.

[0105] For example, refer to Figure 4 , Figure 4 The schematic diagram of the communication connection between the first terminal and each second terminal involved in the embodiment of the present invention is as follows: The update file stored in the first terminal is sent to each connected second terminal through each update transmission link.

[0106] Optionally, before sending the update file to each connected second terminal, the method further includes: responding to a terminal update instruction.

[0107] In a feasible embodiment, the terminal update instruction is sent by the second terminal.

[0108] In another feasible embodiment, the terminal update instruction is generated by user operation.

[0109] An embodiment of the present invention provides a terminal update method. First, if at least one second terminal is detected within a connection range, it operates in a multi-connection mode to allow each second terminal to connect to a first terminal, wherein each second terminal operates in a single connection mode, and then sends an update file to each connected second terminal, so that each second terminal can perform terminal update according to the update file received by each second terminal. In this way, automatic wireless communication between the first terminal and multiple second terminals is achieved, each first terminal can send an update file to multiple connected second terminals, and even if the number of terminals of the first terminal is small and / or the number of terminals of the second terminal is large at the beginning, there is no need to connect the first terminal to each second terminal one by one through a connecting line, thereby improving the efficiency of terminal update.

[0110] Further, based on the above first embodiment, a second embodiment of the terminal update method of the present invention is proposed. The same or similar contents as the above embodiment can be referred to the above introduction and will not be described in detail later. In this embodiment, in step S20, after sending the update file to each connected second terminal, it also includes:

[0111] Step S30: If it is detected that all second terminals within the connection range have been updated, the multi-connection mode is switched to the single connection mode.

[0112] It is understandable that when all second terminals within the connection range have been updated, if the first terminal continues to operate in the multi-connection mode, it will cause unnecessary waste of resources.

[0113] In a feasible embodiment, if the terminal update completion information sent by each second terminal is detected, it is determined that all second terminals within the connection range have completed the update.

[0114] In another feasible embodiment, each second terminal version sent by each second terminal is received, and if each second terminal version is the same as the first terminal version, it is determined that each second terminal within the connection range has been updated.

[0115] By switching the multi-connection mode to the single-connection mode when it is detected that all second terminals within the connection range have been updated, unnecessary waste of resources can be avoided.

[0116] Wherein, in step S20, after sending the update file to each connected second terminal, the method further includes:

[0117] Step S40: If it is detected that any of the second terminals fails to update, the wireless connection channel of the first terminal is closed.

[0118] It is understandable that the update file of the first terminal may be damaged, or damaged during the transmission process of the update file from the first terminal to the second terminal, and each second terminal only receives one update file, which may cause the second terminal to fail to complete the terminal update.

[0119] Exemplarily, if the terminal update failure information sent by any of the second terminals is detected, the wireless connection channel of the first terminal is closed, and the multi-connection mode is switched to the single connection mode.

[0120] By closing the wireless connection channel of the first terminal if it is detected that any of the second terminals fails to update, the situation where multiple second terminals cannot complete the terminal update due to damage to the update file of the first terminal or damage during the transmission process of sending the update file from the first terminal to the second terminal can be avoided.

[0121] Wherein, in step S20, sending the update file to each connected second terminal also includes:

[0122] Step S21, if it is detected that any running program other than the terminal update program is in a running state, sending the update file to each second terminal at a first sending speed;

[0123] It is understandable that the first terminal may have any running program other than the terminal update program in a running state. Therefore, when the first terminal sends an update file to each second terminal, it may cause lag and other effects on other running programs. The running state of any running program other than the terminal update program is usually set by the user and has a higher priority than the terminal update. Therefore, if the first terminal does not intervene in sending the update file to each second terminal, it will easily lead to a lower terminal usage experience.

[0124] Exemplarily, if it is detected that any running program other than the terminal update program is in a running state, the total number of running programs other than the terminal update program in a running state is obtained, and based on the total number, the corresponding first sending speed is determined, and the update file is sent to each second terminal at the first sending speed, wherein the larger the total number, the smaller the first sending speed.

[0125] In a feasible embodiment, a terminal performance parameter of the first terminal is obtained, and a corresponding first sending speed is determined according to the total number and the terminal performance parameter, wherein the better the terminal performance represented by the terminal performance parameter is, the greater the first sending speed is.

[0126] It can be understood that the terminal performance parameters of the first terminal and the total number of running programs in operation except the terminal update program are used together as the decision basis for determining the first sending speed, so that the determined first sending speed takes into account the terminal performance of the first terminal and the running conditions of other running programs, thereby improving the accuracy of determining the first sending speed, and further improving the speed at which the terminal sends update files while ensuring the terminal usage experience, that is, improving the terminal update speed.

[0127] Step S22: if it is detected that all running programs except the terminal update program are in a non-running state, the update file is sent to each second terminal at a second sending speed, wherein the first sending speed is lower than the second sending speed.

[0128] Exemplarily, if it is detected that all running programs except the terminal update program are not running, the terminal performance parameters of the first terminal are obtained, and the corresponding second sending speed is determined based on the terminal performance parameters, wherein the better the terminal performance represented by the terminal performance parameters, the greater the second sending speed.

[0129] An embodiment of the present invention provides a terminal update method. If it is detected that any running program other than a terminal update program is in a running state, an update file is sent to each second terminal at a first sending speed; if it is detected that all running programs other than the terminal update program are in a non-running state, the update file is sent to each second terminal at a second sending speed, wherein the first sending speed is less than the second sending speed. In this way, when it is detected that any running program other than the terminal update program is in a running state, the update file is sent to each second terminal at a lower sending speed; when it is detected that all running programs other than the terminal update program are in a non-running state, the update file is sent to each second terminal at a higher sending speed, so as to improve the speed of sending the update file to the second terminal while ensuring the user experience of the first terminal, that is, to improve the terminal update speed of the second terminal.

[0130] Furthermore, a third embodiment of the terminal updating method of the present invention is proposed. Figure 5 In this embodiment, applied to the second terminal, the terminal update method includes:

[0131] Step A10, if a first terminal is detected within the connection range, operating in a single connection mode and connecting to the first terminal, wherein the first terminal operates in a multi-connection mode;

[0132] Exemplarily, the second terminal detects whether the first terminal exists within the connection range. If the second terminal detects that the first terminal exists within the connection range, it operates in a single connection mode and connects to the first terminal, wherein the first terminal operates in a multi-connection mode.

[0133] Optionally, after the second terminal detects whether the first terminal exists within the connection range, the method further includes: if the second terminal detects that the first terminal does not exist within the connection range, closing the wireless connection channel of the second terminal.

[0134] Step A20: If the update file sent by the first terminal is received, the terminal is updated according to the update file.

[0135] Optionally, after performing terminal updating according to the update file, the method further includes: replacing the terminal file stored in the second terminal with the update file sent by the first terminal.

[0136] Among them, in step A20, after the terminal is updated according to the update file, the method further includes:

[0137] Step A30: If at least one second terminal is detected within the connection range, the single connection mode is switched to the multi-connection mode.

[0138] In this embodiment, after the terminal is updated according to the update file, if at least one second terminal within the connection range is detected, the single connection mode is switched to the multi-connection mode, so that the updated second terminal can also be used as the first terminal, so that the update file can be sent to the second terminal connected to the updated second terminal, that is, the terminal range radiation upgrade is realized.

[0139] It is understandable that when the second terminal is an offline terminal, even if the second terminal is updated, it cannot provide networking capabilities for each second terminal within the connection range. Therefore, in a feasible embodiment, if at least one second terminal is detected within the connection range and the second terminal is a networked terminal, the single connection mode is switched to the multi-connection mode.

[0140] Wherein, in step A10, before running in the single connection mode, the method further includes:

[0141] Step A01, opening a wireless connection channel, and receiving a fourth terminal version of a fourth terminal sent by a fourth terminal, wherein the fourth terminal is connected to the second terminal through the wireless connection channel of the second terminal;

[0142] In this embodiment, it should be noted that the fourth terminal is a terminal within the connection range of the second terminal, and the fourth terminal may be the first terminal or the updated second terminal, or may be the second terminal.

[0143] In a feasible embodiment, a terminal file of a fourth terminal sent by a fourth terminal is received to identify a version of the fourth terminal.

[0144] In another feasible embodiment, a terminal version identifier of a fourth terminal sent by the fourth terminal is received.

[0145] By receiving the terminal version identifier of the fourth terminal sent by the fourth terminal, not only the sending and receiving speed is improved, but also the terminal version identification efficiency is improved.

[0146] Step A02: If it is detected that the version sequence relationship between the fourth terminal version and the second terminal version corresponding to the second terminal meets a preset second sequence relationship condition, a step of operating in a single connection mode is executed.

[0147] In this embodiment, it should be noted that the terminal update target includes but is not limited to terminal upgrade and terminal downgrade. The number of the fourth terminal can be multiple.

[0148] Optionally, before it is detected that the version sequence relationship between the fourth terminal version and the second terminal version corresponding to the second terminal satisfies a preset second sequence relationship condition, it also includes: if the terminal update target is terminal upgrade, the preset second sequence relationship is that the second terminal version is prior to the fourth terminal version; if the terminal update target is terminal downgrade, the preset first sequence relationship is that the second terminal version is after the fourth terminal version.

[0149] In a feasible embodiment, if it is detected that the version sequence relationship between the fourth terminal version and the second terminal version corresponding to the second terminal satisfies a preset second sequence relationship condition, the step of operating in a single connection mode is executed; if it is detected that the version sequence relationship between each fourth terminal version and the second terminal version does not satisfy the preset second sequence relationship condition, the second terminal is determined to be an updated second terminal, and the first terminal does not exist within the connection range, or the second terminal is determined to be a non-updated second terminal.

[0150] In another feasible embodiment, if the fourth terminal is the first terminal or the updated second terminal, and it is detected that the version sequence relationship between each fourth terminal version and the second terminal version does not meet the preset second sequence relationship condition, then when the second terminal version is the same as the fourth terminal version, it is determined that the second terminal has completed the terminal update and can be used as the first terminal, and the above-mentioned steps of the first terminal are executed.

[0151] Wherein, in step A10, connecting with the first terminal includes:

[0152] Step A11: if the terminal is within the connection range of multiple first terminals, a terminal whose corresponding terminal connection information meets a preset connection information condition is selected from each first terminal as a target terminal, and the target terminal is connected.

[0153] In this embodiment, it should be noted that the preset connection information condition is a pre-set condition that terminal connection information of a target terminal selected from each first terminal needs to satisfy.

[0154] In a feasible embodiment, any terminal whose corresponding terminal connection information meets a preset connection information condition is selected from among the first terminals as the target terminal.

[0155] In another feasible embodiment, when there are multiple types of terminal connection information and there are also multiple corresponding preset connection information conditions, the selection priority of each first terminal is generated according to the relationship between the various terminal connection information corresponding to each first terminal and the corresponding preset connection information conditions, and the terminal with the highest corresponding selection priority is selected from each first terminal as the target terminal, wherein the more types of terminal connection information that meet the preset connection information conditions, the higher the selection priority.

[0156] Among them, in step A11, selecting a terminal whose corresponding terminal connection information meets a preset connection information condition from among the first terminals as a target terminal includes:

[0157] Step A111: if the terminal connection information includes terminal connection performance, a terminal whose corresponding terminal connection performance is greater than a preset performance threshold is selected from each first terminal as a target terminal; and / or,

[0158] Step A112: if the terminal connection information includes connection signal strength, a terminal whose corresponding connection signal strength is greater than a preset signal strength threshold is selected from each first terminal as a target terminal; and / or,

[0159] It can be understood that when the terminal connection performance of the first terminal is high, and / or when the connection signal strength of the first terminal is large, it means that the connection stability of the first terminal is good. Therefore, the risk of network crash during the terminal update process connected to the first terminal is also low. Therefore, the terminal connection performance and / or connection signal strength are used as the decision basis for selecting the target terminal, thereby ensuring a stable connection between the selected target terminal and the second terminal, thereby ensuring the connection stability during the terminal update process.

[0160] Step A113, if the terminal connection information includes the number of devices connected to the terminal, a terminal whose corresponding number of devices connected to the terminal is less than a preset device number threshold is selected from each first terminal as the target terminal; and / or,

[0161] Step A114: If the terminal connection information includes terminal operation occupancy, a terminal whose corresponding terminal operation occupancy is less than a preset operation occupancy threshold is selected from each first terminal as a target terminal.

[0162] It is understandable that when the number of devices connected to the first terminal is large, and / or when the terminal operation occupancy of the first terminal is high, the terminal operation load on the first terminal is large, so the first terminal can provide fewer resources for the second terminal, which may lead to a slow speed of sending update files during the terminal update process connected to the first terminal. Therefore, the number of devices connected to the terminal and / or the terminal operation occupancy are used as the decision basis for selecting the target terminal, so as to ensure that the selected target terminal can provide more resources for the second terminal, thereby ensuring the terminal update speed.

[0163] Among them, in step A20, after the terminal is updated according to the update file, the method further includes:

[0164] Step A40: If it is detected that the terminal update fails and / or the connection with the first terminal is disconnected, the process returns to the step of connecting with the first terminal until it is detected that the terminal update succeeds.

[0165] In one possible embodiment, referring to Figure 6 , Figure 6 This is a schematic diagram of a connection scenario between a first terminal and a second terminal involved in an embodiment of the present invention. The first terminal executes step 1 to send an update file to the connected second terminal. The second terminal receives the update file and, when detecting that the terminal update fails, executes step 2 to send terminal update failure information to the first terminal. Step 3 is executed to connect to the first terminal. Step 4 is executed by reselecting the first terminal to send the update file to the second terminal.

[0166] Wherein, in step A20, after the terminal is updated according to the update file, the method further includes:

[0167] Step A50, detecting the terminal update progress and terminal update speed;

[0168] Step A60: If the terminal update speed is less than the preset speed threshold and the terminal update progress is less than the preset progress threshold, then return to the step of connecting with the first terminal.

[0169] In this embodiment, it should be noted that the preset speed threshold is a critical value of the terminal update speed for determining that the terminal update process is slow.

[0170] It is understandable that when the terminal update progress is short and the terminal update speed is low, the first terminal connected to the second terminal is replaced in time to avoid the situation where the terminal update speed is low, thereby improving the terminal update speed.

[0171] In one possible embodiment, referring to Figure 7 , Figure 7The present invention is a schematic diagram of a communication interaction scenario between a first terminal and a second terminal involved in an embodiment of the present invention. The first terminal executes 101 to run in AP mode, the second terminal executes 102 to run in STA mode, the second terminal executes 103 to access AP, the first terminal executes 104 to send an update file to the second terminal, the second terminal executes 105 to report the update progress and update speed to the first terminal, the second terminal executes 106, and the terminal update is completed; after the second terminal is updated, 107 is executed to switch from STA mode to AP mode, the unupdated second terminal executes 202 to run in STA mode, the unupdated second terminal executes 203 to access the AP of the updated second terminal, the updated second terminal executes 204 to send an update file to the unupdated second terminal, the unupdated second terminal executes 205 to report the update progress and update speed to the updated second terminal, the unupdated second terminal executes 206, and the terminal update is completed.

[0172] In another possible embodiment, referring to Figure 8 , Figure 8 The present invention is a schematic diagram of a cluster interaction scenario between a first terminal and a second terminal involved in an embodiment of the present invention. Figure 8 The terminals filled in the middle are updated terminals, the terminals not filled in the middle are unupdated terminals, and the dotted circle represents the connection range of the terminals. The core unit connects to the unupdated terminals within its connection range, so that the unupdated terminals within its connection range are updated, and the updated terminals connect to the unupdated terminals within its connection range, so that the unupdated terminals within its connection range are updated, and finally the terminal cluster 1, the offline terminals, the terminal cluster 2, and the terminal cluster 3 all complete the terminal update.

[0173] An embodiment of the present invention provides a terminal update method. First, if a first terminal within a connection range is detected, the method operates in a single connection mode and connects to the first terminal, wherein the first terminal operates in a multi-connection mode. Then, if an update file sent by the first terminal is received, the terminal is updated according to the update file. In this way, automatic wireless communication between the first terminal and the second terminal is achieved, and each second terminal can receive the update file sent by the connected first terminal. Even if the number of terminals of the first terminal is small and / or the number of terminals of the second terminal is large at the beginning, there is no need to connect the first terminal to each second terminal one by one through a connecting line, thereby improving the efficiency of terminal updating.

[0174] In addition, the embodiment of the present invention further provides a first terminal, referring to Fig. 9 , the first terminal includes:

[0175] An operation module 10, used for operating a module, for operating in a multi-connection mode if at least one second terminal within a connection range is detected, so that each second terminal can be connected to the first terminal, wherein each second terminal operates in a single connection mode;

[0176] The sending module 20 is used to send the update file to each connected second terminal, so that each second terminal can perform terminal update according to the update file received by each second terminal.

[0177] Furthermore, the operation module 10 is also used for:

[0178] If the first terminal is a core unit, it operates in a multi-connection mode;

[0179] If the first terminal is the updated second terminal, the single connection mode is switched to the multi-connection mode.

[0180] Further, if the first terminal is the updated second terminal, before switching the single connection mode to the multi-connection mode, the first terminal further includes:

[0181] Opening a wireless connection channel of the first terminal, and receiving a third terminal version of the third terminal sent by a third terminal, wherein the third terminal is connected to the first terminal through the wireless connection channel;

[0182] If it is detected that the version sequence relationship between the third terminal version and the first terminal version corresponding to the first terminal meets a preset first sequence relationship condition, the first terminal is determined to be an updated second terminal.

[0183] Further, after sending the update file to each connected second terminal, the first terminal further includes:

[0184] If it is detected that all second terminals within the connection range have been updated, the multi-connection mode is switched to the single connection mode.

[0185] Further, after sending the update file to each connected second terminal, the first terminal further includes:

[0186] If it is detected that any of the second terminals fails to update, the wireless connection channel of the first terminal is closed.

[0187] Furthermore, the sending module 20 is also used for:

[0188] If it is detected that any running program other than the terminal update program is in a running state, the update file is sent to each second terminal at a first sending speed;

[0189] If it is detected that all running programs except the terminal update program are in a non-running state, the update file is sent to each second terminal at a second sending speed, wherein the first sending speed is lower than the second sending speed.

[0190] In addition, the embodiment of the present invention also provides a second terminal, referring to Fig.10 , the second terminal includes:

[0191] The connection module 30 is configured to operate in a single connection mode and connect to the first terminal if a first terminal within the connection range is detected, wherein the first terminal operates in a multi-connection mode;

[0192] The updating module 40 is configured to update the terminal according to the updating file if an updating file sent by the first terminal is received.

[0193] Further, after the terminal is updated according to the update file, the second terminal further includes:

[0194] If at least one second terminal within the connection range is detected, the single connection mode is switched to the multi-connection mode.

[0195] Further, before operating in the single connection mode, the second terminal further includes:

[0196] Opening a wireless connection channel and receiving a fourth terminal version of a fourth terminal sent by a fourth terminal, wherein the fourth terminal is connected to the second terminal through the wireless connection channel of the second terminal;

[0197] If it is detected that the version sequence relationship between the fourth terminal version and the second terminal version corresponding to the second terminal meets the preset second sequence relationship condition, the step of operating in the single connection mode is executed.

[0198] Furthermore, the connection module 30 is also used for:

[0199] If the terminal is within the connection range of multiple first terminals, a terminal whose corresponding terminal connection information meets the preset connection information condition is selected from each first terminal as a target terminal, and the target terminal is connected.

[0200] Furthermore, the connection module 30 is also used for:

[0201] If the terminal connection information includes terminal connection performance, a terminal whose corresponding terminal connection performance is greater than a preset performance threshold is selected from each first terminal as the target terminal; and / or,

[0202] If the terminal connection information includes connection signal strength, a terminal whose corresponding connection signal strength is greater than a preset signal strength threshold is selected from each first terminal as the target terminal; and / or,

[0203] If the terminal connection information includes the number of devices connected to the terminal, a terminal whose corresponding number of devices connected to the terminal is less than a preset device number threshold is selected from each first terminal as the target terminal; and / or,

[0204] If the terminal connection information includes terminal operation occupancy, a terminal whose corresponding terminal operation occupancy is less than a preset operation occupancy threshold is selected from each first terminal as the target terminal.

[0205] Further, after the terminal is updated according to the update file, the second terminal further includes:

[0206] If it is detected that the terminal update fails and / or the connection with the first terminal is disconnected, the process returns to the step of connecting with the first terminal until it is detected that the terminal update succeeds.

[0207] Further, after the terminal is updated according to the update file, the second terminal further includes:

[0208] Detect terminal update progress and terminal update speed;

[0209] If the terminal update speed is less than the preset speed threshold, and the terminal update progress is less than the preset progress threshold, the process returns to the step of connecting with the first terminal.

[0210] The various embodiments of the first terminal and the second terminal of the present invention may refer to the various embodiments of the terminal updating method of the present invention, which will not be described in detail here.

[0211] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a terminal update program is stored. When the terminal update program is executed by a processor, the following steps of the terminal update method are implemented.

[0212] The various embodiments of the terminal updating device and the computer-readable storage medium of the present invention may refer to the various embodiments of the terminal updating method of the present invention, and will not be described in detail here.

[0213] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

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

[0215] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0216] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A terminal updating method, characterized in that: Applied to a first terminal, the terminal updating method includes: If at least one second terminal is detected within the connection range, operating in a multi-connection mode so that each of the second terminals can be connected to the first terminal, wherein each of the second terminals operates in a single connection mode; An update file is sent to each of the connected second terminals, so that each of the second terminals can perform terminal update according to the update file received by each of them.

2. The terminal updating method according to claim 1, characterized in that: The operation in the multi-connection mode includes: If the first terminal is a core unit, operating in the multi-connection mode; If the first terminal is the updated second terminal, the single connection mode is switched to the multiple connection mode.

3. The terminal updating method according to claim 2, characterized in that: If the first terminal is the updated second terminal, before switching the single connection mode to the multiple connection mode, the method further includes: Opening a wireless connection channel of the first terminal, and receiving a third terminal version of the third terminal sent by a third terminal, wherein the third terminal is connected to the first terminal through the wireless connection channel; If it is detected that the version sequence relationship between the third terminal version and the first terminal version corresponding to the first terminal meets a preset first sequence relationship condition, the first terminal is determined to be an updated second terminal.

4. The terminal updating method according to claim 1, characterized in that: After sending the update file to each of the second terminals connected thereto, the method further includes: If it is detected that all second terminals within the connection range have been updated, the multi-connection mode is switched to a single connection mode.

5. The terminal updating method according to claim 1, characterized in that: After sending the update file to each of the second terminals connected thereto, the method further includes: If it is detected that any of the second terminals fails to update, the wireless connection channel of the first terminal is closed.

6. The terminal updating method according to any one of claims 1 to 5, characterized in that: The sending the update file to at least one second terminal connected to the first terminal comprises: If it is detected that any running program other than the terminal update program is in a running state, sending the update file to each of the second terminals at a first sending speed; If it is detected that all running programs except the terminal update program are in a non-running state, an update file is sent to each of the second terminals at a second sending speed, wherein the first sending speed is lower than the second sending speed.

7. A terminal updating method, characterized in that: Applied to the second terminal, the terminal update method includes: If a first terminal within the connection range is detected, operating in a single connection mode and connecting to the first terminal, wherein the first terminal operates in a multi-connection mode; If the update file sent by the first terminal is received, the terminal is updated according to the update file.

8. The terminal updating method according to claim 7, characterized in that: After the terminal is updated according to the update file, the method further includes: If at least one second terminal within the connection range is detected, the single connection mode is switched to the multiple connection mode.

9. The terminal updating method according to claim 7, characterized in that: Before the operation in the single connection mode, the method further includes: Opening a wireless connection channel and receiving a fourth terminal version of the fourth terminal sent by a fourth terminal, wherein the fourth terminal is connected to the second terminal through the wireless connection channel of the second terminal; If it is detected that the version sequence relationship between the fourth terminal version and the second terminal version corresponding to the second terminal meets a preset second sequence relationship condition, the step of operating in the single connection mode is performed.

10. The terminal updating method according to claim 7, characterized in that: The connecting with the first terminal includes: If the terminal is within the connection range of multiple first terminals, a terminal whose corresponding terminal connection information meets the preset connection information condition is selected from each of the first terminals as a target terminal, and the terminal is connected to the target terminal.

11. The terminal updating method according to claim 10, characterized in that: The selecting, from among the first terminals, a terminal whose corresponding terminal connection information satisfies a preset connection information condition as a target terminal includes: If the terminal connection information includes terminal connection performance, a terminal whose corresponding terminal connection performance is greater than a preset performance threshold is selected from each of the first terminals as the target terminal; and / or, If the terminal connection information includes connection signal strength, a terminal whose corresponding connection signal strength is greater than a preset signal strength threshold is selected from each of the first terminals as the target terminal; and / or, If the terminal connection information includes the number of devices connected to the terminal, a terminal whose corresponding number of devices connected to the terminal is less than a preset device number threshold is selected from each of the first terminals as the target terminal; and / or, If the terminal connection information includes terminal operation occupancy, a terminal whose corresponding terminal operation occupancy is less than a preset operation occupancy threshold is selected from each of the first terminals as the target terminal.

12. The terminal updating method according to claim 7, characterized in that: After the terminal is updated according to the update file, the method further includes: If it is detected that the terminal update fails and / or the connection with the first terminal is disconnected, the process returns to the step of connecting with the first terminal until it is detected that the terminal update succeeds.

13. The terminal updating method according to claim 7, characterized in that: After the terminal is updated according to the update file, the method further includes: Detect terminal update progress and terminal update speed; If the terminal update speed is less than the preset speed threshold, and the terminal update progress is less than the preset progress threshold, the process returns to the step of connecting with the first terminal.

14. The terminal updating method according to any one of claims 7 to 13, characterized in that: The multi-connection mode is an entry point mode, and the single connection mode is a station mode.

15. A terminal update device, characterized in that: The terminal update device includes: a memory, a processor, and a terminal update program stored in the memory and executable on the processor. When the terminal update program is executed by the processor, the steps of the terminal update method according to any one of claims 1 to 6 or any one of claims 7 to 14 are implemented.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a terminal update program, and when the terminal update program is executed by the processor, the steps of the terminal update method according to any one of claims 1 to 6 or any one of claims 7 to 14 are implemented.