Intelligent device, server, control method thereof and intelligent control system

Through the control method of intelligent devices and servers, the terminal switch status signal is obtained and the power-off time information is received, and the switching instructions are generated and sent, which solves the problem of complex terminal timing power-on and shutdown operations, and realizes efficient and intelligent terminal management.

CN114020337BActive Publication Date: 2025-06-10上海视颐电子科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111233681.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2025-06-10
Estimated Expiration
2041-10-22

AI Technical Summary

Technical Problem

The prior art is difficult to conveniently realize the timing of the terminal and the shutdown, and the existing methods are complex and require professional operations, so they cannot realize remote batch settings, and may have adverse effects on the terminal.

Method used

It provides a control method for intelligent devices and servers, by acquiring the switch status signal of the terminal, receiving the power-off time information sent by the server, generating and sending switching instructions, and realizing the timing power-on and shutdown of the terminal.

Benefits of technology

It realizes convenient and intelligent timing of the terminal, simplifies operation steps, improves the degree of automation, and avoids manual operation errors and potential damage to the terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114020337B_ABST
    Figure CN114020337B_ABST
Patent Text Reader

Abstract

The objective of this application is to provide an intelligent device, a server, their control methods, and an intelligent control system. Among them, the control method of the intelligent device includes the following steps: obtaining the switch status signal of the terminal; receiving the power-on and power-off time information sent by the server, where the power-on and power-off time information is determined and sent according to a preset switch strategy; generating a switch instruction based on the power-on and power-off time information and the switch status signal; and sending a switch signal to the terminal according to the switch instruction, so that the terminal is started or shut down according to the switch signal. Compared with the prior art, the intelligent device, server, their control methods, and the intelligent control system provided by this application can conveniently achieve the timed power-on and power-off of the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and particularly to an intelligent device, a server, a control method thereof, and an intelligent control system. Background Art

[0002] Normally, due to the requirements of energy conservation and environmental protection, operations such as setting timed startup and shutdown are required for terminals such as desktop computers.

[0003] However, in the prior art, the solution for controlling the timed switch of a computer usually requires setting the timed switch in the BIOS system of the motherboard. However, this setting method is relatively complex and requires professional operation. Moreover, it does not have the function of remotely batch setting the timing and cannot monitor the switch status of the computer in real time. In addition, setting the timed startup and shutdown in the BIOS itself belongs to an intrusive low-level configuration modification of the computer. If it is modified improperly, it may have an adverse impact on the computer.

[0004] Another way is to use a time control switch to periodically open and close the circuit to cut off the power supply of the computer, thereby realizing the switch control of terminals such as the computer. However, this method belongs to abnormal shutdown and is prone to defects such as the loss of data actually running on the computer. If used for a long time, it is easy to reduce the service life of the internal hardware of the computer and cause failures.

[0005] Therefore, how to conveniently realize the timed startup and shutdown of the terminal is a technical problem that the present invention urgently needs to solve. Summary of the Invention

[0006] Aiming at the above-mentioned disadvantages or deficiencies of the prior art, the technical problem to be solved by the present invention is how to provide an intelligent device, a server, a control method thereof, and an intelligent control system, which can conveniently realize the timed startup and shutdown of the terminal.

[0007] To solve the above technical problem, the present invention provides a control method for an intelligent device, including:

[0008] Obtaining the switch status signal of the terminal;

[0009] Receiving the startup and shutdown time information sent by the server, wherein the startup and shutdown time information is determined and sent according to a preset switch strategy;

[0010] Generating a switch instruction according to the startup and shutdown time information and the switch status signal;

[0011] Sending a switch signal to the terminal according to the switch instruction, so that the terminal starts or shuts down according to the switch signal.

[0012] Further preferably, the step of generating a switch instruction according to the startup and shutdown time information and the switch status signal includes:

[0013] Determine the power-on and power-off times based on the power-on and power-off time information, where the power-on and power-off times include the power-on time and the power-off time;

[0014] Obtain and determine whether the current time is the power-on and power-off time;

[0015] If so, determine the switch command that matches the power-on and power-off time, and determine whether the switch command matches the switch status signal;

[0016] If they match, generate the switch command.

[0017] Further preferably, the step of generating a switch command according to the power-on and power-off time information and the switch status signal includes:

[0018] Determine whether the current time is the power-on time;

[0019] Determine whether the switch status signal is a power-off status signal;

[0020] If so, determine the power-on and off command as a power-on command, and determine that the switch command matches the switch status signal successfully;

[0021] If not, determine whether the switch status signal is a power-on status signal;

[0022] If so, determine the power-on and off command as a power-off command, and determine that the switch command matches the switch status signal successfully.

[0023] This application also provides a control method for an intelligent device, including:

[0024] Obtain the switch status signal of the terminal;

[0025] Determine the power-on and power-off time information according to the preset switch strategy;

[0026] Generate a switch command according to the power-on and power-off time information and the switch status signal;

[0027] Send a switch signal to the terminal according to the switch command, so that the terminal starts or shuts down according to the switch signal.

[0028] Further preferably, the step of determining the power-on and power-off time information according to the preset switch strategy includes:

[0029] Determine the power-on and power-off strategy to be executed according to the priority order of the preset power-on and power-off strategies;

[0030] Judge whether the power-on and power-off strategy to be executed is valid according to the current time and the preset rules;

[0031] If it is valid, determine the power-on / off time information according to the power-on / off policy.

[0032] If it is invalid, determine whether the priority of the to-be-executed power-on / off policy is the lowest level. If so, end the process; otherwise, according to the order of the priorities, sequentially adjust the next-level power-on / off policy to the to-be-executed power-on / off policy until the process ends.

[0033] Further preferably, the step of determining whether the to-be-executed power-on / off policy is valid according to the current time and the preset rules includes:

[0034] Determine the preset time according to the end moment of the date where the current time is located.

[0035] Determine whether the current time has reached the preset time.

