CN107608721A - Wear the upgrade method of virtual reality device and its bootstrap loader - Google Patents
Wear the upgrade method of virtual reality device and its bootstrap loader Download PDFInfo
- Publication number
- CN107608721A CN107608721A CN201710823580.8A CN201710823580A CN107608721A CN 107608721 A CN107608721 A CN 107608721A CN 201710823580 A CN201710823580 A CN 201710823580A CN 107608721 A CN107608721 A CN 107608721A
- Authority
- CN
- China
- Prior art keywords
- bootstrap
- master controller
- upgrade
- application software
- virtual reality
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses the upgrade method for the bootstrap loader for wearing virtual reality device, wear the upgrade-system and computer-readable storage medium of virtual reality device, virtual reality device.Methods described includes:Wear virtual reality device and receive upgrade command, the bootstrap loader upgrading of the master controller on virtual reality device is worn described in upgrade command instruction, the first bootstrap of the bootstrap loader is stored in the memory block for wearing virtual reality device;The master controller obtains the second bootstrap of the bootstrap loader from the upgrade mechanism file of the application software of master controller;Second bootstrap is stored in the memory block of first bootstrap of the bootstrap loader, replaces first bootstrap.The upgrading scheme of the bootstrap of the present invention, allows user's voluntarily updated boot programs.
Description
Technical field
The present invention relates to virtual reality technology, more particularly to a kind of liter for the bootstrap loader for wearing virtual reality device
Level method, one kind wear virtual reality device and a kind of computer-readable storage medium.
Background technology
Bootstrap loader is the program run first after virtual reality device electrifying startup, to Loading Control device application
Software.At present, bootstrap loader can be burnt in the memory block of controller before virtual reality device dispatches from the factory, in virtual reality
After equipment is dispatched from the factory, if it find that bootstrap loader is defective or leak is needed to bootstrap loader (Bootloader programs)
Upgraded, virtual reality device can only be recalled, master board is split out, then by emulator or downloader in controller
Again burning bootstrap loader in memory block.This mode is very cumbersome, is unfavorable for user and voluntarily upgrades bootstrap loader.
The content of the invention
It is an object of the invention to provide a kind of upgrading scheme for the bootstrap loader for wearing virtual reality device so that
User can voluntarily upgrade the bootstrap loader for wearing virtual reality device.
According to the first aspect of the invention, there is provided a kind of upgrading side for the bootstrap loader for wearing virtual reality device
Method, comprise the following steps:
Wear virtual reality device and receive upgrade command, wherein, wear virtual reality device described in upgrade command instruction
On master controller bootstrap loader upgrading, the first bootstrap of the bootstrap loader, which is stored in, described wears void
Intend the memory block of real world devices;
The master controller obtains the bootstrap loader from the upgrade mechanism file of the application software of master controller
The second bootstrap;
Second bootstrap is stored in the storage of first bootstrap of the bootstrap loader
Area, replace first bootstrap.
Alternatively, the guiding is obtained in upgrade mechanism file of the master controller from the application software of master controller
Before second bootstrap of loading procedure, in addition to:
Second bootstrap is stored in the upgrade mechanism file of the application software of the master controller.
Alternatively, the upgrading machine of the application software that second bootstrap is stored in the master controller
In file processed, comprise the following steps:
Compile out binary file corresponding to the bootstrap loader code;
The binary file is converted into the array of computer programming language file;
In the upgrade mechanism file that the array is copied to the application software of the master controller.
According to the second aspect of the invention, there is provided one kind wears virtual reality device, including memory and master controller,
The memory storage has computer program, and the computer program realizes following steps when being performed by master controller:
Upgrade command is received, wherein, the upgrade command indicates the bootstrap loader upgrading of the master controller, described to draw
The first bootstrap for leading loading procedure is stored in the memory block for wearing virtual reality device;
The master controller obtains the bootstrap loader from the upgrade mechanism file of the application software of master controller
The second bootstrap;
Second bootstrap is stored in the storage of first bootstrap of the bootstrap loader
Area, replace first bootstrap.
Alternatively, the step of being realized when the computer program is performed by master controller also includes:In the master controller
, will before the second bootstrap that the bootstrap loader is obtained from the upgrade mechanism file of the application software of master controller
Second bootstrap is stored in the upgrade mechanism file of the application software of the master controller.
Alternatively, the upgrading machine of the application software that second bootstrap is stored in the master controller
In file processed, including:
Compile out binary file corresponding to the bootstrap loader code;
The binary file is converted into the array of computer programming language file;
In the upgrade mechanism file that the array is copied to the application software of the master controller.
According to the third aspect of the invention we, there is provided a kind of upgrade-system of virtual reality device, including:Host computer and head
Wear virtual reality device;
The host computer is used to send bootstrap loader upgrade command to the virtual reality device of wearing;
Described to wear virtual reality device, including memory and master controller, the memory storage has computer program,
The computer program realizes following steps when being performed by master controller:
The bootstrap loader upgrade command is received, wherein, the bootstrap loader upgrade command indicates the master
The bootstrap loader upgrading of controller, the first bootstrap of the bootstrap loader, which is stored in, described wears virtual reality
The memory block of equipment;
The master controller obtains the bootstrap loader from the upgrade mechanism file of the application software of master controller
The second bootstrap;
Second bootstrap is stored in the storage of first bootstrap of the bootstrap loader
Area, replace first bootstrap.
Alternatively, the step of being realized when the computer program is performed by master controller also includes:
The guiding loading journey is obtained in upgrade mechanism file of the master controller from the application software of master controller
Before second bootstrap of sequence, second bootstrap is stored in the upgrading of the application software of the master controller
In mechanism file.
Alternatively, the host computer is additionally operable to send master controller application software upgrade to the virtual reality device of wearing
Order;
The computer program realizes following steps when being performed by master controller:
The master controller application software upgrade order is received, obtains the upgrade mechanism text of the application software of master controller
Part;
Restart master controller, complete the upgrade job of the application software of master controller.
According to the fourth aspect of the invention, there is provided a kind of computer-readable storage medium, be stored thereon with computer program, institute
State the step of any one of foregoing methods described is realized when computer program is executed by a controller.
The upgrading scheme of the bootstrap loader provided by the invention for wearing virtual reality device so that user can be voluntarily
The bootstrap loader of virtual reality device is worn in upgrading.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached
Figure is briefly described.It should be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore it is not construed as pair
The restriction of scope.For those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows the schematic flow sheet of the upgrade method of bootstrap provided in an embodiment of the present invention.
Fig. 2 shows the block diagram of the hardware configuration provided in an embodiment of the present invention for wearing virtual reality device.
Embodiment
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should be noted that:Unless have in addition
Body illustrates that the unlimited system of part and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The scope of invention.
The description only actually at least one exemplary embodiment is illustrative to be never used as to the present invention below
And its application or any restrictions that use.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable
In the case of, the technology, method and apparatus should be considered as part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent accompanying drawing in individual accompanying drawing.
With reference to shown in figure 1, illustrate the liter of the bootstrap loader provided in an embodiment of the present invention for wearing virtual reality device
Level method, comprises the following steps:
S1, virtual reality device reception upgrade command is worn, wherein, wear virtual reality described in upgrade command instruction and set
The bootstrap loader of standby upper master controller upgrades, and the first bootstrap of the bootstrap loader is stored in described wear
The memory block of virtual reality device.
In one example, the upgrade command can be that host computer is sent to and wears virtual reality device, or, institute
It can wear caused by the regular automatic upgrade mechanism built in virtual reality device to state upgrade command.
In one example, the upgrade mechanism file of the application software of master controller has the machine for triggering the upgrade command
System, master controller can automatically generate instruction institute after using the upgrade mechanism file to the application software upgrade of master controller
State the upgrade command of the bootstrap loader upgrading of master controller.
In one example, the bootstrap loader is stored in the memory block of the fixation for wearing virtual reality device
In.
S2, the master controller obtain the guiding loading journey from the upgrade mechanism file of the application software of master controller
Second bootstrap of sequence.
In one example, before step S2, the application software of master controller is obtained beforehand through modes such as downloads
Upgrade mechanism file.
In one example, before step S2, in advance by the guiding loading journey after the second bootstrap, that is, renewal
Sequence, in the upgrade mechanism file for the application software for being stored in the master controller for wearing virtual reality device.
In one example, before step S2, the second bootstrap is previously generated.The syntax format of second bootstrap
It is consistent with the syntax format of the application software file of master controller, for example, the application software file of master controller is C language text
Part, then the second bootstrap also will be C language file.If the application of the syntax format and master controller of the second bootstrap is soft
The syntax format of part file is inconsistent, can be converted into the second bootstrap and master control by means such as file crossover tools
The consistent syntax format of the application software file of device processed.By the second guiding journey consistent with the application software file syntax form
Sequence is added in application software file, then to being recompilated using software document.
In one example, the application software that second bootstrap is stored in the master controller
In upgrade mechanism file, comprise the following steps:Compile out binary file corresponding to the bootstrap loader code;By described in
Binary file is converted into the array of computer programming language file;The array is copied to should described in the master controller
With in the upgrade mechanism file of software.
S3, second bootstrap is stored in described in first bootstrap of the bootstrap loader and deposited
Storage area, replace first bootstrap.
In the embodiment of the present invention, the first bootstrap of bootstrap loader refers to wear that virtual reality device is original to be drawn
Loading procedure is led, the second bootstrap of bootstrap loader refers to the bootstrap loader after renewal.
In this step, first bootstrap is replaced with the second bootstrap, i.e., is loaded with the guiding after renewal
Program replaces original bootload program, so as to realize the upgrading of the bootstrap loader to wearing virtual reality device.
The present invention implements the upgrading scheme of the bootstrap loader for wearing virtual reality device provided so that user can be with
Voluntarily the bootstrap loader of virtual reality device is worn in upgrading.The present invention implements the guiding for wearing virtual reality device provided
The upgrading scheme of loading procedure, virtual reality device is worn without recalling, improve the upgrading efficiency of bootstrap loader, reduced
Upgrade cost.
Below with a specific example, illustrate the master controller provided in an embodiment of the present invention for wearing virtual reality device
Application software upgrade mechanism file forming method.The application software for wearing the master controller of virtual reality device is C languages
Form is sayed, bootstrap loader Bootloader is stored in the ROM of main control FX, and master is formed by following steps
The upgrade mechanism file of the application software of controller:
101st, Bootloader program codes are updated, to form the second bootstrap.
102nd, Bootloader program codes are compiled, obtain binary system " .bin " file.
The 103rd, " .bin " file is converted into the array form of C language using file crossover tool.
In the 104th, upgrade mechanism file that array after conversion is copied to the application software of master controller.
105th, the upgrade mechanism file containing the application software of the master controller of array after conversion is recompilated.
By above step 101-105, the upgrade mechanism file of the application software of master controller, and the upgrading are generated
Contain second bootstrap in mechanism file.
Below with a specific example come the upgrade method of bootstrap loader that illustrates to wear virtual reality device:
201st, master controller application software upgrade order is sent to master controller by host computer;Master controller receives master
After controller application software upgrade order, the upgrade mechanism file of the application software of master controller is obtained, restarts master controller, it is complete
Worked into application software upgrade.
202nd, bootloader program upgrade commands are sent to master controller by host computer, master controller receives
After bootloader program upgrade commands, the bootloader programs (second after renewal are obtained from the upgrade mechanism file
Bootstrap).
203rd, the bootloader programs (the second bootstrap) after renewal are stored in the original bootloader journeys of storage
In the memory block of sequence (the first bootstrap), to replace original bootloader programs (the first bootstrap), master control is restarted
Device processed, complete bootstrap loader upgrade job.
The present invention implements the upgrading scheme of the bootstrap loader for wearing virtual reality device provided so that user can be with
Voluntarily the bootstrap loader of virtual reality device is worn in upgrading.The present invention implements the guiding for wearing virtual reality device provided
The upgrading scheme of loading procedure, virtual reality device is worn without recalling, improve the upgrading efficiency of bootstrap loader, reduced
Upgrade cost.
Based on same inventive concept, introduced with reference to figure 2 and provided in an embodiment of the present invention wear virtual reality device.Fig. 2 is
Display can be used for the block diagram for realizing the example of the hardware configuration for wearing virtual reality device of embodiments of the invention.Wear virtual
Real world devices 300 include master controller 3010, memory 3020, interface arrangement 3030, communicator 3040, display device
3050th, input unit 3060, loudspeaker 3070, microphone 3080, etc..
Master controller 3010 is such as can be central controller CPU, microcontroller.Memory 3020 for example including
ROM (read-only storage), RAM (random access memory), the nonvolatile memory etc. of hard disk.Interface arrangement 3030
Such as include USB interface, earphone interface.Communicator 3040 can for example carry out wired or wireless communication.Display device 3050
E.g. LCDs, touch display screen etc..Input unit 3060 is such as can include touch-screen, keyboard.User can be with
Pass through loudspeaker 3070 and the inputting/outputting voice information of microphone 3080.
Memory 3020 is ordered for storing, and described order is used to control master controller 3010 to be operated below to perform
Step:
Upgrade command is received, wherein, the upgrade command indicates the bootstrap loader upgrading of the master controller, described to draw
The first bootstrap for leading loading procedure is stored in the memory block for wearing virtual reality device;
The master controller obtains the bootstrap loader from the upgrade mechanism file of the application software of master controller
The second bootstrap;
Second bootstrap is stored in the storage of first bootstrap of the bootstrap loader
Area, replace first bootstrap.
Wherein, the step of being realized when the computer program is performed by master controller also includes:The master controller from
Before the second bootstrap that the bootstrap loader is obtained in the upgrade mechanism file of the application software of master controller, by institute
In the upgrade mechanism file for stating the application software that the second bootstrap is stored in the master controller.
Wherein, the upgrade mechanism of the application software that second bootstrap is stored in the master controller
In file, including:Compile out binary file corresponding to the bootstrap loader code;The binary file is converted into
The array of computer programming language file;The array is copied to the upgrade mechanism of the application software of the master controller
In file.
Alternatively, the controller is MCU.
It is provided in an embodiment of the present invention to wear virtual reality device so that user, which can voluntarily upgrade, to wear virtual reality and set
Standby bootstrap loader.
Virtual reality device of wearing shown in Fig. 2 is only explanatory, and never be intended to limitation the present invention, its should
With or purposes.It will be appreciated by those skilled in the art that although figure 2 illustrates multiple devices, still, the present invention can be related to only
And partial devices therein.Those skilled in the art can order and how to control according to presently disclosed conceptual design order
It is techniques well known that controller, which carries out operation, therefore is not described in detail herein.
The embodiment of the present invention has been also provided to a kind of upgrade-system of virtual reality device, it is characterised in that including:It is upper
Machine and wear virtual reality device;
The host computer is used to send bootstrap loader upgrade command to the virtual reality device of wearing;
Described to wear virtual reality device, including memory and master controller, the memory storage has computer program,
The computer program realizes following steps when being performed by master controller:
The bootstrap loader upgrade command is received, wherein, the bootstrap loader upgrade command indicates the master
The bootstrap loader upgrading of controller, the first bootstrap of the bootstrap loader, which is stored in, described wears virtual reality
The memory block of equipment;
The master controller obtains the bootstrap loader from the upgrade mechanism file of the application software of master controller
The second bootstrap;
Second bootstrap is stored in the storage of first bootstrap of the bootstrap loader
Area, replace first bootstrap.
Alternatively, the step of being realized when the computer program is performed by master controller also includes:In the master controller
, will before the second bootstrap that the bootstrap loader is obtained from the upgrade mechanism file of the application software of master controller
Second bootstrap is stored in the upgrade mechanism file of the application software of the master controller.
Alternatively, the upgrading machine of the application software that second bootstrap is stored in the master controller
In file processed, including:Compile out binary file corresponding to the bootstrap loader code;The binary file is changed
Into the array of computer programming language file;The array is copied to the upgrading machine of the application software of the master controller
In file processed.
Alternatively, the host computer is additionally operable to send master controller application software upgrade to the virtual reality device of wearing
Order;The computer program realizes following steps when being performed by master controller:Receive the master controller application software upgrade
Order, obtain the upgrade mechanism file of the application software of master controller;Restart master controller, complete the application software of master controller
Upgrade job.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, is stored thereon with computer program, the calculating
Machine program realizes the step of upgrade method of the above-mentioned bootstrap loader for wearing virtual reality device when being executed by a controller, bag
Include:
Wear virtual reality device and receive upgrade command, wherein, wear virtual reality device described in upgrade command instruction
On master controller bootstrap loader upgrading, the first bootstrap of the bootstrap loader, which is stored in, described wears void
Intend the memory block of real world devices;
The master controller obtains the bootstrap loader from the upgrade mechanism file of the application software of master controller
The second bootstrap;
Second bootstrap is stored in the storage of first bootstrap of the bootstrap loader
Area, replace first bootstrap.
Wherein, the guiding is obtained in upgrade mechanism file of the master controller from the application software of master controller to add
Before the second bootstrap for carrying program, in addition to:Second bootstrap is stored in described in the master controller should
With in the upgrade mechanism file of software.
Wherein, the bootstrap loader is bootloader programs.
The present invention implements the upgrading scheme of the bootstrap loader for wearing virtual reality device provided so that user can be with
Voluntarily the bootstrap loader of virtual reality device is worn in upgrading.The present invention implements the guiding for wearing virtual reality device provided
The upgrading scheme of loading procedure, virtual reality device is worn without recalling, improve the upgrading efficiency of bootstrap loader, reduced
Upgrade cost.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
But make it will be clear for those skilled in the art that the various embodiments described above can be used alone or be combined with each other as needed
With.In addition, for device embodiment, because it is corresponding with embodiment of the method, so describe fairly simple, it is related
Part referring to the corresponding part of embodiment of the method explanation.System embodiment described above is only schematical,
It is not physically separate that the module wherein illustrated as separating component, which can be or may also be,.
In addition, the flow chart and block diagram in accompanying drawing show system, method and the meter of multiple embodiments according to the present invention
Architectural framework in the cards, function and the operation of calculation machine program product.At this point, each square frame in flow chart or block diagram
Can represent a part for a module, program segment or code, the part of the module, program segment or code include one or
Multiple executable commands for being used to realize defined logic function.It should also be noted that some as replace realization in, square frame
Middle marked function can also be with different from the order marked in accompanying drawing generation.For example, two continuous square frames are actually
It can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also to note
Meaning, the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart can be with holding
Function as defined in row or the special hardware based system of action are realized, or can use specialized hardware and computer command
Combination realize.
The computer program product that the embodiment of the present invention is provided, including store the computer-readable storage of program code
Medium, the order that described program code includes can be used for performing the method described in previous methods embodiment, and specific implementation can be joined
See embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with
Realize by another way.Device embodiment described above is only schematical, for example, the division of the unit,
Only a kind of division of logic function, can there is other dividing mode when actually realizing, in another example, multiple units or component can
To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg for
The mutual coupling of opinion or direct-coupling or communication connection can be by some communication interfaces, device or unit it is indirect
Coupling or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some orders are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those
Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Other identical element also be present in process, method, article or equipment including the key element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
Although some specific embodiments of the present invention are described in detail by example, the skill of this area
Art personnel it should be understood that example above merely to illustrating, the scope being not intended to be limiting of the invention.The skill of this area
Art personnel to above example it should be understood that can modify without departing from the scope of the invention.The model of the present invention
Enclose and be defined by the following claims.
Claims (10)
1. a kind of upgrade method for the bootstrap loader for wearing virtual reality device, it is characterised in that comprise the following steps:
Wear virtual reality device and receive upgrade command, wherein, worn described in upgrade command instruction on virtual reality device
The bootstrap loader upgrading of master controller, the first bootstrap of the bootstrap loader are stored in described wear virtually now
The memory block of real equipment;
The master controller obtains the of the bootstrap loader from the upgrade mechanism file of the application software of master controller
Two bootstrap;
Second bootstrap is stored in the memory block of first bootstrap of the bootstrap loader, replaced
Change first bootstrap.
2. according to the method for claim 1, it is characterised in that in the master controller from the application software of master controller
Before the second bootstrap that the bootstrap loader is obtained in upgrade mechanism file, in addition to:
Second bootstrap is stored in the upgrade mechanism file of the application software of the master controller.
3. according to the method for claim 2, it is characterised in that:It is described that second bootstrap is stored in the master control
In the upgrade mechanism file of the application software of device processed, comprise the following steps:
Compile out binary file corresponding to the bootstrap loader code;
The binary file is converted into the array of computer programming language file;
In the upgrade mechanism file that the array is copied to the application software of the master controller.
4. one kind wears virtual reality device, it is characterised in that including memory and master controller, the memory storage has meter
Calculation machine program, the computer program realize following steps when being performed by master controller:
Upgrade command is received, wherein, the upgrade command indicates the bootstrap loader upgrading of the master controller, and the guiding adds
The first bootstrap for carrying program is stored in the memory block for wearing virtual reality device;
The master controller obtains the of the bootstrap loader from the upgrade mechanism file of the application software of master controller
Two bootstrap;
Second bootstrap is stored in the memory block of first bootstrap of the bootstrap loader, replaced
Change first bootstrap.
5. equipment according to claim 4, it is characterised in that what the computer program was realized when being performed by master controller
Step also includes:
The bootstrap loader is obtained in upgrade mechanism file of the master controller from the application software of master controller
Before second bootstrap, second bootstrap is stored in the upgrade mechanism of the application software of the master controller
In file.
6. equipment according to claim 5, it is characterised in that described that second bootstrap is stored in the master control
In the upgrade mechanism file of the application software of device processed, including:
Compile out binary file corresponding to the bootstrap loader code;
The binary file is converted into the array of computer programming language file;
In the upgrade mechanism file that the array is copied to the application software of the master controller.
A kind of 7. upgrade-system of virtual reality device, it is characterised in that including:Host computer and wear virtual reality device;
The host computer is used to send bootstrap loader upgrade command to the virtual reality device of wearing;
Described to wear virtual reality device, including memory and master controller, the memory storage has computer program, described
Following steps are realized when computer program is performed by master controller:
The bootstrap loader upgrade command is received, wherein, the bootstrap loader upgrade command indicates the main control
The bootstrap loader upgrading of device, the first bootstrap of the bootstrap loader, which is stored in, described wears virtual reality device
Memory block;
The master controller obtains the of the bootstrap loader from the upgrade mechanism file of the application software of master controller
Two bootstrap;
Second bootstrap is stored in the memory block of first bootstrap of the bootstrap loader, replaced
Change first bootstrap.
8. upgrade-system according to claim 7, it is characterised in that real when the computer program is performed by master controller
Existing step also includes:
The bootstrap loader is obtained in upgrade mechanism file of the master controller from the application software of master controller
Before second bootstrap, second bootstrap is stored in the upgrade mechanism of the application software of the master controller
In file.
9. upgrade-system according to claim 7, it is characterised in that the host computer is additionally operable to wear virtually now to described
Real equipment sends master controller application software upgrade order;
The computer program realizes following steps when being performed by master controller:
The master controller application software upgrade order is received, obtains the upgrade mechanism file of the application software of master controller;
Restart master controller, complete the upgrade job of the application software of master controller.
10. a kind of computer-readable storage medium, is stored thereon with computer program, it is characterised in that the computer program is controlled
The step of device processed realizes any one of claim 1-3 methods described when performing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710823580.8A CN107608721A (en) | 2017-09-13 | 2017-09-13 | Wear the upgrade method of virtual reality device and its bootstrap loader |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710823580.8A CN107608721A (en) | 2017-09-13 | 2017-09-13 | Wear the upgrade method of virtual reality device and its bootstrap loader |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107608721A true CN107608721A (en) | 2018-01-19 |
Family
ID=61063963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710823580.8A Pending CN107608721A (en) | 2017-09-13 | 2017-09-13 | Wear the upgrade method of virtual reality device and its bootstrap loader |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107608721A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110333873A (en) * | 2018-03-30 | 2019-10-15 | 深圳市掌网科技股份有限公司 | High concurrent VR system and implementation method |
CN110764806A (en) * | 2019-10-29 | 2020-02-07 | 歌尔科技有限公司 | TWS earphone and upgrading method and device thereof |
WO2020107436A1 (en) * | 2018-11-30 | 2020-06-04 | 深圳市大疆创新科技有限公司 | Program upgrade method and embedded device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346187A (en) * | 2013-08-07 | 2015-02-11 | 西安诺瓦电子科技有限公司 | Software upgrading method for video control card for display screen |
CN104699500A (en) * | 2015-01-06 | 2015-06-10 | 上海华测导航技术股份有限公司 | Method for realizing automatic upgrading of bootstrap program in intelligent equipment |
CN105630548A (en) * | 2015-12-22 | 2016-06-01 | 小米科技有限责任公司 | System updating method and system updating device |
CN106257417A (en) * | 2015-06-17 | 2016-12-28 | 中兴通讯股份有限公司 | Bootstrap upgrade method, embedded device, control equipment and embedded system |
-
2017
- 2017-09-13 CN CN201710823580.8A patent/CN107608721A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346187A (en) * | 2013-08-07 | 2015-02-11 | 西安诺瓦电子科技有限公司 | Software upgrading method for video control card for display screen |
CN104699500A (en) * | 2015-01-06 | 2015-06-10 | 上海华测导航技术股份有限公司 | Method for realizing automatic upgrading of bootstrap program in intelligent equipment |
CN106257417A (en) * | 2015-06-17 | 2016-12-28 | 中兴通讯股份有限公司 | Bootstrap upgrade method, embedded device, control equipment and embedded system |
CN105630548A (en) * | 2015-12-22 | 2016-06-01 | 小米科技有限责任公司 | System updating method and system updating device |
Non-Patent Citations (1)
Title |
---|
ENGINEER-BRUCE_YANG: "https://blog.csdn.net/morixinguan/article/details/53700698", 《如何将一个二进制的XXX.BIN文件轻松转为C语言数组》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110333873A (en) * | 2018-03-30 | 2019-10-15 | 深圳市掌网科技股份有限公司 | High concurrent VR system and implementation method |
CN110333873B (en) * | 2018-03-30 | 2022-12-23 | 深圳市掌网科技股份有限公司 | High-concurrency VR system and implementation method |
WO2020107436A1 (en) * | 2018-11-30 | 2020-06-04 | 深圳市大疆创新科技有限公司 | Program upgrade method and embedded device |
CN110764806A (en) * | 2019-10-29 | 2020-02-07 | 歌尔科技有限公司 | TWS earphone and upgrading method and device thereof |
CN110764806B (en) * | 2019-10-29 | 2023-12-26 | 歌尔科技有限公司 | TWS earphone and upgrading method and device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102207872B (en) | Method and system for customizing Web UI (User Interface) control according to user requirements | |
CN103229144B (en) | Preheating software is installed | |
WO2021057252A1 (en) | Service processing flow configuration method and apparatus, and service request processing method and apparatus | |
CN107608747B (en) | Form system construction method and device, electronic equipment and storage medium | |
CN109446570B (en) | Business process display method, device, computer equipment and storage medium | |
US11175895B2 (en) | Code generation and simulation for graphical programming | |
CN107608721A (en) | Wear the upgrade method of virtual reality device and its bootstrap loader | |
CN107679832A (en) | Task management method, device and server | |
CN104699515B (en) | A kind of upgrade method and intelligent terminal based on Android operation system | |
CN107608693A (en) | version upgrading method and terminal device | |
US9977655B2 (en) | System and method for automatic extraction of software design from requirements | |
CN110096271A (en) | Component visual method, page processing method and device based on component visual | |
CN102467414A (en) | State machine control method, device and state machine system | |
CN105354065B (en) | A kind of multi-product method for upgrading software and terminal | |
CN104317573B (en) | Android installation kit conversion method and device and the method and apparatus of operation application | |
CN101582079A (en) | Object query method and device | |
CN103488738A (en) | Method and system for automatically realizing JAVA object and data table SQL (structured query language) file | |
CN103136030A (en) | Virtual machine management system and method | |
CN103747064B (en) | Hanging method, client and system based on MooseFS Distribute file systems | |
CN104166570B (en) | A kind of method, equipment and the system of online updating file | |
CN102289428A (en) | Method and device for generating forms in bulk | |
CN106990987A (en) | Plug-in unit based on karaf_agent ends/Service Component automatic managing device and method | |
US8732655B2 (en) | Systems and methods for metamodel transformation | |
CN103164232A (en) | Method and system of updating intelligent terminal operating system and computer | |
CN108073698A (en) | Real-time animation display methods, device, electric terminal and readable storage medium storing program for executing |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180119 |
|
RJ01 | Rejection of invention patent application after publication |