CN108052339A - Control method and device, storage medium and the signal transmitting equipment of firmware upgrade - Google Patents

Control method and device, storage medium and the signal transmitting equipment of firmware upgrade Download PDF

Info

Publication number
CN108052339A
CN108052339A CN201711472787.1A CN201711472787A CN108052339A CN 108052339 A CN108052339 A CN 108052339A CN 201711472787 A CN201711472787 A CN 201711472787A CN 108052339 A CN108052339 A CN 108052339A
Authority
CN
China
Prior art keywords
equipment
signal
target
firmware
target area
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.)
Pending
Application number
CN201711472787.1A
Other languages
Chinese (zh)
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.)
Wuxi Little Swan Electric Co Ltd
Original Assignee
Wuxi Little Swan 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 Wuxi Little Swan Co Ltd filed Critical Wuxi Little Swan Co Ltd
Priority to CN201711472787.1A priority Critical patent/CN108052339A/en
Publication of CN108052339A publication Critical patent/CN108052339A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The present invention provides a kind of control methods of firmware upgrade, emit equipment for signal, which includes:The signal source transmitting wireless connection signal of control signal transmitting equipment, and wireless connection signal is made to cover target area;Obtain signal strength of the wireless connection signal in target area;Detect whether signal strength is greater than or equal to preset strength threshold value;If so, according to the access request that the first equipment of pending firmware upgrade is sent in target area, the communication connection that signal emits equipment and the first equipment is established;If it is not, the signal transmission power of adjustment signal source, so that the signal strength in the target area that wireless connection signal covers is greater than or equal to preset strength threshold value.Correspondingly, the invention also provides the control device, computer readable storage medium and signal of firmware upgrade emit equipment.By technical scheme, the stability of device firmware upgrade is effectively improved.

Description

