CN110795185A - Method and device for preventing quitting misoperation and electronic equipment - Google Patents

Method and device for preventing quitting misoperation and electronic equipment Download PDF

Info

Publication number
CN110795185A
CN110795185A CN201910916110.5A CN201910916110A CN110795185A CN 110795185 A CN110795185 A CN 110795185A CN 201910916110 A CN201910916110 A CN 201910916110A CN 110795185 A CN110795185 A CN 110795185A
Authority
CN
China
Prior art keywords
exit
user
error
quitting
current app
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
CN201910916110.5A
Other languages
Chinese (zh)
Inventor
陈博
郑盛麟
刘禹彤
滕德
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qilu Information Technology Co Ltd
Original Assignee
Beijing Qilu Information Technology Co Ltd
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 Beijing Qilu Information Technology Co Ltd filed Critical Beijing Qilu Information Technology Co Ltd
Priority to CN201910916110.5A priority Critical patent/CN110795185A/en
Publication of CN110795185A publication Critical patent/CN110795185A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for preventing from quitting misoperation and electronic equipment, wherein the method for preventing from quitting misoperation comprises the following steps: when the exit operation of a user on a current APP interface is detected, a target anti-error exit event associated with the current APP interface is obtained; pushing the target anti-error exit event to the user; detecting whether the quitting operation is acquired again; if the quitting operation is determined to be obtained again, quitting the current APP interface; and if the quitting operation is determined not to be acquired, continuing to reserve the current APP interface. By the technical scheme, the interface can be effectively prevented from being mistakenly quitted by the user due to mistaken touch, habitual operation and the like, the user is prevented from being required to repeatedly load the interface due to mistaken quitting, and the use experience of the user is improved.

Description

