WO2019232989A1 - Unlocking method and device based on tetris game, storage medium and terminal - Google Patents

Unlocking method and device based on tetris game, storage medium and terminal Download PDF

Info

Publication number
WO2019232989A1
WO2019232989A1 PCT/CN2018/108092 CN2018108092W WO2019232989A1 WO 2019232989 A1 WO2019232989 A1 WO 2019232989A1 CN 2018108092 W CN2018108092 W CN 2018108092W WO 2019232989 A1 WO2019232989 A1 WO 2019232989A1
Authority
WO
WIPO (PCT)
Prior art keywords
unlock
resource
unlocking
tetris game
interface
Prior art date
Application number
PCT/CN2018/108092
Other languages
French (fr)
Chinese (zh)
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 平安科技(深圳)有限公司
Publication of WO2019232989A1 publication Critical patent/WO2019232989A1/en

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs

Definitions

  • the present application relates to the field of software applications, and in particular, to an unlocking method, device, storage medium, and terminal based on a Tetris game.
  • the present application provides a method for unlocking based on a Tetris game, comprising: when a selected application is triggered, determining an unlock resource corresponding to the selected application, and loading the unlock resource to display the unlock
  • the unlocking interface of the Tetris game corresponding to the resource includes a block with a gap at the bottom and a falling block.
  • the present application provides an unlocking device based on a Tetris game, including: a game module: used to determine an unlocked resource corresponding to the selected application when the selected application is triggered, and load the unlocked resource to Displaying the unlocking interface of the Tetris game corresponding to the unlocking resource, the unlocking interface including a block with a gap left at the bottom and a falling block, and when receiving an operation instruction, transforming the operation according to the Tetris game rules corresponding to the operation instruction The form of the falling block; scoring module: used to obtain the corresponding score according to the Tetris game rules when the falling block reaches the bottom and fits the gap; unlocking module: used when the score and the When the preset scores corresponding to the unlocked resources are the same, the unlocking is successful and the selected application is entered.
  • a game module used to determine an unlocked resource corresponding to the selected application when the selected application is triggered, and load the unlocked resource to Displaying the unlocking interface of the Tetris game corresponding to the unlocking resource, the unlocking interface
  • the present application also provides a computer-readable non-volatile storage medium.
  • the computer-readable non-volatile storage medium stores a computer program, and when the program is executed by a processor, a Tetris-based game is implemented.
  • the following operation of the unlocking method when a selected application is triggered, determining an unlocking resource corresponding to the selected application, and loading the unlocking resource to display an unlocking interface of a Tetris game corresponding to the unlocking resource, the The unlock interface includes a block with a gap at the bottom and a falling block.
  • the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction; when the falling block reaches the bottom and matches the
  • a corresponding score is obtained according to the rules of the Tetris game; when the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and the selected application is entered.
  • the present application further provides a terminal, where the terminal includes one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more programs configured to perform the following operations of the Tetris-based unlock method: when a selected application is triggered, determining the selected Apply the corresponding unlock resource and load the unlock resource to display the unlock interface of the Tetris game corresponding to the unlock resource.
  • the unlock interface includes a block with a gap at the bottom and a falling block.
  • the Tetris game rule corresponding to the operation instruction transforms the shape of the falling block; when the falling block reaches the bottom and fits the gap, a corresponding score is obtained according to the Tetris game rule; when the score When the preset score corresponding to the unlocked resource is the same, the unlock is successful and the selected application is entered.
  • This application provides a function of unlocking an application based on a Tetris game.
  • the unlocking method is novel and interesting, and the falling block is only operated once each time. Chance, only when the score this time is the same as the preset score, you can unlock successfully, enter the selected application, take into account the security required for unlocking, and use the Tetris game as the unlocking method, which has a strong appeal and improves The brand name of the application that provides the unlock method.
  • FIG. 1 is a schematic flowchart of an embodiment of a method for unlocking a Tetris game based on this application;
  • FIG. 1 is a schematic flowchart of an embodiment of a method for unlocking a Tetris game based on this application;
  • FIG. 2 is a schematic diagram of an embodiment of an unlocking device based on a Tetris game in this application;
  • FIG. 3 is a schematic structural diagram of an embodiment of a terminal of this application.
  • the embodiment of the present application provides a method for unlocking a Tetris-based game.
  • the functions implemented by the method are integrated on the terminal's operating system or integrated with the terminal's application.
  • the terminal is the execution subject of the embodiment of this application.
  • the function of the method is shown in Figure 1. The method includes the following steps:
  • the unlock interface includes a bottom left
  • the gapped block and the falling block when receiving an operation instruction, change the shape of the falling block according to the rules of the Tetris game corresponding to the operation instruction.
  • the application scenario of the embodiment of the present application is to unlock an application, not to unlock the terminal system.
  • the application is the selected application described in this embodiment. Opening the selected application is equivalent to being triggered by the selected application, and then the terminal obtains and determines the unlocking resource of the selected application.
  • the unlock resource of this embodiment includes a game type, a game rule, and an unlock rule.
  • the game type of the unlock resource of this embodiment is a Tetris game. After obtaining the unlocking resource, load the unlocking resource to display the unlocking interface of the Tetris game corresponding to the unlocking resource, that is, present the unlocking interface of the Tetris game corresponding to the unlocking resource before entering the selected application.
  • the presented unlocking interface of the Tetris game is not a newly started Tetris game interface, but a block already exists at the bottom of the unlocking interface of the Tetris game, and the existing blocks form a specific gap.
  • it also includes a falling block, and then when an operation instruction is received, the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction.
  • the rules for operating the falling block and the existing Tetris The rules of the game are the same.
  • the user can operate on the unlock interface to change the shape of the falling block and let the falling block reach the bottom block to complete the application unlocking and enter the application. The following describes how to determine the processing of the selected application successfully unlocked.
  • the user can control the falling block on the unlocking interface of the Tetris game, control the falling block to deform, change the position of the falling block, and when the falling block reaches the bottom, the gap formed by the block determined at the bottom is suitable.
  • the corresponding score obtained this time is calculated according to the rules of the Tetris game. For example, when the falling block reaches the bottom block, if the bottom row of blocks is eliminated, 1 point will be counted, and the bottom 2 rows of blocks will be counted as 2 points.
  • the score is calculated only once.
  • the user can also set the score obtained by eliminating one line at the bottom, for example, the user sets each elimination
  • the score on the bottom 1 line is 1.5 points.
  • the score this time is 3 points.
  • This score is set different from others' perception of the inertia of the Tetris game. Prevent others from easily guessing the preset score corresponding to the unlocked resource to enter the application, improve the security of unlocking, and improve the privacy protection of the user.
  • the preset score corresponding to the unlocked resource can be set by the user, for example, the user sets the preset score of the unlocked resource to 3 points, and the unlock interface of the Tetris game presented by loading the unlocked resource needs to meet the falling block arrival
  • the number of points that can be obtained after the bottom square is equal to or greater than 3 points.
  • the score obtained by eliminating 1 row at the bottom is 1 point.
  • the combination of the falling block and the gap eliminates the 3 rows at the bottom, and the current score is 3 points.
  • the setting score is the same.
  • the unlocking is successful, and the selected application can be entered.
  • the user can also set the score obtained by eliminating 1 line at the bottom, for example, the user sets the score obtained by removing 1 line at the bottom to 1.5 points.
  • the preset score is 3 points, only the falling block needs to be controlled.
  • you reach the bottom block you can eliminate 2 rows of blocks, which is different from other people ’s inertia perception of the Tetris game. It prevents others from easily guessing the preset score corresponding to the unlocked resource to enter the application, improving the security of unlocking, and improving the User privacy protection.
  • the current score obtained at each unlocking interface is not displayed on the unlocking interface.
  • the line box is 1 point or 1.5 points to improve the security of the password.
  • This embodiment provides a function of unlocking an application based on a Tetris game.
  • the unlocking method is novel and interesting, and there is only one operation to drop each time the unlock is performed.
  • the chance of the cube can only be unlocked successfully when the score this time is the same as the preset score, enter the selected application, take into account the security required for unlocking, and use the Tetris game as the unlocking method, which has a strong appeal. Increase awareness of brands that provide apps that unlock this way.
  • the unlocking resource further includes introduction information of the specified product
  • the displaying the unlocking interface of the Tetris game corresponding to the unlocking resource further includes:
  • the introduction information of the designated product is superimposed and displayed on the unlocking interface of the Tetris game; the preset score of the unlocking resource is associated with the introduction information.
  • the unlocked resource further includes introduction information of the specified product, and a preset score of the unlocked resource is associated with the introduction information.
  • introduction information for example, the designated product is a wealth management product of company XX, and the introduction information is that the annualized rate of the wealth management product is 5%.
  • the preset score of the unlocked resource in this embodiment is associated with the introduction information, then the Set the score to 5 points. The details of how the introduction information is related to the preset score are known to the user, or can be customized by the user.
  • the correspondence between the product introduction information and the preset score is notified to the user when the user unlocks the method of this embodiment.
  • the introduction information of the wealth management product is displayed on the unlock interface.
  • the product of XX company can be displayed, and on the other hand, a hidden hint can be given to the user, so that other users cannot easily guess the preset score.
  • Unlock and every time you unlock, the designated product of the unlocked resource can be replaced by specific rules, and the introduction information is also different, the preset score is also changed accordingly, to avoid fixed scores for others to easily guess the unlock
  • the preset score of the resource Preferably, when the unlocking fails, the designated product associated with the unlocked resource is also updated, and the preset score of the unlocked resource is changed accordingly, making the password more secure.
  • the method further includes:
  • the unlock fails, and the unlock interface of the Tetris game is updated to allow the user to perform the unlock operation again.
  • the above embodiment describes the process of determining how the selected application was successfully unlocked. In this embodiment, how to determine the process of determining that the selected application fails to unlock. In this embodiment, if the obtained score is different from the preset score corresponding to the unlocked resource, it indicates that the unlocking has failed, the selected application cannot be entered, and the user needs to perform the unlocking operation again; re-performing the unlocking operation will update the website.
  • the unlocking interface of the Tetris game is described, allowing the user to re-operate the falling block to the block determined at the bottom, and then calculate the corresponding score according to the rules of Tetris until the score is the same as the preset score corresponding to the unlocked resource. Successfully unlock and enter the selected application.
  • the updating the unlocking interface of the Tetris game includes:
  • an optional implementation method of the present application is to reload the unlocking interface of the Tetris game according to the original unlocking resources, that is, when the first unlocking fails, the second unlocking is also presented.
  • the unlocking interface of the same Tetris game as when it was first unlocked including the same bottom block and the same falling block.
  • Another optional implementation of this application is: when unlocking fails, obtain a new unlocked resource of the selected application, load the new unlocked resource, and update the Tetris game according to the new unlocked resource.
  • Unlock interface that is, when the first unlock fails, when the second unlock is performed, the unlock interface of the Tetris game that is different from the first unlock is displayed, including the new bottom block and the new falling block. The preset score does not change.
  • the acquiring a new unlocked resource of the selected application includes:
  • This embodiment is mainly for unlocking in special cases, and the preset score is set to 0 points. As long as the falling block reaches the bottom of the determined block and cannot eliminate any 1 line, it will get 0 points and match the preset score. Can be successfully unlocked. And if someone else illegally steals the mobile phone, due to the inertia thinking, for the Tetris unlocking method, it is definitely considered that "scoring" is the correct unlocking method, and this solution goes the other way, so that the person who steals the mobile phone cannot easily snoop. The correct way to unlock.
  • the method further includes:
  • the unlock interface of the Tetris game is no longer updated within a prescribed time.
  • This embodiment is mainly for the risk control of the number of unlocking failures.
  • the Tetris unlocking interface will not be refreshed within a specified time. For example, the Tetris unlocking interface cannot be updated within 5 minutes.
  • the user is prompted to use other methods to unlock, such as using the system's fingerprint unlocking, password unlocking or face recognition unlocking.
  • the present application provides an unlocking device based on a Tetris game, including:
  • Game module 100 used to determine an unlock resource corresponding to the selected application when the selected application is triggered, and load the unlock resource to display an unlock interface of a Tetris game corresponding to the unlock resource, the unlock interface It includes a block with a gap at the bottom and a falling block. When an operation instruction is received, the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction;
  • Scoring module 200 used to obtain a corresponding score according to the rules of the Tetris game when the falling block reaches the bottom and fits the gap;
  • the unlocking module 300 is configured to: when the score is the same as a preset score corresponding to the unlocked resource, the unlocking is successful, and the selected application is entered.
  • the unlocking resource further includes introduction information of the designated product.
  • the method further includes:
  • the introduction information of the designated product is superimposed and displayed on the unlocking interface of the Tetris game; the preset score of the unlocking resource is associated with the introduction information.
  • the device further includes:
  • the update module 400 is configured to: when the score is different from a preset score corresponding to the unlock resource, the unlock fails, and update the unlock interface of the Tetris game to allow the user to perform the unlock operation again.
  • the method when the updating module 400 executes updating the unlock interface of the Tetris game, the method includes:
  • the method further includes:
  • the unlock interface of the Tetris game is no longer updated within a prescribed time.
  • the present application provides a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium, and when the program is executed by a processor, the Tetris-based game-based Unlock method.
  • the computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory, read-only memory), and RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Programmable Read-Only Memory), flash memory, magnetic card or Rays card.
  • the storage device includes any medium that stores or transmits information in a readable form by a device (for example, a computer, a mobile phone), and may be a read-only memory, a magnetic disk, or an optical disk.
  • a computer-readable storage medium provided in the embodiment of the present application can be used to determine an unlocked resource corresponding to the selected application when the selected application is triggered, and load the unlocked resource to display the Russian corresponding to the unlocked resource.
  • the unlocking interface of the block game includes a block with a gap at the bottom and a falling block.
  • the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction.
  • the falling block reaches the bottom and matches the gap, a corresponding score is obtained according to the rules of the Tetris game; when the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and the selected block is entered. application.
  • the Tetris score is calculated once and compared with the preset score of the unlocked resource.
  • the unlocking method is novel and interesting, and there is only one chance to operate the falling block each time it is unlocked. , Only when the score this time is the same as the preset score, you can unlock successfully, enter the selected application, take into account the security required for unlocking, and use the Tetris game as the unlocking method, which has a strong appeal and improves the provision of the Unlock the brand awareness of the app.
  • the computer-readable storage medium provided in this application can also realize that the unlocked resource also includes introduction information for the specified product, and the preset score of the unlocked resource is associated with the introduction information.
  • the computer-readable storage medium provided in the embodiment of the present application can implement the foregoing embodiment of the method for unlocking Tetris-based games.
  • the present application further provides a terminal.
  • the server processor 303, the memory 305, the input unit 307, and the display unit 309 are devices. Those skilled in the art can understand that the structural device shown in FIG. 3 does not constitute a limitation on all servers, and may include more or fewer components than shown in the figure, or combine some components.
  • the memory 305 may be used to store an application program 301 and various functional modules, and the processor 303 runs the application program 301 stored in the memory 305 to execute various functional applications and data processing of the device.
  • the memory 305 may be an internal memory or an external memory, or include both an internal memory and an external memory.
  • the internal memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory.
  • ROM read-only memory
  • PROM programmable ROM
  • EPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • flash memory or a random access memory.
  • External storage can include hard disks, floppy disks, ZIP disks, U disks, magnetic tapes, and so on.
  • the memory disclosed in this application includes, but is not limited to, these types of memory.
  • the memory 305 disclosed in this application is only an example and not a limitation.
  • the input unit 307 is configured to receive an input of a signal and a keyword input by a user.
  • the input unit 307 may include a touch panel and other input devices.
  • the touch panel can collect the user's touch operations on or near it (such as the operation of the user on the touch panel or near the touch panel using any suitable object or accessory such as a finger or a stylus), and according to a preset
  • the program drives the corresponding connection device; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as playback control keys, switch keys, etc.), a trackball, a mouse, and an joystick.
  • the display unit 309 may be used to display information input by the user or information provided to the user and various menus of the computer device.
  • the display unit 309 may take the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the processor 303 is the control center of the computer equipment. It uses various interfaces and lines to connect various parts of the entire computer. It runs or executes software programs and / or modules stored in the memory 303, and calls data stored in the memory to execute. Various functions and processing data.
  • One or more processors 303 shown in FIG. 3 can execute and implement the functions of the game module 100, the scoring module 200, the unlocking module 300, and the updating module 400 shown in FIG.
  • the terminal includes one or more processors 303, and one or more memories 305, and one or more application programs 301, wherein the one or more application programs 301 are stored in the memory 305 And is configured to be executed by the one or more processors 303, and the one or more application programs 301 are configured to execute the method for unlocking based on the Tetris game described in the above embodiment.
  • a terminal provided in the embodiment of the present application may be used to determine an unlocked resource corresponding to the selected application when the selected application is triggered, and load the unlocked resource to display the unlocking of the Tetris game corresponding to the unlocked resource.
  • the unlocking interface includes a block with a gap at the bottom and a falling block, and when an operation instruction is received, the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction; when the falling block reaches the bottom
  • a corresponding score is obtained according to the rules of the Tetris game; when the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and the selected application is entered.
  • the Tetris score is calculated once and compared with the preset score of the unlocked resource.
  • the unlocking method is novel and interesting, and there is only one chance to operate the falling block each time it is unlocked. , Only when the score this time is the same as the preset score, you can unlock successfully, enter the selected application, take into account the security required for unlocking, and use the Tetris game as the unlocking method, which has a strong appeal and improves the provision of the Unlock the brand awareness of the app.
  • the terminal provided by this application can also realize that the unlocked resource also includes the introduction information of the specified product.
  • the preset score of the unlocked resource is associated with the introduction information.
  • the unlocking interface of the Tetris game and superimposing the introduction information of the specified product on the unlocking interface of the Tetris game, on the one hand, it can display the product of the specified company, on the other hand, it can give the user a hidden hint, so that other users can Unable to easily guess the preset score and unlock it. Only users who know the relationship between the introduction information and the preset score can quickly perform the unlock operation. Avoiding a fixed score allows others to easily guess the preset score of the unlocked resource, which improves The security of this unlocking method.
  • the server provided in the embodiment of the present application can implement the foregoing embodiment of the method for unlocking based on the Tetris game.
  • the server provided in the embodiment of the present application can implement the foregoing embodiment of the method for unlocking based on the Tetris game.