Control method and device, storage medium and the signal transmitting equipment of firmware upgrade
Technical field
The present invention relates to firmware upgrade technical field, control method, firmware upgrade in particular to firmware upgrade Control device, computer readable storage medium and signal transmitting equipment.
Background technology
At present, under complex environment to large batch of wireless device in firmware updating, be required for being connected to respective mesh Mark signal source, but the limited amount for the wireless device having access to due to signal Launch Equipment Shop, and when environment is complicated, interference compared with When more, for example, between distinct device, wire body it is closer to the distance, ambient signals source is more, while has the target of a large amount of same names During signal source, large batch of wireless device is upgrading the situation for being present with and getting lines crossed simultaneously, fails so as to cause firmware upgrade, Huo Zhecun In the resource scarcity caused by getting lines crossed other equipment firmware updating is caused to fail.
The content of the invention
It is contemplated that at least solve one of technical problem present in the prior art or correlation technique.
For this purpose, an object of the present invention is to provide a kind of control methods of new firmware upgrade, consolidated by new The control method of part upgrading, solving causes occurring situations such as weak signal strength, signal cross-talk during device firmware upgrade The problem of firmware upgrade fails effectively improves the stability of device firmware upgrade.
It is another object of the present invention to corresponding control device, the computer-readable storage mediums for proposing firmware upgrade Matter, signal transmitting equipment and firmware upgrade system.
To realize above-mentioned at least one purpose, according to the first aspect of the invention, it is proposed that a kind of control of firmware upgrade Method emits equipment for signal, which includes:The signal source transmitting wireless connection letter of control signal transmitting equipment Number, and wireless connection signal is made to cover target area;Obtain signal strength of the wireless connection signal in target area;Detection Whether signal strength is greater than or equal to preset strength threshold value;If so, according to the pending firmware upgrade in target area The access request that one equipment is sent establishes the communication connection of signal transmitting equipment and the first equipment;If it is not, the letter of adjustment signal source Number transmission power, so that the signal strength in the target area that wireless connection signal covers is greater than or equal to preset strength threshold Value.
In the technical scheme, wireless connection signal overlay area overlaps in order to prevent, causes the feelings interfered with each other Condition, the wireless connection signal coverage goal region of control signal transmitting equipment transmitting, then in the target area that gets Whether the signal strength of wireless connection signal is detected more than or equal to preset strength threshold value, when signal strength is greater than or equal to During preset strength threshold value, illustrate that the signal strength in target area can ensure being smoothed out for firmware upgrade, and then establish position In in target area and sending the communication connection of the first equipment of access request and signal transmitting equipment, when detecting that the signal is strong When degree is less than preset strength threshold value, cause upgrading the problem of can not carrying out due to signal strength is weak in order to prevent, to signal source Signal transmission power is adjusted, and is greater than or equal to the signal strength in the target area of wireless connection signal covering default strong Threshold value is spent, to ensure the stability of the firmware upgrade of the equipment of target area.
Specifically, preset strength threshold value is believed to ensure that the equipment in target area can stablize the minimum of progress firmware upgrade Number intensity.
In the above-mentioned technical solutions, it is preferable that establishing the step of signal emits the communication connection of equipment and the first equipment Afterwards, further include:Judge be located at target area in and accessed signal transmitting equipment the second equipment quantity whether be less than or Equal to default connection number;If being less than, according to mesh that is in target area and not communicated to connect with signal transmitting equipment foundation The access request that the first equipment is sent is marked, establishes the communication connection of signal transmitting equipment and the first equipment of target;If being equal to, control Disconnect the communication link between the second equipment of target for getting corresponding target firmware from server and signal transmitting equipment It connects.
In the technical scheme, because the equipment that can access of signal transmitting equipment is limited, when the first equipment with Signal transmitting equipment is established after communication connection, it is necessary to judge to be located at accessed signal transmitting equipment second in target area Whether the quantity of equipment is less than or equal to default connection number, if the quantity of the second equipment is less than default connection number, illustrates signal The equipment of transmitting equipment access is not up to it and can access the maximum of equipment, and then will be located in target area and send access The first equipment of target of request is established with signal transmitting equipment and communicated to connect, if the quantity of the second equipment is equal to default connection number When, illustrate that the equipment of signal Launch Equipment Shop access has reached it and can access the maximum of equipment, in order to make not consolidated The smooth access of the equipment of part upgrading, will get the second equipment of target and signal of corresponding target firmware from server The communication connection for emitting equipment disconnects, and then ensures that the firmware upgrade of the first equipment of target can be smoothed out.
Specifically, the maximum number that connection number has access to equipment for signal transmitting equipment is preset.
In any of the above-described technical solution, it is preferable that got corresponding target from server in control disconnection and consolidated Before the second equipment of target and signal of part emit the step of communication connection between equipment, which further includes:It receives The firmware download request that the second equipment of target is sent includes equipment identification information in firmware download request;Firmware is downloaded please It asks and is sent to server, to obtain target firmware corresponding with equipment identification information;Target firmware is sent to and device identification Corresponding the second equipment of target of information, so that the second equipment of target carries out firmware upgrade.
In the technical scheme, the second device downloads of target to the target firmware of mistake, cause target second in order to prevent The firmware upgrade of equipment can not be completed, and include the second equipment of target in the firmware download request sent in the second equipment of target Equipment identification information, will be with equipment mark after server receives the firmware download request containing equipment identification information sent Know the corresponding target firmware of information and the second equipment of target corresponding with equipment identification information is sent to by signal transmitting equipment, with Ensure that the second equipment of target can smoothly complete firmware upgrade according to corresponding target firmware.
Specifically, equipment identification information is the feature that can show that device type, for example, device numbering.
In any of the above-described technical solution, it is preferable that the first equipment is only capable of detecting that signal transmitting is set in target area The wireless connection signal of standby signal source transmitting.
In the technical scheme, the wireless connection signal of control signal transmitting equipment transmitting preferably only covers the first equipment The target area at place makes the first equipment be only capable of detecting the wireless of the signal source transmitting of signal transmitting equipment in target area Connect signal, to avoid in target area exist other wireless connection signals, cause the first equipment connection wireless connection signal when The problem of getting lines crossed, causing upgrading failure or interference other equipment upgrading, the firmware upgrade for enabling the first equipment is smooth It carries out.
According to the second aspect of the invention, it is also proposed that a kind of control device of firmware upgrade emits equipment for signal, The control device includes:Control module, the signal source for control signal transmitting equipment emits wireless connection signal, and makes nothing Line connection signal covers target area;Acquisition module, for obtaining signal strength of the wireless connection signal in target area; Detection module, for detecting whether signal strength is greater than or equal to preset strength threshold value;Communication module, for being examined in detection module When measuring signal strength more than or equal to preset strength threshold value, set according to first of the pending firmware upgrade in target area The access request that preparation is come establishes the communication connection of signal transmitting equipment and the first equipment;Module is adjusted, in detection module When detecting that signal strength is less than preset strength threshold value, the signal transmission power of signal source is adjusted, so that wireless connection signal covers The signal strength in target area covered is greater than or equal to preset strength threshold value.
In the technical scheme, wireless connection signal overlay area overlaps in order to prevent, causes the feelings interfered with each other Condition, the wireless connection signal coverage goal region of control signal transmitting equipment transmitting, then in the target area that gets Whether the signal strength of wireless connection signal is detected more than or equal to preset strength threshold value, when signal strength is greater than or equal to During preset strength threshold value, illustrate that the signal strength in target area can ensure being smoothed out for firmware upgrade, and then establish position In in target area and sending the communication connection of the first equipment of access request and signal transmitting equipment, when detecting that the signal is strong When degree is less than preset strength threshold value, cause upgrading the problem of can not carrying out due to signal strength is weak in order to prevent, to signal source Signal transmission power is adjusted, and is greater than or equal to the signal strength in the target area of wireless connection signal covering default strong Threshold value is spent, to ensure the stability of the firmware upgrade of the equipment of target area.
Specifically, preset strength threshold value is believed to ensure that the equipment in target area can stablize the minimum of progress firmware upgrade Number intensity.
In the above-mentioned technical solutions, it is preferable that the control device of firmware upgrade further includes:Judgment module, for communicating Module establishes signal transmitting equipment with after the communication connection of the first equipment, judging in target area and having accessed signal hair Whether the quantity of the second equipment of jet device is less than or equal to default connection number;And communication module is additionally operable to:In judgment module When judging that quantity is less than default connection number, according in target area and do not establish communication connection with signal transmitting equipment The access request that the first equipment of target is sent establishes the communication connection of signal transmitting equipment and the first equipment of target;Control module It is additionally operable to:When judgment module judges that quantity is equal to default connection number, control disconnects and gets corresponding mesh from server Mark the communication connection between the second equipment of target of firmware and signal transmitting equipment.
In the technical scheme, because the equipment that can access of signal transmitting equipment is limited, when the first equipment with Signal transmitting equipment is established after communication connection, it is necessary to judge to be located at accessed signal transmitting equipment second in target area Whether the quantity of equipment is less than or equal to default connection number, if the quantity of the second equipment is less than default connection number, illustrates signal The equipment of transmitting equipment access is not up to it and can access the maximum of equipment, and then will be located in target area and send access The first equipment of target of request is established with signal transmitting equipment and communicated to connect, if the quantity of the second equipment is equal to default connection number When, illustrate that the equipment of signal Launch Equipment Shop access has reached it and can access the maximum of equipment, in order to make not consolidated The smooth access of the equipment of part upgrading, will get the second equipment of target and signal of corresponding target firmware from server The communication connection for emitting equipment disconnects, and then ensures that the firmware upgrade of the first equipment of target can be smoothed out.
Specifically, the maximum number that connection number has access to equipment for signal transmitting equipment is preset.
In any of the above-described technical solution, it is preferable that the control device of firmware upgrade further includes:Receiving module, for Control module control disconnects the second equipment of target for getting corresponding target firmware from server and signal emits equipment Between communication connection before, receive the firmware download request sent of the second equipment of target, include in firmware download request and set Standby identification information;First sending module, for firmware download request to be sent to server, to obtain and equipment identification information pair The target firmware answered;Second sending module sets for target firmware to be sent to target second corresponding with equipment identification information It is standby, so that the second equipment of target carries out firmware upgrade.
In the technical scheme, the second device downloads of target to the target firmware of mistake, cause target second in order to prevent The firmware upgrade of equipment can not be completed, and include the second equipment of target in the firmware download request sent in the second equipment of target Equipment identification information, will be with equipment mark after server receives the firmware download request containing equipment identification information sent Know the corresponding target firmware of information and the second equipment of target corresponding with equipment identification information is sent to by signal transmitting equipment, with Ensure that the second equipment of target can smoothly complete firmware upgrade according to corresponding target firmware.
In any of the above-described technical solution, it is preferable that the first equipment is only capable of detecting that signal transmitting is set in target area The wireless connection signal of standby signal source transmitting.
In the technical scheme, the wireless connection signal of control signal transmitting equipment transmitting preferably only covers the first equipment The target area at place makes the first equipment be only capable of detecting the wireless of the signal source transmitting of signal transmitting equipment in target area Connect signal, to avoid in target area exist other wireless connection signals, cause the first equipment connection wireless connection signal when The problem of getting lines crossed, causing upgrading failure or interference other equipment upgrading, the firmware upgrade for enabling the first equipment is smooth It carries out.
According to the third aspect of the invention we, a kind of control device of firmware upgrade is provided, including:Processor;For storing up The memory of processor-executable instruction is deposited, wherein, processor is used to realize when performing the executable instruction stored in memory The step of control method of firmware upgrade as any one of the technical solution of above-mentioned first aspect.
According to the fourth aspect of the invention, a kind of computer readable storage medium is provided, is stored thereon with computer journey Sequence realizes the firmware upgrade as any one of the technical solution of above-mentioned first aspect when computer program is executed by processor Control method the step of.
According to the fifth aspect of the invention, a kind of signal transmitting equipment is provided, including:Such as above-mentioned second aspect and the 3rd The control device of the firmware upgrade of any one of the technical solution of aspect.
According to the sixth aspect of the invention, it is proposed that a kind of firmware upgrade system, including:Pending firmware upgrade it is wireless Equipment, server and the as above signal transmitting equipment described in the technical solution of the 5th aspect, wherein, the wireless device and described Server emits equipment realization communication interaction by being respectively connected to the signal.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description It obtains substantially or is recognized by the practice of the present invention.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination accompanying drawings below to embodiment Substantially and it is readily appreciated that, wherein:
Fig. 1 shows the flow diagram of the control method of the firmware upgrade of the embodiment of the present invention;
Fig. 2 shows the schematic block diagram of the control device of the firmware upgrade of first embodiment of the invention;
Fig. 3 shows the schematic block diagram of the control device of the firmware upgrade of second embodiment of the invention;
Fig. 4 shows the schematic diagram of the firmware upgrade system of the embodiment of the present invention.
Specific embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Mode is applied the present invention is further described in detail.It should be noted that in the case where there is no conflict, the implementation of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also To be implemented using other different from other modes described here, therefore, protection scope of the present invention and from described below Specific embodiment limitation.
Fig. 1 shows the flow diagram of the control method of the firmware upgrade of the embodiment of the present invention.
As shown in Figure 1, the control method of firmware upgrade according to embodiments of the present invention, emits equipment, the party for signal Method includes below scheme step:
Step S10, controls the signal source transmitting wireless connection signal of the signal transmitting equipment, and makes the wireless connection Signal covers target area.
Step S12 obtains signal strength of the wireless connection signal in target area.
Step S14, whether detection signal strength is greater than or equal to preset strength threshold value, if so, performing step S16, otherwise Perform step S18.
Step S16 according to the access request that the first equipment of pending firmware upgrade is sent in target area, is established Signal emits the communication connection of equipment and the first equipment.
Step S18 adjusts the signal transmission power of signal source, so that in the target area that wireless connection signal covers Signal strength is greater than or equal to preset strength threshold value.
In this embodiment, wireless connection signal overlay area overlaps in order to prevent, causes situation about interfering with each other, The wireless connection signal coverage goal region of control signal transmitting equipment transmitting, then to wireless in the target area that gets Whether the signal strength of connection signal is detected more than or equal to preset strength threshold value, is preset when signal strength is greater than or equal to During intensity threshold, illustrate that the signal strength in target area can ensure being smoothed out for firmware upgrade, and then establish and be located at mesh In mark region and the communication connection that the first equipment of access request emits equipment with signal is sent, when detecting that the signal strength is small When preset strength threshold value, cause upgrading the problem of can not carrying out due to signal strength is weak in order to prevent, to the signal of signal source Transmission power is adjusted, and the signal strength in the target area of wireless connection signal covering is made to be greater than or equal to preset strength threshold Value, to ensure the stability of the firmware upgrade of the equipment of target area.
Specifically, preset strength threshold value is believed to ensure that the equipment in target area can stablize the minimum of progress firmware upgrade Number intensity.
Further, in the above-described embodiments, the step of signal emits the communication connection of equipment and the first equipment is being established Afterwards, further include:Judge be located at target area in and accessed signal transmitting equipment the second equipment quantity whether be less than or Equal to default connection number;If being less than, according to mesh that is in target area and not communicated to connect with signal transmitting equipment foundation The access request that the first equipment is sent is marked, establishes the communication connection of signal transmitting equipment and the first equipment of target;If being equal to, control Disconnect the communication link between the second equipment of target for getting corresponding target firmware from server and signal transmitting equipment It connects.
In this embodiment, because the equipment that signal transmitting equipment can access is limited, when the first equipment and letter Number transmitting equipment, which is established after communication connection, it is necessary to judge to be located in target area, has accessed second setting for signal transmitting equipment Whether standby quantity is less than or equal to default connection number, if the quantity of the second equipment is less than default connection number, illustrates that signal is sent out The equipment of jet device access is not up to it and can access the maximum of equipment, and then will be located in target area and send access and ask The first equipment of target asked is established with signal transmitting equipment and communicated to connect, if the quantity of the second equipment is equal to default connection number, Illustrate that the equipment of signal Launch Equipment Shop access has reached it and can access the maximum of equipment, in order to make not carry out firmware liter The smooth access of the equipment of grade emits the second equipment of target that corresponding target firmware is got from server with signal The communication connection of equipment disconnects, and then ensures that the firmware upgrade of the first equipment of target can be smoothed out.
Specifically, the maximum number that connection number has access to equipment for signal transmitting equipment is preset.
Further, in the above-described embodiments, disconnected in control and get corresponding target firmware from server Before the step of the second equipment of target and signal emit the communication connection between equipment, which further includes:Receive target The firmware download request that second equipment is sent includes equipment identification information in firmware download request;Firmware download request is sent out It send to server, to obtain target firmware corresponding with equipment identification information;Target firmware is sent to and equipment identification information Corresponding the second equipment of target, so that the second equipment of target carries out firmware upgrade.
In this embodiment, the second device downloads of target to the target firmware of mistake, cause target second to set in order to prevent Standby firmware upgrade can not be completed, and include setting for the second equipment of target in the firmware download request sent in the second equipment of target Standby identification information, will be with device identification after server receives the firmware download request containing equipment identification information sent The corresponding target firmware of information emits equipment by signal and is sent to the second equipment of target corresponding with equipment identification information, to protect Card the second equipment of target can smoothly complete firmware upgrade according to corresponding target firmware.
Specifically, equipment identification information is the feature that can show that device type, for example, device numbering.
Further, in the above-described embodiments, the first equipment is only capable of detecting signal transmitting equipment in target area The wireless connection signal of signal source transmitting.
In this embodiment, the wireless connection signal of control signal transmitting equipment transmitting preferably only covers the first equipment institute Target area, connect the wireless of signal source transmitting that the first equipment is only capable of detecting in target area signal transmitting equipment Signal is connect, to avoid, there are other wireless connection signals, the first equipment being caused to go out when connecting wireless connection signal in target area The problem of now getting lines crossed, causing upgrading failure or interference other equipment upgrading, enable the firmware upgrade of the first equipment smoothly into Row.
Fig. 2 shows the schematic block diagram of the control device of the firmware upgrade of first embodiment of the invention.
As shown in Fig. 2, the control device 20 of firmware upgrade according to a first embodiment of the present invention, sets for signal transmitting Standby, which includes:Control module 202, acquisition module 204, detection module 206, communication module 208 and adjustment module 210.
Wherein, control module 202 emits wireless connection signal for the signal source of control signal transmitting equipment, and makes wireless Connection signal covers target area;Acquisition module 204 is used to obtain signal strength of the wireless connection signal in target area; Detection module 206 is used to detect whether signal strength is greater than or equal to preset strength threshold value;Communication module 208 is used in detection mould When block 206 detects that signal strength is greater than or equal to preset strength threshold value, according to the pending firmware upgrade in target area The access request sent of the first equipment, establish the communication connection of signal transmitting equipment and the first equipment;Adjustment module 210 is used for When detection module 206 detects that signal strength is less than preset strength threshold value, the signal transmission power of signal source is adjusted, so that nothing The signal strength in target area that line connection signal covers is greater than or equal to preset strength threshold value.
In this embodiment, wireless connection signal overlay area overlaps in order to prevent, causes situation about interfering with each other, The wireless connection signal coverage goal region of control signal transmitting equipment transmitting, then to wireless in the target area that gets Whether the signal strength of connection signal is detected more than or equal to preset strength threshold value, is preset when signal strength is greater than or equal to During intensity threshold, illustrate that the signal strength in target area can ensure being smoothed out for firmware upgrade, and then establish and be located at mesh In mark region and the communication connection that the first equipment of access request emits equipment with signal is sent, when detecting that the signal strength is small When preset strength threshold value, cause upgrading the problem of can not carrying out due to signal strength is weak in order to prevent, to the signal of signal source Transmission power is adjusted, and the signal strength in the target area of wireless connection signal covering is made to be greater than or equal to preset strength threshold Value, to ensure the stability of the firmware upgrade of the equipment of target area.
Specifically, preset strength threshold value is believed to ensure that the equipment in target area can stablize the minimum of progress firmware upgrade Number intensity.
Further, as shown in Fig. 2, in the above-described embodiments, the control device 20 of firmware upgrade further includes:Judgment module 212, for after communication module 208 establishes communication connection of the signal transmitting equipment with the first equipment, judging to be located at target area Whether the quantity of the second equipment that is interior and having accessed signal transmitting equipment is less than or equal to default connection number;And communication module 208 are additionally operable to:When judgment module 212 judges that quantity is less than default connection number, according to it is in target area and not with letter Number transmitting equipment establishes the access request sent of the first equipment of target of communication connection, establishes signal transmitting equipment and target first The communication connection of equipment;Control module 202 is additionally operable to:When judgment module 212 judges that quantity is equal to default connection number, control is disconnected Open the communication connection between the second equipment of target for getting corresponding target firmware from server and signal transmitting equipment.
In this embodiment, because the equipment that signal transmitting equipment can access is limited, when the first equipment and letter Number transmitting equipment, which is established after communication connection, it is necessary to judge to be located in target area, has accessed second setting for signal transmitting equipment Whether standby quantity is less than or equal to default connection number, if the quantity of the second equipment is less than default connection number, illustrates that signal is sent out The equipment of jet device access is not up to it and can access the maximum of equipment, and then will be located in target area and send access and ask The first equipment of target asked is established with signal transmitting equipment and communicated to connect, if the quantity of the second equipment is equal to default connection number, Illustrate that the equipment of signal Launch Equipment Shop access has reached it and can access the maximum of equipment, in order to make not carry out firmware liter The smooth access of the equipment of grade emits the second equipment of target that corresponding target firmware is got from server with signal The communication connection of equipment disconnects, and then ensures that the firmware upgrade of the first equipment of target can be smoothed out.
Specifically, the maximum number that connection number has access to equipment for signal transmitting equipment is preset.
Further, as shown in Fig. 2, in the above-described embodiments, the control device 20 of firmware upgrade further includes:Receiving module 214th, the first sending module 216 and the second sending module 218.
Wherein, receiving module 214 is used to disconnect in the control of control module 202 gets corresponding target from server Before communication connection between the second equipment of target and signal the transmitting equipment of firmware, the firmware that the second equipment of target is sent is received Download request includes equipment identification information in firmware download request;First sending module 216 is used to send out firmware download request It send to server, to obtain target firmware corresponding with equipment identification information;Second sending module 218 is used to send out target firmware It send to the second equipment of target corresponding with equipment identification information, so that the second equipment of target carries out firmware upgrade.
In this embodiment, the second device downloads of target to the target firmware of mistake, cause target second to set in order to prevent Standby firmware upgrade can not be completed, and include setting for the second equipment of target in the firmware download request sent in the second equipment of target Standby identification information, will be with device identification after server receives the firmware download request containing equipment identification information sent The corresponding target firmware of information emits equipment by signal and is sent to the second equipment of target corresponding with equipment identification information, to protect Card the second equipment of target can smoothly complete firmware upgrade according to corresponding target firmware.
Further, in the above-described embodiments, the first equipment is only capable of detecting signal transmitting equipment in target area The wireless connection signal of signal source transmitting.
In this embodiment, the wireless connection signal of control signal transmitting equipment transmitting preferably only covers the first equipment institute Target area, connect the wireless of signal source transmitting that the first equipment is only capable of detecting in target area signal transmitting equipment Signal is connect, to avoid, there are other wireless connection signals, the first equipment being caused to go out when connecting wireless connection signal in target area The problem of now getting lines crossed, causing upgrading failure or interference other equipment upgrading, enable the firmware upgrade of the first equipment smoothly into Row.
Fig. 3 shows the schematic block diagram of the control device of the firmware upgrade of second embodiment of the invention.
As shown in figure 3, the control device 30 of firmware upgrade according to a second embodiment of the present invention, including 302 He of processor Memory 304, wherein, the computer program that can be run on processor 302, wherein memory 304 are stored on memory 304 It can be connected between processor 302 by bus, which is used to perform the computer journey stored in memory 304 The step of control method that the firmware upgrade described in example is performed as described above is realized during sequence.
Step in the method for the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
The unit of the control device of the firmware upgrade of the embodiment of the present invention can merge according to actual needs, divide and It deletes.
According to an embodiment of the invention, it is proposed that a kind of computer readable storage medium is stored thereon with computer program, The step of control method that the firmware upgrade described in example is performed as described above is realized when the computer program is executed by processor.
Further, it is to be understood that any process described otherwise above or method are retouched in flow chart or herein It states and is construed as, represent the executable finger for including one or more the step of being used to implement specific logical function or process Module, segment or the part of the code of order, and the scope of the preferred embodiment of the present invention includes other realization, wherein can Not press order that is shown or discussing, including according to involved function by it is basic and meanwhile in the way of or in the opposite order, Carry out perform function, this should be understood by the embodiment of the present invention person of ordinary skill in the field.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction Row system, device or equipment instruction fetch and the system executed instruction) it uses or combines these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment It puts.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or if necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, with hardware come realize in another embodiment, can be under well known in the art Any one of row technology or their combination are realized:With for the logic gates to data-signal realization logic function Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, one or a combination set of the step of including embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be employed in block is realized, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and is independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
As the embodiment of the present invention, it is also proposed that a kind of signal emits equipment, including described in any of the above-described embodiment The control device of firmware upgrade.
Fig. 4 shows the schematic block diagram of the firmware upgrade system of the embodiment of the present invention.
As shown in figure 4, firmware upgrade system according to embodiments of the present invention, including:The wireless of pending firmware upgrade is set Standby 40, signal transmitting equipment 50 and server 60, wireless device 40 and server 60 emit equipment by being respectively connected to signal 50 realization communication interactions and wireless device 40 have multiple.
Wherein, wireless device 40 is equipped with wireless module, which can search and title is set in linker automatically Signal source, wireless device can have multiple;The transmission power of signal transmitting equipment 50 can be adjusted, and pass through specialty Signal intensity detection apparatus carrys out measuring signal intensity, is completed once signal transmitting equipment 50 is mounted, the covered target of institute Region is exactly knowable, such as nondirectional signal transmitting equipment, all there is signal, directive letter in equipment peripheral region Number transmitting equipment, in the equipment direction of the launch and have signal, then with above-mentioned signal intensity detection apparatus on the side in region Boundary goes position measuring signal intensity, and the power of transmitting signal is adjusted according to the signal strength, makes the signal of zone boundary position Intensity just reaches predetermined value, and specifically, which is to ensure that equipment can stablize the minimum signal strength of upgrading;Server Being established in 60 has incidence relation of the specific information with corresponding target firmware of wireless device, specifically, wireless device it is specific Information is to refer to unique mark wireless device to distinguish the information of different radio equipment, such as device numbering etc..
When wireless device 40 is entered in the target area for the signal covering that signal transmitting equipment 50 emits, search and connect The signal source of signal transmitting equipment 50 is connected to, because the wireless device that signal transmitting equipment 50 has access to is limited, is judged When any wireless device 40 and signal transmitting equipment 50 are established after communication connection, if having reached signal transmitting equipment 50 Maximum number of connections if be not reaching to, allows other not access and does not carry out the wireless device 40 of firmware upgrade and signal hair Jet device 50 is attached, if having reached the maximum being worth, and has been downloaded in the wireless device 40 accessed needed for completion Firmware updating when, control disconnects the connection of the wireless device accessed 40 and signal transmitting equipment 50, so that other do not connect The wireless device 40 for entering and not carrying out firmware upgrade can be attached with signal transmitting equipment 50.
Specifically, having accessed the step of signal emits the download firmware updating of wireless device 40 of equipment is:It is wirelessly set at this After standby 40 establish communication connection with signal transmitting equipment 50, download request is sent to server 60, nothing is included in the download request After server 60 receives the download request, it is solid to filter out upgrading corresponding with its characteristic information for the specific information of line equipment 40 Part, and the firmware updating is emitted into equipment 50 by signal and is sent to the wireless device 40, under being used for the wireless device 40 The firmware updating being downloaded to is upgraded, and shows updating result.
Technical scheme is described in detail above in association with attached drawing, the technical solution, by emitting equipment to signal Emit signal coverage and signal strength restriction, solve during device firmware upgrade occur signal strength it is weak, The problem of situations such as signal cross-talk causes firmware upgrade to fail effectively improves the stability of device firmware upgrade.
In the description of this specification, term " first " and " second " are only used for the purpose described, and it is not intended that referring to Show or imply relative importance, for the ordinary skill in the art, can understand above-mentioned term as the case may be Concrete meaning in the embodiments of the present disclosure.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc. Mean to combine at least one reality that the particular features, structures, materials, or characteristics that the embodiment or example describe are contained in the present invention It applies in example or example.In the present specification, schematic expression of the above terms is not necessarily referring to identical embodiment or reality Example.Moreover, description particular features, structures, materials, or characteristics can in any one or more embodiments or example with Suitable mode combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.

