WO2019061205A1 - 注册方法及终端 - Google Patents

注册方法及终端 Download PDF

Info

Publication number
WO2019061205A1
WO2019061205A1 PCT/CN2017/104130 CN2017104130W WO2019061205A1 WO 2019061205 A1 WO2019061205 A1 WO 2019061205A1 CN 2017104130 W CN2017104130 W CN 2017104130W WO 2019061205 A1 WO2019061205 A1 WO 2019061205A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
user
code
button
registration
Prior art date
Application number
PCT/CN2017/104130
Other languages
English (en)
French (fr)
Inventor
蒋贻峰
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/104130 priority Critical patent/WO2019061205A1/zh
Priority to CN201780097098.9A priority patent/CN111373723A/zh
Publication of WO2019061205A1 publication Critical patent/WO2019061205A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • H04M1/673Preventing unauthorised calls from a telephone set by electronic means the user being required to key in a code

Definitions

  • the present invention relates to the field of electronic communications, and in particular to a registration method and a terminal.
  • a card with a user identity card such as a Subscriber Identification Module (SIM card)
  • SIM card Subscriber Identification Module
  • Some servers send registration information. Some consumers will try this operation on their own. Once the registration is successful, for the server, only the user corresponding to the user ID can obtain the corresponding service on the display machine while the service is being served. Other users cannot Get the service on the display. For the future owner of the display machine, it takes a lot of effort to cancel or modify the information of the display machine in the server in order to obtain the corresponding service on the display machine, thereby affecting the sales value of these display machines.
  • SIM card Subscriber Identification Module
  • the embodiment of the invention provides a registration method and a terminal, which can protect a terminal such as a display machine from being arbitrarily registered by a user.
  • an embodiment of the present invention provides a registration method, including:
  • the terminal acquires the first code input by the user
  • the terminal sends a registration request to the server, where the registration request includes a user identity and a terminal identity;
  • the terminal receives the registration feedback sent by the server, and the registration feedback is used to notify the user that the terminal is successfully registered.
  • the terminal acquires the first code input by the user, including:
  • the terminal displays a first input interface on a display screen, and the first input interface includes a symbol button and a number button;
  • the terminal acquires the first code according to the operation result.
  • the method before the terminal acquires the first code input by the user, the method further includes:
  • the terminal acquires a setting request input by a user
  • the terminal displays a second input interface on the display screen, and the second input interface includes a symbol button and a number button;
  • the terminal acquires an operation result of the symbol button and the digital button in the second input interface by the user;
  • the terminal acquires the preset code according to the operation result
  • the terminal stores the preset code into the local database.
  • the method before the terminal sends a registration request to the server, the method further includes:
  • the terminal reads the user identity identifier in the user identity card and the terminal identity identifier in the local database of the terminal;
  • the terminal generates the registration request according to the user identity identifier and the terminal identity identifier.
  • the method before the terminal reads the user identification card, the method further includes:
  • the terminal detects whether a communication channel exists between the terminal and the user identity card
  • the terminal displays a card interface on the display screen, and the card interface is used to prompt the user to insert the user identification card.
  • an embodiment of the present invention provides a terminal, including:
  • An obtaining module configured to obtain a first code input by a user
  • a determining module configured to determine whether the first code is the same as a preset code, where the preset code is stored in a local database of the terminal, where the preset code includes at least one symbol and at least one number;
  • a sending module configured to send a registration request to the server when the determining module determines that the first code is the same as the preset code, where the registration request includes a user identity identifier and a terminal identity identifier;
  • the receiving module is configured to receive registration feedback sent by the server, where the registration feedback is used to notify the user that the terminal is successfully registered.
  • the obtaining module is specifically configured to:
  • the first input interface For displaying a first input interface on a display screen, the first input interface comprising a symbol button and a numeric button;
  • the obtaining module is further configured to:
  • the second input interface including a symbol button and a number button
  • the preset code is stored in the local database.
  • the terminal further includes: a reading module and a generating module;
  • the reading module is configured to read a user identity identifier in a user identity card and a terminal identity identifier in a local database of the terminal;
  • the generating module is configured to generate the registration request according to the user identity and the terminal identity.
  • the terminal further includes: a detecting module and a prompting module;
  • the detecting module is configured to detect whether a communication channel exists between the terminal and the user identification card;
  • the prompting module is configured to display a card insertion interface on the display screen when the detecting module detects that there is no communication channel between the terminal and the user identification card, and the card interface is used to prompt the user Insert the user ID card.
  • the present invention also provides a terminal, comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, the processor running the computer program to perform the first aspect and the first aspect
  • a terminal comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, the processor running the computer program to perform the first aspect and the first aspect
  • the present invention further provides a readable storage medium, where the readable storage medium stores execution instructions, and when the at least one processor of the terminal executes the execution instruction, the terminal performs the registration of various possible design provided above. method.
  • the present invention also provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the terminal can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the terminal implements the registration methods provided by the various possible designations described above.
  • the technical solution provided by the embodiment of the present invention has the beneficial effects that: by sending the first code that is the same as the preset code to the terminal, the terminal can be controlled to send a registration request to the server, so that the user cannot control the terminal without knowing the preset code. Sending a registration request to the server, and then failing to complete the registration step, can protect the display machine from being arbitrarily registered by the user.
  • FIG. 1 is a schematic diagram of a system architecture of a registration method provided by the present invention.
  • FIG. 2 is a flowchart 1 of a registration method in Embodiment 1 of the present invention.
  • FIG. 3 is a flowchart of acquiring, by a terminal, a first code input by a user according to Embodiment 1 of the present invention
  • FIG. 4 is a schematic diagram of a first input interface provided by the present invention.
  • FIG. 5 is a second flowchart of a registration method in Embodiment 1 of the present invention.
  • FIG. 6 is a third flowchart of a registration method in Embodiment 1 of the present invention.
  • FIG. 7 is a schematic structural diagram of a terminal in Embodiment 2 of the present invention.
  • FIG. 8 is a schematic structural diagram of hardware of a terminal provided by the present invention.
  • FIG. 1 is a schematic diagram of a system architecture of a registration method provided by the present invention.
  • the system architecture includes a terminal 101 and a server 102, and the terminal and the server are in communication with each other.
  • the terminal 101 can be a wireless terminal.
  • a wireless terminal can be a device that provides voice and/or other service data connectivity to a user.
  • the wireless terminal can be a mobile terminal, such as a mobile telephone (or "cellular" telephone), for example, can be a portable, pocket-sized, handheld mobile device.
  • the server can be either a carrier's server or a third-party server.
  • the server requests registration from the server, the server needs the user identity of the terminal and the identifier of the display machine. After receiving the information, the server automatically generates registration information associated with the user identity of the terminal and the identity of the display machine. Information is filed. After the terminal is registered in the server, the server can provide the corresponding service to the terminal.
  • the registration method provided by the present invention aims to solve the above technical problems of the prior art.
  • the registration method includes include:
  • the terminal acquires the first code input by the user.
  • the first code can be a factory preset preset code or a preset code set by other users.
  • the terminal may obtain the first code input by the user through voice, or input the first code through the keyboard, or obtain the first code of the user's handwritten input.
  • the manner of obtaining the first code in this embodiment is not specifically limited.
  • the terminal determines that the first code is the same as the preset code, where the preset code is stored in a local database of the terminal, where the preset code includes at least one symbol and at least one number.
  • the terminal determines whether the first code is the same as the preset code, and if yes, executes S203, and if not, the process ends.
  • the preset code may be preset at the factory or preset by other users.
  • the preset code can be a password, that is, the preset code includes an asterisk, a pound sign, and a number, for example, the preset code is *#0000.
  • This preset code can be stored in a database.
  • the terminal determines whether the first code is the same as the preset code, the terminal compares the first code with the code stored in the database, and when the database does not have the same preset code as the first code, the process ends.
  • the number of preset codes in the database that is the same as the first code is 1, it is determined that the first code is the same as the preset code, and then execution proceeds to S203.
  • the preset code can be stored in a list file, which is stored in the database.
  • the terminal needs to determine whether the first code is the same as the preset code, the terminal opens the list file stored in the database, and searches in the list file whether there is the same code as the first code, if the search is found in the list file.
  • the number of the same preset codes of the first code is 0, the first code is considered to be different from the preset code, and the flow ends. If the number of the preset codes that are the same as the first code in the list file is 1, the first code is considered to be the same as the preset code, and the process proceeds to S203.
  • the terminal sends a registration request to the server, where the registration request includes a user identity and a terminal identity.
  • the server sends a registration feedback corresponding to the registration request to the terminal, where the registration feedback is used to notify the user that the terminal is successfully registered.
  • the user identity may be an account of the user, for example, the user's mobile phone number or user name, or the user identity may be an integrated circuit card identity (ICCID).
  • the terminal identifier may be a terminal serial number, an International Mobile Equipment Identity (IMEI), or the terminal identifier may be stored in a local database of the terminal. The number of the terminal.
  • IMEI International Mobile Equipment Identity
  • the terminal sends a registration request to the server, and the server receives the registration request sent by the terminal.
  • the server may verify the validity of the user identity and the terminal identity. After the verification succeeds, the server may associate the user identity with the terminal identity.
  • the server sends the registration feedback corresponding to the registration request to the terminal, and the terminal receives the registration feedback sent by the server, and the registration feedback is used to notify the user terminal that the registration is successful.
  • the server when the terminal accesses the server, only when the user identity and the terminal identity are correct, the server provides the corresponding service to the terminal.
  • the registration method acquires the first code input by the user by the terminal; the terminal determines whether the first code is the same as the preset code, and the preset code is stored in the local database of the terminal, The code includes at least one symbol and at least one number; if yes, the terminal sends a registration request to the server, where the registration request includes the user identity and the terminal identity; the terminal receives the registration feedback sent by the server, and the registration feedback is used to notify the user terminal that the registration is successful.
  • the terminal can be controlled to send a registration request to the server, so that the user cannot control the terminal to send a registration request to the server without knowing the preset code, and then cannot complete.
  • the registration step protects the display from unauthorized registration by the user.
  • FIG. 3 is a flowchart of acquiring a first code input by a user in a terminal according to Embodiment 1 of the present invention.
  • a specific implementation manner of acquiring a first code input by a user by using a terminal is provided in this embodiment. . details as follows:
  • the terminal displays a first input interface on the display screen, where the first input interface includes a symbol button and a number button.
  • the symbol button includes an asterisk button and a pound button.
  • the terminal acquires an operation result of the user on the symbol button and the numeric button in the first input interface.
  • the terminal acquires the first code according to the operation result.
  • the display screen of the terminal is a touch display screen, and after the user triggers the telephone dialing function, the terminal displays the first input interface on the display screen.
  • the terminal displays the “telephone” application and displays a dialing button on the display, which is the first input interface.
  • the user simultaneously presses the power button and the sound button, and the terminal displays the first input interface on the display screen.
  • the first input interface includes a symbol button and a number button.
  • the symbol button includes an asterisk button and a pound button. The user can operate the symbol button and the numeric button by clicking or swiping to input the first code.
  • a blank file display box is further created, where the content in the blank file of the display frame is used to mark the characters that the user has input, and the user operates on the symbol button and the numeric button.
  • the entered character is synchronized in the display box blank file, the user can know the entered character.
  • 4 is a schematic diagram of a first input interface provided by the present invention. As shown in FIG. 4, a display frame is disposed above the first input interface, and a symbol button and a numeric button are disposed below. For example, if the user enters *#0000, *#0000 is displayed in the display box. The user's input operation can be facilitated by the symbol button and the numeric button in the first input interface.
  • FIG. 5 is a flowchart 2 of the registration method in the first embodiment of the present invention.
  • the terminal needs to acquire the preset code.
  • the specific process for the terminal to obtain the preset code is as follows:
  • the terminal acquires a setting request input by a user.
  • the terminal displays a second input interface on the display screen, and the second input interface includes a symbol button and a number button.
  • the second input interface includes a symbol button and a number button.
  • the symbol button includes an asterisk button and a pound button.
  • the terminal displays a second input interface on the display screen.
  • the user opens the "Settings" application and the terminal displays a second input interface on the display.
  • the terminal acquires an operation result of the user on the symbol button and the numeric button in the second input interface.
  • the terminal acquires a preset code according to the operation result.
  • a display frame is disposed above the second input interface, and a symbol button and a numeric button are disposed below, and are not described herein.
  • the user is allowed to modify the preset code of each terminal, so that the preset code is specific, so that the preset code is not easily propagated, and the store owner can let the designated owner know the preset password corresponding to the terminal, and maintain the display.
  • the machine is not registered by other users.
  • the terminal stores the preset code in a local database.
  • the user in particular the store owner, can modify the preset code so that different terminals can have different preset codes, thereby improving confidentiality.
  • the user's input operation can be facilitated by the symbol button and the numeric button in the second input interface.
  • FIG. 6 is a flowchart 3 of the registration method in the first embodiment of the present invention.
  • the terminal needs to detect the user identification card, and A registration request is generated after the detection is successful.
  • the specific process for the terminal to generate a registration request is as follows:
  • the terminal detects whether there is a communication channel between the terminal and the user identification card. If yes, execute S504. If not, the process ends.
  • the SIM card is installed in the slot of the terminal, and the SIM card has a plurality of contacts for contacting the gold fingers in the slot.
  • the terminal detecting terminal and the user identification card it is possible to determine whether there is current between the gold finger and the electric shock by energizing the gold finger, and if so, it is considered that the terminal detecting terminal and the user identification card are between There is a communication channel. If not, it is considered that there is no communication channel between the terminal detection terminal and the user identification card.
  • the terminal displays a card interface on the display screen, and the card interface is used to prompt the user to insert the user identification card.
  • the card interface can also prompt the user whether the SIM card has problems such as bending, breaking or falling off. Thereby, the user can know the situation of the SIM card in time.
  • the terminal reads the user identity identifier in the user identity card and the terminal identity identifier in the local database of the terminal.
  • the terminal generates a registration request according to the user identity and the terminal identity.
  • the terminal After obtaining the user identity and the terminal identity, the terminal writes the user identity and the terminal identity into the list file, and uses the list file as a registration request, and finally sends the registration request to the server.
  • This kind of generation method does not require additional input by the user, and is actively acquired by the terminal, which simplifies the registration step.
  • FIG. 7 is a schematic structural diagram of a terminal according to Embodiment 2 of the present invention. As shown in FIG. 6, the terminal 60 includes:
  • An obtaining module 61 configured to acquire a first code input by a user
  • the determining module 62 is configured to determine whether the first code is the same as the preset code, where the preset code is stored in a local database of the terminal, where the preset code includes at least one symbol and at least one number;
  • the sending module 63 is configured to send a registration request to the server when the determining module determines that the first code is the same as the preset code, where the registration request includes the user identity and the terminal identity;
  • the receiving module 64 is configured to receive registration feedback sent by the server, where the registration feedback is used to notify the user that the terminal is successfully registered.
  • the obtaining module 61 is specifically configured to:
  • the first input interface includes a symbol button and a number button;
  • the first code is obtained.
  • the obtaining module 61 is further configured to:
  • the second input interface includes a symbol button and a number button;
  • the obtaining module 61 is further configured to acquire a preset code according to the operation result
  • the acquisition module 61 is also used to store the preset code in a local database.
  • the terminal further includes: a reading module 65 and a generating module 66;
  • the reading module 65 is configured to read the user identity identifier in the user identity card and the terminal identity identifier in the local database of the terminal;
  • the generating module 66 is configured to generate a registration request according to the user identity and the terminal identity.
  • the terminal further includes: a detecting module 67 and a prompting module 68;
  • the detecting module 67 is configured to detect whether a communication channel exists between the terminal and the user identification card;
  • the prompting module 68 is configured to display a card insertion interface on the display screen when the detecting module 67 detects that there is no communication channel between the terminal and the user identification card, and the card interface is used to prompt the user to insert the user identification card.
  • FIG. 8 is a schematic structural diagram of hardware of a terminal provided by the present invention. As shown in FIG. 8, the terminal 70 includes a processor 71 and a memory 72.
  • the processor 71 is configured to execute an execution instruction of the memory storage to implement each step in the foregoing registration method. For details, refer to the related description in the foregoing method embodiments.
  • the memory 72 is configured to store a computer program, and the memory may also be a flash memory.
  • the memory 72 can be either standalone or integrated with the processor 71.
  • the transmitting device 70 may further include:
  • a bus 73 is provided for connecting the memory 72 and the processor 71.
  • the present application further provides a readable storage medium.
  • the readable storage medium stores execution instructions.
  • the terminal executes the registration method provided by the various embodiments described above.
  • the application also provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the terminal can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the terminal implements the registration methods provided by the various embodiments described above.
  • the processor may be a central processing unit (English: Central Processing Unit, CPU for short), or may be other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as : DSP), Application Specific Integrated Circuit (English: Application Specific Integrated Circuit, ASIC for short).
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the present application can be directly embodied in the hardware The processor is executed or completed by a combination of hardware and software modules in the processor.