Abstract

The present application relates to the field of software applications, in particular to an unlocking method and device based on a Tetris game, a storage medium and a terminal, the method comprising: when a selected application is triggered, determining an unlocking resource corresponding to the selected application, and loading the unlocking resource so as to display a Tetris game unlocking interface corresponding to the unlocking resource, the unlocking interface comprising a box which retains empty blocks at the bottom and drop blocks; when an operation instruction is received, changing the form of the drop blocks according to the rules of the Tetris game corresponding to the operation instruction; when a drop block reaches the bottom and adapts to the empty space, obtaining a corresponding score according to the rules of the Tetris game; and when the score is the same as a preset score corresponding to the unlocking resource, succeeding in unlocking and entering the selected application program. The present application provides an unlocking method which takes both security and entertainment into consideration.

Description

基于俄罗斯方块游戏的解锁方法、装置及存储介质、终端Unlocking method, device, storage medium and terminal based on Tetris game
本申请要求于2018年6月8日提交中国专利局、申请号为201810589313.3,发明名称为“基于俄罗斯方块游戏的解锁方法、装置及存储介质、终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 8, 2018, with an application number of 201810589313.3 and an invention name of "Unlocking Method, Device and Storage Medium, Terminal Based on Tetris Game" Incorporated by reference in this application.
技术领域Technical field
本申请涉及软件应用领域,具体涉及一种基于俄罗斯方块游戏的解锁方法、装置及存储介质、终端。The present application relates to the field of software applications, and in particular, to an unlocking method, device, storage medium, and terminal based on a Tetris game.
背景技术Background technique
随着移动互联网的发展,人们通过手机或平板电脑等移动终端上的应用程序进行通讯、娱乐、办公、生活,移动终端的功能愈丰富,移动终端中所存储的个人隐私愈多,同时,人们越来越注重隐私,安装的某些应用程序不想让他人使用,采用对应用进行加锁,而发明人意识到目前的解锁方式一般是滑动解锁,图形解锁,密码解锁,安全性不高,且形式过于单一,无法为用户提供良好的解锁体验。With the development of the mobile Internet, people communicate, entertain, work, and live through applications on mobile terminals such as mobile phones or tablets. The richer the functions of mobile terminals, the more personal privacy stored in mobile terminals. At the same time, people More and more attention is paid to privacy. Some installed applications do not want to be used by others and lock the application. The inventors realized that the current unlocking methods are generally slide unlocking, graphic unlocking, password unlocking, and low security, and The form is too simple to provide users with a good unlocking experience.
发明内容Summary of the Invention
为克服以上技术问题,特别是现有技术解锁方式单一、解锁体验不好的问题,特提出以下技术方案:In order to overcome the above technical problems, especially the problems of the single unlocking method and poor unlocking experience in the prior art, the following technical solutions are proposed:
第一方面,本申请提供了一种基于俄罗斯方块游戏的解锁方法,包括:当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。In a first aspect, the present application provides a method for unlocking based on a Tetris game, comprising: when a selected application is triggered, determining an unlock resource corresponding to the selected application, and loading the unlock resource to display the unlock The unlocking interface of the Tetris game corresponding to the resource. The unlocking interface includes a block with a gap at the bottom and a falling block. When an operation instruction is received, the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction. ; When the falling block reaches the bottom and adapts to the gap, a corresponding score is obtained according to the rules of the Tetris game; when the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and enters The selected application.
第二方面,本申请提供一种基于俄罗斯方块游戏的解锁装置,包括:游戏模块:用于当被选择应用被触发时,确定所述被选择应用对应的解锁 资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;计分模块:用于当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;解锁模块:用于当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。In a second aspect, the present application provides an unlocking device based on a Tetris game, including: a game module: used to determine an unlocked resource corresponding to the selected application when the selected application is triggered, and load the unlocked resource to Displaying the unlocking interface of the Tetris game corresponding to the unlocking resource, the unlocking interface including a block with a gap left at the bottom and a falling block, and when receiving an operation instruction, transforming the operation according to the Tetris game rules corresponding to the operation instruction The form of the falling block; scoring module: used to obtain the corresponding score according to the Tetris game rules when the falling block reaches the bottom and fits the gap; unlocking module: used when the score and the When the preset scores corresponding to the unlocked resources are the same, the unlocking is successful and the selected application is entered.
第三方面,本申请还提供了一种计算机可读非易失性存储介质,所述计算机可读非易失性存储介质上存储有计算机程序,该程序被处理器执行时实现基于俄罗斯方块游戏的解锁方法的下述操作:当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。According to a third aspect, the present application also provides a computer-readable non-volatile storage medium. The computer-readable non-volatile storage medium stores a computer program, and when the program is executed by a processor, a Tetris-based game is implemented. The following operation of the unlocking method: when a selected application is triggered, determining an unlocking resource corresponding to the selected application, and loading the unlocking resource to display an unlocking interface of a Tetris game corresponding to the unlocking resource, the The unlock interface includes a block with a gap at the bottom and a falling block. When an operation instruction is received, the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction; when the falling block reaches the bottom and matches the When the gap is adapted, a corresponding score is obtained according to the rules of the Tetris game; when the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and the selected application is entered.
第四方面,本申请还提供了一种终端,所述终端包括一个或多个处理器、存储器、一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行基于俄罗斯方块游戏的解锁方法的下述操作:当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。According to a fourth aspect, the present application further provides a terminal, where the terminal includes one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more programs configured to perform the following operations of the Tetris-based unlock method: when a selected application is triggered, determining the selected Apply the corresponding unlock resource and load the unlock resource to display the unlock interface of the Tetris game corresponding to the unlock resource. The unlock interface includes a block with a gap at the bottom and a falling block. When an operation instruction is received, The Tetris game rule corresponding to the operation instruction transforms the shape of the falling block; when the falling block reaches the bottom and fits the gap, a corresponding score is obtained according to the Tetris game rule; when the score When the preset score corresponding to the unlocked resource is the same, the unlock is successful and the selected application is entered.
本申请提供了一种基于俄罗斯方块游戏的应用解锁的功能,通过一次 的计算俄罗斯方块的得分与解锁资源的预置得分相比较,解锁方式新颖有趣,且每一次解锁时只有一次操作下落的方块的机会,只有当本次的分数与预置分数相同时,才能解锁成功,进入被选择应用,兼顾解锁所需的安全性,并且使用俄罗斯方块游戏作为解锁方式,具有很强的吸引力,提高提供该解锁方式的应用的品牌的知名度。This application provides a function of unlocking an application based on a Tetris game. By comparing the score of the Tetris with a preset score of the unlocked resource, the unlocking method is novel and interesting, and the falling block is only operated once each time. Chance, only when the score this time is the same as the preset score, you can unlock successfully, enter the selected application, take into account the security required for unlocking, and use the Tetris game as the unlocking method, which has a strong appeal and improves The brand name of the application that provides the unlock method.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请基于俄罗斯方块游戏的解锁方法的一实施例流程示意图;FIG. 1 is a schematic flowchart of an embodiment of a method for unlocking a Tetris game based on this application; FIG.
图2为本申请基于俄罗斯方块游戏的解锁装置的一实施例示意图;2 is a schematic diagram of an embodiment of an unlocking device based on a Tetris game in this application;
图3为本申请终端的一实施例结构示意图。FIG. 3 is a schematic structural diagram of an embodiment of a terminal of this application.
具体实施方式Detailed ways
本申请实施例提供一种基于俄罗斯方块游戏的解锁方法,该方法所实现的功能集成在终端的操作系统上,或集成终端的应用上,以终端为本申请实施例的执行主体,执行、实现所述方法的功能,如图1所示,所述方法包括以下步骤:The embodiment of the present application provides a method for unlocking a Tetris-based game. The functions implemented by the method are integrated on the terminal's operating system or integrated with the terminal's application. The terminal is the execution subject of the embodiment of this application. The function of the method is shown in Figure 1. The method includes the following steps:
S100:当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态。S100: When the selected application is triggered, determine the unlock resource corresponding to the selected application, and load the unlock resource to display the unlock interface of the Tetris game corresponding to the unlock resource. The unlock interface includes a bottom left The gapped block and the falling block, when receiving an operation instruction, change the shape of the falling block according to the rules of the Tetris game corresponding to the operation instruction.
本申请实施例的应用场景为对应用的解锁,而不是针对终端系统的解锁。当用户选择开启某一个应用时,该应用即为本实施例所述的被选择应用,开启被选择应用相当于被选择应用被触发,然后终端会获取、确定所述被选择应用的解锁资源,本实施例的解锁资源包括游戏类型、游戏规则及解锁规则,本实施例的解锁资源的游戏类型为俄罗斯方块游戏。在获取了解锁资源后,加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,即在进入所述被选择应用之前呈现该解锁资源对应的俄罗斯方块游戏的解锁界面,本实施例中,所呈现的俄罗斯方块游戏的解锁界面并非是全新开始的俄罗斯方块游戏界面,而是,在俄罗斯方块游戏的 解锁界面的底部已经存在方块,且该些存在的方块形成了特定缺口,同时,还包括一个下落方块,然后当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态,本实施例中操作下落方块的规则与现有的俄罗斯方块游戏规则一样,用户可以在解锁界面上操作,变换下落方块的形态,让下落方块抵达底部的方块以完成应用的解锁、进入应用,下述介绍如何确定被选择应用得以成功解锁的处理过程。The application scenario of the embodiment of the present application is to unlock an application, not to unlock the terminal system. When a user chooses to open an application, the application is the selected application described in this embodiment. Opening the selected application is equivalent to being triggered by the selected application, and then the terminal obtains and determines the unlocking resource of the selected application. The unlock resource of this embodiment includes a game type, a game rule, and an unlock rule. The game type of the unlock resource of this embodiment is a Tetris game. After obtaining the unlocking resource, load the unlocking resource to display the unlocking interface of the Tetris game corresponding to the unlocking resource, that is, present the unlocking interface of the Tetris game corresponding to the unlocking resource before entering the selected application. In the embodiment, the presented unlocking interface of the Tetris game is not a newly started Tetris game interface, but a block already exists at the bottom of the unlocking interface of the Tetris game, and the existing blocks form a specific gap. At the same time, it also includes a falling block, and then when an operation instruction is received, the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction. In this embodiment, the rules for operating the falling block and the existing Tetris The rules of the game are the same. The user can operate on the unlock interface to change the shape of the falling block and let the falling block reach the bottom block to complete the application unlocking and enter the application. The following describes how to determine the processing of the selected application successfully unlocked.
S200:当所述下落方块抵达底部并与所述缺口适配时,根据俄罗斯方块游戏规则获得相应的分数。S200: When the falling block reaches the bottom and fits the gap, a corresponding score is obtained according to the rules of the Tetris game.
本实施例中,用户可以在俄罗斯方块游戏的解锁界面上操控下落方块,控制下落方块进行变形、改变下落方块的位置,当所述下落方块抵达底部,并于底部确定的方块所形成的缺口适配时,根据俄罗斯方块游戏规则计算本次获得的相应的分数,例如当下落方块抵达底部的方块时,若消除底部1行方块则计1分,消除底部2行方块则计2分。优选的,本实施例中,每一次进入解锁界面后,下落方块只有一个,计算分数亦只有一次,进一步的,用户还可以自行设定每消除底部1行所得的分数,例如用户设定每消除底部1行所得分数为1.5分,当下落方块抵达底部的方块并消除了2行方块时,则本次的分数为3分,将该分数设置得与他人对俄罗斯方块游戏的惯性认知不同,避免他人能够轻易猜中解锁资源对应的预置分数以进入应用,提高解锁的安全性,提高对用户的隐私保护。In this embodiment, the user can control the falling block on the unlocking interface of the Tetris game, control the falling block to deform, change the position of the falling block, and when the falling block reaches the bottom, the gap formed by the block determined at the bottom is suitable. At the time, the corresponding score obtained this time is calculated according to the rules of the Tetris game. For example, when the falling block reaches the bottom block, if the bottom row of blocks is eliminated, 1 point will be counted, and the bottom 2 rows of blocks will be counted as 2 points. Preferably, in this embodiment, after entering the unlock interface each time, there is only one falling block, and the score is calculated only once. Further, the user can also set the score obtained by eliminating one line at the bottom, for example, the user sets each elimination The score on the bottom 1 line is 1.5 points. When the falling block reaches the bottom block and 2 rows of blocks are eliminated, the score this time is 3 points. This score is set different from others' perception of the inertia of the Tetris game. Prevent others from easily guessing the preset score corresponding to the unlocked resource to enter the application, improve the security of unlocking, and improve the privacy protection of the user.
S300:当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。S300: When the score is the same as the preset score corresponding to the unlocked resource, the unlocking is successful and the selected application is entered.
本实施例中,每一次进入解锁界面后只有一次机会进行解锁,即只有一个下落方块,当本次操作下落方块抵达底部确定的方块后所得的分数即为本次的分数,在一次解锁界面中不再出现第二个下落方块可以叠加本次的分数。因而,当本次的所述分数与所述解锁资源对应的预置分数相同时,解锁成功,便可以进入所述被选择应用。可选的,所述解锁资源对应的预置分数可由用户自行设置,例如用户设置解锁资源的预置分数为3分,加载所述解锁资源呈现的俄罗斯方块游戏的解锁界面则需要满足下落方块抵达底部的方块后能够获得的一次分数等于或大于3分。例如,每消除底 部1行所得分数为1分,当下落方块抵达底部留有缺口的方块后,下落方块与缺口结合消除了底部3行方块,则本次的分数为3分,与所述预置分数相同,此时解锁成功,便可进入所述被选择应用。进一步的,用户还可以自行设定每消除底部1行所得的分数,例如用户设定每消除底部1行所得分数为1.5分,则当预置分数为3分时,只需要控制所述下落方块抵达底部的方块时能够消除2行方块即可,与他人对俄罗斯方块游戏的惯性认知不同,避免他人能够轻易猜中解锁资源对应的预置分数以进入应用,提高解锁的安全性,提高对用户的隐私保护。In this embodiment, there is only one chance to unlock each time after entering the unlock interface, that is, there is only one falling block. The score obtained when the falling block reaches the block determined at the bottom of this operation is the current score. The second falling square can no longer be used to superimpose this score. Therefore, when the score this time is the same as the preset score corresponding to the unlocked resource, the unlock is successful, and the selected application can be entered. Optionally, the preset score corresponding to the unlocked resource can be set by the user, for example, the user sets the preset score of the unlocked resource to 3 points, and the unlock interface of the Tetris game presented by loading the unlocked resource needs to meet the falling block arrival The number of points that can be obtained after the bottom square is equal to or greater than 3 points. For example, the score obtained by eliminating 1 row at the bottom is 1 point. When the falling block reaches the block with a gap at the bottom, the combination of the falling block and the gap eliminates the 3 rows at the bottom, and the current score is 3 points. The setting score is the same. At this time, the unlocking is successful, and the selected application can be entered. Further, the user can also set the score obtained by eliminating 1 line at the bottom, for example, the user sets the score obtained by removing 1 line at the bottom to 1.5 points. When the preset score is 3 points, only the falling block needs to be controlled. When you reach the bottom block, you can eliminate 2 rows of blocks, which is different from other people ’s inertia perception of the Tetris game. It prevents others from easily guessing the preset score corresponding to the unlocked resource to enter the application, improving the security of unlocking, and improving the User privacy protection.
优选的,每一次解锁界面得到的所述本次的分数不在解锁界面上展示,这样,若其他用户尝试通过多次测试而窥探得分的规则时,亦无法轻易知道得分规则,例如每消除底部1行方块是1分还是1.5分,从而提高密码的安全性。Preferably, the current score obtained at each unlocking interface is not displayed on the unlocking interface. In this way, if other users try to snoop the score rules through multiple tests, they cannot easily know the score rules. The line box is 1 point or 1.5 points to improve the security of the password.
本实施例提供了一种基于俄罗斯方块游戏的应用解锁的功能,通过一次的计算俄罗斯方块的得分与解锁资源的预置得分相比较,解锁方式新颖有趣,且每一次解锁时只有一次操作下落的方块的机会,只有当本次的分数与预置分数相同时,才能解锁成功,进入被选择应用,兼顾解锁所需的安全性,并且使用俄罗斯方块游戏作为解锁方式,具有很强的吸引力,提高提供该解锁方式的应用的品牌的知名度。This embodiment provides a function of unlocking an application based on a Tetris game. By comparing the score of the Tetris with a preset score of the unlocked resource by one calculation, the unlocking method is novel and interesting, and there is only one operation to drop each time the unlock is performed. The chance of the cube can only be unlocked successfully when the score this time is the same as the preset score, enter the selected application, take into account the security required for unlocking, and use the Tetris game as the unlocking method, which has a strong appeal. Increase awareness of brands that provide apps that unlock this way.
具体的,本申请的一种实施例,所述解锁资源还包含指定产品的介绍信息,所述显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,还包括:Specifically, in an embodiment of the present application, the unlocking resource further includes introduction information of the specified product, and the displaying the unlocking interface of the Tetris game corresponding to the unlocking resource further includes:
在所述俄罗斯方块游戏的解锁界面上层叠加显示所述指定产品的介绍信息;所述解锁资源的预置分数与所述介绍信息相关联。The introduction information of the designated product is superimposed and displayed on the unlocking interface of the Tetris game; the preset score of the unlocking resource is associated with the introduction information.
本实施例,所述解锁资源还包含指定产品的介绍信息,所述解锁资源的预置分数与所述介绍信息相关联,在加载所述解锁资源后,呈现所述解锁资源对应的俄罗斯方块游戏的解锁界面,并在所述俄罗斯方块游戏的解锁界面上层叠加显示所述指定产品的介绍信息。例如指定产品为XX公司的一款理财产品,介绍信息为该理财产品的年化率为5%,本实施例中所述解锁资源的预置分数与所述介绍信息相关联,则所述预置分数为5分,介绍信息与预置分数如何关联的细则用户已知,或由用户自定义,将产品 的介绍信息与预置分数的对应关系在用户启用本实施例的方式解锁时告知用户,只需要让用户能够从所述介绍信息中了解到预置分数即可。当用户进入解锁界面时,将该理财产品的介绍信息展示在解锁界面上,一方面可以展示XX公司的产品,另一方面可以给予用户隐蔽的提示,这样其他用户便无法轻易猜出预置分数而进行解锁,并且,每一次解锁时,解锁资源的指定产品可以通过特定规则进行更换,介绍信息亦不相同,则所述预置分数也相应更改,避免固定的分数让其他人容易猜出解锁资源的预置分数。优选的,当解锁失败时,同样更新解锁资源所关联的指定产品,相应地解锁资源的预置分数也会改变,让密码更加安全。In this embodiment, the unlocked resource further includes introduction information of the specified product, and a preset score of the unlocked resource is associated with the introduction information. After loading the unlocked resource, a Tetris game corresponding to the unlocked resource is presented. And an introduction interface of the specified product is superimposed on the unlock interface of the Tetris game. For example, the designated product is a wealth management product of company XX, and the introduction information is that the annualized rate of the wealth management product is 5%. The preset score of the unlocked resource in this embodiment is associated with the introduction information, then the Set the score to 5 points. The details of how the introduction information is related to the preset score are known to the user, or can be customized by the user. The correspondence between the product introduction information and the preset score is notified to the user when the user unlocks the method of this embodiment. , As long as the user can learn the preset score from the introduction information. When the user enters the unlock interface, the introduction information of the wealth management product is displayed on the unlock interface. On the one hand, the product of XX company can be displayed, and on the other hand, a hidden hint can be given to the user, so that other users cannot easily guess the preset score. Unlock, and every time you unlock, the designated product of the unlocked resource can be replaced by specific rules, and the introduction information is also different, the preset score is also changed accordingly, to avoid fixed scores for others to easily guess the unlock The preset score of the resource. Preferably, when the unlocking fails, the designated product associated with the unlocked resource is also updated, and the preset score of the unlocked resource is changed accordingly, making the password more secure.
进一步的,本申请的一种实施例,在所述根据所述俄罗斯方块游戏规则获得相应的分数之后,还包括:Further, in an embodiment of the present application, after the obtaining a corresponding score according to the rules of the Tetris game, the method further includes:
当所述分数与所述解锁资源对应的预置分数不同时,解锁失败,更新所述俄罗斯方块游戏的解锁界面以让用户重新进行解锁操作。When the score is different from the preset score corresponding to the unlock resource, the unlock fails, and the unlock interface of the Tetris game is updated to allow the user to perform the unlock operation again.
可以知道的是,解锁的时候会出现成功或失败的结果,上述实施例介绍了如何确定被选择应用得以成功解锁的处理过程,本实施例中,介绍如何确定被选择应用解锁失败的处理过程。本实施例中,如果所获得的分数与所述解锁资源对应的预置分数不同时,则表示解锁失败,无法进入所述被选择应用,需要用户重新进行解锁操作;重新进行解锁操作即更新所述俄罗斯方块游戏的解锁界面,让用户重新操作下落方块抵达底部确定的方块,然后再根据俄罗斯方块规则计算出本次对应的分数,直到所述分数与解锁资源对应的预置分数相同时,才能成功解锁、进入所述被选择应用。It can be known that success or failure results will occur when unlocking. The above embodiment describes the process of determining how the selected application was successfully unlocked. In this embodiment, how to determine the process of determining that the selected application fails to unlock. In this embodiment, if the obtained score is different from the preset score corresponding to the unlocked resource, it indicates that the unlocking has failed, the selected application cannot be entered, and the user needs to perform the unlocking operation again; re-performing the unlocking operation will update the website. The unlocking interface of the Tetris game is described, allowing the user to re-operate the falling block to the block determined at the bottom, and then calculate the corresponding score according to the rules of Tetris until the score is the same as the preset score corresponding to the unlocked resource. Successfully unlock and enter the selected application.
进一步的,本申请可选的实施例,所述更新所述俄罗斯方块游戏的解锁界面,包括:Further, in an optional embodiment of the present application, the updating the unlocking interface of the Tetris game includes:
根据所述解锁资源重载所述俄罗斯方块游戏的解锁界面;或Reload the unlock interface of the Tetris game according to the unlock resource; or
获取所述被选择应用的新的解锁资源,加载所述新的解锁资源,根据所述新的解锁资源更新所述俄罗斯方块游戏的解锁界面。Acquiring a new unlock resource of the selected application, loading the new unlock resource, and updating the unlock interface of the Tetris game according to the new unlock resource.
当解锁失败时,本申请可选的一种实施方式为,根据原有的解锁资源重载所述俄罗斯方块游戏的解锁界面,即当第一次解锁失败时,进行第二次解锁时同样呈现与第一次解锁时相同的俄罗斯方块游戏的解锁界面,包 含相同的底部的方块及相同的下落方块。本申请可选的另一种实施方式为,当解锁失败时,获取所述被选择应用新的解锁资源,加载所述新的解锁资源,根据所述新的解锁资源更新所述俄罗斯方块游戏的解锁界面,即当第一次解锁失败时,进行第二次解锁时,呈现与第一次解锁时不同的俄罗斯方块游戏的解锁界面,包括呈现新的底部的方块及新的下落方块,并优选所述预置分数不更改。When the unlocking fails, an optional implementation method of the present application is to reload the unlocking interface of the Tetris game according to the original unlocking resources, that is, when the first unlocking fails, the second unlocking is also presented. The unlocking interface of the same Tetris game as when it was first unlocked, including the same bottom block and the same falling block. Another optional implementation of this application is: when unlocking fails, obtain a new unlocked resource of the selected application, load the new unlocked resource, and update the Tetris game according to the new unlocked resource. Unlock interface, that is, when the first unlock fails, when the second unlock is performed, the unlock interface of the Tetris game that is different from the first unlock is displayed, including the new bottom block and the new falling block. The preset score does not change.
进一步的,上述实施例中,当所述解锁资源对应的预置分数为0分时,所述获取所述被选择应用的新的解锁资源,包括:Further, in the above embodiment, when the preset score corresponding to the unlocked resource is 0 points, the acquiring a new unlocked resource of the selected application includes:
获取预置分数为0分的新的解锁资源。Get a new unlocked resource with a preset score of 0 points.
本实施例主要是针对特殊情况的解锁,将预置分数设定为0分,只要所述下落方块抵达底部确定的方块不能消除任意1行时,则获得0分,并与预置分数相匹配,能成功解锁。而如果他人非法盗用了手机后,由于惯性思维,对于该俄罗斯方块解锁方式,肯定是认为“得分”才是正确解锁方式,而本方案反其道而行,让盗用手机的人无法轻易地窥探正确的解锁方式。This embodiment is mainly for unlocking in special cases, and the preset score is set to 0 points. As long as the falling block reaches the bottom of the determined block and cannot eliminate any 1 line, it will get 0 points and match the preset score. Can be successfully unlocked. And if someone else illegally steals the mobile phone, due to the inertia thinking, for the Tetris unlocking method, it is definitely considered that "scoring" is the correct unlocking method, and this solution goes the other way, so that the person who steals the mobile phone cannot easily snoop. The correct way to unlock.
本申请的一种实施例,所述解锁失败之后,更新所述俄罗斯方块游戏的解锁界面之前,还包括:According to an embodiment of the present application, after the unlocking fails, before updating the unlocking interface of the Tetris game, the method further includes:
记录解锁失败的次数;Record the number of failed unlocks;
当所述解锁失败的次数达到预定次数时,在规定时间内不再更新所述俄罗斯方块游戏的解锁界面。When the number of unlock failures reaches a predetermined number, the unlock interface of the Tetris game is no longer updated within a prescribed time.
本实施例主要是对于解锁失败次数的风险控制,当解锁失败次数达到预定次数时,则强制在规定时间内不再刷新俄罗斯方块的解锁界面,例如5分钟之内不能再更新俄罗斯方块的解锁界面,同时,为了避免由于紧急情况而使用户无法使用该应用,在解锁失败3次后,提示用户利用其它方式进行解锁,例如利用系统的指纹解锁、密码解锁或人脸识别解锁。This embodiment is mainly for the risk control of the number of unlocking failures. When the number of unlocking failures reaches a predetermined number, the Tetris unlocking interface will not be refreshed within a specified time. For example, the Tetris unlocking interface cannot be updated within 5 minutes. At the same time, in order to prevent the user from being able to use the application due to an emergency situation, after the unlocking fails 3 times, the user is prompted to use other methods to unlock, such as using the system's fingerprint unlocking, password unlocking or face recognition unlocking.
如图2所示,在另一种实施例中,本申请提供了一种基于俄罗斯方块游戏的解锁装置,包括:As shown in FIG. 2, in another embodiment, the present application provides an unlocking device based on a Tetris game, including:
游戏模块100:用于当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方 块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;Game module 100: used to determine an unlock resource corresponding to the selected application when the selected application is triggered, and load the unlock resource to display an unlock interface of a Tetris game corresponding to the unlock resource, the unlock interface It includes a block with a gap at the bottom and a falling block. When an operation instruction is received, the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction;
计分模块200:用于当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;Scoring module 200: used to obtain a corresponding score according to the rules of the Tetris game when the falling block reaches the bottom and fits the gap;
解锁模块300:用于当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。The unlocking module 300 is configured to: when the score is the same as a preset score corresponding to the unlocked resource, the unlocking is successful, and the selected application is entered.
所述解锁资源还包含指定产品的介绍信息,所述游戏模块100执行显示所述解锁资源对应的俄罗斯方块游戏的解锁界面时,还包括:The unlocking resource further includes introduction information of the designated product. When the game module 100 executes displaying an unlocking interface of a Tetris game corresponding to the unlocking resource, the method further includes:
在所述俄罗斯方块游戏的解锁界面上层叠加显示所述指定产品的介绍信息;所述解锁资源的预置分数与所述介绍信息相关联。The introduction information of the designated product is superimposed and displayed on the unlocking interface of the Tetris game; the preset score of the unlocking resource is associated with the introduction information.
本申请的一种实施例,所述装置还包括:In an embodiment of the present application, the device further includes:
更新模块400:用于当所述分数与所述解锁资源对应的预置分数不同时,解锁失败,更新所述俄罗斯方块游戏的解锁界面以让用户重新进行解锁操作。The update module 400 is configured to: when the score is different from a preset score corresponding to the unlock resource, the unlock fails, and update the unlock interface of the Tetris game to allow the user to perform the unlock operation again.
本申请的一种实施例,所述更新模块400执行更新所述俄罗斯方块游戏的解锁界面时,包括:In an embodiment of the present application, when the updating module 400 executes updating the unlock interface of the Tetris game, the method includes:
根据所述解锁资源重载所述俄罗斯方块游戏的解锁界面;或Reload the unlock interface of the Tetris game according to the unlock resource; or
获取所述被选择应用的新的解锁资源,加载所述新的解锁资源,根据所述新的解锁资源更新所述俄罗斯方块游戏的解锁界面。Acquiring a new unlock resource of the selected application, loading the new unlock resource, and updating the unlock interface of the Tetris game according to the new unlock resource.
本申请的一种实施例,所述更新模块400解锁失败之后,更新所述俄罗斯方块游戏的解锁界面之前,还包括执行:In an embodiment of the present application, after the update module 400 fails to unlock and before updating the unlock interface of the Tetris game, the method further includes:
记录解锁失败的次数;Record the number of failed unlocks;
当所述解锁失败的次数达到预定次数时,在规定时间内不再更新所述俄罗斯方块游戏的解锁界面。When the number of unlock failures reaches a predetermined number, the unlock interface of the Tetris game is no longer updated within a prescribed time.
在另一种实施例中,本申请提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现上述实施例所述的基于俄罗斯方块游戏的解锁方法。其中,所述计算机可读存储介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁 光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随即存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,存储设备包括由设备(例如,计算机、手机)以能够读的形式存储或传输信息的任何介质,可以是只读存储器,磁盘或光盘等。In another embodiment, the present application provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the program is executed by a processor, the Tetris-based game-based Unlock method. The computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory, read-only memory), and RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Programmable Read-Only Memory), flash memory, magnetic card or Rays card. That is, the storage device includes any medium that stores or transmits information in a readable form by a device (for example, a computer, a mobile phone), and may be a read-only memory, a magnetic disk, or an optical disk.
本申请实施例提供的一种计算机可读存储介质,可实现当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。通过提供一种基于俄罗斯方块游戏的应用解锁的功能,通过一次的计算俄罗斯方块的得分与解锁资源的预置得分相比较,解锁方式新颖有趣,且每一次解锁时只有一次操作下落的方块的机会,只有当本次的分数与预置分数相同时,才能解锁成功,进入被选择应用,兼顾解锁所需的安全性,并且使用俄罗斯方块游戏作为解锁方式,具有很强的吸引力,提高提供该解锁方式的应用的品牌的知名度。此外,本申请提供的计算机可读存储介质还可实现解锁资源还包含指定产品的介绍信息,所述解锁资源的预置分数与所述介绍信息相关联,在加载所述解锁资源后,呈现所述解锁资源对应的俄罗斯方块游戏的解锁界面,并在所述俄罗斯方块游戏的解锁界面上层叠加所述指定产品的介绍信息,方面可以展示指定公司的产品,另一方面可以给予用户隐蔽的提示,这样其他用户便无法轻易猜出预置分数而进行解锁,只有得知介绍信息与预置分数的关系的用户才能够快速地进行解锁操作,避免固定的分数让其他人容易猜出解锁资源的预置分数,提高该解锁方式的安全性。A computer-readable storage medium provided in the embodiment of the present application can be used to determine an unlocked resource corresponding to the selected application when the selected application is triggered, and load the unlocked resource to display the Russian corresponding to the unlocked resource. The unlocking interface of the block game. The unlocking interface includes a block with a gap at the bottom and a falling block. When an operation instruction is received, the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction. When the falling block reaches the bottom and matches the gap, a corresponding score is obtained according to the rules of the Tetris game; when the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and the selected block is entered. application. By providing a Tetris game-based application unlocking function, the Tetris score is calculated once and compared with the preset score of the unlocked resource. The unlocking method is novel and interesting, and there is only one chance to operate the falling block each time it is unlocked. , Only when the score this time is the same as the preset score, you can unlock successfully, enter the selected application, take into account the security required for unlocking, and use the Tetris game as the unlocking method, which has a strong appeal and improves the provision of the Unlock the brand awareness of the app. In addition, the computer-readable storage medium provided in this application can also realize that the unlocked resource also includes introduction information for the specified product, and the preset score of the unlocked resource is associated with the introduction information. The unlocking interface of the Tetris game corresponding to the unlocking resource, and superimposing the introduction information of the specified product on the unlocking interface of the Tetris game, on the one hand, it can display the product of the specified company, and on the other hand, it can give the user a hidden hint. In this way, other users cannot easily guess the preset score and unlock it. Only users who know the relationship between the introduction information and the preset score can quickly perform the unlock operation. Avoiding fixed scores makes it easy for others to guess the unlocked resources. Set points to improve the security of this unlock method.
本申请实施例提供的计算机可读存储介质可以实现上述基于俄罗斯 方块游戏的解锁方法的实施例,具体功能实现请参见方法实施例中的说明,在此不再赘述。The computer-readable storage medium provided in the embodiment of the present application can implement the foregoing embodiment of the method for unlocking Tetris-based games. For specific function implementation, refer to the description in the method embodiment, and details are not described herein.
此外,在又一种实施例中,本申请还提供一种终端,如图3所示,所述服务器处理器303、存储器305、输入单元307以及显示单元309等器件。本领域技术人员可以理解,图3示出的结构器件并不构成对所有服务器的限定,可以包括比图示更多或更少的部件,或者组合某些部件。存储器305可用于存储应用程序301以及各功能模块,处理器303运行存储在存储器305的应用程序301,从而执行设备的各种功能应用以及数据处理。存储器305可以是内存储器或外存储器,或者包括内存储器和外存储器两者。内存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)、快闪存储器、或者随机存储器。外存储器可以包括硬盘、软盘、ZIP盘、U盘、磁带等。本申请所公开的存储器包括但不限于这些类型的存储器。本申请所公开的存储器305只作为例子而非作为限定。In addition, in another embodiment, the present application further provides a terminal. As shown in FIG. 3, the server processor 303, the memory 305, the input unit 307, and the display unit 309 are devices. Those skilled in the art can understand that the structural device shown in FIG. 3 does not constitute a limitation on all servers, and may include more or fewer components than shown in the figure, or combine some components. The memory 305 may be used to store an application program 301 and various functional modules, and the processor 303 runs the application program 301 stored in the memory 305 to execute various functional applications and data processing of the device. The memory 305 may be an internal memory or an external memory, or include both an internal memory and an external memory. The internal memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory. External storage can include hard disks, floppy disks, ZIP disks, U disks, magnetic tapes, and so on. The memory disclosed in this application includes, but is not limited to, these types of memory. The memory 305 disclosed in this application is only an example and not a limitation.
输入单元307用于接收信号的输入,以及接收用户输入的关键字。输入单元307可包括触控面板以及其它输入设备。触控面板可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程序驱动相应的连接装置;其它输入设备可以包括但不限于物理键盘、功能键(比如播放控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。显示单元309可用于显示用户输入的信息或提供给用户的信息以及计算机设备的各种菜单。显示单元309可采用液晶显示器、有机发光二极管等形式。处理器303是计算机设备的控制中心,利用各种接口和线路连接整个电脑的各个部分,通过运行或执行存储在存储器303内的软件程序和/或模块,以及调用存储在存储器内的数据,执行各种功能和处理数据。图3中所示的一个或多个处理器303能够执行、实现图2中所示的游戏模块100、计分模块200、解锁模块300、更新模块400的功能。The input unit 307 is configured to receive an input of a signal and a keyword input by a user. The input unit 307 may include a touch panel and other input devices. The touch panel can collect the user's touch operations on or near it (such as the operation of the user on the touch panel or near the touch panel using any suitable object or accessory such as a finger or a stylus), and according to a preset The program drives the corresponding connection device; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as playback control keys, switch keys, etc.), a trackball, a mouse, and an joystick. The display unit 309 may be used to display information input by the user or information provided to the user and various menus of the computer device. The display unit 309 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 303 is the control center of the computer equipment. It uses various interfaces and lines to connect various parts of the entire computer. It runs or executes software programs and / or modules stored in the memory 303, and calls data stored in the memory to execute. Various functions and processing data. One or more processors 303 shown in FIG. 3 can execute and implement the functions of the game module 100, the scoring module 200, the unlocking module 300, and the updating module 400 shown in FIG.
在一种实施方式中,所述终端包括一个或多个处理器303,以及一个或多个存储器305,一个或多个应用程序301,其中所述一个或多个应用 程序301被存储在存储器305中并被配置为由所述一个或多个处理器303执行,所述一个或多个应用程序301配置用于执行以上实施例所述的基于俄罗斯方块游戏的解锁方法。In one embodiment, the terminal includes one or more processors 303, and one or more memories 305, and one or more application programs 301, wherein the one or more application programs 301 are stored in the memory 305 And is configured to be executed by the one or more processors 303, and the one or more application programs 301 are configured to execute the method for unlocking based on the Tetris game described in the above embodiment.
本申请实施例提供的一种终端,可实现当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。通过提供一种基于俄罗斯方块游戏的应用解锁的功能,通过一次的计算俄罗斯方块的得分与解锁资源的预置得分相比较,解锁方式新颖有趣,且每一次解锁时只有一次操作下落的方块的机会,只有当本次的分数与预置分数相同时,才能解锁成功,进入被选择应用,兼顾解锁所需的安全性,并且使用俄罗斯方块游戏作为解锁方式,具有很强的吸引力,提高提供该解锁方式的应用的品牌的知名度。此外,本申请提供的终端还可实现解锁资源还包含指定产品的介绍信息,所述解锁资源的预置分数与所述介绍信息相关联,在加载所述解锁资源后,呈现所述解锁资源对应的俄罗斯方块游戏的解锁界面,并在所述俄罗斯方块游戏的解锁界面上层叠加所述指定产品的介绍信息,方面可以展示指定公司的产品,另一方面可以给予用户隐蔽的提示,这样其他用户便无法轻易猜出预置分数而进行解锁,只有得知介绍信息与预置分数的关系的用户才能够快速地进行解锁操作,避免固定的分数让其他人容易猜出解锁资源的预置分数,提高该解锁方式的安全性。A terminal provided in the embodiment of the present application may be used to determine an unlocked resource corresponding to the selected application when the selected application is triggered, and load the unlocked resource to display the unlocking of the Tetris game corresponding to the unlocked resource. Interface, the unlocking interface includes a block with a gap at the bottom and a falling block, and when an operation instruction is received, the shape of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction; when the falling block reaches the bottom When adapting to the gap, a corresponding score is obtained according to the rules of the Tetris game; when the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and the selected application is entered. By providing a Tetris game-based application unlocking function, the Tetris score is calculated once and compared with the preset score of the unlocked resource. The unlocking method is novel and interesting, and there is only one chance to operate the falling block each time it is unlocked. , Only when the score this time is the same as the preset score, you can unlock successfully, enter the selected application, take into account the security required for unlocking, and use the Tetris game as the unlocking method, which has a strong appeal and improves the provision of the Unlock the brand awareness of the app. In addition, the terminal provided by this application can also realize that the unlocked resource also includes the introduction information of the specified product. The preset score of the unlocked resource is associated with the introduction information. After the unlocked resource is loaded, the corresponding unlocked resource is presented. The unlocking interface of the Tetris game, and superimposing the introduction information of the specified product on the unlocking interface of the Tetris game, on the one hand, it can display the product of the specified company, on the other hand, it can give the user a hidden hint, so that other users can Unable to easily guess the preset score and unlock it. Only users who know the relationship between the introduction information and the preset score can quickly perform the unlock operation. Avoiding a fixed score allows others to easily guess the preset score of the unlocked resource, which improves The security of this unlocking method.
本申请实施例提供的服务器可以实现上述提供的基于俄罗斯方块游戏的解锁方法的实施例,具体功能实现请参见方法实施例中的说明,在此不再赘述。The server provided in the embodiment of the present application can implement the foregoing embodiment of the method for unlocking based on the Tetris game. For specific function implementation, refer to the description in the method embodiment, and details are not described herein again.

Claims (20)

  1. 一种基于俄罗斯方块游戏的解锁方法,包括:An unlocking method based on a Tetris game, including:
    当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;When the selected application is triggered, determine the unlock resource corresponding to the selected application, and load the unlock resource to display the unlock interface of the Tetris game corresponding to the unlock resource. The unlock interface includes a gap left at the bottom. When receiving an operation instruction, changing the shape of the falling block according to the rules of the Tetris game corresponding to the operation instruction;
    当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;When the falling block reaches the bottom and fits the gap, a corresponding score is obtained according to the rules of the Tetris game;
    当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。When the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and the selected application is entered.
  2. 根据权利要求1所述的方法,所述解锁资源还包含指定产品的介绍信息,所述显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,还包括:The method according to claim 1, wherein the unlocking resource further comprises introduction information of the designated product, and the displaying an unlocking interface of the Tetris game corresponding to the unlocking resource further comprises:
    在所述俄罗斯方块游戏的解锁界面上层叠加显示所述指定产品的介绍信息;所述解锁资源的预置分数与所述介绍信息相关联。The introduction information of the designated product is superimposed and displayed on the unlocking interface of the Tetris game; the preset score of the unlocking resource is associated with the introduction information.
  3. 根据权利要求1所述的方法,所述根据所述俄罗斯方块游戏规则获得相应的分数之后,还包括:The method according to claim 1, after obtaining the corresponding score according to the rules of the Tetris game, further comprising:
    当所述分数与所述解锁资源对应的预置分数不同时,解锁失败,更新所述俄罗斯方块游戏的解锁界面以让用户重新进行解锁操作。When the score is different from the preset score corresponding to the unlock resource, the unlock fails, and the unlock interface of the Tetris game is updated to allow the user to perform the unlock operation again.
  4. 根据权利要求3所述的方法,所述更新所述俄罗斯方块游戏的解锁界面,包括:The method according to claim 3, wherein updating the unlock interface of the Tetris game comprises:
    根据所述解锁资源重载所述俄罗斯方块游戏的解锁界面;或,Reloading the unlock interface of the Tetris game according to the unlock resource; or,
    获取所述被选择应用的新的解锁资源,加载所述新的解锁资源,根据所述新的解锁资源更新所述俄罗斯方块游戏的解锁界面。Acquiring a new unlock resource of the selected application, loading the new unlock resource, and updating the unlock interface of the Tetris game according to the new unlock resource.
  5. 根据权利要求3所述的方法,所述解锁失败之后,更新所述俄罗斯方块游戏的解锁界面之前,还包括:The method according to claim 3, after the unlocking fails, before updating the unlocking interface of the Tetris game, further comprising:
    记录解锁失败的次数;Record the number of failed unlocks;
    当所述解锁失败的次数达到预定次数时,在规定时间内不再更新所述 俄罗斯方块游戏的解锁界面。When the number of unlock failures reaches a predetermined number, the unlock interface of the Tetris game is no longer updated within a prescribed time.
  6. 一种基于俄罗斯方块游戏的解锁装置,包括:An unlocking device based on a Tetris game includes:
    游戏模块:用于当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;Game module: used to determine an unlock resource corresponding to the selected application when the selected application is triggered, and load the unlock resource to display an unlock interface of a Tetris game corresponding to the unlock resource, where the unlock interface includes A block with a gap left at the bottom and a falling block, when an operation instruction is received, the form of the falling block is changed according to the rules of the Tetris game corresponding to the operation instruction;
    计分模块:用于当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;Scoring module: used to obtain a corresponding score according to the rules of the Tetris game when the falling block reaches the bottom and fits the gap;
    解锁模块:用于当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。Unlocking module: When the score is the same as the preset score corresponding to the unlocked resource, the unlocking is successful and the selected application is entered.
  7. 根据权利要求6所述的装置,所述解锁资源还包含指定产品的介绍信息,所述游戏模块执行显示所述解锁资源对应的俄罗斯方块游戏的解锁界面时,还包括:The device according to claim 6, wherein the unlocking resource further includes introduction information of a specified product, and when the game module executes displaying an unlocking interface of a Tetris game corresponding to the unlocking resource, further comprising:
    在所述俄罗斯方块游戏的解锁界面上层叠加显示所述指定产品的介绍信息;所述解锁资源的预置分数与所述介绍信息相关联。The introduction information of the designated product is superimposed and displayed on the unlocking interface of the Tetris game; the preset score of the unlocking resource is associated with the introduction information.
  8. 根据权利要求6所述的装置,所述装置还包括:The apparatus according to claim 6, further comprising:
    更新模块:用于当所述分数与所述解锁资源对应的预置分数不同时,解锁失败,更新所述俄罗斯方块游戏的解锁界面以让用户重新进行解锁操作。Update module: used to update the unlock interface of the Tetris game when the score is different from the preset score corresponding to the unlocked resource to allow the user to perform the unlock operation again.
  9. 根据权利要求8所述的装置,所述更新模块执行更新所述俄罗斯方块游戏的解锁界面时,包括:The device according to claim 8, when the updating module executes updating the unlock interface of the Tetris game, comprising:
    根据所述解锁资源重载所述俄罗斯方块游戏的解锁界面;或Reload the unlock interface of the Tetris game according to the unlock resource; or
    获取所述被选择应用的新的解锁资源,加载所述新的解锁资源,根据所述新的解锁资源更新所述俄罗斯方块游戏的解锁界面。Acquiring a new unlock resource of the selected application, loading the new unlock resource, and updating the unlock interface of the Tetris game according to the new unlock resource.
  10. 根据权利要求8所述的装置,所述所述更新模块解锁失败之后,更新所述俄罗斯方块游戏的解锁界面之前,还包括执行:The device according to claim 8, after the update module fails to unlock, and before updating the unlock interface of the Tetris game, further comprising:
    记录解锁失败的次数;Record the number of failed unlocks;
    当所述解锁失败的次数达到预定次数时,在规定时间内不再更新所述 俄罗斯方块游戏的解锁界面。When the number of unlock failures reaches a predetermined number, the unlock interface of the Tetris game is no longer updated within a prescribed time.
  11. 一种计算机可读非易失性存储介质,所述计算机可读非易失性存储介质上存储有计算机程序,该程序被处理器执行时实现基于俄罗斯方块游戏的解锁方法的下述操作:A computer-readable non-volatile storage medium stores a computer program on the computer-readable non-volatile storage medium. When the program is executed by a processor, the following operations of an unlocking method based on the Tetris game are implemented:
    当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;When the selected application is triggered, determine the unlock resource corresponding to the selected application, and load the unlock resource to display the unlock interface of the Tetris game corresponding to the unlock resource. The unlock interface includes a gap left at the bottom. When receiving an operation instruction, changing the shape of the falling block according to the rules of the Tetris game corresponding to the operation instruction;
    当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;When the falling block reaches the bottom and fits the gap, a corresponding score is obtained according to the rules of the Tetris game;
    当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。When the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and the selected application is entered.
  12. 根据权利要求11所述的非易失性存储介质,所述所述解锁资源还包含指定产品的介绍信息,所述显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,还包括:The non-volatile storage medium according to claim 11, wherein the unlocking resource further includes introduction information of the designated product, and the unlocking interface displaying the Tetris game corresponding to the unlocking resource further comprises:
    在所述俄罗斯方块游戏的解锁界面上层叠加显示所述指定产品的介绍信息;所述解锁资源的预置分数与所述介绍信息相关联。The introduction information of the designated product is superimposed and displayed on the unlocking interface of the Tetris game; the preset score of the unlocking resource is associated with the introduction information.
  13. 根据权利要求11所述的非易失性存储介质,所述根据所述俄罗斯方块游戏规则获得相应的分数之后,还包括:The non-volatile storage medium according to claim 11, after the obtaining a corresponding score according to the rules of the Tetris game, further comprising:
    当所述分数与所述解锁资源对应的预置分数不同时,解锁失败,更新所述俄罗斯方块游戏的解锁界面以让用户重新进行解锁操作。When the score is different from the preset score corresponding to the unlock resource, the unlock fails, and the unlock interface of the Tetris game is updated to allow the user to perform the unlock operation again.
  14. 根据权利要求13所述的非易失性存储介质,所述所述更新所述俄罗斯方块游戏的解锁界面,包括:The non-volatile storage medium according to claim 13, wherein said updating an unlock interface of said Tetris game comprises:
    根据所述解锁资源重载所述俄罗斯方块游戏的解锁界面;或,Reloading the unlock interface of the Tetris game according to the unlock resource; or,
    获取所述被选择应用的新的解锁资源,加载所述新的解锁资源,根据所述新的解锁资源更新所述俄罗斯方块游戏的解锁界面。Acquiring a new unlock resource of the selected application, loading the new unlock resource, and updating the unlock interface of the Tetris game according to the new unlock resource.
  15. 根据权利要求13所述的非易失性存储介质,所述解锁失败之后,更新所述俄罗斯方块游戏的解锁界面之前,还包括:The non-volatile storage medium according to claim 13, after the unlocking failure, before updating the unlock interface of the Tetris game, further comprising:
    记录解锁失败的次数;Record the number of failed unlocks;
    当所述解锁失败的次数达到预定次数时,在规定时间内不再更新所述俄罗斯方块游戏的解锁界面。When the number of unlock failures reaches a predetermined number, the unlock interface of the Tetris game is no longer updated within a prescribed time.
  16. 一种终端,包括:A terminal including:
    一个或多个处理器;One or more processors;
    存储器;Memory
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行基于俄罗斯方块游戏的解锁方法的以下操作:One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications are configured to execute The following operations based on the Tetris game unlock method:
    当被选择应用被触发时,确定所述被选择应用对应的解锁资源,并加载所述解锁资源以显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,所述解锁界面包括底部留有缺口的方块及下落方块,当接收到操作指令时,根据所述操作指令对应的俄罗斯方块游戏规则变换所述下落方块的形态;When the selected application is triggered, determine the unlock resource corresponding to the selected application, and load the unlock resource to display the unlock interface of the Tetris game corresponding to the unlock resource. The unlock interface includes a gap left at the bottom. When receiving an operation instruction, changing the shape of the falling block according to the rules of the Tetris game corresponding to the operation instruction;
    当所述下落方块抵达底部并与所述缺口适配时,根据所述俄罗斯方块游戏规则获得相应的分数;When the falling block reaches the bottom and fits the gap, a corresponding score is obtained according to the rules of the Tetris game;
    当所述分数与所述解锁资源对应的预置分数相同时,解锁成功,进入所述被选择应用。When the score is the same as the preset score corresponding to the unlocked resource, the unlock is successful and the selected application is entered.
  17. 根据权利要求16所述的非易失性存储介质,所述所述解锁资源还包含指定产品的介绍信息,所述显示所述解锁资源对应的俄罗斯方块游戏的解锁界面,还包括:The non-volatile storage medium according to claim 16, wherein the unlocking resource further includes introduction information of a specified product, and the unlocking interface displaying the Tetris game corresponding to the unlocking resource further comprises:
    在所述俄罗斯方块游戏的解锁界面上层叠加显示所述指定产品的介绍信息;所述解锁资源的预置分数与所述介绍信息相关联。The introduction information of the designated product is superimposed and displayed on the unlocking interface of the Tetris game; the preset score of the unlocking resource is associated with the introduction information.
  18. 根据权利要求16所述的非易失性存储介质,所述根据所述俄罗斯方块游戏规则获得相应的分数之后,还包括:The non-volatile storage medium according to claim 16, after the obtaining a corresponding score according to the rules of the Tetris game, further comprising:
    当所述分数与所述解锁资源对应的预置分数不同时,解锁失败,更新所述俄罗斯方块游戏的解锁界面以让用户重新进行解锁操作。When the score is different from the preset score corresponding to the unlock resource, the unlock fails, and the unlock interface of the Tetris game is updated to allow the user to perform the unlock operation again.
  19. 根据权利要求18所述的非易失性存储介质,所述所述更新所述俄罗斯方块游戏的解锁界面,包括:The non-volatile storage medium according to claim 18, wherein said updating an unlock interface of said Tetris game comprises:
    根据所述解锁资源重载所述俄罗斯方块游戏的解锁界面;或,Reloading the unlock interface of the Tetris game according to the unlock resource; or,
    获取所述被选择应用的新的解锁资源,加载所述新的解锁资源,根据所述新的解锁资源更新所述俄罗斯方块游戏的解锁界面。Acquiring a new unlock resource of the selected application, loading the new unlock resource, and updating the unlock interface of the Tetris game according to the new unlock resource.
  20. 根据权利要求18所述的非易失性存储介质,所述解锁失败之后,更新所述俄罗斯方块游戏的解锁界面之前,还包括:The non-volatile storage medium according to claim 18, after the unlocking fails, before updating the unlocking interface of the Tetris game, further comprising:
    记录解锁失败的次数;Record the number of failed unlocks;
    当所述解锁失败的次数达到预定次数时,在规定时间内不再更新所述俄罗斯方块游戏的解锁界面。When the number of unlock failures reaches a predetermined number, the unlock interface of the Tetris game is no longer updated within a prescribed time.
PCT/CN2018/108092 2018-06-08 2018-09-27 Unlocking method and device based on tetris game, storage medium and terminal WO2019232989A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810589313.3 2018-06-08
CN201810589313.3A CN108985021A (en) 2018-06-08 2018-06-08 Unlocking method, device and storage medium, terminal based on Russia Bricks Game

Publications (1)

Publication Number Publication Date
WO2019232989A1 true WO2019232989A1 (en) 2019-12-12

Family

ID=64540085

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108092 WO2019232989A1 (en) 2018-06-08 2018-09-27 Unlocking method and device based on tetris game, storage medium and terminal

Country Status (2)

Country Link
CN (1) CN108985021A (en)
WO (1) WO2019232989A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103917979A (en) * 2011-08-05 2014-07-09 新人类有限公司 Method and apparatus for inputting password using game
CN105574370A (en) * 2015-12-15 2016-05-11 北京奇虎科技有限公司 Method and device for unlocking application program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461305B (en) * 2012-08-10 2017-10-13 北京奇虎科技有限公司 The scene unlocking method and terminal device of terminal device
KR101295839B1 (en) * 2012-10-10 2013-08-12 알서포트 주식회사 Game type unlocking method for information appliance with touchscreen
CN106569660A (en) * 2016-10-31 2017-04-19 上海斐讯数据通信技术有限公司 Game value-based unlocking method and apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103917979A (en) * 2011-08-05 2014-07-09 新人类有限公司 Method and apparatus for inputting password using game
CN105574370A (en) * 2015-12-15 2016-05-11 北京奇虎科技有限公司 Method and device for unlocking application program

Also Published As

Publication number Publication date
CN108985021A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US11806627B2 (en) Server device, control method performed by the server device, program, and terminal device
US20200221279A1 (en) Devices and methods for efficient emergency calling
US11695771B2 (en) Systems and methods for providing security via interactive media
EP2715597B1 (en) Picture gesture authentication
US9977882B2 (en) Multi-input user authentication on display device
US9984219B2 (en) Authentication of users with tremors
JP5830054B2 (en) System and method for remotely initiating lost mode on a computing device
US9652619B2 (en) Method of inputting confidential data on a terminal
JP2023516108A (en) Method, system and medium for anti-spoofing using eye tracking
CN107786349B (en) Security management method and device for user account
WO2019232989A1 (en) Unlocking method and device based on tetris game, storage medium and terminal
KR20200143317A (en) User authentication on display device
KR102193636B1 (en) User authentication on display device
US11819757B2 (en) Plurality of game medium sets for events according to organization rules
CN109446056B (en) Code verification method and device, electronic equipment and medium
KR102148701B1 (en) Apparatus and method for manageing game play
TW202343203A (en) Method for inputting characters with eye gazes, host, and computer readable storage medium

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: 18921965

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.03.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18921965

Country of ref document: EP

Kind code of ref document: A1