Method and device for preventing quitting misoperation and electronic equipment
Technical Field
The invention relates to the technical field of internet, in particular to a method for preventing an exit misoperation, a device for preventing the exit misoperation, electronic equipment and a computer readable storage medium.
Background
With the intelligent development of electronic equipment, more and more APPs are installed. In the process of daily access of the APP by the user, the user can easily mistakenly touch or habitually operate and mistakenly click the return key, so that the user leaves the browsing interface, the user has to reload the access interface, the operation is complicated, the time is wasted, and the use experience is influenced. For this reason, there is currently no effective solution.
Disclosure of Invention
The invention aims to solve the problem of exit misoperation in the process of accessing an APP interface.
In order to solve the above technical problem, a first aspect of the present invention provides a method for preventing an exit misoperation, including: when the exit operation of a user on a current APP interface is detected, a target anti-error exit event associated with the current APP interface is obtained; pushing the target anti-error exit event to the user; detecting whether the quitting operation is acquired again; if the quitting operation is determined to be obtained again, quitting the current APP interface; and if the quitting operation is determined not to be acquired, continuing to reserve the current APP interface.
In the technical scheme, when the exit operation of the user on the current APP interface is detected, a target anti-error exit event associated with the current APP interface is obtained and pushed to the user, after the target anti-error exit event is pushed, if the exit operation is obtained again, the current APP interface is exited, otherwise, the current interface is kept continuously, the target anti-error exit event is pushed instead of exiting directly when the exit operation is detected for the first time, the user anti-error touch control or habitual exit operation can be interrupted from the aspect of visitation, the anti-error exit event associated with the current APP is pushed on the other side, effective prompt is carried out on the user, the attention of the user is attracted, the habitual exit operation can be interrupted subjectively by the user, the user can be effectively prevented from mistakenly exiting the interface due to the error touch control, habitual operation and the like, and the user is prevented from repeatedly loading the interface due to, the use experience of the user is improved.
In the foregoing technical solution, preferably, before the step of obtaining the anti-error exit event associated with the current APP interface, the method further includes: storing a plurality of nodes and an incidence relation between each node in the plurality of nodes and the anti-error exit event; the step of obtaining the anti-false exit event associated with the current APP interface specifically includes: recording an access path of the user to the current APP interface; determining whether the exit operation occurs at a target node of the plurality of nodes; when the quitting operation is determined to occur in the target node, searching for an anti-error quitting event corresponding to the target node according to the incidence relation, and taking the anti-error quitting event as the target anti-error quitting event; wherein the target node is any one of the plurality of nodes or a designated node.
In the technical scheme, the anti-error exit event can be associated with each node in a user access path, a configurable mode is adopted, the target anti-error exit event is flexibly triggered in a proper scene, and the flow value can be effectively improved.
In any one of the foregoing technical solutions, preferably, before the step of obtaining the anti-error exit event associated with the current APP interface, the method further includes: pre-storing a plurality of keywords set by a user and an incidence relation between each keyword in the plurality of keywords and an anti-error exit event; the step of obtaining the anti-false exit event associated with the current APP interface specifically includes: judging whether any keyword can be extracted from the current APP interface; and when any keyword can be extracted, searching the anti-error exit event corresponding to any keyword from the incidence relation, and taking the anti-error exit event as the target anti-error exit event.
In this technical scheme, the user also can be self-defined prevents mistake and withdraw the event, specifically through setting up the incidence relation between keyword and the mistake of preventing withdrawing the event, through extracting the keyword in the current APP interface, according to the incidence relation, look for and the corresponding mistake of preventing of keyword that extracts and withdraw the event, wherein, the mistake of preventing that every keyword corresponds withdraws the event can be the same, also can be different, increased the interest among the people's interactive process, different users ' unnecessary demand has been satisfied, user's use experience has been promoted.
In any one of the foregoing technical solutions, preferably, the step of pushing the target anti-error exit event to the user specifically includes: and displaying the target anti-error exit event in a movable popup window mode superposed on the upper layer of the current APP interface.
In any one of the foregoing technical solutions, preferably, the step of pushing the target anti-error exit event to the user specifically includes: and hiding the current APP interface, and displaying the target anti-error exit event in a movable popup window mode.
In any one of the above technical solutions, preferably, the method further includes: detecting whether trigger information set by an anti-error exit function is acquired or not; when the trigger information is determined to be acquired, displaying a selection interface comprising a no anti-error exit option, a common anti-error exit option and a popup window anti-error exit option; if the user is detected to select the operation without the error exit prevention option, directly exiting the current APP interface when the exit operation is detected firstly; if the user selects the normal anti-error exit option, prompting the user to repeat the exit operation when the exit operation is detected firstly; and if the selected operation of the popup window anti-error exit option by the user is detected, executing the step of acquiring the target anti-error exit event associated with the current APP interface when the exit operation is detected for the first time.
In the technical scheme, the selection interface comprising the non-error exit prevention option, the common error exit prevention option and the popup window error exit prevention option is set for the user to select, so that the functions are more diversified, the user's unnecessary requirements are met, and the user use experience is further improved.
In any one of the above technical solutions, preferably, the step of detecting whether the trigger information set by the anti-false exit function is acquired specifically includes: detecting whether the pressing time borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a preset time, and if the pressing time is greater than or equal to the preset time, determining to acquire the triggering information; or detecting whether a pressing pressure value borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a threshold value, and if the pressing pressure value is equal to the threshold value, determining to acquire the trigger information; or detecting whether touch gesture information acting on the touch screen of the electronic equipment is preset gesture information or not, and if the touch gesture information is the preset gesture information, determining to acquire the trigger information.
In any one of the above technical solutions, preferably, the step of detecting whether the quitting operation is acquired again includes: receiving no quit operation within a preset time after showing the target anti-error quit event; or obtaining the confirmation operation of the user to continue browsing the current APP interface.
In order to solve the above technical problem, a second aspect of the present invention provides an exit misoperation prevention device, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a target anti-error exit event associated with a current APP interface when the exit operation of a user on the current APP interface is detected; the pushing unit is used for pushing the target anti-error exit event to the user; the first detection unit is used for detecting whether the quitting operation is acquired again; and the processing unit is used for quitting the current APP interface when the first detection unit determines that the quitting operation is obtained again, or continuing to reserve the current APP interface when the first detection unit determines that the quitting operation is not obtained.
In the technical scheme, when the exit operation of the user on the current APP interface is detected, a target anti-error exit event associated with the current APP interface is obtained and pushed to the user, after the target anti-error exit event is pushed, if the exit operation is obtained again, the current APP interface is exited, otherwise, the current interface is kept continuously, the target anti-error exit event is pushed instead of exiting directly when the exit operation is detected for the first time, the user anti-error touch control or habitual exit operation can be interrupted from the aspect of visitation, the anti-error exit event associated with the current APP is pushed on the other side, effective prompt is carried out on the user, the attention of the user is attracted, the habitual exit operation can be interrupted subjectively by the user, the user can be effectively prevented from mistakenly exiting the interface due to the error touch control, habitual operation and the like, and the user is prevented from repeatedly loading the interface due to, the use experience of the user is improved.
In the above technical solution, preferably, the method further includes: the first storage unit is used for storing a plurality of nodes and the incidence relation between each node in the plurality of nodes and the anti-error exit event; the obtaining unit is specifically configured to: recording an access path of the user to the current APP interface; determining whether the exit operation occurs at a target node of the plurality of nodes; when the quitting operation is determined to occur in the target node, searching for an anti-error quitting event corresponding to the target node according to the incidence relation, and taking the anti-error quitting event as the target anti-error quitting event; wherein the target node is any one of the plurality of nodes or a designated node.
In the technical scheme, the anti-error exit event can be associated with each node in a user access path, a configurable mode is adopted, the target anti-error exit event is flexibly triggered in a proper scene, and the flow value can be effectively improved.
In any one of the above technical solutions, preferably, the method further includes: the second storage unit is used for prestoring a plurality of keywords set by a user and an incidence relation between each keyword in the keywords and the anti-error exit event; the obtaining unit is specifically configured to: judging whether any keyword can be extracted from the current APP interface; and when any keyword can be extracted, searching the anti-error exit event corresponding to any keyword from the incidence relation, and taking the anti-error exit event as the target anti-error exit event.
In this technical scheme, the user also can be self-defined prevents mistake and withdraw the event, specifically through setting up the incidence relation between keyword and the mistake of preventing withdrawing the event, through extracting the keyword in the current APP interface, according to the incidence relation, look for and the corresponding mistake of preventing of keyword that extracts and withdraw the event, wherein, the mistake of preventing that every keyword corresponds withdraws the event can be the same, also can be different, increased the interest among the people's interactive process, different users ' unnecessary demand has been satisfied, user's use experience has been promoted.
In any one of the above technical solutions, preferably, the pushing unit is specifically configured to: and displaying the target anti-error exit event in a movable popup window mode superposed on the upper layer of the current APP interface.
In any one of the above technical solutions, preferably, the pushing unit is specifically configured to: and hiding the current APP interface, and displaying the target anti-error exit event in a movable popup window mode.
In any one of the above technical solutions, preferably, the method further includes: the second detection unit is used for detecting whether trigger information set by the anti-error exit function is acquired or not; the display unit is used for displaying a selection interface comprising a no anti-error exit option, a common anti-error exit option and a popup window anti-error exit option when the trigger information is determined to be acquired; the exit unit is used for directly exiting the current APP interface when the exit operation is detected firstly if the user selects the operation without the error exit prevention option; the prompting unit is used for prompting the user to repeat the quitting operation when the quitting operation is detected firstly if the user selects the operation of the common anti-error quitting option; the obtaining unit is specifically configured to, if a user selects an operation of the popup window anti-error exit option, obtain a target anti-error exit event associated with the current APP interface when the exit operation is detected for the first time.
In the technical scheme, the selection interface comprising the non-error exit prevention option, the common error exit prevention option and the popup window error exit prevention option is set for the user to select, so that the functions are more diversified, the user's unnecessary requirements are met, and the user use experience is further improved.
In any one of the above technical solutions, preferably, the second detecting unit is specifically configured to: detecting whether the pressing time borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a preset time, and if the pressing time is greater than or equal to the preset time, determining to acquire the triggering information; or detecting whether a pressing pressure value borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a threshold value, and if the pressing pressure value is equal to the threshold value, determining to acquire the trigger information; or detecting whether touch gesture information acting on the touch screen of the electronic equipment is preset gesture information or not, and if the touch gesture information is the preset gesture information, determining to acquire the trigger information.
In any one of the above technical solutions, preferably, the first detecting unit is specifically configured to: receiving no quit operation within a preset time after showing the target anti-error quit event; or obtaining the confirmation operation of the user to continue browsing the current APP interface.
In order to solve the above technical problem, a third aspect of the present invention provides an electronic device, comprising: a processor and a memory storing computer executable instructions which, when executed, cause the processor to perform the method as claimed in any one of the above claims.
In order to solve the technical problem, a fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs that, when executed by a processor, implement the method according to any one of the above technical solutions.
According to the method and the device, when the quitting operation of the user on the current APP interface is detected, the target anti-error quitting event associated with the current APP interface is pushed to the user, when the quitting operation is detected again, the current APP interface is quitted, otherwise, the current APP interface is reserved, therefore, the method and the device can prevent the user from mistakenly quitting the interface due to mistaken touch, habitual operation and the like, and avoid the situation that the user needs to repeatedly load the interface due to mistaken quitting, wherein the target anti-error quitting event adopts a configurable mode, different requirements of the user are met, the use experience of the user is improved, in addition, a selection interface comprising an anti-error quitting option, a common anti-error quitting option and a popup window anti-error quitting option is set for the user to select, so.
Drawings
In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects obtained more clear, the following will describe in detail the embodiments of the present invention with reference to the accompanying drawings. It should be noted, however, that the drawings described below are only illustrations of exemplary embodiments of the invention, from which other embodiments can be derived by those skilled in the art without inventive faculty.
FIG. 1 shows a schematic flow diagram of a method of preventing exit glitches according to an embodiment of the present invention;
FIG. 2 shows a schematic block diagram of an exit maloperation prevention apparatus according to an embodiment of the present invention;
FIG. 3 shows a schematic block diagram of an electronic device according to an embodiment of the invention;
FIG. 4 shows a schematic block diagram of a computer-readable storage medium according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The same reference numerals denote the same or similar elements, components, or parts throughout the drawings, and thus, a repetitive description thereof may be omitted hereinafter. It will be further understood that, although the terms first, second, third, etc. may be used herein to describe various elements, components, or sections, these elements, components, or sections should not be limited by these terms. That is, these phrases are used only to distinguish one from another. For example, a first device may also be referred to as a second device without departing from the spirit of the present invention. Further, the term "and/or" and/or "includes any and all combinations of one or more of the associated listed items.
When the user browses the APP interface, if the user mistakenly touches or habitually clicks the exit button and directly exits the current interface, the user has to load again, the process is complicated, the use experience is influenced, the user can be considered to perform exit operation, prompt is performed, the mistaken exit prevention event related to the APP interface is pushed, the user is prompted subjectively and objectively, the mistaken exit is avoided, the flow value is improved, specifically, the method for preventing the exit misoperation is explained by combining with the graph 1, and the method comprises the following steps:
step S102, when the exit operation of the user on the current APP interface is detected, a target anti-error exit event associated with the current APP interface is obtained.
Specifically, a plurality of nodes and an association relationship between each node in the plurality of nodes and an anti-error exit event may be stored in advance, an access path of a user to a current APP interface is recorded, whether an exit operation occurs in a target node in the plurality of nodes is then determined, when the exit operation occurs in the target node, the anti-error exit event corresponding to the target node is searched according to the association relationship and is used as the target anti-error exit event, where the target node is any one of the plurality of nodes or a designated node. The anti-error exit event can be associated with each node in the user access path, a configurable mode is adopted, the target anti-error exit event is flexibly triggered in a proper scene, and the flow value can be effectively improved.
The method can also be used for pre-storing a plurality of keywords set by a user and the incidence relation between each keyword in the plurality of keywords and the anti-error exit event, then judging whether any keyword can be extracted from the current APP interface, and when any keyword is determined to be extracted, searching the anti-error exit event corresponding to any keyword from the incidence relation and taking the anti-error exit event as the target anti-error exit event. The user can self-define the mistake exit event of preventing here, specifically through setting up the incidence relation between keyword and the mistake exit event of preventing, through extracting the keyword in the current APP interface, according to the incidence relation, look for the mistake exit event of preventing that corresponds with the keyword that extracts, wherein, the mistake exit event of preventing that every keyword corresponds can be the same, also can be different, increased the interest among the people's interactive process, different users ' unnecessary demand has been satisfied, user's use experience has been promoted.
And step S104, pushing a target anti-error exit event to the user.
Pushing can be done in a number of ways, such as:
the first method is as follows: and displaying the target anti-error exit event in an active popup window mode superposed on the upper layer of the current APP interface.
The second method comprises the following steps: and hiding the current APP interface, and displaying the target anti-error exit event in a movable popup window mode.
Specifically, when a user accesses the APP interface, the back end records the access path of the user, when the user exits at a specific node, an event needing to be triggered is returned to the front end, and the front end displays a corresponding popup window according to the returned parameter. The application scenario of the function can be that the user exits in misoperation of a certain level, a certain level or a third level interface, and the like, for example, when the user exits in a quota second level page, a popup window prompts the user to participate in reward quota activities on the current page, or when the user exits in an APP first page (a level interface), the popup window prompts the user to continue to receive the bonus of red pack. By adopting a configurable mode, the movable popup window is flexibly triggered in a proper scene, the movable exposure is increased on the basis of preventing the user from quitting due to misoperation, and the flow value is improved.
And step S106, detecting whether the quitting operation is acquired again.
Specifically, it is detected that no exit operation is received within a preset time after a target anti-error exit event is displayed, or a confirmation operation of a user for continuing browsing the current APP interface is obtained.
And step S108, if the quit operation is determined to be obtained again, quitting the current APP interface.
And step S110, if the quit operation is determined not to be acquired, continuing to reserve the current APP interface.
Further, still include: detecting whether trigger information set by an anti-error exit function is acquired or not; when the trigger information is determined to be acquired, displaying a selection interface comprising a no anti-error exit option, a common anti-error exit option and a popup window anti-error exit option; if the user is detected to have no operation selected by the anti-error exit option, directly exiting the current APP interface when the exit operation is detected at first; if the user selects the common anti-error exit option, prompting the user to repeatedly exit when the exit operation is detected at first; and if the selected operation of the popup window anti-error exit option by the user is detected, executing the step of acquiring a target anti-error exit event associated with the current APP interface when the exit operation is detected for the first time. The selection interface including the non-error exit prevention option, the common error exit prevention option and the popup window error exit prevention option is set for the user to select, so that the functions are more diversified, the user's unused requirements are met, and the user experience is further improved.
Further, the step of detecting whether trigger information set by the anti-error exit function is acquired specifically includes: detecting whether the pressing time borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a preset time, and if the pressing time is greater than or equal to the preset time, determining to acquire triggering information; or detecting whether the pressing pressure value borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a threshold value, and if the pressing pressure value is equal to the threshold value, determining to acquire the triggering information; or detecting whether touch gesture information acting on the touch screen of the electronic equipment is preset gesture information or not, and if the touch gesture information is the preset gesture information, determining to acquire the trigger information.
When the quitting operation of the user on the current APP interface is detected, a target anti-error quitting event associated with the current APP interface is pushed to the user, when the quitting operation is detected again, the current APP interface is quitted, otherwise, the current APP interface is reserved, therefore, the invention can prevent the user from mistakenly quitting the interface due to mistaken touch, habitual operation and the like, and avoid the user from repeatedly loading the interface due to mistaken quitting, wherein the target anti-error quitting event adopts a configurable mode, different requirements of the user are met, the use experience of the user is improved, in addition, a selection interface comprising an anti-error quitting option, a common anti-error quitting option and a popup window anti-error quitting option is also arranged for the user to select, so that the functions are more diversified, and the unnecessary.
Those skilled in the art will appreciate that all or part of the steps to implement the above-described embodiments are implemented as programs (computer programs) executed by a computer data processing apparatus. When the computer program is executed, the method provided by the invention can be realized. Furthermore, the computer program may be stored in a computer readable storage medium, which may be a readable storage medium such as a magnetic disk, an optical disk, a ROM, a RAM, or a storage array composed of a plurality of storage media, such as a magnetic disk or a magnetic tape storage array. The storage medium is not limited to centralized storage, but may be distributed storage, such as cloud storage based on cloud computing.
Embodiments of the apparatus of the present invention are described below, which may be used to perform method embodiments of the present invention. The details described in the device embodiments of the invention should be regarded as complementary to the above-described method embodiments; reference is made to the above-described method embodiments for details not disclosed in the apparatus embodiments of the invention.
When the user browses the APP interface, if mistake touch-control or habitually click the exit button and directly withdraw from the current interface after, the user has to load again, the process is loaded down with trivial details, influence very much and use experience, to this can consider when the user withdraws from the operation, remind, the mistake that the propelling movement is relevant with the APP interface withdraws from the incident, with from subjective and objective suggestion user, when avoiding the mistake to withdraw from, promote the flow value, specifically, explain in combination with the device 200 of preventing withdrawing from the maloperation that fig. 2 shows, the device includes: an acquisition unit 202, a push unit 204, a first detection unit 206 and a processing unit 208.
The obtaining unit 202 is configured to obtain a target anti-false exit event associated with a current APP interface when a user detects an exit operation of the current APP interface by the user; the pushing unit 204 is configured to push a target anti-error exit event to a user; the first detection unit 206 is configured to detect whether an exit operation is acquired again; the processing unit 208 is configured to exit the current APP interface when the first detecting unit 206 determines that the exit operation is obtained again, or continue to retain the current APP interface when the first detecting unit 206 determines that the exit operation is not obtained.
Further, the device 200 for preventing the exit misoperation further comprises: a first storage unit 210, configured to store a plurality of nodes, and an association relationship between each node in the plurality of nodes and an anti-error exit event; the obtaining unit 202 is specifically configured to: recording an access path of a user to a current APP interface; judging whether the quitting operation occurs in a target node of the plurality of nodes; when the exit operation is determined to occur in the target node, searching for an anti-error exit event corresponding to the target node according to the association relation, and taking the anti-error exit event as the target anti-error exit event; the target node is any one of the plurality of nodes or a designated node. The anti-error exit event can be associated with each node in the user access path, a configurable mode is adopted, the target anti-error exit event is flexibly triggered in a proper scene, and the flow value can be effectively improved.
Further, the device 200 for preventing the exit misoperation further comprises: a second storage unit 212, configured to pre-store a plurality of keywords set by a user, and an association relationship between each keyword in the plurality of keywords and an anti-error exit event; the obtaining unit 202 is specifically configured to: judging whether any keyword can be extracted from the current APP interface; and when any keyword can be extracted, searching the anti-error exit events corresponding to any keyword from the association relation, and taking the anti-error exit events as target anti-error exit events. The user also can be self-defined prevents mistake and withdraw from the event, specifically through setting up the incidence relation between keyword and the mistake of preventing withdrawing from the event, through extracting the keyword in the current APP interface, according to the incidence relation, seek and prevent mistake that the keyword that extracts corresponds and withdraw from the event, wherein, the mistake of preventing that every keyword corresponds withdraws from the event can be the same, also can be different, increased the interest among the people's interactive process, different users ' unnecessary demand has been satisfied, user's use experience has been promoted.
Further, the pushing unit 204 can push in various ways, such as:
the first method is as follows: and displaying the target anti-error exit event in an active popup window mode superposed on the upper layer of the current APP interface.
The second method comprises the following steps: and hiding the current APP interface, and displaying the target anti-error exit event in a movable popup window mode.
Specifically, when a user accesses the APP interface, the back end records the access path of the user, when the user exits at a specific node, an event needing to be triggered is returned to the front end, and the front end displays a corresponding popup window according to the returned parameter. The application scenario of the function can be that the user exits in misoperation of a certain level, a certain level or a third level interface, and the like, for example, when the user exits in a quota second level page, a popup window prompts the user to participate in reward quota activities on the current page, or when the user exits in an APP first page (a level interface), the popup window prompts the user to continue to receive the bonus of red pack. By adopting a configurable mode, the movable popup window is flexibly triggered in a proper scene, the movable exposure is increased on the basis of preventing the user from quitting due to misoperation, and the flow value is improved.
Further, the device 200 for preventing the exit misoperation further comprises: a second detecting unit 214, configured to detect whether trigger information set for the anti-false exit function is acquired; the display unit 216 is configured to display a selection interface including a no false exit prevention option, a normal false exit prevention option, and a popup false exit prevention option when it is determined that the trigger information is acquired; an exit unit 218, configured to, if it is detected that the user has no operation selected by the anti-error exit option, directly exit the current APP interface when an exit operation is first detected; a prompting unit 220, configured to prompt the user to repeatedly exit the operation when an exit operation is first detected if a user selects an operation of the ordinary anti-error exit option; the obtaining unit 202 is specifically configured to, if a selected operation of the pop-up window anti-error exit option by the user is detected, obtain a target anti-error exit event associated with the current APP interface when an exit operation is detected for the first time. The selection interface including the non-error exit prevention option, the common error exit prevention option and the popup window error exit prevention option is set for the user to select, so that the functions are more diversified, the user's unused requirements are met, and the user experience is further improved.
Further, the second detecting unit 214 is specifically configured to: detecting whether the pressing time borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a preset time, and if the pressing time is greater than or equal to the preset time, determining to acquire triggering information; or detecting whether the pressing pressure value borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a threshold value, and if the pressing pressure value is equal to the threshold value, determining to acquire the triggering information; or detecting whether touch gesture information acting on the touch screen of the electronic equipment is preset gesture information or not, and if the touch gesture information is the preset gesture information, determining to acquire the trigger information.
Further, the first detecting unit 206 is specifically configured to: the quitting operation is not received within the preset time after the target anti-error quitting event is displayed; or obtaining the confirmation operation of the user to continue browsing the current APP interface.
When the quitting operation of the user on the current APP interface is detected, a target anti-error quitting event associated with the current APP interface is pushed to the user, when the quitting operation is detected again, the current APP interface is quitted, otherwise, the current APP interface is reserved, therefore, the invention can prevent the user from mistakenly quitting the interface due to mistaken touch, habitual operation and the like, and avoid the user from repeatedly loading the interface due to mistaken quitting, wherein the target anti-error quitting event adopts a configurable mode, different requirements of the user are met, the use experience of the user is improved, in addition, a selection interface comprising an anti-error quitting option, a common anti-error quitting option and a popup window anti-error quitting option is also arranged for the user to select, so that the functions are more diversified, and the unnecessary.
Those skilled in the art will appreciate that the modules in the above-described embodiments of the apparatus may be distributed as described in the apparatus, and may be correspondingly modified and distributed in one or more apparatuses other than the above-described embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as specific physical implementations for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 3 is a block diagram of an exemplary embodiment of an electronic device according to the present invention. An electronic device 300 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, electronic device 300 is embodied in the form of a general purpose computing device. The components of electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one memory unit 320, a bus 330 connecting the various system components (including the memory unit 320 and the processing unit 310), a display unit 340, and the like.
Wherein the storage unit stores program code executable by the processing unit 310, so that the processing unit 310 performs the steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of the present specification. For example, the processing unit 310 may perform the steps as shown in fig. 1.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache storage unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention. The computer program, when executed by a data processing apparatus, enables the computer readable medium to implement the above-described method of the invention, namely: when the quitting operation of a user on the current APP interface is detected, a target anti-error quitting event associated with the current APP interface is obtained, the target anti-error quitting event is pushed to the user, whether the quitting operation is obtained again is detected, if the quitting operation is determined to be obtained again, the current APP interface is quitted, and if the quitting operation is determined not to be obtained, the current APP interface is kept.
FIG. 4 is a schematic diagram of a computer-readable storage medium of the present invention. As shown in fig. 4, the computer program may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in embodiments in accordance with the invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP). The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.