Abstract

本发明实施例提供一种注册方法及终端。该种注册方法,包括:终端获取用户输入的第一代码;终端判断第一代码是否与预设代码相同,预设代码存储在终端的本地数据库中,预设代码包括至少一个符号和至少一个数字;若是,则终端向服务器发送注册请求,注册请求包括用户身份标识以及终端身份标识;终端接收服务器发送的注册反馈,注册反馈用于通知用户终端注册成功。本发明实施例提供的注册方法及终端,可以保护展示机不被用户擅自注册。

Description

注册方法及终端 技术领域
本发明涉及电子通信领域,具体涉及注册方法及终端。
背景技术
随着手机市场的发展,出现了越来越多的手机销售实体门店。为了提高消费者的体验效果,门店通常会罗列出各个品牌、各种型号的展示机。
在展示过程中,若在展示机中插入用户身份标识卡(Subscriber Identification ModuleCard,简称:SIM卡)等带有用户身份标识的卡片,则展示机可直接根据该用户身份标识以及展示机身份标识向一些服务器发送注册信息。有些消费者会自行尝试该操作,一旦注册成功,则对于该服务器而言,在对该展示机进行服务时,只有该用户身份标识对应的用户才能在该展示机上获取相应服务,其它用户则无法在该展示机上获取相应服务。对于展示机将来的主人而言,需要花费大量精力注销或修改该展示机在服务器中的信息,才能够在该展示机上获取相应服务,从而影响了这些展示机的销售价值。
发明内容
本发明实施例提供一种注册方法及终端,可以保护展示机等终端不会被用户擅自注册。
第一方面,本发明实施例提供了一种注册方法,包括:
终端获取用户输入的第一代码;
所述终端判断所述第一代码是否与预设代码相同,所述预设代码存储在所述终端的本地数据库中,所述预设代码包括至少一个符号和至少一个数字;
若是,则所述终端向服务器发送注册请求,所述注册请求包括用户身份标识以及终端身份标识;
所述终端接收所述服务器发送的注册反馈,所述注册反馈用于通知用户所述终端注册成功。
在一种可能的设计中,所述终端获取用户输入的第一代码,包括:
所述终端在显示屏上显示第一输入界面,所述第一输入界面包括符号按钮和数字按钮;
所述终端获取所述用户对所述第一输入界面中的符号按钮和数字按钮的操作结果;
所述终端根据所述操作结果,获取所述第一代码。
在一种可能的设计中,在所述终端获取用户输入的第一代码之前,还包括:
所述终端获取用户输入的设置请求;
所述终端在显示屏上显示第二输入界面,所述第二输入界面包括符号按钮和数字按钮;
所述终端获取所述用户对所述第二输入界面中的符号按钮和数字按钮的操作结果;
所述终端根据所述操作结果,获取所述预设代码;
所述终端将所述预设代码存储至所述本地数据库中。
在一种可能的设计中,在所述终端向服务器发送注册请求之前,还包括:
所述终端读取用户身份识别卡中的用户身份标识以及所述终端的本地数据库中的终端身份标识;
所述终端根据所述用户身份标识以及所述终端身份标识,生成所述注册请求。
在一种可能的设计中,在所述终端读取用户身份识别卡之前,还包括:
所述终端检测所述终端与所述用户身份识别卡之间是否存在通信通道;
若否,则所述终端在显示屏上显示插卡界面,所述插卡界面用于向用户提示插入用户身份识别卡。
第二方面,本发明实施例提供了一种终端,包括:
获取模块,用于获取用户输入的第一代码;
判断模块,用于判断所述第一代码是否与预设代码相同,所述预设代码存储在所述终端的本地数据库中,所述预设代码包括至少一个符号和至少一个数字;
发送模块,用于在所述判断模块判断所述第一代码与预设代码相同时,向服务器发送注册请求,所述注册请求包括用户身份标识以及终端身份标识;
接收模块,用于接收所述服务器发送的注册反馈,所述注册反馈用于通知用户所述终端注册成功。
在一种可能的设计中,所述获取模块,具体用于:
用于在显示屏上显示第一输入界面,所述第一输入界面包括符号按钮和数字按钮;
获取所述用户对所述第一输入界面中的符号按钮和数字按钮的操作结果;
根据所述操作结果,获取所述第一代码。
在一种可能的设计中,所述获取模块,还用于:
获取用户输入的设置请求;
在显示屏上显示第二输入界面,所述第二输入界面包括符号按钮和数字按钮;
获取所述用户对所述第二输入界面中的符号按钮和数字按钮的操作结果;
根据所述操作结果,获取所述预设代码;
将所述预设代码存储至所述本地数据库中。
在一种可能的设计中,所述终端还包括:读取模块和生成模块;
所述读取模块用于读取用户身份识别卡中的用户身份标识以及所述终端的本地数据库中的终端身份标识;
所述生成模块用于根据所述用户身份标识以及所述终端身份标识,生成所述注册请求。
在一种可能的设计中,所述终端还包括:检测模块和提示模块;
所述检测模块用于检测所述终端与所述用户身份识别卡之间是否存在通信通道;
所述提示模块用于在所述检测模块检测出所述终端与所述用户身份识别卡之间不存在通信通道时,在显示屏上显示插卡界面,所述插卡界面用于向用户提示插入用户身份识别卡。
第三方面,本发明还提供一种终端,包括:存储器、处理器以及计算机程序,所述计算机程序存储在所述存储器中,所述处理器运行所述计算机程序执行第一方面及第一方面各种可能的设计所述的注册方法。
第四方面,本发明还提供一种可读存储介质,可读存储介质中存储有执行指令,当终端的至少一个处理器执行该执行指令时,终端执行上述的各种可能的设计提供的注册方法。
第五方面,本发明还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。终端的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得终端实施上述的各种可能的设计提供的注册方法。
本发明实施例提供的技术方案的有益效果是:通过向终端发送与预设代码相同的第一代码,才能控制终端向服务器发送注册请求,使用户在不知道预设代码的情况下无法控制终端向服务器发送注册请求,继而无法完成注册步骤,从而可以保护展示机不被用户擅自注册。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现 有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明提供的注册方法的系统架构示意图;
图2为本发明实施例一中的注册方法的流程图一;
图3为本发明实施例一中的终端获取用户输入的第一代码的流程图;
图4为本发明提供的第一输入界面的示意图;
图5为本发明实施例一中的注册方法的流程图二;
图6为本发明实施例一中的注册方法的流程图三;
图7为本发明实施例二中的终端的结构示意图;
图8为本发明提供的终端的硬件结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明提供的注册方法的系统架构示意图,如图1所示,该系统架构中包括终端101和服务器102,终端和服务器相互通信连接。该终端101可以是无线终端。无线终端可以是指向用户提供语音和/或其他业务数据连通性的设备。该无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话),例如,可以是便携式、袖珍式、手持式移动装置。该服务器可以为运营商的服务器,也可以为第三方服务器。终端在向服务器请求注册时,服务器需要终端的用户身份标识以及展示机身份标识,服务器接收该信息后,服务器自动生成与该终端的用户身份标识以及展示机身份标识关联的注册资料,以对此信息进行备案。在终端在该服务器中注册完成后,服务器可以向终端提供相应的服务。
本发明提供的注册方法,旨在解决现有技术的如上技术问题。
下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。
图2为本发明实施例一中的注册方法的流程图一,如图2所示,该注册方法,包 括:
S201、终端获取用户输入的第一代码。
用户在对终端进行注册之前,需要获取针对该终端的第一代码。该第一代码可以为出厂设置的预设代码,也可以为其它用户设定的预设代码。
终端可以获取用户通过语音输入的第一代码,也可以通过键盘输入第一代码,也可以获取用户手写输入的第一代码。本实施例对第一代码的获取方式,不作具体限定。
S202、终端确定第一代码与预设代码相同,预设代码存储在终端的本地数据库中,预设代码包括至少一个符号和至少一个数字。
具体地,终端判断第一代码是否与预设代码相同,若是,则执行S203,若否,则流程结束。
其中,预设代码可以为出厂时预设的,也可以为其它用户预设的。该预设代码可以为暗码,即预设代码中包括星号、井号和数字,例如:预设代码为*#0000。
该预设代码可以被存储在数据库中。终端在判断第一代码是否与预设代码相同时,终端将该第一代码与数据库中存储的代码进行比较,当数据库不存在与该第一代码相同的预设代码时,则流程结束。当数据库中与该第一代码相同的预设代码的数量为1时,则确定第一代码与预设代码相同,则继续执行S203。
在一个具体的示例中。预设代码可以存储在列表文件中,该列表文件存储在数据库中。当终端需要判断第一代码是否与预设代码相同时,终端打开存储在数据库中的列表文件,并在该列表文件中查找是否存在与第一代码相同的代码,若在该列表文件中查找与该第一代码相同的预设代码的数量为0时,认为第一代码与预设代码不同,并且流程结束。若在该列表文件中查找与第一代码相同的预设代码的数量为1时,认为第一代码与预设代码相同,并继续执行S203。
S203、终端向服务器发送注册请求,注册请求包括用户身份标识以及终端身份标识。
S204、服务器向终端发送与该注册请求对应的注册反馈,注册反馈用于通知用户终端注册成功。
用户身份标识可以为用户的某一账户,例如:用户的手机号码或用户名,或者,用户身份标识可以为集成电路卡识别码(Integrate circuit card identity,简称ICCID)。终端身份标识可为终端串号,国际移动设备身份码(International Mobile Equipment Identity,简称IMEI),或者,终端身份标识可为存储在终端本地数据库 中对该终端的编号。
具体地,终端向服务器发送注册请求,服务器接收终端发送的注册请求。服务器在接收到该注册请求之后,服务器可以对用户身份标识和终端身份标识的合法性进行校验,在校验成功后,服务器可以对用户身份标识和终端身份标识进行关联。最后,服务器向终端发送与该注册请求对应的注册反馈,终端接收服务器发送的注册反馈,该注册反馈用于通知用户终端注册成功。
在后续的使用过程中,在终端访问服务器时,只有用户身份标识以及终端身份标识均正确的情况下,服务器才会向终端提供相应服务。
通过上述内容不难发现,本发明实施例提供的注册方法,由终端获取用户输入的第一代码;终端判断第一代码是否与预设代码相同,预设代码存储在终端的本地数据库中,预设代码包括至少一个符号和至少一个数字;若是,则终端向服务器发送注册请求,注册请求包括用户身份标识以及终端身份标识;终端接收服务器发送的注册反馈,注册反馈用于通知用户终端注册成功。也可以说,通过向终端发送与预设代码相同的第一代码,才能控制终端向服务器发送注册请求,使用户在不知道预设代码的情况下无法控制终端向服务器发送注册请求,继而无法完成注册步骤,从而可以保护展示机不被用户擅自注册。
图3为本发明实施例一中的终端获取用户输入的第一代码的流程图,在图实施例的基础上,本实施例给出了一种终端获取用户输入的第一代码的具体实现方式。具体如下:
S301、终端在显示屏上显示第一输入界面,第一输入界面包括符号按钮和数字按钮。其中,符号按钮包括星号按钮和井号按钮。
S302、终端获取用户对第一输入界面中的符号按钮和数字按钮的操作结果。
S303、终端根据操作结果,获取第一代码。
终端的显示屏为触摸式显示屏,在用户触发电话拨号功能之后,终端在显示屏上显示第一输入界面。例如,用户打开“电话”应用,在显示屏上显示拨号按键,该拨号按键即为第一输入界面。再或者,用户同时按压开机键和声音键,终端在显示屏上显示第一输入界面。
该第一输入界面包括符号按钮和数字按钮。其中,符号按钮包括星号按钮和井号按钮。用户可以通过点击或划动等操作方式对符号按钮和数字按钮进行操作,以输入第一代码。
可选地,终端在显示屏上显示第一输入界面时,还建立一份空白文件显示框,该显示框空白文件中的内容用于标记用户已输入的字符,用户对符号按钮和数字按钮操作时,即在该显示框空白文件中同步显示已输入的字符,从而使用户能够获知已输入的字符。图4为本发明提供的第一输入界面的示意图。如图4所示,在该第一输入界面的上方设置有显示框,下方设置有符号按钮和数字按钮。例如,用户输入了*#0000,则在显示框中显示*#0000。通过第一输入界面中的符号按钮和数字按钮可以使用户的输入操作更为便捷。
图5为本发明实施例一中的注册方法的流程图二,本实施例在图2所示实施例的基础上,在终端获取用户输入的第一代码之前,终端还需要获取预设代码。终端获取预设代码的具体过程如下:
S401、终端获取用户输入的设置请求。
S402、终端在显示屏上显示第二输入界面,第二输入界面包括符号按钮和数字按钮。与第一输入界面对应的,第二输入界面包括符号按钮和数字按钮。其中,符号按钮包括星号按钮和井号按钮。
类似的,在用户触发终端设置功能之后,终端在显示屏上显示第二输入界面。例如,用户打开“设置”应用,终端在显示屏上显示第二输入界面。
S403、终端获取用户对第二输入界面中的符号按钮和数字按钮的操作结果。
S404、终端根据操作结果,获取预设代码。
与第一输入界面相类似的,该第二输入界面的上方设置有显示框,下方设置有符号按钮和数字按钮,在此不予赘述。
从而允许了用户对每个终端的预设代码进行修改,使预设代码具有特定性,这样预设代码就不易被传播,店主可以让指定的机主知晓其终端对应的预设密码,维护展示机不被其他用户注册。
S405、终端将预设代码存储至本地数据库中。
从而,使得用户,特别是店主可以对预设代码进行修改,使不同终端可以具备不同的预设代码,提高了保密性。此外,通过第二输入界面中的符号按钮和数字按钮可以使用户的输入操作更为便捷。
图6为本发明实施例一中的注册方法的流程图三,本实施例在图2所示实施例的基础上,在终端向服务器发送注册请求之前,终端还需要检测用户身份识别卡,并在检测成功后生成注册请求。终端生成注册请求的具体过程如下:
S501、终端检测终端与用户身份识别卡之间是否存在通信通道,若是,则执行S504,若否,则流程结束。
SIM卡安装在终端的插槽内,SIM卡具有多个触点,这些触点用于和插槽内的金手指接触连接。在终端检测终端与用户身份识别卡之间是否存在通信通道时,可以通过对金手指进行通电,判断金手指与触电之间是否存在电流,若是,则认为终端检测终端与用户身份识别卡之间存在通信通道,若否,则认为终端检测终端与用户身份识别卡之间不存在通信通道。
S502、终端在显示屏上显示插卡界面,插卡界面用于向用户提示插入用户身份识别卡。插卡界面也可提示用户SIM卡是否存在弯折、断裂、脱落等问题。从而,使用户及时了解SIM卡的情况。
S503、终端读取用户身份识别卡中的用户身份标识以及终端的本地数据库中的终端身份标识。
S504、终端根据用户身份标识以及终端身份标识,生成注册请求。
终端获取用户身份标识以及终端身份标识后,将用户身份标识以及终端身份标识写入以列表文件内,并以该列表文件作为注册请求,最后将该注册请求发往服务器。
该种生成方式无需用户额外输入,由终端主动获取,简化了注册步骤。
图7为本发明实施例二中的终端的结构示意图,如图6所示,该终端60,包括:
获取模块61,用于获取用户输入的第一代码;
判断模块62,用于判断第一代码是否与预设代码相同,预设代码存储在终端的本地数据库中,预设代码包括至少一个符号和至少一个数字;
发送模块63,用于在判断模块判断第一代码与预设代码相同时,向服务器发送注册请求,注册请求包括用户身份标识以及终端身份标识;
接收模块64,用于接收服务器发送的注册反馈,注册反馈用于通知用户终端注册成功。
可选地,获取模块61,具体用于:
在显示屏上显示第一输入界面,第一输入界面包括符号按钮和数字按钮;
获取用户对第一输入界面中的符号按钮和数字按钮的操作结果;
根据操作结果,获取第一代码。
可选地,获取模块61,还用于:
获取用户输入的设置请求;
在显示屏上显示第二输入界面,第二输入界面包括符号按钮和数字按钮;
获取用户对第二输入界面中的符号按钮和数字按钮的操作结果;
获取模块61还用于根据操作结果,获取预设代码;
获取模块61还用于将预设代码存储至本地数据库中。
可选地,终端还包括:读取模块65和生成模块66;
读取模块65用于读取用户身份识别卡中的用户身份标识以及终端的本地数据库中的终端身份标识;
生成模块66用于根据用户身份标识以及终端身份标识,生成注册请求。
可选地,终端还包括:检测模块67和提示模块68;
检测模块67用于检测终端与用户身份识别卡之间是否存在通信通道;
提示模块68用于在检测模块67检测出终端与用户身份识别卡之间不存在通信通道时,在显示屏上显示插卡界面,插卡界面用于向用户提示插入用户身份识别卡。
图8为本发明提供的终端的硬件结构示意图。如图8所示,该终端70包括:处理器71以及存储器72。
其中,处理器71,用于执行存储器存储的执行指令,以实现上述注册方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。
存储器72,用于存储计算机程序,该存储器还可以是flash(闪存)。
可选地,存储器72既可以是独立的,也可以跟处理器71集成在一起。
当存储器72是独立于处理器71之外的器件时,发送设备70还可以包括:
总线73,用于连接存储器72和处理器71。
本申请还提供一种可读存储介质,可读存储介质中存储有执行指令,当终端的至少一个处理器执行该执行指令时,终端执行上述的各种实施方式提供的注册方法。
本申请还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。终端的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得终端实施上述的各种实施方式提供的注册方法。
在上述终端的实施例中,应理解,处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请所公开的方法的步骤可以直接体现为硬件处 理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (10)

  1. 一种注册方法,其特征在于,包括:
    终端获取用户输入的第一代码;
    所述终端判断所述第一代码是否与预设代码相同,所述预设代码存储在所述终端的本地数据库中,所述预设代码包括至少一个符号和至少一个数字;
    若是,则所述终端向服务器发送注册请求,所述注册请求包括用户身份标识以及终端身份标识;
    所述终端接收所述服务器发送的注册反馈,所述注册反馈用于通知用户所述终端注册成功。
  2. 根据权利要求1所述的方法,其特征在于,所述终端获取用户输入的第一代码,包括:
    所述终端在显示屏上显示第一输入界面,所述第一输入界面包括符号按钮和数字按钮;
    所述终端获取所述用户对所述第一输入界面中的符号按钮和数字按钮的操作结果;
    所述终端根据所述操作结果,获取所述第一代码。
  3. 根据权利要求1所述的方法,其特征在于,在所述终端获取用户输入的第一代码之前,还包括:
    所述终端获取用户输入的设置请求;
    所述终端在显示屏上显示第二输入界面,所述第二输入界面包括符号按钮和数字按钮;
    所述终端获取所述用户对所述第二输入界面中的符号按钮和数字按钮的操作结果;
    所述终端根据所述操作结果,获取所述预设代码;
    所述终端将所述预设代码存储至所述本地数据库中。
  4. 根据权利要求1所述的方法,其特征在于,在所述终端向服务器发送注册请求之前,还包括:
    所述终端读取用户身份识别卡中的用户身份标识以及所述终端的本地数据库中的终端身份标识;
    所述终端根据所述用户身份标识以及所述终端身份标识,生成所述注册请求。
  5. 根据权利要求4所述的方法,其特征在于,在所述终端读取用户身份识别卡之前,还包括:
    所述终端检测所述终端与所述用户身份识别卡之间是否存在通信通道;
    若否,则所述终端在显示屏上显示插卡界面,所述插卡界面用于向用户提示插入用户身份识别卡。
  6. 一种终端,其特征在于,包括:
    获取模块,用于获取用户输入的第一代码;
    判断模块,用于判断所述第一代码是否与预设代码相同,所述预设代码存储在所述终端的本地数据库中,所述预设代码包括至少一个符号和至少一个数字;
    发送模块,用于在所述判断模块判断所述第一代码与预设代码相同时,向服务器发送注册请求,所述注册请求包括用户身份标识以及终端身份标识;
    接收模块,用于接收所述服务器发送的注册反馈,所述注册反馈用于通知用户所述终端注册成功。
  7. 根据权利要求6所述的终端,其特征在于,所述获取模块,具体用于:
    在显示屏上显示第一输入界面,所述第一输入界面包括符号按钮和数字按钮;
    获取所述用户对所述第一输入界面中的符号按钮和数字按钮的操作结果;
    根据所述操作结果,获取所述第一代码。
  8. 根据权利要求6所述的终端,其特征在于,所述获取模块,还用于:
    获取用户输入的设置请求;
    在显示屏上显示第二输入界面,所述第二输入界面包括符号按钮和数字按钮;
    获取所述用户对所述第二输入界面中的符号按钮和数字按钮的操作结果;
    根据所述操作结果,获取所述预设代码;
    将所述预设代码存储至所述本地数据库中。
  9. 根据权利要求6所述的终端,其特征在于,所述终端还包括:读取模块和生成模块;
    所述读取模块,用于读取用户身份识别卡中的用户身份标识以及所述终端的本地数据库中的终端身份标识;
    所述生成模块,用于根据所述用户身份标识以及所述终端身份标识,生成所述注册请求。
  10. 根据权利要求9所述的终端,其特征在于,所述终端还包括:检测模块和提示模块;
    所述检测模块,用于检测所述终端与所述用户身份识别卡之间是否存在通信通道;
    所述提示模块,用于在所述检测模块检测出所述终端与所述用户身份识别卡之间不存在通信通道时,在显示屏上显示插卡界面,所述插卡界面用于向用户提示插入用户身份识别卡。
