Data processing method and device

By judging the operating status of the target device during device mode switching and outputting prompt information, the problem of life reduction and data loss caused by the user's unaware of the device component status is solved, and the user experience is improved.

CN120448218APending Publication Date: 2025-08-08LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510539295.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

When switching the device status, the user is not sure about the subsequent working status of the component, which may lead to reduced component life or loss of data. The existing solutions consume customers' energy and are not effective.

Method used

When the device switches from the first mode to the second mode, the first information or the second information determines whether the operating state of the target device is the target state, and the relevant prompt information is output. The first information includes the operating state configuration information of the target device in the second mode, and the second information includes the current operating state information.

Benefits of technology

It realizes timely reminders of the operating status of unknown or forgotten devices during the device use process, avoiding energy loss and device damage, and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120448218A_ABST
    Figure CN120448218A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device, and the method comprises the steps: determining whether the operation state of a first target device in a second mode is a target state or not according to first information or second information when equipment is switched from a first mode to the second mode; if the state is the target state, outputting first prompt information; wherein the power consumption of the equipment in the first mode is greater than the power consumption of the equipment in the second mode, the first information comprises running state configuration information of a first target device in the second mode, and the second information comprises the running state configuration information and the current running state information of the first target device; the first prompt information is related to the running state of the first target device in the second mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a data processing method and device. Background Art

[0002] When the device status is switched, the user may not be aware of the subsequent working status of each component of the device, which may result in a reduction in component life or data loss.

[0003] Existing solutions include popularizing equipment knowledge to customers through manual explanations, or requiring customers to search for relevant information online. However, this solution consumes a lot of customer energy and is not very effective. Summary of the Invention

[0004] The present invention provides a data processing method, including:

[0005] When the device switches from the first mode to the second mode, determining whether the operating state of the first target component in the second mode is a target state according to the first information or the second information;

[0006] If it is the target state, output the first prompt information;

[0007] In which, the power consumption of the device in the first mode is greater than the power consumption in the second mode, the first information includes the operating status configuration information of the first target device in the second mode, the second information includes the operating status configuration information and the current operating status information of the first target device, and the first prompt information is related to the operating status of the first target device in the second mode.

[0008] In one embodiment, it further includes:

[0009] When the device switches from the first mode to the second mode, determining operation information of a second target device in the first mode, and when the operation information indicates that the second target device is overused, generating second prompt information to be output when the second device mode switches to the first device mode;

[0010] The second prompt information is related to optimizing the use of the second target device.

[0011] In one embodiment, it further includes:

[0012] In the first mode, acquiring the operating state configuration information of the first target device, where the operating state configuration information includes the operating state of the first target device in the second mode;

[0013] The determining, according to the first information, whether the operating state of the first target device in the second mode is a target state includes:

[0014] If it is determined according to the operating state configuration information that the first target device is in a non-operating state in the second mode, then it is determined that the operating state of the first target device in the second mode is a non-target state.

[0015] In one embodiment, determining whether the operating state of the first target device in the second mode is a target state according to the second information includes:

[0016] When it is determined according to the running state configuration information that the first target device is in the running state in the second mode, it is determined according to the current running state information of the first target device whether the running state of the first target device in the second mode is the target state.

[0017] In one embodiment, the first target device is a data connector;

[0018] The determining, according to the current operating state information of the first target device, whether the operating state of the first target device in the second mode is a target state includes:

[0019] Determining the type of an external device currently connected to the first target device;

[0020] determining whether the operating state of the first target device in the second mode is a target state based on the external device type; or

[0021] Based on the external device type and the current current value of the first target device, it is determined whether the operating state of the first target device in the second mode is a target state.

[0022] In one embodiment, determining whether the operating state of the first target device in the second mode is a target state based on the external device type includes:

[0023] When the external device is a low-power device, determining that the operating state of the first target device in the second mode is a non-target state;

[0024] The determining, based on the external device type and the current current value of the first target device, whether the operating state of the first target device in the second mode is the target state includes:

[0025] When the external device type is a high-power consumption device and the current value of the first target device is 0, determining that the operating state of the first target device in the second mode is a non-target state;

[0026] When the external device type is a high-power consumption device and the current current value of the first target device is greater than 0, it is determined that the operating state of the first target device in the second mode is a target state.

