CN102681858A - VxWorks operation system as well as method and device for configuring start waiting time thereof - Google Patents

VxWorks operation system as well as method and device for configuring start waiting time thereof Download PDF

Info

Publication number
CN102681858A
CN102681858A CN2011100558635A CN201110055863A CN102681858A CN 102681858 A CN102681858 A CN 102681858A CN 2011100558635 A CN2011100558635 A CN 2011100558635A CN 201110055863 A CN201110055863 A CN 201110055863A CN 102681858 A CN102681858 A CN 102681858A
Authority
CN
China
Prior art keywords
startup
period
configuration parameter
stand
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011100558635A
Other languages
Chinese (zh)
Other versions
CN102681858B (en
Inventor
陈志列
熊威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yanxiang Smart Technology Co ltd
Original Assignee
EVOC Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by EVOC Intelligent Technology Co Ltd filed Critical EVOC Intelligent Technology Co Ltd
Priority to CN201110055863.5A priority Critical patent/CN102681858B/en
Publication of CN102681858A publication Critical patent/CN102681858A/en
Application granted granted Critical
Publication of CN102681858B publication Critical patent/CN102681858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is applicable to the field of computers and provides a VxWorks operation system, as well as a method and device for configuring start waiting time of the VxWorks operation system. The method comprises the following steps: electrifying the system, executing a booting code of the VxWorks operation system, and reading start configuration parameters; analyzing the start configuration parameters and obtaining the start waiting time; if a key interrupt command is received before the countdown of the start waiting time is finished, updating the start waiting time in the start configuration parameters when a configuration parameter modification command input by a user is received, and uploading an image file of the VxWorks operation system after a system image uploading command is received; and if the key interrupt command is not received before the countdown of the start waiting time is finished, uploading the image file of the VxWorks operation system when the countdown of the start waiting time is finished. The method provided by the invention can be used for dynamically and flexibly configuring the start waiting time of the VxWorks operation system.

Description

Vxworks operating system and dispose the method and apparatus that it starts the stand-by period
Technical field
The invention belongs to computer realm, relate in particular to the method and apparatus of the startup stand-by period of a kind of vxworks operating system and configuration vxworks operating system.
Background technology
Vxworks operating system is a kind of embedded real-time operating system (RTOS); The technical field that it is widely used in its good reliability and remarkable real-time and communicate by letter, military affairs, Aeronautics and Astronautics etc. are high-grade, precision and advanced and the real-time requirement is high, as satellite communication, military exercises, bullet cause, field such as aircraft navigation.
Generally speaking; Vxworks operating system comprises guidance code and system image; Wherein guidance code can be the bootrom that compilation of source code generates under the vxworks operating system; Also can be u-boot, main effect be the minimum hardware cell of initialization, so that can load the system image of vxworks operating system.In the initial designs of vxworks operating system; Startup configuration parameter (bootline) is provided, behind system's electrifying startup, has promptly carried out the guidance code of vxworks operating system; After reading and resolve this startup configuration parameter; Start configuration according to starting configuration parameter, dispose the system image that loads vxworks operating system according to starting again, thereby start vxworks operating system.
In the process that starts vxworks operating system; In order to satisfy the different demands of user, generally be provided, the startup stand-by period (like 7s) of acquiescence after reading and resolve this startup configuration parameter to start-up course; Wait for always; Finish up to starting the stand-by period countdown, just load the system image of vxworks operating system, thereby start vxworks operating system according to the startup configuration.In the existing vxworks operating system; Give tacit consent to owing to start the stand-by period, have only the modification source code, could change starting the stand-by period; Owing to need compile again after revising source code; And every compiling once also can only be directed against a kind of time generation effect, thereby makes the configuration to startup stand-by period of vxworks operating system become complicated, and lacks dirigibility.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method that disposes the startup stand-by period of vxworks operating system, is intended to solve the method complicated operation that is configured of existing startup stand-by period to vxworks operating system, the problem of very flexible.
The embodiment of the invention is achieved in that a kind of method that disposes the startup stand-by period of vxworks operating system, and said method comprises the steps:
System powers on, and carries out the guidance code of vxworks operating system, and reads the startup configuration parameter of vxworks operating system, and said startup configuration parameter comprises the startup stand-by period;
Resolve the startup configuration parameter, obtain the startup stand-by period that starts in the configuration parameter;
If before starting stand-by period countdown end, receive the button interruptive command; When receiving the configuration parameter modify instruction of user's input; Be updated to the startup stand-by period of configuration parameter modify instruction appointment the startup stand-by period in the startup configuration parameter; And after receiving the system image loading command, start configuration according to starting configuration parameter, through starting the image file that configuration loads vxworks operating system;
If before starting stand-by period countdown end, do not receive the button interruptive command, when startup stand-by period countdown finishes, start configuration, and pass through the image file that the startup configuration loads vxworks operating system according to starting configuration parameter.
Another purpose of the embodiment of the invention is to provide a kind of device that disposes the startup stand-by period of vxworks operating system, and said device comprises:
The system bootstrap unit is used for after system powers on, and carries out the guidance code of vxworks operating system, and reads the startup configuration parameter of vxworks operating system, and said startup configuration parameter comprises the startup stand-by period;
Start the configuration parameter resolution unit, be used for resolving the startup configuration parameter, obtain the startup stand-by period that starts in the configuration parameter;
Button interruptive command monitoring means is used for monitoring before the startup stand-by period countdown that starts configuration parameter finishes, and whether receives the button interruptive command;
Start the stand-by period updating block; Be used for before starting stand-by period countdown end, receiving the button interruptive command; And when receiving the configuration parameter modify instruction of user's input, be updated to the startup stand-by period of configuration parameter modify instruction appointment the startup stand-by period in the startup configuration parameter;
The system image loading unit is used for disposing the image file that loads vxworks operating system receiving the system image loading command or when startup stand-by period countdown finishes, starting configuration according to starting configuration parameter through starting.
Another purpose of the embodiment of the invention is to provide a kind of vxworks operating system, and said system comprises the device of the startup stand-by period of said configuration vxworks operating system.
In embodiments of the present invention; Through starting the stand-by period as starting a kind of in the configuration parameter; In the vxworks operating system start-up course; Through monitoring button interruptive command and startup configuration parameter modify instruction; Can dispose the startup stand-by period in this startup configuration parameter dynamically, thus make the embodiment of the invention can be dynamically, the startup stand-by period to vxworks operating system is configured flexibly, satisfies the different demands of different user to the startup stand-by period of vxworks operating system.
Description of drawings
Fig. 1 is the realization flow figure of method of the startup stand-by period of the configuration vxworks operating system that provides of the embodiment of the invention;
Fig. 2 is the structured flowchart of device of the startup stand-by period of the configuration vxworks operating system that provides of the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The invention provides method, device and the vxworks operating system of the startup stand-by period of configuration vxworks operating system.
Said method comprises: system powers on, and carries out the guidance code of vxworks operating system, and reads the startup configuration parameter of vxworks operating system, and said startup configuration parameter comprises the startup stand-by period;
Resolve the startup configuration parameter, obtain the startup stand-by period that starts in the configuration parameter;
If before starting stand-by period countdown end, receive the button interruptive command; When receiving the configuration parameter modify instruction of user's input; Be updated to the startup stand-by period of configuration parameter modify instruction appointment the startup stand-by period in the startup configuration parameter; And after receiving the system image loading command, start configuration according to starting configuration parameter, through starting the image file that configuration loads vxworks operating system;
If before starting stand-by period countdown end, do not receive the button interruptive command, when startup stand-by period countdown finishes, start configuration, and pass through the image file that the startup configuration loads vxworks operating system according to starting configuration parameter.
Said device comprises: the system bootstrap unit, be used for after system powers on, and to carry out the guidance code of vxworks operating system, and read the startup configuration parameter of vxworks operating system, said startup configuration parameter comprises the startup stand-by period;
Start the configuration parameter resolution unit, be used for resolving the startup configuration parameter, obtain the startup stand-by period that starts in the configuration parameter;
Button interruptive command monitoring means is used for monitoring before the startup stand-by period countdown that starts configuration parameter finishes, and whether receives the button interruptive command;
Start the stand-by period updating block; Be used for before starting stand-by period countdown end, receiving the button interruptive command; And when receiving the configuration parameter modify instruction of user's input, be updated to the startup stand-by period of configuration parameter modify instruction appointment the startup stand-by period in the startup configuration parameter;
The system image loading unit is used for disposing the image file that loads vxworks operating system receiving the system image loading command or when startup stand-by period countdown finishes, starting configuration according to starting configuration parameter through starting.
Said vxworks operating system comprises the device of the startup stand-by period of said configuration vxworks operating system.
In embodiments of the present invention; Through starting the stand-by period as starting a kind of in the configuration parameter; When reading and resolving the startup configuration parameter; Through monitoring button interruptive command and startup configuration parameter modify instruction, can revise the startup stand-by period in this startup configuration parameter, and carry out the startup flow process of vxworks operating system according to the amended startup stand-by period; Thereby make the embodiment of the invention can be dynamically, the startup stand-by period to vxworks operating system is configured flexibly, satisfies the different demands of different user to the startup stand-by period of vxworks operating system.
For technical scheme of the present invention is described, describe through specific embodiment below.
Embodiment one:
Fig. 1 shows the realization flow of method of the startup stand-by period of the configuration vxworks operating system that the embodiment of the invention provides, and details are as follows:
In step S101, system powers on, and carries out the guidance code of vxworks operating system, and reads the startup configuration parameter of vxworks operating system.
In embodiments of the present invention, the startup configuration parameter with vxworks operating system is stored in the non-volatile RAM in advance, like NVRAM etc.Wherein start the startup configuration parameter of configuration parameter vxworks operating system in comprising prior art, also comprise starting the stand-by period.
In embodiments of the present invention, can adopt BOOT_PARAMS data structure body to store the startup configuration parameter of vxworks operating system.In the original design of existing vxworks operating system, also store the startup configuration parameter through BOOT_PARAMS data structure body, the topology example of existing BOOT_PARAMS data structure body is following, but does not exceed with this example:
typedef?struct/*BOOT_PARAMS*/
{
char?bootDev[BOOT_DEV_LEN]; /*boot?device?code*/
char?hostName[BOOT_HOST_LEN]; /*name?of?host*/
char?targetName[BOOT_HOST_LEN]; /*name?of?target*/
char?ead[BOOT_TARGET_ADDR_LEN]; /*ethernet?internet?addr*/
char?bad[BOOT_TARGET_ADDR_LEN]; /*backplane?internet?addr*/
char?had[BOOT_ADDR_LEN]; /*host?internet?addr*/
char?gad[BOOT_ADDR_LEN]; /*gateway?internet?addr*/
char?bootFile[BOOT_FILE_LEN]; /*name?ofboot?file*/
char?startup?Script[BOOT_FILE_LEN]; /*name?of?startup?script?file*/
char?usr[BOOT_USR_LEN]; /*user?name*/
char?passwd[BOOT_PASSWORD_LEN]; /*password*/
char?other[BOOT_OTHER_LEN]; /*availablefor?applications*/
int?procNum; /*processor?number*/
int?flags; /*configuration?flags*/
int?unitNum; /*network?device?unit?number*/
}BOOT_PARAMS;
In this BOOT_PARAMS data structure body; Because Partial Variable is not used; Therefore; Can directly adopt the variable that is not used in this BOOT_PARAMS data structure body to store in embodiments of the present invention and start the stand-by period, thereby can adopt BOOT_PARAMS data structure body to store the startup configuration parameter that start the stand-by period comprising of vxworks operating system.
The step that wherein reads the startup configuration parameter of vxworks operating system is specially:
From non-volatile RAM, read and start configuration parameter to Installed System Memory, if read unsuccessfully, then the startup configuration parameter of reading system acquiescence is to Installed System Memory.
In step S102, resolve the startup configuration parameter, obtain the startup stand-by period that starts in the configuration parameter.
In embodiments of the present invention, after will starting configuration parameter and reading to Installed System Memory, promptly resolve this system configuration parameter, can get access to and start the stand-by period through resolving this system configuration parameter.Certainly, for the method that the embodiment of the invention is provided can start vxworks operating system normally,, can get access to the value of other startup configuration parameters of this vxworks operating system through resolving this system configuration parameter.
Can not be negative owing to start the stand-by period, therefore, in another embodiment of the present invention, after parsing startup configuration parameter got access to the startup stand-by period, this method also comprised the steps:
Inspection starts the validity of stand-by period.Wherein whether non-the inspection validity that starts the stand-by period can comprise bear etc. of this startups stand-by period of inspection.Do not give an example one by one at this.
In step S103, before the startup stand-by period countdown of monitoring in starting configuration parameter finishes, whether receive the button interruptive command, if, execution in step S104, otherwise, execution in step S105.
In embodiments of the present invention; After parsing obtains starting the stand-by period, as long as check out that this starts the stand-by period is effectively, before just the startup stand-by period countdown of monitoring in starting configuration parameter finishes; Whether receive the button interruptive command; If, execution in step S104, otherwise execution in step S105.Wherein when the startup stand-by period that parsing obtains is 0; Whether monitoring reads the button interruptive command from the serial ports buffer zone; If the automatic startup flow process of then ending vxworks operating system makes the execution flow process of vxworks operating system rest on the bootrom order line; And execution in step S104, otherwise execution in step S105.When the startup stand-by period that parsing obtains was non-zero, whether monitoring received the button interruptive command before starting stand-by period countdown end, if, execution in step S104, otherwise execution in step S105.
Wherein the button interruptive command can be clt+w, also can have the user to be provided with arbitrarily as required.
In step S104; When receiving the configuration parameter modify instruction of user's input; Be updated to the startup stand-by period of configuration parameter modify instruction appointment the startup stand-by period in the startup configuration parameter; And after receiving the system image loading command, start configuration according to starting configuration parameter, through starting the image file that configuration loads vxworks operating system.After the image file of vxworks operating system loaded successfully, vxworks operating system started and finishes.
In embodiments of the present invention; After monitoring the button interruptive command; End the automatic startup flow process of vxworks operating system; Make the execution flow process of vxworks operating system rest on the bootrom order line, this moment, the user can use the configuration parameter modify instruction of acquiescence that various startup configuration parameters are made amendment, and also comprised the startup stand-by period that starts in the configuration parameter certainly.
When the user imports startup configuration parameter modify instruction; All can specify the startup configuration parameter and the amended value of this startup configuration parameter that need modification; As revising startup during the stand-by period; This start-up parameter is revised to specify in the order has the startup stand-by period, and the startup stand-by period that this start-up parameter is revised appointment in the order is the startup stand-by period that the user needs.Receive user input carry the configuration parameter modify instruction that starts the stand-by period time, upgrade the startup stand-by period that starts in the configuration parameter.
Startup in upgrading the startup configuration parameter is during the stand-by period; Earlier the startup stand-by period in the startup configuration parameter in the Installed System Memory is updated to the startup stand-by period that starts the appointment of configuration parameter modify instruction; So that this time the startup stand-by period of modification can come into force in the startup flow process of this time vxworks operating system; The startup stand-by period of this time revising the startup configuration parameter in the Installed System Memory is saved in the non-volatile RAM, so that can use in the startup flow process of next vxworks operating system again.
Upgrading the startup stand-by period; After perhaps other started configuration parameters, whether monitor user ' input system reflection loading command, if; Startup configuration parameter according to after upgrading starts configuration; Through starting the image file that configuration loads vxworks operating system,, then continue whether input system reflection loading command of monitor user ' if not.Wherein the system image loading command can be any character of presetting, like " " etc.
In step S105, when startup stand-by period countdown finishes, start configuration according to starting configuration parameter, and load the image file of vxworks operating system through the startup configuration.
In embodiments of the present invention; Through will starting the stand-by period as a kind of startup configuration parameter wherein, thus in the start-up course of vxworks operating system, through monitoring button interruptive command with start the configuration parameter modify instruction; Can revise arbitrarily the startup stand-by period that starts configuration parameter; Start the stand-by period and need not revise, thereby can be dynamically startup stand-by period of vxworks operating system be configured, reduced the configuration complexity of startup stand-by period through the mode of revising source code; Improve the configuration flexibility that starts the stand-by period, satisfy the different demands of different user the startup stand-by period of vxworks operating system.
Embodiment two:
Fig. 2 shows the structure of device of the startup stand-by period of the configuration vxworks operating system that the embodiment of the invention provides, only shows the part relevant with the embodiment of the invention for the ease of explanation.
This device can be used for vxworks operating system; Also can be used for the computing machine that other use vxworks operating system; Can be to run on the unit that software unit, hardware cell or software and hardware in these vxworks operating systems combine; Also can be used as independently, suspension member is integrated in the vxworks operating system or runs in the application system or equipment of vxworks operating system, wherein:
The guidance code of vxworks operating system is carried out in system bootstrap unit 1 after system powers on, and reads the startup configuration parameter of vxworks operating system.
In embodiments of the present invention, the startup configuration parameter with vxworks operating system is stored in the non-volatile RAM in advance, like NVRAM etc.Wherein start the startup configuration parameter of configuration parameter vxworks operating system in comprising prior art, also comprise starting the stand-by period.
In embodiments of the present invention, can adopt BOOT_PARAMS data structure body to store the startup configuration parameter of vxworks operating system, adopt the variable that is not used in this BOOT_PARAMS data structure body to store and start the stand-by period.
This system bootstrap unit 1 comprises storer read module 11 and default parameters read module 12.Wherein:
Storer read module 11 reads from non-volatile RAM and starts configuration parameter to Installed System Memory.
Default parameters read module 12 reads when unsuccessful at storer read module 11, and the startup configuration parameter of reading system acquiescence is to Installed System Memory.
Start configuration parameter resolution unit 2 and resolve the startup configuration parameter, obtain the startup stand-by period that starts in the configuration parameter.
In embodiments of the present invention, after will starting configuration parameter and reading to Installed System Memory, promptly resolve these system configuration parameters, can get access to and start the stand-by period through resolving this system configuration parameter through starting configuration parameter resolution unit 2.Certainly, for the method that the embodiment of the invention is provided can start vxworks operating system normally,, can get access to the value of other startup configuration parameters of this vxworks operating system through resolving this system configuration parameter.
Can not be negative owing to start the stand-by period, therefore, in another embodiment of the present invention, this device also comprises startup stand-by period inspection unit 3.This startup stand-by period inspection unit 3 is after getting access to the startup stand-by period, and inspection starts the validity of stand-by period.Wherein whether non-the inspection validity that starts the stand-by period can comprise bear etc. of this startups stand-by period of inspection.Do not give an example one by one at this.
Before the startup stand-by period countdown of button interruptive command monitoring means 4 monitorings in starting configuration parameter finishes, whether receive the button interruptive command.
In embodiments of the present invention; After parsing obtains starting the stand-by period; As long as check out that this starts the stand-by period is effectively, before just finishing, whether receive the button interruptive command through the startup stand-by period countdown of button interruptive command monitoring means 4 monitorings in starting configuration parameter.Wherein when the startup stand-by period that parsing obtains is 0; Whether 4 monitorings of button interruptive command monitoring means read the button interruptive command from the serial ports buffer zone; If; Then end the automatic startup flow process of vxworks operating system, make the execution flow process of vxworks operating system rest on the bootrom order line.When the startup stand-by period that parsing obtains was non-zero, whether 4 monitorings of button interruptive command monitoring means received the button interruptive command before starting stand-by period countdown end.
Wherein the button interruptive command can be clt+w, also can have the user to be provided with arbitrarily as required.
Start stand-by period updating block 5 and before starting stand-by period countdown end, receive the button interruptive command; And when receiving the configuration parameter modify instruction of user's input, be updated to the startup stand-by period of configuration parameter modify instruction appointment the startup stand-by period in the startup configuration parameter.
In embodiments of the present invention; After monitoring the button interruptive command; End the automatic startup flow process of vxworks operating system; Make the execution flow process of vxworks operating system rest on the bootrom order line, this moment, the user can use the configuration parameter modify instruction that various startup configuration parameters are made amendment, and also comprised the startup stand-by period that starts in the configuration parameter certainly.
Wherein start stand-by period updating block 5 and comprise memory refreshing module 51 and memory updating module 52.Wherein:
Memory refreshing module 51 is updated to the startup stand-by period that starts the appointment of configuration parameter modify instruction with the startup stand-by period in the startup configuration parameter in the Installed System Memory, so that the startup stand-by period of this time revising can come into force in the startup flow process of this time vxworks operating system;
Memory updating module 52 is saved to the startup configuration parameter after upgrading in the Installed System Memory in the non-volatile RAM, so that the startup stand-by period of this time revising can use in the startup flow process of next vxworks operating system.
System image loading unit 6 disposes the image file that loads vxworks operating system receiving the system image loading command or when startup stand-by period countdown finishes, starting configuration according to starting configuration parameter through starting.
In embodiments of the present invention; After having upgraded startup stand-by period or other and starting configuration parameters, whether system image loading unit 6 monitor user ' input system reflection loading command, if; Startup configuration parameter according to after upgrading starts configuration; Through starting the image file that configuration loads vxworks operating system,, then continue whether input system reflection loading command of monitor user ' if not.Wherein the system image loading command can be any character of presetting, like " " etc.
In embodiments of the present invention; Do not upgrading the startup stand-by period; And when not upgrading other startup configuration parameters; When system image loading unit 6 finishes in startup stand-by period countdown, start configuration, dispose the image file that loads vxworks operating system through starting according to starting configuration parameter.
It should be noted that what each included unit of said system was just divided according to function logic, but be not limited to above-mentioned division, as long as can realize function corresponding; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
One of ordinary skill in the art will appreciate that; Realize that all or part of step in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be in being stored in a computer read/write memory medium; Described storage medium, like ROM/RAM, disk, CD etc., this program is used for carrying out following steps:
In embodiments of the present invention; A kind of through starting the stand-by period as starting in the configuration parameter; Thereby in the start-up course of vxworks operating system,, can revise arbitrarily the startup stand-by period that starts configuration parameter through monitoring button interruptive command and startup configuration parameter modify instruction; Do not start the stand-by period and need not revise through the mode of revising source code; Thereby need not recompilate source code, can be configured the dynamic startup stand-by period, reduce the configuration complexity that starts the stand-by period vxworks operating system; Improve the configuration flexibility that starts the stand-by period, satisfy the different demands of different user the startup stand-by period of vxworks operating system.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method that disposes the startup stand-by period of vxworks operating system is characterized in that said method comprises the steps:
System powers on, and carries out the guidance code of vxworks operating system, and reads the startup configuration parameter of vxworks operating system, and said startup configuration parameter comprises the startup stand-by period;
Resolve the startup configuration parameter, obtain the startup stand-by period that starts in the configuration parameter;
If before starting stand-by period countdown end, receive the button interruptive command; When receiving the configuration parameter modify instruction of user's input; Be updated to the startup stand-by period of configuration parameter modify instruction appointment the startup stand-by period in the startup configuration parameter; And after receiving the system image loading command, start configuration according to starting configuration parameter, through starting the image file that configuration loads vxworks operating system;
If before starting stand-by period countdown end, do not receive the button interruptive command, when startup stand-by period countdown finishes, start configuration, and pass through the image file that the startup configuration loads vxworks operating system according to starting configuration parameter.
2. the method for claim 1 is characterized in that, the said step that reads the startup configuration parameter of vxworks operating system is specially:
From non-volatile RAM, read and start configuration parameter to Installed System Memory, if read unsuccessfully, then the startup configuration parameter of reading system acquiescence is to Installed System Memory.
3. the method for claim 1 is characterized in that, starts configuration parameter in said parsing, obtains after the step that starts the startup stand-by period in the configuration parameter, and said method also comprises the steps:
Inspection starts the validity of stand-by period.
4. the method for claim 1 is characterized in that, the step that the said startup stand-by period that will start in the configuration parameter is updated to the startup stand-by period of configuration parameter modify instruction appointment is specially:
The startup stand-by period in the startup configuration parameter in the Installed System Memory is updated to the startup stand-by period that starts the appointment of configuration parameter modify instruction;
Startup configuration parameter in the Installed System Memory is saved in the non-volatile RAM.
5. the method for claim 1 is characterized in that, adopts BOOT_PARAMS data structure body to store the startup configuration parameter, adopts the untapped parameter storage startup stand-by period in the BOOT_PARAMS data structure body.
6. device that disposes the startup stand-by period of vxworks operating system is characterized in that said device comprises:
The system bootstrap unit is used for after system powers on, and carries out the guidance code of vxworks operating system, and reads the startup configuration parameter of vxworks operating system, and said startup configuration parameter comprises the startup stand-by period;
Start the configuration parameter resolution unit, be used for resolving the startup configuration parameter, obtain the startup stand-by period that starts in the configuration parameter;
Button interruptive command monitoring means is used for monitoring before the startup stand-by period countdown that starts configuration parameter finishes, and whether receives the button interruptive command;
Start the stand-by period updating block; Be used for before starting stand-by period countdown end, receiving the button interruptive command; And when receiving the configuration parameter modify instruction of user's input, be updated to the startup stand-by period of configuration parameter modify instruction appointment the startup stand-by period in the startup configuration parameter;
The system image loading unit is used for disposing the image file that loads vxworks operating system receiving the system image loading command or when startup stand-by period countdown finishes, starting configuration according to starting configuration parameter through starting.
7. device as claimed in claim 6 is characterized in that, said system bootstrap unit comprises:
The storer read module is used for reading the startup configuration parameter to Installed System Memory from non-volatile RAM;
The default parameters read module is used for reading when unsuccessful at said storer read module, and the startup configuration parameter of reading system acquiescence is to Installed System Memory.
8. device as claimed in claim 6 is characterized in that, said device also comprises:
Start the stand-by period inspection unit, be used for after getting access to the startup stand-by period, inspection starts the validity of stand-by period.
9. device as claimed in claim 6 is characterized in that, said startup stand-by period updating block comprises:
The memory refreshing module is used for the startup stand-by period in the startup configuration parameter of Installed System Memory is updated to the startup stand-by period that starts the appointment of configuration parameter modify instruction;
The memory updating module is used for the startup configuration parameter of Installed System Memory is saved in the non-volatile RAM.
10. a vxworks operating system is characterized in that, said system comprises the device of the startup stand-by period of the described configuration vxworks operating system of the arbitrary claim of claim 6 to 9.
CN201110055863.5A 2011-03-09 2011-03-09 Vxworks operating system and the method and apparatus for configuring its startup stand-by period Active CN102681858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110055863.5A CN102681858B (en) 2011-03-09 2011-03-09 Vxworks operating system and the method and apparatus for configuring its startup stand-by period

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110055863.5A CN102681858B (en) 2011-03-09 2011-03-09 Vxworks operating system and the method and apparatus for configuring its startup stand-by period

Publications (2)

Publication Number Publication Date
CN102681858A true CN102681858A (en) 2012-09-19
CN102681858B CN102681858B (en) 2017-07-11

Family

ID=46813835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110055863.5A Active CN102681858B (en) 2011-03-09 2011-03-09 Vxworks operating system and the method and apparatus for configuring its startup stand-by period

Country Status (1)

Country Link
CN (1) CN102681858B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943528A (en) * 2016-10-13 2018-04-20 普天信息技术有限公司 The guard method of file download based on VxWorks system and device
CN110380895A (en) * 2019-07-02 2019-10-25 迈普通信技术股份有限公司 A kind of method, apparatus and system of node batch deployment
CN113434211A (en) * 2021-06-24 2021-09-24 平安国际智慧城市科技股份有限公司 Application program function dynamic configuration method, device, equipment and storage medium
CN114489834A (en) * 2022-01-06 2022-05-13 上海华信长安网络科技有限公司 Method and device for preventing general boot loader from running from being interrupted
CN116991485A (en) * 2023-07-13 2023-11-03 龙芯中科(南京)技术有限公司 Operating system starting method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959636A (en) * 2006-11-17 2007-05-09 迈普(四川)通信技术有限公司 Method for booting embedded type device
CN101267623A (en) * 2008-04-11 2008-09-17 上海闻泰电子科技有限公司 A booting construction method for a mobile phone
US20090157874A1 (en) * 2004-01-20 2009-06-18 Roemerman Steven D Monitoring and reporting system and method of operating the same
CN101566953A (en) * 2009-02-12 2009-10-28 山东超越数控电子有限公司 Method for transplanting VXWORKS operating system
CN101751273A (en) * 2008-12-15 2010-06-23 中国科学院声学研究所 Safety guide device and method for embedded system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090157874A1 (en) * 2004-01-20 2009-06-18 Roemerman Steven D Monitoring and reporting system and method of operating the same
CN1959636A (en) * 2006-11-17 2007-05-09 迈普(四川)通信技术有限公司 Method for booting embedded type device
CN101267623A (en) * 2008-04-11 2008-09-17 上海闻泰电子科技有限公司 A booting construction method for a mobile phone
CN101751273A (en) * 2008-12-15 2010-06-23 中国科学院声学研究所 Safety guide device and method for embedded system
CN101566953A (en) * 2009-02-12 2009-10-28 山东超越数控电子有限公司 Method for transplanting VXWORKS operating system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑彬: ""基于VxWorks操作系统的导航信息处理平台设计与实现"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943528A (en) * 2016-10-13 2018-04-20 普天信息技术有限公司 The guard method of file download based on VxWorks system and device
CN110380895A (en) * 2019-07-02 2019-10-25 迈普通信技术股份有限公司 A kind of method, apparatus and system of node batch deployment
CN110380895B (en) * 2019-07-02 2022-02-22 迈普通信技术股份有限公司 Method, equipment and system for node batch deployment
CN113434211A (en) * 2021-06-24 2021-09-24 平安国际智慧城市科技股份有限公司 Application program function dynamic configuration method, device, equipment and storage medium
CN114489834A (en) * 2022-01-06 2022-05-13 上海华信长安网络科技有限公司 Method and device for preventing general boot loader from running from being interrupted
CN116991485A (en) * 2023-07-13 2023-11-03 龙芯中科(南京)技术有限公司 Operating system starting method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN102681858B (en) 2017-07-11

Similar Documents

Publication Publication Date Title
US8484631B2 (en) Supporting hardware configuration changes in a UEFI firmware component
US7107441B2 (en) Pre-boot interpreted namespace parsing for flexible heterogeneous configuration and code consolidation
CN102200916B (en) Electronic equipment, configurable member and method for storing configuration information of configurable member
US8171276B2 (en) Minimal startup mode for performing multiple-reboot configuration
US20090172710A1 (en) Method and system for enabling a mini program on a computing device to access an auxiliary system
CN102681858A (en) VxWorks operation system as well as method and device for configuring start waiting time thereof
CN103473102A (en) System startup guiding method and tool of multi-operation system
US20220237144A1 (en) Baseboard management controller and construction method thereof
CN111666210A (en) Chip verification method and device
CN115291946A (en) Hongmong system transplanting method, device, electronic equipment and readable medium
CN100349121C (en) Embedded type parallel computation system and embedded type parallel computing method
CN114041121A (en) Runtime server for simultaneously executing multiple runtime systems of an automation device
US7680909B2 (en) Method for configuration of a processing unit
CN116028267A (en) Dual-system secure mobile phone resetting method and device, server and storage medium
CN116225541A (en) Method and system for communication between in-band CPU and out-of-band management BMC
CN109656720B (en) Address space allocation method and device
CN114443582B (en) File system mounting method, device, equipment and medium on operating system
CN109634685A (en) The start and stop method and relevant apparatus of the PXE function of ten thousand mbit ethernet of PCH
CN114253615B (en) Method and device for setting bootstrap program, electronic equipment and storage medium
CN111897538B (en) Container platform deployment method and system based on CPU and operating system
US7434201B2 (en) Method and apparatus providing for extendable interaction between firmware and operating systems on digital devices
CN107346162A (en) Method for managing power supply and device under UEFI
CN115827315A (en) MVPD modification method, device, equipment and storage medium
CN117348875A (en) Method, device, micro front end architecture and medium for unified scheduling of cross-frame micro components
CN117331605A (en) Medical equipment starting method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230621

Address after: 518000 1701, Yanxiang Science and Technology Building, No. 31, High-tech Middle 4th Road, Maling Community, Yuehai Street, Nanshan District, Shenzhen, Guangdong Province

Patentee after: Shenzhen Yanxiang Smart Technology Co.,Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District high in the four EVOC Technology Building No. 31

Patentee before: EVOC INTELLIGENT TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right