[0036] If not, determine whether the current time belongs to the power-on / off date set by the to-be-executed power-on / off policy.

[0037] If so, determine whether the to-be-executed power-on / off policy is set with the power-on / off time information.

[0038] If so, determine that the to-be-executed power-on / off policy is valid; otherwise, determine that the executed power-on / off policy is invalid.

[0039] Further preferably, the power-on / off policy includes: a first policy, a second policy, and a third policy with decreasing priorities in sequence; wherein, the power-on / off date of the first policy is the holiday cycle period, and its power-on / off time information includes the power-on / off time period for setting the holiday cycle period; the power-on / off date of the second policy is the weekly cycle period, and its power-on / off time information includes: the power-on / off time period for setting the weekly cycle period; the power-on / off date of the third policy is the daily cycle period, and its power-on / off time information includes: the power-on / off time period for setting the daily cycle period.

[0040] Further preferably, the step of if it is valid, determine the power-on / off time information according to the power-on / off policy includes:

[0041] If it is valid, determine the power-on / off time information according to the initially set power-on / off time period in the power-on / off policy, where the power-on / off time information has at least one power-on / off time period.

[0042] Obtain the power-on / off data of the terminal, and adjust the power-on / off time period according to the power-on / off data.

[0043] This application also provides a control method for a server, including:

[0044] Determine the power-on and off policy to be executed according to the order of the priorities of the preset power-on and off policies;

[0045] According to the current time and the preset rules, determine whether the power-on and off policy to be executed is valid;

[0046] If it is valid, determine the power-on and off time information according to the power-on and off policy to be executed;

[0047] Send the power-on and off time information to the intelligent device;

[0048] If it is invalid, determine whether the priority of the power-on and off policy to be executed is the lowest level. If so, end. Otherwise, according to the order of the priorities, sequentially adjust the next-level power-on and off policy to the power-on and off policy to be executed until the end.

[0049] Further preferably, the step of determining whether the power-on and off policy to be executed is valid according to the current time and the preset rules includes:

[0050] Determine the preset time according to the end moment of the date where the current time is located;

[0051] Determine whether the current time reaches the preset time;

[0052] If not, determine whether the current time belongs to the power-on and off date set by the power-on and off policy to be executed;

[0053] If so, determine whether the power-on and off policy to be executed sets the power-on and off time information;

[0054] If so, determine that the power-on and off policy to be executed is valid. Otherwise, determine that the executed power-on and off policy is invalid.

[0055] Further preferably, the power-on and off policy includes: a first policy, a second policy, and a third policy with decreasing priorities in sequence; wherein, the power-on and off date of the first policy is the holiday cycle period, and includes the power-on time and the power-off time for setting the holiday cycle period; the power-on and off date of the second policy is the weekly cycle period, and includes: the power-on time and the power-off time for setting the weekly cycle period; the power-on and off date of the third policy is the daily cycle period, and includes: the power-on time and the power-off time for setting the daily cycle period.

[0056] Further preferably, the step of determining the power-on and off time information according to the power-on and off policy if it is valid includes:

[0057] If it is valid, determine the power-on and off time information according to the initially set power-on and off time periods within the power-on and off policy, wherein the power-on and off time information has at least one of the power-on and off time periods;

[0058] Obtain the power-on and power-off data of the terminal, and adjust the power-on and power-off time periods according to the power-on and power-off data.

[0059] This application also provides an intelligent device, which is characterized in that it is used to control the on / off state of the terminal by the control method of the above intelligent device.

[0060] Further preferably, the intelligent device includes: a control main board; a communication interface electrically connected to the power signal interfaces of the control main board and the main board of the terminal; a network communication module communicatively connected to the control main board and an external server; wherein, the control main board is used to obtain the on / off state signal of the terminal through the communication interface, and cause the communication interface to send an on / off signal to the terminal according to the on / off instruction; and, the control main board is further used to receive the power-on and power-off time information sent by the server through the network communication module.

[0061] Further preferably, the terminal is any one of a desktop computer, a laptop computer or a tablet computer; the network communication module is any one or a combination of a 4G module, a 5G module, a WIFI module, and an Ethernet module.

[0062] Further preferably, the power switch interface is the first pin and the second pin of the main board; wherein, the first pin is the power-on pin, which is used to receive a switch signal matching the power-on instruction in the on / off instruction; the second pin is the power-off pin, which is used to receive a switch signal matching the power-off instruction in the on / off instruction; the power signal interface is the third pin of the main board, wherein, the third pin is a digital signal output interface pin, which is used to output the on / off state signal to the control main board; the digital signal output interface pin is a pin for audio signals.

[0063] This application also provides a server, which is characterized in that it is used to send a timed on / off instruction to the intelligent device through the control method of the above server to control the on / off state of the terminal.

[0064] This application also provides an intelligent control system, including the above intelligent device and server.

[0065] Compared with the prior art, the control methods of the intelligent device and server provided by this application, as well as the intelligent device and intelligent control system, can conveniently realize the timed power-on and power-off of the terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, objects and advantages of this application will become more obvious:

[0067] Figure 1 : Specific flowchart of the control method of the intelligent device in the first embodiment of the present invention;

[0068] Figure 2 : Figure 1 Specific flowchart of step S20 in

[0069] Figure 3 : Figure 2 Specific flowchart of step S202 in

[0070] Figure 4 : Figure 1 Specific flowchart of step S30 in

[0071] Figure 5 : Figure 4 Specific flowchart of step S303 in

[0072] Figure 6 : Figure 2 Specific flowchart of step S203 in

[0073] Figure 7 : Figure 6 Specific flowchart of step S2032 in

[0074] Figure 8 : Specific flowchart of the control method of the intelligent device in the second embodiment of the present invention;

[0075] Figure 9 : Figure 8 Specific flowchart of step S20a in

[0076] Figure 10 : Figure 8 Specific flowchart of step S30a in