[0027] In one embodiment, determining the operation information of the second target device in the first mode includes:

[0028] Determine the operating time and data processing volume of the second target device in the first mode within a specified time period.

[0029] In one embodiment, determining whether the second target device is overused includes:

[0030] determining a standard usage mode of the second target device based on the specification information of the second target device, the standard usage mode including a standard duration of continuous use of the second target device and a standard data processing amount within a specified time period;

[0031] Taking the standard usage mode as a criterion, it is determined whether the second target device is overused by judging the operation information of the second target device in the first mode.

[0032] In one embodiment, the first mode includes a power-on mode and a wake-up mode, and the second mode includes a power-off mode and a sleep mode;

[0033] The first prompt information includes information prompting the user that the first target device is in an operating state in the second mode;

[0034] The second prompt information includes information for guiding the user to correctly use the second target device and avoid excessive use of the second target device.

[0035] Another embodiment of the present application also provides a data processing device, including:

[0036] a first determining module, configured to determine, when the device switches from the first mode to the second mode, whether the operating state of the first target component in the second mode is a target state according to the first information or the second information;

[0037] an output module, configured to output first prompt information when the operating state of the first target device in the second mode is the target state;

[0038] In which, the power consumption of the device in the first mode is greater than the power consumption in the second mode, the first information includes the operating status configuration information of the first target device in the second mode, the second information includes the operating status configuration information and the current operating status information of the first target device, and the first prompt information is related to the operating status of the first target device in the second mode.

[0039] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. The purposes and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0040] The technical solution of the present application is further described in detail below through the accompanying drawings and examples. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific implementation methods or the description of the prior art. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0042] Figure 1 Schematic diagram of the data processing method in the embodiment of the present application.

[0043] Figure 2 Schematic diagram of the application flow of the data processing method in one embodiment of the present application.

[0044] Figure 3 Schematic diagram of a data processing method in another embodiment of the present application.

[0045] Figure 4 This is a structural block diagram of the data processing device in an embodiment of the present application. DETAILED DESCRIPTION

[0046] Below, specific embodiments of the present application are described in detail with reference to the accompanying drawings, but are not intended to limit the present application.

[0047] It should be understood that various modifications may be made to the embodiments disclosed herein. Therefore, the following description should not be considered as limiting, but merely as an example of an embodiment. Other modifications within the scope of the present disclosure will occur to those skilled in the art.

[0048] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the general description of the present disclosure given above and the detailed description of the embodiments given below, serve to explain the principles of the present disclosure.

[0049] 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.

[0050] It should also be understood that although the present application has been described with reference to certain specific examples, those skilled in the art will be able to surely realize many other equivalent forms of the present application that have the characteristics described in the claims and are therefore within the scope of protection defined thereby.

[0051] The above and other aspects, features and advantages of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.

[0052] Specific embodiments of the present disclosure will be described hereinafter with reference to the accompanying drawings; however, it should be understood that the disclosed embodiments are merely examples of the present disclosure, which may be implemented in a variety of ways. Well-known and / or repetitive functions and structures are not described in detail to avoid obscuring the present disclosure with unnecessary or redundant detail. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but rather serve merely as a basis and representative basis for the claims to teach those skilled in the art to variously employ the present disclosure with substantially any suitable detailed structure.

[0053] This description may use the phrases "in one embodiment," "in another embodiment," "in a further embodiment," or "in other embodiments," each of which may refer to one or more of the same or different embodiments according to the present disclosure.

[0054] Below, the embodiments of the present application are described in detail with reference to the accompanying drawings.

[0055] As shown in the figure, the embodiment of the present application provides a data processing method, including:

[0056] S1: When the device switches from the first mode to the second mode, determining whether the operating state of the first target component in the second mode is a target state according to the first information or the second information;

[0057] S2: If it is the target state, output the first prompt information;

[0058] In which, the power consumption of the device in the first mode is greater than the power consumption in the second mode, the first information includes the operating status configuration information of the first target device in the second mode, the second information includes the operating status configuration information and the current operating status information of the first target device, and the first prompt information is related to the operating status of the first target device in the second mode.

