A method, device, electronic device and computer-readable storage medium for determining an operating mode of an electronic device

By receiving and generating operation mode identification information, the operation mode of electronic equipment is automatically adjusted, which solves the problem of missing important information caused by users' failure to adjust in time, and improves the accuracy and user experience of operation mode.

CN116743911BActive Publication Date: 2025-01-10QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310764633.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-26
Publication Date
2025-01-10
Estimated Expiration
2043-06-26

AI Technical Summary

Technical Problem

Users fail to adjust the operating mode of electronic equipment in time to cause problems such as missing important telephone information, which affects the user experience.

Method used

By receiving user settings for operation modes within the set period, generating operation mode identification information, and adjusting operation mode identification information for multiple consecutive set periods in chronological order, avoiding repeated adjustments and realizing automatic adjustment of the operation of electronic devices model.

Benefits of technology

It effectively avoids users from missing important messages, improves the accuracy and user experience of the electronic device operating mode, and ensures that they automatically switch to the appropriate operating mode during different time periods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116743911B_ABST
    Figure CN116743911B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a method and device for determining an operation mode of an electronic device, comprising: receiving operation mode setting information for a set time period from a user; the operation mode setting information is used to indicate the operation time of at least one operation mode within the set time period; for each of a plurality of consecutive set time periods, generating operation mode identification information for the set time period according to the operation mode setting information for the set time period; any operation mode identification information includes an identification corresponding to the operation mode in the operation mode setting information; adjusting the operation mode identification information for a plurality of consecutive set time periods in chronological order, wherein an identification located at the last N-1 bits of N consecutive identical identifications is set as an unadjusted identification, where N is greater than or equal to 2; for each set time period, setting the operation mode of the electronic device according to the adjusted operation mode identification information for the set time period and the operation mode setting information for the set time period.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and device for determining an operating mode of an electronic device. Background Art

[0002] With the continuous development of science and technology, electronic devices have become a part of people's daily work and life. For example, in order to meet the needs of users' work, it is necessary to set the operation mode of the electronic device to the working mode when the user is at work, and to set the operation mode of the electronic device to the off-duty mode when the user is off-duty.

[0003] Currently, the method for determining the operation mode of the electronic device is to manually set it by the user. If the user does not adjust the operation mode of the electronic device in time, some important phone messages may be missed, affecting the user's use.

[0004] In summary, how to timely adjust the operating mode of electronic equipment is a technical problem that urgently needs to be solved. Summary of the invention

[0005] The embodiment of the present invention provides a method and device for determining the operation mode of an electronic device, so as to solve the problem in the prior art that a user misses some important telephone information because the user fails to adjust the operation mode of the electronic device in time.

[0006] In a first aspect, an embodiment of the present invention provides a method for determining an operating mode of an electronic device, comprising: receiving operating mode setting information from a user for a set time period; the operating mode setting information is used to indicate the operating time of at least one operating mode within the set time period; for each of a plurality of consecutive set time periods, generating operating mode identification information for the set time period according to the operating mode setting information for the set time period; any operating mode identification information includes an identifier corresponding to the operating mode in the operating mode setting information; adjusting the operating mode identification information of a plurality of consecutive set time periods in chronological order, wherein an identifier located at the last N-1 bits of N consecutive identical identifiers is set as an unadjusted identifier, where N is greater than or equal to 2; for each set time period, setting the operating mode of the electronic device according to the adjusted operating mode identification information for the set time period and the operating mode setting information for the set time period.

[0007] In the embodiment of the present application, the operation mode identification information of a plurality of consecutive set time periods is simplified in chronological order, thereby avoiding repeated adjustment of the operation mode of the electronic device according to the operation mode identification information. For each set time period, at least one operation mode of the electronic device for the set time period is determined according to the simplified operation mode identification information and the operation mode setting information of the set time period.

[0008] In some embodiments of the present application, each set time period has a division time point; based on the operation mode setting information of the set time period, the operation mode identification information of the set time period is generated, including: determining the operation mode of the division time points of the set time period based on the operation mode setting information of the set time period; generating the operation mode identification information of the set time period based on the operation mode of the division time points of the set time period and each operation mode in the operation mode setting information of the set time period; the operation mode identification information is an identification corresponding to each operation mode in chronological order.

[0009] In an embodiment of the present application, based on the operating mode setting information of the set time period, the operating mode identification information of the set time period can be determined more accurately, which is convenient for the subsequent determination of the operating mode corresponding to the operating time based on the operating mode identification information of the set time period by the electronic device.