Claims (11)

1. a kind of control method of firmware upgrade emits equipment, which is characterized in that the control method includes for signal:
The signal source transmitting wireless connection signal of the signal transmitting equipment is controlled, and the wireless connection signal is made to cover mesh Mark region;
Obtain signal strength of the wireless connection signal in the target area;
Detect whether the signal strength is greater than or equal to preset strength threshold value;
If so, according to the access request that the first equipment of pending firmware upgrade is sent in the target area, institute is established State the communication connection of signal transmitting equipment and first equipment;
If it is not, the signal transmission power of the signal source is adjusted, so that the target area that the wireless connection signal covers The signal strength in domain is greater than or equal to the preset strength threshold value.
2. control method according to claim 1, which is characterized in that establishing the signal transmitting equipment and described first After the step of communication connection of equipment, further include:
Whether the quantity for judging to be located at the second equipment that is in the target area and having accessed the signal transmitting equipment is less than Or equal to default connection number;
If being less than, according in the target area and do not establish the target the of communication connection with signal transmitting equipment The access request that one equipment is sent establishes the communication connection of the signal transmitting equipment and first equipment of target;
If being equal to, control disconnects the second equipment of target for getting corresponding target firmware from server and the signal is sent out Communication connection between jet device.
3. control method according to claim 2, which is characterized in that disconnect in the control and having been got from server Before the step of the second equipment of target of corresponding target firmware and the signal emit the communication connection between equipment, also wrap It includes:
The firmware download request that second equipment of target is sent is received, device identification letter is included in the firmware download request Breath;
The firmware download request is sent to the server, to obtain the target corresponding with the equipment identification information Firmware;
The target firmware is sent to second equipment of target corresponding with the equipment identification information, for the target Second equipment carries out firmware upgrade.
4. control method according to any one of claim 1 to 3, which is characterized in that first equipment is in the mesh It is only capable of detecting the wireless connection signal of the signal source transmitting of the signal transmitting equipment in mark region.
5. a kind of control device of firmware upgrade emits equipment, which is characterized in that the control device includes for signal:
Control module, the signal source for controlling signal transmitting equipment emit wireless connection signal, and make described wirelessly to connect It connects signal and covers target area;
Acquisition module, for obtaining signal strength of the wireless connection signal in the target area;
Detection module, for detecting whether the signal strength is greater than or equal to preset strength threshold value;
Communication module, for detecting that the signal strength is greater than or equal to the preset strength threshold value in the detection module When, according to the access request that the first equipment of pending firmware upgrade is sent in the target area, establish the signal Emit the communication connection of equipment and first equipment;
Module is adjusted, for when the detection module detects that the signal strength is less than the preset strength threshold value, adjusting The signal transmission power of the signal source, so that the signal in the target area that the wireless connection signal covers Intensity is greater than or equal to the preset strength threshold value.
6. control device according to claim 5, which is characterized in that further include:
Judgment module, for establishing the communication connection of the signal transmitting equipment and first equipment in the communication module Afterwards, judge the quantity for being located at the second equipment that is in the target area and having accessed signal transmitting equipment whether be less than or Equal to default connection number;And
The communication module is additionally operable to:When the judgment module judges that the quantity is less than or equal to the default connection number, It is sent according to the first equipment of target that is in the target area and not communicated to connect with signal transmitting equipment foundation Access request, establish the communication connection of signal transmitting equipment and first equipment of target;
The control module is additionally operable to:When the judgment module judges that the quantity is more than the default connection number, control is disconnected Open the communication between the second equipment of target for getting corresponding target firmware from server and signal transmitting equipment Connection.
7. control device according to claim 6, which is characterized in that further include:
Receiving module, for disconnecting the target for having got corresponding target firmware from server in control module control Before communication connection between second equipment and signal transmitting equipment, receive under the firmware that second equipment of target is sent Request is carried, includes equipment identification information in the firmware download request;
First sending module, for the firmware download request to be sent to the server, to obtain and the device identification The corresponding target firmware of information;
Second sending module, for the target firmware to be sent to the target second corresponding with the equipment identification information Equipment, so that second equipment of target carries out firmware upgrade.
8. control device according to any one of claims 5 to 7, which is characterized in that first equipment is in the mesh It is only capable of detecting the wireless connection signal of the signal source transmitting of the signal transmitting equipment in mark region.
9. a kind of control device of firmware upgrade, which is characterized in that including:
Processor;
For storing the memory of the processor-executable instruction, wherein, the processor is used to perform in the memory It is realized during the executable instruction of storage such as the step of any one of claims 1 to 4 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program It is realized when being executed by processor such as the step of any one of claims 1 to 4 the method.
11. a kind of signal emits equipment, which is characterized in that including:Firmware upgrade as any one of claim 5 to 9 Control device.
CN201711472787.1A 2017-12-29 2017-12-29 Control method and device, storage medium and the signal transmitting equipment of firmware upgrade Pending CN108052339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711472787.1A CN108052339A (en) 2017-12-29 2017-12-29 Control method and device, storage medium and the signal transmitting equipment of firmware upgrade

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711472787.1A CN108052339A (en) 2017-12-29 2017-12-29 Control method and device, storage medium and the signal transmitting equipment of firmware upgrade