[0059] The device in this embodiment has a first mode and a second mode. The first mode and the second mode are different operating modes of the device, and the operating power consumption of the two modes is different. For example, the power consumption of the device in the first mode is greater than the power consumption in the second mode. When the device responds to an input instruction or the operating state meets the mode switching condition, the system switches from the current first mode to the second mode. Based on the first information or the second information obtained, the system determines the operating state of the first target component in the device in the second mode to determine whether it is in the target state. If it is in the target state, the system controls the output of a first prompt message.

[0060] In this embodiment, Figure 2 As shown, the first information includes operating state configuration information for the first target device in the second mode, and the second information includes the operating state configuration information and the current operating state information of the first target device. The operating state configuration information includes the system's configuration information for the operating state of the first target device in the second mode, such as whether it is configured as an operating state or a non-operating state. The operating state can also be configured in more detail, such as intermittent operation, or the power consumption state can be configured, such as low-power operation. The current operating state information of the first target device describes the current operating state of the first target device, such as data writing state, data transmission state, power supply state, etc. The specific state information can depend on the function of the first target device. The first prompt information is related to the operating state of the first target device in the second mode. For example, the first prompt information can prompt the user that the operating state of the first target device in the second mode is the target operating state and whether adjustment is required. The target operating state can be, but is not limited to, on, off, high-power operating state, low-power operating state, etc. When the user sees the first prompt information, they can adjust the operating state of the first target device according to actual needs. The first prompt information may be output at the initial stage of switching from the first mode to the second mode, such as when the system receives a switching instruction but has not yet executed it, or it may be output during the execution process, that is, before the system runs the second mode, the first prompt information may be output.

[0061] When the user adjusts the operating state of the first target device according to the first prompt information, the system suspends the switching process to ensure the smooth completion of the adjustment operation, so that the operating state of the first target device changes to the second mode. Alternatively, when the first target device is a connector, the user can adjust the operating mode of the external device connected to it. At this time, if the system does not receive the adjustment operation or related instructions, the system will continue the switching process after outputting the first prompt information and complete the switch to the second mode.

[0062] Through the above method, the system can provide timely reminders of unknown or forgotten device operating states or modes during daily use, preventing unnecessary energy loss, overheating, and device damage caused by user ignorance or negligence. Furthermore, the method in this embodiment enables automatic detection, judgment, and reminders without manual intervention, providing convenience for users and eliminating the need for them to learn and perform device checks, thereby improving the user experience.

[0063] In another embodiment, the method further comprises:

[0064] S3: When the device switches from the first mode to the second mode, determining operating information of the second target device in the first mode, and when the operating information indicates that the second target device is overused, generating second prompt information to be output when the second device mode switches to the first device mode;

[0065] The second prompt information is related to optimizing the use of the second target device.

[0066] In this embodiment, continue to combine Figure 2 As shown, when a device switches from a first mode to a second mode, the system obtains operating information about a second target device in the device during the first mode. This operating information indicates how the second target device is used during the first mode, such as the degree of use, including light use, moderate use, heavy use, and excessive use. Based on this operating information, the system determines the degree of use of the second target device during the first mode. When the degree of use indicates excessive use of the second target device, the system generates a second prompt message. This second prompt message is stored in the system and, when the device subsequently switches from the second mode to the first mode, is controlled and output by the system to alert the user that excessive use of the second target device may cause performance degradation and shorten the service life of the second target device. The specific content of this second prompt message varies, and may, for example, include the aforementioned indication of excessive use of the second target device and the consequences thereof, as well as guidance on how to properly use the second target device or suggestions on how to optimize its use to assist the user in maintaining the second target device and preventing performance degradation and shortening its service life.

[0067] The first target device is different from the second target device. Specifically, in one embodiment, the first mode includes a power-on mode and a wake-up mode, and the second mode includes a power-off mode and a sleep mode. The first prompt information includes information prompting the user that the first target device is in an operating state in the second mode, that is, reminding the user that the first target device is still in an operating state in the second mode and still generates significant power consumption. The user needs to determine whether to maintain the state of the first target device to prevent the user from being unaware of the operating mechanism of the first target device in the second mode, or forgetting that the first target device is in an operating state in the second mode, resulting in waste of power consumption, or causing the device to overheat, etc. The second prompt information includes information for guiding the user to use the second target device correctly and avoid excessive use of the second target device. For example, output usage suggestions, including the maximum duration of continuous use of the second target device, or outputting a usage time threshold. Using the second target device within this threshold can reduce the loss of the second target device. The second prompt information may also include a threshold value for the data processing volume of the second target device within the above-mentioned continuous use time, so that the user can limit the use of the second target device within a specified time range and a specified data processing volume range, thereby more effectively protecting the second target device, avoiding excessive use of the second target device, and accelerating the performance degradation and service life reduction of the second target device.

