CN114867046A - Wireless network equipment firmware updating method and wireless network equipment - Google Patents

Wireless network equipment firmware updating method and wireless network equipment Download PDF

Info

Publication number
CN114867046A
CN114867046A CN202210785749.6A CN202210785749A CN114867046A CN 114867046 A CN114867046 A CN 114867046A CN 202210785749 A CN202210785749 A CN 202210785749A CN 114867046 A CN114867046 A CN 114867046A
Authority
CN
China
Prior art keywords
firmware
information
record information
target
difference degree
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
CN202210785749.6A
Other languages
Chinese (zh)
Other versions
CN114867046B (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.)
Yichen Shenzhen Technology Co ltd
Original Assignee
Yichen Shenzhen Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yichen Shenzhen Technology Co ltd filed Critical Yichen Shenzhen Technology Co ltd
Priority to CN202210785749.6A priority Critical patent/CN114867046B/en
Publication of CN114867046A publication Critical patent/CN114867046A/en
Application granted granted Critical
Publication of CN114867046B publication Critical patent/CN114867046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

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

Abstract

The application provides a firmware updating method for wireless network equipment and the wireless network equipment, and relates to the technical field of wireless network equipment. In the application, first firmware version number information stored by a target server is obtained, where the first firmware version number information and target firmware installed on a target wireless network device have a corresponding relationship. Secondly, whether the target firmware is updated is determined based on the first firmware version number information and second firmware version number information of the target firmware installed on the target wireless network device. And then, if the target firmware is determined to need to be updated, acquiring the updated firmware corresponding to the first firmware version number information from the target server, wherein the updated firmware and the target firmware belong to different versions of the same wireless network equipment firmware. Finally, an update operation is performed on the target firmware based on the updated firmware. Based on the method, the problems of high cost and low efficiency in the updating process of the wireless network equipment in the prior art can be solved.

Description