[0010] In some embodiments of the present application, the operating mode of the electronic device is set according to the adjusted operating mode identification information of the set time period and the operating mode setting information of the set time period, including: for any identifier in the adjusted operating mode identification information of the set time period, when the operating time corresponding to the identifier arrives, the operating mode of the electronic device is set according to the identifier; if the identifier is a non-adjustment identifier, the operating mode of the electronic device is maintained.

[0011] In some embodiments of the present application, setting the operating mode of the electronic device includes: taking multiple consecutive set time periods as a cycle; setting the operating mode of the electronic device according to the adjusted operating mode identification information of each set time period in at least two cycles and the operating mode setting information of each set time period.

[0012] In some embodiments of the present application, receiving operating mode setting information for a set time period from a user includes: receiving operating mode setting information for a set time period input by a user in an interactive interface; wherein the interactive interface has a schedule setting component and an operating mode selection component; the schedule setting component is used to set the operating time corresponding to each operating mode; and the operating mode selection component is used to set whether to enable an operating mode switching mode.

[0013] In some embodiments of the present application, the operating mode includes a first mode represented by A and a second mode represented by B;

[0014] The operation mode identification information includes, in sequence, an identification corresponding to the split time point, an identification corresponding to the first reference point, and an identification corresponding to the second reference point; the first reference point and the second reference point are used as the boundary between the first mode and the second mode; according to the operation mode of the split time point of the set time period and each operation mode in the operation mode setting information of the set time period, the operation mode identification information of the set time period is generated, including: if the operation mode setting information of the set time period is the full first mode, then the operation mode identification information of the set time period is set to AAA; if the operation mode setting information of the set time period is the full second mode, then the operation mode identification information of the set time period is set to BBB; if the operation mode setting information of the set time period includes the first mode at the non-split time point and the second mode after the first mode, then the operation mode identification information of the set time period is set to BAB.

[0015] In some embodiments of the present application, the first mode is the working mode, and the second mode is the off-get off work mode; the entire first mode is the all-day working mode; the entire second mode is the all-day off-get off work mode, and the first mode at non-split time points and the second mode after the first mode are partial working modes.

[0016] In a second aspect, an embodiment of the present invention provides a device for determining an operation mode of an electronic device, comprising: an acquisition unit, configured to receive operation mode setting information of a user for a set period; the operation mode setting information is used to indicate the operation time of at least one operation mode within the set period. A processing unit, configured to generate operation mode identification information of a set period according to the operation mode setting information of the set period for each of a plurality of consecutive set periods; any operation mode identification information includes an identification corresponding to the operation mode in the operation mode setting information; the operation mode identification information of a plurality of consecutive set periods is adjusted in chronological order, wherein the identification located at the last N-1 bits of N consecutive identical identifications is set as an unadjusted identification, where N is greater than or equal to 2; for each set period, the operation mode of the electronic device is set according to the adjusted operation mode identification information of the set period and the operation mode setting information of the set period.

[0017] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes a method for determining an operating mode of an electronic device according to the first aspect above.

[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program, and when the program is executed on a computer, the computer implements a method for determining an operating mode of an electronic device according to the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 A flow chart of a method for determining an operating mode of an electronic device provided by an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of an interactive interface provided by an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of a first interface provided by an embodiment of the present invention;

[0023] Figure 4 A flow chart of a method for generating operating mode identification information for a set period of time provided by an embodiment of the present invention;

[0024] Figure 5 A schematic diagram of dividing a plurality of consecutive set time periods provided by an embodiment of the present invention;

[0025] Figure 6 A schematic diagram of dividing different operating modes in a set time period provided by an embodiment of the present invention;

[0026] Figure 7 A schematic diagram of dividing a set time period provided by an embodiment of the present invention;

[0027] Figure 8 A schematic diagram of another method of dividing a set time period provided by an embodiment of the present invention;

[0028] Fig. 9 A schematic diagram of another method of dividing a set time period provided by an embodiment of the present invention;

[0029] Fig.10 A schematic diagram of the structure of a device for determining an operating mode of an electronic device provided by an embodiment of the present invention;

[0030] Fig.11 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] At present, users cannot do without electronic devices in their daily work and life, and the electronic devices may be mobile phones, tablets, computers, etc. When users are working in their daily lives, they need electronic devices for office work, and when users are resting in their lives, they need electronic devices for relaxation and entertainment.

