Electronic device and processing method

By introducing functional modules and processing modules into electronic devices, the problem of limited functions of electronic devices is solved, the function expansion and enhancement of data devices is achieved, user privacy is protected, and abnormal status is monitored and handled, meeting user needs.

CN114416623BActive Publication Date: 2024-11-26LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111672948.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-11-26
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Due to the thin and small size, existing electronic devices are limited in functions and cannot meet user needs, especially in terms of expansion and enhancement of data equipment functions.

Method used

Provide an electronic device, including a first interface for connecting the data device, and the functional module is used to provide functional expansion or enhancement, and realizes functional expansion and enhancement of the data device by processing the module and the functional module to transmit data, and at the same time, it adopts The password information matching mechanism protects user privacy, and monitors the status of the functional module through the processing module to determine its working status.

Benefits of technology

It realizes providing more richer and more advanced functions for data devices, enhances the display effect and peripheral connection capabilities of data devices, and protects user privacy, reduces energy consumption, and promptly monitors and handles abnormal states of functional modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114416623B_ABST
    Figure CN114416623B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides an electronic device and a processing method, wherein the electronic device includes: a first interface for connecting a data device; a functional module for providing functional expansion or enhancement for the data device through the first interface; and a processing module, at least connected to the functional module, for transmitting second data with the functional module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to an electronic device and a processing method. Background Art

[0002] In the related art, as data devices (such as mobile phones and notebooks) become thinner and smaller, their functions or capabilities are limited and cannot meet user needs. Summary of the invention

[0003] In view of this, an embodiment of the present application provides an electronic device and a processing method.

[0004] In a first aspect, an embodiment of the present application provides an electronic device, including:

[0005] A first interface, used for connecting a data device;

[0006] A function module, used for providing function expansion or enhancement for the data device through the first interface;

[0007] The processing module is at least connected to the functional module and is used to transmit second data with the functional module.

[0008] In a second aspect, an embodiment of the present application provides a processing method, including:

[0009] Using a processing module to receive first password information sent by a data device;

[0010] In the case where the first password information matches the second password information of the electronic device, second data is generated and sent to the first storage module to enable the first storage module.

[0011] In some embodiments, the data device is connected to an electronic device via a first interface, and the electronic device includes the first interface, the processing module and the first storage module; the second password information is bound to the identification information of the electronic device and stored in a second storage module in the electronic device.

[0012] In a third aspect, the present application provides a processing method, including:

[0013] Using the processing module to monitor the state of the functional module, and transmitting second data representing the state to the processing module;

[0014] In some embodiments, the functional module is used to provide functional expansion or enhancement for the data device, the data device is connected to the electronic device via a first interface, and the electronic device includes the first interface, the processing module, the functional module and the processing module.

[0015] The processing module is used to determine the working status of the functional module based on the second data.

[0016] In an embodiment of the present application, the electronic device includes: a first interface for connecting a data device; a functional module for providing functional expansion or enhancement for the data device through the first interface; a processing module, at least connected to the functional module, for transmitting second data with the functional module; in this way, richer and more advanced functions can be provided for the data device. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0019] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0020] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0021] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0022] Figure 6 A schematic diagram of the structure of a docking station provided in an embodiment of the present application;

[0023] Figure 7 A schematic diagram of the structure of a docking station provided in an embodiment of the present application;

[0024] Figure 8 A schematic diagram of the structure of a docking station provided in an embodiment of the present application;

[0025] Fig. 9 A schematic diagram of an implementation flow of a processing method provided in an embodiment of the present application;

[0026] Fig.10 A schematic diagram of an implementation flow of a processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The technical solution of the present application is further described in detail below with reference to the accompanying drawings and embodiments.

[0028] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the electronic device 100 includes:

[0029] The first interface 101 is used to connect to a data device.

[0030] In some embodiments, the first interface 101 may be a USB Type-C interface.

[0031] In some embodiments, the data device is capable of transmitting data with the electronic device 100; specifically, the data device can be a mobile phone, a tablet computer, a computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensor device, etc.; obviously, the data device also has an interface for connecting to the first interface 101 of the electronic device 100.