Claims (10)

1. A method of preventing exit from misoperations, comprising:
when the exit operation of a user on a current APP interface is detected, a target anti-error exit event associated with the current APP interface is obtained;
pushing the target anti-error exit event to the user; and
detecting whether the quitting operation is obtained again;
if the quitting operation is determined to be obtained again, quitting the current APP interface;
and if the quitting operation is determined not to be acquired, continuing to reserve the current APP interface.
2. The method for preventing exit misoperation according to claim 1, wherein before the step of obtaining the anti-false exit event associated with the current APP interface, further comprising:
storing a plurality of nodes and an incidence relation between each node in the plurality of nodes and the anti-error exit event;
the step of obtaining the anti-false exit event associated with the current APP interface specifically includes:
recording an access path of the user to the current APP interface;
determining whether the exit operation occurs at a target node of the plurality of nodes;
when the quitting operation is determined to occur in the target node, searching for an anti-error quitting event corresponding to the target node according to the incidence relation, and taking the anti-error quitting event as the target anti-error quitting event;
wherein the target node is any one of the plurality of nodes or a designated node.
3. The method for preventing exit misoperation according to any one of claims 1-2, wherein before the step of obtaining an anti-false exit event associated with the current APP interface, further comprising:
pre-storing a plurality of keywords set by a user and an incidence relation between each keyword in the plurality of keywords and an anti-error exit event;
the step of obtaining the anti-false exit event associated with the current APP interface specifically includes:
judging whether any keyword can be extracted from the current APP interface;
and when any keyword can be extracted, searching the anti-error exit event corresponding to any keyword from the incidence relation, and taking the anti-error exit event as the target anti-error exit event.
4. The method for preventing exit misoperation according to any one of claims 1 to 3, wherein the step of pushing the target anti-misoperation event to the user specifically comprises:
and displaying the target anti-error exit event in a movable popup window mode superposed on the upper layer of the current APP interface.
5. The method for preventing exit misoperation according to any one of claims 1 to 4, wherein the step of pushing the target anti-misoperation event to the user specifically comprises:
and hiding the current APP interface, and displaying the target anti-error exit event in a movable popup window mode.
6. The method for preventing exit from misoperation according to any one of claims 1-5, further comprising:
detecting whether trigger information set by an anti-error exit function is acquired or not;
when the trigger information is determined to be acquired, displaying a selection interface comprising a no anti-error exit option, a common anti-error exit option and a popup window anti-error exit option;
if the user is detected to select the operation without the error exit prevention option, directly exiting the current APP interface when the exit operation is detected firstly;
if the user selects the normal anti-error exit option, prompting the user to repeat the exit operation when the exit operation is detected firstly;
and if the selected operation of the popup window anti-error exit option by the user is detected, executing the step of acquiring the target anti-error exit event associated with the current APP interface when the exit operation is detected for the first time.
7. The method for preventing the exit from the misoperation according to any one of claims 1 to 6, wherein the step of detecting whether the trigger information set by the anti-false exit function is acquired specifically comprises:
detecting whether the pressing time borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a preset time, and if the pressing time is greater than or equal to the preset time, determining to acquire the triggering information; or
Detecting whether a pressing pressure value borne by a designated virtual key or a designated entity key on the electronic equipment is greater than or equal to a threshold value, and if the pressing pressure value is equal to the threshold value, determining to acquire the trigger information; or
Detecting whether touch gesture information acting on a touch screen of the electronic equipment is preset gesture information or not, and if the touch gesture information is the preset gesture information, determining to acquire the trigger information.
8. An exit misoperation prevention device, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a target anti-error exit event associated with a current APP interface when the exit operation of a user on the current APP interface is detected;
the pushing unit is used for pushing the target anti-error exit event to the user; and
the first detection unit is used for detecting whether the quitting operation is acquired again;
and the processing unit is used for quitting the current APP interface when the first detection unit determines that the quitting operation is obtained again, or continuing to reserve the current APP interface when the first detection unit determines that the quitting operation is not obtained.
9. An electronic device, wherein the electronic device comprises:
a processor; and
a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-7.
10. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-7.
CN201910916110.5A 2019-09-26 2019-09-26 Method and device for preventing quitting misoperation and electronic equipment Withdrawn CN110795185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910916110.5A CN110795185A (en) 2019-09-26 2019-09-26 Method and device for preventing quitting misoperation and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910916110.5A CN110795185A (en) 2019-09-26 2019-09-26 Method and device for preventing quitting misoperation and electronic equipment