Publications (1)

Publication Number Publication Date
CN108052339A true CN108052339A (en) 2018-05-18

Family

ID=62128732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711472787.1A Pending CN108052339A (en) 2017-12-29 2017-12-29 Control method and device, storage medium and the signal transmitting equipment of firmware upgrade

Country Status (1)

Country Link
CN (1) CN108052339A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167776A (en) * 2018-08-28 2019-01-08 杭州迪普科技股份有限公司 Promote the method and relevant device of the protection specification of flow cleaning equipment
CN110855463A (en) * 2018-08-21 2020-02-28 中兴通讯股份有限公司 Method, device and equipment for upgrading aerial firmware and computer readable medium
CN111885741A (en) * 2020-07-28 2020-11-03 苏州思必驰信息科技有限公司 Method and apparatus for operating a device based on wireless communication
WO2021163838A1 (en) * 2020-02-17 2021-08-26 Arris Enterprises Llc Method and system for rollback validation based on wireless connectivity

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925167A (en) * 2009-06-09 2010-12-22 中兴通讯股份有限公司 Power control method and device of wireless local area network access point device
US20130205289A1 (en) * 2012-02-08 2013-08-08 Fujitsu Limited Update controlling method for firmware, base station apparatus and communication system
CN106993029A (en) * 2017-03-21 2017-07-28 北京小米移动软件有限公司 Method, device and the cleaning equipment of control software upgrading
CN107239302A (en) * 2017-05-10 2017-10-10 努比亚技术有限公司 A kind of firmware upgrade method, terminal and server
CN107249194A (en) * 2017-08-02 2017-10-13 广东欧珀移动通信有限公司 Manage method, device and the equipment of wireless network connection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925167A (en) * 2009-06-09 2010-12-22 中兴通讯股份有限公司 Power control method and device of wireless local area network access point device
US20130205289A1 (en) * 2012-02-08 2013-08-08 Fujitsu Limited Update controlling method for firmware, base station apparatus and communication system
CN106993029A (en) * 2017-03-21 2017-07-28 北京小米移动软件有限公司 Method, device and the cleaning equipment of control software upgrading
CN107239302A (en) * 2017-05-10 2017-10-10 努比亚技术有限公司 A kind of firmware upgrade method, terminal and server
CN107249194A (en) * 2017-08-02 2017-10-13 广东欧珀移动通信有限公司 Manage method, device and the equipment of wireless network connection

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
麻信洛: "《无线局域网构建及应用》", 30 November 2006, 国防工业出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855463A (en) * 2018-08-21 2020-02-28 中兴通讯股份有限公司 Method, device and equipment for upgrading aerial firmware and computer readable medium
CN110855463B (en) * 2018-08-21 2022-04-08 中兴通讯股份有限公司 Method, device and equipment for upgrading aerial firmware and computer readable medium
CN109167776A (en) * 2018-08-28 2019-01-08 杭州迪普科技股份有限公司 Promote the method and relevant device of the protection specification of flow cleaning equipment
WO2021163838A1 (en) * 2020-02-17 2021-08-26 Arris Enterprises Llc Method and system for rollback validation based on wireless connectivity
CN111885741A (en) * 2020-07-28 2020-11-03 苏州思必驰信息科技有限公司 Method and apparatus for operating a device based on wireless communication

