Search

CN-116668497-B - Bare screen exit method, bare screen exit device, electronic equipment and storage medium

CN116668497BCN 116668497 BCN116668497 BCN 116668497BCN-116668497-B

Abstract

The application provides a screen rejection method, a screen rejection device, electronic equipment and a storage medium, which belong to the technical field of communication, and are characterized in that a heartbeat packet is sent to an equipment management platform, heartbeat response information of the equipment management platform responding to the heartbeat packet is received, the heartbeat response information comprises server connection parameters, a message server is connected according to the server connection parameters, a message theme of the message server is subscribed, the message theme comprises a screen rejection instruction, the screen rejection instruction is sent to the message theme of the message server by the equipment management platform, a screen rejection state is obtained in response to the screen rejection instruction, if the screen rejection state indicates that terminal equipment is in a screen rejection mode, a pop window assembly is generated, and in response to clicking of the pop window assembly, the screen rejection mode can be achieved without disassembling the equipment, the screen rejection difficulty is reduced, and the screen rejection efficiency is improved.

Inventors

  • XUE YUNFENG
  • LIN HUI
  • ZHOU XIAOXIN

Assignees

  • 深圳市新国都支付技术有限公司

Dates

Publication Date
20260505
Application Date
20230510

Claims (9)

  1. 1. The screen-rejection method is characterized by being applied to terminal equipment, and comprises the following steps: Sending a heartbeat packet to a device management platform through a transmission control protocol, and receiving heartbeat response information of the device management platform for responding to the heartbeat packet, wherein the heartbeat packet comprises important information which needs to be uploaded to the device management platform by the terminal device, and the heartbeat response information comprises server connection parameters; Connecting a message server according to the server connection parameters, sending a subscription topic request to the message server, obtaining a message topic according to the subscription topic request and the body number of terminal equipment, and subscribing the message topic, wherein the message topic comprises a screen rejection instruction, and the screen rejection instruction is sent to the message topic of the message server by the equipment management platform; Responding to the screen rejection instruction, acquiring a screen rejection state, and generating a popup window assembly if the screen rejection state indicates that the terminal equipment is in a screen rejection mode; responding to clicking of the popup window assembly, and exiting a screen-warming mode; The heartbeat response information further comprises a first screen lock unlocking password, the terminal equipment is provided with a key, and after the heartbeat response information of the equipment management platform responding to the heartbeat packet is received, the screen lock quit method further comprises the following steps: Triggering the pressing operation of the key to acquire the screen-up state, generating a password input box if the screen-up state indicates that the terminal equipment is in a screen-up mode, receiving a second screen-up unlocking password input in the password input box, and exiting the screen-up mode according to the first screen-up unlocking password and the second screen-up unlocking password.
  2. 2. The screen-bar exiting method according to claim 1, wherein the terminal device includes an application program and firmware, the responding to the screen-bar exiting instruction obtains a screen-bar state, and if the screen-bar state indicates that the terminal device is in a screen-bar mode, a popup assembly is generated, including: Responding to the screen-warming exit instruction, controlling the application program to call a first preset interface to send a screen-warming state acquisition request to the firmware, so that the firmware responds to the screen-warming state acquisition request to obtain the screen-warming state; And if the screen-up state indicates that the terminal equipment is in the screen-up mode, controlling the application program to generate the popup window assembly.
  3. 3. The method of claim 2, wherein the exiting the screen mode in response to clicking the pop-up window assembly comprises: And responding to clicking of the popup window assembly, controlling the application program to call a second preset interface to send a screen rejection request to the firmware, so that the firmware responds to the screen rejection request and exits the screen rejection mode.
  4. 4. A screen exit method according to claim 3, wherein after the firmware exits the screen mode in response to the screen exit request, the screen exit method further comprises: Acquiring a screen rejection result returned by the firmware; If the screen-rejection result indicates that the screen rejection is successful, controlling the application program to call the first preset interface to acquire the screen rejection state; And verifying the screen-backing-out result according to the screen-backing state.
  5. 5. The method for backing out a screen according to claim 4, wherein after the obtaining the result of backing out the screen returned by the firmware, the method for backing out the screen further comprises: if the screen rejection result indicates that the screen rejection fails, controlling the application program to call the second preset interface to reject the screen rejection mode, and obtaining a new screen rejection result; if the new screen exit result indicates that the screen exit fails, the continuous failure times of the screen exit failure are obtained; If the continuous failure times are greater than or equal to a preset time threshold, generating the popup window assembly in preset time; And responding to clicking the popup window assembly, and exiting the screen-warming mode.
  6. 6. The method for exiting a touch screen according to claim 1, wherein the exiting the touch screen mode according to the first touch screen unlock code and the second touch screen unlock code comprises: comparing the first screen unlocking password with the second screen unlocking password; And if the first screen unlocking password is the same as the second screen unlocking password, exiting the screen locking mode.
  7. 7. The device is characterized in that the device is applied to terminal equipment and comprises: The device comprises a transmission and receiving module, a device management platform, a transmission and receiving module and a control module, wherein the transmission and receiving module is used for transmitting a heartbeat packet to the device management platform through a transmission control protocol and receiving heartbeat response information of the device management platform for responding to the heartbeat packet, the heartbeat packet comprises important information which needs to be uploaded to the device management platform by the terminal device, and the heartbeat response information comprises server connection parameters; The message subscription module is used for connecting a message server according to the server connection parameters, sending a subscription topic request to the message server, obtaining a message topic according to the subscription topic request and the body number of the terminal equipment, and subscribing the message topic, wherein the message topic comprises a screen rejection instruction, and the screen rejection instruction is sent to the message topic of the message server by the equipment management platform; The screen-rejection state acquisition module is used for acquiring screen rejection state, and if the screen rejection state indicates that the terminal equipment is in a screen rejection mode, a popup window assembly is generated; the screen-warming exiting module is used for responding to clicking of the popup window assembly and exiting a screen-warming mode; The heartbeat response information further comprises a first screen lock release password, the terminal equipment is provided with a key, and the device is further used for: Triggering the pressing operation of the key to acquire the screen-up state, generating a password input box if the screen-up state indicates that the terminal equipment is in a screen-up mode, receiving a second screen-up unlocking password input in the password input box, and exiting the screen-up mode according to the first screen-up unlocking password and the second screen-up unlocking password.
  8. 8. An electronic device, characterized in that it comprises a memory and a processor, the memory storing a computer program, the processor implementing the screen-bar exit method according to any one of claims 1 to 6 when executing the computer program.
  9. 9. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the screen-bar exit method of any one of claims 1 to 6.