[0033] In one possible case, the electronic device is set to two operating modes, wherein the operating modes are working mode and off-duty mode, respectively. When the user needs the electronic device for office work during daily work, the user needs to manually adjust the operating mode of the electronic device to the working mode. For example, if the electronic device is a mobile phone, the user manually adjusts the working mode of the mobile phone to the working mode, and the mobile phone will turn off the message notifications of some applications that are not used at work, so that the user will not be disturbed by some unimportant message notifications when working. When the user needs to use the electronic device for entertainment after get off work, the user manually adjusts the operating mode of the electronic device to the off-duty mode. For example, if the electronic device is a mobile phone, the user manually adjusts the working mode of the mobile phone to the off-duty mode, and the mobile phone will turn off the message notifications of some applications that need to be used at work, so that the user will not be disturbed by work messages when receiving messages. However, if the user forgets to adjust the operating mode of the mobile phone or does not adjust the operating mode of the mobile phone in time, it will cause the user to miss more important messages and other problems.

[0034] In summary, the embodiments of the present invention provide a method for determining the operating mode of an electronic device, thereby automatically adjusting the operating mode of the electronic device and preventing the user from missing important messages.

[0035] like Figure 1 FIG. 1 is a flow chart of a method for determining an operating mode of an electronic device provided by an embodiment of the present invention, the method comprising the following steps:

[0036] Step 101: receiving the operation mode setting information for a set time period from the user.

[0037] In the embodiment of the present invention, since there is at least one operating mode within a set time period, in order to determine the operating mode of the electronic device, the user is first required to set the operating mode within the set time period, and then receive the user's operating mode setting information for the set time period, wherein the operating mode setting information is used to indicate the operating time of at least one operating mode within the set time period.

[0038] Step 102 : for each of the plurality of consecutive set time periods, generating operation mode identification information of the set time period according to the operation mode setting information of the set time period.

[0039] In the embodiment of the present invention, according to the operation mode setting information of the set time period received in step 101, it can be known that there will be at least one operation mode in the set time period, wherein each operation mode corresponds to an operation time. Therefore, it is necessary to identify the operation mode of the electronic device in the set time period, so as to facilitate the subsequent determination of the operation mode of the electronic device by identifying the identification information of the operation mode of the electronic device in the set time period. Specifically, for each set time period in a plurality of consecutive set time periods, according to the operation mode setting information of the set time period, the operation mode identification information of the set time period is generated, wherein the operation mode identification information of the set time period includes an identification corresponding to the operation mode in the operation mode setting information.

[0040] Step 103: Adjust the operation mode identification information of a plurality of consecutive set time periods in chronological order.

[0041] In an embodiment of the present invention, if there are consecutive identical operation mode identification information for multiple set time periods, it is necessary to repeatedly adjust the operation mode of the electronic device according to the operation mode identification information. In order to avoid the above problems, it is necessary to simplify the operation mode identification information for multiple set time periods. Specifically, if there are N consecutive identical identifications, the identification at the last N-1 bits is set as a non-adjustment identification, where N is greater than or equal to 2. In this case, the operation mode of the electronic device is adjusted according to the Nth bit of identification information, and the identification information at the last N-1 bits is a non-adjustment identification, that is, the operation mode of the electronic device is not adjusted at the last N-1 bits.

[0042] Step 104 : for each set period, the operation mode of the electronic device is set according to the adjusted operation mode identification information of the set period and the operation mode setting information of the set period.

[0043] In the embodiment of the present invention, for each set time period, the simplified operation mode identification information of the above step 103 and the operation mode setting information of the set time period are used to determine the operation mode of the electronic device.

[0044] It can be seen from the above steps 101 to 104 that the operation mode identification information of a plurality of consecutive set time periods is simplified in chronological order, thereby avoiding repeated adjustment of the operation mode of the electronic device according to the operation mode identification information. For each set time period, at least one operation mode of the electronic device for the set time period is determined according to the simplified operation mode identification information and the operation mode setting information of the set time period.

[0045] like Figure 2 As shown, it is a schematic diagram of an interactive interface provided by an embodiment of the present invention. In order to determine at least one operating mode of an electronic device within a set time period, the user is first required to input the operating mode setting information for the set time period on the interactive interface, wherein the interactive interface 200 includes a schedule setting component 210, an application selection component 220, and a SIM card selection component 230. The schedule setting component 210 is used to set the operating time corresponding to each operating mode. The application selection component 220 is used to set the application required to be opened corresponding to each operating mode. The SIM card selection component 230 is used to set the SIM card required for each operating mode.