Publications (1)

Publication Number Publication Date
CN110795185A true CN110795185A (en) 2020-02-14

Family

ID=69439770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910916110.5A Withdrawn CN110795185A (en) 2019-09-26 2019-09-26 Method and device for preventing quitting misoperation and electronic equipment

Country Status (1)

Country Link
CN (1) CN110795185A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087651A (en) * 2020-09-18 2020-12-15 聚好看科技股份有限公司 Method for displaying inquiry information and smart television
CN113318429A (en) * 2021-05-25 2021-08-31 网易(杭州)网络有限公司 Control method and device for quitting game, processor and electronic device
CN113343138A (en) * 2021-05-31 2021-09-03 北京达佳互联信息技术有限公司 Rollback interception method and device, intelligent terminal and storage medium
CN113467662A (en) * 2021-08-31 2021-10-01 深圳市巴科光电科技股份有限公司 Method and device for controlling rollback misoperation in application program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087651A (en) * 2020-09-18 2020-12-15 聚好看科技股份有限公司 Method for displaying inquiry information and smart television
CN112087651B (en) * 2020-09-18 2022-02-01 聚好看科技股份有限公司 Method for displaying inquiry information and smart television
CN113318429A (en) * 2021-05-25 2021-08-31 网易(杭州)网络有限公司 Control method and device for quitting game, processor and electronic device
CN113318429B (en) * 2021-05-25 2024-03-22 网易(杭州)网络有限公司 Control method and device for exiting game, processor and electronic device
CN113343138A (en) * 2021-05-31 2021-09-03 北京达佳互联信息技术有限公司 Rollback interception method and device, intelligent terminal and storage medium
CN113467662A (en) * 2021-08-31 2021-10-01 深圳市巴科光电科技股份有限公司 Method and device for controlling rollback misoperation in application program
CN113467662B (en) * 2021-08-31 2021-11-30 深圳市巴科光电科技股份有限公司 Method and device for controlling rollback misoperation in application program