PCT/CN2017/104130 2017-09-28 2017-09-28 注册方法及终端 WO2019061205A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/104130 WO2019061205A1 (zh) 2017-09-28 2017-09-28 注册方法及终端
CN201780097098.9A CN111373723A (zh) 2017-09-28 2017-09-28 注册方法及终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104130 WO2019061205A1 (zh) 2017-09-28 2017-09-28 注册方法及终端

Publications (1)

Publication Number Publication Date
WO2019061205A1 true WO2019061205A1 (zh) 2019-04-04

Family

ID=65902535

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104130 WO2019061205A1 (zh) 2017-09-28 2017-09-28 注册方法及终端

Country Status (2)

Country Link
CN (1) CN111373723A (zh)
WO (1) WO2019061205A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287234A (zh) * 2008-05-26 2008-10-15 德信无线通讯科技(北京)有限公司 一种移动通信终端防盗方法及装置
CN103634477A (zh) * 2013-12-11 2014-03-12 深圳市亚略特生物识别科技有限公司 具有指纹装置的手机的防盗方法及系统
CN106529232A (zh) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 开机启动方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792347A (zh) * 2016-04-28 2016-07-20 宇龙计算机通信科技(深圳)有限公司 一种网络注册方法和移动终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287234A (zh) * 2008-05-26 2008-10-15 德信无线通讯科技(北京)有限公司 一种移动通信终端防盗方法及装置
CN103634477A (zh) * 2013-12-11 2014-03-12 深圳市亚略特生物识别科技有限公司 具有指纹装置的手机的防盗方法及系统
CN106529232A (zh) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 开机启动方法及装置