[0068] The system uses the following methods to obtain the running status configuration information:

[0069] S4: in the first mode, obtaining the operating state configuration information of the first target device, where the operating state configuration information includes the operating state of the first target device in the second mode;

[0070] In this embodiment, the operating status configuration information of the first target device is obtained when the system is in the first mode. The specific acquisition location is variable and depends on the configuration information storage area of the first target device. For example, the operating status configuration information can be obtained from a register for storing the configuration information of the first target device, such as a PCH register.

[0071] The determining, according to the first information, whether the operating state of the first target device in the second mode is a target state includes:

[0072] S5: Determine, according to the operating state configuration information, that the first target device is in a non-operating state in the second mode, and then determine that the operating state of the first target device in the second mode is a non-target state.

[0073] Exemplarily, after obtaining the operating status configuration information, the system determines whether the first target device is in an operating state in the second mode based on the operating status information of the first target device in the second mode stored in the operating status configuration information. If the first target device is not in an operating state, the system determines that the operating state of the first target device in the second mode is the target state. In other words, there is no need to generate and output the first prompt information because the first target device is in a closed state in the second mode and therefore does not consume power and has no impact on the device. Therefore, there is no need to output the first prompt information.

[0074] Further, determining whether the operating state of the first target device in the second mode is a target state according to the second information includes:

[0075] S6: When it is determined according to the operating state configuration information that the first target device is in the operating state in the second mode, determine according to the current operating state information of the first target device whether the operating state of the first target device in the second mode is a target state.

[0076] In this embodiment, the system will determine whether the first target device is in an operating state in the second mode based on the operating state configuration information. If it is in an operating state, the system will determine the current operating state information of the first target device, determine whether the first target device is currently in use, the degree of use, etc., and determine whether the operating state of the first target device in the second mode is the target state based on the current use state, degree of use, etc. of the first target device.

[0077] In an application embodiment, the first target device is a data connector, such as but not limited to a USB port, including a USB Charge port, etc., and the specific details are not fixed. In this embodiment, the first target device is described as a USB Charge port.

[0078] like Figure 3 As shown, determining whether the operating state of the first target device in the second mode is the target state according to the current operating state information of the first target device includes:

[0079] S7: Determine the type of the external device currently connected to the first target device;

[0080] S8: Determine whether the operating state of the first target device in the second mode is a target state based on the external device type; or

[0081] S9: Determine whether the operating state of the first target device in the second mode is a target state based on the external device type and the current current value of the first target device.

[0082] For example, if a first target device is currently connected to an external device, when determining whether the operating state of the first target device in the second mode is the target state, the system first determines the type of the external device currently connected to the first target device. As described above, in this embodiment, the first target device is a USB charge port. When determining the type of the external device connected to the first target device, the system can use detection software to capture the USB device information of the USB charge port stored in the PCH register of the device, i.e., the external device information, including the current interaction type between the external device and the USB charge port, such as high speed, full speed, or low speed, and the current current state information of the USB charge port. After obtaining this information, the system first determines the type of the external device, such as the type of interaction between the external device and the port, such as high power consumption or low power consumption. Subsequently, the system determines whether the operating state of the first target device in the second mode is the target state based on the type of the external device, or determines whether the operating state of the first target device in the second mode is the target state based on the type of the external device, or determines whether the operating state of the first target device in the second mode is the target state based on the type of the external device and the current current value of the first target device.

[0083] Furthermore, the determining, based on the external device type, whether the operating state of the first target device in the second mode is a target state includes:

[0084] S10: When the external device is a low-power device, determine that the operating state of the first target component in the second mode is a non-target state.