Similar Documents

Publication Publication Date Title
CN108052339A (en) Control method and device, storage medium and the signal transmitting equipment of firmware upgrade
CN107291068B (en) Vehicle diagnostic method and vehicle diagnostic apparatus
CN107132788A (en) A kind of vehicle electronic control unit writes with a brush dipped in Chinese ink method and apparatus automatically
CN109495358A (en) Household electrical appliance match network method and distribution network systems
CN108109239A (en) A kind of method for unlocking of smart lock, mobile terminal and unlocking system
CN105915618A (en) Vehicle control device, vehicle mounted terminal, vehicle diagnosing system and vehicle diagnosing system
CN107703375A (en) Mobile terminal antenna test system and method
CN104081726A (en) Train-information management device and method for selecting control software therefor
CN107580322A (en) Upgrade method, device and the automatic driving vehicle of automatic driving vehicle software systems
CN106596122A (en) Vehicle diagnosis method and device
CN107564329A (en) A kind of vehicle lookup method and terminal
CN106101984A (en) The security module management method of a kind of NFC Mobile payment terminal and terminal
CN107329784A (en) Firmware upgrade method and Distributed-tier system
CN110189476A (en) A kind of rental method of shared device, Compliance control equipment and mobile terminal
CN107766185A (en) Test system and method
CN108710497A (en) A kind of method for updating system of vehicle-mounted middle control and vehicle-mounted middle control
CN107274178A (en) Method for switching network and Related product
CN104875695B (en) For the mobile device and system from user identifier
JP2005202594A (en) Data writing system and writing method to electronic control unit
CN114527440A (en) Performance test method and device
CN107463822A (en) Bio-identification mode control method and Related product
CN108594810A (en) Method, apparatus, storage medium, terminal device and the automatic driving vehicle of data processing
CN114518877A (en) Data processing method and device and computer storage medium
CN106227198A (en) Command signal processing method, device and system
CN108337741A (en) The method for building communication connection, device and computer readable 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
TA01 Transfer of patent application right

Effective date of registration: 20190712

Address after: No. 18 Changjiang South Road, National High-tech Development Zone, Xinwu District, Wuxi City, Jiangsu Province, 214000

Applicant after: Wuxi Swan Electrical Appliances Co., Ltd.

Address before: 214028 No. 18 Changjiang South Road, Wuxi National High-tech Development Zone, Jiangsu Province

Applicant before: Wuxi Xiaotianer Co., Ltd.

TA01 Transfer of patent application right