Information processing method and electronic equipment
By obtaining the identification information of and comparing the electronic equipment, and based on the configuration parameter configuration functional services of different security, the security problems caused by the changes in electronic equipment identification information are solved, and the safety of the equipment is improved.
Patent Information
- Application Number
- CN202411390741.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-21
AI Technical Summary
The identification information of electronic equipment is changed or damaged, resulting in data leakage and model changes and other security issues, and the security of electronic equipment cannot be guaranteed.
By obtaining the first identification information and the second identification information of the target component of the electronic device, and depending on whether the two are the same, the functional services of the electronic device are configured according to different configuration parameters. The second identification information is read from the target memory and has higher security.
It effectively prevents security problems caused by changes in identification information, ensures that the functional services of electronic equipment operate according to safe configuration parameters, and improves the safety of use of the equipment.
Smart Images

Figure CN119337381A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing technology, and in particular to an information processing method and electronic equipment. Background Art
[0002] Electronic devices have identification information that can identify them. If the identification information is changed or damaged by non-human factors, when the electronic device is started, if the functional services of the electronic device are configured according to the changed identification information, it will lead to security issues such as the data of the electronic device being stolen and the model of the electronic device being changed. This makes the safety of the use of the electronic device unguaranteed. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide an information processing method and an electronic device.
[0004] The embodiment of the present application adopts the following technical solution: an information processing method, applied to an electronic device, the method comprising:
[0005] Acquire first identification information of a target component of the electronic device;
[0006] When the first identification information is the same as the second identification information, configuring the functional service of the electronic device according to the first configuration parameter corresponding to the first identification information;
[0007] When the first identification information is different from the second identification information, the functional service of the electronic device is configured according to the second configuration parameter corresponding to the second identification information, the first configuration parameter is different from the second configuration parameter, and the second identification information is read from the target memory of the electronic device.
[0008] In some embodiments, the method further comprises:
[0009] Obtaining third identification information;
[0010] The third identification information is decrypted to obtain second identification information, and the second identification information is stored in the target memory, wherein the accessibility of the second identification information is greater than the accessibility of the third identification information.
[0011] In some embodiments, the obtaining of the third identification information includes:
[0012] Acquire the third identification information from a secure area of a first memory storing a basic input / output system, where the first memory and the target memory may be the same or different; or,
[0013] Acquire the third identification information from a second memory external to the electronic device; or,
[0014] The third identification information is obtained from a third memory of an electronic device that is communicatively connected to the electronic device.
[0015] In some embodiments, the method further comprises:
[0016] When the first identification information is the same as the second identification information, acquiring a plurality of first identification information at intervals;
[0017] In the case where the plurality of first identification information are the same, configuring the functional service of the electronic device according to the first configuration parameters corresponding to the first identification information;
[0018] In the case that the multiple first identification information are different, the functional service of the electronic device is configured according to the second configuration parameters corresponding to the second identification information.
[0019] In some embodiments, the method further comprises:
[0020] Acquire a first electrical parameter of a target component of the electronic device;
[0021] When the difference between the first electrical parameter and the second electrical parameter does not exceed a preset threshold, configuring the functional service of the electronic device according to the first configuration parameter corresponding to the first identification information;
[0022] When the difference between the first electrical parameter and the second electrical parameter exceeds a preset threshold, the functional service of the electronic device is configured according to a second configuration parameter corresponding to the second identification information, where the second electrical parameter is read from a target memory of the electronic device.
[0023] In some embodiments, configuring the functional service of the electronic device according to the second configuration parameter corresponding to the second identification information further includes:
[0024] storing the error information in a target memory of the electronic device;
[0025] The error information includes at least one of the following:
[0026] the first identification information being different from the second identification information;
[0027] The time when the first identification information is obtained.
[0028] In some embodiments, obtaining first identification information of a target component of the electronic device further includes:
[0029] Acquiring device status information of the electronic device;
[0030] When the electronic device is in the first state, the first identification information is stored in the target memory as second identification information.
[0031] In some embodiments, writing the first identification information as the second identification information into the target memory further includes at least one of the following:
[0032] Encrypting the second identification information to obtain third identification information, and storing the third identification information in a secure area of a first memory storing a basic input and output system;
[0033] encrypting the second identification information to obtain third identification information, and storing the third identification information in a second memory external to the electronic device;
[0034] The second identification information is encrypted to obtain third identification information, and the third identification information is transmitted to a third memory of an electronic device that has a communication connection with the electronic device.
[0035] The present application also provides an electronic device, including:
[0036] An acquisition module configured to acquire first identification information of a target component of the electronic device;
[0037] a configuration module configured to configure a functional service of the electronic device according to a first configuration parameter corresponding to the first identification information when the first identification information is the same as the second identification information;
[0038] When the first identification information is different from the second identification information, the functional service of the electronic device is configured according to the second configuration parameter corresponding to the second identification information; the first configuration parameter is different from the second configuration parameter, and the second identification information is read from the target memory of the electronic device.
[0039] In some embodiments, the electronic device further comprises:
[0040] a recording module configured to store error information in a target memory of the electronic device when the first identification information is different from the second identification information;
[0041] The error information includes at least one of the following:
[0042] the first identification information being different from the second identification information;
[0043] The time when the first identification information is obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0045] Figure 1 A flowchart of the information processing method for this application;
[0046] Figure 2 For this application Figure 1 A flowchart of one embodiment of step S20;
[0047] Figure 3 For this application Figure 1 A flowchart of another embodiment of step S20;
[0048] Figure 4 For this application Figure 1 A flowchart of one embodiment of step S10;
[0049] Figure 5 For this application Figure 1 A flowchart of another embodiment of step S10;
[0050] Figure 6 This is a structural block diagram of the electronic device for this application;
[0051] Figure 7 This is a structural block diagram of another embodiment of the electronic device of the present application. DETAILED DESCRIPTION
[0052] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0053] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of the embodiments. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0054] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0055] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0056] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.
[0057] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0058] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0059] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0060] An embodiment of the present application provides an information processing method, which is applied to an electronic device, which may be a mobile phone, a tablet computer, a laptop computer, a smart TV, a wearable device, etc.
[0061] For the motherboard of an electronic device, the motherboard can be a printed circuit board (PCB). The same printed circuit board can have different printed circuit board assemblies (PCBAs). The board identification code can be realized by selecting a set of general input and output pins, and setting the resistors corresponding to each pin as pull-up resistors and pull-down resistors as needed to distinguish between high and low levels, and then identify different signals, for example, when the level is high, it is identified as signal 1, and when the level is low, it is identified as signal 0. A set of binary digits can be formed by the identified signals to distinguish different printed circuit board assemblies. Multiple PCBAs can share the same basic input and output system. The basic input and output system can support electronic devices to run corresponding functions in different environments according to different board identification codes, and can also display different logos (Logos), so that the same printed circuit board can support multiple product brands of different grades. Different products support different functions.
[0062] Combination Figure 1 , the information processing method comprises the following steps:
[0063] S10, obtaining first identification information of a target component of the electronic device.
[0064] Exemplarily, the first identification information of the target component can be obtained from the target component of the electronic device by obtaining an instruction. For example, the target component can be a mainboard, and the mainboard can be a printed circuit board (PCB), and the PCB has the first identification information, and the first identification information can be used to identify the electronic device. The first identification information can be a string of numbers, letters, or a combination thereof. For example, the first identification information can be a board identification code, which is used to uniquely identify the electronic device. The board identification code can be used as key information for tracking, maintenance, inventory management, and possible safety measures for manufacturers.
[0065] S20: When the first identification information is the same as the second identification information, configure the functional service of the electronic device according to a first configuration parameter corresponding to the first identification information.
[0066] Exemplarily, after obtaining the first identification information of the target component of the electronic device, the first identification information is compared with the second identification information, and the first identification information may be the same as or different from the second identification information. According to the different comparison results, the functional service of the electronic device is configured accordingly.
[0067] For example, when the first identification information is the same as the second identification information, the functional service of the electronic device is configured according to the first configuration parameter that corresponds to the first identification information.
[0068] Continuing with the above embodiment, the first identification information is a board identification code, and the functional configuration items and configuration parameters of the basic input and output system corresponding to different board identification codes may be different. The second identification information is also used to identify the electronic device. The second identification information cannot be changed by malicious human modification or non-human damage like the first identification information. Among them, non-human damage includes but is not limited to hardware bumps or poor contact. Since the second identification information will not cause the information to change due to hardware problems, it is safer than the first identification information. Therefore, when the first identification information is the same as the second identification information, it can indicate that the first identification information of the electronic device has not changed, and the functional services of the electronic device can be configured according to the first configuration parameters corresponding to the first identification information.
[0069] S30, when the first identification information is different from the second identification information, configure the functional service of the electronic device according to the second configuration parameters corresponding to the second identification information, the first configuration parameters are different from the second configuration parameters, and the second identification information is read from the target memory of the electronic device.
[0070] Exemplarily, after comparing the first identification information with the second identification information, if the first identification information is different from the second identification information, it means that the board identification code of the electronic device may be changed. At this time, if the functional services of the electronic device continue to be configured according to the first configuration parameters corresponding to the first identification information, the model of the electronic device may be changed to another model, so that the person who modifies the first identification information can obtain some functions from the electronic device that the electronic device does not originally support, such as support for some management functions and support for application software, etc., which damages the interests of users of the electronic device and brings security risks.
[0071] Based on the above situation, when the first identification information is different from the second identification information, the functional services of the electronic device are configured according to the second configuration parameters corresponding to the second identification information, so that the electronic device can operate according to the second configuration parameters that comply with security.
[0072] It should be noted that the first identification information and the second identification information are obtained in different ways. The first identification information is obtained by directly identifying the hardware, while the second identification information is stored in the target memory. Therefore, the second identification information can be read from the target memory of the electronic device.
[0073] In some embodiments, in combination Figure 2 , the method further comprises:
[0074] S201, obtaining third identification information.
[0075] Exemplarily, the third representation information may be encrypted, and the encrypted third identification information may be stored in a selected location as required. The security of the encrypted third identification information is further guaranteed and is not prone to change.
[0076] S202, decrypt the third identification information to obtain second identification information, store the second identification information in the target memory, and the accessibility of the second identification information is greater than the accessibility of the third identification information.
[0077] Exemplarily, the acquired third identification information is decrypted, and the decrypted third identification information includes at least the second identification information. For example, the third identification information may include only information including the second identification information, or may include other information except the second identification information.
[0078] The second identification information obtained after decryption is stored in the target memory. When comparing the first identification information with the second identification information, the second identification information can be obtained from the target memory for comparison with the first identification information.
[0079] The accessibility of the second identification information is greater than that of the third identification information, that is, the third identification information is encrypted, and the third representation information can only be accessed if the decryption password of the third identification information is known, otherwise the third identification information cannot be accessed. The second identification information is obtained after the third identification information is decrypted, and the second identification information can be accessed without the need for access methods such as decryption passwords. Therefore, the accessibility of the second identification information is greater than that of the third identification information.
[0080] In some embodiments, the obtaining of the third identification information includes:
[0081] The third identification information is obtained from a secure area of a first memory storing a basic input / output system, and the first memory and the target memory may be the same or different.
[0082] Alternatively, the third identification information is obtained from a second memory externally connected to the electronic device.
[0083] Or, the third identification information is obtained from a third memory of an electronic device that has a communication connection with the electronic device.
[0084] Exemplarily, the third identification information can be stored in different locations as needed. For example, the third identification information can be stored in a secure area of the first memory storing the basic input and output system. The secure area can be the target memory, or other memory, or other secure storage device. When it is necessary to access the content of the secure area of the first storage area, signature verification or password verification is required. Only by passing the verification can the access qualification to the secure area of the first storage be obtained. Therefore, the secure area of the first storage can protect the third identification information more securely.
[0085] Alternatively, the third identification information can also be stored in a second memory, wherein the second memory can be connected to the electronic device as an external device of the electronic device. For example, the second memory can be, but is not limited to, a USB flash drive, a mechanical hard disk, an SD card, a solid-state hard disk, an optical disk, etc. When the third identification information needs to be obtained, the second memory can be connected to the electronic device, and when the third identification information does not need to be obtained, the second memory can be removed from the electronic device. This can further ensure the security of the third identification information and prevent the third identification information from being easily obtained.
[0086] Alternatively, the third identification information may be stored in a third memory, which is a memory capable of communicating with the electronic device. For example, the third memory may be a network storage device, which is a storage device connected to a local area network or a wide area network. It may provide centralized data storage and sharing functions, and files may be accessed and managed over the network. It may have a large storage capacity and support a variety of file protocols and remote access methods, such as FTP, SMB, Web access, etc. More specifically, the third memory may be a network disk, a cloud disk, etc.
[0087] In some embodiments, in combination Figure 3 , the method further comprises:
[0088] S203: When the first identification information is the same as the second identification information, obtain multiple first identification information at intervals.
[0089] Exemplarily, when the first identification information is the same as the second identification information, a request instruction for obtaining the first identification information is sent once every 1 second, and the first identification information can be obtained once in response to the request instruction each time. In this way, the request instruction for obtaining the first identification information can be sent cyclically to continuously obtain multiple first identification information.
[0090] The total duration of sending the acquisition request instruction can be set. For example, within 5 seconds, the above acquisition request instruction is sent once every 1 second, and a total of 5 first identification information are acquired within 5 seconds. Of course, it can be understood that the interval time and the total duration of sending the acquisition request instruction can be set according to actual needs. This is only used as an example and does not constitute a limitation on the scope of protection of the claims.
[0091] S204: When multiple pieces of first identification information are the same, configure the functional service of the electronic device according to first configuration parameters corresponding to the first identification information.
[0092] Exemplarily, after obtaining multiple first identification information in step S203, the obtained multiple first identification information can be compared. If the multiple first identification information are the same, it means that the first identification information has not changed, thereby avoiding the phenomenon of poor contact of the pull-up resistor or the pull-down resistor. The functional service of the electronic device can be configured according to the first configuration parameter corresponding to the first identification information.
[0093] Alternatively, the obtained multiple first identification information can be compared with the second identification information respectively. When the multiple first identification information are respectively the same as the second identification information, it means that the first identification information has not changed, and the functional services of the electronic device can be configured according to the first configuration parameters corresponding to the first identification information.
[0094] S205: When the plurality of first identification information are different, configure the functional service of the electronic device according to the second configuration parameters corresponding to the second identification information.
[0095] Exemplarily, continuing with the above-mentioned embodiment, after obtaining multiple first identification information through step S203, the multiple first identification information obtained can be compared. When at least one of the obtained first identification information is different from the other first identification information, it indicates that the first identification information may have changed. At this time, the functional services of the electronic device can no longer be configured according to the first configuration parameters corresponding to the first identification information, but the functional services of the electronic device must be configured according to the second configuration parameters corresponding to the second identification information.
[0096] Alternatively, the multiple first identification information obtained can be compared with the second identification information respectively. When at least one of the first identification information is different from the second identification information, it means that the first identification information may have changed. At this time, the functional services of the electronic device can no longer be configured according to the first configuration parameters corresponding to the first identification information, but the functional services of the electronic device must be configured according to the second configuration parameters corresponding to the second identification information.
[0097] Compared to configuring the functional services of the electronic device according to the corresponding configuration parameters after only comparing one first identification information with the second identification information, the above embodiment obtains multiple first identification information at intervals, determines whether the multiple first identification information obtained are the same, and determines the configuration parameters of the functional services of the electronic device according to the comparison results of the multiple first identification information, which can further ensure the security of the electronic device configuration.
[0098] In some embodiments, in combination Figure 4 , the method further comprises:
[0099] S101, obtaining a first electrical parameter of a target component of the electronic device.
[0100] Exemplarily, in combination with the above embodiment, the target component may be a PCB board, and the current and / or voltage value of the PCB board of the electronic device may be obtained. For example, the current and / or voltage value of the PCB board may be obtained by, but is not limited to, a current probe, an oscilloscope, circuit simulation software, etc.
[0101] It should be noted that the first electrical parameter can reflect the change of the first identification information. For example, if the motherboard identification information is changed maliciously, the pull-up resistor and the pull-down resistor of the corresponding pin will be replaced. However, if the replaced resistor has a different resistance value from the original one, the current and voltage will be inconsistent with the original one. By identifying the first electrical parameter, the above situation can be identified.
[0102] S102: When the difference between the first electrical parameter and the second electrical parameter does not exceed a preset threshold, configure a functional service of the electronic device according to a first configuration parameter corresponding to the first identification information.
[0103] Exemplarily, the acquired first electrical parameter is compared with the second electrical parameter, and the configuration parameters of the functional service of the electronic device are determined according to the comparison result.
[0104] For example, the difference between the first electrical parameter and the second electrical parameter can be calculated. When the difference between the first electrical parameter and the second electrical parameter does not exceed a preset threshold, it indicates that the first identification information has not changed, and the functional service of the electronic device can be configured according to the first configuration parameter corresponding to the first identification information.
[0105] It should be noted here that the first electrical parameter is different from the second electrical parameter, but the difference between the two is small, and the difference between the two is within the preset threshold range. In this case, the difference between the first electrical parameter and the second electrical parameter may be an error caused by the measurement method or the measurement tool, rather than a change in the first electrical parameter caused by a change in the first identification information. Therefore, the functional service of the electronic device can be configured according to the first configuration parameter corresponding to the first identification information.
[0106] S103: When the difference between the first electrical parameter and the second electrical parameter exceeds a preset threshold, configure the functional service of the electronic device according to the second configuration parameter corresponding to the second identification information, where the second electrical parameter is read from the target memory of the electronic device.
[0107] Exemplarily, in combination with the above embodiment, the acquired first electrical parameter is compared with the second electrical parameter, and the configuration parameters of the functional service of the electronic device are determined according to the comparison result.
[0108] For example, when the difference between the first electrical parameter and the second electrical parameter exceeds a preset threshold, it indicates that the first identification information may have changed. In this case, the functional services of the electronic device cannot be configured according to the first configuration parameters corresponding to the first identification information, but must be configured according to the second configuration parameters corresponding to the second identification information.
[0109] The second electrical parameter can be read from the target memory of the electronic device, and the second electrical parameter is used as a measure of the change of the first electrical parameter. The second electrical parameter can be stored in the target memory by encryption or other means. After obtaining the first electrical parameter, the encrypted second electrical parameter stored in the target memory can be decrypted, and then the first electrical parameter is compared with the second electrical parameter.
[0110] When the second electrical parameter is current, the first electrical parameter obtained also corresponds to current; when the second electrical parameter is voltage, the first electrical parameter obtained also corresponds to voltage. Of course, the second electrical parameter has been set to current and voltage, and the first electrical parameter is current and voltage, and the current and voltage corresponding to the first electrical parameter obtained are compared with the current and voltage of the second electrical parameter.
[0111] In some embodiments, configuring the functional service of the electronic device according to the second configuration parameter corresponding to the second identification information further includes:
[0112] The error information is stored in a target memory of the electronic device.
[0113] The error information includes at least one of the following:
[0114] the first identification information being different from the second identification information;
[0115] The time when the first identification information is obtained.
[0116] Exemplarily, configuring the functional services of the electronic device according to the second configuration parameters corresponding to the second identification information indicates that the first identification information has changed and corresponding error information has appeared in the electronic device. In order to remind the user or facilitate subsequent maintenance, the corresponding error information can be stored in the target memory of the electronic device.
[0117] Here, the error information may include at least first identification information different from the second identification information, and / or the time when the first identification information was obtained. In the subsequent maintenance process, it is convenient for maintenance personnel to obtain the above error information and determine the maintenance plan for the electronic device more quickly based on the above error information. In addition, users can also make corresponding protective measures for the above error information based on their own needs, strengthen the protection of the corresponding time and corresponding location, and further improve the safety of the electronic device.
[0118] In some embodiments, in combination Figure 5 , obtaining first identification information of a target component of the electronic device, further comprising:
[0119] S104: Acquire device status information of the electronic device.
[0120] For example, the electronic device may be powered on first, and then the device status information of the electronic device may be obtained. The device status information includes whether the device is in factory mode or factory mode (or user mode), wherein the factory mode indicates that the electronic device is still in the production or testing stage in the factory and has not yet been put into use on the market. The factory mode indicates that the electronic device has completed production and testing.
[0121] For example, the basic input and output system can determine the current device mode of the electronic device by reading the board identification code of the current target component.
[0122] S105: When the electronic device is in the first state, store the first identification information as second identification information in the target memory.
[0123] Exemplarily, when the electronic device is in the first state, which may be the state of the factory mode, the first identification information has not been changed, and therefore, the first identification information may be stored in the target memory as the second identification information, so that the second identification information is used as a criterion for judging whether the first identification information has been changed. For example, the basic input and output system may directly store the first identification information as the second identification information in the target memory; or, encrypt the first identification information as the second identification information, and store the encrypted second identification information in the target memory.
[0124] After performing the above operations, the electronic device can be started normally, thereby avoiding the possibility that the first identification information is changed after the electronic device is started.
[0125] In some embodiments, writing the first identification information as the second identification information into the target memory further includes at least one of the following:
[0126] The second identification information is encrypted to obtain third identification information, and the third identification information is stored in a secure area of the first memory storing the basic input and output system.
[0127] The second identification information is encrypted to obtain third identification information, and the third identification information is stored in a second memory externally connected to the electronic device.
[0128] The second identification information is encrypted to obtain third identification information, and the third identification information is transmitted to a third memory of an electronic device that has a communication connection with the electronic device.
[0129] Exemplarily, in order to improve the security of the second identification information, the second identification information may be encrypted, and the encrypted second identification information is the third identification information.
[0130] One storage method of the third identification information is to store the third identification information in a secure area of the first memory storing the basic input / output system. For example, the third identification information can be stored in a read-only memory of an embedded controller. This storage method facilitates the rapid acquisition of the third identification information directly from the secure area of the first memory storing the basic input / output system when comparing the first identification information with the second identification information, and decrypts the third identification information to obtain the second identification information.
[0131] The second storage method of the third identification information is: the third identification information is stored in a second memory external to the electronic device. Among them, the second memory can be connected to the electronic device as an external device of the electronic device. For example, the second memory can be but not limited to a USB flash drive, a mechanical hard disk, an SD card, a solid-state hard disk, an optical disk, etc. When the third identification information needs to be obtained, the second memory can be connected to the electronic device, and when the third identification information does not need to be obtained, the second memory can be removed from the electronic device. This can further ensure the security of the third identification information and prevent the third identification information from being easily obtained.
[0132] The third storage method of the third identification information is: the third identification information is transmitted to a third memory of the electronic device that is communicatively connected to the electronic device. The third identification information can be stored in a third memory, and the third memory is a memory that can be communicatively connected to the electronic device. For example, the third memory can be a network storage device, which is a storage device connected to a local area network or a wide area network. It can provide centralized data storage and sharing functions, and files can be accessed and managed through the network. It has a large storage capacity and supports multiple file protocols and remote access methods, such as FTP, SMB, Web access, etc. More specifically, the third memory can be a network disk, a cloud disk, etc.
[0133] An embodiment of the present application also provides an electronic device, which may be a mobile phone, a tablet computer, a laptop computer, a smart TV, a wearable device, etc.
[0134] Combination Figure 6 , the electronic device may include an acquisition module and a configuration module.
[0135] The acquisition module may be configured to acquire first identification information of a target component of the electronic device.
[0136] Exemplarily, the acquisition module may issue an acquisition instruction, and may acquire the first identification information of the target component from the target component of the electronic device through the acquisition instruction. For example, the target component may be a mainboard, and the mainboard may be a printed circuit board, and the PCB has the first identification information, and the first identification information may be used to identify the electronic device. The first identification information may be a string of numbers, letters, or a combination thereof. For example, the first identification information may be a board identification code, which is used to uniquely identify the electronic device. The board identification code may be used as key information for tracking, maintenance, inventory management, and possible safety measures for manufacturers.
[0137] The configuration module may be configured to configure the functional service of the electronic device according to a first configuration parameter corresponding to the first identification information when the first identification information is the same as the second identification information.
[0138] When the first identification information is different from the second identification information, the functional service of the electronic device is configured according to the second configuration parameter corresponding to the second identification information; the first configuration parameter is different from the second configuration parameter, and the second identification information is read from the target memory of the electronic device.
[0139] Exemplarily, after obtaining the first identification information of the target component of the electronic device, the first identification information is compared with the second identification information, and the first identification information may be the same as or different from the second identification information. According to the different comparison results, the functional service of the electronic device is configured accordingly.
[0140] For example, when the first identification information is the same as the second identification information, the functional service of the electronic device is configured according to the first configuration parameter that corresponds to the first identification information.
[0141] Continuing with the above embodiment, the first identification information is a board identification code, and the functional configuration items and configuration parameters of the basic input and output system corresponding to different board identification codes may be different. The second identification information is also used to identify the electronic device. The second identification information cannot be changed by malicious human modification or non-human damage like the first identification information. Among them, non-human damage includes but is not limited to hardware bumps or poor contact. Since the second identification information will not cause the information to change due to hardware problems, it is safer than the first identification information. Therefore, when the first identification information is the same as the second identification information, it can indicate that the first identification information of the electronic device has not changed, and the functional services of the electronic device can be configured according to the first configuration parameters corresponding to the first identification information.
[0142] After comparing the first identification information with the second identification information, if the first identification information is different from the second identification information, it means that the board identification code of the electronic device may have changed. At this time, if the functional services of the electronic device continue to be configured according to the first configuration parameters corresponding to the first identification information, the model of the electronic device may be changed to another model, so that the person who modifies the first identification information can obtain some functions from the electronic device that the electronic device does not originally support, such as support for some management functions and support for application software, etc., which damages the interests of users of the electronic device and brings security risks.
[0143] Based on the above situation, when the first identification information is different from the second identification information, the functional services of the electronic device are configured according to the second configuration parameters corresponding to the second identification information, so that the electronic device can operate according to the second configuration parameters that comply with security.
[0144] It should be noted that the first identification information and the second identification information are obtained in different ways. The first identification information is obtained by directly identifying the hardware, while the second identification information is stored in the target memory. Therefore, the second identification information can be read from the target memory of the electronic device.
[0145] In some embodiments, in combination Figure 7 , the electronic device also includes a recording module.
[0146] The recording module may be configured to store error information in a target memory of the electronic device when the first identification information is different from the second identification information.
[0147] The error information includes at least one of the following:
[0148] the first identification information being different from the second identification information;
[0149] The time when the first identification information is obtained.
[0150] Exemplarily, configuring the functional services of the electronic device according to the second configuration parameters corresponding to the second identification information indicates that the first identification information has changed and corresponding error information has appeared in the electronic device. In order to remind the user or facilitate subsequent maintenance, the corresponding error information can be stored in the target memory of the electronic device.
[0151] Here, the error information may include at least first identification information different from the second identification information, and / or the time when the first identification information was obtained. In the subsequent maintenance process, it is convenient for maintenance personnel to obtain the above error information and determine the maintenance plan for the electronic device more quickly based on the above error information. In addition, users can also make corresponding protective measures for the above error information based on their own needs, strengthen the protection of the corresponding time and corresponding location, and further improve the safety of the electronic device.
[0152] By comparing the first identification information of the target component of the electronic device with the second identification information, and configuring the functional services of the electronic device according to the comparison result, the electronic device can achieve dual authentication protection of the board card identification code through hardware and software, thereby ensuring the safe use of the electronic device.
[0153] Multiple embodiments of the present application are described in detail above, but the present application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present application, and these variations and modifications should all fall within the scope of protection required by the present application.
Claims
1. An information processing method, applied to an electronic device, comprising: Acquire first identification information of a target component of the electronic device; When the first identification information is the same as the second identification information, configuring the functional service of the electronic device according to the first configuration parameter corresponding to the first identification information; When the first identification information is different from the second identification information, the functional service of the electronic device is configured according to the second configuration parameters corresponding to the second identification information, the first configuration parameters are different from the second configuration parameters, and the second identification information is read from the target memory of the electronic device.
2. The information processing method according to claim 1, further comprising: Obtaining third identification information; The third identification information is decrypted to obtain second identification information, and the second identification information is stored in the target memory, wherein the accessibility of the second identification information is greater than the accessibility of the third identification information.
3. The information processing method according to claim 2, wherein obtaining the third identification information comprises: Acquire the third identification information from a secure area of a first memory storing a basic input and output system, where the first memory and the target memory may be the same or different; or, Acquire the third identification information from a second memory external to the electronic device; or, The third identification information is obtained from a third memory of an electronic device that is communicatively connected to the electronic device.
4. The information processing method according to claim 1, further comprising: When the first identification information is the same as the second identification information, acquiring a plurality of first identification information at intervals; In the case where the plurality of first identification information are the same, configuring the functional service of the electronic device according to the first configuration parameters corresponding to the first identification information; In the case that the multiple first identification information are different, the functional service of the electronic device is configured according to the second configuration parameters corresponding to the second identification information.
5. The information processing method according to claim 1, further comprising: Acquire a first electrical parameter of a target component of the electronic device; When the difference between the first electrical parameter and the second electrical parameter does not exceed a preset threshold, configuring the functional service of the electronic device according to the first configuration parameter corresponding to the first identification information; When the difference between the first electrical parameter and the second electrical parameter exceeds a preset threshold, the functional service of the electronic device is configured according to a second configuration parameter corresponding to the second identification information, where the second electrical parameter is read from a target memory of the electronic device.
6. The information processing method according to claim 1, configuring the functional service of the electronic device according to the second configuration parameter corresponding to the second identification information, further comprising: storing the error information in a target memory of the electronic device; The error information includes at least one of the following: the first identification information being different from the second identification information; The time when the first identification information is obtained.
7. The information processing method according to claim 1, acquiring the first identification information of the target component of the electronic device, further comprising: Acquiring device status information of the electronic device; When the electronic device is in the first state, the first identification information is stored in the target memory as second identification information.
8. The information processing method according to claim 7, wherein the step of writing the first identification information into the target memory as the second identification information further comprises at least one of the following: Encrypting the second identification information to obtain third identification information, and storing the third identification information in a secure area of a first memory storing a basic input and output system; encrypting the second identification information to obtain third identification information, and storing the third identification information in a second memory external to the electronic device; The second identification information is encrypted to obtain third identification information, and the third identification information is transmitted to a third memory of an electronic device that has a communication connection with the electronic device.
9. An electronic device, comprising: An acquisition module configured to acquire first identification information of a target component of the electronic device; a configuration module configured to configure a functional service of the electronic device according to a first configuration parameter corresponding to the first identification information when the first identification information is the same as the second identification information; When the first identification information is different from the second identification information, the functional service of the electronic device is configured according to the second configuration parameter corresponding to the second identification information; the first configuration parameter is different from the second configuration parameter, and the second identification information is read from the target memory of the electronic device.
10. The electronic device according to claim 9, further comprising: a recording module configured to store error information in a target memory of the electronic device when the first identification information is different from the second identification information; The error information includes at least one of the following: the first identification information being different from the second identification information; The time when the first identification information is obtained.