[0046] like Figure 3 , which is a schematic diagram of a first interface provided by an embodiment of the present invention. When the user clicks the schedule setting component 210, the user will be redirected to the first interface 300, wherein the first interface includes an operation mode selection component 310, which is used to set the operation mode corresponding to the set time period. Figure 3 , the operation mode corresponding to the first set period is the full first mode, and the operation mode corresponding to the second set period is the full second mode. For example, if the first mode is the working mode and the second mode is the off-duty mode, Figure 3 The operating mode corresponding to the first set time period set in is the all-day working mode, and the operating mode corresponding to the second set time period is the all-day off-duty mode.

[0047] In an embodiment of the present invention, after receiving the operation mode setting information for a set period of time input by the user in the interactive interface, in order to determine the operation mode of the electronic device in the set period of time, it is necessary to generate the operation mode identification information of the set period of time according to the operation mode setting information in the set period of time. In order to facilitate understanding of this solution, the following describes how to generate the operation mode identification information of the set period of time.

[0048] like Figure 4 FIG. 1 is a flow chart of a method for generating operation mode identification information for a set period of time provided by an embodiment of the present invention, the method comprising the following steps:

[0049] Step 401, determining the operation mode of the divided time points of the set time period according to the operation mode setting information of the set time period.

[0050] In the embodiment of the present invention, since the operation mode setting information is used to indicate the operation time of at least one operation mode within the set time period, each set time period has a division time point, which can be seen in Figure 5 . The split time point is used to split two adjacent set time periods. In order to more accurately generate the operating mode identification information of the set time period, it is necessary to first determine the operating mode of the split time point of the set time period. Specifically, according to the operating mode setting information of the set time period, the operating mode of the split time point of the set time period can be more accurately determined. For example, the set time period is one day, the split time point can be the zero o'clock of each day, and the operating mode includes the working mode and the off-duty mode. If the operating mode corresponding to the zero o'clock in the operating mode setting information of the Ath day is the off-duty mode, then the operating mode at the split time point of the Ath day is determined to be the off-duty mode. If the operating mode corresponding to the zero o'clock in the operating mode setting information of the Bth day is the working mode, then the operating mode at the split time point of the Bth day is determined to be the working mode.

[0051] Step 402 : generating operation mode identification information of the set period according to the operation modes at the divided time points of the set period and the operation modes in the operation mode setting information of the set period.

[0052] In the embodiment of the present invention, since the operating mode identification information of the set time period includes the identification corresponding to the split time point, the identification corresponding to the first reference point and the identification corresponding to the second reference point in sequence, wherein the first reference point and the second reference point are used as the boundary for dividing the first mode and the second mode, see Figure 6 It should be noted that the first reference point and the second reference point have different operation modes in certain scenarios, but in other scenarios, the operation modes of the first reference point and the second reference point may be the same. For specific scenarios, please refer to the following examples.

[0053] For example, if the operation mode includes a first mode represented by A and a second mode represented by B, in a possible scenario, the operation mode setting information of the set period is the full first mode, which means that the operation mode of the divided time point in the set period is the first mode, that is, the operation mode identification of the divided time point in the set period is A, the operation mode of the first reference point in the set period is also the first mode, that is, the operation mode identification of the first reference point in the set period is A, and the operation mode of the second reference point in the set period is also the first mode, that is, the operation mode identification of the second reference point in the set period is A. It should be noted that when the operation mode setting information of the set period is the full first mode, the operation modes of the first reference point and the second reference point are the same. Therefore, when the operation mode setting information of the set period is the full first mode, the operation mode identification information of the set period is AAA. In other words, if the operation mode setting information of the set period is the full second mode, it means that the operation mode of the split time point in the set period is the second mode, that is, the operation mode identification of the split time point in the set period is B, the operation mode of the first reference point in the set period is also the second mode, that is, the operation mode identification of the first reference point in the set period is B, and the operation mode of the second reference point in the set period is also the second mode, that is, the operation mode identification of the second reference point in the set period is B. It should be noted that when the operation mode setting information of the set period is the full second mode, the operation modes of the first reference point and the second reference point are the same. Therefore, when the operation mode setting information of the set period is the full second mode, the operation mode identification information of the set period is BBB.