[0077] Figure 11 : Figure 10 Specific flowchart of step S303a in

[0078] Figure 12 : Specific flowchart of the control method of the server in the third embodiment of the present invention;

[0079] Figure 13 : Figure 12 Specific flowchart of step S60 in

[0080] Figure 14 : Figure 12 Specific flowchart of step S70 in

[0081] Figure 15 : Figure 13 Specific flowchart of step S702 in

[0082] Figure 16 : Circuit schematic diagram of the intelligent device in the fourth embodiment of the present invention;

[0083] Figure 17 : Three-dimensional structure schematic diagram of the TV control box in the fourth embodiment of the present invention;

[0084] Figure 18 : Back structure schematic diagram of the TV control box in the fourth embodiment of the present invention.

[0085] Figure 19 : Working flowchart of the intelligent control system in the sixth embodiment of the present invention; Detailed implementation manners

[0086] The following will further illustrate the concept, specific structure and technical effects of the present invention in conjunction with the drawings, so as to fully understand the purpose, features and effects of the present invention.

[0087] Embodiment 1

[0088] As Figures 1 to 6 shown, the first embodiment of the present invention provides a control method for an intelligent device, which includes the following steps:

[0089] Step S10: Obtain the switch state signal of the terminal;

[0090] Step S20: Determine the switch time information according to the preset switch strategy;

[0091] Step S30: Generate a switch command according to the on / off time information and the switch state signal;

[0092] Step S50: Send a switch signal matching the switch command to the terminal according to the switch command, so that the terminal starts or shuts down according to the switch signal.

[0093] It can be seen from the above steps that: since the intelligent device can obtain the switch state signal of the terminal, and determine the corresponding on / off time information through the preset switch strategy, and determine the corresponding switch command, such as a power-on command or a power-off command, according to the on / off time information and the switch state signal, and send it to the terminal, so that the automatic timing power-on and power-off of the terminal can be conveniently realized, and during the whole process, no manual operation is required, which can save costs, has a high degree of automation, simplifies the operation steps, especially is conducive to realizing the automatic power-on and power-off control of a large number of terminals. In addition, the timing power-on and power-off times of the terminal can be adjusted at any time according to actual needs.

[0094] Among them, the preset switch strategy can be implemented by a program stored on the intelligent device or by a program stored on the server, and receive the switch time information sent by the server.

[0095] Specifically, and further preferably, the step of determining the on - off time information according to the preset switching strategy, that is, the above - mentioned step S20 specifically includes the following steps:

[0096] Step S201: Determine the on - off strategy to be executed according to the priority order of the preset on - off strategies;

[0097] Step S202: Judge whether the on - off strategy to be executed is valid according to the current time and the preset rules;

[0098] Step S203: If it is valid, determine the on - off time information according to the on - off strategy;

[0099] Step S204: If it is invalid, judge whether the priority of the on - off strategy to be executed is the lowest level. If so, end. Otherwise, enter step S205: Adjust the next - level on - off strategy to the on - off strategy to be executed in turn according to the priority order, and then enter step S202 to continue the judgment until the end.

[0100] Through the above steps, according to the requirements of timed power - on and power - off at the same time period in different situations, different - level power - on strategies and power - off strategies can be formulated to control the timed power - on and power - off of the terminal, so as to meet the requirements of timed power - on and power - off at different time periods in daily work, as well as meet the personalized energy - saving needs of users, and avoid repeated power - on and power - off at a certain time period, which affects the normal work order. For example, the power - on and power - off times corresponding to specific holidays, weekends, and weekdays can be set according to the priority order to distinguish the power - on time and power - off time of the day, thus avoiding conflicts in the setting of power - on and power - off times. In addition, through this method, the independent operation of different on - off strategies can be realized, and they can be executed according to the priority order without interference. For example, it enables the terminal to execute one or more on - off strategies or none of them according to the rules corresponding to each on - off strategy in a day.

[0101] Specifically, and further preferably, the step of judging whether the on - off strategy to be executed is valid according to the current time and the preset rules, that is, step S202 includes the following steps:

[0102] Step S2021: Determine the preset time according to the end moment of the date where the current time is located;

[0103] Step S2022: Judge whether the current time has reached the preset time;

[0104] Step S2023: If not, judge whether the current time belongs to the on - off date set by the on - off strategy to be executed. If so, enter step S204;

[0105] Step S2024: If so, determine whether the on / off policy to be executed is set with the on / off time information;

[0106] Step S2025: If so, determine that the on / off policy to be executed is valid; otherwise, determine that the executed on / off policy is invalid, and proceed to Step S204.

[0107] By setting the end time as a reference standard, define the on / off dates set by the on / off policy to be executed. Then, according to the execution conditions corresponding to each on / off policy in the order of priority, determine the on / off policy to be executed. And by judging whether the on / off policy to be executed is set with the on / off time, judge the validity of the on / off policy to be executed, which can enable each on / off policy to be executed or not executed in sequence. During the whole process, there will be no phenomenon of infinite loop easily occurring due to cyclic calculation by crossing the end time.

[0108] Generally, the end time in this embodiment can be set to 0:00 in the early morning or 12:00 at night. This embodiment only takes 12:00 at night as an example of the end time for illustration to conveniently control and manage the startup and shutdown of the terminal every day. Of course, in practical applications, it can also be other times, such as 6:00 in the evening, etc., so as to facilitate the terminal to start working or shut down for maintenance at the set time, thereby meeting different work requirements.

[0109] Specifically, the step of generating a switch command according to the on / off time information and the switch state signal, that is, Step S30, includes the following steps:

[0110] Step S301: Determine the on / off time according to the on / off time information, where the on / off time includes the startup time and the shutdown time;

[0111] Step S302: Obtain and judge whether the current time is the on / off time;

[0112] Step S303: If so, determine the switch command matching the on / off time, and judge whether the switch command matches the switch state signal; otherwise, delay the determination and proceed to Step S302;

[0113] Step S304: If they match, generate the switch command; otherwise, end.

[0114] Through the above steps, corresponding power-on instructions or power-off instructions can be sent according to the power-on time or power-off time corresponding to the power-on and power-off times. At the same time, before sending, it is judged whether it is necessary to send according to the switch status signal, avoiding misoperation of turning on or off the terminal. When the terminal is intervened by the outside world, for example, before the current time reaches the power-off time, it is manually powered off. If the switch status signal is not judged, it may lead to mis-sending of instructions and cause the terminal to be mis-powered on. On the contrary, it may also lead to mis-power-off. Therefore, the reliability of the above control method is improved, and energy waste is avoided.

[0115] Further preferably, the step of determining the switch instruction matching the power-on and power-off time and judging whether the switch instruction matches the switch status signal if so, that is, the steps of step S303 include:

[0116] Step S3031: Judge whether the current time is the power-on time;

[0117] Step S3032: Judge whether the switch status signal is a power-off status signal;

[0118] Step S3033: If so, determine the power-on and power-off instruction as a power-on instruction, and determine that the switch instruction matches the switch status signal successfully, otherwise end;

[0119] Step S3034: If not, judge whether the switch status signal is a power-on status signal;

[0120] Step S3035: If so, determine the power-on and power-off instruction as a power-off instruction, and determine that the switch instruction matches the switch status signal successfully, otherwise end.

[0121] Through the above steps, before the intelligent control device sends the power-on and power-off instructions to the terminal, according to the real-time power-on state or power-off state of the terminal, the corresponding power-on instructions or power-off instructions are adjusted or cancelled in time, realizing intelligent operation.

[0122] Further preferably, the step of determining the switch instruction and the power-on and power-off time information according to the power-on and power-off strategy if valid, that is, step S203 specifically includes:

[0123] Step S2031: If valid, determine the power-on and power-off time information according to the initially set power-on and power-off time periods in the power-on and power-off strategy, where the power-on and power-off time information has at least one of the power-on and power-off time periods;

[0124] In this way, the terminal can be controlled to turn on and off at multiple time periods, which is beneficial to refined management and control of the user's power-on and power-off times, and further plays an energy-saving role. For example, during non-working hours on weekdays, the shutdown setting is carried out and it is automatically turned on at different working times.

[0125] Further preferably, step S203 further includes:

[0126] Step S2032: Obtain the power-on and power-off data of the terminal, and adjust the power-on and power-off time periods according to the power-on and power-off data.

[0127] Furthermore, in step S2032, by obtaining the power-on and power-off status signals and power-on and power-off instructions, the power-on and power-off data corresponding to each terminal can be generated. Then, through corresponding mathematical analysis methods or mathematical models, the power-on and power-off data is analyzed. Within the set unit time, such as every day, every week, or every month, etc., when the best energy saving effect is obtained and the number of times the user independently turns on or off the machine is small, the corresponding optimized power-on and power-off time periods are obtained, and the optimized power-on and power-off time periods are used to replace the initially set power-on and power-off time periods, so as to meet the usage habits of different users and maximize the energy saving and carbon emission reduction effects.

[0128] In addition, it is worth mentioning that, as one of the preferred methods, as Figure 7 shown, step S2032: Obtain the power-on and power-off data of the terminal, and adjust the power-on and power-off time periods according to the power-on and power-off data specifically includes the following steps:

[0129] Step S2032a: After determining that the power-on and power-off data is inconsistent with the power-on and power-off time periods, send a prompt instruction to the terminal. Here, after receiving the prompt instruction, the terminal generates a virtual button waiting for the user to confirm the change, so that after the user clicks the virtual button, a change instruction is sent to the intelligent device; here, it should be noted that the intelligent device can send a prompt instruction or a change instruction to the terminal through the server, or through a control device that is communicatively connected to both the intelligent device and the terminal, such as a mobile terminal like a mobile phone, to send a prompt instruction or a change instruction to the terminal.

[0130] Step S2032b: Receive and obtain the change instruction;

[0131] Step S2032c: Adjust the power-on and power-off time periods according to the change instruction and the power-on and power-off data.

[0132] Through the above steps, that is, when the intelligent device determines that the actual power-on and power-off time periods are inconsistent with the set power-on and power-off time periods, it sends a prompt instruction that can generate a virtual button with a prompt function to the terminal, so as to facilitate the user to judge whether to change by himself. This not only enables the users of each terminal to adjust the power-on and power-off time of the terminal according to their own habits, realizing differential adjustment and control, but also prevents the phenomenon that the user accidentally changes the power-on and power-off time periods by himself, so as to meet the usage habits of different users and maximize the energy saving and carbon emission reduction effects.

[0133] Further preferably, the power-on and power-off strategy includes: a first strategy, a second strategy, and a third strategy with decreasing priorities; wherein, the power-on and power-off dates of the first strategy are the holiday cycle period, and include the power-on time and power-off time for setting the holiday cycle period; the power-on and power-off dates of the second strategy are the weekly cycle period, and include: the power-on time and power-off time for setting the weekly cycle period; the power-on and power-off dates of the third strategy are the daily cycle period, and include: the power-on time and power-off time for setting the daily cycle period. In addition, it should be noted that the number of power-on times and power-off times in each strategy can be single or multiple, not limited to three, and will not be elaborated here. Among them, the above-mentioned holidays are only illustrated by domestic legal holidays and are not specifically limited, and the weekly cycle period is only illustrated by weekend time. In actual practice, it can also be any day from Monday to Sunday, and no specific limitations and elaborations will be made here.

[0134] In addition, it is worth mentioning that step S20 in this embodiment can also be preferably: receiving the power-on and power-off time information sent by the server, wherein the power-on and power-off time information is determined and sent according to the preset power-on and power-off strategy. To realize the remote control of the terminal by the intelligent control device through the server. Obviously, it should be noted that the intelligent control device in this embodiment can be controlled by itself or a device communicatively connected to the intelligent control device, such as a mobile phone, a keyboard, etc., to set the power-on and power-off strategy.

[0135] Embodiment 2

[0136] As Figures 8 to 11 shown, the second embodiment of the present invention provides a control method for an intelligent device, which includes the following steps:

[0137] Step S10a: Obtain the on / off state signal of the terminal;

[0138] Step S20a: Receive the power-on and power-off time information sent by the server, wherein the power-on and power-off time information is determined and sent according to the preset power-on and power-off strategy;

[0139] Step S30a: Generate a switch command according to the power-on and power-off time information and the on / off state signal;

[0140] Step S50a: Send a switch signal matching the switch command to the terminal according to the switch command, so that the terminal is started or closed according to the switch signal.

[0141] As can be seen from the above steps: Since the intelligent device can obtain the switch state signal of the terminal, and determine the corresponding switch command, such as a power-on command or a power-off command, through the preset switch policy and the switch state signal, and send it to the terminal, the entire process of automatically powering on and off the terminal can be conveniently realized without manual operation, which can save costs, has a high degree of automation, simplifies the operation steps, and is especially conducive to realizing the automatic power-on and off control of a large number of terminals. In addition, the scheduled power-on and off times of the terminal can be adjusted at any time according to actual needs.

[0142] Specifically, the step of generating a switch command according to the power-on / off time information and the switch state signal, that is, step S30a, includes the following steps:

[0143] Step S301a: Determine the power-on / off time according to the power-on / off time information, where the power-on / off time includes the power-on time and the power-off time;

[0144] Step S302a: Obtain and determine whether the current time is the power-on / off time;

[0145] Step S303a: If so, determine the switch command that matches the power-on / off time, and determine whether the switch command matches the switch state signal. Otherwise, delay the determination and enter step S302;

[0146] Step S304a: If they match, generate the switch command; otherwise, end.

[0147] Further preferably, the step of, if so, determining the switch command that matches the power-on / off time and determining whether the switch command matches the switch state signal, that is, the steps of step S303, include:

[0148] Step S3031a: Determine whether the current time is the power-on time;

[0149] Step S3032a: Determine whether the switch state signal is a power-off state signal;

[0150] Step S3033a: If so, determine the power-on / off command as a power-on command, and determine that the switch command matches the switch state signal successfully; otherwise, end;

[0151] Step S3034a: If not, determine whether the switch state signal is a power-on state signal;

[0152] Step S3035a: If so, determine the power-on / off command as a power-off command, and determine that the switch command matches the switch state signal successfully; otherwise, end.

[0153] Further preferably, the first set time is a holiday time; the second set time is a weekend time.

[0154] Under normal circumstances, the end time in this embodiment can be set to 0:00 in the early morning or 12:00 at night, so as to better facilitate the control and management of the startup and shutdown of the terminal every day. Of course, in actual applications, it can also be other times, such as 6:00 in the evening, etc., so as to facilitate the terminal to start working or shut down for maintenance at the set time, so as to meet different work requirements.

[0155] Embodiment III

[0156] As Figures 12 to 15 shown, the third embodiment of the present invention provides a control method for a server, which includes the following steps:

[0157] Step S50: Determine the power-on and power-off policy to be executed according to the priority order of the preset power-on and power-off policies;

[0158] Step S60: Judge whether the power-on and power-off policy to be executed is valid according to the current time and the preset rules;

[0159] Step S70: If it is valid, determine the power-on and power-off time information according to the power-on and power-off policy to be executed;

[0160] Step S80: Send the power-on and power-off time information to the intelligent device;

[0161] Step S90: If it is invalid, judge whether the priority of the power-on and power-off policy to be executed is the lowest level. If so, end. Otherwise, enter Step S100: Adjust the next-level power-on and power-off policy to the power-on and power-off policy to be executed in turn according to the priority order until the end.

[0162] It can be seen from the above steps that the server determines the corresponding power-on and power-off policy according to the priority of the preset power-on and power-off policy and the current time, determines the power-on and power-off time according to the power-on and power-off policy, and sends the power-on and power-off time to the intelligent control device, so as to determine the corresponding switch command, such as a power-on command or a power-off command, according to the received power-on and power-off time information and the switch status signal, and send it to the terminal, so that the terminal can be conveniently and automatically turned on and off regularly, and throughout the process, no manual operation is required, which can save costs, has a high degree of automation, can realize remote control with the help of the server, and in addition, the regular power-on and power-off time of the terminal can be adjusted at any time according to actual needs.

[0163] Further preferably, the step of judging whether the power-on and power-off policy to be executed is valid according to the current time and the preset rules, that is, Step S60 includes the following steps:

[0164] Step S601: Determine the preset time according to the end moment of the date where the current time is located;

[0165] Step S602: Determine whether the current time has reached the preset time;

[0166] Step S603: If not, then determine whether the current time belongs to the power-on and power-off dates set by the to-be-executed power-on and power-off policy, otherwise enter Step S90;

[0167] Step S604: If so, then determine whether the to-be-executed power-on and power-off policy sets the power-on and power-off time information;

[0168] Step S605: If so, then determine that the to-be-executed power-on and power-off policy is effective, otherwise, determine that the executed power-on and power-off policy is ineffective, otherwise determine that the executed power-on and power-off policy is ineffective, and enter Step S90;

[0169] By setting the end moment as the reference standard, defining the power-on and power-off dates set by the to-be-executed power-on and power-off policy, thereby determining the to-be-executed power-on and power-off policy according to the execution conditions corresponding to each power-on and power-off policy in the order of priority, and by judging whether the to-be-executed power-on and power-off policy sets the power-on and power-off time, judging the effectiveness of the to-be-executed power-on and power-off policy, it can make each power-on and power-off policy be executed or not executed in sequence, and during the whole process, there will be no phenomenon of dead loop easily occurring due to circular calculation by crossing the end moment.

[0170] Further preferably, the power-on and power-off policy includes: a first policy, a second policy, and a third policy with decreasing priorities in sequence; wherein, the power-on and power-off dates of the first policy are the holiday cycle period, and include the power-on time and power-off time for setting the holiday cycle period; the power-on and power-off dates of the second policy are the weekly cycle period, and include: the power-on time and power-off time for setting the weekly cycle period; the power-on and power-off dates of the third policy are the daily cycle period, and include: the power-on time and power-off time for setting the daily cycle period. In addition, it should be noted that the number of the power-on time and power-off time in each policy can be single or multiple, not limited to three, and will not be elaborated here. Among them, the above holidays are only illustrated by taking the domestic legal holidays as an example, without specific limitations, and the weekly cycle period is only illustrated by taking the weekend time as an example. In the actual process, it can also be any day from Monday to Sunday, and will not be specifically limited and elaborated here.

[0171] Further preferably, the step of, if effective, determining the power-on and power-off time information according to the power-on and power-off policy, that is, Step S70 includes the following steps:

[0172] Step S701: If it is valid, determine the power-on and power-off time information according to the initially set power-on and power-off time periods in the power-on and power-off strategy, where the power-on and power-off time information includes at least one of the power-on and power-off time periods;

[0173] In this way, the terminal can be controlled to power on and off at multiple time periods, which is beneficial to the refined management and control of the user's power-on and power-off times, and further plays an energy-saving role. For example, during non-working hours on weekdays, the device is set to power off and automatically turns on at different working times.

[0174] Further preferably, step S70 also includes:

[0175] Step S702: Obtain the power-on and power-off data of the terminal, and adjust the power-on and power-off time periods according to the power-on and power-off data.

[0176] Furthermore, in step S702, the server obtains the power-on and power-off status signals and power-on and power-off instructions corresponding to each terminal through intelligent devices to obtain the power-on and power-off data corresponding to each terminal. Then, through corresponding mathematical analysis methods or mathematical models, the power-on and power-off data is analyzed. Within the set unit time, such as every day, every week, or every month, etc., when the best energy-saving effect is achieved and the number of times the user independently powers on or off is small, the corresponding optimized power-on and power-off time periods are obtained, and the optimized power-on and power-off time periods are used to replace the initially set power-on and power-off time periods, so as to meet the usage habits of different users and maximize the energy-saving effect and reduce carbon emissions.

[0177] In addition, it is worth mentioning that, as one of the preferred methods, as Figure 15 shown, step S702: Obtain the power-on and power-off data of the terminal, and adjust the power-on and power-off time periods according to the power-on and power-off data specifically includes the following steps:

[0178] Step S7021: After determining that the power-on and power-off data is inconsistent with the power-on and power-off time periods, send a prompt instruction to the terminal. After receiving the prompt instruction, the terminal generates a virtual button waiting for the user to confirm the change, and after the user clicks the virtual button, sends a change instruction to the server;

[0179] Step S7022: Receive and obtain the change instruction;

[0180] Step S7023: Adjust the power-on and power-off time periods according to the change instruction and the power-on and power-off data.

[0181] Through the above steps, that is, when the server determines that the actual power-on and power-off time periods are inconsistent with the set power-on and power-off time periods, it sends a prompt instruction to the terminal to generate a virtual button with a prompt function, so that the user can judge whether to change by himself. This not only enables the users of each terminal to adjust the power-on and power-off times of the terminal according to their own habits, realizing differential adjustment and control, but also prevents the phenomenon of changing the power-on and power-off time periods by the user's occasional operation. Thus, it can meet the usage habits of different users and play the role of energy conservation and carbon emission reduction to the greatest extent.

[0182] Embodiment 4

[0183] The fourth embodiment of the present invention provides an intelligent device for controlling the on-off state of a terminal by the control method of the intelligent device in any of the above embodiments.

[0184] Specifically, in this embodiment, as Figures 16 to 18 shown, the intelligent device mainly consists of a communication interface 1 electrically connected to the power switch interface of the main board of the terminal, a control main board 2 electrically connected to the communication interface 1, a network communication module 3 communicatively connected to the control main board 2 and an external server, etc.

[0185] Among them, the control main board 2 is used to obtain the on-off state signal of the terminal through the communication interface 1, and make the communication interface 1 send an on-off signal to the terminal according to the on-off instruction; and, the control main board 2 is also used to receive the on-off time information sent by the server through the network communication module 3.

[0186] Here, it should be noted that in this embodiment, the power switch interface is the switch interface on the main board, not the switch of the power supply for powering the terminal. When a switch signal is input to the power switch interface, the corresponding off state when pressing the virtual power-off button on the terminal and the corresponding on state when pressing the virtual power-on button can be realized. And, the communication interface 1 can be connected to the power switch interface by means of a data line or wireless communication connection, and this embodiment only takes the communication interface 1 as an example for illustration. Or, the communication interface 1 includes two interfaces, one of which is set on the main board and electrically connected to the power switch interface, and the other is set on the control main board 2, and the two interfaces are connected by a data line (such as an RS232 data line) or wireless communication to transmit signal data.

[0187] From the above content, it can be seen that: Since the intelligent device is composed of a communication interface 1 electrically connected to the power switch interface of the main board of the terminal, a control main board 2 electrically connected to the communication interface 1, and a network communication module 3 communicatively connected to the control main board 2 and the server, etc.

[0188] Therefore, the corresponding switch time information can be sent to the intelligent device through the server or the corresponding device, so that after receiving the switch time information, the network communication module 3 controls the main board 2 to generate corresponding switch signals according to the switch time information, such as power-on signals or power-off signals, according to the on / off time set in the switch time information, or after the server sends the switch time information according to the on / off time set by the timer, at the set real-time time through the communication interface 1, the corresponding switch signal is sent to the terminal to input a power-on signal or a power-off signal for simulating the power switch of the control terminal to the terminal, realizing the automatic power-on and power-off of the terminal. Therefore, the automatic power-on and power-off of the terminal can be conveniently realized, so as to save energy, avoid the loss of data running on the terminal and the damage to the terminal caused during the long-time abnormal power-off process, and extend the service life of the hardware inside the terminal.

[0189] In addition, since the intelligent device adopted in this embodiment has a simple structure and does not need to perform complex power-on and power-off settings on the main board in the terminal in the prior art, the operation steps are simplified, which is beneficial to realizing the automatic power-on and power-off control of a large number of terminals.

[0190] In addition, it is worth mentioning that, as a preferred method, the control main board 2 in this embodiment is used to receive the switch time information sent by the server received by the network communication module 3, send switch signals, and send switch status signals to the server. Through this method, the remote control of the terminal can be realized by means of the signal transmission between the server and the timing intelligent device, so as to facilitate the remote control of the timing power-on and power-off of the terminal, and thus realize the automatic power-on and power-off when unattended.

[0191] Specifically, in order to meet the usage and power-saving requirements of different terminals, the terminal in this embodiment is any one of a desktop computer, a notebook computer or a tablet computer. This embodiment is only described by taking a desktop computer as an example preferably.

[0192] Further preferably, the power switch interface is the first pin and the second pin of the main board; among them, the first pin is the power-on pin, which is used to receive the switch signal matching the power-on instruction in the switch instruction; the second pin is the power-off pin, which is used to receive the switch signal matching the power-off instruction in the switch instruction. By inputting the switch signal matching the power-on instruction to the power-on pin through the communication interface 1, the normal power-on of the terminal can be realized, and by inputting the switch signal matching the power-off instruction to the power-on pin through the communication interface 1, the normal power-on of the terminal can be realized.

[0193] Further preferably, the power signal interface is the third pin of the main board, where the third pin is a digital signal output interface pin for outputting a switch state signal to the control main board 2. By obtaining the switch state signal, it is convenient for the timing intelligent device to determine whether the terminal is in the on or off state based on the switch state signal, so as to decide whether to send the corresponding switch signal, thereby avoiding the phenomenon of mis-triggering the startup or shutdown.

[0194] Further preferably, the digital signal output interface pin is an audio signal pin; among them, the audio signal pin is used to continuously output a voltage signal to form a switch state signal when the terminal is in the working state. The voltage signal output through the digital signal output interface is usually a 5V voltage to determine whether the terminal is in the on state, thus facilitating the detection of the timing intelligent device without the need to set up a complex circuit structure for analysis and judgment.

[0195] In addition, the communication interface 1 in this embodiment is also preferably electrically connected to the reset interface of the terminal. Among them, the reset interface is the third pin of the main board, and the third pin is a reset pin.

[0196] Further preferably, for the convenience of connection and assembly in practical applications, the communication interface 1 is a GPIO (General-purpose input / output) interface or an RS232 interface. For example, the above-mentioned first port and second port can both be composed of a combination of a GPIO interface and an RS232 interface. Among them, the GPIO interface and the RS232 interface in the first port and the second port can be combined through relevant settings to form an interface, or can be two independently set interfaces. This embodiment will not elaborate and explain specifically. Among them, the GPIO interface is used to obtain a voltage signal to monitor the state of the host. The RS232 interface is used to send a switch signal to control the startup and shutdown of the terminal.

[0197] In addition, it is worth mentioning that the network communication module 3 in this embodiment is preferably any one or a combination of a 4G module, a 5G module, a WIFI module, and a network cable module.

[0198] In addition, the control main board 2 in this embodiment is preferably a control chip, a relay electrically connected to the control chip and the communication interface 1, etc. Through the cooperation of the control chip and the relay, the output of an analog signal is realized to output a switch signal to the terminal through the communication interface 1.

[0199] In addition, it is worth mentioning that the intelligent device in this embodiment can be integrated into common intelligent devices, such as the TV control box 5. Among them, the control main board 2 and the network communication module 3 are arranged on the main board of the TV control box 5. Through this structural arrangement, the timing intelligent device is integrated on the TV control box 5, which facilitates the installation and use of the timing intelligent device. It cannot be set separately, reducing the production cost and saving floor space. Obviously, the timing intelligent device in this embodiment can also be set on other types of control boxes according to actual needs, such as gateway control boxes, intelligent speakers and other intelligent devices, or set independently. Here, no specific limitations and elaborations will be made.

[0200] In addition, it is worth mentioning that, as Figure 18 shown, the communication interface 1 in this embodiment can preferably be arranged on the back of the TV control box 5 to facilitate the operation in actual applications.

[0201] Embodiment Five

[0202] The fifth embodiment of the present invention provides a server for sending switch time information to the intelligent device through the control method of the server in the third embodiment above, so that the intelligent device controls the on / off state of the terminal according to the switch time information.

[0203] Embodiment Six

[0204] The sixth embodiment of the present invention further provides an intelligent control system, as Figure 19 shown, including: the intelligent device and the server in any one of the above embodiments.

[0205] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit them. The present invention has been described in detail only with reference to the preferred embodiments. Those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and all should be covered by the scope of the claims of the present invention.

Claims

1. A control method for an intelligent device, characterized in that, it includes: Obtain the switch status signal of the terminal; Determine the power-on and power-off time information according to the preset switch strategy; Generate a switch command according to the power-on and power-off time information and the switch status signal; Send a switch signal to the terminal according to the switch command, so that the terminal starts or shuts down according to the switch signal; The step of determining the power-on and power-off time information according to the preset switch strategy includes: Determine the power-on and power-off strategy to be executed according to the priority order of the preset power-on and power-off strategies; Judge whether the power-on and power-off strategy to be executed is effective according to the current time and the preset rules; If it is effective, determine the power-on and power-off time information according to the power-on and power-off strategy; If it is not effective, judge whether the priority of the power-on and power-off strategy to be executed is the lowest level. If so, end. Otherwise, adjust the next-level power-on and power-off strategy to the power-on and power-off strategy to be executed in turn according to the priority order until the end.

