Screen locking method of remote server, electronic equipment, storage medium and program product
By detecting the current status of the client terminal control program and generating lock screen instructions, the problem of low lock screen efficiency in the existing technology is solved, and intelligent management and efficient lock screen are realized.
Patent Information
- Application Number
- CN202411981346.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-06
AI Technical Summary
In the prior art, the efficiency of controlling the remote server lock screen is low, mainly because it needs to be configured according to different operating system environments.
The service terminal detects the current status of the control program in the client terminal, generates lock screen instructions and sends them to the remote server, so as to achieve intelligent management and efficient lock screen.
Regardless of whether the control program is closed normally or abnormally, the lock screen command can be sent to the remote server according to the current status, which improves the efficiency of controlling the lock screen of the remote server.
Smart Images

Figure CN119938195A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data interaction, and in particular to a remote server screen locking method, electronic device, storage medium and program product. Background Art
[0002] With the widespread application of technologies such as cloud computing and big data, the frequency and importance of remote servers are increasing. A remote server can refer to a server that is located outside the user's local network environment and is accessed and managed through the network. A remote server can be physically placed in a data center, a cloud service provider's data center, or other remote locations.
[0003] During the remote control of the remote server, there may be a situation where no one operates the remote server for a long time and the screen of the remote server is always on. Currently, the screen can be turned off at a scheduled time through the operating system of the remote server, or the third-party software of the remote server can send a lock screen command at a scheduled time to achieve automatic screen turning off.
[0004] In the above situation, since the remote server may have different operating systems, it is necessary to configure according to the specific system environment of the remote server to implement timed screen lock, resulting in low efficiency in controlling the remote server screen lock. Summary of the invention
[0005] The present application provides a remote server screen lock method, electronic device, storage medium and program product, which are used to solve the technical problem of low efficiency in controlling the remote server screen lock in the prior art.
[0006] In a first aspect, the present application provides a remote server screen lock method, which is applied to a service terminal, and the method includes:
[0007] Determine a current state of a control program in a client terminal, wherein the current state is a normal exit state, an abnormal exit state, or a running state, and the control program is used to control a remote server;
[0008] Determine the current lock screen parameters according to the current state;
[0009] Generate a screen lock instruction according to the current screen lock parameter;
[0010] The screen lock instruction is sent to the remote server so that the remote server locks the screen according to the screen lock instruction.
[0011] In this way, the service terminal detects the current status of the control program in the client terminal. Regardless of whether the control program is closed normally or abnormally, a lock screen instruction can be sent to the remote server according to the current status, and the remote server can be managed intelligently, thereby improving the efficiency of controlling the remote server lock screen.
[0012] Optionally, the method as described above, determining the current lock screen parameters according to the current state, includes:
[0013] If the current state is a normal exit state, determining the current lock screen parameter sent by the client terminal, and sending a first response message to the client terminal, wherein the first response message is used to indicate that the service terminal has received the current lock screen parameter;
[0014] If the current state is an abnormal exit state, the current lock screen parameters corresponding to the client terminal are obtained in the storage space.
[0015] In this way, no matter whether the control program is closed normally or abnormally, the remote server can be managed intelligently, thereby improving the efficiency of controlling the remote server lock screen.
[0016] Optionally, in the method described above, determining the current state of the control program in the client terminal includes:
[0017] Determining whether the current lock screen parameter sent by the client terminal is received;
[0018] If so, determining that the current state is the normal exit state;
[0019] If not, the communication status between the service terminal and the client terminal is detected, and when the communication status is an interrupted state, the current state is determined to be the abnormal exit state, and when the communication status is a connected state, the current state is determined to be the running state.
[0020] In this way, no matter whether the control program is closed normally or abnormally, the remote server can be managed intelligently, thereby improving the efficiency of controlling the remote server lock screen.
[0021] Optionally, in the method as described above, before determining the current state of the control program in the client terminal, the method further includes:
[0022] Sending a lock screen parameter request to the remote server;
[0023] Receiving second response information sent by the remote server;
[0024] Parsing the second response information to obtain the current lock screen parameters;
[0025] Send the current lock screen parameters to the client terminal.
[0026] In this way, the current lock screen parameters can be synchronized through the service terminal, the remote server can be managed intelligently, and the efficiency of controlling the lock screen of the remote server can be improved.
[0027] Optionally, the method as described above further comprises:
[0028] Receiving updated lock screen parameters of the client terminal;
[0029] Performing verification processing on the updated lock screen parameters to obtain a verification result, wherein the verification result is verification passed or verification failed;
[0030] If the verification result is that the verification is passed, sending the updated lock screen parameters to the remote server;
[0031] The updated lock screen parameters are determined as current lock screen parameters.
[0032] In this way, the client terminal can customize the lock screen parameters and synchronize the lock screen parameters through the service terminal, intelligently manage the remote server, and improve the efficiency of controlling the lock screen of the remote server.
[0033] In a second aspect, the present application provides a remote server screen lock method, which is applied to a client terminal, and the method includes:
[0034] In response to a lock screen instruction from a user to a remote server, obtaining current lock screen parameters sent by a service terminal;
[0035] Sending the current lock screen parameter to the service terminal, so that the service terminal generates a lock screen instruction according to the current lock screen parameter, wherein the lock screen instruction is used to instruct the remote server to lock the screen;
[0036] Receiving a first response message sent by the service terminal, where the first response message is used to indicate that the service terminal has received the current lock screen parameter;
[0037] According to the first response information, the control program in the client terminal is exited.
[0038] In this way, when the client terminal determines that the service terminal has received the lock screen parameter, the client terminal can exit the control program in the client terminal, intelligently manage the remote server, and improve the efficiency of controlling the lock screen of the remote server.
[0039] Optionally, in the method described above, the client terminal includes a display screen, and the method further includes:
[0040] Displaying a custom lock screen key control on the display screen, wherein the custom lock screen key control is used for the user to customize the lock screen parameters;
[0041] In response to an input operation of the user in the custom lock screen key control, obtaining and updating lock screen parameters;
[0042] Send the updated lock screen parameters to the service terminal.
[0043] In this way, the client terminal can customize the lock screen parameters and synchronize the lock screen parameters through the service terminal, intelligently manage the remote server, and improve the efficiency of controlling the lock screen of the remote server.
[0044] In a third aspect, the present application provides a remote server screen lock device, which is applied to a service terminal, including:
[0045] A first determination module is used to determine a current state of a control program in a client terminal, wherein the current state is a normal exit state, an abnormal exit state, or a running state, and the control program is used by the remote server;
[0046] A second determination module, used to determine current lock screen parameters according to the current state;
[0047] A generation module, used to generate a lock screen instruction according to the current lock screen parameters;
[0048] The sending module is used to send the lock screen instruction to the remote server so that the remote server locks the screen according to the lock screen instruction.
[0049] Optionally, in the above device, the second determining module is specifically configured to:
[0050] If the current state is a normal exit state, determining the current lock screen parameter sent by the client terminal, and sending a first response message to the client terminal, wherein the first response message is used to indicate that the service terminal has received the current lock screen parameter;
[0051] If the current state is an abnormal exit state, the current lock screen parameters corresponding to the client terminal are obtained in the storage space.
[0052] Optionally, in the above device, the first determining module is specifically configured to:
[0053] Determining whether the current lock screen parameter sent by the client terminal is received;
[0054] If so, determining that the current state is the normal exit state;
[0055] If not, the communication status between the service terminal and the client terminal is detected, and when the communication status is an interrupted state, the current state is determined to be the abnormal exit state, and when the communication status is a connected state, the current state is determined to be the running state.
[0056] Optionally, the device as described above further comprises a setting module, and the setting module is used to:
[0057] Sending a lock screen parameter request to the remote server;
[0058] Receiving second response information sent by the remote server;
[0059] Parsing the second response information to obtain the current lock screen parameters;
[0060] Send the current lock screen parameters to the client terminal.
[0061] Optionally, the device as described above further comprises an updating module, wherein the updating module is configured to:
[0062] Receiving updated lock screen parameters of the client terminal;
[0063] Performing verification processing on the updated lock screen parameters to obtain a verification result, wherein the verification result is verification passed or verification failed;
[0064] If the verification result is that the verification is passed, sending the updated lock screen parameters to the remote server;
[0065] The updated lock screen parameters are determined as current lock screen parameters.
[0066] In a fourth aspect, the present application provides a remote server screen lock device, which is applied to a client terminal, including:
[0067] An acquisition module, used to obtain the current lock screen parameters sent by the service terminal in response to the user's lock screen instruction to the remote server;
[0068] A sending module, used for sending the current lock screen parameter to the service terminal, so that the service terminal generates a lock screen instruction according to the current lock screen parameter, and the lock screen instruction is used to instruct the remote server to lock the screen;
[0069] A receiving module, used to receive a first response message sent by the service terminal, wherein the first response message is used to indicate that the service terminal has received the current lock screen parameter;
[0070] A control module is used to exit the control program in the client terminal according to the first response information.
[0071] Optionally, in the above device, the client terminal includes a display screen, and the device further includes an updating module, the updating module being used to:
[0072] Displaying a custom lock screen key control on the display screen, wherein the custom lock screen key control is used for the user to customize the lock screen parameters;
[0073] In response to an input operation of the user in the custom lock screen key control, obtaining and updating lock screen parameters;
[0074] Send the updated lock screen parameters to the service terminal.
[0075] In a fifth aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0076] The memory stores computer-executable instructions;
[0077] The processor executes the computer-executable instructions stored in the memory to implement the method described in any one of the first aspects.
[0078] In a sixth aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0079] The memory stores computer-executable instructions;
[0080] The processor executes the computer-executable instructions stored in the memory to implement the method described in any one of the second aspects.
[0081] In a seventh aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0082] In an eighth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the second aspects.
[0083] In a ninth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a computer, implements the method as described in any one of the first aspects.
[0084] In a tenth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a computer, implements the method as described in any one of the second aspects.
[0085] The remote server screen lock method, electronic device, storage medium and program product provided by the present application determine the current state of the control program in the client terminal, the current state is a normal exit state, an abnormal exit state, or a running state, and the control program is used to control the remote server; according to the current state, determine the current lock screen parameters; according to the current lock screen parameters, generate a lock screen instruction; send a lock screen instruction to the remote server, so that the remote server locks the screen according to the lock screen instruction. In this way, the current state of the control program in the client terminal is detected by the service terminal, and no matter whether the control program is closed normally or abnormally, a lock screen instruction can be sent to the remote server according to the current state, so as to intelligently manage the remote server and improve the efficiency of controlling the remote server screen lock. BRIEF DESCRIPTION OF THE DRAWINGS
[0086] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0087] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0088] Figure 2 A flowchart of a remote server screen locking method provided in an embodiment of the present application;
[0089] Figure 3 A flowchart of another remote server screen locking method provided in an embodiment of the present application;
[0090] Figure 4 A flowchart of another remote server screen locking method provided in an embodiment of the present application;
[0091] Figure 5 A flowchart of another remote server screen locking method provided in an embodiment of the present application;
[0092] Figure 6 A flowchart of another remote server screen locking method provided in an embodiment of the present application;
[0093] Figure 7 A schematic diagram of a custom lock screen control provided in an embodiment of the present application;
[0094] Figure 8 A schematic diagram of the structure of a remote server screen lock device provided in an embodiment of the present application;
[0095] Fig. 9 A schematic diagram of the structure of another remote server screen lock device provided in an embodiment of the present application;
[0096] Fig.10A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0097] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0098] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0099] It should be noted that, although the terms "first", "second", etc. are used to describe various information in the embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. Optionally, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information.
[0100] It should be understood that the terms "comprises" and "includes" indicate the presence of the previously mentioned features, steps, operations, but do not exclude the presence, occurrence or addition of one or at least one other feature, step, operation. The terms "and / or" and the like used in this application may be interpreted as inclusive, or mean any one or any combination. Optionally, "A and / or B" means "any of the following: A; B; A and B". In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship.
[0101] With the widespread application of technologies such as cloud computing and big data, the frequency and importance of remote servers are increasing. A remote server can refer to a server that is located outside the user's local network environment and is accessed and managed through the network. A remote server can be physically placed in a data center, a cloud service provider's data center, or other remote locations.
[0102] During the remote control of the remote server, there may be a situation where no one operates the remote server for a long time and the screen of the remote server is always on. Currently, the screen can be turned off at a scheduled time through the operating system of the remote server, or the third-party software of the remote server can send a lock screen command at a scheduled time to achieve automatic screen turning off.
[0103] In the above situation, since the remote server may have different operating systems, it is necessary to configure according to the specific system environment of the remote server to implement timed screen lock, resulting in low efficiency in controlling the remote server screen lock.
[0104] In order to solve the above technical problems, the embodiment of the present application provides a remote server screen lock method, which determines the current state of the control program in the client terminal through the service terminal, the current state includes normal, determines the current lock screen parameters according to the current state, generates the lock screen instructions according to the current lock screen parameters, and sends the lock screen instructions to the remote server so that the remote server locks the screen according to the lock screen instructions. In this way, the service terminal detects the current state of the control program in the client terminal, whether the control program is closed normally or abnormally, and can send the lock screen instructions to the remote server according to the current state, so as to intelligently manage the remote server and improve the efficiency of controlling the remote server screen lock.
[0105] Next, combine Figure 1 , an example is given to illustrate the application scenario corresponding to the remote server lock screen method.
[0106] Figure 1 This is a schematic diagram of an application scenario provided by the embodiment of this application. Figure 1 , Figure 1 It may include at least a client terminal 101 , a service terminal 102 and a remote server 103 .
[0107] The client terminal 101 may be connected to the service terminal 102 , and the service terminal 102 may be connected to the remote server 103 .
[0108] The client terminal 101 can be used for a user to remotely access and control a remote server 103. The client terminal 101 includes a control program, which can be connected to the remote server 103 through the service terminal 102, so that the user can remotely access and control the remote server 103.
[0109] The service terminal 102 can be used to process various information related to remote server hardware management, and act as a bridge between the client terminal 101 and the remote server 103. The service terminal 102 can be independent of the client terminal 101 and the remote server 103. The service terminal 102 can include a service program, which can be used for information transmission and data processing.
[0110] The remote server 103 can be used to run various operating systems and applications, store and process physical or virtual devices of data. The remote server 103 can receive the screen lock instruction sent by the service terminal 102, and perform the screen lock operation according to the screen lock instruction.
[0111] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0112] The technical solution shown in the present application is described in detail below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.
[0113] Figure 2 A flowchart of a remote server screen lock method provided in an embodiment of the present application. The execution subject of the embodiment of the present application can be a service terminal or a processor set in the service terminal. The processor can be implemented by software or by a combination of software and hardware. Figure 2 , the method comprising:
[0114] S201: Determine the current status of the control program in the client terminal.
[0115] The current status is normal exit status, abnormal exit status, or running status.
[0116] The control program is used to control the remote server.
[0117] Optionally, a status report sent by the client terminal may be obtained within a preset time period, and the control program in the client terminal may be detected based on the status report to determine the current status of the control program.
[0118] Optionally, a detection signal may be sent to the client terminal, a response signal corresponding to the detection signal sent by the client terminal may be obtained, and the control program in the client terminal may be detected according to the response signal to determine the current state of the control program.
[0119] Optionally, the current state of the control program in the client terminal can be determined in the following manner: determine whether the current lock screen parameters sent by the client terminal are received; if so, determine that the current state is a normal exit state; if not, detect the communication state between the service terminal and the client terminal, and when the communication state is an interrupted state, determine that the current state is an abnormal exit state, and when the communication state is a connected state, determine that the current state is a running state.
[0120] Optionally, the communication status between the service terminal and the client terminal can be detected in the following manner: obtain a preset command, send a detection signal to the client terminal through the preset command, if a response corresponding to the detection signal is received, determine that the communication status is a connected state, if no response corresponding to the detection signal is received, determine that the communication status is an interrupted state.
[0121] It should be noted that the current state of the control program in the client terminal can be determined according to any feasible implementation method, and the embodiments of the present application are not limited to this.
[0122] Optionally, before determining the current state of the control program in the client terminal, the method also includes synchronizing current lock screen parameters, and the current lock screen parameters can be synchronized in the following manner: sending a lock screen parameter request to a remote server; receiving a second response message sent by the remote server; parsing the second response message to obtain the current lock screen parameters; and sending the current lock screen parameters to the client terminal.
[0123] Among them, the lock screen parameter request can be used to request the remote server for the lock screen parameters currently corresponding to the remote server.
[0124] The second response information may include the current lock screen parameters of the remote server.
[0125] The current lock screen parameters are sent to the client terminal so that the current lock screen parameters of the remote server are synchronized among the remote server, the service terminal and the client terminal.
[0126] S202: Determine current lock screen parameters according to the current state.
[0127] The current lock screen parameters can be stored in the service terminal and the client terminal.
[0128] The current lock screen parameters may include key parameters for triggering the lock screen, lock screen mode, lock screen time setting, etc., which are not limited here.
[0129] The target device can be determined according to the current state, and the current lock screen parameters can be determined according to the target device.
[0130] The target device may include a service terminal and a client terminal.
[0131] If the current state is a normal exit state, determine that the target device is a client terminal, and obtain the current lock screen parameters sent by the client terminal; if the current state is an abnormal exit state, determine that the target device is a service terminal, and obtain the current lock screen parameters corresponding to the client terminal in the storage space corresponding to the service terminal.
[0132] Optionally, the current lock screen parameters can be determined according to the current state in the following manner: if the current state is a normal exit state, determine the current lock screen parameters sent by the client terminal and send a first response message to the client terminal; if the current state is an abnormal exit state, obtain the current lock screen parameters corresponding to the client terminal in the storage space.
[0133] The first response information is used to indicate that the service terminal has received the current lock screen parameters.
[0134] When the client terminal receives the first response information, the control program can be completely closed.
[0135] The current lock screen parameters sent by the client terminal may be determined from a response corresponding to a detection signal sent by the client terminal, or from a status report sent by the client terminal, which is not limited here.
[0136] S203: Generate a screen lock instruction according to the current screen lock parameters.
[0137] The lock screen command can be used to instruct the remote server to perform a lock screen operation.
[0138] You can get the preset instructions, configure the preset instructions according to the current lock screen parameters, and generate the lock screen instructions.
[0139] It should be noted that the lock screen instruction can be generated according to any feasible implementation method, and the embodiments of the present application are not limited to this.
[0140] S204: Send a screen lock instruction to the remote server, so that the remote server locks the screen according to the screen lock instruction.
[0141] A lock screen instruction can be sent to a remote server through a preset interface, so that the remote server parses the lock screen instruction, obtains current lock screen parameters, and performs a lock screen operation according to the current lock screen parameters.
[0142] It should be noted that a lock screen instruction can be sent to a remote server according to any feasible implementation method, so that the remote server locks the screen according to the lock screen instruction. The embodiments of the present application are not limited to this.
[0143] The remote server screen lock method provided in this embodiment determines the current state of the control program in the client terminal, the current state is a normal exit state, an abnormal exit state, or a running state, and the control program is used to control the remote server; determines the current lock screen parameters according to the current state; generates a lock screen instruction according to the current lock screen parameters; and sends a lock screen instruction to the remote server so that the remote server locks the screen according to the lock screen instruction. In this way, the service terminal detects the current state of the control program in the client terminal, and whether the control program is closed normally or abnormally, a lock screen instruction can be sent to the remote server according to the current state, so as to intelligently manage the remote server and improve the efficiency of controlling the remote server screen lock.
[0144] Figure 3 A flowchart of another remote server screen lock method provided in an embodiment of the present application. The execution subject of the embodiment of the present application can be a client terminal or a processor set in the client terminal. The processor can be implemented by software or by a combination of software and hardware. Figure 3 , the method comprising:
[0145] S301. In response to a screen lock instruction from a user to a remote server, obtain current screen lock parameters sent by a service terminal.
[0146] The lock screen instruction can be used to indicate that the user instructs the remote server to perform a lock screen operation.
[0147] The current lock screen parameters may be lock screen parameters synchronized between the service terminal, the client terminal and the remote server.
[0148] The service terminal sends the current lock screen parameters for synchronization, and when the client terminal receives the current lock screen parameters, it stores the current lock screen parameters in the storage space.
[0149] A lock screen control may be displayed in the control program, and a lock screen instruction may be generated in response to a user clicking operation on the lock screen control. In response to the lock screen instruction, the current lock screen parameters sent by the service terminal may be acquired in the storage space.
[0150] S302: Send the current lock screen parameters to the service terminal, so that the service terminal generates a lock screen instruction according to the current lock screen parameters.
[0151] The lock screen command is used to instruct the remote server to lock the screen.
[0152] An exit control may be displayed in the control program, and in response to a user clicking operation on the exit control, current lock screen parameters may be sent to the service terminal, so that the service terminal generates a lock screen instruction according to the current lock screen parameters.
[0153] S303: Receive first response information sent by the service terminal.
[0154] The first response information is used to indicate that the service terminal has received the current lock screen parameters.
[0155] The first response information sent by the service terminal can be received, and the first response information can be parsed and processed to determine whether the service terminal has received the current lock screen parameters.
[0156] S304: Exit the control program in the client terminal according to the first response information.
[0157] When it is determined that the service terminal has received the current lock screen parameter, the control program in the client terminal may be exited.
[0158] The remote server screen lock method provided in this embodiment obtains the current screen lock parameters sent by the service terminal by responding to the user's screen lock instruction to the remote server; sends the current screen lock parameters to the service terminal so that the service terminal generates a screen lock instruction according to the current screen lock parameters, and the screen lock instruction is used to instruct the remote server to lock the screen; receives the first response information sent by the service terminal, and the first response information is used to indicate that the service terminal has received the current screen lock parameters; according to the first response information, exits the control program in the client terminal. In this way, the client terminal can exit the control program in the client terminal when it is determined that the service terminal has received the screen lock parameters, intelligently manage the remote server, and improve the efficiency of controlling the screen lock of the remote server.
[0159] Next, combine Figure 4 , when the current state of the control program in the client terminal is a normal exit state, the interaction process between the client terminal and the service terminal is explained.
[0160] Figure 4 A flowchart of another remote server screen lock method provided in an embodiment of the present application. Based on the above embodiment, see Figure 4 , the method comprising:
[0161] S401. The client terminal obtains current lock screen parameters sent by the service terminal in response to a lock screen instruction issued by the user to the remote server.
[0162] The execution process of S401 can refer to the execution process of S301, which will not be described in detail here.
[0163] S402: The client terminal sends current lock screen parameters to the service terminal.
[0164] The execution process of S402 can refer to the execution process of S302, which will not be described in detail here.
[0165] S403: The service terminal determines that the current state of the control program in the client terminal is a normal exit state.
[0166] The execution process of S403 can refer to the execution process of S201, which will not be described in detail here.
[0167] S404: The service terminal determines the current lock screen parameters according to the normal exit status, and sends a first response message to the client terminal.
[0168] The first response information is used to indicate that the service terminal has received the current lock screen parameters.
[0169] The current lock screen parameters may be lock screen parameters sent by the client terminal.
[0170] S405: The client terminal exits the control program in the client terminal according to the first response information.
[0171] The execution process of S405 can refer to the execution process of S304, which will not be described in detail here.
[0172] S406: The service terminal generates a screen lock instruction according to the current screen lock parameters.
[0173] The execution process of S406 can refer to the execution process of S203, which will not be described in detail here.
[0174] S407: The service terminal sends a screen lock instruction to the remote server, so that the remote server locks the screen according to the screen lock instruction.
[0175] The execution process of S407 can refer to the execution process of S204, which will not be described in detail here.
[0176] The implementation content of each step in the embodiment of the present application can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0177] The remote server screen lock method provided in this embodiment is that the client terminal responds to the user's screen lock instruction to the remote server, obtains the current screen lock parameters sent by the service terminal, sends the current screen lock parameters to the service terminal, the service terminal determines that the current state of the control program in the client terminal is a normal exit state, determines the current screen lock parameters according to the normal exit state, and sends a first response message to the client terminal, the client terminal exits the control program in the client terminal according to the first response information, the service terminal generates a screen lock instruction according to the current screen lock parameters, and sends the screen lock instruction to the remote server, so that the remote server locks the screen according to the screen lock instruction. In this way, the service terminal detects the current state of the control program in the client terminal, sends the first response information to the client terminal when the current state is a normal shutdown, and sends the screen lock instruction to the remote server, so as to intelligently manage the remote server and improve the efficiency of controlling the screen lock of the remote server.
[0178] Next, combine Figure 5 , when the current state of the control program in the client terminal is an abnormal exit state, the interaction process between the client terminal and the service terminal is explained.
[0179] Figure 5 This is a flowchart of another remote server screen lock method provided in an embodiment of the present application. Figure 5 , the method comprising:
[0180] S501: The service terminal determines that the current state of the control program in the client terminal is an abnormal exit state.
[0181] In the case where the current lock screen parameters sent by the client terminal are not received, the communication state between the service terminal and the client terminal can be detected, and when the communication state is an interrupted state, the current state is determined to be an abnormal exit state.
[0182] S502: The service terminal obtains current lock screen parameters in the storage space.
[0183] The current lock screen parameters may be lock screen parameters previously stored by the service terminal.
[0184] S503: The service terminal generates a screen lock instruction according to the current screen lock parameters.
[0185] The execution process of S503 can refer to the execution process of S203, which will not be described in detail here.
[0186] S504: The service terminal sends a screen lock instruction to the remote server, so that the remote server locks the screen according to the screen lock instruction.
[0187] The execution process of S504 can refer to the execution process of S204, which will not be described in detail here.
[0188] The implementation content of each step in the embodiment of the present application can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0189] The remote server screen lock method provided in this embodiment determines that the current state of the control program in the client terminal is an abnormal exit state through the service terminal, obtains the current screen lock parameters corresponding to the client terminal in the storage space, generates a screen lock instruction according to the current screen lock parameters, and sends the screen lock instruction to the remote server, so that the remote server locks the screen according to the screen lock instruction. In this way, the service terminal detects the current state of the control program in the client terminal, and when the current state is abnormally closed, a screen lock instruction can also be sent to the remote server, so as to intelligently manage the remote server and improve the efficiency of controlling the screen lock of the remote server.
[0190] In a possible implementation, the remote server's screen lock method further includes updating the screen lock parameters. Figure 6 , explains the process of updating lock screen parameters.
[0191] Figure 6 A flowchart of another remote server screen lock method provided in an embodiment of the present application. Based on the above embodiment, see Figure 6 , the method comprising:
[0192] S601. The client terminal displays a custom lock screen key control on a display screen.
[0193] The custom lock screen key control is used for users to customize lock screen parameters.
[0194] The custom lock screen key control can be a control in which lock screen related parameters are defined by the user.
[0195] Customized lock screen key controls can be displayed on the screen to facilitate user operation.
[0196] For example, a custom lock screen key control may be presented in the form of a combination of a graphical button, a text box, a drop-down menu, etc., so that the user can intuitively set the parameters corresponding to the custom lock screen key.
[0197] Next, combine Figure 7 , which gives an example of customizing lock screen controls.
[0198] See also Figure 7 , Figure 7 A schematic diagram of a custom lock screen control provided in an embodiment of the present application. Figure 7 Includes custom lock screen controls.
[0199] The custom lock screen control includes the automatic lock screen function on sub-control, name box, input sub-control and clear sub-control.
[0200] The first name box can be used to indicate the name of the sub-control for enabling the automatic screen lock function. For example, the first name box can display "System Automatic Lock".
[0201] The automatic lock screen function on sub-control can be used to determine whether to enable the automatic lock screen function. The automatic lock screen function on sub-control can include a selected state and a non-selected state.
[0202] The second name box can be used to indicate the name of the input subcontrol. For example, the second name box can display "Custom Lock Screen Key".
[0203] When the automatic lock screen function is turned on, the input subcontrol can be used to obtain the user's input content.
[0204] Clearing a subcontrol can be used to clear the user input in the subcontrol.
[0205] S602: The client terminal obtains and updates lock screen parameters in response to the user's input operation in the custom lock screen key control.
[0206] When the user performs various input operations on the custom lock screen key control on the display screen, the system can monitor and capture the user's corresponding input operations, and extract corresponding update lock screen parameters according to the content corresponding to the input operations.
[0207] Optionally, the update lock screen parameters may be obtained in the following manner: configuring the update lock screen parameters through the smart platform management interface, or configuring the update lock screen parameters through a preset protocol command, which is not limited here.
[0208] S603: The client terminal sends updated lock screen parameters to the service terminal.
[0209] The update lock screen parameters may be encrypted and the encrypted update lock screen parameters may be sent to the service terminal.
[0210] S604: The service terminal verifies the updated lock screen parameters and obtains a verification result.
[0211] The verification results are verification passed and verification failed.
[0212] Passing the verification may indicate that the update lock screen parameters input by the user meet the preset rules of the system.
[0213] Failure of the verification may indicate that the updated lock screen parameters do not comply with regulations and the user needs to reset them.
[0214] The verification process can be used to detect whether the updated lock screen parameters comply with the system's preset rules.
[0215] The verification process may include one or more of parameter format verification, parameter legality verification, and parameter consistency verification, which are not limited here.
[0216] S605: When the verification result is that the verification is passed, the service terminal sends an update lock screen parameter to the remote server.
[0217] The service terminal sends the updated lock screen parameters to the remote server, so that the remote server updates the current lock screen parameters according to the updated lock screen parameters.
[0218] S606: The service terminal determines the updated lock screen parameters as the current lock screen parameters.
[0219] The updated lock screen parameters are determined as current lock screen parameters in the storage space corresponding to the service terminal.
[0220] The implementation content of each step in the embodiment of the present application can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0221] The remote server screen lock method provided in this embodiment displays a custom lock screen key control on the display screen through the client terminal, obtains the updated lock screen parameters in response to the user's input operation in the custom lock screen key control, sends the updated lock screen parameters to the service terminal, and the service terminal verifies the updated lock screen parameters to obtain the verification result. If the verification result is that the verification is passed, the service terminal sends the updated lock screen parameters to the remote server, and the service terminal determines the updated lock screen parameters as the current lock screen parameters. In this way, the client terminal can customize the lock screen parameters, and synchronize the lock screen parameters through the service terminal, intelligently manage the remote server, and improve the efficiency of controlling the remote server lock screen.
[0222] Figure 8 This is a schematic diagram of the structure of a remote server screen lock device provided in an embodiment of the present application. Figure 8 , applied to the service terminal, the remote server's lock screen device 800 includes a first determination module 801, a second determination module 802, a generation module 803 and a sending module 804, wherein,
[0223] A first determination module 801 is used to determine a current state of a control program in a client terminal, wherein the current state is a normal exit state, an abnormal exit state, or a running state, and the control program is used by the remote server;
[0224] A second determination module 802 is used to determine current lock screen parameters according to the current state;
[0225] The generating module 803 is used to generate a screen lock instruction according to the current screen lock parameter;
[0226] The sending module 804 is used to send the lock screen instruction to the remote server, so that the remote server locks the screen according to the lock screen instruction.
[0227] Optionally, in the above device, the second determining module 802 is specifically configured to:
[0228] If the current state is a normal exit state, determining the current lock screen parameter sent by the client terminal, and sending a first response message to the client terminal, wherein the first response message is used to indicate that the service terminal has received the current lock screen parameter;
[0229] If the current state is an abnormal exit state, the current lock screen parameters corresponding to the client terminal are obtained in the storage space.
[0230] Optionally, in the above device, the first determining module 801 is specifically configured to:
[0231] Determining whether the current lock screen parameter sent by the client terminal is received;
[0232] If so, determining that the current state is the normal exit state;
[0233] If not, the communication status between the service terminal and the client terminal is detected, and when the communication status is an interrupted state, the current state is determined to be the abnormal exit state, and when the communication status is a connected state, the current state is determined to be the running state.
[0234] Optionally, the device as described above further includes a setting module 805, and the setting module 805 is used to:
[0235] Sending a lock screen parameter request to the remote server;
[0236] Receiving second response information sent by the remote server;
[0237] Parsing the second response information to obtain the current lock screen parameters;
[0238] Send the current lock screen parameters to the client terminal.
[0239] Optionally, the device as described above further includes an updating module 806, and the updating module 806 is used to:
[0240] Receiving updated lock screen parameters of the client terminal;
[0241] Performing verification processing on the updated lock screen parameters to obtain a verification result, wherein the verification result is verification passed or verification failed;
[0242] If the verification result is that the verification is passed, sending the updated lock screen parameters to the remote server;
[0243] The updated lock screen parameters are determined as current lock screen parameters.
[0244] Fig. 9 This is a schematic diagram of the structure of another remote server screen lock device provided in an embodiment of the present application. Fig. 9 , applied to the client terminal, the remote server lock screen device 900 includes an acquisition module 901, a sending module 902, a receiving module 903 and a control module 904, wherein,
[0245] The acquisition module 901 is used to obtain the current lock screen parameters sent by the service terminal in response to the user's lock screen instruction to the remote server;
[0246] The sending module 902 is used to send the current lock screen parameter to the service terminal, so that the service terminal generates a lock screen instruction according to the current lock screen parameter, and the lock screen instruction is used to instruct the remote server to lock the screen;
[0247] The receiving module 903 is used to receive the first response information sent by the service terminal, where the first response information is used to indicate that the service terminal has received the current lock screen parameter;
[0248] The control module 904 is used to exit the control program in the client terminal according to the first response information.
[0249] Optionally, in the above device, the client terminal includes a display screen, and the device further includes an updating module 905, and the updating module 905 is used to:
[0250] Displaying a custom lock screen key control on the display screen, wherein the custom lock screen key control is used for the user to customize the lock screen parameters;
[0251] In response to an input operation of the user in the custom lock screen key control, obtaining and updating lock screen parameters;
[0252] Send the updated lock screen parameters to the service terminal.
[0253] Fig.10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 , the electronic device 1000 may include: a memory 1001 , a processor 1002 , and a transceiver 1003 .
[0254] The memory 1001 is used to store program instructions.
[0255] The processor 1002 is used to execute the program instructions stored in the memory, so as to enable the electronic device 1000 to execute the above method.
[0256] The transceiver 1003 may include: a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmission port, a transmission interface, or the like, and the receiver may also be referred to as a receiver, a reception port, a reception interface, or the like. Exemplarily, the memory 1001, the processor 1002, and the transceiver 1003 are interconnected via a bus 1004.
[0257] The embodiment of the present application also provides a computer program product, which can be executed by a processor. When the computer program product is executed, the above method can be implemented.
[0258] The remote server lock screen device, electronic device, computer-readable storage medium and computer program product of the embodiments of the present application can execute the technical solution shown in the above-mentioned remote server lock screen method embodiment. The implementation principles and beneficial effects are similar and will not be repeated here.
[0259] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0260] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0261] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0262] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0263] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.
[0264] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0265] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0266] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0267] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A remote server screen lock method, characterized in that: Applied to a service terminal, the method comprises: Determine a current state of a control program in a client terminal, wherein the current state is a normal exit state, an abnormal exit state, or a running state, and the control program is used to control a remote server; Determine the current lock screen parameters according to the current state; Generate a screen lock instruction according to the current screen lock parameter; The screen lock instruction is sent to the remote server so that the remote server locks the screen according to the screen lock instruction.
2. The method according to claim 1, characterized in that According to the current state, determining the current lock screen parameters includes: If the current state is a normal exit state, determining the current lock screen parameter sent by the client terminal, and sending a first response message to the client terminal, wherein the first response message is used to indicate that the service terminal has received the current lock screen parameter; If the current state is an abnormal exit state, the current lock screen parameters corresponding to the client terminal are obtained in the storage space.
3. The method according to claim 1 or 2, characterized in that: Determine the current state of the control program in the client terminal, including: Determining whether the current lock screen parameter sent by the client terminal is received; If so, determining that the current state is the normal exit state; If not, the communication status between the service terminal and the client terminal is detected, and when the communication status is an interrupted state, the current state is determined to be the abnormal exit state, and when the communication status is a connected state, the current state is determined to be the running state.
4. The method according to any one of claims 1 to 3, characterized in that: Before determining the current state of the control program in the client terminal, the method further includes: Sending a lock screen parameter request to the remote server; Receiving second response information sent by the remote server; Parsing the second response information to obtain the current lock screen parameters; Send the current lock screen parameters to the client terminal.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Receiving updated lock screen parameters of the client terminal; Performing verification processing on the updated lock screen parameters to obtain a verification result, wherein the verification result is verification passed or verification failed; If the verification result is that the verification is passed, sending the updated lock screen parameters to the remote server; The updated lock screen parameters are determined as current lock screen parameters.
6. A remote server screen lock method, characterized in that: Applied to a client terminal, the method comprises: In response to a lock screen instruction from a user to a remote server, obtaining current lock screen parameters sent by a service terminal; Sending the current lock screen parameter to the service terminal, so that the service terminal generates a lock screen instruction according to the current lock screen parameter, wherein the lock screen instruction is used to instruct the remote server to lock the screen; Receiving a first response message sent by the service terminal, where the first response message is used to indicate that the service terminal has received the current lock screen parameter; According to the first response information, the control program in the client terminal is exited.
7. The method according to claim 6, characterized in that The client terminal includes a display screen, and the method further includes: Displaying a custom lock screen key control on the display screen, wherein the custom lock screen key control is used for the user to customize the lock screen parameters; In response to an input operation of the user in the custom lock screen key control, obtaining and updating lock screen parameters; Send the updated lock screen parameters to the service terminal.
8. A remote server screen lock device, characterized in that: Applied to a service terminal, the device comprises: A first determination module is used to determine a current state of a control program in a client terminal, wherein the current state is a normal exit state, an abnormal exit state, or a running state, and the control program is used by the remote server; A second determination module, used to determine the current lock screen parameters according to the current state; A generation module, used to generate a lock screen instruction according to the current lock screen parameters; The sending module is used to send the lock screen instruction to the remote server so that the remote server locks the screen according to the lock screen instruction.
9. A remote server screen lock device, characterized in that: Applied to a client terminal, the method comprises: An acquisition module, used to obtain the current lock screen parameters sent by the service terminal in response to the user's lock screen instruction to the remote server; A sending module, used for sending the current lock screen parameter to the service terminal, so that the service terminal generates a lock screen instruction according to the current lock screen parameter, and the lock screen instruction is used to instruct the remote server to lock the screen; A receiving module, used to receive a first response message sent by the service terminal, wherein the first response message is used to indicate that the service terminal has received the current lock screen parameter; A control module is used to exit the control program in the client terminal according to the first response information.
10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5, or any one of claims 6 to 7.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method according to any one of claims 1 to 5, or any one of claims 6 to 7.
12. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method described in any one of claims 1 to 5, or any one of claims 6 to 7.
Citation Information
Patent Citations
Remote-control method of display terminal based on network
CN104702683A
Method and system for remotely switching screen mode
CN107273125A
A remote communication method and a related device
CN109684025A
Remote control method, device and system for terminal screen
CN115904588A