[0085] In this embodiment, when it is determined that the type of the external device is a low-power device, it indicates that the external device will not significantly consume the power consumption of the device, such as only a USB flash drive, a card reader, a signal transceiver for an external keyboard or mouse, an LED light, a mini fan, etc. For this type of external device, the system defaults to the fact that it consumes less energy on the device and will not cause adverse effects on the device. Therefore, it is determined that the operating state of the first target device in the second mode is a non-target state, and there is no need to output the first prompt information.

[0086] When the system determines whether the operating state of the first target device in the second mode is the target state based on the type of the external device and the current current value of the first target device, the method includes:

[0087] S11: When the external device is a high-power device and the current value of the first target device is 0, determining that the operating state of the first target device in the second mode is a non-target state;

[0088] S12: When the external device is a high-power-consumption device and the current current value of the first target device is greater than 0, determine that the operating state of the first target device in the second mode is a target state.

[0089] In this embodiment, when the system determines that the external device type is a high-power device, such as, but not limited to, a mobile phone, an audio player, a laptop computer, etc., the system will assume that the external device is likely to consume a large amount of power from the device, resulting in significant energy loss. To further determine whether the external device will cause significant energy consumption and adversely affect the device, the system will determine the current state of the first target device. If the current value is 0, it means that the external device is likely to be in the off state. Therefore, even if the first target device operates normally in the second mode, it will not generate power. At this time, the system considers the operating state of the first target device in the second mode to be a non-target state, and there is no need to output the first prompt information.

[0090] If the system detects that the current value of the current first target device is greater than 0, that is, there is current transmission, indicating that the external device is in operation, then regardless of the current size (the current size here is not related to the detection accuracy and has nothing to do with the static current), the system will believe that the external device will affect the performance of the local device and cause energy loss to the local device. Therefore, it is determined that the operating state of the first target device in the second mode is the target state, and the first prompt information needs to be output.

[0091] In another embodiment, for the second target device, determining the operation information of the second target device in the first mode includes:

[0092] S13: Determine the operating time and data processing volume of the second target device in the first mode within a specified time period.

[0093] For example, taking the second target device as a memory, such as a hard disk, when the system switches from the first mode to the second mode, it will obtain the operating time and data processing volume of the second target device in the first mode within a specified time period. The specified time period can be one day, or it can be the time period between a and b, which is not specific. The operating time can be cumulative or a single continuous operating time. The data processing volume can be, for example, the amount of data read, the amount of data written, etc. Corresponding to different second target devices, the operating information involved will be different, depending on the function of the second target device.

[0094] When determining whether the second target device is overused, the system includes:

[0095] S14: determining a standard usage mode of the second target device based on the specification information of the second target device, where the standard usage mode includes a standard duration of continuous use of the second target device and a standard data processing amount within a specified time period;

[0096] S15: Using the standard usage mode as a criterion, determine whether the second target device is overused by judging the operation information of the second target device in the first mode.

[0097] In this embodiment, the system determines the specification information of the second target device, which includes the type, capacity, physical dimensions of the components (such as interfaces), component types (such as interface types), data transmission performance, device-specific parameters (such as rotation speed, noise, data processing capacity, etc.), power consumption and heat dissipation, compatibility information, etc. of the second target device. The information included in the specific parameters is related to the function of the second target device. For example, taking a hard disk as an example, the specific information may include total write volume, daily usage time, and the number of full disk writes per day. Based on the specification information, the system can determine the standard usage mode of the second target device, for example, including the standard duration or maximum duration allowed for continuous use of the second target device within the specified time period, and the standard data processing capacity or maximum data processing capacity. Then, the system will use this as a criterion and use this criterion to judge the operating information of the second target device in the first mode to determine whether the second target device is overused. For example, if the operating time in the operating information is greater than the standard usage time, it is directly determined to be overused. If it is less than the standard usage, it is directly determined to be not overused. Alternatively, the difference between the standard usage time and the operating time in the operating information is determined, and then the difference is compared with preset thresholds corresponding to different levels to determine a target threshold value containing the difference, and based on the level corresponding to the target threshold value, it is determined whether the second target device is overused. If it is overused, the degree of overuse of the second target device can also be determined based on the level corresponding to the target threshold value.

[0098] like Figure 4 As shown, another embodiment of the present application also provides a data processing device, including:

[0099] a first determining module, configured to determine, when the device switches from the first mode to the second mode, whether the operating state of the first target component in the second mode is a target state according to the first information or the second information;