Wireless network equipment firmware updating method and wireless network equipment
Technical Field
The present application relates to the technical field of wireless network devices, and in particular, to a method for updating a firmware of a wireless network device and a wireless network device.
Background
In the field of wireless network device technology, firmware in a wireless network device needs to be updated based on certain requirements. However, the inventor researches and finds that, in the prior art, generally, a maintenance person performs an update operation through an update page to update the firmware in the wireless network device, so that the problems of high update cost and low update efficiency exist.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method for updating firmware of a wireless network device and a wireless network device, so as to solve the problems of high cost and low efficiency in the update process of the wireless network device in the prior art.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
a wireless network device firmware updating method is applied to a target wireless network device, the target wireless network device is provided with target firmware, and the wireless network device firmware updating method comprises the following steps:
acquiring first firmware version number information stored by a target server, wherein the first firmware version number information has a corresponding relation with target firmware installed on target wireless network equipment;
determining whether to update the target firmware based on the first firmware version number information and second firmware version number information of the target firmware installed on the target wireless network equipment, wherein the second firmware version number information is version number information of the target firmware currently installed on the target wireless network equipment;
if the target firmware is determined to need to be updated, acquiring an updated firmware corresponding to the first firmware version number information from the target server, wherein the updated firmware and the target firmware belong to different versions of the same wireless network equipment firmware;
performing an update operation on the target firmware based on the update firmware.
In a preferred option of the embodiment of the present application, in the method for updating firmware of a wireless network device, the step of determining whether to update a target firmware installed on the target wireless network device based on the first firmware version number information and the second firmware version number information of the target firmware includes:
judging whether the first firmware version number information is the same as second firmware version number information of target firmware installed on the target wireless network equipment;
and if the first firmware version number information is the same as the second firmware version number information, determining not to update the target firmware.
In a preferred option of the embodiment of the present application, in the method for updating a firmware of a wireless network device, the step of determining whether to update a target firmware based on the first firmware version number information and second firmware version number information of the target firmware installed on the target wireless network device further includes:
if the first firmware version number information is different from the second firmware version number information, determining that the target firmware needs to be updated; or
If the first firmware version number information is different from the second firmware version number information, acquiring a firmware difference degree between an updated firmware corresponding to the first firmware version number information and a target firmware corresponding to the second firmware version number information from the target server, wherein the firmware difference degree is used for representing the difference between the updated firmware and the target firmware in multiple dimensions, and the multiple dimensions comprise a data volume dimension, a program logic dimension and a program content dimension;
determining whether to update the target firmware based on the firmware difference.
In a preferable selection of the embodiment of the present application, in the method for updating firmware of a wireless network device, the step of determining whether to update the target firmware based on the firmware difference includes:
judging whether the difference degree of the firmware is larger than a preset difference degree threshold value or not;
if the difference degree of the firmware is smaller than or equal to the difference degree threshold value, determining not to update the target firmware;
if the difference degree of the firmware is larger than the difference degree threshold value, generating update confirmation notification information, and judging whether update confirmation information generated by response to update confirmation operation performed by a target user based on the update confirmation notification information is acquired;
if the update confirmation information is acquired, determining that the target firmware needs to be updated;
and if the update confirmation information is not acquired, determining not to update the target firmware.
In a preferred option of the embodiment of the present application, in the method for updating firmware of a wireless network device, the method for updating firmware of a wireless network device further includes a step of generating the difference threshold, where the step includes:
acquiring a plurality of pieces of difference degree record information, wherein each piece of difference degree record information is used for being generated after determining whether to update the target firmware based on the firmware difference degree every time in history, and the difference degree record information is used for representing whether to determine whether to update the target firmware when the firmware difference degree is greater than the difference degree threshold value;
and correcting a preset difference initial threshold value based on the plurality of pieces of difference recording information to obtain the difference threshold value.
In a preferred option of the embodiment of the present application, in the method for updating firmware of a wireless network device, the step of correcting a preset initial threshold of a difference degree based on the plurality of pieces of difference degree record information to obtain the threshold of the difference degree includes:
sequentially using each piece of difference degree record information in the plurality of pieces of difference degree record information as to-be-processed difference degree record information, and calculating time correlation information between the to-be-processed difference degree record information and each piece of other difference degree record information in a time dimension;
for each piece of to-be-processed difference degree record information, sequencing each piece of other difference degree record information based on time correlation information between the to-be-processed difference degree record information and each piece of other difference degree record information to form a difference degree record information ordered set corresponding to the to-be-processed difference degree record information so as to obtain a plurality of difference degree record information ordered sets, wherein the time correlation corresponding to the difference degree record information sequenced in the front in the difference degree record information ordered sets is greater than the time correlation corresponding to the difference degree record information sequenced in the back;
for each piece of difference degree record information to be processed, calculating set similarity information between the difference degree record information ordered set corresponding to the difference degree record information to be processed and the difference degree record information ordered set corresponding to each piece of other difference degree record information to obtain a plurality of sets of similarity information corresponding to the difference degree record information to be processed;
for each piece of difference degree record information to be processed, discrete value calculation is carried out on the plurality of sets of similarity information corresponding to the difference degree record information to be processed, and set similarity discrete information corresponding to the difference degree record information to be processed is obtained;
determining target to-be-processed difference degree record information from the plurality of pieces of to-be-processed difference degree record information based on the set similarity discrete information, determining a difference degree record information ordered set corresponding to the target to-be-processed difference degree record information as a target difference degree record information ordered set, and updating the target difference degree record information ordered set based on the target to-be-processed difference degree record information;
based on the sequencing position of the updated target difference degree record information ordered set, carrying out weight coefficient determination processing on each piece of difference degree record information to obtain a weight coefficient corresponding to each piece of difference degree record information, wherein the weight coefficient of the difference degree record information has a positive correlation with corresponding time correlation information;
assigning difference degree record information which is characterized in that when the difference degree of the firmware is larger than the difference degree threshold value, the target firmware is determined to be required to be updated to a first numerical value, and assigning difference degree record information which is characterized in that when the difference degree of the firmware is larger than the difference degree threshold value, the target firmware is determined not to be required to be updated to a second numerical value;
carrying out weighted summation calculation based on the assignment and the weight coefficient corresponding to each piece of difference degree record information in the updated target difference degree record information ordered set to obtain a calculation result;
and correcting a preset difference initial threshold value based on the size relationship between the calculation result and the first numerical value and the second numerical value to obtain the difference threshold value.
In a preferred option of this embodiment, in the method for updating firmware of a wireless network device, the step of calculating, for each piece of to-be-processed difference record information, set similarity information between the difference record information ordered set corresponding to the to-be-processed difference record information and the difference record information ordered set corresponding to each other piece of difference record information includes:
regarding every two difference degree record information ordered sets in the plurality of difference degree record information ordered sets, respectively taking the two difference degree record information ordered sets as a first difference degree record information ordered set and a second difference degree record information ordered set;
obtaining a corresponding first ordered set of characterization values based on a characterization value corresponding to each piece of difference degree record information in the first ordered set of difference degree record information, and obtaining a corresponding second ordered set of characterization values based on a characterization value corresponding to each piece of difference degree record information in the second ordered set of difference degree record information, wherein the characterization values are determined based on the content of the characterization of the difference degree record information, the characterization values corresponding to the difference degree record information with the same characterization content are the same, and the characterization values corresponding to the difference degree record information with different characterization content are different;
comparing the first ordered set of token values with the second ordered set of token values to obtain corresponding ordered sets of token value comparison, wherein the ordered sets of token value comparison are used for representing whether first token values of corresponding ordering positions between the first ordered set of token values and the second ordered set of token values are the same or not;
analyzing the token value comparison ordered set to obtain token value comparison characteristic information corresponding to the token value comparison ordered set, wherein the token value comparison characteristic information is used for representing similarity information between the first token value ordered set and the second token value ordered set;
and comparing the characteristic information based on the characterization value to obtain set similarity information between the corresponding first difference degree record information ordered set and the corresponding second difference degree record information ordered set.
In a preferred option of the embodiment of the present application, in the method for updating firmware of a wireless network device, the step of obtaining the first firmware version number information stored in the target server includes:
acquiring time information of the target wireless network equipment which executes the updating operation last time to obtain corresponding historical time information, and calculating a time difference between the historical time information and the current time information to obtain corresponding time length information;
judging whether the time length information is larger than preset time length threshold information or not;
if the time length information is greater than the duration threshold information, generating version number request information, and sending the version number request information to the target server, wherein the target server is used for sending first firmware version number information corresponding to the stored target firmware to the target wireless network equipment based on the version number request information;
and receiving the first firmware version number information sent by the target server.
In a preferred option of the embodiment of the present application, in the method for updating firmware of a wireless network device, after the step of performing an update operation on the target firmware based on the update firmware is performed, the method for updating firmware of a wireless network device further includes:
running the updated target firmware and acquiring running state information of the running target firmware;
determining whether the target firmware is successfully updated based on the operating status information;
and if the target firmware is determined to be successfully updated, generating update notification information for representing the successful update of the target firmware, and sending the update notification information to the target server.
On the basis, an embodiment of the present application further provides a wireless network device, including:
a memory for storing a computer program;
and the processor is connected with the memory and is used for executing the computer program stored in the memory so as to realize the wireless network equipment firmware updating method.
According to the wireless network equipment firmware updating method and the wireless network equipment, the firmware version number information of the target firmware on the target wireless network equipment is compared with the corresponding firmware version number information stored on the target server to determine whether the target firmware is updated, so that when the target firmware is determined to be updated, the updated firmware corresponding to the first firmware version number information is obtained from the target server, and the target firmware is updated based on the updated firmware. Based on the method, the firmware of the wireless network equipment can be automatically updated through the judgment of the wireless network equipment, the updating cost can be effectively reduced, the updating efficiency is improved, the problems of high cost and low efficiency in the updating process of the wireless network equipment in the prior art are solved, and the method has high practical value.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a block diagram of a target wireless network device according to an embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a method for updating firmware of a wireless network device according to an embodiment of the present disclosure.
Icon: 10-a target wireless network device; 12-a memory; 14-a processor.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, embodiments of the present application provide a target wireless network device 10 that may include a memory 12 and a processor 14 and a computer program stored in the memory 12.
Wherein the memory 12 and the processor 14 are electrically connected directly or indirectly to realize data transmission or interaction. For example, they may be electrically connected to each other via one or more communication buses or signal lines. The processor 14 is configured to execute the executable computer program stored in the memory 12 to implement the method for updating firmware of a wireless network device provided by the embodiment of the present application.
Alternatively, the Memory 12 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The Processor 14 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), a System on Chip (SoC), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
It is understood that the structure shown in fig. 1 is only an illustration, and the target wireless network device 10 may further include more or less components than those shown in fig. 1, or have a different configuration from that shown in fig. 1, for example, may further include a communication unit for information interaction with other devices (e.g., a server).
With reference to fig. 2, an embodiment of the present application further provides a wireless network device firmware updating method applicable to the target wireless network device 10. Wherein the method steps defined by the flow relating to the wireless network device firmware update method may be implemented by the target wireless network device 10.
The specific process shown in FIG. 2 will be described in detail below.
Step S110, obtain the first firmware version number information stored by the target server.
In this embodiment, the target wireless network device may first obtain the first firmware version number information stored by the target server. And the first firmware version number information and the target firmware installed on the target wireless network equipment have a corresponding relation. For example, the first firmware version number information may be information of a latest version of the target firmware.
Step S120, determining whether to update the target firmware based on the first firmware version number information and the second firmware version number information of the target firmware installed on the target wireless network device.
In this embodiment, after obtaining the first firmware version number information based on step S110, the target wireless network device may determine whether to update the target firmware based on the first firmware version number information and second firmware version number information of the target firmware installed on the target wireless network device.
And the second firmware version number information is the version number information of the target firmware currently installed on the target wireless network equipment. That is, it is determined whether to update the firmware based on the current version of the firmware installed on the target wireless network device and the latest version of the firmware stored on the target server. If it is determined that the target firmware needs to be updated, step S130 is performed.
Step S130, obtaining the updated firmware corresponding to the first firmware version number information from the target server.
In this embodiment, after determining that the target firmware needs to be updated based on step S120, the target wireless network device may obtain the updated firmware corresponding to the first firmware version number information from the target server.
Wherein the update firmware and the target firmware belong to different versions of the same wireless network device firmware.
In step S140, an update operation is performed on the target firmware based on the updated firmware.
In this embodiment, after acquiring the update firmware based on step S130, the target wireless network device may perform an update operation on the target firmware based on the update firmware.
Based on the method, whether the target firmware is updated or not is determined by comparing the firmware version number information of the target firmware on the target wireless network device with the corresponding firmware version number information stored on the target server, so that when the target firmware is determined to be updated, the updated firmware corresponding to the first firmware version number information is obtained from the target server, and the updating operation is performed on the target firmware based on the updated firmware. Based on the method, the firmware of the wireless network equipment can be automatically updated through the judgment of the wireless network equipment, the updating cost can be effectively reduced, the updating efficiency is improved, and the problems of high cost and low efficiency in the updating process of the wireless network equipment in the prior art are solved.
It is understood that in the above examples, Firmware (Firmware) may refer to a program written in an Erasable Programmable Read Only Memory (EPROM) or an Electrically Erasable Programmable Read Only Memory (EEPROM), such as a device "driver" stored inside the electronic device, and an operating System of the electronic device needs to work according to a full drive through the Firmware, for example, the Firmware may include a Basic Input/Output System (BIOS) on a main board of the electronic device.
In the first aspect, it should be noted that, in step S110, a specific manner of obtaining the first firmware version number information is not limited, and may be selected according to actual application requirements.
For example, in an alternative example, the first firmware version number information may be obtained based on the following steps:
firstly, acquiring time information of the latest updating operation executed by the target wireless network equipment (namely the time information of the latest updating operation executed), acquiring corresponding historical time information, and calculating a time difference between the historical time information and the current time information to acquire corresponding time length information;
secondly, judging whether the time length information is larger than preset time length threshold information or not (wherein the time length threshold information can be generated based on configuration operation of a user according to an actual application scene);
then, if the time length information is greater than the duration threshold information, generating version number request information, and sending the version number request information to the target server, wherein the target server is used for sending first firmware version number information corresponding to the stored target firmware to the target wireless network device based on the version number request information;
and finally, receiving the first firmware version number information sent by the target server.
In the second aspect, it should be noted that, in step S120, a specific manner of determining whether to update the target firmware based on the first firmware version number information and the second firmware version number information is not limited, and may be selected according to actual application requirements.
For example, in an alternative example, the determination of whether to update the target firmware may be based on:
firstly, judging whether the first firmware version number information is the same as the second firmware version number information of the target firmware installed on the target wireless network equipment (wherein the first firmware version number information is the latest version number of the wireless network equipment firmware stored on the target server, and the second firmware version number information is the latest version number of the wireless network equipment firmware installed on the target wireless network equipment);
secondly, if the first firmware version number information is the same as the second firmware version number information, determining not to update the target firmware (that is, when determining that the wireless network device firmware installed on the target wireless network device is the latest version, determining not to update the wireless network device firmware).
On the basis of the above example, it should be further noted that, in step S120, if the first firmware version number information and the second firmware version number information are different, a specific processing manner is not limited.
For example, in an alternative example, if the first firmware version number information and the second firmware version number information are different, it is determined that the target firmware needs to be updated.
That is, the wireless network device firmware needs to be updated whenever it is determined that the wireless network device firmware installed on the target wireless network device is not the latest version.
For another example, in another alternative example, if the first firmware version number information and the second firmware version number information are different, a firmware difference degree between the updated firmware corresponding to the first firmware version number information and the target firmware corresponding to the second firmware version number information is obtained from the target server, where the firmware difference degree is used to characterize differences between the updated firmware and the target firmware in multiple dimensions, and the multiple dimensions include a data volume dimension, a program logic dimension, and a program content dimension; determining whether to update the target firmware based on the firmware difference.
The difference in the data size dimension may be a difference between the numbers of the updated firmware and the target firmware, for example, the data size of the updated firmware is 1.1G, the data size of the target firmware is 0.98G, and thus, the difference in the data size dimension is 0.12G.
The difference in the program logic dimension may be a difference formed between the updated firmware and the target firmware in the sequence relationship of each program segment, for example, the step a is executed first in the updated firmware, and then the step B is executed; and executing the step B in the target firmware firstly, and then executing the step A. Thus, the number of program segments storing the opposite execution logic can be counted and taken as the difference in the dimension of the re-program logic;
the difference in the program content dimension may be a ratio between a data amount of different program contents that the update firmware and the target firmware have and a total data amount of the update firmware. For example, if the data amount of the updated firmware is X, and the data amount of a program different from the target firmware is Y, the corresponding difference is Y/X.
The firmware difference degree may be obtained by normalizing the differences in the plurality of dimensions, and then performing weighting calculation. The weight coefficients corresponding to the differences in different dimensions may be generated based on configuration operations performed by a user according to an actual application scenario, and if the data volume dimension is more inclined, the weight coefficients of the differences in the data volume dimension may be greater than the weight coefficients of the differences in other dimensions; if the program content dimension is more favored, the weight coefficients for differences in the program content dimension may be greater than the weight coefficients for differences in other dimensions.
Optionally, in the above example, a specific manner of determining whether to update the target firmware based on the firmware difference degree is not limited, and may be selected according to actual application requirements.
For example, in an alternative example, whether to update the target firmware may be determined based on the firmware difference degree by:
firstly, judging whether the difference degree of the firmware is greater than a preset difference degree threshold value;
secondly, if the difference degree of the firmware is smaller than or equal to the difference degree threshold value, determining not to update the target firmware; if the difference degree of the firmware is larger than the difference degree threshold value, generating update confirmation notification information, and judging whether update confirmation information generated by response to update confirmation operation performed by a target user based on the update confirmation notification information is acquired;
then, if the update confirmation information is acquired, determining that the target firmware needs to be updated; if the update confirmation information is not obtained, it is determined not to update the target firmware (that is, when the firmware difference is greater than the difference threshold, it may be determined whether to update the target firmware based on a user's requirement).
It is understood that, in the above example, the generation manner of the variance threshold is not limited, and may be selected according to the actual application requirement.
For example, in an alternative example, the dissimilarity threshold may be generated based on a configuration operation of a user. For another example, in another alternative example, the variance threshold may be generated based on the following steps to reduce labor costs:
firstly, acquiring a plurality of pieces of difference degree record information, wherein each piece of difference degree record information is used for being generated after determining whether to update the target firmware based on the firmware difference degree every time in history, and the difference degree record information is used for representing whether to determine whether to update the target firmware when the firmware difference degree is greater than the difference degree threshold value;
then, a preset initial difference threshold is modified based on the plurality of pieces of difference record information to obtain the difference threshold, where the initial difference threshold is generated based on an initial threshold operation performed by the target server (e.g., based on a configuration operation performed by a manager of the target server, or a randomly generated value).
It can be understood that, in the above example, the specific manner of obtaining the difference threshold by performing the correction processing on the difference initial threshold is not limited, and may be selected according to the actual application requirement.
For example, in an alternative example, the difference threshold may be obtained by performing a modification process on the difference initial threshold based on the following steps:
a first step of sequentially taking each of the plurality of pieces of difference degree record information as to-be-processed difference degree record information, and calculating time correlation information in a time dimension between the to-be-processed difference degree record information and each of the other pieces of difference degree record information (that is, time correlation in the time dimension between each two of the plurality of pieces of difference degree record information, such as correlation between generation times, may be calculated, wherein in one example, a reciprocal of a difference between the generation times may be taken as the time correlation information, that is, the larger the difference between the generation times, the smaller the corresponding time correlation information is, and in another example, a weighted value of the reciprocal of the difference between the generation times and the reciprocal of the corresponding period information may be taken as the corresponding time correlation information, for example, each day may be divided into 12 periods, such as a first period, a second period, a.
Second, for each piece of the difference degree record information to be processed, sorting each piece of other difference degree record information based on time correlation information between the piece of difference degree record information to be processed and each piece of other difference degree record information to form a difference degree record information ordered set corresponding to the piece of difference degree record information to be processed (for example, the difference degree record information ordered set may be "difference degree record information 1, difference degree record information 3, difference degree record information 5, difference degree record information 2, difference degree record information 4") to obtain a plurality of difference degree record information ordered sets, wherein the time correlation corresponding to the difference degree record information sorted in the front in the difference degree record information ordered set is greater than the time correlation corresponding to the difference degree record information sorted in the back;
third, for each piece of the to-be-processed difference degree record information, calculating set similarity information between the difference degree record information ordered set corresponding to the to-be-processed difference degree record information and the difference degree record information ordered set corresponding to each other piece of difference degree record information to obtain a plurality of pieces of set similarity information corresponding to the to-be-processed difference degree record information (for example, for a set a, set similarity information between a set a and a set B, set similarity information between a set a and a set C, and set similarity information between a set a and a set D may be calculated);
fourthly, for each piece of difference degree record information to be processed, calculating discrete values of the plurality of sets of similarity information corresponding to the difference degree record information to be processed (for example, for similarity information a, similarity information b and similarity information c, an average value of a, b and c may be calculated first to obtain d, so that an absolute value of a difference value between a and d, a sum of an absolute value of a difference value between b and d and an absolute value of a difference value between c and d may be calculated first, and then the sum is divided by 3 to obtain corresponding discrete values), thereby obtaining set similarity discrete information corresponding to the difference degree record information to be processed;
a fifth step of determining target to-be-processed disparity record information among the plurality of pieces of to-be-processed disparity record information based on the set similarity dispersion information (for example, the to-be-processed disparity record information with the smallest set similarity dispersion information may be used as the target to-be-processed disparity record information), determining an ordered set of disparity record information corresponding to the target to-be-processed disparity record information as the target ordered set of disparity record information, and updating the target ordered set of disparity record information based on the target to-be-processed disparity record information (for example, the target to-be-processed disparity record information may be inserted into the target ordered set of disparity record information because the time correlation corresponding to the disparity record information ordered at the front in the ordered set of disparity record information is greater than the time correlation corresponding to the disparity record information ordered at the back, thus, the target to-be-processed disparity record information can be inserted into the first place of the set);
sixthly, based on the sequencing position of the updated target difference degree record information ordered set, carrying out weight coefficient determination processing on each piece of difference degree record information to obtain a weight coefficient corresponding to each piece of difference degree record information, wherein the weight coefficient of each piece of difference degree record information has positive correlation with corresponding time correlation information (that is, the more the sequencing position is, the larger the corresponding time correlation information is, the larger the corresponding weight coefficient can be, and the sum of the weight coefficients can be 1);
seventhly, assigning difference degree record information which is characterized in that when the difference degree of the firmware is larger than the difference degree threshold value, the target firmware is determined to be required to be updated to a first numerical value (such as 1), and assigning difference degree record information which is characterized in that when the difference degree of the firmware is larger than the difference degree threshold value, the target firmware is determined not to be required to be updated to a second numerical value (such as-1);
eighthly, performing weighted summation calculation based on an assignment (such as the first numerical value or the second numerical value) and a weight coefficient corresponding to each piece of difference degree record information in the updated target difference degree record information ordered set to obtain a calculation result;
ninth, a preset initial threshold of the degree of difference is modified based on the magnitude relationship between the calculation result and the first and second values to obtain the threshold of the degree of difference (for example, when the first value is 1 and the second value is-1, if the calculation result is greater than 0, the initial threshold of the degree of difference may be decreased to obtain the threshold of the degree of difference, e.g., decreased by 10%, and if the calculation result is less than or equal to 0, the initial threshold of the degree of difference may be increased to obtain the threshold of the degree of difference, e.g., increased by 10%).
It is understood that, in the above example, the specific way of calculating the set similarity information between the disparity degree record information ordered sets is not limited, and may be selected according to the actual application requirements.
For example, in an alternative example, the set similarity information between the sorted sets of difference degree record information may be calculated based on the following steps:
the first step, aiming at every two difference degree record information ordered sets in the plurality of difference degree record information ordered sets, taking the two difference degree record information ordered sets as a first difference degree record information ordered set and a second difference degree record information ordered set respectively;
a second step of obtaining a corresponding first ordered set of token values based on the token values (such as the first numerical value and the second numerical value) corresponding to each piece of difference record information in the first ordered set of difference record information, and obtaining a corresponding second ordered set of token values based on the token values corresponding to each piece of difference record information in the second ordered set of difference record information, wherein the token values are determined based on the content of the token of the difference record information, the token values corresponding to the difference record information with the same token content are the same, and the token values corresponding to the difference record information with different token contents are different;
comparing the first and second ordered sets of token values to obtain corresponding ordered sets of token values, wherein the ordered sets of token values are used for representing whether the first token values at the corresponding sorting positions between the first and second ordered sets of token values are the same (if the token values at the corresponding positions in the first and second ordered sets of token values are the same, the parameter at the corresponding position in the ordered sets of token values is 1; the token values at the corresponding positions in the first and second ordered sets of token values are different, and the parameter at the corresponding position in the ordered sets of token values is 0);
analyzing the token-value-comparison ordered set to obtain token-value-comparison feature information corresponding to the token-value-comparison ordered set, where the token-value-comparison feature information is used to represent similarity information between the first token-value-comparison ordered set and the second token-value-comparison ordered set (for example, a ratio of a quantity of a first parameter in the token-value-comparison ordered set to a quantity of all parameters in the token-value-comparison ordered set may be used as the token-value-comparison feature information, and the first parameter represents that standard values of corresponding positions in the first token-value-comparison ordered set and the second token-value-comparison ordered set are the same);
and fifthly, based on the characteristic value and the characteristic information, obtaining set similarity information between the corresponding first and second ordered sets of the record information with the degree of difference (for example, the characteristic value and the characteristic information may be directly used as the set similarity information).
For another example, in another alternative example, the set similarity information between the sorted sets of difference degree record information may be calculated based on the following steps:
the first step, aiming at every two difference degree record information ordered sets in the plurality of difference degree record information ordered sets, taking the two difference degree record information ordered sets as a first difference degree record information ordered set and a second difference degree record information ordered set respectively;
secondly, sequentially determining each piece of difference degree record information in the first difference degree record information ordered set as target difference degree record information;
comparing the target difference degree record information with the difference degree record information at the corresponding position in the second difference degree record information ordered set based on the characterized content (for example, if the target difference degree record information is the first difference degree record information in the first difference degree record information ordered set, the content characterized by the target difference degree record information is compared with the content characterized by the first difference degree record information in the second difference degree record information ordered set to determine whether the contents characterized by the two pieces of difference degree record information are the same);
fourthly, counting the number of target difference degree record information with the same representation content between the difference degree record information at the corresponding position in the second difference degree record information ordered set to obtain a first number, and obtaining a corresponding first proportion value based on the first number and a second number of difference degree record information included in the first difference degree record information ordered set (for example, there are 5 pieces of difference degree record information in the first difference degree record information ordered set, where there are 3 pieces of difference degree record information with the same representation content as the difference degree record information at the corresponding position in the second difference degree record information ordered set, and the corresponding first proportion value is 3/5);
a fifth step of determining at least one target value less than or equal to the second number, wherein each of the target values is greater than 1 and is an integer (for example, if the second number is 5, one or more of 2, 3, 4 and 5 may be arbitrarily selected, wherein, for higher accuracy requirements, the larger the number of selected target values may be, the smaller the calculation amount is required, and the smaller the number of selected target values may be);
sixthly, for each target value, sequentially determining each continuous target value piece of difference degree record information in the first difference degree record information ordered set as a difference degree record information ordered subset (for example, if the first difference degree record information is "information 1, information 2, information 3, information 4", and the target value is 3, the difference degree record information ordered subset may include "information 1, information 2, information 3", "information 2, information 3, information 4");
seventhly, comparing the ordered subset of the record information of the degree of difference with the continuous record information of the target value strip at the corresponding position in the ordered set of the record information of the second degree of difference (for example, based on the foregoing example, if the ordered subset of the record information of the degree of difference is "information 1, information 2, and information 3", comparing the first record information of the degree of difference, the second record information of the degree of difference, and the third record information of the degree of difference in the ordered set of the record information of the second degree of difference, and determining "information 1, information 2, information 3" and the first record information of the ordered set of the record information of the degree of difference only if the information 1 is the same as the first record information of the degree of difference, the information 2 is the same as the second record information, and the information 2 is the same as the third record information, The second piece of difference degree recording information and the third piece of difference degree recording information are the same in the representation content);
eighthly, counting the number of ordered subsets of the difference degree record information with the same content as the content represented between the target value strip of continuous difference degree record information at the corresponding position in the second ordered set of difference degree record information for each target value to obtain a third number corresponding to the target value, and obtaining a second proportional value corresponding to the target value based on the third number (for example, on the basis of the above example, the target value is 3, if the number of ordered subsets of the difference degree record information with the same content represented is 1, wherein the total number of ordered subsets of the difference degree record information is 2, the corresponding second proportional value is 1/2);
and a ninth step of performing weighted calculation based on the first proportional value and the second proportional value corresponding to each target value to obtain set similarity information between the first ordered set of difference degree record information and the second ordered set of difference degree record information, wherein the weighting coefficient corresponding to the second proportional value is greater than the weighting coefficient corresponding to the first proportional value, the weighting coefficients corresponding to the second proportional values corresponding to different target values are different, and the weighting coefficient corresponding to the second proportional value and the corresponding target value have a positive correlation (for example, based on the above example, if the first proportional value is 0.6, the corresponding weighting coefficient is 0.4, the second proportional value is 0.5, and the corresponding weighting coefficient is 0.6, the set similarity information is 0.54).
For another example, in another alternative example, the set similarity information between the sorted sets of difference degree record information may be calculated based on the following steps:
firstly, aiming at every two difference degree record information ordered sets in the plurality of difference degree record information ordered sets, taking the two difference degree record information ordered sets as a corresponding first difference degree record information ordered set and a corresponding second difference degree record information ordered set respectively;
secondly, for every two corresponding difference degree record information ordered sets, determining a first record information ordered subset and a second record information ordered subset of each difference degree record information ordered set in the two difference degree record information ordered sets (namely determining a first record information ordered subset and a second record information ordered subset of the first difference degree record information ordered set and determining a first record information ordered subset and a second record information ordered subset of the second difference degree record information ordered set);
third, for every two corresponding ordered sets of record information of degree of difference, determining a third ordered set of record information of degree of difference composed of the first ordered set of record information of degree of difference and the second ordered set of record information of degree of difference (for example, a union of record information of degree of difference in the first ordered set of record information of degree of difference and record information of degree of difference in the second ordered set of record information of degree of difference can be obtained to obtain a union of record information, then, average value information of time correlation information of each record information of degree of difference in the union of record information in the first ordered set of record information of degree of difference and the second ordered set of record information of degree of difference is calculated, and then each record information of degree of difference in the union of record information is sorted based on the size relationship of the average value information, obtaining the third difference degree record information ordered set, if the average value information corresponding to the difference degree record information ordered in the front is larger);
a fourth step of determining a third ordered subset of record information and a fourth ordered subset of record information of each third ordered set of record information of the degree of dissimilarity, wherein the first ordered subset of record information and the second ordered subset of record information are complementary sets to each other in the corresponding ordered set of difference degree record information, the third ordered subset of record information and the fourth ordered subset of record information are complementary sets to each other in the corresponding ordered set of difference degree record information, the first ordered subset of recording information and the third ordered subset of recording information are obtained by sampling based on the same sampling rule (for example, odd-numbered disparity recording information may be configured as the first ordered subset of recording information or the third ordered subset of recording information in the corresponding disparity ordered set of recording information);
fifthly, calculating a first association value of each ordered set of the record information with the degree of difference according to a first ordered subset of the record information with the degree of difference and a corresponding third ordered subset of the record information with the degree of difference, wherein the first association value is used for representing an association relationship between the first ordered subset of the record information and the third ordered subset of the record information;
sixthly, calculating a second association value of the record information ordered set according to a second record information ordered subset of each record information ordered set and a corresponding fourth record information ordered subset of the third record information ordered set, wherein the first association value is used for representing the association relationship between the second record information ordered subset and the fourth record information ordered subset;
seventhly, performing weighted calculation on the first correlation value and the second correlation value of each difference degree record information ordered set based on a predetermined weight coefficient to obtain set similarity information between the difference degree record information ordered set and the third difference degree record information ordered set (it can be understood that the weight coefficient can be generated based on configuration operation performed by a user according to an actual application scene, and a specific numerical value thereof is not limited as long as the sum of the weight coefficients of the first correlation value and the second correlation value is 1);
eighthly, calculating the average value of the set similarity information between each difference degree record information ordered set and the corresponding third difference degree record information ordered set in the two difference degree record information ordered sets aiming at every two corresponding difference degree record information ordered sets, set similarity information between a first difference degree record information ordered set and a second difference degree record information ordered set included in the two difference degree record information ordered sets is obtained (for example, the set similarity information between the first difference degree record information ordered set and the third difference degree record information ordered set and the set similarity information between the second difference degree record information ordered set and the third difference degree record information ordered set are added, and then divided by 2, so as to obtain the set similarity information between the first difference degree record information ordered set and the second difference degree record information ordered set).
It can be understood that, in the above example, the specific manner of calculating the first correlation value of the difference degree record information ordered set is not limited, and may be selected according to actual requirements.
For example, in an alternative example, the first correlation value of the ordered set of the degree of difference record information may be calculated based on the following steps:
firstly, calculating a standard deviation of a first ordered subset of record information of the ordered set of record information of the degree of difference (i.e. calculating a standard deviation of the characteristic value of each record information of the ordered subset of record information of the degree of difference, the characteristic value being as described above), and calculating a standard deviation of a third ordered subset of record information of the ordered set of record information of the degree of difference (i.e. calculating a standard deviation of the characteristic value of each record information of the ordered subset of record information of the third record information);
secondly, calculating the covariance of the first record information ordered subset of the record information ordered set of the difference degree and the third record information ordered subset of the record information ordered set of the third difference degree (namely calculating the covariance between the characteristic value of each record information in the first record information ordered subset and the characteristic value of each record information in the third record information ordered subset);
then, a first correlation value of the ordered set of difference degree record information is calculated according to the standard deviation of the first ordered subset of record information, the standard deviation of the third ordered subset of record information, and the covariance of the first ordered subset of record information and the third ordered subset of record information (for example, a mean value of two standard deviations and the covariance may be calculated, and the first correlation value is obtained based on the mean value, where the mean value and the first correlation value have a negative correlation, such as taking the reciprocal of the absolute value of the value as the first correlation value).
It can be understood that, in the above example, a specific manner for calculating the second correlation value of the difference degree record information ordered set is not limited, and may be selected according to an actual application requirement.
For example, in an alternative example, the second correlation value of the ordered set of difference degree record information may be calculated based on the following steps:
firstly, calculating the standard deviation of a second record information ordered subset of the record information ordered set with the degree of difference (namely calculating the standard deviation of the characteristic value of each record information with the degree of difference in the second record information ordered subset), and calculating the standard deviation of a fourth record information ordered subset of the record information ordered set with the degree of difference (namely calculating the standard deviation of the characteristic value of each record information with the degree of difference in the fourth record information ordered subset);
secondly, calculating the covariance of the second ordered subset of the record information with the degree of difference and the fourth ordered subset of the record information with the third ordered subset of the record information with the degree of difference (namely calculating the covariance between the characteristic value of each record information with the degree of difference in the second ordered subset of the record information and the characteristic value of each record information with the degree of difference in the fourth ordered subset of the record information);
then, a second correlation value of the ordered set of difference degree record information is calculated according to the standard deviation of the ordered subset of second record information, the standard deviation of the ordered subset of fourth record information, and the covariance of the ordered subset of second record information and the ordered subset of fourth record information (for example, a mean value of the two standard deviations and the covariance may be calculated, and the second correlation value is obtained based on the mean value, where the mean value and the second correlation value have a negative correlation, such as taking the reciprocal of the absolute value of the value as the second correlation value).
In the third aspect, it should be noted that, in step S130, a specific manner of obtaining the updated firmware corresponding to the first firmware version number information from the target server is not limited, and may be selected according to actual application requirements.
For example, in an alternative example, if it is determined that the target firmware needs to be updated, request information may be generated first, where the request information may carry information of the first firmware version number. Then, the request information is sent to the target server, so that the target server can send the updated firmware corresponding to the first firmware version number information to the target wireless network device based on the request information.
In the fourth aspect, it should be noted that, in step S140, a specific manner of performing the update operation on the target firmware based on the update firmware is not limited, and may be selected according to actual application requirements.
For example, in an alternative example, the target firmware may be directly replaced with the update firmware to effect the update to the target firmware.
On the basis of the above example, after the step of performing the update operation on the target firmware based on the update firmware is performed, the wireless network device firmware update method may further include the steps of:
firstly, running the updated target firmware and acquiring running state information of the running target firmware; secondly, determining whether the target firmware is updated successfully or not based on the running state information (i.e. determining whether the updated target firmware can run normally or not, if the updated target firmware cannot run normally, determining that the target firmware is not updated successfully, and if the target firmware can run normally, determining that the target firmware is updated successfully); and then, if the target firmware is determined to be successfully updated, generating update notification information for representing that the target firmware is successfully updated, and sending the update notification information to the target server.
In summary, according to the wireless network device firmware updating method and the wireless network device provided by the application, the firmware version number information of the target firmware on the target wireless network device is compared with the corresponding firmware version number information stored in the target server to determine whether to update the target firmware, so that when it is determined that the target firmware needs to be updated, the updated firmware corresponding to the first firmware version number information is obtained from the target server, and the updating operation is performed on the target firmware based on the updated firmware. Based on the method, the firmware of the wireless network equipment can be automatically updated through the judgment of the wireless network equipment, the updating cost can be effectively reduced, the updating efficiency is improved, the problems of high cost and low efficiency in the updating process of the wireless network equipment in the prior art are solved, and the method has high practical value.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, 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 process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (6)

1. A wireless network device firmware updating method is applied to a target wireless network device, the target wireless network device is provided with target firmware, and the wireless network device firmware updating method comprises the following steps:
acquiring first firmware version number information stored by a target server, wherein the first firmware version number information has a corresponding relation with target firmware installed on target wireless network equipment;
determining whether to update the target firmware based on the first firmware version number information and second firmware version number information of the target firmware installed on the target wireless network equipment, wherein the second firmware version number information is version number information of the target firmware currently installed on the target wireless network equipment;
if the target firmware is determined to need to be updated, acquiring an updated firmware corresponding to the first firmware version number information from the target server, wherein the updated firmware and the target firmware belong to different versions of the same wireless network equipment firmware;
performing an update operation on the target firmware based on the update firmware;
the step of determining whether to update the target firmware based on the first firmware version number information and the second firmware version number information of the target firmware installed on the target wireless network device includes:
judging whether the first firmware version number information is the same as second firmware version number information of target firmware installed on the target wireless network equipment;
if the first firmware version number information is the same as the second firmware version number information, determining not to update the target firmware;
the step of determining whether to update the target firmware based on the first firmware version number information and the second firmware version number information of the target firmware installed on the target wireless network device further includes:
if the first firmware version number information is different from the second firmware version number information, determining that the target firmware needs to be updated; or
If the first firmware version number information is different from the second firmware version number information, acquiring a firmware difference degree between an updated firmware corresponding to the first firmware version number information and a target firmware corresponding to the second firmware version number information from the target server, wherein the firmware difference degree is used for representing the difference between the updated firmware and the target firmware in multiple dimensions, and the multiple dimensions comprise a data volume dimension, a program logic dimension and a program content dimension;
determining whether to update the target firmware based on the firmware difference degree;
the step of determining whether to update the target firmware based on the firmware difference degree comprises:
judging whether the difference degree of the firmware is larger than a preset difference degree threshold value or not;
if the difference degree of the firmware is smaller than or equal to the difference degree threshold value, determining not to update the target firmware;
if the difference degree of the firmware is larger than the difference degree threshold value, generating update confirmation notification information, and judging whether update confirmation information generated by response to update confirmation operation performed by a target user based on the update confirmation notification information is acquired;
if the update confirmation information is acquired, determining that the target firmware needs to be updated;
if the update confirmation information is not acquired, determining not to update the target firmware;
the wireless network device firmware updating method further comprises a step of generating the difference degree threshold, wherein the step comprises the following steps:
acquiring a plurality of pieces of difference degree record information, wherein each piece of difference degree record information is used for being generated after determining whether to update the target firmware based on the firmware difference degree every time in history, and the difference degree record information is used for representing whether to determine whether to update the target firmware when the firmware difference degree is greater than the difference degree threshold value;
and correcting a preset difference initial threshold value based on the plurality of pieces of difference record information to obtain the difference threshold value, wherein the difference initial threshold value is generated by executing an initial threshold operation based on the target server.
2. The method for updating firmware of wireless network device according to claim 1, wherein the step of modifying the preset initial threshold value of the degree of difference based on the plurality of pieces of recorded information of the degree of difference to obtain the threshold value of the degree of difference comprises:
sequentially using each piece of difference degree record information in the plurality of pieces of difference degree record information as to-be-processed difference degree record information, and calculating time correlation information between the to-be-processed difference degree record information and each piece of other difference degree record information in a time dimension;
for each piece of to-be-processed difference degree record information, sequencing each piece of other difference degree record information based on time correlation information between the to-be-processed difference degree record information and each piece of other difference degree record information to form a difference degree record information ordered set corresponding to the to-be-processed difference degree record information so as to obtain a plurality of difference degree record information ordered sets, wherein the time correlation corresponding to the difference degree record information sequenced in the front in the difference degree record information ordered sets is greater than the time correlation corresponding to the difference degree record information sequenced in the back;
for each piece of difference degree record information to be processed, calculating set similarity information between the difference degree record information ordered set corresponding to the difference degree record information to be processed and the difference degree record information ordered set corresponding to each piece of other difference degree record information to obtain a plurality of sets of similarity information corresponding to the difference degree record information to be processed;
for each piece of difference degree record information to be processed, discrete value calculation is carried out on the plurality of sets of similarity information corresponding to the difference degree record information to be processed, and set similarity discrete information corresponding to the difference degree record information to be processed is obtained;
determining target to-be-processed difference degree record information from the plurality of pieces of to-be-processed difference degree record information based on the set similarity discrete information, determining a difference degree record information ordered set corresponding to the target to-be-processed difference degree record information as a target difference degree record information ordered set, and updating the target difference degree record information ordered set based on the target to-be-processed difference degree record information;
based on the sequencing position of the updated target difference degree record information ordered set, carrying out weight coefficient determination processing on each piece of difference degree record information to obtain a weight coefficient corresponding to each piece of difference degree record information, wherein the weight coefficient of the difference degree record information has a positive correlation with corresponding time correlation information;
assigning difference degree record information which is characterized in that when the difference degree of the firmware is larger than the difference degree threshold value, the target firmware is determined to be required to be updated to a first numerical value, and assigning difference degree record information which is characterized in that when the difference degree of the firmware is larger than the difference degree threshold value, the target firmware is determined not to be required to be updated to a second numerical value;
carrying out weighted summation calculation based on the assignment and the weight coefficient corresponding to each piece of difference degree record information in the updated target difference degree record information ordered set to obtain a calculation result;
and correcting a preset difference initial threshold value based on the size relationship between the calculation result and the first numerical value and the second numerical value to obtain the difference threshold value.
3. The method according to claim 2, wherein the step of calculating, for each piece of the record information of the degree of difference to be processed, set similarity information between the ordered set of record information of the degree of difference corresponding to the record information of the degree of difference to be processed and the ordered set of record information of the degree of difference corresponding to each other record information of the degree of difference comprises:
regarding every two difference degree record information ordered sets in the plurality of difference degree record information ordered sets, respectively taking the two difference degree record information ordered sets as a first difference degree record information ordered set and a second difference degree record information ordered set;
obtaining a corresponding first ordered set of characterization values based on a characterization value corresponding to each piece of difference degree record information in the first ordered set of difference degree record information, and obtaining a corresponding second ordered set of characterization values based on a characterization value corresponding to each piece of difference degree record information in the second ordered set of difference degree record information, wherein the characterization values are determined based on the content of the characterization of the difference degree record information, the characterization values corresponding to the difference degree record information with the same characterization content are the same, and the characterization values corresponding to the difference degree record information with different characterization content are different;
comparing the first ordered set of token values with the second ordered set of token values to obtain corresponding ordered sets of token value comparison, wherein the ordered sets of token value comparison are used for representing whether first token values of corresponding ordering positions between the first ordered set of token values and the second ordered set of token values are the same or not;
analyzing the token value comparison ordered set to obtain token value comparison characteristic information corresponding to the token value comparison ordered set, wherein the token value comparison characteristic information is used for representing similarity information between the first token value ordered set and the second token value ordered set;
and comparing the characteristic information based on the characterization value to obtain set similarity information between the corresponding first difference degree record information ordered set and the corresponding second difference degree record information ordered set.
4. The method for updating firmware of wireless network device according to any one of claims 1 to 3, wherein the step of obtaining the first firmware version number information stored by the target server comprises:
acquiring time information of the target wireless network equipment which executes the updating operation last time to obtain corresponding historical time information, and calculating a time difference between the historical time information and the current time information to obtain corresponding time length information;
judging whether the time length information is larger than preset time length threshold information or not;
if the time length information is greater than the duration threshold information, generating version number request information, and sending the version number request information to the target server, wherein the target server is used for sending first firmware version number information corresponding to the stored target firmware to the target wireless network equipment based on the version number request information;
and receiving the first firmware version number information sent by the target server.
5. The wireless network device firmware updating method according to any one of claims 1 to 3, wherein after the step of performing the update operation on the target firmware based on the update firmware is performed, the wireless network device firmware updating method further comprises:
running the updated target firmware and acquiring running state information of the running target firmware;
determining whether the target firmware is successfully updated based on the operating state information;
and if the target firmware is determined to be successfully updated, generating update notification information for representing the successful update of the target firmware, and sending the update notification information to the target server.
6. A wireless network device, comprising:
a memory for storing a computer program;
a processor coupled to the memory for executing the computer program stored in the memory to implement the wireless network device firmware update method of any of claims 1-5.
CN202210785749.6A 2022-07-06 2022-07-06 Wireless network equipment firmware updating method and wireless network equipment Active CN114867046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210785749.6A CN114867046B (en) 2022-07-06 2022-07-06 Wireless network equipment firmware updating method and wireless network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210785749.6A CN114867046B (en) 2022-07-06 2022-07-06 Wireless network equipment firmware updating method and wireless network equipment

Publications (2)

Publication Number Publication Date
CN114867046A true CN114867046A (en) 2022-08-05
CN114867046B CN114867046B (en) 2022-09-13

Family

ID=82626794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210785749.6A Active CN114867046B (en) 2022-07-06 2022-07-06 Wireless network equipment firmware updating method and wireless network equipment

Country Status (1)

Country Link
CN (1) CN114867046B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130047039A1 (en) * 2011-08-18 2013-02-21 Avanquest Software Usa, Inc. System and method for computer analysis
US20130170417A1 (en) * 2011-09-06 2013-07-04 Evan A. Thomas Distributed low-power monitoring system
US20140173177A1 (en) * 2012-12-17 2014-06-19 International Business Machines Corporation Write Performance In Solid State Storage by Recognizing Copy Source to Target Operations and Only Storing Updates Instead of Entire Block
CN109597642A (en) * 2017-09-30 2019-04-09 车伯乐(北京)信息科技有限公司 A kind of code statistical method, device, server, equipment and readable medium
CN109976784A (en) * 2019-01-24 2019-07-05 金卡智能集团股份有限公司 Intelligent internet of things measuring instrument remote firmware updating method and system
CN110727456A (en) * 2019-10-12 2020-01-24 上海莉莉丝科技股份有限公司 Method, device, equipment and system for downloading application program patch package
CN111158738A (en) * 2019-12-30 2020-05-15 青岛歌尔智能传感器有限公司 Earphone firmware upgrading method and device and readable storage medium
CN111258621A (en) * 2019-11-19 2020-06-09 浙江瑞银电子有限公司 Differentiated firmware upgrading method
US20210004136A1 (en) * 2018-06-05 2021-01-07 Sony Corporation Information processing apparatus, information processing method, and program
CN112445507A (en) * 2019-09-05 2021-03-05 阿里巴巴集团控股有限公司 Equipment upgrading method and device
EP3798822A1 (en) * 2019-09-27 2021-03-31 Argus Cyber Security Ltd System and method for block and delta based update
CN113468118A (en) * 2021-05-11 2021-10-01 深圳前海移联科技有限公司 File increment storage method and device, computer equipment and storage medium
CN114138907A (en) * 2021-12-02 2022-03-04 中国工商银行股份有限公司 Data processing method, computer device, storage medium, and computer program product

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130047039A1 (en) * 2011-08-18 2013-02-21 Avanquest Software Usa, Inc. System and method for computer analysis
US20130170417A1 (en) * 2011-09-06 2013-07-04 Evan A. Thomas Distributed low-power monitoring system
US20140173177A1 (en) * 2012-12-17 2014-06-19 International Business Machines Corporation Write Performance In Solid State Storage by Recognizing Copy Source to Target Operations and Only Storing Updates Instead of Entire Block
CN109597642A (en) * 2017-09-30 2019-04-09 车伯乐(北京)信息科技有限公司 A kind of code statistical method, device, server, equipment and readable medium
US20210004136A1 (en) * 2018-06-05 2021-01-07 Sony Corporation Information processing apparatus, information processing method, and program
CN109976784A (en) * 2019-01-24 2019-07-05 金卡智能集团股份有限公司 Intelligent internet of things measuring instrument remote firmware updating method and system
CN112445507A (en) * 2019-09-05 2021-03-05 阿里巴巴集团控股有限公司 Equipment upgrading method and device
EP3798822A1 (en) * 2019-09-27 2021-03-31 Argus Cyber Security Ltd System and method for block and delta based update
CN110727456A (en) * 2019-10-12 2020-01-24 上海莉莉丝科技股份有限公司 Method, device, equipment and system for downloading application program patch package
CN111258621A (en) * 2019-11-19 2020-06-09 浙江瑞银电子有限公司 Differentiated firmware upgrading method
CN111158738A (en) * 2019-12-30 2020-05-15 青岛歌尔智能传感器有限公司 Earphone firmware upgrading method and device and readable storage medium
CN113468118A (en) * 2021-05-11 2021-10-01 深圳前海移联科技有限公司 File increment storage method and device, computer equipment and storage medium
CN114138907A (en) * 2021-12-02 2022-03-04 中国工商银行股份有限公司 Data processing method, computer device, storage medium, and computer program product

Also Published As

Publication number Publication date
CN114867046B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
CN109242013B (en) Data labeling method and device, electronic equipment and storage medium
CN111444363B (en) Picture retrieval method and device, terminal equipment and storage medium
CN110781960B (en) Training method, classification method, device and equipment of video classification model
CN109918498B (en) Problem warehousing method and device
CN111241381A (en) Information recommendation method and device, electronic equipment and computer-readable storage medium
CN113569965A (en) User behavior analysis method and system based on Internet of things
CN113194306B (en) Frame rate fluctuation evaluation method and device, mobile terminal, system and storage medium
CN113609389A (en) Community platform information pushing method and system
CN108595685B (en) Data processing method and device
CN113568952A (en) Internet of things resource data analysis method
CN114867046B (en) Wireless network equipment firmware updating method and wireless network equipment
CN110580265B (en) ETL task processing method, device, equipment and storage medium
CN112652351A (en) Hardware state detection method and device, computer equipment and storage medium
CN108197074B (en) Fast Fourier Transform (FFT) data processing method and device
CN112783937B (en) Product production monitoring method and device based on big data and cloud computing
CN113407750A (en) Image distributed storage method and system
CN111666535B (en) Method and device for determining active time length of user, electronic equipment and storage medium
CN109901931B (en) Reduction function quantity determination method, device and system
CN113256366A (en) Order data processing method and system based on big data and cloud computing
CN109885710B (en) User image depicting method based on differential evolution algorithm and server
CN112667654A (en) Business work order updating method and system
CN111339156B (en) Method, apparatus and computer readable storage medium for long-term determination of business data
CN110647386B (en) Data processing method and device, computer equipment and storage medium
CN117472286B (en) Chip data storage system and method based on artificial intelligence
CN113656275B (en) User activity prediction method, device, electronic equipment and storage medium

Legal Events

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