Application call implementation method, device and electronic device
By automatically initializing the BIOS application during the startup process of the electronic device and generating a call entry identifier, which is displayed on the screen, it solves the cumbersome and limited problems of calling the BIOS application in the existing technology, and realizes efficient configuration of running the BIOS application without restarting the device. and user experience improvement.
Patent Information
- Application Number
- CN202111404032.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-24
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-11-24
AI Technical Summary
In the existing technology, the process of calling related applications in the computer BIOS chip is cumbersome and limited, which affects the user experience. Especially when the user misses inputting a function hot key, the computer needs to be restarted to re-enter the BIOS mode for operation.
By automatically initializing the application in the BIOS during the startup process of the electronic device, and generating the corresponding call entry identification, which is displayed on the first screen, the user can directly select and trigger the application that needs to be run from the screen without restarting the device. The BIOS can Directly access the memory address of the selected application to run the application.
It greatly reduces user waiting time, improves electronic device application configuration efficiency and user experience, simplifies the operation process, and enables users to call BIOS applications at any time without restarting the device.
Smart Images

Figure CN113986366B
Abstract
Description
Technical Field
[0001] The present application mainly relates to the field of computer applications, and more specifically to an application call implementation method, device and electronic device. Background Art
[0002] The BIOS (Basic Input and Output System) setup program is a set of programs (i.e. applications) that are embedded in the BIOS chip on the computer motherboard. It provides the lowest-level and most direct hardware settings and controls for the computer to meet the computer's working needs.
[0003] When you need to set up the relevant applications in the BIOS chip, refer to Figure 1 The flowchart of the electronic device startup process shown in the figure usually requires the user to trigger a designated hotkey to enter the BIOS mode during the computer startup process to initialize the application, and to promptly enter a preset function hotkey for an initialization application to call the application to run. Once the user misses the opportunity to enter the function hotkey for the application, it is necessary to restart the computer to enter the BIOS mode and perform the operation again.
[0004] It can be seen that the current process of calling the relevant application in the computer BIOS chip to run and complete the corresponding configuration operation is very cumbersome and has great limitations, which affects the user experience. Summary of the invention
[0005] In view of this, the present application provides an application call implementation method, the method comprising:
[0006] In response to an electronic device startup instruction, at least one configured first application is initialized and a call entry identifier of the corresponding first application is generated; the first application refers to a second application running separately from the operating system of the electronic device;
[0007] Mapping the calling entry identifier to a first screen of the electronic device so that the first screen presents the calling entry identifier corresponding to the first application;
[0008] In response to a selection call request for any of the call entry identifiers, a memory address of a first application corresponding to the selected call entry identifier is accessed, and the called first application is run.
[0009] Optionally, the method further includes:
[0010] Partitioning the memory space to obtain a custom memory space for storing the first application, wherein a memory address of the custom memory space is marked as unavailable to the operating system;
[0011] The accessing the memory address of the first application corresponding to the selected call entry identifier includes:
[0012] The memory address of the called first application stored in the custom memory space is accessed.
[0013] Optionally, during the operation of the operating system of the electronic device, the method further includes:
[0014] receiving a memory address query request for a first target application sent by a specific application; wherein the specific application belongs to the second application; and the first target application refers to any of the first applications presented on the first screen;
[0015] In response to the memory address query request, obtaining a target memory address of the first target application;
[0016] Based on a sharing mechanism between the basic input and output system BIOS of the electronic device and the operating system, the target memory address is fed back to the specific application run by the operating system, so that the specific application uses the target memory address to load the first target application and run the first target application.
[0017] Optional:
[0018] In the process of responding to the electronic device startup instruction, starting the second screen of the electronic device;
[0019] The startup interface of the electronic device is output on the second screen.
[0020] On the other hand, the present application also proposes an application call implementation method, the method comprising:
[0021] In response to a trigger operation on a specific application, a call entry identifier corresponding to at least one first application of a basic input and output system BIOS is presented on a first screen of the electronic device; wherein the call entry identifier is generated after the corresponding first application is initialized during the startup process of the electronic device;
[0022] In response to the selection and calling operation of the first application, generating a memory address query request for the selected first target application;
[0023] Sending the memory address query request to the BIOS, and having the BIOS respond to the memory address query request to obtain a target memory address of the first target application;
[0024] According to the target memory address of the first target application fed back by the BIOS, the specific application is controlled to load the first target application and run the first target application.
[0025] Optionally, the response to the triggering operation of the specific application includes:
[0026] Detecting a trigger operation corresponding to any preset startup mode configured for a specific application, starting the specific application, and performing the step of presenting a call entry identifier corresponding to at least one first application of a basic input and output system BIOS on a first screen of the electronic device;
[0027] The preset activation mode includes a hot key activation mode, a voice activation mode or a preset gesture activation mode.
[0028] Optionally, the detecting of a trigger operation corresponding to any preset startup mode configured for a specific application includes:
[0029] After the operating system of the electronic device is started, presenting an entry mark of the specific application on the second screen of the electronic device;
[0030] A triggering operation on the entry identification of the specific application is detected.
[0031] On the other hand, the present application also proposes an application call implementation device, the device comprising:
[0032] A calling entry identifier generating module, used to respond to an electronic device startup instruction, initialize at least one configured first application, and generate a calling entry identifier of the corresponding first application; the first application refers to a second application running separately from the operating system of the electronic device;
[0033] A calling entry identifier output module, used to map the calling entry identifier to a first screen of the electronic device, and present the calling entry identifier corresponding to the first application on the first screen;
[0034] The application calling module is used to respond to a selection calling request for any of the calling entry identifiers, access the memory address of the first application corresponding to the selected calling entry identifier, and run the called first application.
[0035] On the other hand, the present application also proposes an application call implementation device, the device comprising:
[0036] A specific application triggering module, configured to respond to a triggering operation on a specific application and present a call entry identifier corresponding to at least one first application of a basic input / output system BIOS on a first screen of the electronic device; wherein the call entry identifier is generated after the corresponding first application is initialized during the startup of the electronic device;
[0037] A memory address query request generation module, configured to generate a memory address query request for a selected first target application in response to a selection and call operation on the first application;
[0038] a memory address query request sending module, used for sending the memory address query request to the BIOS, and the BIOS responds to the memory address query request to obtain a target memory address of the first target application;
[0039] The application calling module is used to control the specific application to load the first target application and run the first target application according to the target memory address of the first target application fed back by the BIOS.
[0040] On the other hand, the present application also proposes an electronic device, the electronic device comprising:
[0041] Motherboard;
[0042] A basic input / output system BIOS and a system processor are provided in the motherboard, wherein:
[0043] The BIOS is used to load and execute a pre-stored first program to implement the application call implementation method executed by the BIOS as described above;
[0044] The system processor is used to load and execute a pre-stored second program to implement the application call implementation method executed by the system processor as described above.
[0045] On the other hand, the present application also provides a computer-readable storage medium, on which a computer program can be stored. The computer program can be called and loaded by a processor to implement the various steps of the above-mentioned application call implementation method.
[0046] It can be seen that the present application provides an application call implementation method, device and electronic device. After the electronic device responds to the startup instruction, it will automatically initialize at least one related first application in the BIOS without the need for the user to trigger the startup. For the initialized first application, a corresponding call entry identifier will be automatically generated and presented on the first screen entering the display state, that is, the relevant application entry in the BIOS is displayed on the first screen, which is easy for the user to understand and operate. Afterwards, the user can directly trigger the call identification entry of the first application to be run from the displayed call identification entry without restarting the electronic device. The BIOS can directly access the memory address of the selected triggered first application and run the first application, which greatly reduces the user's waiting time and improves the application configuration efficiency and user experience of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0048] Figure 1 This is a schematic diagram of the startup process of a traditional electronic device;
[0049] Figure 2 A flowchart of an optional example of the application call implementation method proposed in this application;
[0050] Figure 3 A schematic diagram of a process for generating a call entry identifier of a first application after BIOS initialization during the startup process of an electronic device in the application call implementation method proposed in the present application;
[0051] Figure 4 A schematic diagram of a first screen presenting a calling entry mark of a first application in the application calling implementation method proposed in the present application;
[0052] Figure 5a A schematic diagram of an optional scenario in which the first screen presents a call entry mark of the first application in the application call implementation method proposed in the present application;
[0053] Figure 5b A schematic diagram of another optional scenario in which the first screen presents a calling entry mark of the first application in the application calling implementation method proposed in the present application;
[0054] Figure 6 A schematic diagram of the memory structure of the electronic device system in the application call implementation method proposed in this application;
[0055] Figure 7 A flowchart of another optional example of the application call implementation method proposed in this application;
[0056] Figure 8 A schematic diagram of an optional application scenario of the application call implementation method proposed in this application;
[0057] Fig. 9 A flowchart of another optional example of the application call implementation method proposed in this application;
[0058] Fig.10 A structural diagram of an optional example of the application call implementation device proposed in this application
[0059] Fig.11 A structural diagram of another optional example of the application call implementation device proposed in this application
[0060] Fig.12 The present invention is a schematic diagram of the hardware structure of an optional example of an electronic device suitable for the application calling implementation method proposed in the present application. DETAILED DESCRIPTION
[0061] In response to the technical problems described in the background technology, the present application hopes that during the startup process of the electronic device, it is not necessary to be constrained by the initialization order and time of each application of the BIOS (Basic Input and Output System) (for the convenience of description, this application will be recorded as the first application. It can be understood that the first application refers to the BIOS application, which is different from the second application running under the operating system of the electronic device). The application proposes that during the startup process of the electronic device, after the first application is initialized, a corresponding calling input identifier is generated and displayed on the first screen of the electronic device. In this way, even after the BIOS application is initialized, the user can select the calling entry identifier of the first target application that needs to be set to trigger from the calling entry identifier of at least one first application presented on the first screen, and call the first target application to run. There is no need to restart the electronic device, and the configuration requirements for any first application can be met.
[0062] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0063] Reference Figure 2 , is a flowchart of an optional example of the application call implementation method proposed in this application. The method can be executed by an electronic device, and the electronic device may include but is not limited to: a laptop computer, a tablet computer, a netbook, a smart phone, etc. The type of electronic device that executes the application call implementation method can be determined based on the scenario requirements. This application uses a laptop computer to execute the application call implementation method as an example. This embodiment can describe the method from the BIOS chip side of the electronic device, but is not limited to the following implementation steps. Figure 2 As shown, the method may include:
[0064] Step S21, responding to the electronic device startup instruction, initializing at least one configured first application, and generating a call entry identifier of the corresponding first application;
[0065] As described above, the first application in the embodiment of the present application may be a related application in the BIOS, which refers to a type of program that is different from the second application run by the operating system of the electronic device. The first application may include but is not limited to BIOS Setup, Diagnostic, Secure Wipe, Boot Select, Gaming Mode, Office Mode and other programs. Usually, during the boot process of the electronic device, the initialization and detection of each hardware device in the electronic device can be realized to ensure the normal operation of the electronic device. The present application does not limit the type and number of programs contained in the first application. It can be understood that for electronic devices of different types or functions, the first application stored in the BIOS on the motherboard may be different, depending on the situation, and the embodiments of the present application do not list them one by one.
[0066] Based on this, the user turns on or restarts the electronic device, and generates a startup instruction for the electronic device, so that the electronic device responds to the startup instruction to start the normal operation of the electronic device. In the startup process of the electronic device, the BIOS working mode is usually entered first to initialize at least one first application configured in the BIOS. The initialization implementation process of each first application is not described in detail in this application.
[0067] Reference Figure 3 In the application call implementation method proposed in the present application, a flowchart of the electronic device startup process is shown. After each first application in the BIOS is initialized, the present application embodiment can generate a call entry identifier for the first application, that is, the first application that has completed the initialization is relatively independent to form a separate BIOS application usage mode, and a call entry identifier representing the first application is generated, such as Figure 4 As shown, application icons are drawn for different first applications, etc.; optionally, in order to reduce the amount of data calculation, the type text description of the first application can also be used as a calling entry identifier, etc. The present application does not restrict the content of the calling entry identifier of the first application, but needs to ensure the uniqueness of the calling entry identifiers of different first applications so that each first application can be identified subsequently.
[0068] It is understandable that the generation method of the call entry identifier of different content may be different, and the present application does not limit the implementation method of step S21. Figure 4 In the scenario of the application icons shown, the present application can pre-configure the correspondence between different first applications and their corresponding application icons. In this way, after completing the initialization of any first application, the calling entry identifier of the first application can be drawn based on the correspondence. The implementation process is not described in detail in this application.
[0069] In addition, in practical applications, for multiple first applications in BIOS, such as Figure 3 As shown, initialization can be performed sequentially, so that each time a first application is initialized, a corresponding call entry identifier can be generated according to the method described above to improve the efficiency of generating the call entry identifier and shorten the time it takes to start the electronic device. Optionally, according to actual needs, after completing the initialization of multiple first applications, the call entry identifiers of multiple first applications can be generated synchronously, and the present application does not limit the triggering conditions for generating the call entry identifier.
[0070] Among them, by comparison Figure 1 and Figure 3 As can be seen from the flowchart of the electronic device startup process shown, during the startup process of the electronic device, the present application does not require the user to trigger the corresponding application in the BIOS to run by inputting a hot key (such as F2, Fn+F10, etc.) at an appropriate time point; instead, after inputting a startup or restart operation for the electronic device, the electronic device responds to startup instructions such as startup or restart, actively triggers the initialization of the first application in the BIOS, and generates a call entry identifier corresponding to the initialized first application, which greatly simplifies the user's operation and better meets the application needs of ordinary users.
[0071] Step S22, mapping the calling entry identifier to the first screen of the electronic device, so that the first screen presents the calling entry identifier corresponding to the first application;
[0072] In the embodiment of the present application, in order to solve the above Figure 1 In the process of starting up the electronic device shown, once the time point of inputting the trigger hot key of the first application is missed, the first application cannot be entered during the current startup and operation of the electronic device. The present application proposes to automatically generate a call entry identifier after the first application is initialized according to the method described above, and map it to the first screen of the electronic device, that is, establish a corresponding relationship between the first screen and the generated call entry identifier, so that after the first screen is powered on and enters the display state, the generated call entry identifier of the first application can be presented, such as Figure 4 Display mode shown.
[0073] In this way, during the initialization process of multiple first applications in the BIOS, for the first application A that has completed initialization and has started or completed the initialization operation of its adjacent next first application B (not including the first application that has just completed initialization), if the first application A needs to be run, the present application can select the calling entry identifier of the first application A from one or more calling entry identifiers displayed on the first screen to trigger it, which is very convenient and does not require restarting the electronic device.
[0074] It should be noted that in order to display the calling entry identifier of the first application in a timely manner, the first screen can be lit up and enter the display state during the power-on startup process of the electronic device; and the calling entry identifier of the first application in the BIOS can be directly presented on the first screen after it is generated. In this way, after initializing each first application in sequence and generating the corresponding calling entry identifiers in sequence, they can be directly displayed on the first screen in sequence. However, this application does not impose any restrictions on the layout of the calling entry identifiers of multiple first applications presented on the first screen, which can be determined according to the actual situation.
[0075] It is understood that the present application can also display multiple call entry identifiers on the first screen at the same time after generating the call entry identifiers of each first application in the BIOS. The present application does not limit the implementation method of displaying each call entry identifier on the first screen. And each call entry identifier includes but is not limited to Figure 4 The content shown.
[0076] The first screen of the electronic device may be any display screen that the electronic device has or is extended. The electronic device may have multiple screens, such as Figure 5a The schematic diagram of the application scenario of the double-sided screen notebook is shown. In this application, the display screen on the C side of the notebook computer can be recorded as the first screen, and the display screen on the B side can be recorded as the second screen. As analyzed above, during the startup process of the notebook computer, in response to the startup instruction, the second screen can be started to enter the display state, and the startup interface of the electronic device can be output on the second screen. In this way, relevant content in the startup process of the electronic device, such as the initialization process of the first application, etc., can be presented on the startup interface. The output content of the startup interface is not limited by this application and can be determined according to the circumstances.
[0077] Moreover, in Figure 5a During the startup process of the laptop shown in the figure, the generated call entry mark of the first application can be presented on the first screen of the C surface, which facilitates the user to select the relevant first application in the BIOS that he wants to run without affecting the user's viewing of the displayed content on the second screen. The implementation process of how the first screen outputs the call entry mark can refer to the description of the corresponding part above. It should be noted that the deployment relationship between multiple screens of the electronic device with multi-screen configuration and extended screen includes but is not limited to Figure 5a The implementation method shown is similar for application calls of different multi-screen electronic devices, and this application does not give detailed examples one by one.
[0078] In some other embodiments, the electronic device may also have a display screen, such as Figure 5bAs shown, in this case, in order to meet the need to output the electronic device startup interface, the first screen can be a partial display area of the display screen of the electronic device, and another part of the display area can be used to output the startup interface of the electronic device. Optionally, if the startup interface of the electronic device does not need to be presented, the above-mentioned first screen can refer to at least a part of the display area of the display screen of the electronic device. It can be seen that in some scenarios, the generated call entry identifier can be presented in the entire display area of the display screen, and this application does not limit this.
[0079] Step S23, responding to a selection call request for any call entry identifier, accessing the memory address of the first application corresponding to the selected call entry identifier, and running the called first application.
[0080] Continuing the above description, during the startup process of the electronic device, the calling entry identifier of the initialized first application will be presented on the first screen. In this way, when it is necessary to run any first application, the calling entry identifier of the first application to be run can be directly selected from the calling entry identifier presented on the first screen for triggering. The triggering method is not limited in this application and may include but is not limited to touch triggering method, voice triggering method, preset hot key triggering method, etc.
[0081] In this way, the electronic device responds to the user's selection call request for any presented call entry identifier, and the BIOS can directly access the memory address of the corresponding first application to run the first application to meet the user's corresponding configuration requirements. Among them, for the relevant first application in the BIOS, the relevant information after initialization is usually written into the memory space allocated to the BIOS in the electronic device, and the corresponding memory address is recorded so that the BIOS can access the application information stored under the memory address accordingly, and pre-set the corresponding first application. This application does not elaborate on the initialization process of the relevant first application in the BIOS and the implementation process of the application information storage after initialization.
[0082] In summary, in the embodiments of the present application, after the electronic device responds to the startup instruction, it will automatically initialize at least one related first application in the BIOS without the need for the user to trigger the startup, and for the initialized first application, a corresponding call entry identifier will be automatically generated and presented on the first screen that enters the display state, that is, the relevant application entry in the BIOS is displayed on the first screen, which is easy for the user to understand and operate. Afterwards, the user can directly trigger the call identification entry of the first application that needs to be run from the displayed call identification entry without restarting the electronic device. The BIOS can directly access the memory address of the selected triggered first application and run the first application, which greatly reduces the user waiting time, improves the application configuration efficiency of the electronic device, and improves the user experience.
[0083] For the relevant first applications in the BIOS described above, the present application hopes that after the electronic device leaves the BIOS environment (i.e., BIOS mode), it can still directly call any first application without restarting the electronic device. For example, after the operating system of the electronic device starts running, the first application in the BIOS can also be called during the operation of the operating system; or in the UEFI (Unified Extensible Firmware Interface) Shell (i.e., the shell program when booting), the first application in the BIOS is called, etc., thereby expanding the scope of use of the BIOS application. Based on this, the present application proposes the application calling implementation method described in the following embodiments, but is not limited to the implementation method described in the following embodiments.
[0084] Among them, in combination with the application call implementation method executed during the startup process of the electronic device described above, after the initialization of the first application is completed, the memory address space of such application can be isolated so that the operating system can call the memory address of the first application through BIOS. At the same time, according to the method described above, the corresponding call entry identifier can be presented on the first screen, so that the initialized first application forms a separate usage mode, which is convenient for users to call at any time.
[0085] In the actual application of this application, from the BIOS side, the system memory of the electronic device can be divided into: AddressRangeNVS (address range non-volatile storage (Non-Volatile Storage), usually used when the operating system OS is in hibernation), AddressRangeMemory (address range memory space, usually used when the operating system OS is running normally) and OEMDefined (i.e., custom memory space, used for OEM function development, not available to the operating system OS).
[0086] Based on the above analysis, refer to Figure 6 As shown in the schematic diagram of the system memory structure, the present application can partition the memory space of the electronic device (which can be the memory address range used by the BIOS) to obtain a custom memory space for storing the first application in the BIOS, and mark the memory address of the custom memory space as unavailable to the operating system, thereby realizing BIOS application memory isolation. The implementation process is not described in detail in this application. In this case, during the startup of the electronic device, after the first application is initialized, its corresponding memory address space can be marked as a custom memory space to deny the operating system access to the memory address in the custom memory space. This application does not describe the BIOS memory isolation implementation method in detail.
[0087] Since the above-mentioned custom memory space is completely visible to the BIOS, the BIOS itself can access the memory address of the called first application stored in the custom memory space to run the called first application. In some embodiments proposed in the present application, since the UEFI Shell environment is similar to the BIOS environment, in the UEFI Shell environment, after selecting a certain call entry identifier presented on the first screen, the UEFI Shell can also directly call the memory address of the first application to run the selected first application. The implementation process is similar to the implementation process of the BIOS calling the first application. The description of the corresponding part of the above embodiment can be referred to, and this embodiment will not be repeated.
[0088] In some other embodiments proposed in the present application, the present application can also call the first application in the BIOS during the operation of the operating system. In this regard, the present application proposes the following implementation method for calling the BIOS application in the operating system environment, but is not limited to the implementation method described in the following embodiments.
[0089] Reference Figure 7 , which is a flowchart of another optional example of the application call implementation method proposed in this application. This embodiment can be a description of how to implement the call implementation process of the BIOS application after the operating system of the electronic device is started and running. This embodiment can be described from the operating system side and can be executed by a system processor such as a central processing unit CPU in the electronic device, such as Figure 7 As shown, the method may include:
[0090] Step S71, in response to a triggering operation on a specific application, presenting a call entry identifier corresponding to at least one first application of BIOS on a first screen of the electronic device;
[0091] Combined with the relevant description of the above embodiment, the call entry identifier can be generated for the initialized first application during the startup process of the electronic device, and the implementation process is not repeated. The specific application is based on the above second application, which is a dedicated application program that is run by the operating system and pre-installed for calling the first application in the BIOS. This application does not limit the configuration implementation method of the specific application, which can be determined according to its application requirements.
[0092] After the electronic device completes the initialization of the first application in the startup phase according to the method described above and successfully starts the operating system, the user can use the various application functions in the electronic device normally. In this scenario, if it is necessary to call one or more first applications in the BIOS, the user can trigger the feature application to run, and the calling entry identifier corresponding to at least one first application in the BIOS will be presented on the first screen. In this way, the user does not need to restart the electronic device, and can select the calling entry identifier of the first application to be called from the calling entry identifiers presented on the first screen.
[0093] For example, the scenario of executing the application call implementation method in the double-sided screen notebook as mentioned above is used as an example for explanation, referring to Figure 8 In the scenario diagram shown, the above-mentioned specific application can be presented on the B screen (i.e., the above-mentioned second screen) of the electronic device. That is, after the operating system of the electronic device is started, the entry mark of the specific application can be presented on the second screen of the electronic device so that the user can trigger the entry mark and start the specific application. Of course, in order to avoid interfering with the user's use of other applications, the specific application can also be presented on the first screen. At this time, the user can operate other applications presented on the second screen, such as Figure 8 The left figure shows a schematic diagram of a specific application.
[0094] It can be understood that for electronic devices with other screen structures, as mentioned above Figure 5b The single-screen electronic device shown can divide the entire display area of the screen into at least two display areas based on the application function, one for displaying a specific application and each call entry identifier, or one for displaying a specific application or other types of applications running on the operating system. The present application does not impose any restrictions on the display of specific applications and their relationship with the first screen, which can be determined according to the circumstances.
[0095] Afterwards, for the displayed specific application, the user can use any preset startup method configured for the specific application to trigger the specific application, so that the operating system of the electronic device detects the corresponding trigger operation, such as detecting the trigger operation of the entry mark of the specific application, and starting the specific application, presenting the calling entry mark of at least one first application in the BIOS on the first screen, such as Figure 8 The present invention is an intermediate figure of the present invention, but is not limited to this presentation method.
[0096] Among them, the above-mentioned preset startup mode pre-configured for a specific application may include but is not limited to: hot key startup mode, voice startup mode, preset gesture startup mode, touch startup mode, etc. The preset startup mode can be configured according to actual conditions. It can be understood that the present application can pre-select one or more preset startup modes for a specific application, so that the user can choose to use them according to the calling scenario, thereby improving the flexibility and convenience of application triggering.
[0097] Step S72, in response to the selection and calling operation of the first application, generating a memory address query request for the selected first target application;
[0098] Step S73, sending the memory address query request to the BIOS, and the BIOS responds to the memory address query request to obtain a target memory address of the first target application;
[0099] As can be seen from the above description of the content address of the first application in the BIOS, the present application pre-implements the memory isolation of the first application, making the operating system unavailable. Therefore, after the user selects the call entry identifier of the first target application to be run from the call entry identifiers presented on the first screen, a memory address query request for the first target application is generated and sent to the BIOS to obtain the memory address of the first target application through the BIOS.
[0100] The implementation process of how the BIOS accesses the memory address of the first target application may refer to but is not limited to Fig. 9 The implementation method shown is Fig. 9 The application calling implementation method shown can be executed by a BIOS chip. In order to obtain the target memory address of the first target application called by the operating system, the following steps can be executed during the operation of the operating system:
[0101] Step S91, receiving a memory address query request for a first target application sent by a specific application;
[0102] According to the above analysis, the first target application can refer to any first application presented on the first screen, and the user can select it according to actual needs. It can be understood that the content address query request may include but is not limited to the application identifier of the first target application, so that the BIOS can know which first application the operating system wants to call, and the application identifier may include but is not limited to the unique identifier, number, etc. of the application.
[0103] Step S92, responding to the memory address query request, obtaining a target memory address of the first target application;
[0104] Step S93: Based on the sharing mechanism between the BIOS of the electronic device and the operating system, the target memory address is fed back to the specific application running on the operating system.
[0105] Since the operating system cannot directly access the memory address of the first application, it will actively ask the BIOS for the OEMDefined memory address, that is, the preset custom memory space used to store the first application, so that the BIOS will feedback the target memory address corresponding to the first target application to the specific application through UEFI Variable (that is, a sharing mechanism between BIOS and the operating system, the working principle of which is not described in detail in this application), but it is not limited to the implementation method described in this embodiment.
[0106] Step S74, controlling the specific application to load the first target application and run the first target application according to the target memory address of the first target application fed back by the BIOS.
[0107] According to the method described above, after the specific application running under the operating system obtains the target memory address of the first target application, the first target application can be loaded and run through the specific application, thereby realizing the running of the related applications in the BIOS in the operating system.
[0108] Among them, combined Figure 8 As shown in the scenario diagram, when the operating system of the electronic device runs the first target application through a specific application, it can be as follows Figure 8 The figure shown on the right shows the content of the first target application being run on the first screen or the second screen, such as the diagnostic interface of the diagnostic application in the BIOS. Similarly, for electronic devices of other structures, the display method of the running process of the second target application is similar, and this application will not be described in detail one by one.
[0109] In summary, in the embodiments of the present application, a corresponding call entry identifier can be generated for each first application initialized in the BIOS, and it can be associated with a specific application running under the operating system. In this way, during the startup and operation of the operating system, if the user wants to call the first application in the BIOS, the specific application can be directly started, and the call entry identifier of each first application can be presented on the first screen, so that the user can also select the call entry identifier of the presented first target application during the operation of the operating system to implement the call to the first target application in the BIOS. The first target application is run through the specific application, which meets the calling and configuration requirements of the BIOS application under the operating system, and there is no need to restart the electronic device, which greatly improves the processing efficiency and convenience, and improves the user experience.
[0110] Reference Fig.10 , is a schematic diagram of an optional example of the structure of the application call implementation device proposed in this application. In this embodiment, the composition structure of the application call implementation device can be described from the BIOS chip side of the electronic device, such as Fig.10 As shown, the device may include:
[0111] The calling entry identifier generating module 101 is used to respond to the electronic device startup instruction, initialize at least one configured first application, and generate a calling entry identifier of the corresponding first application; the first application refers to a second application running separately from the operating system of the electronic device;
[0112] A calling entry identifier output module 102, configured to map the calling entry identifier to a first screen of the electronic device, and present the calling entry identifier corresponding to the first application on the first screen;
[0113] The application calling module 103 is used to respond to a selection calling request for any of the calling entry identifiers, access the memory address of the first application corresponding to the selected calling entry identifier, and run the called first application.
[0114] In some further embodiments, the above device may further include:
[0115] a memory isolation module, configured to partition the memory space to obtain a custom memory space for storing the first application, wherein a memory address of the custom memory space is marked as unavailable to the operating system;
[0116] In some further embodiments, the above device may further include:
[0117] a memory address query request receiving module, configured to receive a memory address query request for a first target application sent by a specific application during the operation of the operating system of the electronic device; wherein the specific application belongs to the second application; and the first target application refers to any of the first applications presented on the first screen;
[0118] a target memory address obtaining module, configured to respond to the memory address query request and obtain a target memory address of the first target application;
[0119] A target memory address feedback module is used to feed back the target memory address to the specific application run by the operating system based on a sharing mechanism between the basic input and output system BIOS of the electronic device and the operating system, so that the specific application uses the target memory address to load the first target application and run the first target application.
[0120] In combination with the application call implementation device on the BIOS side described in the above embodiments, when the electronic device has two screens, the device may include:
[0121] A second screen activation module, used for activating the second screen of the electronic device during the process of responding to the electronic device activation instruction;
[0122] A startup interface output module is used to output the startup interface of the electronic device on the second screen.
[0123] Reference Fig.11 , which is a structural diagram of another optional example of the application call implementation device proposed in the present application. In this embodiment, the composition structure of the application call implementation device can be described from the operating system side of the electronic device, such as Fig.11 As shown, the device may include:
[0124] The specific application triggering module 111 is used to respond to the triggering operation of the specific application and present a call entry identifier corresponding to at least one first application of the basic input and output system BIOS on the first screen of the electronic device; wherein the call entry identifier is generated after the corresponding first application is initialized during the startup process of the electronic device;
[0125] A memory address query request generating module 112, configured to generate a memory address query request for a selected first target application in response to a selection and calling operation of the first application;
[0126] A memory address query request sending module 113, configured to send the memory address query request to the BIOS, and the BIOS responds to the memory address query request to obtain a target memory address of the first target application;
[0127] The application calling module 114 is used to control the specific application to load the first target application and run the first target application according to the target memory address of the first target application fed back by the BIOS.
[0128] In some embodiments, the specific application trigger module 111 may include:
[0129] A trigger detection unit, configured to detect a trigger operation corresponding to any preset startup mode configured for a specific application, and start the specific application;
[0130] The preset activation mode includes a hot key activation mode, a voice activation mode or a preset gesture activation mode.
[0131] A call entry identifier presenting unit, configured to present a call entry identifier corresponding to at least one first application of a basic input and output system BIOS on a first screen of the electronic device;
[0132] Optionally, the trigger detection unit may include:
[0133] An entry mark presenting unit, which presents the entry mark of the specific application on the second screen of the electronic device after the user starts the operating system of the electronic device;
[0134] The entry identifier triggering unit is used to detect a triggering operation on the entry identifier of the specific application.
[0135] It should be noted that the various modules, units, etc. in the above-mentioned device embodiments can be stored in the memory of the corresponding side as program modules, and the corresponding program modules stored in the memory are executed by the BIOS chip or the system processor to implement the corresponding functions. For the functions implemented by each program module and its combination, as well as the technical effects achieved, please refer to the description of the corresponding parts of the above-mentioned method embodiments, which will not be repeated in this embodiment.
[0136] The present application also provides a computer-readable storage medium on which a computer program can be stored. The computer program can be called and loaded by a processor to implement the various steps of the application call implementation method described in the above embodiment.
[0137] Reference Fig.12 , is a schematic diagram of the hardware structure of an optional example of an electronic device applicable to the application call implementation method proposed in this application, and the electronic device may include but is not limited to the user terminals described above, such as Fig.12 As shown, the electronic device may include: a mainboard 121, and a display module 122, a BIOS chip 123 and a system processor 124 arranged in the mainboard 121, wherein:
[0138] The display module 122 may include at least one screen, such as the first screen and the second screen, etc. The present application does not show the layout of multiple screens in the electronic device, which may be determined according to the situation. Among them, the screen may be a touch display panel to facilitate user touch input. In this case, the display module 122 may also include a touch sensing unit for sensing touch events on the touch display panel.
[0139] The BIOS chip 123 can be used to load and execute a pre-stored first program to implement the application call implementation method described on the BIOS chip side above; the system processor 124 can be used to load and execute a pre-stored second program to implement the application call implementation method described on the operating system side above. The implementation process will not be described in detail in this embodiment.
[0140] In an embodiment of the present application, the above-mentioned system processor 124 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, etc.
[0141] In some embodiments, the electronic device may also include a memory for storing the above-mentioned second program, such as a high-speed random access memory, a non-volatile memory, etc. The non-volatile memory, etc. may include at least one disk storage device or other volatile solid-state storage device, etc.
[0142] According to actual application requirements, electronic devices with different functions or types may also include at least one input device such as a keyboard, mouse, camera, microphone, etc.; at least one output device such as a speaker, vibration mechanism, lamp, etc.; a sensor module composed of various sensors; a power management module; an antenna or other mobile communication module, and various types of communication interfaces such as a serial / parallel port, a USB port, etc., for realizing data transmission between internal devices of the electronic device. It should be understood that the above embodiments describe and Figure 2The electronic device structure shown does not constitute a limitation on the electronic device in the embodiments of the present application. In practical applications, the electronic device may include more or fewer components than those described in the above embodiments, or combine certain components, which are not listed one by one in the present application.
[0143] Finally, it should be noted that, with respect to the above embodiments, unless the context clearly indicates an exception, the words "a", "an", "a kind" and / or "the" do not specifically refer to the singular, but may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list, and the method or device may also include other steps or elements. The elements defined by the sentence "includes a..." do not exclude the existence of other identical elements in the process, method, commodity or device that includes the elements.
[0144] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0145] The terms such as "first", "second", etc. used in this application are only used for descriptive purposes to distinguish one operation, unit or module from another operation, unit or module, and do not necessarily require or imply any actual relationship or order between these units, operations or modules. They cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0146] In addition, the various embodiments in this specification are described in a progressive or parallel manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the devices and electronic devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0147] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for implementing application calling, the method include: In response to the electronic device startup instruction, initialize at least one configured first application and generate a call entry identifier of the corresponding first application; The first application refers to a second application that is different from the operating system of the electronic device; the first application is an application in the basic input and output system BIOS; Mapping the calling entry identifier to a first screen of the electronic device so that the first screen presents the calling entry identifier corresponding to the first application; The first screen is illuminated during the power-on startup process of the electronic device; In response to a selection call request for any of the call entry identifiers, a memory address of a first application corresponding to the selected call entry identifier is accessed, and the called first application is run.
2. The method according to claim 1, further comprising: include: Partitioning the memory space to obtain a custom memory space for storing the first application, wherein a memory address of the custom memory space is marked as unavailable to the operating system; The accessing the memory address of the first application corresponding to the selected call entry identifier includes: The memory address of the called first application stored in the custom memory space is accessed.
3. The method according to claim 2, wherein during the operation of the operating system of the electronic device, the method further include: receiving a memory address query request for a first target application sent by a specific application; wherein the specific application belongs to the second application; and the first target application refers to any of the first applications presented on the first screen; In response to the memory address query request, obtaining a target memory address of the first target application; Based on a sharing mechanism between the basic input and output system BIOS of the electronic device and the operating system, the target memory address is fed back to the specific application run by the operating system, so that the specific application uses the target memory address to load the first target application and run the first target application.
4. The method according to any one of claims 1 to 3, in: In the process of responding to the electronic device startup instruction, starting the second screen of the electronic device; The startup interface of the electronic device is output on the second screen.
5. A method for implementing application calling, the method include: In response to a trigger operation on a specific application, a call entry identifier corresponding to at least one first application in a basic input and output system BIOS is presented on a first screen of an electronic device; wherein the call entry identifier is generated after the corresponding first application is initialized during the startup process of the electronic device; the first application is an application in the basic input and output system BIOS; and the first screen is illuminated during the power-on startup process of the electronic device; In response to the selection and calling operation of the first application, generating a memory address query request for the selected first target application; Sending the memory address query request to the BIOS, and having the BIOS respond to the memory address query request to obtain a target memory address of the first target application; According to the target memory address of the first target application fed back by the BIOS, the specific application is controlled to load the first target application and run the first target application.
6. The method according to claim 5, wherein the response is a trigger operation for a specific application. include: Detecting a trigger operation corresponding to any preset startup mode configured for a specific application, starting the specific application, and performing the step of presenting a call entry identifier corresponding to at least one first application of a basic input and output system BIOS on a first screen of the electronic device; The preset activation mode includes a hot key activation mode, a voice activation mode or a preset gesture activation mode.
7. The method according to claim 6, wherein the trigger operation corresponding to any preset startup mode configured for a specific application is detected, include: After the operating system of the electronic device is started, presenting an entry mark of the specific application on the second screen of the electronic device; A triggering operation on the entry identification of the specific application is detected.
8. An application call implementation device, the device include: a calling entry identifier generating module, configured to respond to an electronic device startup instruction, initialize at least one configured first application, and generate a calling entry identifier of the corresponding first application; the first application is a second application running differently from the operating system of the electronic device; the first application is an application in a basic input and output system BIOS; A calling entry identifier output module, used to map the calling entry identifier to a first screen of the electronic device, and present the calling entry identifier corresponding to the first application on the first screen; The first screen is illuminated during the power-on startup process of the electronic device; The application calling module is used to respond to a selection calling request for any of the calling entry identifiers, access the memory address of the first application corresponding to the selected calling entry identifier, and run the called first application.
9. An application call implementation device, the device include: a specific application triggering module, configured to respond to a triggering operation on a specific application, and present a call entry identifier corresponding to at least one first application in a basic input and output system BIOS on a first screen of an electronic device; wherein the call entry identifier is generated after the corresponding first application is initialized during the startup process of the electronic device; the first application is an application in the basic input and output system BIOS; and the first screen is lit during the power-on startup process of the electronic device; A memory address query request generation module, configured to generate a memory address query request for a selected first target application in response to a selection and call operation on the first application; a memory address query request sending module, used for sending the memory address query request to the BIOS, and the BIOS responds to the memory address query request to obtain a target memory address of the first target application; The application calling module is used to control the specific application to load the first target application and run the first target application according to the target memory address of the first target application fed back by the BIOS.
10. An electronic device, wherein the electronic device include: Motherboard; A display module, a basic input and output system BIOS chip and a system processor are arranged in the mainboard, wherein: The BIOS chip is used to load and execute a pre-stored first program to implement the application call implementation method according to any one of claims 1 to 4; The system processor is used to load and execute a pre-stored second program to implement the application call implementation method as described in any one of claims 5-7.
Citation Information
Patent Citations
Method and device for program calling and computer system
CN103136044A
Method and device for displaying basic input / output system menu
CN104503773A
Method and system for modifying BIOS configuration
CN104991782A
Parameter acquisition method and apparatus, and electronic device
CN106371819A
Method, device and equipment for initializing BIOS options and storage medium
CN110928734A