Similar Documents

Publication Publication Date Title
CN110795185A (en) Method and device for preventing quitting misoperation and electronic equipment
WO2019184490A1 (en) Method for use in displaying icons of hosted applications, and device and storage medium
JP2016530657A (en) Application switching and input information adding method and apparatus
WO2014026480A1 (en) Method and apparatus for realizing display of component's content
CN106844181B (en) Method, system and mobile terminal for recording user behavior
CN107066188A (en) A kind of method and terminal for sending screenshot picture
CN109343926A (en) Application program image target display methods, device, terminal and storage medium
CN105404669B (en) A kind of method, apparatus, terminal and the server of the comment of display webpage
CN112214155B (en) View information playing method, device, equipment and storage medium
CN105183302A (en) Method and terminal for controlling application
US10120846B2 (en) System and method for displaying online comments
CN110989877B (en) Message management method, related equipment and computer readable storage medium
CN111966273A (en) Information display processing method and device
US20140137018A1 (en) File position shortcut and window arrangement
CN110618904A (en) Stuck detection method and device
CN106714332B (en) wireless network access method and device
CN106970985B (en) Information flow channel classification interaction method and device based on demand guidance and server
CN110618797B (en) Method and device for generating character trotting horse lamp and terminal equipment
US20210026913A1 (en) Web browser control feature
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
CN108268298B (en) Desktop icon generation method and device, storage medium and electronic equipment
CN116400840A (en) Application advertisement skipping method, system, terminal and readable storage medium
CN115729549A (en) Method and device for generating user interaction interface, storage medium and electronic device
CN104866356A (en) Method for implementing fast start of APP
US20120001897A1 (en) Automatically determining an object display mode to display objects

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200214

WW01 Invention patent application withdrawn after publication