Terminal control method, device, electronic device and storage medium
By continuing to try to obtain the mobile phone number while the login interface for manually entering the mobile phone number is displayed on the terminal device, and providing a one-click login control after successful acquisition, the problem of users being unable to log in with one click is solved, thereby improving the user experience.
Patent Information
- Application Number
- CN202310782476.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2043-06-29
AI Technical Summary
In the terminal device, when the existing technology fails to obtain the mobile phone number, the user cannot log in with one click, resulting in inconvenience.
While the login interface for manually entering a mobile phone number is displayed, continue trying to obtain the terminal's mobile phone number. After successful acquisition, a one-click login control will be displayed in the interface, and the user can log in directly using the mobile phone number.
It improves the convenience of user login, reduces additional operation steps, and improves the user experience.
Smart Images

Figure CN116828104B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a terminal control method, device, electronic device, and storage medium. Background Art
[0002] Applications are installed on terminals, such as mobile phones, and you may need to log in when using the applications. You can log in using your mobile phone number. Summary of the Invention
[0003] The present disclosure provides a terminal control method, device, electronic device, and storage medium.
[0004] The present disclosure adopts the following technical solutions.
[0005] In some embodiments, the present disclosure provides a terminal control method, including:
[0006] In response to a request to log in to the target application, attempting to obtain a mobile phone number of the terminal;
[0007] If the mobile phone number of the terminal is not obtained, displaying the first login interface of the target application, wherein the first login interface is used to manually enter the mobile phone number for login;
[0008] While the first login interface is displayed, continue to try to obtain the mobile phone number of the terminal;
[0009] If the mobile phone number of the terminal is obtained, a first control is displayed on the first login interface;
[0010] Among them, the first control is used to log in to the target application using the mobile phone number of the terminal after being triggered.
[0011] In some embodiments, the present disclosure provides a terminal control device, including:
[0012] A display unit, configured to attempt to obtain the terminal's mobile phone number in response to a request to log in to the target application; if the terminal's mobile phone number is not obtained, display a first login interface of the target application, wherein the first login interface is used to manually enter a mobile phone number for login;
[0013] a control unit, configured to continue attempting to obtain the mobile phone number of the terminal while the first login interface is displayed; and display a first control on the first login interface if the mobile phone number of the terminal is obtained;
[0014] Among them, the first control is used to log in to the target application using the mobile phone number of the terminal after being triggered.
[0015] In some embodiments, the present disclosure provides an electronic device comprising: at least one memory and at least one processor;
[0016] The memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above method.
[0017] In some embodiments, the present disclosure provides a computer-readable storage medium for storing program code, which, when executed by a processor, prompts the processor to perform the above method.
[0018] The terminal control method provided by the embodiment of the present disclosure includes: in response to a request to log in to a target application, attempting to obtain the mobile phone number of the terminal; if the mobile phone number of the terminal is not obtained, displaying the first login interface of the target application, wherein the first login interface is used to manually input the mobile phone number for login; while displaying the first login interface, attempting to obtain the mobile phone number of the terminal; if the mobile phone number of the terminal is obtained, displaying a first control on the first login interface; wherein the first control is used to log in to the target application using the mobile phone number of the terminal after being triggered. After entering the first login interface for manually inputting the mobile phone number, the method of the present disclosure will still attempt to obtain the mobile phone number of the terminal, and provide the first control after obtaining the mobile phone number, thereby facilitating user login. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0020] Figure 1 This is a flowchart of a terminal control method according to an embodiment of the present disclosure.
[0021] Figures 2 to 4 Schematic diagram of the display interface of the terminal according to the embodiment of the present disclosure.
[0022] Figure 5 Schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0024] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed sequentially and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0025] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0026] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0027] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as “one or more”.
[0028] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0029] The solution provided by the embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0030] Applications are often installed in terminals (such as mobile phones, tablets, or other electronic devices that can install SIM cards). You may need to log in to the application while using it. When logging in to the application, you can choose to log in using your account password or your mobile phone number.
[0031] like Figure 1 As shown, Figure 1 4 is a flowchart of a method for controlling a terminal in an embodiment of the present disclosure, which includes the following steps.
[0032] S11. In response to a request to log in to a target application, attempt to obtain the mobile phone number of the terminal.
[0033] In some embodiments, the method proposed in the present disclosure can be used for mobile phones, tablets or other electronic devices that can install mobile phone cards, without limitation. The target application is an application in the terminal, and it may be that when the target application is not opened, a request to log in to the target application is generated in response to opening the target application, and an attempt is made to obtain the mobile phone number of the terminal. That is, when the target application is opened, an attempt is made to obtain the mobile phone number for automatic login. In some embodiments, in response to the login option in the target application being triggered, a request to log in to the target application is generated, and an attempt is made to obtain the mobile phone number of the terminal. That is, when the target application is already opened, the login option for logging in on the target application is triggered by clicking or the like to log in, and an attempt is made to obtain the mobile phone number. In some embodiments, the present disclosure attempts to obtain the mobile phone number of the terminal with the user's authorization in advance.
[0034] S11: If the mobile phone number of the terminal is not obtained, display the first login interface of the target application.
[0035] In some embodiments, the first login interface is used to manually enter a mobile phone number for login. If the mobile phone number is not obtained, manual login is required, and the first login interface will be displayed. The first login interface is an interface for logging into the target application in the terminal, and the first login interface has an area for manually entering a mobile phone number. Figure 3 A schematic diagram showing the first login interface. It can be seen that there is an area for manually entering a mobile phone number in the first login interface ( Figure 3 In the "Please enter your mobile phone number" section, users can manually enter their mobile phone number in this area, then click the control to obtain a verification code. After obtaining and entering the verification code, they can log in to the target application.
[0036] S12. While the first login interface is displayed, continue to try to obtain the mobile phone number of the terminal.
[0037] In some embodiments, the step of obtaining the terminal's mobile phone number described in this disclosure is performed with the user's authorization in advance. While the first login interface is displayed, the target application may attempt to obtain the terminal's mobile phone number, which may be based on the capabilities provided by the operator.
[0038] S13: If the mobile phone number of the terminal is obtained, a first control is displayed on the first login interface.
[0039] In some embodiments, during the display of the first login interface, if the mobile phone number of the terminal is obtained, the first control will be displayed on the login interface. The first control can be used to directly use the mobile phone number of the terminal to log in to the target application after being triggered, without entering a password or verification code. For example, after being triggered, the first control directly uses the mobile phone number of the terminal to log in with one click, without the need to enter a password. If the mobile phone number is not registered with the target application, the mobile phone number will be automatically used to register the target application after the first control is triggered. In some embodiments, during the display of the first login interface, if the mobile phone number of the terminal is not obtained, the first control will not be displayed in the first login interface.
[0040] For example, if the mobile phone number of the terminal is not obtained during the display of the first login interface, Figure 3 As shown, the first control is not displayed, and after obtaining the mobile phone number of the terminal, as shown Figure 4 As shown, a first control ( Figure 4 ), and the first control may display the obtained terminal's mobile phone number, or prompt the user to log in using the current terminal's mobile phone number. In this way, the user can directly log in using the terminal's mobile phone number while the first login interface is displayed. In some embodiments, the terminal may have multiple mobile phone numbers. If multiple mobile phone numbers of the terminal are obtained, multiple first controls may be displayed, each corresponding to a mobile phone number. After the first control is triggered, the user logs in to the target application using the mobile phone number corresponding to the triggered first control.
[0041] In some related technologies, when logging into an application, an attempt is made to obtain the terminal's mobile phone number. However, if the mobile phone number is not obtained and the user enters the first login interface for manually entering the mobile phone number, the user will no longer try to obtain the terminal's mobile phone number. The user cannot use the terminal's mobile phone number for one-click login on the first login interface, causing inconvenience to the user. In some embodiments of the present disclosure, after entering the first display interface for manually entering the mobile phone number, an attempt is still made to obtain the terminal's mobile phone number (with the user's authorization permission to obtain the mobile phone number obtained in advance). If the terminal's mobile phone number is obtained, a first control will be displayed on the first login interface. The user can trigger the first control by clicking, etc., and thus use the first control to log in to the target application with one click without having to perform additional operations such as registration and password entry. This facilitates user use and improves the user experience.
[0042] In some embodiments of the present disclosure, in response to a request to log in to the target application, after attempting to obtain the mobile phone number of the terminal, before displaying the first login interface of the target application, it also includes: if the mobile phone number of the terminal is obtained, then displaying the second login interface of the target application, wherein the second login interface is used to log in using the obtained mobile phone number of the terminal.
[0043] In some embodiments of the present disclosure, after responding to the request to log in to the target application, an attempt will be made to obtain the terminal's mobile phone number. If the terminal's mobile phone number is obtained, the following can be done: Figure 2 As shown, the second login interface is displayed, in which the obtained mobile phone number and a control for one-click login using the terminal's mobile phone number can be displayed ( Figure 2 In some embodiments, if the first terminal has multiple mobile phone numbers, multiple controls for one-click login may be displayed on the second login interface. Different controls may correspond to different mobile phone numbers. After a control is triggered, the mobile phone number corresponding to the control is used to log in to the target application.
[0044] In some embodiments of the present disclosure, a second control is displayed in the second login interface, and after the second control is triggered, the first login interface is entered. Figure 2 As shown, a second control ( Figure 2 In the "Enter mobile phone number" in the login page, by clicking on it, you can enter the first login interface, so that the user can choose to switch to manually enter the mobile phone number to log in, so that you can use other mobile phone numbers. In some embodiments, such as Figure 2 The figure shows that the first login interface is entered by triggering the second control from the first login interface. Since the mobile phone number of the terminal has been obtained, the first control can be displayed in the first login interface.
[0045] In some embodiments of the present disclosure, the first login interface is used to log in to the target application based on the manually input mobile phone number of the terminal and the verification information obtained based on the input mobile phone number; Figure 3 As shown, the user can obtain a verification code after entering the mobile phone number on the first login interface, and the entered mobile phone number will receive a verification code, and then enter the verification code on the first login interface to log in. In other embodiments, the first login interface is used to log in to the target application based on manually entering the mobile phone number and password of the terminal.
[0046] In some embodiments of the present disclosure, a third control is displayed in the first login interface, and the third control is used to log in to the target application based on the account of another application after being triggered. Figure 3 As shown, a third control ( Figure 3 ), and trigger the third control by clicking it, etc., and you can choose to use the account of the other application corresponding to the third control to log in to the target application. For example, after triggering the third control, the corresponding other application will be opened, and you will be prompted whether to allow the use of the account of the other application to log in to the target application. After obtaining permission, you can use the account of the other application to log in to the target application.
[0047] In some embodiments of the present disclosure, it also includes: in response to a login operation after receiving a manually entered mobile phone number on the first login interface, logging in to the target application based on the manually entered mobile phone number; if the manually entered mobile phone number is different from the mobile phone number of the terminal, after logging in to the target application, a prompt message is displayed in the target application; wherein, after the preset operation is executed, the prompt message switches the account used to log in to the target application to the mobile phone number of the terminal.
[0048] In some embodiments, the user can use a mobile phone number different from that of the terminal to log in to the target application in the first login interface. After logging in to the target application, if it is detected that the logged-in mobile phone number is different from the mobile phone number of the terminal, a prompt message can be displayed, such as the prompt "The logged-in account is different from the account of the current device", and a control for switching accounts can be provided in the prompt message. The preset operation can be to trigger the control for switching accounts. The user can trigger the control for switching accounts by clicking, etc. to switch the account currently logged in to the target application to the mobile phone number of the terminal, thereby facilitating the user to switch accounts. It should be noted that when the account logged in to the target application is switched to the mobile phone number of the terminal, the interface displayed by the target application will not change. For example, before the switch, the user is viewing program 1. After the control for switching accounts is triggered, program 1 is still displayed. This is different from the method of switching accounts in the related art that requires clicking in the settings. The content viewed by the user has not changed, and the user does not need to manually return to the original program being viewed, thereby improving the user experience.
[0049] In order to better illustrate the method proposed in this disclosure, a specific embodiment is proposed below. When the user opens the target application or clicks the login button in the target application, a login request will be generated. At this time, the user will first try to obtain the terminal's mobile phone number. If the terminal's mobile phone number is obtained, the user will log in as follows: Figure 2As shown, the second login interface will be displayed, which can display the obtained mobile phone number "133XXXX3333" and the one-key login control, so that you can directly use the obtained mobile phone number to log in with one key in the second login interface without having to manually register and enter the password. If the mobile phone number of the terminal is not obtained (for example, if the data flow is not turned on or the wifi is turned on, the mobile phone number of the terminal may not be obtained), then as shown Figure 3 As shown, the first login interface is displayed, and the area for manually entering the mobile phone number and the control for obtaining the verification code are displayed in the first login interface. The user can manually enter the mobile phone number in the first login interface to log in to the target application. During the display of the first login interface, the terminal's mobile phone number will be attempted to be obtained. If the terminal's mobile phone number is not obtained, the following can be done: Figure 3 As shown, the first control is not displayed, and if the mobile phone number of the terminal is obtained, Figure 4 As shown, the first control is displayed, and the obtained mobile phone number and the function of the first control can be displayed in the first control. By clicking the first control, the obtained mobile phone number can be used to log in to the target application with one click.
[0050] Some embodiments of the present disclosure further provide a terminal control device, including:
[0051] A display unit, configured to attempt to obtain the mobile phone number of the terminal in response to a request to log in to the target application; if the mobile phone number of the terminal is not obtained, display a first login interface of the target application, wherein the first login interface is used to manually enter the mobile phone number for login;
[0052] a control unit, configured to continue attempting to obtain the mobile phone number of the terminal while the first login interface is displayed; and display a first control on the first login interface if the mobile phone number of the terminal is obtained;
[0053] Among them, the first control is used to log in to the target application using the mobile phone number of the terminal after being triggered.
[0054] In some embodiments, in response to a request to log in to the target application, attempting to obtain the mobile phone number of the terminal includes: in response to a request to log in to the target application generated by opening the target application, attempting to obtain the mobile phone number of the terminal; or
[0055] In response to a login option in the target application being triggered, a request to log in to the target application is generated, and an attempt is made to obtain the mobile phone number of the terminal.
[0056] In some embodiments, in response to a request to log in to the target application, after attempting to obtain the mobile phone number of the terminal, and before displaying the first login interface of the target application, the display unit is further configured to:
[0057] If the mobile phone number of the terminal is obtained, a second login interface of the target application is displayed, wherein the second login interface is used to log in using the obtained mobile phone number of the terminal.
[0058] In some embodiments, a second control is displayed in the second login interface, and after the second control is triggered, the first login interface is entered.
[0059] In some embodiments, the control unit is further configured to: during display of the first login interface, if the mobile phone number of the terminal is not obtained, not display the first control in the first login interface.
[0060] In some embodiments, a third control is displayed in the first login interface, and the third control is used to log in to the target application based on an account of another application after being triggered.
[0061] In some embodiments, the control unit is further configured to: in response to a login operation performed after receiving a manually input mobile phone number on the first login interface, log in to the target application based on the manually input mobile phone number;
[0062] If the manually entered mobile phone number is different from the mobile phone number of the terminal, a prompt message is displayed in the target application after logging into the target application; wherein, the prompt message switches the account used to log into the target application to the mobile phone number of the terminal after a preset operation is executed.
[0063] For the embodiments of the device, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separation modules may or may not be separate. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art can understand and implement them without paying creative work.
[0064] The method and apparatus of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides an electronic device and a computer-readable storage medium, which are described below.
[0065] Reference below Figure 5, which shows a schematic diagram of the structure of an electronic device (e.g., a terminal device or server) 800 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.
[0066] The electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0067] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0068] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0069] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0070] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0071] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0072] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method of the present disclosure.
[0073] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0074] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0075] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0076] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0077] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0078] According to one or more embodiments of the present disclosure, a terminal control method is provided, including:
[0079] In response to a request to log in to the target application, attempt to obtain the terminal's mobile phone number;
[0080] If the mobile phone number of the terminal is not obtained, displaying the first login interface of the target application, wherein the first login interface is used to manually enter the mobile phone number for login;
[0081] While the first login interface is displayed, continue to try to obtain the mobile phone number of the terminal;
[0082] If the mobile phone number of the terminal is obtained, a first control is displayed on the first login interface;
[0083] Among them, the first control is used to log in to the target application using the mobile phone number of the terminal after being triggered.
[0084] According to one or more embodiments of the present disclosure, a terminal control method is provided, which attempts to obtain the terminal's mobile phone number in response to a request to log in to the target application, including: attempting to obtain the terminal's mobile phone number in response to a request to log in to the target application being opened; or attempting to obtain the terminal's mobile phone number in response to a request to log in to the target application being triggered in response to a login option in the target application.
[0085] According to one or more embodiments of the present disclosure, a terminal control method is provided, which, before displaying a first login interface of a target application, further includes:
[0086] In response to a request to log in to the target application, an attempt is made to obtain the mobile phone number of the terminal; if the mobile phone number of the terminal is not obtained, a first login interface of the target application is displayed.
[0087] According to one or more embodiments of the present disclosure, a terminal control method is provided, which, in response to a request to log in to the target application, attempts to obtain a mobile phone number of the terminal, further comprising:
[0088] If the mobile phone number of the terminal is obtained, a second login interface of the target application is displayed, wherein the second login interface is used to log in using the obtained mobile phone number of the terminal.
[0089] According to one or more embodiments of the present disclosure, a terminal control method is provided, wherein a second control is displayed in the second login interface, and after the second control is triggered, the first login interface is entered.
[0090] According to one or more embodiments of the present disclosure, a terminal control method is provided, further comprising:
[0091] During the display of the first login interface, if the mobile phone number of the terminal is not obtained, the first control is not displayed in the first login interface.
[0092] According to one or more embodiments of the present disclosure, a terminal control method is provided, wherein a third control is displayed in the first login interface, and the third control is used to log in to the target application based on an account of another application after being triggered.
[0093] According to one or more embodiments of the present disclosure, a terminal control method is provided, further comprising:
[0094] In response to a login operation after receiving a manually input mobile phone number on the first login interface, logging into the target application based on the manually input mobile phone number;
[0095] If the manually entered mobile phone number is different from the mobile phone number of the terminal, a prompt message is displayed in the target application after logging into the target application; wherein, the prompt message switches the account used to log into the target application to the mobile phone number of the terminal after a preset operation is executed.
[0096] According to one or more embodiments of the present disclosure, a terminal control device is provided, including:
[0097] A display unit, configured to attempt to obtain the mobile phone number of the terminal in response to a request to log in to the target application; if the mobile phone number of the terminal is not obtained, display a first login interface of the target application, wherein the first login interface is used to manually enter the mobile phone number for login;
[0098] a control unit, configured to continue attempting to obtain the mobile phone number of the terminal while the first login interface is displayed; and display a first control on the first login interface if the mobile phone number of the terminal is obtained;
[0099] Among them, the first control is used to log in to the target application using the mobile phone number of the terminal after being triggered.
[0100] According to one or more embodiments of the present disclosure, there is provided an electronic device, including: at least one memory and at least one processor;
[0101] The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute any one of the above methods.
[0102] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to perform the above method.
[0103] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0104] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0105] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A terminal control method, characterized in that: include: In response to a request to log into the target application, attempt to obtain the terminal's mobile phone number; If the mobile phone number of the terminal is not obtained, displaying the first login interface of the target application, wherein the first login interface is used to manually enter the mobile phone number for login; While the first login interface is displayed, continue to try to obtain the mobile phone number of the terminal; If the mobile phone number of the terminal is obtained, a first control is displayed on the first login interface; During the display of the first login interface, if the mobile phone number of the terminal is not obtained, the first control is not displayed in the first login interface; The first control is used to log in to the target application using the mobile phone number of the terminal after being triggered.
2. The method according to claim 1, characterized in that In response to a request to log in to the target application, attempt to obtain the mobile phone number of the terminal, including: In response to a request to log into the target application generated by opening the target application, attempting to obtain the mobile phone number of the terminal; or, In response to a login option in the target application being triggered, a request to log in to the target application is generated, and an attempt is made to obtain the mobile phone number of the terminal.
3. The method according to claim 1, characterized in that In response to a request to log in to the target application, after attempting to obtain the mobile phone number of the terminal, and before displaying the first login interface of the target application, the method further includes: If the mobile phone number of the terminal is obtained, a second login interface of the target application is displayed, wherein the second login interface is used to log in using the obtained mobile phone number of the terminal.
4. The method according to claim 3, characterized in that A second control is displayed in the second login interface, and after the second control is triggered, the user enters the first login interface.
5. The method according to claim 1, wherein A third control is displayed in the first login interface, and the third control is used to log in to the target application based on an account of another application after being triggered.
6. The method according to claim 1, characterized in that Also includes: In response to a login operation after receiving a manually input mobile phone number on the first login interface, logging into the target application based on the manually input mobile phone number; If the manually entered mobile phone number is different from the mobile phone number of the terminal, a prompt message is displayed in the target application after logging into the target application; wherein, the prompt message switches the account for logging into the target application to the mobile phone number of the terminal after a preset operation is executed.
7. A terminal control device, characterized in that: include: A display unit, configured to attempt to obtain the mobile phone number of the terminal in response to a request to log into the target application; If the mobile phone number of the terminal is not obtained, displaying the first login interface of the target application, wherein the first login interface is used to manually enter the mobile phone number for login; a control unit, configured to continue attempting to obtain the mobile phone number of the terminal while the first login interface is displayed; and display a first control on the first login interface if the mobile phone number of the terminal is obtained; The control unit is further configured to: during display of the first login interface, if the mobile phone number of the terminal is not obtained, not display the first control in the first login interface; The first control is used to log in to the target application using the mobile phone number of the terminal after being triggered.
8. An electronic device comprising: at least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method according to any one of claims 1 to 6. 9 . A computer-readable storage medium, configured to store program code, wherein when the program code is executed by a processor, the processor is prompted to execute the method according to claim 1 .
Citation Information
Patent Citations
Method and device for processing incoming calls of Android platform mobile terminal
CN102710842A
Application login method and device
CN111666546A