[0054] In another possible scenario, if the operation mode setting information of the set period includes the first mode at the non-split time point and the second mode after the first mode, it means that the operation mode at the split time point in the set period is the second mode, that is, the operation mode identification of the split time point in the set period is B, the operation mode of the first reference point in the set period is the first mode, that is, the operation mode identification of the first reference point in the set period is A, and the operation mode of the second reference point in the set period is the second mode, that is, the operation mode identification of the second reference point in the set period is B. It should be noted that when the operation mode setting information of the set period includes the first mode at the non-split time point and the second mode after the first mode, the operation mode identification information of the set period is BAB.

[0055] In a possible implementation, if the first mode is the working mode, the second mode is the off-duty mode, the set period is one day, and the split time point is zero o'clock, if the operation mode setting information of the Cth day is the full first mode, it is the full-day working mode, that is, the operation mode from zero o'clock on the Cth day to zero o'clock on the C+1th day is the working mode. Figure 7If the operation mode setting information of the Dth day is the full second mode, it is the off-duty mode for the whole day, that is, the operation mode from 0:00 on the Dth day to 0:00 on the D+1th day is the off-duty mode. Figure 8 If the operation mode setting information of day E includes the first mode at zero o'clock and the second mode after the first mode, it is a partial working mode. Fig. 9 . That is to say, on the Eth day, there is both an on-duty mode and an off-duty mode. Specifically, during the period from zero o'clock on the Eth day to the first reference point, the operating mode is the second mode, i.e., the off-duty mode. Therefore, the operating mode at zero o'clock on the Eth day is the off-duty mode. During the period from the first reference point to the second reference point on the Eth day, the operating mode is the first mode, i.e., the on-duty mode. Therefore, the operating mode at the first reference point on the Eth day is the on-duty mode. During the period from the second reference point on the Eth day to the zero o'clock on the E+1th day, the operating mode is the second mode, i.e., the off-duty mode. Therefore, the operating mode at the second reference point on the Eth day is the off-duty mode.

[0056] It can be seen from the above steps 401 to 402 that, based on the operating mode setting information of the set time period, the operating mode identification information of the set time period can be determined more accurately, which is convenient for the subsequent determination of the operating mode corresponding to the operating time based on the operating mode identification information of the set time period by the electronic device.

[0057] For example, if the set period is one day, three set periods are one cycle, and the D-1 day, the D day and the D+1 day are one cycle. C is a no-adjustment flag. The operation mode setting information of the D day is the full-day off-duty mode, that is, the operation mode identification information of the D day is BBB, the operation mode setting information of the D-1 day is the full-day off-duty mode, that is, the operation mode identification information of the D-1 day is BBB, and the operation mode setting information of the D+1 day is the partial work mode, that is, the operation mode identification information of the D+1 day is BAB. The operation mode identification information of the D-1 day, the D day and the D+1 day are sorted in chronological order, and the operation mode identification information of a cycle is obtained as BBBBBBBAB, where it should be noted that B is the operation mode of the off-duty mode. If it is directly based on the operation mode identification information of the cycle, even if there are 7 consecutive identifications of the operation mode of the off-duty mode in the operation mode identification information of the cycle, the operation mode of the electronic device will still be adjusted according to each B identification, which will cause the operation mode of the electronic device to be adjusted from the off-duty mode to the off-duty mode, and the adjustment is an invalid adjustment. In order to avoid invalid adjustment of the operation mode of the electronic device, it is necessary to simplify the operation mode identification information of the cycle. Specifically, the identification located in the last N-1 positions of N consecutive identical identifications is set as the non-adjustment identification, N is greater than or equal to 2, that is, BBBBBBBAB is adjusted to BCCCCCCAB.

[0058] In an embodiment of the present invention, for any identifier in the adjusted operation mode identification information of the set time period, when the operation time corresponding to the identifier is reached, the operation mode of the electronic device is set according to the identifier; if the identifier is a non-adjustment identifier, the operation mode of the electronic device is maintained. For example, if the adjusted operation mode identification information of the set time period is BCCCCCCAB, the operation mode corresponding to the B identifier is the off-duty mode, the operation mode corresponding to the A identifier is the on-duty mode, and the operation mode corresponding to the C identifier is the non-adjustment mode. In chronological order, when the operation time corresponding to the first identifier is reached, the operation identifier of the electronic device is set according to the first identifier, wherein since the first identifier is B, when the operation time corresponding to the first identifier is reached, the operation mode of the electronic device is the off-duty mode. Since the second identifier to the seventh identifier are all C, the operation mode corresponding to C is the non-adjustment mode, therefore, when the operation time corresponding to the second identifier to the seventh identifier is reached, the operation mode of the electronic device is the non-adjustment mode. When the operation time corresponding to the eighth identifier is reached, the operation identifier of the electronic device is set according to the eighth identifier, wherein since the eighth identifier is A, therefore, when the operation corresponding to the eighth identifier is reached, the operation mode of the electronic device is the on-duty mode. When the operation time corresponding to the ninth identifier arrives, the operation identifier of the electronic device is set according to the ninth identifier. Since the ninth identifier is B, when the operation time corresponding to the ninth identifier arrives, the operation mode of the electronic device is the off-duty mode.

[0059] In a possible implementation, a plurality of consecutive set time periods are taken as a cycle, and the operation mode of the electronic device can be set according to the adjusted operation mode identification information of each set time period in at least two cycles and the operation mode setting information of each set time period. For example, the set time period is one day, and a cycle is 7 days. First, according to each day in a cycle, the operation mode identification information of each day is generated according to the operation mode setting information of each day, and the operation mode identification information of a cycle is simplified in chronological order. By extending the cycle, the number of times the user sets the operation mode of the electronic device can be reduced, thereby improving the user experience. Therefore, the operation mode of the electronic device can be set according to the adjusted operation mode identification information of each day in the two cycles and the operation mode setting information of each day.

[0060] For example, if the set time period is one day, the split time point is zero, the first reference point is the working time, and the second reference point is the off-duty time, where the working time is 9 am and the off-duty time is 5 pm. The three set time periods are a cycle, and the user sets the operation mode of a cycle at 4 pm on Wednesday, that is, the user needs to set the operation mode for Wednesday, Thursday and Friday. If the operation mode on Wednesday is a partial working mode, the working time is set to 9 am and the off-duty time is 5 pm. However, since the user set it at 4 pm, 4 pm is neither the working time nor the off-duty time. Therefore, in order to determine the operation mode at 4 pm on Wednesday, the operation mode corresponding to the non-non-adjustment mark earlier than 4 o'clock on Wednesday is determined as the target operation mode, and the target operation mode is the operation mode at 4 pm on Wednesday.

[0061] In some embodiments of the present application, the operation mode also includes a third mode, wherein the third mode may be an overtime mode, a meeting mode, a study mode, a leisure mode, etc., which will not be described in detail here. For example, if the third mode is an overtime mode, A represents the working mode, B represents the off-duty mode, and the set period is one day, then the operation mode identification information includes the identification corresponding to the split time point, the identification corresponding to the first reference point, the identification corresponding to the second reference point, the identification corresponding to the third reference point, and the identification corresponding to the fourth reference point in sequence, and the first reference point, the second reference point, the third reference point, and the fourth reference point are used as the boundaries for dividing the first mode, the second mode, and the third mode. Since the operation mode is an overtime mode, the operation mode corresponding to the split time point is B, the operation mode corresponding to the first reference point is A, the operation mode corresponding to the second reference point is B, the operation mode corresponding to the third reference point is A, and the operation mode corresponding to the fourth reference point is B. It can be understood that in the period between the split time point and the first reference point, the operation mode is B, that is, the off-duty mode. In the period between the first reference point and the second reference point, the operation mode is A, that is, the working mode. During the period between the second reference point and the third reference point, the operation mode is B, that is, the off-duty mode. Since the operation mode of this set period is the third mode, after the on-duty mode and the off-duty mode, there will be an on-duty mode, and the operation period of this on-duty mode corresponds to the overtime period. Therefore, during the period between the third reference point and the fourth reference point, that is, the overtime period, the operation mode is A, that is, the on-duty mode.

[0062] To give another example, if the third mode is a learning mode, D represents a focused learning mode, E represents a relaxation mode, the set time period is one day, and the set time period is the Mth day, then the operation mode identification information includes, in sequence, the identification corresponding to the split time point, the identification corresponding to the first reference point, and the identification corresponding to the second reference point. Among them, the split time point is zero, and the first reference point and the second reference point are the boundaries for dividing the focused learning mode and the relaxation mode. Since the third mode is a learning mode, the operation mode corresponding to the split time point is E, the operation mode corresponding to the first reference point is D, and the operation mode corresponding to the second reference point is E. It can be understood that during the period between the split time point and the first reference point, the operation mode is E, that is, the relaxation mode. During the period between the first reference point and the second reference point, the operation mode is D, that is, the focused learning mode. During the period between the second reference point and the split time point of the M+1th day, the operation mode is E, that is, the relaxation mode.

[0063] Based on the same technical concept as above, an embodiment of the present invention provides a device for determining the operating mode of an electronic device, which can be seen in Fig.10 . The device 1000 includes: an acquisition unit 1001, which is used to receive the user's operating mode setting information for a set time period; the operating mode setting information is used to indicate the operating time of at least one operating mode within the set time period. The processing unit 1002 is used to generate the operating mode identification information of the set time period for each set time period in a plurality of consecutive set time periods according to the operating mode setting information of the set time period; any operating mode identification information includes an identifier corresponding to the operating mode in the operating mode setting information; the operating mode identification information of a plurality of consecutive set time periods is adjusted in chronological order, wherein the identifier located at the last N-1 bits of N consecutive identical identifiers is set as an unadjusted identifier, N being greater than or equal to 2; for each set time period, the operating mode of the electronic device is set according to the adjusted operating mode identification information of the set time period and the operating mode setting information of the set time period.

[0064] In some embodiments of the present application, each set time period has a division time point; the processing unit 1002 is specifically used to determine the operating mode of the division time point of the set time period according to the operating mode setting information of the set time period; based on the operating mode of the division time point of the set time period and each operating mode in the operating mode setting information of the set time period, generate the operating mode identification information of the set time period; the operating mode identification information is an identification corresponding to each operating mode in chronological order.

[0065] In some embodiments of the present application, the processing unit 1002 is specifically used to set the operating mode of the electronic device according to any identifier in the adjusted operating mode identification information of the set time period when the operating time corresponding to the identifier arrives; if the identifier is not to be adjusted, the operating mode of the electronic device is maintained.

[0066] In some embodiments of the present application, the processing unit 1002 is specifically used to treat multiple consecutive set time periods as a cycle; and set the operating mode of the electronic device according to the adjusted operating mode identification information of each set time period in at least two cycles and the operating mode setting information of each set time period.

[0067] In some embodiments of the present application, the acquisition unit 1001 is specifically used to: receive the operating mode setting information for a set time period input by the user in the interactive interface; wherein the interactive interface has a schedule setting component and an operating mode selection component; the schedule setting component is used to set the operating time corresponding to each operating mode; the operating mode selection component is used to set whether to turn on the operating mode switching mode.

[0068] In some embodiments of the present application, the operating mode includes a first mode represented by A and a second mode represented by B; the operating mode identification information includes, in sequence, an identification corresponding to a split time point, an identification corresponding to a first reference point, and an identification corresponding to a second reference point; the first reference point and the second reference point are used as a boundary between the first mode and the second mode; the processing unit 1002 is specifically used to set the operating mode identification information of the set period to AAA if the operating mode setting information of the set period is the full first mode; set the operating mode identification information of the set period to BBB if the operating mode setting information of the set period is the full second mode; if the operating mode setting information of the set period includes the first mode at a non-split time point and the second mode after the first mode, set the operating mode identification information of the set period to BAB.

[0069] In some embodiments of the present application, the first mode is the working mode, and the second mode is the off-get off work mode; the entire first mode is the all-day working mode; the entire second mode is the all-day off-get off work mode; the first mode at non-split time points and the second mode after the first mode are partial working modes.

[0070] Based on the same technical concept, the embodiment of the present application also provides an electronic device, such as Fig.11 As shown, the electronic device 1100 includes at least one processor 1101 and a memory 1102 connected to the at least one processor. The specific connection medium between the processor 1101 and the memory 1102 is not limited in the embodiment of the present application. Fig.11 For example, the processor 1101 and the memory 1102 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0071] In an embodiment of the present application, the memory 1102 stores instructions that can be executed by at least one processor 1101. The at least one processor 1101 can execute the steps included in the aforementioned method for determining the operating mode of the electronic device by executing the instructions stored in the memory 1102.

[0072] Among them, the processor 1101 is the control center of the computing device, and can use various interfaces and lines to connect various parts of the computing device, and realize data processing by running or executing instructions stored in the memory 1102 and calling data stored in the memory 1102. The processor 1101 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can realize or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.

[0073] The memory 1102 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs, and modules. The memory 1102 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, and the like.

[0074] Based on the same technical concept, an embodiment of the present application also provides a computer-readable storage medium, which stores a computer program that can be executed by a computing device. When the program runs on an electronic device, the electronic device executes the steps of the above-mentioned method for determining the operating mode of the electronic device.

[0075] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may 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 may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0076] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0077] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0079] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0080] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for determining an operating mode of an electronic device, characterized in that: include: Receive user's operation mode setting information for a set period of time; The operation mode setting information is used to indicate the operation time of at least one operation mode within the set time period; For each of the plurality of consecutive set time periods, generating the operation mode identification information of the set time period according to the operation mode setting information of the set time period; Any operation mode identification information includes an identification corresponding to the operation mode in the operation mode setting information; Adjust the operation mode identification information of multiple consecutive set time periods in chronological order, wherein the identification located at the last N-1 bits of N consecutive identical identifications is set as an unadjusted identification, where N is greater than or equal to 2; For each set period, setting the operation mode of the electronic device according to the adjusted operation mode identification information of the set period and the operation mode setting information of the set period; The step of setting the operation mode of the electronic device according to the adjusted operation mode identification information of the set period and the operation mode setting information of the set period includes: For any identifier in the adjusted operation mode identification information of the set time period, when the operation time corresponding to the identifier arrives, the operation mode of the electronic device is set according to the identifier; if the identifier is a non-adjustment identifier, the operation mode of the electronic device is maintained.

2. The method according to claim 1, characterized in that Each of the set time periods has a divided time point; Generating the operation mode identification information of the set period according to the operation mode setting information of the set period includes: Determining the operation mode of the divided time points of the set time period according to the operation mode setting information of the set time period; The operation mode identification information of the set period is generated according to the operation mode of the divided time points of the set period and each operation mode in the operation mode setting information of the set period; the operation mode identification information is the identification corresponding to each operation mode in chronological order.

3. The method according to claim 1, characterized in that The step of setting the operation mode of the electronic device includes: Take multiple consecutive set time periods as a cycle; The operation mode of the electronic device is set according to the adjusted operation mode identification information of each set period in at least two cycles and the operation mode setting information of each set period.

4. The method according to any one of claims 1 to 3, characterized in that: Receive the user's operating mode setting information for the set time period, including: Receiving operation mode setting information for a set period of time input by a user on an interactive interface; wherein the interactive interface has a schedule setting component and an operation mode selection component; The schedule setting component is used to set the operating time corresponding to each operating mode; The operation mode selection component is used to set whether to enable the operation mode switching mode.

5. The method according to claim 4, characterized in that The operating modes include a first mode represented by A and a second mode represented by B; The operation mode identification information includes, in sequence, an identification corresponding to the split time point, an identification corresponding to the first reference point, and an identification corresponding to the second reference point; The first reference point and the second reference point are used as a boundary for dividing the first mode and the second mode; According to the operation modes of the divided time points of the set period and the operation modes in the operation mode setting information of the set period, the operation mode identification information of the set period is generated, including: If the operation mode setting information of the set time period is the full first mode, setting the operation mode identification information of the set time period to AAA; If the operation mode setting information of the set period is the full second mode, the operation mode identification information of the set period is set to BBB; If the operation mode setting information of the set period includes a first mode at a non-divided time point and a second mode after the first mode, the operation mode identification information of the set period is set to BAB.

6. The method according to claim 5, characterized in that The first mode is a working mode, and the second mode is an off-get off work mode; The full first mode is a full-day working mode; The full second mode is a full-day off-get off work mode; The first mode at the non-divided time point and the second mode after the first mode are partial working modes.

7. A device for determining an operating mode of an electronic device, characterized in that: include: An acquisition unit, used to receive the user's setting information of the operation mode within a set time period; The operation mode setting information is used to indicate the operation time of at least one operation mode within the set time period; a processing unit, configured to generate, for each of a plurality of consecutive set time periods, operation mode identification information of the set time period according to the operation mode setting information of the set time period; Any operation mode identification information includes an identification corresponding to the operation mode in the operation mode setting information; Adjusting the operation mode identification information of a plurality of consecutive set time periods in chronological order, wherein the identification located at the last N-1 bits of N consecutive identical identifications is set as an unadjusted identification, where N is greater than or equal to 2; for each set time period, setting the operation mode of the electronic device according to the adjusted operation mode identification information of the set time period and the operation mode setting information of the set time period; Wherein, the processing unit is specifically used for: A plurality of consecutive set time periods is regarded as a cycle; and the operation mode of the electronic device is set according to the adjusted operation mode identification information of each set time period in at least two cycles and the operation mode setting information of each set time period.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of any one of the methods of claims 1 to 6 are implemented.

9. A computer-readable storage medium, characterized in that: It stores a computer program executable by a computer device. When the program is run on the computer device, the computer device executes the steps of any method described in claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for switching over in a computer system using at least one external signal

    CN101069153A

  • Method and device for automatically changing mobile phone working mode

    CN102158608A