[0100] an output module, configured to output first prompt information when the operating state of the first target device in the second mode is the target state;

[0101] In which, the power consumption of the device in the first mode is greater than the power consumption in the second mode, the first information includes the operating status configuration information of the first target device in the second mode, the second information includes the operating status configuration information and the current operating status information of the first target device, and the first prompt information is related to the operating status of the first target device in the second mode.

[0102] In one embodiment, the apparatus further comprises:

[0103] a second determining module configured to determine, when the device switches from the first mode to the second mode, operating information of a second target device in the first mode, and, if the operating information indicates that the second target device is overused, generate second prompt information to be output when the second device mode switches to the first device mode;

[0104] The second prompt information is related to optimizing the use of the second target device.

[0105] In one embodiment, the apparatus further comprises:

[0106] an acquisition module, configured to acquire, in the first mode, the operating state configuration information of the first target device, wherein the operating state configuration information includes the operating state of the first target device in the second mode;

[0107] The determining, according to the first information, whether the operating state of the first target device in the second mode is a target state includes:

[0108] If it is determined according to the operating state configuration information that the first target device is in a non-operating state in the second mode, then it is determined that the operating state of the first target device in the second mode is a non-target state.

[0109] In one embodiment, determining whether the operating state of the first target device in the second mode is a target state according to the second information includes:

[0110] When it is determined according to the running state configuration information that the first target device is in the running state in the second mode, it is determined according to the current running state information of the first target device whether the running state of the first target device in the second mode is the target state.

[0111] In one embodiment, the first target device is a data connector;

[0112] The determining, according to the current operating state information of the first target device, whether the operating state of the first target device in the second mode is a target state includes:

[0113] Determining the type of an external device currently connected to the first target device;

[0114] determining whether the operating state of the first target device in the second mode is a target state based on the external device type; or

[0115] Based on the external device type and the current current value of the first target device, it is determined whether the operating state of the first target device in the second mode is a target state.

[0116] In one embodiment, determining whether the operating state of the first target device in the second mode is a target state based on the external device type includes:

[0117] When the external device is a low-power device, determining that the operating state of the first target device in the second mode is a non-target state;

[0118] The determining, based on the external device type and the current current value of the first target device, whether the operating state of the first target device in the second mode is the target state includes:

[0119] When the external device type is a high-power consumption device and the current value of the first target device is 0, determining that the operating state of the first target device in the second mode is a non-target state;

[0120] When the external device type is a high-power consumption device and the current current value of the first target device is greater than 0, it is determined that the operating state of the first target device in the second mode is a target state.

[0121] In one embodiment, determining the operation information of the second target device in the first mode includes:

[0122] Determine the operating time and data processing volume of the second target device in the first mode within a specified time period.

[0123] In one embodiment, determining whether the second target device is overused includes:

[0124] determining a standard usage mode of the second target device based on the specification information of the second target device, the standard usage mode including a standard duration of continuous use of the second target device and a standard data processing amount within a specified time period;

[0125] Taking the standard usage mode as a criterion, it is determined whether the second target device is overused by judging the operation information of the second target device in the first mode.

[0126] In one embodiment, the first mode includes a power-on mode and a wake-up mode, and the second mode includes a power-off mode and a sleep mode;

[0127] The first prompt information includes information prompting the user that the first target device is in an operating state in the second mode;

[0128] The second prompt information includes information for guiding the user to correctly use the second target device and avoid excessive use of the second target device.

[0129] Furthermore, an embodiment of the present application further provides an electronic device, including:

[0130] one or more processors;

[0131] a memory configured to store one or more programs;

[0132] When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the data processing method as described in any one of the above.

[0133] Furthermore, an embodiment of the present application further provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the data processing method described above. It should be understood that each solution in this embodiment has the corresponding technical effects of the above method embodiment, and will not be further described here.

[0134] Furthermore, an embodiment of the present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-readable instructions, which, when executed, enable at least one processor to perform a data processing method such as in the embodiment described above.

[0135] It should be noted that the computer storage medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above. Computer-readable media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory medium (RAM), a read-only memory medium (ROM), an erasable programmable read-only memory medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system or device. In the present application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program configured for use by or in conjunction with an instruction execution system, system, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, antenna, optical cable, RF, or any suitable combination thereof.