2. The control method for an intelligent device according to claim 1, characterized in that, The step of judging whether the power-on and power-off strategy to be executed is effective according to the current time and the preset rules includes: Determine the end moment of the date where the current time is located as the preset time; Judge whether the current time reaches the preset time; If not, judge whether the current time belongs to the power-on and power-off date set by the power-on and power-off strategy to be executed; If so, judge whether the power-on and power-off strategy to be executed sets the power-on and power-off time information; If so, determine that the power-on and power-off strategy to be executed is effective, otherwise, determine that the executed power-on and power-off strategy is ineffective.

3. The control method for an intelligent device according to claim 1, characterized in that, The power-on and power-off strategy includes: a first strategy, a second strategy, and a third strategy with decreasing priorities in turn; among them, the power-on and power-off date of the first strategy is the holiday cycle period, and its power-on and power-off time information includes the power-on and power-off time periods for setting the holiday cycle period; the power-on and power-off date of the second strategy is the weekly cycle period, and its power-on and power-off time information includes: the power-on and power-off time periods for setting the weekly cycle period; the power-on and power-off date of the third strategy is the daily cycle period, and its power-on and power-off time information includes: the power-on and power-off time periods for setting the daily cycle period.

4. The control method for an intelligent device according to claim 1, characterized in that, The step of if it is effective, then determine the power-on and power-off time information according to the power-on and power-off strategy includes: If it is effective, determine the power-on and power-off time information according to the power-on and power-off time periods initially set in the power-on and power-off strategy, where the power-on and power-off time information has at least one of the power-on and power-off time periods; Obtain the power-on and power-off data of the terminal, and adjust the power-on and power-off time periods according to the power-on and power-off data.

5. A control method for a server, characterized in that, it includes: Determine the power-on and power-off strategy to be executed according to the priority order of the preset power-on and power-off strategies; Judge whether the power-on and power-off strategy to be executed is effective according to the current time and the preset rules; If it is valid, determine the power-on / off time information according to the to-be-executed power-on / off policy; Send the power-on / off time information to the intelligent device, so that the intelligent device sends a switch signal to the terminal according to the power-on / off time information to control the startup or shutdown of the terminal; If it is invalid, determine whether the priority of the to-be-executed power-on / off policy is the lowest level. If so, end. Otherwise, according to the order of the priorities, sequentially adjust the next-level power-on / off policy to the to-be-executed power-on / off policy until the end.

6. The control method of the server according to claim 5, wherein, The step of judging whether the to-be-executed power-on / off policy is valid according to the current time and the preset rules includes: Determine the preset time according to the end moment of the date where the current time is located; Judge whether the current time reaches the preset time; If not, judge whether the current time belongs to the power-on / off date set by the to-be-executed power-on / off policy; If so, judge whether the to-be-executed power-on / off policy sets the power-on / off time information; If so, determine that the to-be-executed power-on / off policy is valid, otherwise, determine that the executed power-on / off policy is invalid.

7. The control method of the server according to claim 5, wherein, The power-on / off policy includes: a first policy, a second policy and a third policy with gradually decreasing priorities; wherein, the power-on / off date of the first policy is the holiday cycle period, and its power-on / off time information includes the power-on / off time periods for setting the holiday cycle period; the power-on / off date of the second policy is the weekly cycle period, and its power-on / off time information includes: the power-on / off time periods for setting the weekly cycle period; the power-on / off date of the third policy is the daily cycle period, and its power-on / off time information includes: the power-on / off time periods for setting the daily cycle period.

8. The control method of the server according to claim 5, wherein, The step of if it is valid, determine the power-on / off time information according to the power-on / off policy includes: If it is valid, determine the power-on / off time information according to the initially set power-on / off time periods in the power-on / off policy, wherein, the power-on / off time information has at least one of the power-on / off time periods; Obtain the power-on / off data of the terminal, and adjust the power-on / off time periods according to the power-on / off data.

9. An intelligent device, wherein, It is used to control the on / off state of the terminal by the control method of the intelligent device according to any one of claims 1 to 4.

10. The intelligent device according to claim 9, wherein, The intelligent device includes: a control main board; a communication interface electrically connected to the power signal interfaces of the control main board and the main board of the terminal; a network communication module communicatively connected to the control main board and an external server; wherein, the control main board is used to obtain the on / off state signal of the terminal through the communication interface, and enable the communication interface to send a switch signal to the terminal according to the switch instruction; and, the control main board is further used to receive the power-on / off time information sent by the server through the network communication module.

11. The intelligent device according to claim 10, characterized in that , the terminal is any one of a desktop computer, a laptop computer or a tablet computer; the network communication module is any one or a combination of a 4G module, a 5G module, a WIFI module, and a network cable module.

12. The intelligent device according to claim 10, characterized in that it further includes a power switch interface, and the power switch interface is the first pin and the second pin of the main board; wherein, the first pin is a power-on pin for receiving a switch signal matching the power-on instruction in the switch instruction; the second pin is a power-off pin for receiving a switch signal matching the power-off instruction in the switch instruction; the power signal interface is the third pin of the main board, wherein the third pin is a digital signal output interface pin for outputting the switch state signal to the control main board; the digital signal output interface pin is a pin for audio signals.

13. A server, characterized in that it is used to send switch time information to the intelligent device by the control method of the server according to any one of claims 5 to 8, so that the intelligent device controls the on / off state of the terminal according to the switch time information.

14. An intelligent control system, characterized in that it includes the intelligent device according to any one of claims 9 to 12 and the server according to claim 13.

Citation Information

Patent Citations

  • Startup and shutdown control method of business hall terminal, terminal, server and system

    CN113032024A

  • Switch control device and intelligent equipment

    CN217060964U