[0032] The function module 102 is used to provide function expansion or enhancement for the data device through the first interface 101 .

[0033] In some embodiments, expansion means that the data device does not have something that the electronic device has, such as some interfaces. In this way, the electronic device can expand the interface of the data device through these interfaces, allowing the data device to connect to more external devices (such as a power adapter, network cable, mouse, external keyboard, printer, and external display).

[0034] In some embodiments, enhancement means that the data device has, but the electronic device has a better one, such as a graphics card. In this way, the electronic device can provide better display services for the data device through the graphics card, so that the display effect of the data device is better.

[0035] In some embodiments, the functional module 102 includes at least a functional module 301 that can provide various functions for the data device, such as: a second interface, a storage module, a charging module, a power module, a graphics card, a peripheral identity information collection module, etc.

[0036] In some embodiments, when the electronic device 100 is provided with a storage module, the data device can perform data transmission with the electronic device 100. When the electronic device 100 is provided with a charging module, the electronic device 100 can power the data device through the mains. When the electronic device 100 is provided with a power module, the electronic device 100 can power the data device. When the electronic device 100 is provided with a graphics card, the electronic device can provide better display services for the data device through the graphics card, so that the display effect of the data device is better. When the electronic device 100 is provided with a peripheral identity information collection module, the data device can obtain the identity information of other devices connected to the electronic device 100.

[0037] The processing module 103 is at least connected to the functional module 102 and is used to transmit second data to the functional module 102 .

[0038] In some embodiments, the function of the processing module 103 is to manage and control the electronic device 100 . For example, the processing module 103 may be a microcontroller unit (MCU).

[0039] In some embodiments, the second data may be related information of the functional module 301, such as information indicating whether the charging module is working properly, information indicating whether the power module is abnormal, information indicating the working mode of the display module, etc. The second data may also be control information.

[0040] In some embodiments, the functional module 102 may transmit the relevant information of the functional module 301 to the processing module 103 , and the processing module 103 may also transmit the control information to the functional module 102 .

[0041] In an embodiment of the present application, the electronic device 100 includes: a first interface 101, used to connect a data device; a functional module 102, used to provide functional expansion or enhancement for the data device through the first interface 101; a processing module 103, at least connected to the functional module 102, and used to transmit second data to the functional module 102; in this way, richer and more advanced functions can be provided for the data device.

[0042] In some embodiments, the functional module 102 may include a first storage module 201, Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the processing module 103 is also used for:

[0043] First, first password information transmitted by the data device is received.

[0044] In some embodiments, when the data device is replaced and / or the hard disk is retained, in order to avoid leakage of user privacy, user information is protected based on the first password information, and the user is granted permission to use the electronic device if the first password information is correct.

[0045] In some embodiments, the function of the first storage module 201 is to perform data transmission with a data device, for example, the data device stores data in the first storage module 201, the data device reads data from the first storage module 201, and of course, the data device can also edit the data stored in the first storage module 201. Here, the first storage module 201 can be a hard disk.

[0046] In some embodiments, the first password information is used to decrypt the electronic device 100 and / or the first storage module 201, etc.

[0047] In some embodiments, the first password information may be a user input data device, and therefore, the first password information may decrypt the electronic device 100 or the first storage module 201; or may not be able to decrypt the electronic device 100 or the first storage module 201. Here, the first password information generally refers to all password information of the user input data device.

[0048] Secondly, when the first password information matches the second password information, the second data is generated and transmitted to the first storage module 201 to enable the first storage module 201 .

[0049] In some embodiments, the second password information is bound to the identification information of the electronic device 100 and stored in a second storage module 202 in the electronic device 100; the first storage module 201 is different from the second storage module 202.

[0050] In some embodiments, the second password information is used to encrypt the electronic device 100 and / or the first storage module 201, etc.

[0051] In some embodiments, when the electronic device 100 is in use, the data device reads the identification information of the electronic device 100, and thus stores the identification information of the electronic device 100 in conjunction with the second password information; in this way, when the data device reads the identification information, it can also read the second password information; and then, the password verification mechanism is triggered, and a password verification box pops up in the data device to prompt the user to enter the first password information.

[0052] In some embodiments, the second password information and identification information can be stored in a second storage module 202 in the electronic device 100 that is different from the first storage module 201; in this way, when the second password information encrypts the first storage module 201, the reading and encryption of the second password information do not conflict.

[0053] In some embodiments, before the electronic device 100 leaves the factory, an initial password is pre-set, and the initial password is stored in the electronic device 100, and is attached to the electronic device 100 when it leaves the factory, and finally reaches the user. Of course, the user can modify the initial password. Here, the second password information generally refers to all password information stored in the electronic device 100.

[0054] In some embodiments, the second data may include an enable signal; when the first password information matches the second password information, the second data is generated and the second data is transmitted to the first storage module 201; that is, when the first password information matches the second password information, the enable signal is generated and the enable signal is transmitted to the first storage module 201.

[0055] In an embodiment of the present application, the functional module 102 includes a first storage module 201; the processing module 103 is also used to: receive first password information transmitted by the data device; when the first password information matches the second password information, generate the second data, and transmit the second data to the first storage module 201 to enable the first storage module 201; wherein the second password information is bound to the identification information of the electronic device 100 and stored in the second storage module 202 in the electronic device 100; in this way, when the first password information input by the user matches the second password information stored in the electronic device 100, an enable signal can be generated to enable the second storage module 202, thereby adding a layer of protection barrier to the enabling of the first storage module 201.

[0056] In some embodiments, the second data may also be generated based on the user's selection of the enabling candidate information, and the processing module 103 is further used to:

[0057] First, in a case where the first password information matches the second password information, enabling candidate information is sent to the data device.

[0058] In some embodiments, the enabling candidate information includes: Enable and Disable, and the user can choose between Enable and Disable.

[0059] In some embodiments, when the second password information encrypts the electronic device 100 and the first storage module 201, the user may not use the electronic device 100 to use the first storage module 201. At this time, in order to reduce energy consumption, when the first password information matches the second password information, the enabling candidate information is sent to the data device to determine whether the user enables the first storage module 201.

[0060] Secondly, in response to the second data sent by the data device based on the enabling candidate information, the first storage module 201 is enabled.

[0061] In some embodiments, when the data device receives a selection of "allow" in the enablement candidate information, it generates second data (enable signal) to enable the first storage module 201; in this way, when the user does not use the first storage module 201, the first storage module 201 remains in an unavailable state, which can reduce energy consumption.

[0062] In an embodiment of the present application, the processing module 103 is also used to: send enabling candidate information to the data device when the first password information matches the second password information; enable the first storage module 201 in response to the second data sent by the data device based on the enabling candidate information; in this way, when the user does not use the first storage module 201, the first storage module 201 is kept in an unavailable state, thereby reducing energy consumption.

[0063] In some embodiments, when the user modifies the password, the modified password is used to replace the second password. The processing module 103 is further used to:

[0064] When the third password information modified from the second password information is received, the third password information is used to replace the second password information and is bound to the identification information of the electronic device 100 .

[0065] In some embodiments, the electronic device 100 can use the modified third password to replace the second password information before modification, and bind the modified third password information with the identification information, and store them in the second storage module 202.

[0066] In some embodiments, the functional module 102 may include a functional module 301 and a processing module 302. Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 3 As shown:

[0067] Function module 301 is used to provide function expansion or enhancement for the data device.

[0068] The processing module 302 is used to monitor the state of the functional module 301 and transmit second data representing the state to the processing module 103 .

[0069] Here, the processing module 103 is used to determine the working status of the functional module 301 based on the second data.

[0070] In some embodiments, the functional module 102 includes a functional module 301 that provides functional expansion or enhancement for the data device, and a processing module 302 that monitors the functional module 301; for example: when the functional module 301 is a battery, the processing module 302 is a power management chip; when the functional module 301 is a charging circuit, the processing module 302 is a charging control chip, etc.

[0071] In some embodiments, one processing module 302 can monitor multiple functional modules 301 , for example, the processing module 302 can monitor a charging module, a power module, a display module, a peripheral identity collection module, etc. at the same time.

[0072] In some embodiments, the second data may be an indication signal representing a state, such as a high level signal and a low level signal of a power module, and an output of a charging circuit.

[0073] In some embodiments, the working status may be whether the functional module 301 fails, for example: a high-level signal from the power module indicates that the working status of the power module is normal, and a low-level signal indicates that the working status of the power module fails; the output voltage or current of the charging circuit is within the standard range, indicating that the working status is normal, otherwise, it indicates that the working status fails.

[0074] In some embodiments, based on the second data, the working state of the functional module 301 is determined. The second data can be identified or judged by pre-establishing a mapping table or a judgment mechanism to determine the working state of the functional module 301; for example: establishing a mapping table between the indication signal and the working state, and establishing a judgment mechanism for whether the output voltage or current is within the standard range.

[0075] In an embodiment of the present application, the functional module 102 includes: a functional module 301, which is used to provide functional expansion or enhancement for the data device; and a processing module 302, which is used to monitor the state of the functional module 301 and transmit the second data representing the state to the processing module 103; wherein the processing module 103 is used to determine the working state of the functional module 301 based on the second data; in this way, the processing module 103 can determine whether the functional module 301 fails through the second data transmitted by the processing module 302; further, the failure information can be fed back to the data device to prompt the user to take corresponding repair measures.

[0076] In some embodiments, the functional module 301 may include a first type functional module 401 and a second type functional module 402. Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown:

[0077] The processing module 302 is used to transmit the second data of the first-category functional module 401 in a first manner, and to transmit the second data of the second-category functional module 402 in a second manner; the first manner and the second manner are different.

[0078] In some embodiments, the first type of functional module 401 may be a functional module 301 of relatively high importance; and the second type of functional module 402 may be a functional module 301 of relatively low importance.

[0079] In some embodiments, the degree of importance can be determined based on the degree of impact on the use of the electronic device 100 when an abnormality occurs in the module, wherein the greater the impact on the use of the electronic device 100 when an abnormality occurs in the module, the higher the degree of importance; conversely, the lower the degree of importance; for example: when an abnormality occurs in modules such as the charging module and the power module, the impact on the use of the electronic device 100 is relatively large, then these modules are defined as first-category functional modules 401; when an abnormality occurs in modules such as the peripheral identity information collection module, the impact on the use of the electronic device 100 is relatively small, then these modules are defined as second-category functional modules 402.

[0080] In some embodiments, the first method is different from the second method; thus, the second data of the first type functional module 401 is transmitted in the first method, and the second data of the second type functional module 402 is transmitted in the second method. Exceptions that seriously affect usage can be handled in a timely manner, while exceptions that have little impact on usage can be temporarily not handled, thereby achieving rational use of resources.

[0081] In the embodiment of the present application, the functional module 301 includes: a first type functional module 401 and a second type functional module 402;

[0082] Among them, the processing module 302 is used to transmit the second data of the first-type functional module 401 in a first manner, and to transmit the second data of the second-type functional module 402 in a second manner; the first manner and the second manner are different; in this way, anomalies that seriously affect use can be handled in a timely manner, while anomalies that slightly affect use can be temporarily not handled, thereby achieving rational use of resources.

[0083] In some embodiments, the second data of the first type functional module 401 is reported actively, and the second data of the second type functional module 402 is reported passively. The processing module 302 is used to:

[0084] When the functional module 301 is the first-type functional module 401 , the state of the first-type functional module 401 is acquired periodically, and if the state meets a condition, the second data is transmitted to the processing module 103 .

[0085] In some embodiments, the status of the first category functional module 401 is obtained periodically, which may be real-time acquisition of the status of the first category functional module 401 or acquisition of the status of the first category functional module 401 at certain time intervals; in short, the processing module 302 actively acquires the status of the first category functional module 401.

[0086] In some embodiments, if the state satisfies the conditions, the second data is transmitted to the processing module 103. The processing module 302 may send an abnormal state of the functional module 301, or the processing module 302 may send all states of the functional module 301. For example, the processing module 302 may send a low-level signal of the power module, or the processing module 302 may send both a low-level signal and a high-level signal of the power module.

[0087] The processing module 302 is further configured to:

[0088] In the case that the functional module 301 is the second-type functional module 402 , based on the query instruction received from the data device, the state of the second-type functional module 402 is acquired, and the second data is transmitted to the processing module 103 .

[0089] In some embodiments, the query instruction may be generated based on the user's input to the data device. For example, the query instruction may be generated when the user inputs "diagnosis" of the second type functional module 402 to the data device.

[0090] In some embodiments, based on the query instruction received from the data device, the status of the second-category functional module 402 is obtained, and the second data is transmitted to the processing module 103; that is, the nursing module obtains the status of the second-category functional module 402 based on the query instruction, which is to passively obtain the status of the second-category functional module 402.

[0091] In the embodiment of the present application, when the functional module 301 is the first-category functional module 401, the status of the first-category functional module 401 is obtained at a regular interval, and if the status meets the conditions, the second data is transmitted to the processing module 103; when the functional module 301 is the second-category functional module 402, based on the query instruction received from the data device, the status of the second-category functional module 402 is obtained, and the second data is transmitted to the processing module 103; in this way, the abnormal status of the first-category functional module 401 can be known in time.

[0092] In some embodiments, when the working state is a failure state and the failure cause is related to the firmware, the firmware information may be updated. Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown:

[0093] The electronic device 100 further includes: a third storage module 501, configured to store first firmware information.

[0094] In some embodiments, the first new firmware information may be the backed-up firmware information of all functional modules 301 .

[0095] In some embodiments, the third storage module 501 is connected to the processing module 103 .

[0096] The functional module 102 includes: a fourth storage module 502, used to store second firmware information.

[0097] In some embodiments, the second firmware information may be firmware information of the functional module 301 ; here, there may be multiple fourth storage modules 502 , and each functional module 301 may be provided with a corresponding fourth storage module 502 to store its firmware information.

[0098] In some embodiments, the functional module 301, the fourth storage module 502, and the processing module 103 are connected in sequence.

[0099] The processing module 103 is further used for:

[0100] First, if the working state is a failure state, the failure cause of the functional module 301 is determined.

[0101] In some embodiments, the processing module 103 can generate a corresponding code based on the working status feedback from the processing module 302; in this way, determining the failure cause of the functional module 301 can be achieved through the following process: first, pre-setting the corresponding relationship between the abnormal phenomenon and the abnormal code; secondly, generating a corresponding code based on the working status; finally, comparing the code generated based on the working status with the abnormal code to determine the corresponding abnormal phenomenon.

[0102] Secondly, if the failure reason is due to firmware, the second firmware information in the fourth storage module 502 is updated based on the first firmware information.

[0103] In some embodiments, the firmware reason may be a reason related to the firmware, such as: missing firmware information, incorrect firmware information, etc.

[0104] In some embodiments, since the first firmware information is the firmware information of all functional modules 301 that are backed up, the second firmware information can be updated based on the first firmware information; wherein, updating the second firmware information in the fourth storage module 502 based on the first firmware information can be achieved through the following process: first, sending an acquisition instruction to the fourth storage module 502; second, receiving the second firmware information uploaded by the fourth storage module 502; third, determining the difference information between the second firmware information and the first firmware information; finally, writing the difference information into the second firmware information, so that the working state of the processing module 302 is adjusted from the failure state to the normal state.

[0105] In some embodiments, both the processing module 103 and the functional module 301 can access the fourth storage module 502. In order to avoid conflicts caused by simultaneous access, a judgment mechanism can be set; for example: the functional module 301 can be defaulted to prioritize access to the fourth storage module 502 to ensure that the functional module 301 can work normally; when firmware diagnosis is required (for example: user-initiated, or other special circumstances such as the electronic device 100 being powered on and initialized for the first time), the processing module 103 needs to negotiate with the functional module 301 before reading the fourth storage module 502.

