CN106325943A - Method for downloading firmware data, terminal and controller - Google Patents
Method for downloading firmware data, terminal and controller Download PDFInfo
- Publication number
- CN106325943A CN106325943A CN201610735639.3A CN201610735639A CN106325943A CN 106325943 A CN106325943 A CN 106325943A CN 201610735639 A CN201610735639 A CN 201610735639A CN 106325943 A CN106325943 A CN 106325943A
- Authority
- CN
- China
- Prior art keywords
- terminal
- visible light
- light signal
- controller
- initialization
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Optical Communication System (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method for downloading firmware data, a terminal and a controller, relates to the technical field of communication applications, and aims to solve the problems of poor flexibility in arrangement of a terminal production line and difficulty in permitting a plurality of terminals to download firmness at the same time due to adoption of a wired connection way in the conventional firmware data downloading method. The method for downloading the firmware data comprises the following steps: transmitting first visible light signals to the plurality of terminals, wherein the first visible light signals carry initialization commands, and the initialization commands are used for instructing the terminals to execute initialization operation; transmitting second visible light signals to the plurality of terminals, wherein the second visible light signals carry the firmware data. By adopting the method, firmware downloading of the plurality of terminals is realized in a visible light communication way, the firmware downloading efficiency can be increased effectively, a user can flexibly arrange the terminals needing to download the firmware, and the problem that the terminal production line cannot be arranged flexibly is solved effectively.
Description
Technical field
The present invention relates to the technical field of communications applications, particularly relate to the method for down loading of a kind of firmware data, terminal and control
Device processed.
Background technology
When electronic product streamline large-scale production, specific software journey all can be write in the chip of electronic product
Sequence, is frequently referred to " firmware download ".Existing mode is usually product by USB (universal serial bus) (Universal Serial
Bus, USB) data wire is connected to host computer, and software is write product chips by specific control program by host computer.This kind is downloaded
Mode needs, by electronic product, such as terminal, to be connected with controlling end by USB line, and usual synchronization one controls end and can only control
Making a terminal unit and download firmware, download efficiency is low, it is difficult to realizes multiple terminal and downloads the purpose of firmware simultaneously.On it addition,
Stating in downloading mode, terminal and control end use the mode of wired connection, can cause producing line and arrange underaction.
Summary of the invention
It is an object of the invention to provide the method for down loading of a kind of firmware data, terminal and controller, it is intended to solve tradition
The method for down loading of firmware data use the mode of wired connection to cause terminal to produce line to arrange underaction, and be difficult to multiple
The problem that terminal downloads firmware simultaneously.
To achieve these goals, the invention provides the method for down loading of a kind of firmware data, be applied to controller, bag
Include:
Sending the first visible light signal respectively to multiple terminals, described first visible light signal carries initialization directive,
Described initialization directive is used for indicating terminal to perform initialization operation;
Sending the second visible light signal respectively to multiple terminals, described second visible light signal carries firmware data.
For solving above-mentioned technical problem, embodiments of the invention additionally provide a kind of controller, including:
First sending module, for sending the first visible light signal, described first visible light signal respectively to multiple terminals
Carrying initialization directive, described initialization directive is used for indicating terminal to perform initialization operation;
Second sending module, for sending the second visible light signal, described second visible light signal respectively to multiple terminals
Carry firmware data.
For solving above-mentioned technical problem, embodiments of the invention additionally provide the method for down loading of a kind of firmware data, application
In terminal, including:
Receive the first visible light signal that controller sends;
The initialization directive carried according to described first visible light signal, performs initialization operation;
Receive the second visible light signal that described controller sends, from described second visible light signal, obtain firmware number
According to, described firmware data is write memorizer.
For solving above-mentioned technical problem, embodiments of the invention additionally provide a kind of terminal, including:
Second receiver module, for receiving the first visible light signal that controller sends;
Perform module, for the initialization directive carried according to described first visible light signal, perform initialization operation;
3rd receiver module, for receiving the second visible light signal that described controller sends, from described second visible ray
Signal obtains firmware data, described firmware data is write memorizer.
The embodiment of the present invention has the advantages that
The present invention realizes multiple terminal by line-of-sight propagation and downloads firmware data simultaneously, it is possible to be effectively improved firmware
The download efficiency of data, and owing to the embodiment of the present invention uses visible ray communication so that user can cloth neatly
Put the terminal needing to download firmware, efficiently solve terminal produce line can not the problem of flexible arrangement.
Accompanying drawing explanation
Fig. 1 is a workflow diagram of the method for down loading of the firmware data of the embodiment of the present invention;
Fig. 2 is the first communication scheme of embodiment of the present invention middle controller and terminal;
Fig. 3 is the another workflow diagram of the method for down loading of the firmware data of the embodiment of the present invention;
Fig. 4 is another workflow diagram of the method for down loading of the firmware data of the embodiment of the present invention;
Fig. 5 is the second communication scheme of embodiment of the present invention middle controller and terminal;
Fig. 6 is the interaction diagrams of embodiment of the present invention middle controller and terminal;
Fig. 7 is another workflow diagram of the method for down loading of the firmware data of the embodiment of the present invention;
Fig. 8 is the structured flowchart of the controller of the embodiment of the present invention;
Fig. 9 is another workflow diagram of the method for down loading of the firmware data of the embodiment of the present invention;
Figure 10 is a structured flowchart of the terminal of the embodiment of the present invention;
Figure 11 is the another structured flowchart of the terminal of the embodiment of the present invention;
Figure 12 is another structured flowchart of the terminal of the embodiment of the present invention.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with being embodied as
Example and accompanying drawing are described in detail.
The present invention is directed to traditional firmware data method for down loading uses the mode of wired connection to cause terminal to produce line layout not
Enough and it be difficult to multiple terminal and download the problem of firmware data simultaneously flexibly, the invention provides under a kind of firmware data
Support method, terminal and controller, realize multiple terminal by visible ray communication and download firmware data simultaneously, it is possible to have
Effect improves the download efficiency of firmware data, and owing to the embodiment of the present invention uses visible ray communication so that Yong Huke
To arrange the terminal needing to download firmware neatly, effectively solve terminal produce line can not the problem of flexible arrangement.
First embodiment:
As it is shown in figure 1, The embodiment provides the method for down loading of a kind of firmware data, it is applied to controller, should
The method for down loading of firmware data includes:
Step 11: send the first visible light signal respectively to multiple terminals, this first visible light signal carries initialization
Instruction, this initialization directive is used for indicating terminal to perform initialization operation.
Here, the first visible light signal can be specially LiFi signal, it is possible to for other visible light signals.
In a particular embodiment of the present invention, as in figure 2 it is shown, controller noted above can be specially by controlling terminal and high-power
The firmware downloading controller of visible ray radio communication LiFi communication module composition, terminal front side is furnished with the LiFi for LiFi communication
Communication module, controller and terminal constitute CS framework, and wherein, terminal enters firmware as producing line product needed brush, therefore mobile phone is as C
(client), controller noted above is as S (server).
Here, controller is sent out respectively by high-power LiFi communication module multiple terminals in default optical signal coverage
Send the first visible light signal (LiFi signal) so that terminal carries out initialization process according to this first visible light signal.Wherein, greatly
The maximum coverage range of the optical signal that power LiFi communication module is launched is above-mentioned default optical signal coverage.
Step 12: send the second visible light signal respectively to multiple terminals, above-mentioned second visible light signal carries firmware
Data.
Concrete, controller sends the second visible light signal, the second visible ray by above-mentioned high-power LiFi communication module
The coverage of signal is above-mentioned default optical signal coverage, and terminal receives this by LiFi communication module itself second can
See optical signal, from the second visible light signal, obtain firmware data, and firmware data is write memorizer.
Further, the method for down loading of the firmware data of above-described embodiment, send the second visible ray respectively to multiple terminals
After signal, also include:
Obtain the screen color of multiple terminal;
Show the SOT state of termination corresponding with above-mentioned screen color.
Concrete, can be according to the corresponding relation of the screen color of default terminal Yu the SOT state of termination, the screen showing with obtaining
The SOT state of termination that color is corresponding, wherein, this SOT state of termination includes: the init state of terminal or the write storage of described firmware data
The write state of device.
Further, the controller of the embodiment of the present invention also includes that photographic head, photographic head communicate with above-mentioned high-power LiFi
Module is integrated together, and controlled terminal control.Controller can be by the screen color of camera collection terminal, according to presetting
The screen color of terminal and the corresponding relation of the SOT state of termination, show the initial of the terminal corresponding with the screen color of the terminal obtained
Change state or firmware data write state.
Concrete, after sending the second visible light signal respectively to multiple terminals, obtained the screen of terminal by photographic head
Curtain color, to obtain the init state of terminal;Or, after multiple terminals send the second visible light signal respectively, by taking the photograph
As head obtains terminal screen color, to obtain the firmware data write state of terminal.
The method for down loading of the firmware data of the embodiment of the present invention, sends the first visible light signal respectively to multiple terminals, should
First visible light signal carries initialization directive, and described initialization directive is used for indicating terminal to perform initialization operation;Xiang Duo
Individual terminal sends the second visible light signal respectively, and described second visible light signal carries firmware data so that terminal receives
After second visible light signal, from the second visible light signal, obtain firmware data, and firmware data is write memorizer.The present invention
Embodiment realizes multiple terminal by visible ray communication and downloads firmware data simultaneously, it is possible to be effectively improved firmware data
Download efficiency, and due to the embodiment of the present invention use visible ray communication so that user can arrange neatly need
The terminal of firmware to be downloaded, efficiently solve terminal produce line can not the problem of flexible arrangement.
Second embodiment:
As it is shown on figure 3, The embodiment provides the method for down loading of a kind of firmware data, it is applied to controller, should
The method for down loading of firmware data includes:
Step 31: send the first visible light signal respectively to multiple terminals, this first visible light signal carries initialization
Instruction, this initialization directive is used for indicating terminal to perform initialization operation.
This step is identical with the step 11 in first embodiment, and for avoiding repeating, this repeats no more.
Step 32: receive the initialization success message that terminal returns.
The initialization directive that this initialization success message specially terminal is carried according to the first visible light signal, is initialized to
Send after merit.
Step 33: send the second visible light signal to above-mentioned terminal.
After receiving the initialization success message that terminal returns, send the second visible light signal to described terminal so that
Initialize successful terminal and obtain the firmware data in the second visible light signal.
The method for down loading of the firmware data of the embodiment of the present invention, sends the first visible light signal respectively to multiple terminals, should
First visible light signal carries initialization directive, and this initialization directive is used for indicating terminal to perform initialization operation;Receive eventually
The initialization success message that end returns;The second visible light signal is sent so that initialize successful terminal and obtain to above-mentioned terminal
Firmware data in second visible light signal, the embodiment of the present invention realizes multiple terminal simultaneously by visible ray communication
Download firmware data, it is possible to be effectively improved the download efficiency of firmware data, and owing to the embodiment of the present invention uses visible ray wireless
Communication mode so that user can arrange the terminal needing to download firmware neatly, efficiently solving terminal product line can not spirit
The problem of layout of living.
3rd embodiment:
As shown in Figure 4, The embodiment provides the method for down loading of a kind of firmware data, be applied to controller, should
The method for down loading of firmware data includes:
Step 41: send the first visible light signal respectively to multiple terminals, this first visible light signal carries initialization
Instruction, this initialization directive is used for indicating terminal to perform initialization operation.
This step is identical with the step 11 in first embodiment, and for avoiding repeating, this repeats no more.
Step 42: receive the initialization success message that terminal returns.
The initialization directive that this initialization success message specially terminal is carried according to the first visible light signal, is initialized to
Send after merit.
Step 43: send parameter acquiring request to above-mentioned terminal, and receive the terminal parameter that described terminal returns.
Here, terminal parameter information can be specially the type information of terminal or the type information of terminal handler, and this is eventually
End parameter specially terminal generates after receiving parameter acquiring solicited message.
Step 44: above-mentioned terminal parameter is verified.
Concrete, the terminal parameter that checking obtains is the most consistent with the terminal parameter pre-saved.
Step 45: when being verified above-mentioned terminal parameter, sends the second visible light signal to above-mentioned terminal.
When the terminal parameter obtained is consistent with the terminal parameter pre-saved, show to be verified, and to above-mentioned terminal
Send the second visible light signal.
Here, if the terminal parameter obtained is consistent with the terminal parameter pre-saved, then show that this controller to send
Firmware data be applicable to this terminal, this terminal can carry out system upgrade process etc. according to this firmware data, and then will carry
Second visible light signal of firmware data is sent to initialize successful all terminals, it is achieved terminal downloads firmware simultaneously in high volume
The purpose of data, substantially increases download efficiency.
Further, in the embodiment of the present invention, after described terminal parameter is verified, also include:
When described terminal parameter is verified, the screen color of described terminal is set to the first pre-set color;When
To described terminal parameter not verified time, the screen color of described terminal is set to the second pre-set color.
Further, above-described embodiment carries in the first visible light signal that each terminal sends the body of controller
Part information and/or the coordinate information corresponding with each terminal.Controller can send to each terminal take according to preset coordinate order
With controller identifier information and the first visible light signal of terminal coordinate information;Obtain terminal to return according to the first visible light signal
The initialization success message returned;According to above-mentioned initialization success message, send terminal parameter to above-mentioned terminal and obtain request;Obtain
Above-mentioned terminal obtains, according to above-mentioned terminal parameter, the terminal parameter that request returns;Described terminal parameter is verified;When to institute
State terminal parameter when being verified, send the second visible light signal to described terminal.
It is placed in a room same plane as it is shown in figure 5, mobile phone can be concentrated by the embodiment of the present invention, every mobile phone
Put in the position of the good coordinate of labelling.When certain coordinate range put into by mobile phone, its coordinate is led to by near-field communication, such as near radio
Letter NFC, writes mobile phone.Mobile phone faces up, and does not blocks, it is ensured that the LiFi communication module of mobile phone can receive controller
LiFi signal.High-power LiFi communication module is suspended from high-altitude, and its light can cover all mobile phones.Below in conjunction with Fig. 6, specifically
Bright embodiment of the present invention middle controller and terminal interaction flow process.
As shown in Figure 6, above-mentioned interaction flow includes:
Step 61: controller sends the first visible ray carrying controller identity information and terminal coordinate information to terminal
Signal.
In this step, controller can initialize mobile phone, after initializing successfully by the coordinate order of regulation on room inner platform
Then terminal screen is set to yellow, is otherwise set to redness.No matter success or not, this time initializes after terminating, and controller initializes
Next coordinate machine, until all mobile phones have initialized.
Step 62: terminal is at the coordinate information one of the terminal coordinate information entrained by the first visible light signal Yu terminal self
During cause, controller identity information is verified, and when being verified, perform initialization operation.
Terminal when the terminal coordinate information entrained by the first visible light signal is consistent with the coordinate information of self, is then verified
Controller identity information is the most consistent with prescription controller identity information, if unanimously, then shows to be proved to be successful, and initializes
Operation.
Step 63: after terminal initialization success, returns to controller and initializes success message.
Step 64: controller, according to initializing success message, sends parameter acquiring request to terminal.
Here terminal parameter obtains request can be specially the model of acquisition request terminal or the type of terminal handler
Information.
Step 65: terminal obtains request according to above-mentioned parameter, returns corresponding terminal parameter to controller.
Step 66: it is consistent with the terminal parameter pre-saved that controller detects terminal parameter, then send and carry firmware
Second visible light signal of data.
If the parameter preset information initializing successful terminal is consistent with the terminal parameter information pre-saved, then show this
The firmware data that controller is to be sent is applicable to this terminal, and this terminal can carry out system upgrade process according to this firmware data.
Step 67: terminal obtains the firmware data in the second visible light signal, writes memorizer by described firmware data, and
Write memorizer.
In this step, initialize successful all terminals and can download data and write memorizer, and will when writing successfully
Screen color is set to green, is otherwise provided as white, to facilitate the firmware data write state of statistics terminal.
In the embodiment of the present invention, it is sent to the second visible light signal carrying firmware data initialize and successfully owns
Terminal, it is achieved terminal downloads the purpose of firmware data simultaneously in high volume, substantially increases in download efficiency, and the embodiment of the present invention
LiFi communication act only in light coverage, the highest safety.
4th embodiment:
As it is shown in fig. 7, The embodiment provides the method for down loading of a kind of firmware data, it is applied to controller, should
The method for down loading of firmware data includes:
Step 71: send the first visible light signal, above-mentioned first visible ray respectively to multiple terminals by the way of broadcast
Signal carries initialization directive and controller identity information.
Here, controller utilizes above-mentioned high-power LiFi communication module to carry out to the transmission of multiple terminals by the way of broadcast
The first visible light signal that initialization processes.
Step 72: after sending the first Preset Time of above-mentioned first visible light signal, by the way of broadcast on multiple
Stating terminal and send the second visible light signal, above-mentioned second visible light signal carries firmware data.
In the embodiment of the present invention, controller is unidirectional with the data transmission of terminal, and controller circulation performs all operations,
After terminal LiFi communication module receives broadcast, the data in being broadcasted by parsing, controller identifier information is verified.When
When being proved to be successful, terminal initialization download environment, waits the firmware data of controller broadcast transmission to be received.Now, controller without
Need to close whether injection terminal is ready to, simply wait for broadcast transmission firmware data after the first Preset Time, until being sent completely, then
Enter and circulate next time.After mobile phone terminal receives " being sent completely " signal, check the most stored by checking algorithm set in advance
AKU whether complete, if complete, automatically upgrade, otherwise wait for circulating next time, again attempt to upgrading.
The method for down loading of the firmware data of the embodiment of the present invention, controller is to client one-way transmission, it is not necessary to set up reliable
Connect, decrease the load of controller, as long as and controller LiFi signal sufficiently strong, the brush machine of great amount of terminals can be realized, it addition,
Owing to the embodiment of the present invention uses visible ray communication so that user can arrange the end needing to download firmware neatly
End, effectively solve terminal produce line can not the problem of flexible arrangement.
5th embodiment
As shown in Figure 8, embodiments of the invention additionally provide a kind of controller, including:
First sending module 81, for sending the first visible light signal, described first visible ray letter respectively to multiple terminals
Number carrying initialization directive, described initialization directive is used for indicating terminal to perform initialization operation;
Second sending module 82, for sending the second visible light signal, described second visible ray letter respectively to multiple terminals
Number carry firmware data.
The controller of the embodiment of the present invention, carries the body of controller in the first visible light signal that each terminal sends
Part information and/or the coordinate information corresponding with each terminal.
The controller of the embodiment of the present invention, also includes:
First receiver module 83, for receiving the initialization success message that terminal returns;
Described second sending module 82, specifically for after receiving the initialization success message that terminal returns, to described
Terminal sends the second visible light signal.
The controller of the embodiment of the present invention, also includes:
Processing module 84, after described first receiver module 83 receives the initialization success message that terminal returns, to
Described terminal sends parameter acquiring request, and receives the terminal parameter that described terminal returns;
Authentication module 85, for verifying described terminal parameter;
Described second sending module 82, specifically for when being verified described terminal parameter, sends to described terminal
Second visible light signal.
The controller of the embodiment of the present invention, also includes:
First arranges module 86, for when described terminal parameter is verified by described authentication module 85, by described end
The screen color of end is set to the first pre-set color;When to described terminal parameter not verified time, by the screen of described terminal
Color is set to the second pre-set color.
The controller of the embodiment of the present invention, also includes:
First acquisition module 87, for described second sending module to multiple terminals send respectively the second visible light signal it
After, obtain the screen color of multiple terminal;
Display module 88, for the SOT state of termination that display is corresponding with described screen color.
It should be noted that this controller is the controller corresponding with said method embodiment, in said method embodiment
All implementations, all be applicable to the embodiment of this controller, also can reach identical technique effect.
The controller of the embodiment of the present invention, sends the first visible light signal respectively to multiple terminals, and this first visible ray is believed
Number carrying initialization directive, described initialization directive is used for indicating terminal to perform initialization operation;Send out respectively to multiple terminals
The second visible light signal, described second visible light signal is sent to carry firmware data so that terminal receives the second visible ray letter
After number, from the second visible light signal, obtain firmware data, and firmware data is write memorizer.The embodiment of the present invention is passed through can
See that light wireless communication mode realizes multiple terminal and downloads firmware data simultaneously, it is possible to be effectively improved the download efficiency of firmware data,
And owing to the embodiment of the present invention uses visible ray communication so that user can arrange neatly to be needed to download firmware
Terminal, efficiently solve terminal produce line can not the problem of flexible arrangement.
Sixth embodiment:
As it is shown in figure 9, embodiments of the invention additionally provide the method for down loading of a kind of firmware data, it is applied to terminal, should
Terminal can be specially smart mobile phone, panel computer/PAD, personal computer etc., and the method for down loading of this firmware data includes:
Step 91: receive the first visible light signal that controller sends.
In a particular embodiment of the present invention, as in figure 2 it is shown, controller noted above can be specially by controlling terminal and high-power
The firmware downloading controller of visible ray radio communication LiFi communication module composition, terminal front side is furnished with the LiFi for LiFi communication
Communication module, controller and terminal constitute CS framework, and wherein, terminal enters firmware as producing line product needed brush, therefore mobile phone is as C
(client), controller noted above is as S (server).
Here, controller by high-power LiFi communication module in default optical signal coverage in multiple terminals extremely
A few terminal sends the first visible light signal (LiFi signal) carrying out initialization process so that terminal is according to this first visible ray
Signal carries out initialization process.Wherein, the maximum coverage range of the optical signal that high-power LiFi communication module is launched is above-mentioned
Preset optical signal coverage.
Step 92: the initialization directive carried according to above-mentioned first visible light signal, performs initialization operation.
Here, terminal according to the initialization directive in the first visible light signal, enters download state, sends out receiving controller
The firmware data sent.
Preferably, after the first visible light signal that above-mentioned reception controller sends, also include: from described first visible ray
Signal obtains the identity information of controller, described identity information is verified.
Now, this step 92 may particularly include step 921:
After above-mentioned identity information is verified, the initialization directive carried according to described first visible light signal, hold
Row initialization operation.
Concrete, the identity information of comparison controller is the most consistent with the identity information of prescription controller, and at controller
Identity information consistent with the identity information of prescription controller time, perform initialization operation.
Preferably, after the first visible light signal that above-mentioned reception controller sends, also include: from described first visible ray
Signal obtains coordinate information, it is judged that the coordinate information got is the most consistent with the coordinate information of self.
Now, this step 92 may particularly include step 922:
When the coordinate information got is consistent with the coordinate information of self, according to the first visible light signal carry initial
Change instruction, perform initialization operation.
Step 93: receive the second visible light signal that controller sends, obtains firmware data from the second visible light signal,
Firmware data is write memorizer.
The process that firmware data writes memorizer may particularly include: the firmware data that detection has obtained is the most complete;If
The firmware data obtained is complete, then above-mentioned firmware data is write memorizer, and carry out above-mentioned terminal according to firmware data
System upgrade processes, and wherein, can detect, by default checking algorithm, the firmware data obtained the most complete.
The method for down loading of the firmware data of the embodiment of the present invention, receives the first visible light signal that controller sends;According to
The initialization directive that described first visible light signal carries, performs initialization operation;Receive the transmission of described controller second can
See optical signal, from described second visible light signal, obtain firmware data, described firmware data is write memorizer.The present invention is real
The terminal executing example is communicated with controller by visible ray communication so that user can arrange under needs neatly
Carry the terminal of firmware, effectively solve terminal produce line can not the problem of flexible arrangement, and significantly provide the download of firmware data
Efficiency.
Further, above-mentioned steps 92 may also include that
After initialization success, return to controller and initialize success message;
Receive the parameter acquiring request that controller sends, return terminal parameter to controller.
Wherein, terminal parameter can be specially the type information of terminal or the type information of terminal handler.
In a particular embodiment of the present invention, after controller receives terminal parameter, this terminal parameter is verified, i.e.
The terminal parameter that checking obtains is the most consistent with the terminal parameter pre-saved, when the terminal parameter obtained and the end pre-saved
When end parameter is consistent, send the second visible light signal to above-mentioned terminal.
Further, above-mentioned steps 92 may also include that
After initialization success, the screen color of terminal is set to the first pre-set color;After initialization failure, will eventually
The screen color of end is set to the second pre-set color;
After described firmware data write memorizer, also include:
If firmware data to be successfully written described memorizer, then the screen color of terminal is set to the 3rd pre-set color;
If described firmware data not being successfully written described memorizer, then the screen color of described terminal is set to the 4th and presets face
Color.
Here, after initialization completes, by the screen of terminal being arranged to different colors to facilitate statistics terminal
Init state.After firmware data is write memorizer, by the screen of terminal is arranged to different colors to facilitate system
The firmware data write state of meter terminal.
The method for down loading of the firmware data of the embodiment of the present invention, receives the first visible light signal that controller sends;According to
The initialization directive that described first visible light signal carries, performs initialization operation;Receive the transmission of described controller second can
See optical signal, from described second visible light signal, obtain firmware data, described firmware data is write memorizer.The present invention is real
The terminal executing example is communicated with controller by visible ray communication so that user can arrange under needs neatly
Carry the terminal of firmware, effectively solve terminal produce line can not the problem of flexible arrangement, and significantly provide the download of firmware data
Efficiency.
7th embodiment:
As shown in Figure 10, embodiments of the invention additionally provide a kind of terminal, including:
Second receiver module 101, for receiving the first visible light signal that controller sends;
Perform module 102, for the initialization directive carried according to described first visible light signal, perform to initialize behaviour
Make;
3rd receiver module 103, for receiving the second visible light signal that described controller sends, from described second
Optical signal obtains firmware data, described firmware data is write memorizer.
The terminal of the embodiment of the present invention, also includes:
Second acquisition module 104, receives, for described second receiver module 101, the first visible ray letter that controller sends
After number, from described first visible light signal, obtain the identity information of controller, described identity information is verified;
Described execution module 102, specifically for after described identity information is verified by described second acquisition module, root
The initialization directive carried according to described first visible light signal, performs initialization operation.
The terminal of the embodiment of the present invention, also includes:
Determination module 105, after described second receiver module receives the first visible light signal that controller sends,
From described first visible light signal, obtain coordinate information, it is judged that the coordinate information got whether with self coordinate information one
Cause;
Described execution module 102, specifically for when the coordinate information got is consistent with the coordinate information of self, according to
The initialization directive that described first visible light signal carries, performs initialization operation.
The terminal of the embodiment of the present invention, described execution module 102 includes:
Send submodule 1021, after initialization success, return to described controller and initialize success message;
Receive submodule 1022, for receiving the parameter acquiring request that described controller sends, return to described controller
Terminal parameter.
The terminal of the embodiment of the present invention, described execution module 102 also includes:
Submodule 1023 is set, after initialization success, the screen color of described terminal is set to first and presets
Color;After initialization failure, the screen color of described terminal is set to the second pre-set color;
Described terminal also includes: if second arranges module 106 for described 3rd receiver module 103 by described firmware data
It is successfully written memorizer, then the screen color of described terminal is set to the 3rd pre-set color;If described firmware data not being become
Merit writes described memorizer, then the screen color of described terminal is set to the 4th pre-set color.
The terminal of the embodiment of the present invention, receives the first visible light signal that controller sends;According to described first visible ray
The initialization directive that signal carries, performs initialization operation;Receive the second visible light signal that described controller sends, from described
Second visible light signal obtains firmware data, described firmware data is write memorizer.The terminal of the embodiment of the present invention is passed through
Visible ray communication communicates with controller so that user can arrange the terminal needing to download firmware neatly,
Effectively solve terminal produce line can not the problem of flexible arrangement, and significantly provide the download efficiency of firmware data.
8th embodiment:
As shown in figure 11, for the another structured flowchart of embodiment of the present invention terminal, the terminal 110 shown in Figure 11 includes: extremely
A few processor 111, memorizer 112, at least one network interface 114 and other user interfaces 113.Each in terminal 110
Individual assembly is coupled by bus system 115.It is understood that bus system 115 is for realizing the connection between these assemblies
Communication.Bus system 115, in addition to including data/address bus, also includes power bus, controls bus and status signal bus in addition.But
For the sake of understanding explanation, in fig. 11 various buses are all designated as bus system 115.
Wherein, user interface 113 can include display, keyboard or pointing device (such as, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
The memorizer 112 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memorizer 112 of system and method described herein be intended to include but not limited to these and arbitrarily its
It is suitable for the memorizer of type.
In some embodiments, memorizer 112 stores following element, executable module or data structure, or
Their subset of person, or their superset: operating system 1121 and application program 1122.
Wherein, operating system 1121, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for
Realize various basic business and process hardware based task.Application program 1122, comprises various application program, such as media
Player (Media Player), browser (Browser) etc., be used for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 1122.
In one embodiment of this invention, by calling program or the instruction of memorizer 112 storage, concrete can be
The program stored in application program 1122 or instruction, processor 111 is for receiving the first visible light signal that controller sends;Root
The initialization directive carried according to described first visible light signal, performs initialization operation;Receive the second of the transmission of described controller
Visible light signal, obtains firmware data from described second visible light signal, described firmware data is write memorizer.
Alternatively, processor 111 is additionally operable to: obtain the identity information of controller from described first visible light signal, right
Described identity information is verified;After described identity information is verified, carry according to described first visible light signal
Initialization directive, performs initialization operation.
Alternatively, processor 111 is additionally operable to: obtain coordinate information from described first visible light signal, it is judged that get
Coordinate information the most consistent with the coordinate information of self;When the coordinate information got is consistent with the coordinate information of self,
The initialization directive carried according to described first visible light signal, performs initialization operation.
Alternatively, processor 111 is additionally operable to: after initialization success, returns to described controller and initializes success message;
Receive the parameter acquiring request that described controller sends, return terminal parameter to described controller.
Alternatively, processor 111 is additionally operable to: after initialization success, the screen color of described terminal is set to first
Pre-set color;After initialization failure, the screen color of described terminal is set to the second pre-set color;If by described firmware number
According to being successfully written described memorizer, then the screen color of described terminal is set to the 3rd pre-set color;If not by described firmware
Data are successfully written described memorizer, then the screen color of described terminal is set to the 4th pre-set color.
The terminal 110 of the embodiment of the present invention, processor 111 is for receiving the first visible light signal that controller sends;Root
The initialization directive carried according to described first visible light signal, performs initialization operation;Receive the second of the transmission of described controller
Visible light signal, obtains firmware data from described second visible light signal, described firmware data is write memorizer.The present invention
The terminal of embodiment is communicated with controller by visible ray communication so that user can arrange needs neatly
Download the terminal of firmware, effectively solve terminal produce line can not the problem of flexible arrangement, and significantly provide under firmware data
Carry efficiency.
In another embodiment of the invention, by calling program or the instruction of memorizer 112 storage, concrete can be
The program of storage or instruction in application program 1122, processor 111 can be additionally used in that to send first respectively to multiple terminals visible
Optical signal, described first visible light signal carries initialization directive, and it is initial that described initialization directive is used for indicating terminal to perform
Change operation;Sending the second visible light signal respectively to multiple terminals, described second visible light signal carries firmware data.
Alternatively, carry in the first visible light signal that each terminal sends controller identity information and/or with
The coordinate information that each terminal is corresponding.
Alternatively, processor 111 is additionally operable to: receive the initialization success message that terminal returns;Return when receiving terminal
Initialization success message after, send the second visible light signal to described terminal.
Alternatively, processor 111 is additionally operable to: sends parameter acquiring request to described terminal, and receives the return of described terminal
Terminal parameter;Described terminal parameter is verified;When described terminal parameter is verified, send the to described terminal
Two visible light signals.
Alternatively, processor 111 is additionally operable to: when being verified described terminal parameter, by the screen face of described terminal
Color is set to the first pre-set color;When to described terminal parameter not verified time, the screen color of described terminal is set to
Second pre-set color.
Above-mentioned processor 111 can be included, by processor 111 to multiple terminals respectively in the controller of the embodiment of the present invention
Sending the first visible light signal, this first visible light signal carries initialization directive, and described initialization directive is used for indicating end
End performs initialization operation;Sending the second visible light signal respectively to multiple terminals, described second visible light signal carries solid
Number of packages evidence so that after terminal receives the second visible light signal, obtains firmware data from the second visible light signal, and by firmware
Data write memorizer.The embodiment of the present invention realizes multiple terminal by visible ray communication and downloads firmware number simultaneously
According to, it is possible to it is effectively improved the download efficiency of firmware data, and owing to the embodiment of the present invention uses visible ray communication, makes
User can arrange the terminal needing to download firmware neatly, efficiently solve terminal produce line can not the asking of flexible arrangement
Topic.
The terminal of the present invention or controller can be such as mobile phone, panel computer, personal digital assistant (Personal
Digital Assistant, PDA) or vehicle-mounted computer etc. terminal.
Terminal 110 is capable of each process that in previous embodiment, terminal realizes, for avoiding repeating, the most superfluous
State.
The method that the invention described above embodiment discloses all can apply in processor 111, or real by processor 111
Existing.Processor 111 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 111 or software form.Above-mentioned place
Reason device 111 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated
Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General
The processor etc. that processor can be microprocessor or this processor can also be any routine.In conjunction with embodiment of the present invention institute
The step of disclosed method can be embodied directly in hardware decoding processor and perform, or with the hardware in decoding processor
And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme read-only
In the storage medium that this areas such as memorizer or electrically erasable programmable memorizer, depositor are ripe.This storage medium is positioned at
Memorizer 112, processor 111 reads the information in memorizer 112, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
Controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein
Described technology.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or
Processor is outside to be realized.
9th embodiment:
As shown in figure 12, for another structured flowchart of terminal of the embodiment of the present invention.Terminal 1200 shown in Figure 12 includes
Radio frequency (Radio Frequency, RF) circuit 1210, memorizer 1220, input block 1230, display unit 1240, processor
1260, voicefrequency circuit 1270, WiFi (Wireless Fidelity) module 1280 and power supply 1290.
Wherein, input block 1230 can be used for receiving numeral or the character information of user's input, and produces and terminal
The user setup of 1200 and function control relevant signal input.Specifically, in the embodiment of the present invention, this input block 1230
Contact panel 1231 can be included.Contact panel 1231, also referred to as touch screen, thereon or neighbouring touch is grasped can to collect user
Make (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 1231), and according to
Formula set in advance drives corresponding attachment means.Optionally, contact panel 1231 can include touch detecting apparatus and touch
Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinates, then give this processor 1260, and order that processor 1260 sends can be received and performed.Furthermore, it is possible to adopt
Contact panel 1231 is realized with polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1231, input block 1230 can also include other input equipments 1232, and other input equipments 1232 can include but not limited to
One or many in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Kind.
Wherein, display unit 1240 can be used for showing the information inputted by user or the information being supplied to user and terminal
The various menu interfaces of 1200.Display unit 1240 can include display floater 1241, optionally, can use LCD or organic
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display floater 1241.
It should be noted that contact panel 1231 can cover display floater 1241, formed and touch display screen, when this touch display screen
Detect thereon or after neighbouring touch operation, send processor 1260 to determine the type of touch event, with post processing
Device 1260 provides corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area
And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show
Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible
The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area
It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as,
The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 1260 is the control centre of terminal 1200, utilizes each of various interface and the whole mobile phone of connection
Individual part, is stored in the software program in first memory 1221 and/or module by running or performing, and calls and be stored in
Data in second memory 1222, perform the various functions of terminal 1200 and process data, thus carrying out whole to terminal 1200
Body monitors.Optionally, processor 1260 can include one or more processing unit.
In one embodiment of this invention, by calling the software program and/or mould stored in this first memory 1221
Data in block and/or this second memory 1222, processor 1260 is for receiving the first visible light signal that controller sends;
The initialization directive carried according to described first visible light signal, performs initialization operation;Receive that described controller sends the
Two visible light signals, obtain firmware data from described second visible light signal, described firmware data are write memorizer.
Alternatively, processor 1260 is additionally operable to: obtain the identity information of controller from described first visible light signal, right
Described identity information is verified;After described identity information is verified, carry according to described first visible light signal
Initialization directive, performs initialization operation.
Alternatively, processor 1260 is additionally operable to: obtain coordinate information from described first visible light signal, it is judged that get
Coordinate information the most consistent with the coordinate information of self;When the coordinate information got is consistent with the coordinate information of self,
The initialization directive carried according to described first visible light signal, performs initialization operation.
Alternatively, processor 1260 is additionally operable to: after initialization success, initializes to the return of described controller and successfully disappears
Breath;Receive the parameter acquiring request that described controller sends, return terminal parameter to described controller.
Alternatively, processor 1260 is additionally operable to: after initialization success, the screen color of described terminal is set to first
Pre-set color;After initialization failure, the screen color of described terminal is set to the second pre-set color;If by described firmware number
According to being successfully written described memorizer, then the screen color of described terminal is set to the 3rd pre-set color;If not by described firmware
Data are successfully written described memorizer, then the screen color of described terminal is set to the 4th pre-set color.
The terminal 1200 of the embodiment of the present invention, processor 1260 is for receiving the first visible light signal that controller sends;
The initialization directive carried according to described first visible light signal, performs initialization operation;Receive that described controller sends the
Two visible light signals, obtain firmware data from described second visible light signal, described firmware data are write memorizer.This
The terminal of bright embodiment is communicated with controller by visible ray communication so that user can arrange neatly to be needed
The terminal of firmware to be downloaded, effectively solve terminal produce line can not the problem of flexible arrangement, and significantly provide firmware data
Download efficiency.
In one embodiment of this invention, by calling the software program and/or mould stored in this first memory 1221
Data in block and/or this second memory 1222, processor 1260 can be additionally used in that to send first respectively to multiple terminals visible
Optical signal, described first visible light signal carries initialization directive, and it is initial that described initialization directive is used for indicating terminal to perform
Change operation;Sending the second visible light signal respectively to multiple terminals, described second visible light signal carries firmware data.
Alternatively, carry in the first visible light signal that each terminal sends controller identity information and/or with
The coordinate information that each terminal is corresponding.
Alternatively, processor 1260 is additionally operable to: receive the initialization success message that terminal returns;Return when receiving terminal
Initialization success message after, send the second visible light signal to described terminal.
Alternatively, processor 1260 is additionally operable to: sends parameter acquiring request to described terminal, and receives the return of described terminal
Terminal parameter;Described terminal parameter is verified;When described terminal parameter is verified, send the to described terminal
Two visible light signals.
Alternatively, processor 1260 is additionally operable to: when being verified described terminal parameter, by the screen face of described terminal
Color is set to the first pre-set color;When to described terminal parameter not verified time, the screen color of described terminal is set to
Second pre-set color.
Above-mentioned processor 1260 can be included in the controller of the embodiment of the present invention, divided to multiple terminals by processor 1260
Not sending the first visible light signal, this first visible light signal carries initialization directive, and described initialization directive is used for indicating
Terminal performs initialization operation;Sending the second visible light signal respectively to multiple terminals, described second visible light signal carries
Firmware data so that after terminal receives the second visible light signal, obtains firmware data from the second visible light signal, and will be solid
Number of packages is according to write memorizer.The embodiment of the present invention realizes multiple terminal by visible ray communication and downloads firmware number simultaneously
According to, it is possible to it is effectively improved the download efficiency of firmware data, and owing to the embodiment of the present invention uses visible ray communication, makes
User can arrange the terminal needing to download firmware neatly, efficiently solve terminal produce line can not the asking of flexible arrangement
Topic.
The terminal of the present invention or controller can be such as mobile phone, panel computer, personal digital assistant (Personal
Digital Assistant, PDA) or vehicle-mounted computer etc. terminal.
Terminal 1100 is capable of each process that in previous embodiment, terminal realizes, for avoiding repeating, the most superfluous
State.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes
Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually
Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel
Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed
The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other
Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only
A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual
Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link
Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible
The hardware controlling to be correlated with by computer program completes, and described program can be stored in a computer read/write memory medium
In, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access
Memory, RAM) etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.
Claims (22)
1. a method for down loading for firmware data, is applied to controller, it is characterised in that including:
Sending the first visible light signal respectively to multiple terminals, described first visible light signal carries initialization directive, described
Initialization directive is used for indicating terminal to perform initialization operation;
Sending the second visible light signal respectively to multiple terminals, described second visible light signal carries firmware data.
Method the most according to claim 1, it is characterised in that carry in the first visible light signal that each terminal sends
There are the identity information of controller and/or the coordinate information corresponding with each terminal.
Method the most according to claim 1, it is characterised in that to multiple terminals send respectively the first visible light signal it
After, also include:
Receive the initialization success message that terminal returns;
Described send the second visible light signal respectively to multiple terminals, including:
After receiving the initialization success message that terminal returns, send the second visible light signal to described terminal.
Method the most according to claim 3, it is characterised in that described reception terminal return initialization success message it
After, also include:
Send parameter acquiring request to described terminal, and receive the terminal parameter that described terminal returns;
Described terminal parameter is verified;
Described send the second visible light signal respectively to multiple terminals, including:
When described terminal parameter is verified, send the second visible light signal to described terminal.
Method the most according to claim 4, it is characterised in that after described terminal parameter is verified, also include:
When described terminal parameter is verified, the screen color of described terminal is set to the first pre-set color;When to institute
State terminal parameter not verified time, the screen color of described terminal is set to the second pre-set color.
Method the most according to claim 1, it is characterised in that described send the second visible light signal respectively to multiple terminals
Afterwards, also include:
Obtain the screen color of multiple terminal;
Show the SOT state of termination corresponding with described screen color.
7. a controller, it is characterised in that including:
First sending module, for sending the first visible light signal respectively to multiple terminals, described first visible light signal carries
Initialization directive, described initialization directive is had to be used for indicating terminal to perform initialization operation;
Second sending module, for sending the second visible light signal respectively to multiple terminals, described second visible light signal carries
There is firmware data.
Controller the most according to claim 7, it is characterised in that take in the first visible light signal that each terminal sends
Identity information and/or the coordinate information corresponding with each terminal with controller.
Controller the most according to claim 7, it is characterised in that also include:
First receiver module, for receiving the initialization success message that terminal returns;
Described second sending module, specifically for, after receiving the initialization success message that terminal returns, sending out to described terminal
Send the second visible light signal.
Controller the most according to claim 9, it is characterised in that also include:
Processing module, after described first receiver module receives the initialization success message that terminal returns, to described terminal
Transmission parameter acquiring is asked, and receives the terminal parameter that described terminal returns;
Authentication module, for verifying described terminal parameter;
Described second sending module, specifically for when being verified described terminal parameter, sending second to described terminal can
See optical signal.
11. controllers according to claim 10, it is characterised in that also include:
First arranges module, for when described terminal parameter is verified by described authentication module, by the screen of described terminal
Color is set to the first pre-set color;When to described terminal parameter not verified time, the screen color of described terminal is arranged
It it is the second pre-set color.
12. controllers according to claim 7, it is characterised in that also include:
First acquisition module, for described second sending module after multiple terminals send the second visible light signal respectively, obtains
Take the screen color of multiple terminal;
Display module, for the SOT state of termination that display is corresponding with described screen color.
The method for down loading of 13. 1 kinds of firmware data, is applied to terminal, it is characterised in that including:
Receive the first visible light signal that controller sends;
The initialization directive carried according to described first visible light signal, performs initialization operation;
Receive the second visible light signal that described controller sends, from described second visible light signal, obtain firmware data, will
Described firmware data write memorizer.
14. methods according to claim 13, it is characterised in that the first visible light signal that described reception controller sends
Afterwards, also include:
From described first visible light signal, obtain the identity information of controller, described identity information is verified;
The initialization directive carried according to described first visible light signal, performs initialization operation, including:
After being verified described identity information, the initialization directive carried according to described first visible light signal, at the beginning of execution
Beginningization operates.
15. methods according to claim 13, it is characterised in that the first visible light signal that described reception controller sends
Afterwards, also include:
Coordinate information is obtained, it is judged that the coordinate information got whether coordinate with self is believed from described first visible light signal
Breath is consistent;
The initialization directive carried according to described first visible light signal, performs initialization operation, including:
When the coordinate information got is consistent with the coordinate information of self, according to described first visible light signal carry initial
Change instruction, perform initialization operation.
16. methods according to claim 13, it is characterised in that the initialization carried according to described first visible light signal
Instruction, performs initialization operation, also includes:
After initialization success, return to described controller and initialize success message;
Receive the parameter acquiring request that described controller sends, return terminal parameter to described controller.
17. methods according to claim 13, it is characterised in that the initialization carried according to described first visible light signal
Instruction, performs initialization operation, also includes:
After initialization success, the screen color of described terminal is set to the first pre-set color;After initialization failure, by institute
The screen color stating terminal is set to the second pre-set color;
After described firmware data write memorizer, also include:
If described firmware data to be successfully written described memorizer, then the screen color of described terminal is set to the 3rd and presets face
Color;If described firmware data not being successfully written described memorizer, then the screen color of described terminal is set to the 4th and presets
Color.
18. 1 kinds of terminals, it is characterised in that including:
Second receiver module, for receiving the first visible light signal that controller sends;
Perform module, for the initialization directive carried according to described first visible light signal, perform initialization operation;
3rd receiver module, for receiving the second visible light signal that described controller sends, from described second visible light signal
Middle acquisition firmware data, writes memorizer by described firmware data.
19. terminals according to claim 18, it is characterised in that also include:
Second acquisition module, after described second receiver module receives the first visible light signal that controller sends, from
Described first visible light signal obtains the identity information of controller, described identity information is verified;
Described execution module, specifically for after described identity information is verified by described second acquisition module, according to described
The initialization directive that first visible light signal carries, performs initialization operation.
20. terminals according to claim 18, it is characterised in that also include:
Determination module, after described second receiver module receives the first visible light signal that controller sends, from described
First visible light signal obtains coordinate information, it is judged that the coordinate information got is the most consistent with the coordinate information of self;
Described execution module, specifically for when the coordinate information got is consistent with the coordinate information of self, according to described
The initialization directive that one visible light signal carries, performs initialization operation.
21. terminals according to claim 18, it is characterised in that described execution module includes:
Send submodule, after initialization success, return to described controller and initialize success message;
Receive submodule, for receiving the parameter acquiring request that described controller sends, return terminal parameter to described controller.
22. terminals according to claim 18, it is characterised in that described execution module also includes:
Submodule is set, after initialization success, the screen color of described terminal is set to the first pre-set color;Originally
After beginningization failure, the screen color of described terminal is set to the second pre-set color;
Described terminal also includes:
Second arranges module, if described firmware data being successfully written memorizer, then by described for described 3rd receiver module
The screen color of terminal is set to the 3rd pre-set color;If described firmware data not being successfully written described memorizer, then by institute
The screen color stating terminal is set to the 4th pre-set color.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610735639.3A CN106325943B (en) | 2016-08-26 | 2016-08-26 | A kind of method for down loading of firmware data, terminal and controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610735639.3A CN106325943B (en) | 2016-08-26 | 2016-08-26 | A kind of method for down loading of firmware data, terminal and controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106325943A true CN106325943A (en) | 2017-01-11 |
CN106325943B CN106325943B (en) | 2019-10-15 |
Family
ID=57791599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610735639.3A Active CN106325943B (en) | 2016-08-26 | 2016-08-26 | A kind of method for down loading of firmware data, terminal and controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106325943B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107070552A (en) * | 2017-04-07 | 2017-08-18 | 维沃移动通信有限公司 | A kind of method and device of display device state |
CN108334369A (en) * | 2017-09-05 | 2018-07-27 | 深圳天珑无线科技有限公司 | Equipment brush machine method, apparatus and nonvolatile computer storage media |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540830A (en) * | 2009-04-29 | 2009-09-23 | 康佳集团股份有限公司 | Television upgrade-realization method and television with infrared upgrade functions |
CN102065139A (en) * | 2010-11-25 | 2011-05-18 | 青岛海信信芯科技有限公司 | Software upgrading method and device and multimedia terminal |
CN103677871A (en) * | 2012-09-10 | 2014-03-26 | 上海达实联欣科技发展有限公司 | Online upgrading system and method |
CN203552708U (en) * | 2013-10-21 | 2014-04-16 | 深圳光启创新技术有限公司 | Offline burning system for visible light receiving terminal |
CN104965743A (en) * | 2015-07-10 | 2015-10-07 | 许继电气股份有限公司 | MMC submodule software program online upgrading method, system and MMC submodule |
CN105094859A (en) * | 2014-05-04 | 2015-11-25 | 生迪光电科技股份有限公司 | Firmware batch upgrading method and system based on intelligent LED illuminating devices |
CN105897968A (en) * | 2016-05-31 | 2016-08-24 | 京东方科技集团股份有限公司 | Mobile terminal |
-
2016
- 2016-08-26 CN CN201610735639.3A patent/CN106325943B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540830A (en) * | 2009-04-29 | 2009-09-23 | 康佳集团股份有限公司 | Television upgrade-realization method and television with infrared upgrade functions |
CN102065139A (en) * | 2010-11-25 | 2011-05-18 | 青岛海信信芯科技有限公司 | Software upgrading method and device and multimedia terminal |
CN103677871A (en) * | 2012-09-10 | 2014-03-26 | 上海达实联欣科技发展有限公司 | Online upgrading system and method |
CN203552708U (en) * | 2013-10-21 | 2014-04-16 | 深圳光启创新技术有限公司 | Offline burning system for visible light receiving terminal |
CN105094859A (en) * | 2014-05-04 | 2015-11-25 | 生迪光电科技股份有限公司 | Firmware batch upgrading method and system based on intelligent LED illuminating devices |
CN104965743A (en) * | 2015-07-10 | 2015-10-07 | 许继电气股份有限公司 | MMC submodule software program online upgrading method, system and MMC submodule |
CN105897968A (en) * | 2016-05-31 | 2016-08-24 | 京东方科技集团股份有限公司 | Mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107070552A (en) * | 2017-04-07 | 2017-08-18 | 维沃移动通信有限公司 | A kind of method and device of display device state |
CN107070552B (en) * | 2017-04-07 | 2019-07-26 | 维沃移动通信有限公司 | A kind of method and device showing equipment state |
CN108334369A (en) * | 2017-09-05 | 2018-07-27 | 深圳天珑无线科技有限公司 | Equipment brush machine method, apparatus and nonvolatile computer storage media |
Also Published As
Publication number | Publication date |
---|---|
CN106325943B (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200366516A1 (en) | Electronic device and method for registering smart home device in smart home system | |
CN104796385B (en) | Terminal binding method, apparatus and system | |
CN105389076A (en) | METHOD OF PROVIDING NOTIFICATION BY ELECTRONIC DEVICE and ELECTRONIC DEVICE | |
EP3013126A1 (en) | Method of manufacturing printed circuit board assembly | |
CN106231662A (en) | The method for handover control of a kind of terminal antenna and terminal | |
CN103677872B (en) | A kind of information processing method, device and electronic equipment | |
CN105978766A (en) | Device, system and method for operating electric appliance through employing mobile terminal | |
CN107943722A (en) | It is a kind of that the method and system for passing screen are realized based on USB device | |
CN106844067A (en) | The processing method and mobile terminal of a kind of content | |
CN105933327A (en) | Application unlocking method, device and facility | |
CN103491525A (en) | Method for achieving card-free mobile phone, mobile phone and server | |
CN106919458B (en) | Method and device for Hook target kernel function | |
CN106331372A (en) | Data transmission method and mobile terminal | |
CN106453925A (en) | Information transmission method and mobile terminals | |
CN106201547A (en) | Method, device and the mobile terminal that a kind of message based on mobile terminal shows | |
CN106209895A (en) | A kind of data encryption and transmission method and intelligent terminal | |
CN107836122A (en) | Select subscriber identity module profile main frame | |
CN104808521A (en) | Intelligent device control method and device | |
CN108616897A (en) | A kind of configuration method, terminal and the network equipment of discontinuous reception DRX parameters | |
CN106130735A (en) | The processing method of a kind of communication information, device and mobile terminal | |
CN104424148A (en) | Method For Transmitting Contents And Electronic Device Thereof | |
CN109448171A (en) | A kind of method and smart lock of unlocking | |
CN103312907B (en) | Voice channel allocation management method, voice server and communication system | |
CN106413032A (en) | Hotspot establishing method and terminal equipment | |
CN106325943A (en) | Method for downloading firmware data, terminal and controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |