Lock control method, electronic equipment and storage medium
By using a non-terrestrial network to establish a connection with the server when the status information of the terminal meets the preset conditions, the problem of the terminal being locked when the ground network is not available is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202311390863.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-04-25
AI Technical Summary
When the local network is unavailable, the user's terminal cannot repay on time and/or cannot communicate and synchronize with the server regularly, resulting in the terminal being locked, bringing the user a bad user experience.
By obtaining the status information of the terminal, and when the status information meets the preset conditions, a first message is sent to the server based on a non-terrestrial network, a connection is established with the server in a timely manner, and a determination is made on whether to lock the terminal based on the server's response.
When the ground network is unavailable, the connection is maintained with the server through the non-ground network, which avoids the terminal being locked due to the inability to synchronize for a long time and improves the user experience.
Smart Images

Figure CN119893494A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communications, and in particular to a lock control method, a communication device, and a storage medium. Background Art
[0002] In modern society, terminals have become an indispensable tool in people's lives. As an important tool for users' communication and entertainment, terminals carry multiple functions such as communication, information acquisition, payment, and social interaction. With the diversification of consumption methods, in order to reduce shopping pressure and quickly obtain the required terminals, more and more users choose to purchase terminals in installments. At this time, users need to repay on time and the terminal needs to communicate and synchronize with the server regularly to avoid the user's terminal being locked.
[0003] However, when the ground network is unavailable (for example, the user stays in a place that is not covered by the ground base station for a long time), that is, the user cannot repay on time and / or the terminal cannot communicate and synchronize with the server regularly, the terminal will be locked, giving the user a bad user experience. Summary of the invention
[0004] The embodiments of the present disclosure provide a locking control method, an electronic device, and a storage medium, which are used to prevent a user's terminal from being locked when a terrestrial network is unavailable.
[0005] In a first aspect, a locking control method is provided, which is applied to a terminal; the method comprises:
[0006] Get the terminal status information;
[0007] When the status information satisfies a preset condition, sending a first message to the server through the non-terrestrial network;
[0008] receiving, via the non-terrestrial network, a second message sent by the server in response to the first message;
[0009] Based on the second message, determine whether to lock the terminal.
[0010] Based on the locking control method provided in the embodiment of the present disclosure, compared with the problem that when the ground network is unavailable, the user is unable to repay on time and / or the terminal is unable to communicate and synchronize with the server for a long time, resulting in the user's terminal being locked, the method provided in the embodiment of the present disclosure obtains the status information of the terminal, and when the status information meets the preset conditions, sends a first message to the server based on the non-ground network, so that the terminal can establish a connection with the server through the non-ground network in time when the ground network is unavailable; at the same time, the method provided in the embodiment of the present disclosure receives the second message sent by the server to respond to the first message, and determines whether to lock the terminal based on the second message, so as to avoid the user's terminal being locked when the ground network is unavailable, thereby improving the user's usage experience.
[0011] In a second aspect, a locking control method is provided, which is applied to a terminal; the method comprises:
[0012] receiving a first message sent by a terminal through a non-terrestrial network;
[0013] A second message for responding to the first message is sent to the terminal through the non-terrestrial network, so that the terminal determines whether to lock the terminal based on the second message.
[0014] Based on the lock control method provided in the embodiment of the present invention, the server sends a first message based on a non-ground network through a receiving terminal, so that the server and the terminal can establish a connection in time when the ground network is unavailable; at the same time, in the method provided in the embodiment of the present invention, the server sends a second message corresponding to the first message to the terminal through the non-ground network, so that the terminal determines whether to lock the terminal based on the second message, thereby avoiding the user's terminal being locked due to the unavailability of the ground network, thereby improving the user's experience.
[0015] In a third aspect, a locking device is provided, comprising:
[0016] An acquisition module is used to obtain the status information of the terminal;
[0017] A sending module, configured to send a first message to a server via a non-terrestrial network when the status information meets a preset condition;
[0018] A receiving module, used for receiving a second message sent by the server in response to the first message through a non-terrestrial network;
[0019] The determination module is used to determine whether to lock the terminal based on the second message.
[0020] In a fourth aspect, a control device is provided, comprising:
[0021] A receiving module, configured to receive a first message sent by a terminal through a non-terrestrial network;
[0022] The sending module is used to send a second message for responding to the first message to the terminal through the non-terrestrial network, so that the terminal determines whether to lock the terminal based on the second message.
[0023] In a fifth aspect, an electronic device is provided, comprising: a memory and a processor; the memory and the processor are coupled; the memory is used to store a computer program; and the processor implements the locking control method of any of the above embodiments when executing the computer program.
[0024] In a sixth aspect, a computer-readable storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the locking control method of any of the above embodiments is implemented.
[0025] In a seventh aspect, a computer program product is provided, the computer program product comprising computer program instructions, which, when executed by a processor, implement the locking control method of any of the above-mentioned embodiments.
[0026] For the specific description of the third to seventh aspects and their various implementations in the present disclosure, reference can be made to the detailed description in the first aspect, the second aspect and their various implementations; and for the beneficial effects of the third to seventh aspects and their various implementations, reference can be made to the analysis of the beneficial effects in the first aspect, the second aspect and their various implementations, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the present disclosure, the drawings required for use in some embodiments of the present disclosure will be briefly introduced below. Obviously, the drawings described below are only drawings of some embodiments of the present disclosure, and a person skilled in the art can also obtain other drawings based on these drawings.
[0028] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present disclosure;
[0029] Figure 2 A schematic diagram of the structure of a terminal provided in an embodiment of the present disclosure;
[0030] Figure 3 A flowchart of a locking control method provided by an embodiment of the present disclosure;
[0031] Figure 4 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0032] Figure 5 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0033] Figure 6 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0034] Figure 7 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0035] Figure 8 A schematic diagram of an azimuth angle and an altitude angle provided in an embodiment of the present disclosure;
[0036] Fig. 9 A schematic diagram of a star search interface provided by an embodiment of the present disclosure;
[0037] Fig.10 A schematic diagram of another star search interface provided by an embodiment of the present disclosure;
[0038] Fig.11 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0039] Fig.12 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0040] Fig.13 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0041] Fig.14 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0042] Fig.15 A schematic diagram of a locking interface provided by an embodiment of the present disclosure;
[0043] Fig.16 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0044] Fig.17 A schematic diagram of another locking interface provided by an embodiment of the present disclosure;
[0045] Fig.18 A flowchart of another locking control method provided by an embodiment of the present disclosure;
[0046] Fig.19 A schematic diagram of the structure of a control device provided in an embodiment of the present disclosure;
[0047] Fig. 20 A schematic diagram of the structure of another control device provided in an embodiment of the present disclosure;
[0048] Fig.21 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the present disclosure to clearly and completely describe the technical solutions in the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0050] It should be noted that, in the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0051] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0052] In the description of the present disclosure, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "a plurality" means two or more.
[0053] Generally, more and more users choose to purchase terminals in installments around the world. In some regions, the proportion of users who purchase terminals in installments has exceeded 40%. In order to prevent users from failing to pay the balance on time after purchasing terminals in installments, manufacturers pre-install locking software in the terminals they sell. Once the terminal is disconnected from the Internet for a long time or the user fails to repay the loan on time, the locking software will lock the terminal.
[0054] When a user stays in a place that cannot be covered by ground base stations for a long time, on the one hand, since the terminal cannot be connected to the Internet through the cellular network or wireless fidelity (WiFi) network, it is easy to trigger the offline lock function in the locking software, causing the user's terminal to be locked; on the other hand, since the user cannot connect to the Internet and cannot pay the balance in time through the Internet or phone, if the user cannot go to the offline store to pay in time, the payment lock function in the locking software will be triggered after the user fails to repay the balance on time, causing the user's terminal to be locked, which brings a bad user experience.
[0055] In response to the above technical problems, the embodiments of the present disclosure provide a lock control method, the idea of which is: by obtaining the status information of the terminal, and when the status information meets the preset conditions, sending a first message to the server based on the non-ground network, the terminal can establish a connection with the server through the non-ground network in time when the ground network is unavailable; at the same time, the method provided by the embodiments of the present disclosure receives a second message sent by the server to respond to the first message, and determines whether to lock the terminal based on the second message, which can avoid the user's terminal being locked due to the unavailability of the ground network, thereby improving the user's experience.
[0056] See also Figure 1 , is a schematic diagram of the system architecture involved in the locking control method provided in the embodiment of the present disclosure. Figure 1 As shown, the system includes: a terminal 110 , a non-terrestrial network 120 and a server 130 ; wherein the terminal 110 and the server 130 are communicatively connected via the non-terrestrial network 120 .
[0057] The terminal 110 is used to send a first message to the server 130 through the non-terrestrial network 120 when the status information of the terminal 110 meets a preset condition, and update the status information of the terminal 110 based on a second message returned by the server 130 in response to the first message.
[0058] In some embodiments, Figure 2 As shown, the terminal 110 includes: a query module 111, a determination module 112, a sending module 113, a receiving module 114, an updating module 115, a prompting module 116, a star search module 117 and a detection module 118.
[0059] In some embodiments, the query module 111 is used to obtain status information of the terminal 110 .
[0060] In some embodiments, the terminal 110 is configured with locking software, and the status information of the terminal 110 may be order information of the locking application; the query module 111 may obtain the order information (ie, the status information of the terminal 110 ) from the locking application of the terminal 110 .
[0061] In some embodiments, the order information includes: an order identification document (ID), order status, international mobile equipment identity (IMEI) of the terminal 110, the time of the last communication with the server 130, the time of the next communication with the server 130, the service number for communication synchronization, the time of the last payment, the time of the next payment, and the service number for payment. Among them, the IMEI code of the terminal 110 is used to uniquely identify the terminal 110. It should be noted that the content of the above order information is only an example given in the embodiment of the present disclosure. In actual use, the content of the order information may be more or less than that given in the embodiment of the present disclosure, and the embodiment of the present disclosure does not limit this.
[0062] In some embodiments, when the query module 111 queries the locking application for status information, it will pass the IMEI of the terminal 110 to the locking application, and the locking application will perform identity verification based on the passed IMEI; and after the identity verification passes, it will return a token to the query module 111.
[0063] In some embodiments, the token is used by the terminal 110 to update the status information; the token has time validity and is valid within a preset time range. For example, the preset time range may be 5 minutes.
[0064] The determination module 112 is used to determine whether it is necessary to initiate communication synchronization or payment process to the server 130 according to the above status information.
[0065] The sending module 113 is used to send a short message to a non-terrestrial network 120 that provides a short message service.
[0066] In some embodiments, when the determination module 112 determines that the status information meets a preset condition and the ground communication is unavailable, the sending module 113 sends a short message to the non-ground network 120 .
[0067] The receiving module 114 is used to receive the short message returned by the non-terrestrial network 120 .
[0068] The updating module 115 is used to update the status information.
[0069] The prompting module 116 is used to prompt the user to pay the installment.
[0070] The star search module 117 is used to start the star search interface and display the position of the non-terrestrial network 120 providing the short message service in real time on the star search interface.
[0071] The detection module 118 is used to detect the signal quality of the non-terrestrial network 120 .
[0072] Exemplarily, the terminal 110 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) or virtual reality (VR) device, etc. The embodiments of the present disclosure do not impose any particular restrictions on the specific form of the terminal 110.
[0073] The non-terrestrial network 120 is used to realize long-distance data transmission and communication.
[0074] In some embodiments, the non-terrestrial network 120 is used to receive a message sent by the terminal 110 and send the message to the server 130. The non-terrestrial network 120 is also used to receive a message sent by the server 130 and send the message to the terminal 110.
[0075] In some embodiments, the non-ground network 120 may be a satellite communication network, a high-altitude airship network, a drone network, an aerostat network, etc. The present application does not impose any special restrictions on the specific form of the non-ground network 120.
[0076] Server 130 is used to store user data and order information and provide remote control and management functions.
[0077] In some embodiments, the server 130 is configured to receive a message sent by the terminal 110 via the non-terrestrial network 120 .
[0078] In some embodiments, the server 130 is further configured to send a message for responding to the terminal 110 to the terminal 110 via the non-terrestrial network 120 .
[0079] Exemplarily, the server 130 may be a single server, or may be a server cluster composed of multiple servers. In some implementations, the server cluster may also be a distributed cluster.
[0080] It should be noted that the system architecture and application scenarios described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. A person of ordinary skill in the art can appreciate that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present disclosure are equally applicable to similar technical problems.
[0081] A locking control method provided by an embodiment of the present disclosure is described below in conjunction with the accompanying drawings.
[0082] See also Figure 3 , is a flow chart of a locking control method provided by an embodiment of the present disclosure. Figure 3 As shown, the locking control method provided in the embodiment of the present disclosure is applied to a terminal, and can be specifically implemented as follows:
[0083] S101. Obtain terminal status information.
[0084] In some embodiments, the status information includes communication information of the terminal and payment information of the terminal.
[0085] In some embodiments, the communication information includes: the communication time between the terminal and the server; the communication time may be the next communication time between the terminal and the server.
[0086] In some embodiments, the payment information includes: payment time; the payment time may be the next payment time of the terminal.
[0087] For ease of explanation, the following uses the communication time as the next communication time between the terminal and the server, and the payment time as the next payment time of the terminal as an example to illustrate the lock control method provided by the embodiment of the present disclosure.
[0088] In some embodiments, when the terminal is configured with a locking application (the locking application is used to lock the terminal), after the user purchases the terminal in installments, the locking application will generate a corresponding order, and the order information in the locking application can be used as the status information of the terminal; at this time, the status information includes: the order ID of the user purchasing the terminal, the order status, the IMEI of the terminal, the time of the most recent communication between the terminal and the server of the locking application, the time of the next communication between the terminal and the server of the locking application, the time of the most recent payment of the terminal, the time of the next payment of the terminal, the service number used to communicate with the server of the locking application, and the service number used for repayment.
[0089] In some embodiments, the order status includes: the user has repaid on time or the user has not repaid on time.
[0090] It should be noted that the content of the above-mentioned status information is only an example given in the embodiment of the present disclosure. In actual use, the content of the status information may be more or less than that given in the embodiment of the present disclosure, and the embodiment of the present disclosure is not limited to this.
[0091] In some embodiments, when the terminal needs to obtain status information, the terminal can pass the IMEI to the locking application, and the locking application performs identity verification on the terminal according to the passed IMEI, and returns a token to the terminal after the identity verification passes. When the terminal receives an instruction from the server and needs to update the status information, it can pass the server's instruction and the token to the locking application, and the locking application performs identity verification on the terminal according to the passed token. If the identity verification passes, the locking application can update the status information based on the server's instruction.
[0092] In some embodiments, the token is time-sensitive and is valid within a certain time frame.
[0093] For example, the validity time range of a token may be 3 minutes.
[0094] It is understandable that after a user purchases a terminal by installment payment, the terminal needs to communicate with the server regularly to ensure that the server perceives that the terminal is in normal use and avoids the terminal being locked due to a long period of no communication with the server; at the same time, after a user purchases a terminal by installment payment, the terminal needs to repay the payment regularly according to the payment time to ensure that the terminal can be used normally and avoid the terminal being locked due to overdue repayment. The method provided in the embodiment of the present disclosure can timely determine whether the terminal needs to communicate with the server or whether it needs to pay the installment payment based on the communication time and payment time in the terminal status information to avoid the terminal being locked, thereby reducing the risk of the terminal being locked.
[0095] S102: When the status information meets a preset condition, send a first message to a server via a non-terrestrial network.
[0096] In some embodiments, the first message may be a short message.
[0097] In some embodiments, when the status information satisfies a preset condition, the first message further includes at least one of the following: an identifier of the terminal, an identifier of the status information, and an operation type.
[0098] In some embodiments, the identification of the terminal may be represented by the IMEI of the terminal.
[0099] In some embodiments, the operation type is used to indicate whether the first message is used for communication synchronization or for initiating a payment process. Exemplarily, the operation type can be identified by 0 and 1. When the operation type is identified as 0, it indicates that the first message is used to request communication synchronization; when the operation type is identified as 1, it indicates that the first message is used to initiate a payment process.
[0100] It should be noted that the first message may carry the communication address of the server, and after receiving the first message, the non-terrestrial network may forward the first message to the server based on the communication address of the server. In addition, the format and content of the first message may also be different depending on the actual situation, and the embodiments of the present disclosure do not limit this.
[0101] In some embodiments, Figure 4 As shown, the above step S102 can be specifically implemented as step S102a.
[0102] S102a. When the communication information satisfies a first preset condition and / or the payment information satisfies a second preset condition, a first message is sent to a server via a non-terrestrial network.
[0103] In some embodiments, when the communication information satisfies a first preset condition, the first message is used to request communication synchronization. As an example, the communication information satisfies the first preset condition including: the time interval between the current time and the communication time is less than or equal to the first threshold. That is to say, if the first threshold is 2 minutes, the current time is 9:30, the communication time is 9:35, and the time interval between the current time and the communication time is 5 minutes, which is greater than the first threshold, then the terminal does not need to send a first message for requesting communication synchronization to the server through the non-terrestrial network; if the first threshold is 2 minutes, the current time is 9:33, the communication time is 9:35, and the time interval between the current time and the communication time is 2 minutes, which is equal to the first threshold, then the terminal sends a first message to the server through the non-terrestrial network to request communication synchronization.
[0104] As another example, the communication information also includes: the last communication time between the terminal and the server; the communication information satisfies the first preset condition including: the time interval between the current time and the last communication time is greater than or equal to the first. That is to say, if the first preset time interval is 3 minutes, the current time is 9:30, the last communication time is 9:26, and the time interval between the current time and the last communication time is 4 minutes, which is greater than the first preset time interval, the terminal sends a first message to the server through the non-terrestrial network to request communication synchronization.
[0105] It should be noted that, in different embodiments, the value of the first preset time interval can be flexibly selected based on the time interval between two communication times, and the embodiment of the present disclosure does not limit the value of the first preset time interval.
[0106] It is understandable that the terminal needs to communicate with the server regularly to update the communication information and determine whether the terminal is locked; if the terminal has not communicated with the server for a long time, the terminal will be locked. For example, when the ground network is unavailable, the terminal cannot update and synchronize the status information with the server through the ground network. At this time, the terminal will be locked because the communication information cannot be updated. The method provided in the embodiment of the present disclosure sends a first message to the server through the non-ground network in a timely manner when the communication information meets the first preset condition, thereby ensuring that the terminal can communicate with the server in a timely manner and avoiding the terminal from being locked.
[0107] In some embodiments, when the payment information satisfies the second preset condition, the first message is used to initiate the payment process, and the first message includes the payment information. The payment information may be information of a payment account reserved by the user or a payment method.
[0108] As an example, the payment information satisfies the second preset condition including: the time interval between the current time and the payment time is less than or equal to the second threshold. That is to say, if the second threshold is 3 days, the current time is October 18, the payment time is October 20, and the time interval between the current time and the payment time is 2 days, which is less than the second threshold, then after the user confirms to pay the installment payment, the terminal sends a first message to the server through the non-terrestrial network to initiate the payment process.
[0109] As another example, the payment information also includes the last payment time; the payment time satisfies the second preset condition including: the time interval between the current time and the last payment time is greater than or equal to the second preset time interval. That is to say, if the second preset time interval is 30 days, the current time is October 18, the last payment time is September 1, and the time interval between the current time and the last payment time is greater than the second preset time interval, then after the user confirms to pay the installment payment, the terminal sends a first message to the server through the non-terrestrial network to initiate the payment process.
[0110] It should be noted that, in different embodiments, the value of the second preset time interval can be flexibly selected based on the time interval between two payment times, and the embodiment of the present disclosure does not limit the value of the second preset time interval.
[0111] It is understandable that the terminal needs to pay the installment payment regularly and communicate with the server to update the payment information and determine whether the terminal is locked; if the terminal fails to pay on time, the terminal will be locked. For example, when the ground network is unavailable, the terminal cannot pay the installment payment through the ground network; or, when the user cannot pay the installment payment by phone or offline store, the terminal cannot update and synchronize the order information with the server. At this time, the terminal will be locked because the order information cannot be updated. The method provided in the embodiment of the present disclosure, when the payment information meets the second preset condition, promptly sends a first message to the server through the non-ground network to initiate the payment process, so that the terminal can pay the installment payment in time before being locked, avoid the terminal being locked, and improve the user experience.
[0112] It should be noted that the above embodiment sends the first message to the server via satellite when the status information meets the preset conditions, but it does not mean that the method provided by the embodiment of the present disclosure is only applied to this scenario. For other more serious situations where the terminal cannot update the status information to determine whether the machine is locked (for example, the lock data is lost, the lock service is interrupted), it can also be handled by the method provided by the embodiment of the present disclosure.
[0113] S103. Receive, through the non-terrestrial network, a second message sent by the server in response to the first message.
[0114] In some embodiments, after receiving the first message, the server determines the operation that needs to be performed on the first message based on the operation type of the first message, performs a corresponding operation based on the type of the first message, generates a second message in response to the first message, and then sends the second message to the terminal through a non-ground network.
[0115] Optionally, the second message may be a short message.
[0116] In some embodiments, the second message further includes at least one of the following: an identifier of status information, and a token used to indicate that the identity verification has passed.
[0117] As an example, when the operation type of the first message is identified as 0, that is, the first message is used to request communication synchronization, after receiving the first message sent by the terminal, the server will first verify the identity of the terminal, and after the verification passes, perform the communication synchronization operation. After the communication synchronization operation is completed, the server generates a second message and sends it to the terminal. The second message includes the communication synchronization result and the next communication time.
[0118] As another example, when the operation type of the first message is identified as 1, that is, the first message is used to initiate a payment process, after receiving the first message sent by the terminal, the server will first verify the identity of the terminal, and initiate the payment process after the verification is passed. After the payment is completed, the server generates a second message and sends it to the terminal. The second message includes the payment result and the next payment time.
[0119] It should be noted that, in different embodiments, the contents of the first message and the second message are different, and the embodiments of the present disclosure do not specifically limit the contents of the first message and the second message.
[0120] It should be noted that after receiving the second message sent by the server, the terminal senses that communication with the server has been established through the non-terrestrial network, and then determines whether to lock the terminal by executing the following step S104.
[0121] It can be understood that in the method provided by the embodiment of the present disclosure, the terminal receives the second message through the non-ground network, and can communicate with the server based on the non-ground network when the ground network is unavailable, thereby ensuring the normal operation of the terminal and avoiding the terminal being locked due to being in a state of long-term unavailability of the ground network.
[0122] S104: Determine whether to lock the terminal based on the second message.
[0123] In some embodiments, if the terminal is configured with a locking application, after receiving the second message, the terminal will pass the token and the content of the second message to the locking application. The locking application will perform identity verification on the terminal based on the passed-in token, and after the identity verification passes, determine whether to lock the terminal based on the content of the second message.
[0124] In some embodiments, Figure 5 As shown, when the first message is used for communication synchronization (ie, the second message includes the communication synchronization result), the above step S104 can be specifically implemented as: step S104a.
[0125] S104a: when the communication synchronization result is synchronization success, refuse to lock the terminal, and update the communication information based on the next communication time; or, when the communication synchronization result is synchronization failure, determine to lock the terminal.
[0126] Exemplarily, if the communication synchronization result of the second message is successful synchronization, and the next communication time in the second message is 16:00 on October 18, the terminal will update the communication time to 16:00 on October 18 to update the communication information; if the communication synchronization result of the second message is failed synchronization, the terminal will lock the machine.
[0127] In some embodiments, Figure 6 As shown, when the first message is used to initiate a payment process (ie, the second message includes a payment synchronization result), the above step S104 can be specifically implemented as: step S104b.
[0128] S104b: When the payment result is a successful payment, refuse to lock the terminal, and update the payment information based on the next payment time; or, when the payment result is a failed payment, determine to lock the terminal.
[0129] Exemplarily, if the payment result of the second message is successful payment, and the next payment time in the second message is 16:00 on October 18, the terminal will update the payment time to 16:00 on October 18 to update the payment information; if the payment result of the second message is failed payment, the terminal will lock the machine.
[0130] It is understandable that the method provided by the embodiment of the present disclosure, by determining whether to lock the terminal based on the second message, can timely determine the communication status between the terminal and the server or the payment status of the terminal installment payment, thereby ensuring the normal operation of the terminal. In addition, when the user terminal is configured with a locking application, compared with the related art in which the terminal locking application only establishes communication with the server through the ground communication network, if the user is in a situation where the ground network is unavailable for a long time, the locking function of the locking application will be triggered, which will bring a bad user experience to the user. The method provided by the embodiment of the present disclosure obtains the second message through a non-ground network, and timely updates the status information based on the second message, and determines whether the terminal is locked, thereby improving the flexibility of the terminal in updating the status information.
[0131] In some embodiments, the non-terrestrial network comprises a satellite communications network.
[0132] In some embodiments, Figure 7 As shown, before the terminal sends the first message to the server through the non-terrestrial network, the method further includes: steps S201-S202.
[0133] S201. Search for satellites that provide short message services to obtain signal quality of at least one satellite.
[0134] In some embodiments, factors affecting the signal quality of the satellite include: bit error rate, bandwidth utilization, multipath interference, satellite orbit altitude, signal-to-noise ratio, etc. Therefore, the signal quality of the satellite can be measured by factors such as bit error rate, bandwidth utilization, multipath interference, satellite orbit altitude, signal-to-noise ratio, etc.
[0135] In some embodiments, the bit error rate refers to the ratio of the number of erroneous bits in the received data to the total number of transmitted bits. The lower the bit error rate, the better the signal quality. Bandwidth utilization refers to the proportion of effectively transmitted data. The higher the bandwidth utilization, the higher the communication efficiency of the satellite, that is, the better the signal quality. Multipath interference refers to the fact that due to the different paths experienced by the signal during propagation, multiple signals with different phases are received and superimposed on each other, thereby affecting the signal quality. The signal-to-noise ratio refers to the ratio of the received signal power to the background noise power. In satellite communications, the signal-to-noise ratio is an important indicator for evaluating the quality of the received signal, usually expressed in decibels (dB). The higher the signal-to-noise ratio, the better the received signal quality.
[0136] As a possible implementation method, the factors affecting signal quality can be weighted and summed to determine the signal quality of the satellite. Exemplary, if the factors affecting signal quality are: signal-to-noise ratio and bit error rate, their weights are w1 and w2 respectively. Then the calculation formula for signal quality is: signal quality = w1×signal-to-noise ratio + w2×bit error rate. Optionally, the value range of weights w1 and w2 can be between 0 and 1, and w1+w2=1. For example, the weights of signal-to-noise ratio and bit error rate are 0.6 and 0.4 respectively. The signal-to-noise ratio of satellite A is 36 and the bit error rate is 0.3, then the signal quality of satellite A is: 0.6×36+0.4×0.3=21.72.
[0137] It should be noted that, depending on the application scenario, different weights can be set for each factor according to actual conditions, and the present disclosure embodiment does not limit this. In addition, the above signal quality calculation formula is only a simple example given in the present disclosure embodiment. In specific implementation, the present disclosure embodiment does not limit the signal quality calculation formula.
[0138] As another possible implementation, a single factor that has a greater impact on the signal quality can be used as the signal quality of the satellite. As an example, the bit error rate is an important factor in measuring the signal quality of the satellite. Therefore, the value of the bit error rate can be used as the signal quality of the satellite. Assume that the first message sent by the terminal is a binary sequence containing 10 bits: 1010101010, and the data received by the receiving end after demodulation is: 1010100010. Comparing the original data with the received data, it can be found that the 5th bit and the 7th bit are inconsistent, that is, there are 2 error bits. Therefore, bit error rate = number of error bits / total number of bits = 2 / 10 = 0.2. At this time, the signal quality of the satellite can be 0.2.
[0139] As another example, the signal-to-noise ratio is also a key parameter for measuring the signal quality of a satellite, so the value of the signal-to-noise ratio can be used as the signal quality of the satellite. Exemplarily, in response to a user's trigger operation to search for a satellite, the terminal starts a satellite search interface, and the terminal can search for satellites that provide short message services through a radio frequency chip, receive and analyze signals transmitted by the satellite, and then calculate the signal strength and noise level of the satellite, and finally obtain the signal-to-noise ratio of the satellite, and use the value of the signal-to-noise ratio of the satellite as the signal quality of the satellite.
[0140] In some embodiments, after the terminal parses the signal transmitted by the satellite, it can also obtain the satellite type, satellite vehicle identifier (satellite vehicle id, SVID) and signal frequency; at the same time, the terminal can also parse the navigation information in the signal to obtain the coordinates of the satellite (the longitude and latitude and altitude of the satellite); then, the terminal calculates the azimuth and altitude of the satellite relative to the terminal's location based on its own coordinates (the longitude and latitude and altitude of the terminal) and the coordinates of the satellite.
[0141] In some embodiments, as shown in Table 1 below, the azimuth, altitude, type, SVID and signal frequency of the satellite providing the short message are displayed in real time on the satellite list interface of the terminal.
[0142] Table 1
[0143]
[0144] In some embodiments, Figure 8 As shown in the figure, the azimuth refers to the horizontal angle between the direction line from a certain point to the due north (geographic North Pole) and the direction line to the observed target in a clockwise direction, and its value varies between 0° and 360°; the altitude refers to the angle between the direction line from a certain point to the observed target and the horizontal plane, and its value varies between 0° and 90°.
[0145] It is understandable that when the terminal needs to update status information through a non-ground network (such as a satellite communication network) (for example, the terminal's locking application needs to update order information through a satellite communication network), it is necessary to ensure that there are available satellites at this time. Therefore, the method provided in the embodiment of the present disclosure searches for satellites that provide short message services and obtains the signal-to-noise ratio of the satellite before the terminal sends the first message to the server through the non-ground network, so as to promptly determine whether the satellite can be used to update the status information.
[0146] S202: Determine a target satellite for communication based on a signal quality of at least one satellite.
[0147] As a possible implementation, the influencing factors of the signal quality of each satellite may be weighted and summed to determine the signal quality of each satellite, and the signal quality of the satellites may be sorted from high to low, with the satellite with the highest signal quality being used as the target satellite for communication. For example, if after weighted summation, the signal quality of satellite B is 30, and the signal quality of satellite C is 29.8, then the target satellite for communication is satellite C.
[0148] As another possible implementation, the target satellite for communication may be determined based on a factor that affects the signal quality of the satellite. As an example, the bit error rate of at least one satellite is determined, and the satellite with the lowest bit error rate is used as the target satellite for communication. That is, if the bit error rate of satellite B is 0.4 and the bit error rate of satellite C is 0.35, then the target satellite for communication is satellite C.
[0149] As another example, if the signal-to-noise ratio of the target satellite is higher than the preset signal-to-noise ratio, the satellite with the highest signal-to-noise ratio may be used as the target satellite for communication. The preset signal-to-noise ratio may be 35. That is, if the signal-to-noise ratio of satellite B is 25 and the signal-to-noise ratio of satellite C is 40, then the target satellite for communication is satellite C.
[0150] It should be noted that the satellite's signal-to-noise ratio is an important indicator to measure the quality of satellite signals. The higher the signal-to-noise ratio, the better the satellite signal instructions. Generally, only when the signal-to-noise ratio is greater than or equal to 30 can the normal operation of various operations be guaranteed.
[0151] It should be noted that the above-mentioned determination of the target satellite for communication based on the signal quality of at least one satellite is only some examples given in the embodiments of the present disclosure. In specific implementation, the target satellite for communication can also be determined based on other parameters or influencing factors, and the embodiments of the present disclosure are not limited to this.
[0152] The following takes the signal-to-noise ratio of a satellite as an example to illustrate the specific implementation of determining the target satellite for communication. In response to the user's triggering operation on the satellite list interface, the terminal can determine the satellite whose signal-to-noise ratio value in the satellite list interface is greater than the preset signal-to-noise ratio as the target satellite, and display the satellite search interface, obtain the terminal's antenna transmission direction through the direction sensor, and instruct the user to adjust the terminal's antenna transmission direction to the correct position.
[0153] In some embodiments, the antenna transmission direction of the terminal includes the azimuth, pitch angle, and roll angle of the terminal, etc. The azimuth refers to the angle of the terminal on the horizontal plane relative to the true north direction, which indicates the direction or orientation of the terminal; the pitch angle refers to the angle between the terminal and the horizontal plane, that is, the degree of the terminal's forward and backward tilt.
[0154] It should be noted that, in general, the azimuth of the terminal is defined as 0° for the north direction, 90° for the east direction, 180° for the south direction, and 270° for the west direction. The azimuth can be any value between 0° and 360°, and 360° and 0° represent the same direction.
[0155] For example, Fig. 9 As shown, the terminal displays the star search interface, which contains four circles from the outside to the inside, with the center of the circle being the location of the terminal. The four circles represent the altitude angles of 0°, 30°, 60°, and 90° from the outside to the inside. Each circle has a degree of 360 degrees, and their orientation is consistent with the orientation of the map, that is, due north (due north is facing the top of the map, and the angle is 0°);
[0156] In some embodiments, the star search interface can display the position of the target satellite and the range covered by the terminal's antenna transmission direction in real time. The user can rotate the terminal to adjust the terminal's antenna transmission direction to the correct position according to the instructions of the star search interface.
[0157] In some embodiments, when the user rotates the terminal to search for satellites, once the azimuth angle of the terminal tends to be consistent with the azimuth angle of the target satellite, and the pitch angle of the terminal tends to be consistent with the altitude angle of the target satellite, it indicates that the antenna transmission direction of the terminal has been adjusted to the correct position and the signal-to-noise ratio of the target satellite has reached the optimal level.
[0158] For example, Fig.10 As shown, when the signal-to-noise ratio of the target satellite reaches the optimal level, it indicates that the terminal has been adjusted to the correct position. At this time, the range covered by the antenna transmission direction of the terminal in the star search interface overlaps with the position of the target satellite.
[0159] It should be noted that after determining the target satellite for communication, the terminal can send the first message to the server through the target satellite.
[0160] It is understandable that when a terminal needs to update status information through a non-ground network (for example, the terminal's locking application needs to update order information through a satellite communication network), it is necessary to ensure that the satellite for communication is available and reliable. Therefore, the method provided in the embodiment of the present disclosure selects a satellite with the best signal-to-noise ratio as the target satellite for communication after determining the signal-to-noise ratio of the satellite, thereby ensuring the accuracy of information transmission during the status information update process and improving the efficiency of information transmission.
[0161] In some embodiments, Fig.11 As shown, after the above step S104, the above method further includes: steps S105-S106.
[0162] S105: Receive a third message sent by the server.
[0163] In some embodiments, the third message is used to indicate a postponement of the communication time.
[0164] In some embodiments, the first message also includes the location information of the terminal. The server determines that the terminal is in a state where the ground network is unavailable for a long time based on the location information of the terminal, and sends a third message to the terminal so that the terminal postpones the communication time based on the third message.
[0165] S106. Modify the communication time in the communication information according to the third message.
[0166] As an example, if the terminal updates the communication time to 16:00 on October 18 based on the next communication time in the second message, and the terminal receives a third message sent by the server, and the third message indicates that the communication time will be postponed for 1 day, the terminal will update the communication time (that is, the next communication time between the terminal and the server) to 16:00 on October 19.
[0167] As another example, if the terminal updates the communication time to 16:00 on October 18 based on the next communication time in the second message, and the terminal receives a third message sent by the server, and the third message indicates that the communication time is updated to 16:00 on October 19, the terminal will update the communication time (that is, the next communication time between the terminal and the server) to 16:00 on October 19 based on the third message.
[0168] It is understandable that when the terminal is in a state where the ground network is unavailable for a long time, even if the terminal establishes communication with the server through the non-ground network and updates the status information, the terminal still needs to use the non-ground network when updating the status information next time; if the update is more frequent, it will bring greater pressure to the terminal and the server. Therefore, in the method provided by the embodiment of the present disclosure, the server can send a third message to the terminal to postpone the communication time and extend the update frequency of the communication time. On the one hand, it reduces the consumption of the terminal and the server; on the other hand, it can make the terminal locking solution more flexible and improve the user experience.
[0169] See also Fig.12 , is a flow chart of a locking control method provided by an embodiment of the present disclosure. Fig.12 As shown, the locking control method provided in the embodiment of the present disclosure is applied to the server and can be implemented as the following steps:
[0170] S301. Receive a first message sent by a terminal through a non-terrestrial network.
[0171] In some embodiments, the first message is sent by the terminal to the server when the status information meets a preset condition.
[0172] In some embodiments, the first message includes location information of the terminal.
[0173] S302: Send a second message for responding to the first message to the terminal through the non-terrestrial network, so that the terminal determines whether to lock the terminal based on the second message.
[0174] In some embodiments, the specific implementation of the above step S302 can refer to the above step S103, which will not be repeated here.
[0175] It can be understood that in the method provided by the embodiment of the present disclosure, the server sends a second message to the terminal through the non-ground network, and when the ground network is unavailable to the user, the terminal can be promptly instructed to update the status information to determine whether to lock the phone, thereby ensuring normal communication between the terminal and the server, and further ensuring that the terminal can normally execute the locking function, avoiding the situation where the terminal triggers the locking function and is locked when the ground network is unavailable for a long time, thereby bringing a bad user experience to the user.
[0176] In some embodiments, Fig.13 As shown, the above method also includes: steps S401-S403.
[0177] S401: Determine a movement trajectory of a terminal based on multiple location information of the terminal.
[0178] In some embodiments, the first message sent by the terminal to the server includes the location information of the terminal. After receiving multiple location information, the terminal can match the location information at different time points based on the location information to form a continuous trajectory sequence to determine the movement trajectory of the terminal.
[0179] S402: Determine, based on the movement trajectory, the length of time that the terminal stays in the area where the ground communication network is unavailable.
[0180] In some embodiments, after determining the movement trajectory of the terminal, the server determines whether the terminal is located in an area where the ground network is unavailable based on the coverage of the ground network, and determines the length of time the terminal stays in the area where the ground network is unavailable.
[0181] Exemplarily, the area where the terrestrial network is unavailable may be an area that has not been covered by a mobile base station, or an area where the network signal quality is poor.
[0182] S403: When the stay duration is greater than or equal to a third threshold, send a third message to the terminal.
[0183] In some embodiments, the third message is used to indicate a postponement of the communication time.
[0184] In some embodiments, after the server determines that the stay time is greater than or equal to the third threshold, it will determine that the user has been in the area where the ground network is unavailable for a long enough time, and the server will send a third message to the terminal to instruct the terminal to postpone the communication time. Exemplarily, the third threshold may be 5 days.
[0185] Exemplarily, if the third threshold is 5 days, and the server determines that the stay time is 7 days, when it is greater than 5 days, it will be judged that the user's stay time in the area where the ground network is unavailable is long enough. At this time, the server will send a third message to the terminal to instruct the terminal to postpone the synchronization time.
[0186] It is understandable that the method provided by the embodiment of the present disclosure can timely determine the network status of the user at this time by determining the movement trajectory of the terminal according to multiple location information of the terminal, and determining the length of time the terminal stays in the area where the ground communication network is unavailable according to the movement trajectory; at the same time, because the time interval for the terminal to communicate and synchronize with the server is generally short, if the terminal cannot communicate and synchronize with the server, the terminal will be locked; even if the terminal communicates and synchronizes with the server through a non-ground network, the communication synchronization is relatively frequent, which will also put pressure on the non-ground network. Therefore, in the method provided by the embodiment of the present disclosure, when the length of the terminal's stay is greater than or equal to the third threshold (that is, the terminal cannot connect to the non-ground network for a long time), the server sends a third message to the terminal, so that the terminal postpones the communication time according to the third message, prolongs the time interval for the terminal to communicate and synchronize with the server, and thus reduces the pressure on the server and the non-ground network caused by the terminal's frequent requests to communicate with the server.
[0187] For ease of understanding, the locking control method provided by the embodiment of the present disclosure is described below using different scenarios as examples.
[0188] Scenario 1: The terminal is configured with a locking application (the locking application is used to determine whether to lock the terminal based on order information). When the user is without a ground network for a long time, the locking application cannot update the order information in time, triggering the offline lock function and locking the terminal.
[0189] For example, Fig.14 As shown, in scenario 1, the locking control method provided by the embodiment of the present disclosure can be implemented as the following steps:
[0190] Step a1: The user clicks the search button on the offline lock interface.
[0191] For example, Fig.15 The figure shows the lock interface of offline lock, which includes offline prompt information, satellite search button, emergency call button and network status.
[0192] Optionally, the network status includes a cellular network status and a WIFI network status.
[0193] Step a2: The terminal starts a star search interface and displays the position of the satellite providing the short message service in real time on the star search interface.
[0194] In some embodiments, the user can rotate the terminal to search for stars according to instructions on the star search interface.
[0195] Step a3: The terminal detects the signal-to-noise ratio of the searched satellite.
[0196] Step a4: The terminal determines whether there is a satellite whose signal-to-noise ratio is greater than a preset signal-to-noise ratio; if so, execute step a5; if not, execute step a3.
[0197] Step a5: The terminal obtains the communication information of the locking application.
[0198] The communication information includes: order ID, order status, IMEI of the terminal, communication time, and service number used for communication synchronization.
[0199] The order status includes whether the user's installment payment for the terminal has been paid off or is overdue.
[0200] The communication time includes the most recent synchronization time with the server and the next synchronization time with the server.
[0201] Step a6: When the communication information meets the first preset condition, a short message for initiating time synchronization is sent to the server via the satellite communication network.
[0202] Step a7: The terminal receives the communication synchronization result returned by the server via the satellite communication network.
[0203] Step a8: The terminal determines whether the synchronization is successful according to the communication synchronization result. If yes, execute step a9; if no, execute step a10.
[0204] Step a9: The terminal updates the communication information of the locking application.
[0205] It should be noted that after updating the communication information of the locking application, the locking application will exit the locking interface of the offline lock, and the user can use the terminal normally at this time.
[0206] Step a10: This operation is completed.
[0207] It is understandable that the terminal can perceive from the user's perspective that the lock application has triggered the lock function. For example, if the user cannot connect to the Internet and the lock application cannot synchronize the communication time, triggering the offline lock, the user can clearly perceive that the current terminal is locked and can view the reason why the terminal is locked through the prompt information on the terminal lock interface, which improves the user's experience.
[0208] Scenario 2: The terminal is equipped with a locking application (the locking application is used to determine whether to lock the terminal based on order information). When the user is without a terrestrial network for a long time and fails to pay the installment payment in time, the arrears lock function of the locking application is triggered and the terminal is locked.
[0209] For example, Fig.16 As shown, in scenario 2, the communication method provided by the embodiment of the present disclosure can be implemented as the following steps:
[0210] Step b1: The user clicks the unlock button on the lock interface of the arrears lock.
[0211] For example, Fig.17 The figure shows the lock interface of the arrears lock, which includes: arrears reminder information, customer service button, IMEI code button, unlock button and emergency call button.
[0212] Step b2: The terminal starts a satellite search interface and displays the position of the satellite providing the short message service in real time on the satellite search interface.
[0213] In some embodiments, the user can rotate the terminal to search for stars according to instructions on the star search interface.
[0214] Step b3: The terminal detects the signal-to-noise ratio of the searched satellite.
[0215] Step b4: The terminal determines whether there is a satellite whose signal-to-noise ratio is greater than a preset signal-to-noise ratio; if so, execute step b5; if not, execute step b3.
[0216] Step b5: The terminal obtains payment information of the locking application.
[0217] The payment information includes: order ID, order status, terminal IMEI, payment time, and service number used for payment.
[0218] The order status includes whether the user's installment payment for the terminal has been paid off or is overdue.
[0219] The payment time includes the most recent payment time and the next payment time.
[0220] Step b6: When the payment information meets the second preset condition, a short message for initiating the payment process is sent to the server via the satellite communication network.
[0221] Step b7: The terminal receives the payment result returned by the server via the satellite communication network.
[0222] Step b8: The terminal determines whether the payment is successful based on the payment result; if so, execute step b9; if not, execute step b10.
[0223] Step b9: The terminal updates the payment information of the locking application.
[0224] It should be noted that after updating the lock order information, the lock application will exit the lock interface of the arrears lock, and the user can use the terminal normally at this time.
[0225] Step b10: This operation is completed.
[0226] It is understandable that the terminal can sense from the user's perspective that the lock application has triggered the lock function. For example, if the user cannot connect to the Internet and cannot pay the installment payment, and then the payment lock of the lock application is triggered, the user can clearly sense that the current terminal is locked and can view the reason why the terminal is locked through the prompt information on the terminal lock interface, which improves the user's experience.
[0227] Scenario 3: The terminal periodically updates status information through the satellite communication network to determine whether to lock the terminal.
[0228] For example, Fig.18 As shown, in scenario three, the communication method provided by the embodiment of the present disclosure can be implemented as the following steps:
[0229] Step c1: The terminal searches for a target satellite that provides short message service.
[0230] The signal-to-noise ratio of the target satellite is greater than a preset signal-to-noise ratio.
[0231] Step c2: The terminal obtains status information.
[0232] Step c3: The terminal determines whether communication synchronization is required based on the status information; if so, execute step c4; if not, execute step c7.
[0233] Step c4: The terminal sends a short message for initiating communication synchronization to the server via the satellite communication network.
[0234] Step c5: The terminal receives the communication synchronization result returned by the server via the satellite communication network.
[0235] Step c6: The terminal updates the status information according to the communication synchronization result.
[0236] Step c7: The terminal determines whether a payment process needs to be initiated based on the status information; if so, execute step c8; if not, execute step c13.
[0237] Step c8: The terminal sends a prompt message, wherein the prompt message is used to prompt the user to pay the installment payment.
[0238] Step c9: In response to the user's triggering operation, the terminal determines whether the user agrees to pay; if so, execute step c10; if not, execute step c13.
[0239] Step c10: The terminal sends a short message for initiating a payment process to the server via the satellite communication network.
[0240] Step c11: The terminal receives the payment result returned by the server via the satellite communication network.
[0241] Step c12: Update the status information according to the above payment result.
[0242] Step c13: This operation is completed.
[0243] It should be noted that the above is only an example of a terminal periodically updating status information through a satellite communication network. In actual implementation, the terminal may first determine whether it is necessary to initiate a payment process based on the status information, and then determine whether communication synchronization is needed based on the status information. The embodiment of the present disclosure does not limit the order of terminal communication synchronization and terminal initiation of payment process.
[0244] It is understandable that when the ground network is unavailable, the locking application cannot update and synchronize status information with the corresponding server through the ground network. At this time, the locking application will trigger the offline lock when the terminal is in a state of ground network unavailability for a long time, thereby restricting the user's use of the terminal. Alternatively, when the ground communication network is unavailable, the user cannot make payments through the Internet or by phone in a timely manner. If the user is unable to go to an offline store to pay the installment payment in time, the locking application will trigger the locking function after the user fails to pay on time, causing inconvenience to the user. The method provided in the embodiment of the present disclosure enables the terminal and the server to maintain normal communication through a non-ground network, thereby avoiding the user's terminal from being locked due to the unavailability of the ground network and improving the user's experience.
[0245] The above mainly introduces the scheme of the embodiment of the present disclosure from the perspective of the method. It is understandable that in order to realize the above functions, the control device includes at least one of the hardware structure and software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiment of the present disclosure.
[0246] It is understandable that, in order to realize the above functions, the control device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments of the present disclosure, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present disclosure.
[0247] The embodiments of the present disclosure may divide the control device into functional modules according to the above method embodiments. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one functional module. The above integrated modules may be implemented in the form of hardware or software. It should be noted that the division of modules in the embodiments of the present disclosure is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
[0248] Fig.19 is a schematic diagram of the structure of a control device provided by an embodiment of the present disclosure. The control device is applied to a network device and can execute the locking control method provided by the above method embodiment. Fig.19 As shown, the control device 500 includes: an acquisition module 501, a sending module 502, a receiving module 503 and a determination module 504. In other embodiments, the control device 500 further includes: a search module 505 and a modification module 506.
[0249] The acquisition module 501 is used to acquire the status information of the terminal.
[0250] The sending module 502 is used to send a first message to the server through the non-terrestrial network when the status information meets a preset condition.
[0251] The receiving module 503 is used to receive a second message sent by the server in response to the first message through the non-terrestrial network.
[0252] The determination module 504 is used to determine whether to lock the terminal based on the second message.
[0253] In some embodiments, the status information includes communication information of the terminal and payment information of the terminal; the sending module 502 is specifically used to send a first message to the server through the non-terrestrial network when the communication information meets the first preset condition and / or the payment information meets the second preset condition.
[0254] In some embodiments, the communication information includes: the communication time between the terminal and the server; the communication information satisfies the first preset condition including: the time interval between the current time and the communication time is less than or equal to the first threshold.
[0255] In some embodiments, when the communication information meets the first preset condition, the first message is used to request communication synchronization, and the first message includes the location information of the terminal; the second message includes the communication synchronization result and the next communication time.
[0256] In some embodiments, the determination module 504 is specifically used to refuse to lock the terminal when the communication synchronization result is a successful synchronization, and update the communication information based on the next communication time; or, when the communication synchronization result is a failed synchronization, determine to lock the terminal.
[0257] In some embodiments, the payment information includes the payment time; the payment information satisfies the second preset condition including: the time interval between the current time and the payment time is less than or equal to the second threshold.
[0258] In some embodiments, when the payment information meets the second preset condition, the first message is used to initiate the payment process, and the first message includes the payment information; the second message includes the payment result and the next payment time.
[0259] In some embodiments, the determination module 504 is specifically used to refuse to lock the terminal when the payment result is a successful payment, and update the payment information based on the next payment time; or, when the payment result is a failed payment, determine to lock the terminal.
[0260] In some embodiments, when the status information meets preset conditions, the first message also includes at least one of the following: terminal identification, status information identification, and operation type, where the operation type is used to indicate whether the first message is used to request communication synchronization or to initiate a payment process.
[0261] In some embodiments, the second message further includes at least one of the following: an identifier of the status information, and a token used to indicate that the identity verification has passed.
[0262] In some embodiments, before sending the first message to the server through the non-ground network, the search module 505 is used to search for satellites providing short message services to obtain the signal quality of at least one satellite; the determination module 504 is also used to determine the target satellite for communication based on the signal quality of at least one satellite.
[0263] In some embodiments, the receiving module 503 is further used to receive a third message sent by the server, where the third message is used to indicate the postponement of the communication time; the modifying module 506 is used to modify the communication time in the communication information according to the third message.
[0264] Fig. 20 is a schematic diagram of the structure of a control device provided by an embodiment of the present disclosure. The control device is applied to an application device and can execute the locking control method provided by the above method embodiment. Fig. 20 As shown, the control device 600 includes: a receiving module 601 and a sending module 602. In some other embodiments, the control device 600 further includes: a determining module 603.
[0265] The receiving module 601 is configured to receive a first message sent by a terminal via a non-terrestrial network.
[0266] The sending module 602 is used to send a second message for responding to the first message to the terminal through the non-terrestrial network, so that the terminal determines whether to lock the terminal based on the second message.
[0267] In some embodiments, the first message is used to request communication synchronization, and the first message includes location information of the terminal; the second message includes a communication synchronization result and a next communication time.
[0268] In some embodiments, the first message is used to initiate a payment process, and the first message includes payment information; the second message includes a payment result and a next payment time.
[0269] In some embodiments, the first message further includes at least one of the following: an identifier of the terminal, an identifier of the terminal's status information, and an operation type, where the operation type is used to indicate whether the first message is for communication synchronization or initiating a payment process.
[0270] In some embodiments, the second message further includes at least one of the following: an identifier of the status information, and a token used to indicate that the identity verification has passed.
[0271] In some embodiments, the determination module 603 is used to determine the movement trajectory of the terminal based on multiple location information of the terminal; based on the movement trajectory, determine the length of time the terminal stays in an area where the ground network is unavailable; the sending module 602 is also used to send a third message to the terminal when the length of stay is greater than or equal to a third threshold, and the third message is used to indicate the postponement of communication time.
[0272] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiments of the present disclosure provide a possible structure of the electronic device involved in the above-mentioned embodiments. Fig.21 As shown, the electronic device 700 includes: a processor 702 and a bus 704. Optionally, the electronic device 700 may further include a memory 701; optionally, the electronic device 700 may further include a communication interface 703.
[0273] The processor 702 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. The processor 702 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. The processor 702 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0274] The communication interface 703 is used to connect with other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0275] The memory 701 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0276] As a possible implementation, the memory 701 may exist independently of the processor 702, and the memory 701 may be connected to the processor 702 via a bus 704 to store instructions or program codes. When the processor 702 calls and executes the instructions or program codes stored in the memory 701, the lock control method provided in the embodiment of the present disclosure can be implemented.
[0277] In another possible implementation, the memory 701 may also be integrated with the processor 702 .
[0278] The bus 704 may be an extended industry standard architecture (EISA) bus, etc. The bus 704 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.21 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0279] Some embodiments of the present disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), in which computer program instructions are stored. When the computer program instructions are executed on a computer, the computer executes the locking control method as described in any of the above embodiments.
[0280] Exemplarily, the above-mentioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks or magnetic tapes, etc.), optical disks (e.g., compact disks (CD), digital versatile disks (DVD), etc.), smart cards and flash memory devices (e.g., erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). The various computer-readable storage media described in the present disclosure may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and / or carrying instructions and / or data.
[0281] The embodiment of the present disclosure provides a computer program product including instructions. When the computer program product is run on a computer, the computer is enabled to execute the locking control method described in any one of the above embodiments.
[0282] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A locking control method, characterized in that: Applied to a terminal, the method comprises: Acquiring status information of the terminal; When the state information satisfies a preset condition, sending a first message to a server through a non-terrestrial network; receiving, through the non-terrestrial network, a second message sent by the server in response to the first message; Based on the second message, determine whether to lock the terminal.
2. The method according to claim 1, characterized in that The state information includes communication information of the terminal and payment information of the terminal; when the state information satisfies a preset condition, sending a first message to the server through the non-terrestrial network includes: When the communication information satisfies a first preset condition and / or the payment information satisfies a second preset condition, a first message is sent to a server via a non-terrestrial network.
3. The method according to claim 2, characterized in that The communication information includes: the communication time between the terminal and the server; the communication information satisfies the first preset condition including: the time interval between the current time and the communication time is less than or equal to a first threshold.
4. The method according to claim 3, characterized in that: When the communication information satisfies a first preset condition, the first message is used to request communication synchronization, and the first message includes the location information of the terminal; the second message includes a communication synchronization result and a next communication time.
5. The method according to claim 4, characterized in that The determining whether to lock the terminal based on the second message includes: If the communication synchronization result is a successful synchronization, refusing to lock the terminal, and updating the communication information based on the next communication time; or When the communication synchronization result is a synchronization failure, it is determined to lock the terminal.
6. The method according to claim 2, characterized in that The payment information includes payment time; the payment information satisfies a second preset condition including: the time interval between the current time and the payment time is less than or equal to a second threshold.
7. The method according to claim 6, characterized in that When the payment information satisfies the second preset condition, the first message is used to initiate a payment process, and the first message includes the payment information; the second message includes the payment result and the next payment time.
8. The method according to claim 7, characterized in that The determining whether to lock the terminal based on the second message includes: If the payment result is a successful payment, refusing to lock the terminal, and updating the payment information based on the next payment time; or When the payment result is a payment failure, it is determined to lock the terminal.
9. The method according to claim 4 or 7, characterized in that: When the status information satisfies a preset condition, the first message further includes at least one of the following: an identifier of the terminal, an identifier of the status information, and an operation type, wherein the operation type is used to indicate whether the first message is used to request communication synchronization or to initiate a payment process.
10. The method according to claim 4 or 7, characterized in that: The second message also includes at least one of the following: an identifier of the status information, and a token used to indicate that the identity verification has passed.
11. The method according to claim 1, characterized in that: The non-terrestrial network includes a satellite communication network.
12. The method according to claim 11, characterized in that Before sending the first message to the server through the non-terrestrial network, the method further includes: Searching for satellites providing short message services to obtain signal quality of at least one satellite; A target satellite for communication is determined based on a signal quality of the at least one satellite.
13. The method according to claim 1, characterized in that The method further comprises: receiving a third message sent by the server, wherein the third message is used to indicate a postponement of a communication time; According to the third message, the communication time in the communication information is modified.
14. A locking control method, characterized in that: Applied to a server, the method comprises: receiving a first message sent by a terminal through a non-terrestrial network; A second message for responding to the first message is sent to the terminal through the non-terrestrial network, so that the terminal determines whether to lock the terminal based on the second message.
15. The method according to claim 14, characterized in that The first message is used to request communication synchronization, and the first message includes the location information of the terminal; the second message includes the communication synchronization result and the next communication time.
16. The method according to claim 14, characterized in that The first message is used to initiate a payment process, and the first message includes payment information; the second message includes a payment result and a next payment time.
17. The method according to claim 15 or 16, characterized in that The first message further includes at least one of the following: an identifier of the terminal, an identifier of the terminal status information, and an operation type, where the operation type is used to indicate whether the first message is for communication synchronization or initiating a payment process.
18. The method according to claim 15 or 16, characterized in that The second message also includes at least one of the following: an identifier of the status information, and a token used to indicate that the identity verification has passed.
19. The method according to claim 14, characterized in that The method further comprises: Determining a movement trajectory of the terminal based on multiple location information of the terminal; Based on the movement trajectory, determining a stay time of the terminal in the area where the ground network is unavailable; When the stay time is greater than or equal to a third threshold, a third message is sent to the terminal, where the third message is used to indicate a postponement of the communication time.
20. An electronic device, characterized in that: include: a processor and a memory for storing instructions executable by the processor; The processor is configured to execute the instructions so that the electronic device performs the method as claimed in any one of claims 1 to 19.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 19.