[0106] In an embodiment of the present application, the device includes: a third storage module 501, used to store first firmware information; the functional module 102 includes: a fourth storage module 502, used to store second firmware information; the processing module 103 is also used to: if the working state is a failure state, determine the failure cause of the functional module 301; if the failure cause is a firmware reason, based on the first firmware information, update the second firmware information in the fourth storage module 502; in this way, the processing module 302 can be restored when it fails.

[0107] Below, an exemplary application of an embodiment of the present application in an actual application scenario will be described, and the following description will be given by taking a docking station as an example.

[0108] Figure 6 A schematic diagram of the structure of a docking station that supports a storage device switch function, a diagnostic function, and a firmware recovery function provided in an embodiment of the present application, such as Figure 6 As shown, the docking station 600 includes:

[0109] Hard disk 601;

[0110] In some embodiments, hard disk 601 may be a non-volatile memory.

[0111] In some embodiments, the hard disk 601 corresponds to the first storage module 201 described above.

[0112] A micro control unit 602 is connected to the hard disk 601;

[0113] In some embodiments, the micro control unit 602 corresponds to the aforementioned processing module 103 .

[0114] Functional modules 603 to 605 are connected to the micro control unit 602;

[0115] In some embodiments, the functional module 603 corresponds to the functional module 102 described above.

[0116] In some embodiments, the expansion dock 600 may also include a Thunderbolt interface 606. Thus, after the microcontroller unit 602 enables the hard disk 601, the expansion dock 600 may perform data transmission with a device connected to it (corresponding to the above-mentioned data device) through the Thunderbolt interface 606, thereby improving data transmission efficiency.

[0117] In some embodiments, Figure 7 As shown, the expansion dock also includes:

[0118] Flash memory 701, connected to micro control unit 602;

[0119] Flash memory 702 to flash memory 704 are connected to functional modules 603 to 605 respectively, and are also connected to micro control unit 602;

[0120] In some embodiments, the flash memory 701 is a firmware backup pool, and the firmware of the electronic device 100 is backed up in a block (such as block 0) in the flash memory 701 when the electronic device 100 leaves the factory.

[0121] In some embodiments, the micro control unit 602 can write new firmware information into another block (such as block 1) in the flash memory 701. In addition, the micro control unit 602 can read the firmware information from block 0 or block 1.

[0122] In some embodiments, the firmware information recovery process is as follows: the micro control unit 602 reads the correct firmware information from the flash memory 701, reads the firmware information to be confirmed from the flash memory 702 to the flash memory 704, and then performs an integrity comparison; when the firmware information in the flash memory 702 to the flash memory 704 is incomplete, the firmware information in the flash memory 702 to the flash memory 704 is restored based on the correct firmware information in the flash memory 701.

[0123] In some embodiments, Figure 8 As shown, the docking station 600 further includes:

[0124] Type-c interface 801;

[0125] In some embodiments, the Type-c interface 801 corresponds to the first interface 101 described above; in addition, Figure 8 An enlarged image of the Type-c interface is shown in the figure.

[0126] In some embodiments, the docking station 600 is connected to a data device via a Type-c interface 801 provided thereon.

[0127] The present application embodiment provides a processing method. Fig. 9 A schematic diagram of an implementation flow of a processing method provided in an embodiment of the present application is shown in FIG. Fig. 9 The method comprises:

[0128] Step S901: using the processing module 103 to receive first password information sent by a data device.

[0129] Step S902: when the first password information matches the second password information of the electronic device 100 , second data is generated, and the second data is sent to the first storage module 201 to enable the first storage module 201 .

[0130] In some embodiments, the data device is connected to the electronic device 100 via a first interface 101, and the electronic device 100 includes the first interface 101, the processing module 103 and the first storage module 201; the second password information is bound to the identification information of the electronic device 100 and stored in the second storage module 202 in the electronic device 100.

[0131] The present application embodiment provides a processing method. Fig.10 A schematic diagram of an implementation flow of a processing method provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the method includes:

[0132] Step S1001 : using the processing module 302 to monitor the state of the functional module 301 , and transmitting second data representing the state to the processing module 103 .

[0133] In some embodiments, the functional module 301 is used to provide functional expansion or enhancement for the data device, and the data device is connected to the electronic device 100 through the first interface 101. The electronic device 100 includes the first interface 101, the processing module 302, the functional module 301 and the processing module 103.

[0134] Step S1002: using the processing module 103 to determine the working state of the functional module 301 based on the second data.

[0135] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0136] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0137] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0138] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0139] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0140] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0141] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0142] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An electronic device, comprising: A first interface, used for connecting a data device; Functional module, the functional module comprises: A function module, used to provide function expansion or enhancement for the data device; and A processing module, used for monitoring the state of the functional module and transmitting second data representing the state to the processing module; The processing module is connected to at least the functional module and is used to transmit the second data to the processing module, and the processing module is used to determine the working state of the functional module based on the second data; The functional modules include: a first type of functional modules and a second type of functional modules; the first type of functional modules are more important than the second type of functional modules; The processing module is further configured to transmit second data of the first-category functional module in a first manner, and transmit second data of the second-category functional module in a second manner; the first manner and the second manner are different.

2. The device according to claim 1, wherein: The functional module includes a first storage module; The processing module is also used for: Receiving first password information transmitted by the data device; In a case where the first password information matches the second password information, generating the second data, and transmitting the second data to the first storage module to enable the first storage module; The second password information is bound to the identification information of the electronic device and stored in a second storage module in the electronic device; the first storage module is different from the second storage module.

3. The device according to claim 2, wherein the processing module is further used for: When the first password information matches the second password information, sending enabling candidate information to the data device; In response to the second data sent by the data device based on the enabling candidate information, the first storage module is enabled.

4. The device according to claim 2, wherein the processing module is further used for: When the third password information modified from the second password information is received, the third password information is used to replace the second password information and is bound to the identification information of the electronic device.

5. The device according to claim 1, wherein the processing module is further configured to: In the case where the functional module is the first type functional module, periodically acquiring the state of the first type functional module, and if the state meets a condition, transmitting the second data to the processing module; In the case that the functional module is the second-category functional module, based on the query instruction received from the data device, the state of the second-category functional module is acquired, and the second data is transmitted to the processing module.

6. The device according to any one of claims 1 to 5, wherein: The device comprises: a third storage module, configured to store first firmware information; The functional module includes: a fourth storage module, used to store second firmware information; The processing module is also used for: If the working state is a failure state, determining the failure cause of the functional module; If the failure reason is a firmware reason, the second firmware information in the fourth storage module is updated based on the first firmware information.

7. A processing method comprising: Using a processing module to receive first password information sent by a data device; If the first password information matches the second password information of the electronic device, generating second data, and sending the second data to the first storage module to enable the first storage module; The data device is connected to the electronic device via a first interface, and the electronic device includes the first interface, the processing module and the first storage module; the second password information is bound to the identification information of the electronic device and stored in the second storage module in the electronic device; The electronic device includes a processing module and a functional module; wherein the method further includes: Using the processing module to monitor the state of the functional module, and transmitting the second data representing the state to the processing module; Determining the working state of the functional module based on the second data using the processing module; The functional modules in the electronic device further include a first type of functional modules and a second type of functional modules; the first type of functional modules are more important than the second type of functional modules; wherein the method further includes: The processing module is used to transmit the second data of the first-category functional module in a first manner, and the processing module is used to transmit the second data of the second-category functional module in a second manner; the first manner and the second manner are different.

8. A processing method comprising: A processing module is used to monitor the state of the functional module, and second data representing the state is transmitted to the processing module; wherein the functional module is used to provide function expansion or enhancement for the data device, the data device is connected to the electronic device through a first interface, and the electronic device includes the first interface, the processing module, the functional module and the processing module; Determining the working state of the functional module based on the second data using the processing module; The functional modules in the electronic device further include a first type of functional modules and a second type of functional modules; the first type of functional modules are more important than the second type of functional modules; wherein the method further includes: The processing module is used to transmit the second data of the first-category functional module in a first manner, and the processing module is used to transmit the second data of the second-category functional module in a second manner; the first manner and the second manner are different.