[0136] In addition, it will be understood by those skilled in the art that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage and optical storage, etc.) that contain computer-usable program code.

[0137] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction system that is implemented in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0138] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of protection of the present application is limited to these examples. In line with the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0139] The above embodiments are merely exemplary embodiments of the present application and are not intended to limit the scope of the present application. The scope of protection of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and scope of protection of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the scope of protection of the present application.

Claims

1. A data processing method, comprising: When the device switches from the first mode to the second mode, determining whether the operating state of the first target component in the second mode is a target state according to the first information or the second information; If it is the target state, output the first prompt information; In which, the power consumption of the device in the first mode is greater than the power consumption in the second mode, the first information includes the operating status configuration information of the first target device in the second mode, the second information includes the operating status configuration information and the current operating status information of the first target device, and the first prompt information is related to the operating status of the first target device in the second mode.

2. The data processing method according to claim 1, further comprising: When the device switches from the first mode to the second mode, determining operation information of a second target device in the first mode, and when the operation information indicates that the second target device is overused, generating second prompt information to be output when the second device mode switches to the first device mode; The second prompt information is related to optimizing the use of the second target device.

3. The data processing method according to claim 1, further comprising: In the first mode, acquiring the operating state configuration information of the first target device, where the operating state configuration information includes the operating state of the first target device in the second mode; The determining, according to the first information, whether the operating state of the first target device in the second mode is a target state includes: If it is determined according to the operating state configuration information that the first target device is in a non-operating state in the second mode, then it is determined that the operating state of the first target device in the second mode is a non-target state.

4. The data processing method according to claim 1 , wherein determining whether the operating state of the first target device in the second mode is a target state according to the second information comprises: When it is determined according to the running state configuration information that the first target device is in the running state in the second mode, it is determined according to the current running state information of the first target device whether the running state of the first target device in the second mode is the target state.

5. The data processing method according to claim 4, wherein the first target device is a data connector; The determining, according to the current operating state information of the first target device, whether the operating state of the first target device in the second mode is a target state includes: Determining the type of an external device currently connected to the first target device; determining whether the operating state of the first target device in the second mode is a target state based on the external device type; or Based on the external device type and the current current value of the first target device, it is determined whether the operating state of the first target device in the second mode is a target state.

6. The data processing method according to claim 5, wherein determining whether the operating state of the first target device in the second mode is a target state based on the external device type comprises: When the external device is a low-power device, determining that the operating state of the first target device in the second mode is a non-target state; The determining, based on the external device type and the current current value of the first target device, whether the operating state of the first target device in the second mode is the target state includes: When the external device type is a high-power consumption device and the current value of the first target device is 0, determining that the operating state of the first target device in the second mode is a non-target state; When the external device type is a high-power consumption device and the current current value of the first target device is greater than 0, it is determined that the operating state of the first target device in the second mode is a target state.

7. The data processing method according to claim 2, wherein determining the operation information of the second target device in the first mode comprises: Determine the operating time and data processing volume of the second target device in the first mode within a specified time period.

8. The data processing method according to claim 7, wherein determining whether the second target device is overused comprises: determining a standard usage mode of the second target device based on the specification information of the second target device, the standard usage mode including a standard duration of continuous use of the second target device and a standard data processing amount within a specified time period; Taking the standard usage mode as a criterion, it is determined whether the second target device is overused by judging the operation information of the second target device in the first mode.

9. The data processing method according to claim 2, wherein the first mode includes a power-on mode and a wake-up mode, and the second mode includes a power-off mode and a sleep mode; The first prompt information includes information prompting the user that the first target device is in an operating state in the second mode; The second prompt information includes information for guiding the user to correctly use the second target device and avoid excessive use of the second target device.

10. A data processing device comprising: a first determining module, configured to determine, when the device switches from the first mode to the second mode, whether the operating state of the first target component in the second mode is a target state according to the first information or the second information; an output module, configured to output first prompt information when the operating state of the first target device in the second mode is the target state; In which, the power consumption of the device in the first mode is greater than the power consumption in the second mode, the first information includes the operating status configuration information of the first target device in the second mode, the second information includes the operating status configuration information and the current operating status information of the first target device, and the first prompt information is related to the operating status of the first target device in the second mode.