Control Method, Device and Electronic Device
The operating status of the rental equipment is controlled through BIOS, which solves the security risks caused by operating system reinstallation, and ensures that the equipment is safe and controllable under different users and environments.
Patent Information
- Application Number
- CN202111644665.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2041-12-29
AI Technical Summary
Rental electronic devices may lose control of the management server after the operating system is reinstalled, which poses a security risk.
The basic input and output system (BIOS) of electronic devices controls the operating status of the device based on the verification information, provides functions that match the verification information, and avoids dependence on the operating system.
It realizes that the equipment status can be effectively controlled after the operating system is reinstalled, avoids safety hazards, and improves the safety of rental equipment.
Smart Images

Figure CN114297628B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular, to a control method, apparatus, and electronic device. Background Art
[0002] Currently, users usually rent electronic devices instead of buying them to reduce costs. A verification program is usually set on the operating system configured on the rented electronic device. During the startup process of the operating system, the rented electronic device sends a usage request to the management server of the device provider through the verification program. After verifying information such as the identity of the electronic device, the management server sends a message permitting or prohibiting the use to the electronic device. After receiving the message prohibiting the use, the rented electronic device stops starting the operating system and shuts down. After receiving the message permitting the use, the rented electronic device continues to start the operating system.
[0003] Therefore, the control of the rented electronic device by the management server depends on the operating system configured on the electronic device. If the operating system is reinstalled, the rented electronic device may not be controlled by the management server, which may pose a security risk. Summary of the Invention
[0004] This application provides a control method, apparatus, and electronic device as follows:
[0005] A control method includes:
[0006] Obtaining a first instruction for instructing a first electronic device to power on or restart;
[0007] Obtaining first verification information;
[0008] Controlling the operating state of the first electronic device by the basic input / output system of the first electronic device according to the first verification information to provide a function matching the first verification information to the corresponding user;
[0009] Wherein, the first verification information corresponding to different users is the same or different.
[0010] In the above method, preferably, controlling the operating state of the first electronic device by the basic input / output system of the first electronic device according to the first verification information includes:
[0011] Establishing a communication connection between the first electronic device and a second electronic device through the basic input / output system of the first electronic device;
[0012] Sending the first verification information to the second electronic device through the communication connection to control the operating state of the first electronic device according to the feedback information of the second electronic device.
[0013] Preferably, for the above method, the basic input / output system of the first electronic device controls the operating state of the first electronic device according to the first verification information, including:
[0014] The basic input / output system in the first electronic device uses a corresponding first verification rule to verify the first verification information to obtain a first verification result;
[0015] According to the first verification result, the operating state of the first electronic device is controlled, and different first verification rules correspond to different first verification information.
[0016] Preferably, for the above method, the method further includes:
[0017] Obtain second verification information, where the second verification information at least includes the identity information of the current user;
[0018] In the case where the second verification information is successfully verified by a corresponding second verification rule, execute the step of the basic input / output system controlling the operating state of the first electronic device according to the first verification information, where different second verification rules correspond to different identity information; and / or,
[0019] In the case where the second verification information is failed to be verified by a corresponding second verification rule, output an operation prompt for applying to use the first electronic device.
[0020] Preferably, for the above method, controlling the operating state of the first electronic device according to the first verification information includes:
[0021] If the verification result corresponding to the first verification information indicates that the first electronic device is not within a preset valid usage period, control the first electronic device to output a payment prompt, and / or control the third electronic device to output a payment prompt from the first electronic device or the second electronic device;
[0022] If the verification result corresponding to the first verification information indicates that the first electronic device is within the valid usage period, control the first electronic device to provide a function matching the verification result to the current user.
[0023] Preferably, for the above method, controlling the operating state of the first electronic device according to the first verification information includes:
[0024] If the verification result corresponding to the first verification information indicates that the first electronic device is not within a preset valid geographical range, send a location change request to obtain the usage permission of the first electronic device to the second electronic device or the third electronic device, so as to control the first electronic device to provide functions matching the request result after obtaining the corresponding request result.
[0025] Preferably, for the above method, controlling the operating state of the first electronic device according to the first verification information includes at least one of the following:
[0026] If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a first usage permission, control the first electronic device to enter a first operating state. In the first operating state, the first electronic device can only provide relevant functions based on the basic input / output system;
[0027] If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a second usage permission, control the first electronic device to enter a second operating state. In the second operating state, the first electronic device can provide relevant functions based on the operating system; or,
[0028] If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a third usage permission, control the first electronic device to enter a third operating state. In the third operating state, the first electronic device can provide some relevant functions based on the operating system.
[0029] Preferably, for the above method, controlling the operating state of the first electronic device according to the first verification information includes:
[0030] If the verification result corresponding to the first verification information indicates that the first electronic device is accessed or used by at least two users, and the priorities of the at least two users are different, control the first electronic device to preferentially satisfy the access or usage requests of the user with a higher priority among the at least two users; or,
[0031] If the verification result corresponding to the first verification information indicates that the first electronic device is accessed or used by at least two users, and the access or usage requirements of the at least two users are different, control the first electronic device to preferentially satisfy the access or usage requests of the user whose usage information meets the conditions among the at least two users.
[0032] A control device includes:
[0033] An instruction obtaining unit, configured to obtain a first instruction, where the first instruction is used to instruct a first electronic device to power on or restart;
[0034] An information acquisition unit, configured to acquire first verification information;
[0035] A control trigger unit, configured to trigger the basic input / output system of the first electronic device, and control the operating state of the first electronic device according to the first verification information, so as to provide a function matching the first verification information to a corresponding user;
[0036] Wherein, the first verification information corresponding to different users may be the same or different.
[0037] An electronic device, as the first electronic device, includes:
[0038] A controller, configured to acquire a first instruction, where the first instruction is used to instruct the first electronic device to power on or restart; and acquire first verification information;
[0039] A basic input / output system, configured to control the operating state of the first electronic device according to the first verification information, so as to provide a function matching the first verification information to a corresponding user;
[0040] Wherein, the first verification information corresponding to different users may be the same or different.
[0041] It can be seen from the above technical solutions that in a control method, device and electronic device disclosed in this application, after acquiring a first instruction for instructing the first electronic device to power on or restart, first verification information is acquired, and then the basic input / output system in the first electronic device controls the operating state of the first electronic device according to the first verification information, so that a function matching the first verification information can be provided to a corresponding user without relying on the operating system in the first electronic device. It can be seen that the state control of the electronic device in this application does not depend on the operating system on the electronic device, but is implemented by the basic input / output system, and the basic input / output system will not be reinstalled. Therefore, the uncontrollable security risks brought by reinstalling the operating system can be avoided. Description of the Drawings
[0042] In order to more clearly illustrate the technical solutions of the embodiments of this application, the drawings required for description in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0043] Figure 1 It is a flowchart of a control method provided in Embodiment 1 of this application;
[0044] Figure 2 It is an interaction example diagram between the first electronic device and the second electronic device in the embodiments of this application;
[0045] Figures 3 - 7 These are respectively example diagrams applicable to notebook control in embodiments of the present application;
[0046] Figure 8 This is another flowchart of a control method provided in Embodiment 1 of the present application;
[0047] Figure 9 This is a schematic structural diagram of a control device provided in Embodiment 2 of the present application;
[0048] Figure 10 This is another schematic structural diagram of a control device provided in Embodiment 2 of the present application;
[0049] Figure 11 This is a schematic structural diagram of an electronic device provided in Embodiment 3 of the present application;
[0050] Figure 12 This is an example diagram for implementing computer startup control on a leased computer in embodiments of the present application. Detailed implementation manners
[0051] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0052] Refer to Figure 1 As shown, this is an implementation flowchart of a control method provided in Embodiment 1 of the present application. This method can be applicable to electronic devices having a Basic Input Output System (BIOS), a Unified Extensible Firmware Interface (UEFI), an Extensible Firmware Interface, or a linux boot kernel (for executing the BootRom code in the mobile phone ROM), or a Baseboard Management Controller, such as a notebook, a computer, a mobile phone, an all-in-one machine, or a server and other first electronic devices. In the following embodiments, the description will be mainly carried out taking BIOS as an example. The technical solution in this embodiment is mainly used to avoid the uncontrolled security risks brought by reinstalling the operating system in the electronic device, so as to improve security.
[0053] Specifically, the method in this embodiment may include the following steps:
[0054] Step 101: Obtain a first instruction.
[0055] The first instruction is used to instruct the first electronic device to power on or restart. That is to say, this embodiment is applicable to the stage when the first electronic device is triggered to start.
[0056] For example, the user presses the power-on button of an electronic device such as a server, a notebook, or an all-in-one computer, or the user clicks the restart control on the operation interface of an electronic device such as a server, a notebook, or an all-in-one computer, etc. Based on this, the first instruction is obtained on the electronic device such as a server, a notebook, or an all-in-one computer.
[0057] Step 102: Obtain first verification information.
[0058] The first verification information may be the same or different for different users.
[0059] Specifically, when the content in the first verification information is related to the user, the first verification information corresponding to different users is different; when the content in the first verification information is not related to the user, the first verification information corresponding to different users is the same, and in this case, the first verification information is information related to the first electronic device.
[0060] For example, the first verification information may include any one or more of the following:
[0061] Timer information, representing the current usage duration of the first electronic device, used to determine whether the first electronic device is within a preset valid usage period;
[0062] User identity information, representing the identity of the current user of the first electronic device, used to determine the usage permission of the current user of the first electronic device;
[0063] Usage location information, representing the current usage location or location range of the first electronic device, used to determine the usage permission of the first electronic device at the current usage location or location range;
[0064] Device identification information, representing the first electronic device, used to combine with the user identity information to determine the usage permission of the current user of the first electronic device for the first electronic device, etc.
[0065] It should be noted that the execution order of Step 101 and Step 102 may not be limited by the execution order in the accompanying drawings. It is also possible to execute Step 102 first, or execute Step 101 and Step 102 simultaneously. Different technical solutions formed are all within the protection scope of this application.
[0066] Step 103: The BIOS of the first electronic device controls the operating state of the first electronic device according to the first verification information, so as to provide the corresponding user with functions matching the first verification information.
[0067] For example, the BIOS of the first electronic device controls the first electronic device to provide corresponding functions to the current user according to the first verification information, or controls the first electronic device not to provide any functions to the current user.
[0068] Specifically, in this embodiment, the BIOS can control the first electronic device to enter different operating states according to the verification result corresponding to the first verification information, so as to provide different functions to the current user or not provide functions. Thus, even if the operating system of the first electronic device is reinstalled, it does not affect the control of the operating state of the first electronic device.
[0069] As can be seen from the above technical solution, in a control method provided in Embodiment 1 of the present application, after obtaining the first instruction indicating that the first electronic device is powered on or restarted, the first verification information is obtained, and then the basic input / output system in the first electronic device controls the operating state of the first electronic device according to the first verification information. Furthermore, without relying on the operating system in the first electronic device, functions matching the first verification information can be provided to the corresponding user. It can be seen that in this embodiment, the state control of the electronic device does not depend on the operating system on the electronic device, but is implemented by the basic input / output system, and the basic input / output system will not be reinstalled. Therefore, the uncontrollable security risks brought by reinstalling the operating system can be avoided.
[0070] In one implementation manner, when the BIOS controls the operating state of the first electronic device according to the first verification information in step 103, it can be specifically implemented in the following manner:
[0071] Establish a communication connection between the first electronic device and the second electronic device through the BIOS, and then send the first verification information to the second electronic device through the communication connection, so as to control the operating state of the first electronic device according to the feedback information of the second electronic device.
[0072] The second electronic device here is other devices different from the first electronic device, such as the background server of the provider of the first electronic device, or computer devices with management permissions within the company (school) local area network, etc. For example, Figure 2As shown, after obtaining the first verification information on the first electronic device, the BIOS establishes a communication connection between the first electronic device and the second electronic device, and then sends the first verification information to the second electronic device through this communication connection. The second electronic device uses the corresponding first verification rule to verify the first verification information to obtain the first verification result. The second electronic device sends feedback information to the first electronic device based on the first verification result, and then the first electronic device controls the operating state of the first electronic device according to the feedback information of the second electronic device.
[0073] Among them, the BIOS can establish a communication connection between the first electronic device and the second electronic device through the Hyper Text Transfer Protocol over Secure Socket Layer (HTTPS) module in the first electronic device. Based on this, after the first verification information on the first electronic device is transmitted to the second electronic device, the second electronic device can send the first verification result to the first electronic device as feedback information or send the control instruction corresponding to the first verification result to the first electronic device as feedback information. Thus, the first electronic device can control the operating state of the first electronic device according to the first verification result or perform corresponding operations according to the control instruction sent by the second electronic device to make the operating state of the first electronic device correspond to the control instruction.
[0074] In another implementation manner, when the BIOS controls the operating state of the first electronic device according to the first verification information in step 103, it can also be implemented in the following manner:
[0075] The BIOS uses the corresponding first verification rule to verify the first verification information to obtain the first verification result; then, it controls the operating state of the first electronic device according to the first verification result, and different first verification rules correspond to different first verification information.
[0076] That is to say, the first verification information is verified using the first verification rule corresponding to the first verification information. Specifically, according to the types of information items included in the first verification information, the corresponding first verification rule is determined. For example, if the first verification information includes timer information, then the first verification rule includes an expiration date; if the first verification information includes user identity information, then the first verification rule includes the user's usage rights; if the first verification information includes usage location information, then the first verification rule includes a valid geographical range, and so on.
[0077] Specifically, the first verification rule can be based on the information items in the first verification information and include any one or any combination of the following:
[0078] Valid usage period; the usage rights of the user; the valid geographical scope; device identification information; information on shared use of the device, etc.
[0079] When the BIOS uses the first verification rule to verify the first verification information, it may include any one or more of the following:
[0080] Compare the valid usage period in the first verification rule with the current usage duration in the first verification information to obtain a verification result indicating whether the first electronic device is within the valid usage period;
[0081] Compare the usage rights of the user in the first verification rule with the user identity information in the first verification information to obtain a verification result indicating whether the current user has usage rights and the type of usage rights the current user has;
[0082] Compare the valid geographical scope in the first verification rule with the usage location information in the first verification information to obtain a verification result indicating at least whether there is usage rights to the first electronic device at the current usage location or within the location range;
[0083] Compare the usage rights of the user and the device identification information in the first verification rule with the user identity information and the device identification information in the first verification information to obtain a verification result indicating whether the current user of the first electronic device has usage rights to the first electronic device and the type of usage rights the current user has;
[0084] Compare the information on shared use of the device and the usage rights of the user in the first verification rule with the user identity information in the first verification information to obtain a verification result indicating the usage rights of multiple current users of the first electronic device and the priority or requirements of the current user; etc.
[0085] Among them, the first verification rule can be stored in the security storage area corresponding to the BIOS, written into this security storage area before leaving the factory, and during the use of the first electronic device, the first verification rule in the security storage area will not be modified.
[0086] Based on this, the BIOS controls the operating state of the first electronic device according to the above first verification result.
[0087] It should be noted that in the implementation method in the foregoing text, when the second electronic device uses the first verification rule to verify the first verification information, it can adopt the method of using the BIOS to verify the first verification information, which will not be elaborated here.
[0088] Based on the above implementation method, in this embodiment, when controlling the operating state of the first electronic device according to the first verification information, it can be achieved through the following method:
[0089] If the verification result corresponding to the first verification information indicates that the first electronic device is not within the preset valid usage period, control the first electronic device to output a payment prompt, and / or control the third electronic device to output a payment prompt from the first electronic device or the second electronic device.
[0090] If the verification result corresponding to the first verification information indicates that the first electronic device is within the valid usage period, control the first electronic device to provide a function matching the verification result to the current user.
[0091] In an optional embodiment, if the current usage duration in the first verification information exceeds the valid usage period in the first verification rule, it can be determined that the first electronic device is used beyond the expiration date. At this time, control the first electronic device to output a payment prompt. If the first electronic device is not used beyond the expiration date, then the first electronic device can be controlled to be normally loaded and run on the operating system, and then provide a function matching the verification result to the current user.
[0092] For example, if the current usage duration of the notebook exceeds the 3-month valid usage period, then prompt information such as a payment link or a payment QR code is output on the notebook, as Figure 3 shown, to prompt the current user to make a payment through the payment prompt to extend the usage period of the notebook. If the notebook does not exceed the valid usage period, then continue to start the notebook so that the notebook can provide service functions such as computing and storage for the current user.
[0093] In another optional embodiment, if the current usage duration in the first verification information exceeds the valid usage period in the first verification rule, it can be determined that the first electronic device is used beyond the expiration date. At this time, control the first electronic device to transmit a payment prompt to the third electronic device to control the third electronic device to output a payment prompt from the first electronic device. If the first electronic device is not used beyond the expiration date, then the first electronic device can be controlled to run normally, and then provide a function matching the verification result to the current user.
[0094] For example, if the current usage duration of the notebook exceeds the 3-month valid usage period, then prompt information such as a payment link or a payment QR code is output on the notebook to the mobile device of the current user, as Figure 4 shown, to prompt the current user to make a payment through the payment prompt on the mobile phone to extend the usage period of the notebook. If the notebook does not exceed the valid usage period, then continue to start the notebook so that the notebook can provide service functions such as computing and storage for the current user.
[0095] In another alternative embodiment, if the current usage duration in the first verification information exceeds the valid usage period in the first verification rule, it can be determined that the first electronic device is used beyond the due date. At this time, control the first electronic device to output a payment prompt. After receiving an input operation indicating proxy payment on the first electronic device, the first electronic device transmits the payment prompt to the third electronic device to control the third electronic device to output the payment prompt from the first electronic device. If the first electronic device is not used beyond the due date, then the first electronic device can be controlled to operate normally, thereby providing functions matching the verification result for the current user.
[0096] For example, if the current usage duration of a notebook exceeds the valid usage period of 3 months, then prompt information such as a payment link or a payment QR code is output on the notebook. If the user clicks the mobile payment control on the notebook, then the notebook outputs the payment link or the payment QR code to the mobile phone of the current user, as Figure 5 shown, to prompt the current user to make a payment through the payment prompt on the mobile phone to extend the usage period of the notebook. If the notebook does not exceed the valid usage period, then continue to start the notebook so that the notebook can provide service functions such as computing and storage for the current user.
[0097] In another alternative embodiment, if the current usage duration in the first verification information exceeds the valid usage period in the first verification rule, it can be determined that the first electronic device is used beyond the due date. At this time, the third electronic device can be controlled to output the payment prompt from the second electronic device according to the feedback information of the second electronic device. When the verification result corresponding to the first verification information verified by the second electronic device indicates that the first electronic device is not within the valid usage period, the payment prompt is transmitted to the third device. If the first electronic device is not used beyond the due date, then the first electronic device can be controlled to operate normally according to the feedback information of the second electronic device, thereby providing functions matching the verification result for the current user.
[0098] For example, when the background server of the notebook provider determines that the current usage duration of the notebook exceeds the valid usage period of 3 months, the background server outputs prompt information such as a payment link or a payment QR code to the mobile phone device of the current user of the notebook, as Figure 6 shown, to prompt the current user to make a payment through the payment prompt on the mobile phone to extend the usage period of the notebook. If the notebook does not exceed the valid usage period, then continue to start the notebook so that the notebook can provide service functions such as computing and storage for the current user.
[0099] In one implementation manner, in this embodiment, when controlling the operating state of the first electronic device according to the first verification information, it can be implemented in the following manner:
[0100] If the verification result corresponding to the first verification information indicates that the first electronic device is not within the preset valid geographical range, then the first electronic device sends a location change request for obtaining the usage permission of the first electronic device to the second electronic device or the third electronic device, so as to control the first electronic device to provide a function matching the request result after obtaining the corresponding request result.
[0101] Specifically, if the current usage location or location range in the first verification information does not match the valid geographical range in the first verification rule, that is, the current usage location or location range is not within the valid geographical range, then the BIOS can control the electronic device to output a prompt that it cannot be used at the current location or does not have the usage permission, or can send a location change request to the second electronic device or the third electronic device to request the permission to use the first electronic device at the current location or within the location range. The second electronic device or the third electronic device can feedback a request result for the change request. The request result can indicate that the first electronic device is allowed to be used, or can indicate the usage permission for the first electronic device to be used. After that, the BIOS controls the first electronic device to provide a function matching the request result.
[0102] Among them, the second electronic device can be the background server of the provider of the first electronic device for managing the usage permissions of all electronic devices, and the third electronic device can be a preset electronic device allowed to be used by the background server at the current usage location or within the location range. Based on this, the BIOS can send a location change request to the second electronic device or the third electronic device according to the attributes of the current usage location or location range.
[0103] For example, if the current usage location or location range in the first verification information does not match the valid geographical range in the first verification rule, then the notebook can send a location change request to the background server of the provider or a local computer (an electronic device authorized by the background server to be used at the current usage location), as Figure 7 shown, to request the permission to use the notebook at the current location or within the location range from the background server or the local computer. The background server or the local computer can feedback a request result for the change request. The request result can indicate that the notebook is allowed to be used but only the local editing function can be used and the Internet access function cannot be used. After that, the notebook can continue to start to provide the local editing function for the current user, but does not provide the Internet access function.
[0104] In one implementation manner, when controlling the operating state of the first electronic device according to the first verification information in this embodiment, it can be implemented by at least one of the following:
[0105] If the verification result corresponding to the first verification information indicates that the user of the first electronic device has the first usage right, control the first electronic device to enter the first operating state. In the first operating state, the first electronic device can only provide relevant functions based on the basic input / output system.
[0106] If the verification result corresponding to the first verification information indicates that the user of the first electronic device has the second usage right, control the first electronic device to enter the second operating state. In the second operating state, the first electronic device can provide relevant functions based on the operating system.
[0107] If the verification result corresponding to the first verification information indicates that the user of the first electronic device has the third usage right, control the first electronic device to enter the third operating state. In the third operating state, the first electronic device can provide some relevant functions based on the operating system.
[0108] That is to say, the current user of the first electronic device may have different usage rights. Therefore, based on the different usage rights of the current user in the verification result, the first electronic device can be controlled to enter different operating states, thereby providing functions under different usage rights for the current user.
[0109] For example, when the current user only has the usage right to use the BIOS, control the notebook to enter the state of starting from the BIOS, but do not start the operating system. At this time, the notebook can only provide corresponding functions based on the started BIOS.
[0110] When the current user has the usage rights to use the BIOS and the operating system, control the notebook to enter the operating system after starting from the BIOS. At this time, the notebook can provide complete functions for the current user based on the started operating system.
[0111] However, when the current user has the usage rights to use the BIOS and the operating system but only has the usage right to use some functions under the operating system, control the notebook to enter the operating system after starting from the BIOS, but disable some functions under the operating system, such as game functions or video functions, etc., and only provide the function of Word editing for the current user, such as a minor.
[0112] In one implementation, in this embodiment, when controlling the operating state of the first electronic device according to the first verification information, it can be implemented in the following manner:
[0113] If the verification result corresponding to the first verification information indicates that the first electronic device is accessed or used by at least two users, and the priorities corresponding to the at least two users are different, control the first electronic device to preferentially satisfy the access or use requests of the user with a higher priority among the at least two users.
[0114] For example, if a notebook has users A and B, the computing resources and storage resources in the notebook are preferentially provided for user A with a higher priority to use.
[0115] In one implementation manner, when controlling the operating state of the first electronic device according to the first verification information in this embodiment, it can be implemented in the following manner:
[0116] If the verification result corresponding to the first verification information indicates that the first electronic device is accessed or used by at least two users, and the access or use requirements corresponding to the at least two users are different, control the first electronic device to preferentially satisfy the access or use requests of the users whose usage information meets the conditions among the at least two users.
[0117] Among them, the usage information here can be the historical usage information or current usage information of the user. The user whose usage information meets the conditions can be understood as: the user with a higher historical usage permission or current usage permission, and / or the user with a longer historical usage duration, etc.
[0118] For example, if a notebook has users A and B, then the computing resources and storage resources in the notebook are preferentially provided for user B with a longer usage duration to use.
[0119] In one implementation manner, this embodiment may further include the following steps, as Figure 8 shown in:
[0120] Step 104: Obtain the second verification information.
[0121] Among them, the second verification information at least includes the identity information of the current user.
[0122] Furthermore, the second verification information may further include the POST power-on username and POST power-on password corresponding to the current user for the first electronic device. For example, if the identity information of the current user indicates that the current user is an administrator, then the second verification information may only include the identity information of the current user; if the identity information of the current user indicates that the current user is a general user, then the second verification information may further include the POST power-on username and POST power-on password of the current user.
[0123] Specifically, in this embodiment, after obtaining the identity information of the current user, if it is found that the current user is an administrator, then the identity information can be directly used as the second verification information; if it is found that the current user is a general user, then a POST power-on password input interface can be output to prompt the current user as a general user to enter the username and password in the POST power-on password input interface, and thus the second verification information is obtained in this embodiment.
[0124] Step 105: Determine whether the second verification information is successfully verified by the corresponding second verification rule. If the second verification information is successfully verified by the corresponding second verification rule, execute Step 103 so that the BIOS controls the operating state of the first electronic device according to the first verification information. If the second verification information fails to be verified by the corresponding second verification rule, execute Step 106.
[0125] Step 106: Output an operation prompt for applying to use the first electronic device. For example, output a prompt message such as "Please register" or "Please apply for use", and output a registration link or an application link to facilitate the user's registration or application operation for the first electronic device.
[0126] Among them, the second verification rules corresponding to different identity information are different. The implementation method of verifying the second verification information using the second verification rule can refer to the implementation method of verifying the first verification information using the first verification rule in the previous text, which will not be elaborated here.
[0127] That is to say, in this embodiment, the second verification rule is first used to verify the second verification information. If the current user is an ordinary user, then in this embodiment, while verifying the identity information of the current user using the usage permission in the second verification rule, the preset POST password in the second verification rule is used to verify the POST password in the second verification information. If both the usage permission and the POST password are successfully verified, then the BIOS verifies the first verification information or sends the first verification information to the second electronic device for verification, and thus controls the operating state of the first electronic device based on the verification result;
[0128] If the current user is an administrator, then in this embodiment, the usage permission in the second verification rule is used to verify the identity information of the current user. If the usage permission is successfully verified, then the BIOS verifies the first verification information or sends the first verification information to the second electronic device for verification, and thus controls the operating state of the first electronic device based on the verification result.
[0129] Reference Figure 9 , which is a schematic structural diagram of a control device provided in the second embodiment of the present application. This device can be applied to electronic devices with BIOS, such as the first electronic devices like notebooks, computers, or servers. The technical solution in this embodiment is mainly used to avoid the uncontrolled security risks brought by reinstalling the operating system in the electronic device to improve security.
[0130] Specifically, the device in this embodiment may include the following units:
[0131] An instruction acquisition unit 901, configured to acquire a first instruction for instructing a first electronic device to power on or restart;
[0132] An information acquisition unit 902, configured to acquire first verification information;
[0133] A control trigger unit 903, configured to trigger the basic input / output system of the first electronic device, and control the operating state of the first electronic device according to the first verification information, so as to provide a function matching the first verification information to a corresponding user;
[0134] Wherein, the first verification information corresponding to different users may be the same or different.
[0135] As can be seen from the above technical solution, in a control device provided in the second embodiment of the present application, after acquiring the first instruction for instructing the first electronic device to power on or restart, the first verification information is acquired, and then the basic input / output system in the first electronic device controls the operating state of the first electronic device according to the first verification information. Furthermore, without relying on the operating system in the first electronic device, a function matching the first verification information can be provided to a corresponding user. It can be seen that in this embodiment, the state control of the electronic device does not depend on the operating system on the electronic device, but is implemented by the basic input / output system, and the basic input / output system will not be reinstalled. Therefore, the uncontrollable security risks brought by reinstalling the operating system can be avoided.
[0136] In one implementation manner, the control trigger unit 903 is specifically configured to: establish a communication connection between the first electronic device and a second electronic device through the basic input / output system of the first electronic device; send the first verification information to the second electronic device through the communication connection, so as to control the operating state of the first electronic device according to the feedback information of the second electronic device.
[0137] In one implementation manner, the control trigger unit 903 is specifically configured to: verify the first verification information by using a corresponding first verification rule by the basic input / output system in the first electronic device to obtain a first verification result; control the operating state of the first electronic device according to the first verification result, and different first verification information corresponds to different first verification rules.
[0138] In one implementation manner, the following unit is further included, as Figure 10 shown in
[0139] The prior verification unit 904 is configured to: obtain second verification information, where the second verification information at least includes the identity information of the current user; trigger the control trigger unit 903 when the second verification information is successfully verified by the corresponding second verification rule, so that the basic input / output system controls the operating state of the first electronic device according to the first verification information, where the second verification rules corresponding to different identity information are different; and / or, output an operation prompt for applying to use the first electronic device when the second verification information is failed to be verified by the corresponding second verification rule.
[0140] In one implementation, when the BIOS controls the operating state of the first electronic device according to the first verification information, it is specifically configured to: if the verification result corresponding to the first verification information indicates that the first electronic device is not within a preset valid usage period, control the first electronic device to output a payment prompt, and / or, control the third electronic device to output a payment prompt from the first electronic device or the second electronic device; if the verification result corresponding to the first verification information indicates that the first electronic device is within the valid usage period, control the first electronic device to provide functions matching the verification result to the current user.
[0141] In one implementation, when the BIOS controls the operating state of the first electronic device according to the first verification information, it is specifically configured to: if the verification result corresponding to the first verification information indicates that the first electronic device is not within a preset valid geographical range, send a location change request for obtaining the usage permission of the first electronic device to the second electronic device or the third electronic device, so as to control the first electronic device to provide functions matching the request result after obtaining the corresponding request result.
[0142] In one implementation, when the BIOS controls the operating state of the first electronic device according to the first verification information, it specifically includes at least one of the following:
[0143] If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a first usage permission, control the first electronic device to enter a first operating state, in which the first electronic device can only provide relevant functions based on the basic input / output system;
[0144] If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a second usage permission, control the first electronic device to enter a second operating state, in which the first electronic device can provide relevant functions based on the operating system; or,
[0145] If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a third usage permission, control the first electronic device to enter a third operating state. In the third operating state, the first electronic device can provide some relevant functions based on the operating system.
[0146] In one implementation, when the BIOS controls the operating state of the first electronic device according to the first verification information, it is specifically used for: if the verification result corresponding to the first verification information indicates that the first electronic device is accessed or used by at least two users and the priorities corresponding to the at least two users are different, control the first electronic device to preferentially satisfy the access or usage requests of the user with a higher priority among the at least two users; or, if the verification result corresponding to the first verification information indicates that the first electronic device is accessed or used by at least two users and the access or usage requirements corresponding to the at least two users are different, control the first electronic device to preferentially satisfy the access or usage requests of the user whose usage information meets the conditions among the at least two users.
[0147] It should be noted that the specific implementation of each unit in this embodiment can refer to the corresponding content in the previous text, which will not be elaborated here.
[0148] Reference Figure 11 , is a schematic structural diagram of an electronic device provided in the second embodiment of the present application. This electronic device, as the first electronic device, is an electronic device with a BIOS, such as a notebook, a computer, or a server, etc. The technical solution in this embodiment is mainly used to avoid the uncontrolled security risks brought by reinstalling the operating system in the electronic device to improve security.
[0149] Specifically, the first electronic device in this embodiment may include the following structure:
[0150] A controller 1101, such as a control module with an independent power supply voltage in a notebook or a server, or a processor such as a cpu or a PCH in a computer, is used to obtain a first instruction, where the first instruction is used to instruct the first electronic device to power on or restart; and obtain first verification information;
[0151] A BIOS 1102 is used to control the operating state of the first electronic device according to the first verification information, so as to provide functions matching the first verification information to the corresponding user;
[0152] Among them, the first verification information corresponding to different users may be the same or different.
[0153] As can be seen from the above technical solution, in an electronic device provided in the third embodiment of the present application, after obtaining a first instruction indicating the startup or restart of the first electronic device, a first verification information is obtained, and then the basic input / output system in the first electronic device controls the operating state of the first electronic device according to the first verification information. Furthermore, without relying on the operating system in the first electronic device, functions matching the first verification information can be provided to the corresponding user. It can be seen that in this embodiment, the state control of the electronic device does not depend on the operating system on the electronic device, but is implemented by the basic input / output system, and the basic input / output system will not be reinstalled. Therefore, the uncontrollable security risks brought by reinstalling the operating system can be avoided.
[0154] Taking a computer leased by a device provider to a user as an example, the technical solution in the present application will be described in detail as follows, as Figure 12 shown below:
[0155] First, an HTTPS module is added to the BIOS of the computer in the present application. After the user operates the computer to start up, the BIOS starts, and the HTTPS module therein is started, so that the BIOS can connect to the background server of the server provider through the HTTPS module and send the device identifier of the computer to the background server. The background server logs in using the device identifier of the computer such as the sn information, etc., and confirms the identity information of the computer, such as confirming whether the computer is within the valid usage period. If it is not overdue, that is, within the valid usage period, then the background server notifies the BIOS through the HTTPS module, and the BIOS continues to start and start the operating system of the computer to provide corresponding service functions for the user. If it is overdue, that is, not within the valid usage period, then the background server sends a payment QR code converted from the payment address to the computer, and the QR code is displayed on the computer to prompt the user to renew the fee. After the user completes the scan code payment, the background server detects that the computer has completed the payment. At this time, the background server notifies the BIOS through the HTTPS module, and the BIOS continues to start and start the operating system of the computer to provide corresponding service functions for the user. If it is overdue and the user does not scan the code to pay the fee, then the background server notifies the BIOS through the HTTPS module, and the BIOS shuts down the computer.
[0156] In addition, the background server can also directly send the payment QR code to the corresponding user mobile phone, pad or bracelet of the computer by means of short message or email. Or, after the background server sends the payment QR code to the computer for output, the user performs an operation of payment transfer on the computer, and the computer sends the payment QR code to the user mobile phone, pad or bracelet to prompt the user to renew the fee.
[0157] In this specification, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.
[0158] Those skilled in the art can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0159] The steps of the methods or algorithms described in combination with the embodiments disclosed herein can be directly implemented by hardware, software modules executed by a processor, or a combination of both. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.
[0160] The above description of the disclosed embodiments enables those skilled in the art to implement or use this application. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A control method, comprising: Obtaining a first instruction for instructing a first electronic device to power on or restart; Obtaining first verification information; Based on the first verification information, the basic input / output system of the first electronic device controls the operating state of the first electronic device to provide corresponding functions that match the first verification information to the corresponding user; Wherein, the first verification information corresponding to different users may be the same or different; Controlling the operating state of the first electronic device according to the first verification information includes at least one of the following: If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a first usage permission, controlling the first electronic device to enter a first operating state, in which the first electronic device can only provide relevant functions based on the basic input / output system; If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a second usage permission, controlling the first electronic device to enter a second operating state, in which the first electronic device can provide relevant functions based on the operating system; or, If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a third usage permission, controlling the first electronic device to enter a third operating state, in which the first electronic device can provide some relevant functions based on the operating system.
2. The method according to claim 1, wherein the basic input / output system of the first electronic device controls the operating state of the first electronic device according to the first verification information, further comprising: Establishing a communication connection between the first electronic device and a second electronic device through the basic input / output system of the first electronic device; Sending the first verification information to the second electronic device through the communication connection to control the operating state of the first electronic device according to the feedback information of the second electronic device.
3. The method according to claim 1, wherein the basic input / output system of the first electronic device controls the operating state of the first electronic device according to the first verification information, further comprising: Using a corresponding first verification rule to verify the first verification information by the basic input / output system in the first electronic device to obtain a first verification result; Controlling the operating state of the first electronic device according to the first verification result, and different first verification information corresponds to different first verification rules.
4. The method according to claim 1, 2 or 3, the method further comprising: Obtaining second verification information, where the second verification information at least includes the identity information of the current user; When the second verification information is successfully verified by a corresponding second verification rule, performing the step of controlling the operating state of the first electronic device by the basic input / output system according to the first verification information, where different identity information corresponds to different second verification rules; and / or, In the case where the second verification information fails to be verified by the corresponding second verification rule, an operation prompt for applying to use the first electronic device is output.
5. The method according to claim 1, 2 or 3, further comprising, according to the first verification information, controlling an operating state of the first electronic device: If the verification result corresponding to the first verification information indicates that the first electronic device is not within a preset valid usage period, controlling the first electronic device to output a payment prompt, and / or controlling a third electronic device to output a payment prompt from the first electronic device or the second electronic device; If the verification result corresponding to the first verification information indicates that the first electronic device is within the valid usage period, controlling the first electronic device to provide a function matching the verification result to the current user.
6. The method according to claim 1, 2 or 3, further comprising, according to the first verification information, controlling an operating state of the first electronic device: If the verification result corresponding to the first verification information indicates that the first electronic device is not within a preset valid geographical range, sending a location change request for obtaining the usage right of the first electronic device to the second electronic device or the third electronic device, so as to control the first electronic device to provide a function matching the request result after obtaining the corresponding request result.
7. The method according to claim 1, 2 or 3, further comprising, according to the first verification information, controlling an operating state of the first electronic device: If the verification result corresponding to the first verification information indicates that the first electronic device is accessed or used by at least two users, and the priorities corresponding to the at least two users are different, controlling the first electronic device to preferentially satisfy the access or use request of the user with a higher priority among the at least two users; or, If the verification result corresponding to the first verification information indicates that the first electronic device is accessed or used by at least two users, and the access or use requirements corresponding to the at least two users are different, controlling the first electronic device to preferentially satisfy the access or use request of the user whose usage information meets the conditions among the at least two users.
8. A control device, comprising: An instruction obtaining unit, configured to obtain a first instruction for instructing the first electronic device to power on or restart; An information obtaining unit, configured to obtain first verification information; A control triggering unit, configured to trigger a basic input / output system of the first electronic device, and control an operating state of the first electronic device according to the first verification information, so as to provide a function matching the first verification information to a corresponding user; wherein the first verification information corresponding to different users is the same or different; The control triggering unit is specifically configured to: If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a first usage right, controlling the first electronic device to enter a first operating state, and in the first operating state, the first electronic device can only provide relevant functions based on the basic input / output system; If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a second usage permission, control the first electronic device to enter a second operating state, in which the first electronic device can provide relevant functions based on the operating system; or, If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a third usage permission, control the first electronic device to enter a third operating state, in which the first electronic device can provide some relevant functions based on the operating system.
9. An electronic device, as the first electronic device, comprising: a controller, configured to obtain a first instruction for instructing the first electronic device to power on or restart; obtain first verification information; a basic input / output system, configured to control the operating state of the first electronic device according to the first verification information, so as to provide functions matching the first verification information to the corresponding user; wherein the first verification information corresponding to different users may be the same or different; the basic input / output system is specifically configured to: If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a first usage permission, control the first electronic device to enter a first operating state, in which the first electronic device can only provide relevant functions based on the basic input / output system; If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a second usage permission, control the first electronic device to enter a second operating state, in which the first electronic device can provide relevant functions based on the operating system; or, If the verification result corresponding to the first verification information indicates that the user of the first electronic device has a third usage permission, control the first electronic device to enter a third operating state, in which the first electronic device can provide some relevant functions based on the operating system.
Citation Information
Patent Citations
Information processing apparatus
CN101315656A
Start-up control method and electronic device using same
CN106096390A
Safe starting method and device of electronic equipment and electronic equipment
CN109960536A
Network controlled computer system security
US6484262B1