Description

Bare screen exit method, bare screen exit device, electronic equipment and storage medium Technical Field The present application relates to the field of communications technologies, and in particular, to a screen rejection method, a screen rejection device, an electronic device, and a storage medium. Background The screen is a screen, and in the screen mode, the user can only use a specific application program in the terminal device. The terminal equipment under the unattended operation generally controls the behavior of the user using the terminal equipment in a screen-over mode. When the terminal equipment has a problem and needs to be maintained, the screen-warming mode needs to be exited. In the related art, the screen-warming mode is realized by long-pressing a certain key, but the key of the unattended terminal equipment is usually embedded in a machine, so that the terminal equipment needs to be disassembled to expose the key, and the difficulty of screen-warming withdrawal is increased. Disclosure of Invention The embodiment of the application mainly aims to provide a screen rejection method, a screen rejection device, electronic equipment and a storage medium, and aims to achieve the purpose that a screen rejection mode can be rejected without disassembling a screen, and the difficulty of screen rejection is reduced. In order to achieve the above object, a first aspect of an embodiment of the present application provides a screen rejection method, applied to a terminal device, where the method includes: Sending a heartbeat packet to a device management platform, and receiving heartbeat response information of the device management platform for responding to the heartbeat packet, wherein the heartbeat response information comprises server connection parameters; Connecting a message server according to the server connection parameters, and subscribing a message theme of the message server; the message theme comprises a screen rejection instruction, and the screen rejection instruction is sent to the message theme of the message server by the equipment management platform; Responding to the screen rejection instruction, acquiring a screen rejection state, and generating a popup window assembly if the screen rejection state indicates that the terminal equipment is in a screen rejection mode; And responding to clicking the popup window assembly, and exiting the screen-warming mode. In some embodiments, the heartbeat response information further includes a first screen lock release password, the terminal device is provided with a key, and after the heartbeat response information that the device management platform responds to the heartbeat packet is received, the screen lock release method further includes: triggering the pressing operation of the key to acquire the screen-warming state; If the screen-rejection state indicates that the terminal equipment is in a screen rejection mode, a password input box is generated; Receiving a second screen unlocking password input in the password input box; And according to the first screen unlocking password and the second screen unlocking password, exiting the screen locking mode. In some embodiments, the terminal device includes an application program and firmware, the responding to the screen-up exit instruction obtains a screen-up state, and if the screen-up state indicates that the terminal device is in a screen-up mode, the generating a popup assembly includes: Responding to the screen-warming exit instruction, controlling the application program to call a first preset interface to send a screen-warming state acquisition request to the firmware, so that the firmware responds to the screen-warming state acquisition request to obtain the screen-warming state; And if the screen-up state indicates that the terminal equipment is in the screen-up mode, controlling the application program to generate the popup window assembly. In some embodiments, the exiting the touch screen mode in response to clicking the pop-up window assembly includes: And responding to clicking of the popup window assembly, controlling the application program to call a second preset interface to send a screen rejection request to the firmware, so that the firmware responds to the screen rejection request and exits the screen rejection mode. In some embodiments, after the firmware exits the screen-up mode in response to the screen-up request, the screen-up method further includes: Acquiring a screen rejection result returned by the firmware; If the screen-rejection result indicates that the screen rejection is successful, controlling the application program to call the first preset interface to acquire the screen rejection state; And verifying the screen-backing-out result according to the screen-backing state. In some embodiments, after the obtaining the result of the screen exit returned by the firmware, the screen exit method further includes: if the screen rejection result indicates that t