Also Published As

Publication number Publication date
CN111373723A (zh) 2020-07-03

Similar Documents

Publication Publication Date Title
CN110392054B (zh) 登录校验方法、装置、系统、设备和可读存储介质
US10387856B2 (en) Online payment method, system, and apparatus
CN109075820B (zh) 一种蓝牙配对方法、终端设备以及可读存储介质
US10097547B2 (en) Security verification method, apparatus and terminal
CN104270404B (zh) 一种基于终端标识的登录方法及装置
EP3206110B1 (en) Method of providing handwriting style correction function and electronic device adapted thereto
US20150319173A1 (en) Co-verification method, two dimensional code generation method, and device and system therefor
CN108920366B (zh) 一种子应用调试方法、装置及系统
TWI659300B (zh) 一種設備標識提供方法及裝置
US9816833B2 (en) Method and apparatus for providing location based service
CN107493378B (zh) 应用程序登录的方法和装置、计算机设备及可读存储介质
US11004163B2 (en) Terminal-implemented method, server-implemented method and terminal for acquiring certification document
WO2016025756A1 (en) Form filling method and related terminal
CN108574721B (zh) 一种登录方法、装置和服务器、用户终端、可读存储介质
EP4174689A1 (en) Blockchain-based user information processing method and system
CN105263126B (zh) 短信验证方法、装置及系统
US20180349580A1 (en) Information processing method and device, and electronic equipment
US20180357404A1 (en) Information processing method and apparatus, and electronic device
CN110474864B (zh) 一种注册、登录移动应用程序的方法及电子设备
CN110765502A (zh) 信息处理方法及相关产品
CN106789973B (zh) 页面的安全性检测方法及终端设备
CN105760729B (zh) 一种登录方法及电子设备
CN104079527A (zh) 一种信息处理方法及电子设备
CN104378202B (zh) 一种信息处理方法、电子终端和服务器
WO2020124454A1 (zh) 字体切换方法及相关产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17926669

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17926669

Country of ref document: EP

Kind code of ref document: A1