WO2019051694A1 - Electronic device, method for preventing false uninstallation of application software thereof, and readable storage medium - Google Patents
Electronic device, method for preventing false uninstallation of application software thereof, and readable storage medium Download PDFInfo
- Publication number
- WO2019051694A1 WO2019051694A1 PCT/CN2017/101649 CN2017101649W WO2019051694A1 WO 2019051694 A1 WO2019051694 A1 WO 2019051694A1 CN 2017101649 W CN2017101649 W CN 2017101649W WO 2019051694 A1 WO2019051694 A1 WO 2019051694A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- application software
- user
- voice information
- uninstallation
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000005236 sound signal Effects 0.000 claims abstract description 74
- 230000004044 response Effects 0.000 claims abstract description 19
- 230000001960 triggered effect Effects 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims description 41
- 238000004590 computer program Methods 0.000 claims description 18
- 238000004891 communication Methods 0.000 claims description 11
- 230000000007 visual effect Effects 0.000 claims description 11
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
Definitions
- the present application relates to the field of electronic technologies, and in particular, to a method for preventing an erroneous uninstallation of an electronic device and its application software, and a computer readable storage medium.
- Re-downloading the application that was uninstalled by mistake is not only a waste of time, but also the information stored by the user in the original application software is lost, and it is more inconvenient to re-download the application software if the user traffic is insufficient.
- the main purpose of the present application is to provide a method for preventing accidental unloading of an electronic device and its application software, and a computer readable storage medium, which aims to solve the problem of erroneous uninstallation of application software of the electronic device.
- the application software for preventing error unloading of an electronic device proposed by the present application includes the following steps:
- the method further includes:
- the step of exiting the uninstallation of the application software when the voice information does not meet the preset condition is entered.
- the step of responding to the user selecting the menu option for acquiring the sound signal again, after entering the step of acquiring the sound signal collected by the microphone further includes
- the operating system of the electronic device is locked to prohibit operation of the electronic device.
- the alert prompt includes at least one of an audible alert prompt, a light flashing alert, and a short message alert.
- the step of determining whether the voice information meets a preset condition comprises:
- the preset condition is a preset audio feature.
- the step of determining whether the voice information meets a preset condition comprises:
- Determining whether the text command meets a preset condition wherein the preset condition is a preset text command.
- the operation of the uninstall application software triggered by the user on the electronic device comprises at least one of the following operations:
- the user performs long-pressing operation of dragging the application icon on the user interface of the electronic device
- the user selects the operation of the application software in the application uninstallation interface of the electronic device.
- the method includes:
- the step of acquiring the sound signal collected by the microphone is input in response to the operation of the uninstall application software triggered by the user on the electronic device.
- the method includes:
- the present application also provides an electronic device including a microphone, a storage unit, a processing unit, a communication unit, and a computer program stored on the storage unit and operable on the processing unit, the processing unit implementing the computer program as described above. The steps of the method for preventing erroneous unloading.
- the present application also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processing unit, implements the steps of the method of preventing false uninstallation as described above.
- the method for preventing error unloading of the application software of the electronic device in the present application is simple and easy to implement, and the sound signal is collected through the microphone, and the voice information input by the user is confirmed by the sound signal, and then the voice information is analyzed, and the voice information is judged to be inconsistent.
- the condition is set, the uninstallation of the application software is exited, and the application software is prevented from being uninstalled by mistake, thereby protecting the information in the application software from being lost and being convenient for the user to use.
- FIG. 1 is a schematic structural diagram of hardware of an electronic device in various embodiments of the present application.
- FIG. 2 is a flowchart of a method of a first embodiment of a method for preventing error uninstallation of an application software of an electronic device according to the present application;
- FIG. 3 is a flowchart of a method of a second embodiment of a method for preventing error uninstallation of an application software of an electronic device according to the present application;
- FIG. 4 is a flow chart of a third embodiment of a method for preventing error uninstallation of an application software of an electronic device according to the present application
- FIG. 5 is a sub-flow diagram of an embodiment of the step S30 of the method for preventing error-unloading of the application software of the electronic device of FIG. 2;
- FIG. 6 is a sub-flow diagram of another embodiment of the method S30 of the method for preventing error-unloading of the application software of the electronic device of FIG. 2;
- FIG. 7 is a flowchart of a fourth embodiment of a method for preventing error uninstallation of an application software of an electronic device according to the present application.
- first”, “second”, and the like in this application are used for descriptive purposes only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated.
- features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
- the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
- fixed may be a fixed connection, or may be a detachable connection, or may be integrated; It may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and may be an internal connection of two elements or an interaction relationship of two elements unless explicitly defined otherwise.
- fix may be a fixed connection, or may be a detachable connection, or may be integrated; It may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and may be an internal connection of two elements or an interaction relationship of two elements unless explicitly defined otherwise.
- specific meanings of the above terms in the present application can be understood on a case-by-case basis.
- the present application provides a method for preventing mis-uninstallation of an electronic device 100 and its application software, and a computer readable storage medium.
- FIG. 1 is a schematic structural diagram of hardware modules of an electronic device 100 according to various embodiments of the present application;
- the electronic device 100 includes components such as a microphone 10, a storage unit 20, a processing unit 30, and a communication unit 40. It can be understood that the electronic device 100 can be an electronic device such as a mobile phone, a tablet computer, a palmtop computer, a notebook computer, or the like.
- the processing unit 30 is respectively connected to the storage unit 20 and the microphone 10, and the storage unit 20 stores a computer program, which can be executed by the processing unit 30.
- the microphone 10 transmits the sound signal to the processing unit 30 for processing after the sound signal is collected.
- the electronic device 100 can establish a communication connection with the server through a wired or wireless manner to implement data interaction.
- the storage unit 20 can be used to store software programs and various data.
- the storage unit 20 may mainly include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function, and the like, and the storage data area may store data required for use by the electronic device 100 (for example, Key data) and so on.
- the storage unit 20 may include a high speed random access unit, and may also include a nonvolatile storage unit such as at least one magnetic disk storage unit, a flash memory device, or other volatile solid state storage unit device.
- the processing unit 30 is a control center of the electronic device 100, and connects various parts of the entire electronic device 100 by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory, and calling the storage in the storage unit 20
- the internal data performs various functions and processing data of the electronic device 100, thereby performing overall monitoring of the electronic device 100.
- the processing unit 30 may include one or more processors or chips; preferably, the processing unit 30 may integrate an application processing unit and a modem processing unit, wherein the application processing unit mainly processes an operating system, a user interface, an application, etc., modulation
- the demodulation processing unit primarily processes wireless communications. It can be understood that the above-mentioned modem processing unit may not be integrated into the processing unit 30.
- the communication unit 40 through the communication unit 40, communicates with a server and an external communication device (not shown) in a wired or wireless manner, and receives information, instructions and parameters of the external communication device.
- the external communication device may be an electronic device such as a mobile phone, a tablet computer, and a monitoring device.
- the electronic device 100 illustrated in FIG. 1 may also include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
- FIG. 2 is a schematic flowchart of a method for preventing an erroneous uninstallation of the application software of the electronic device 100 of the present application.
- the method 200 for preventing erroneous uninstallation of the application software includes the following steps:
- Step S10 Acquire an audio signal collected by the microphone 10 in response to an operation of the uninstall application software triggered by the user on the electronic device 100;
- the sound signal collected by the microphone 10 includes a voice signal input by the user and other sound signals existing simultaneously with the voice signal sent by the user, for example, if the user inputs the voice signal in a noisy environment, such as a bus, In the relatively noisy environment of the subway, the sound signal collected by the microphone 10 can collect the whistle of the car and the sound signals of other people or objects around it in addition to the voice signal sent by the user of the electronic device 100.
- the operation of uninstalling the application software triggered by the user on the electronic device 100 includes at least one of the following operations: the user performs an operation of long pressing the application icon on the user interface of the electronic device 100, or the user is in the electronic
- the operation of the application software is selected in the application software uninstallation interface of the device 100.
- Step S20 determining voice information input by the user according to the sound signal
- the processing unit 30 can distinguish the voice signal input by the user collected by the microphone 10 and other sound signals existing simultaneously with the voice signal sent by the user, and convert the voice signal input by the user into voice information.
- Step S30 determining whether the voice information meets a preset condition
- the preset condition may be an audio feature of the voice information, or may be a preset text instruction.
- the processing unit 30 compares the voice information collected by the microphone 10 with a preset condition stored by the storage unit 20, for example, whether the audio feature is consistent with the preset condition, or whether the voice information is converted into a text command and is preset. The conditions are the same.
- Step S40 when the voice information does not meet the preset condition, the uninstallation of the application software is exited.
- the processing unit 30 compares the voice information with a preset condition, and determines that the voice information is inconsistent with the preset condition, the processing unit 30 immediately exits the application software of the electronic device 100. Uninstall to prevent the application software from being uninstalled by mistake.
- the method further includes the step of: when the voice information meets a preset condition, uninstalling the application software.
- the sound signal is collected by the microphone 10, and the voice information input by the user is confirmed by the sound signal, and then the voice information is analyzed.
- the uninstallation of the application software is exited to prevent The application software is uninstalled by mistake, thereby protecting the information in the application software from being lost and convenient for the user to use.
- a method 201 for preventing error uninstallation of the application software of the electronic device 100 in the second embodiment is proposed based on the method 200 for preventing error uninstallation of the application software of the electronic device 100 in the first embodiment of the present application.
- the steps S10 to S30 are the same as those in the first embodiment, and are not described here again. The difference is that after the step S40, the method further includes:
- Step S410 providing a visual interface for displaying whether the menu option of the sound signal is acquired again;
- Step S420 determining whether the user's selection of the menu option for re-acquiring the sound signal is received
- Step S430 when receiving the user's selection of the menu option for re-acquiring the sound signal, entering the step of acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device;
- Step S440 after accepting the user's selection of the menu option that the sound signal is no longer collected, and entering the step of exiting the uninstallation of the application software when the voice information does not meet the preset condition.
- the processing unit 30 determines that the voice information does not meet the preset condition, providing a visual interface for displaying whether to select the menu option of the sound signal again, the menu option may be “ The option to re-acquire and the option to exit the acquisition. It is then determined whether the user's selection of the "Re-acquisition” option and the "Exit Acquisition” option has been received.
- the processing unit 30 enters the step of acquiring the sound signal collected by the microphone 10 in response to the user's selection, and the user re-enters the sound signal; when the user selects the “exit acquisition” option, the processing is performed.
- Unit 30 in response to the user's selection, enters the step of exiting the uninstallation of the application.
- a visual interface is provided to query the user, and the user is provided with a chance of re-selection, which can prevent the application software from being uninstalled by mistake and can uninstall the application software that the user wants to uninstall. It is uninstalled to meet the requirements of users.
- a method 202 for preventing application error prevention of the electronic device 100 in the third embodiment is proposed based on the method 200 for preventing the error uninstallation of the application software of the electronic device 100 in the first embodiment of the present application.
- the steps S10 to S30 are the same as those in the first embodiment, and are not described here again. The difference is that the step S430 includes:
- Step S310 acquiring a number of times that the voice information does not meet the preset condition continuously
- the user After the user inputs the sound signal for the first time and does not meet the preset condition, after the user selects the option of “re-acquisition”, the user enters the step of acquiring the sound signal collected by the microphone 10, and the user inputs the sound signal again. After the re-entered sound signal does not meet the preset condition, the user again selects the option of "re-acquisition” and enters the step of acquiring the sound signal collected by the microphone 10 again.
- the number of times the voice information of the embodiment does not meet the preset condition is the sum of the first time of the input sound signal and the number of times the sound signal is re-entered.
- Step S320 determining whether the number of times is greater than a preset number of times
- the number of times that the preset condition is not met may be set to three times, that is, the chance of providing the user with re-input of the sound signal is two times. It should be noted that, in this embodiment, the preset number of times is not limited, and the preset number of times may be set to other times according to the needs of the user.
- step S330 when the number of times is greater than the preset number of times, the operating system of the electronic device 100 is locked to prohibit the operation of the electronic device 100.
- a lock value may be implanted in the booting procedure (BOOT system) of the electronic device 100 to control the electronic device 100 to directly prohibit the loading of the operating system of the electronic device 100 when the electronic device 100 is turned on, thereby locking the electronic device.
- the operating system of 100 prohibits the operation of the electronic device 100.
- the operating system of the electronic device 100 may be locked by setting a lock screen password or the like in the electronic device 100, and when the input password is incorrect, the operating system of the electronic device 100 is locked.
- the electronic device 100 is not normally used by the current user.
- the number of times the voice information does not meet the preset condition is limited.
- the operating system of the electronic device 100 is locked.
- the operation of the electronic device 100 is prohibited, and the security of the electronic device 100 is ensured.
- the user's mobile phone is played by the child, the child performs an unloading operation on the application software on the electronic device 100, and after the child's input sound signal continuously fails three times, the operating system of the electronic device 100 is locked to prohibit the child.
- the electronic device 100 is operated again to avoid loss of important application software or information in the user's electronic device 100.
- the step S30 may specifically include:
- the audio feature may include a frequency, a change in amplitude, and the like of the voice information input by the user.
- Determining whether the audio feature of the voice information meets the preset condition for example, determining whether the voice information is a sound signal sent by the user itself, or determining an audio feature of the voice information and a user preset Whether the audio characteristics of the voice information are consistent.
- the uninstallation of the application software is exited.
- the step S30 may specifically include:
- the microphone 10 sends the collected sound signal to the processing unit 30, and the processing unit 30 performs semantic recognition on the voice information to obtain a text command corresponding to the voice information.
- S370 Determine whether the text command meets a preset condition, where the preset condition is a preset text command.
- a method 203 for preventing erroneous uninstallation of application software of the electronic device 100 in the fourth embodiment is proposed based on the method 200 for preventing error uninstallation of the application software of the electronic device 100 in the first embodiment of the present application.
- the steps S10 to S40 are the same as those in the first embodiment, and are not described here.
- the method before the S10, the method includes:
- Step S101 determining whether the electronic device 100 enters an application software anti-error uninstall mode
- the step of acquiring the sound signal collected by the microphone 10 in response to the operation of the uninstall application software triggered by the user on the electronic device 100 is entered.
- the electronic device 100 When the electronic device 100 enters the application software anti-missing mode, it has a certain influence on the running speed of the electronic device 100, and the electronic device 100 can enter after responding to the operation of the uninstalling application software triggered by the user on the electronic device 100.
- Application software anti-missing mode This will not slow down the operation speed of the electronic device 100, nor will the application software be accidentally uninstalled.
- the electronic device 100 enters the application software anti-error uninstall mode it is the same as in the first embodiment, and details are not described herein again.
- the electronic device 100 automatically enters the application.
- the software prevents the error unloading mode, and then the microphone 10 transmits the collected sound signal to the processing unit 30.
- the sound signal collected by the microphone 10 includes a voice signal input by the user and other sound signals existing simultaneously with the user's voice signal.
- the processing unit 30 separates the microphone 10 from the voice signal and other sound signals that exist simultaneously with the voice signal sent by the user, and converts the voice signal input by the user into voice information. Then, the voice information is compared with the preset condition stored by the storage unit 20, and a determination is made; when the voice information does not meet the preset condition, the uninstallation of the application software is exited.
- the method includes:
- Step S001 providing a visual interface for displaying a setting menu of the electronic device 100, where the setting menu includes a menu option for entering an application software anti-missing mode;
- step S002 in response to the user selecting the application-oriented anti-error uninstall mode in the setting menu of the electronic device 100, the application software prevents the error-unloading mode.
- various setting menus such as a network menu, a permission menu, a display menu, etc.
- a menu of the application software anti-missing mode is also included. After the user selects the menu of the application software anti-missing mode, the electronic device 100 enters the application software anti-missing mode.
- the electronic device 100 provided by the present application includes a microphone 10, a storage unit 20, a processing unit 30, a communication unit 40, and a computer program stored on the storage unit 20 and operable on the processing unit 30, the processing
- the step of the method for implementing the anti-error uninstallation of the application software in any of the above embodiments when the unit 30 executes the computer program specifically includes:
- Step S10 Acquire an audio signal collected by the microphone 10 in response to an operation of the uninstall application software triggered by the user on the electronic device 100;
- Step S20 determining voice information input by the user according to the sound signal
- Step S30 determining whether the voice information meets a preset condition
- Step S40 when the voice information does not meet the preset condition, the uninstallation of the application software is exited.
- the sound signal is collected by the microphone 10, and the voice information input by the user is confirmed by the sound signal, and then the voice information is analyzed.
- the uninstallation of the application software is exited to prevent The application software is uninstalled by mistake, thereby protecting the information in the application software from being lost and convenient for the user to use.
- step S40 is implemented after:
- Step S410 providing a visual interface for displaying whether the menu option of the sound signal is acquired again;
- Step S420 determining whether the user's selection of the menu option for re-acquiring the sound signal is received
- Step S430 when receiving the user's selection of the menu option for re-acquiring the sound signal, entering the step of acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device;
- Step S440 after accepting the user's selection of the menu option that the sound signal is no longer collected, and entering the step of exiting the uninstallation of the application software when the voice information does not meet the preset condition.
- step S430 is further implemented after:
- Step S310 acquiring a number of times that the voice information does not meet the preset condition continuously
- Step S320 determining whether the number of times is greater than a preset number of times
- step S330 when the number of times is greater than the preset number of times, the operating system of the electronic device 100 is locked to prohibit the operation of the electronic device 100.
- step S30 is implemented as follows:
- step S30 further implements:
- S370 Determine whether the text command meets a preset condition, where the preset condition is a preset text command.
- step S10 is also implemented before:
- Step S101 determining whether the electronic device 100 enters an application software anti-error uninstall mode
- the step of acquiring the sound signal collected by the microphone 10 in response to the operation of the uninstall application software triggered by the user on the electronic device 100 is entered.
- step S101 is also implemented before:
- Step S001 providing a visual interface for displaying a setting menu of the electronic device 100, where the setting menu includes a menu option for entering an application software anti-missing mode;
- step S002 in response to the user selecting the application-oriented anti-error uninstall mode in the setting menu of the electronic device 100, the application software prevents the error-unloading mode.
- the present application further provides a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by the processing unit 30 to implement the steps of the method for preventing error uninstallation of the application software according to any of the above embodiments. .
- the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in the various embodiments of the present application.
- a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Disclosed is a method for preventing false uninstallation of application software of an electronic device. The method for preventing false uninstallation comprises the following steps: acquiring a sound signal collected by a microphone in response to an application software uninstallation operation triggered on the electronic device by a user; determining voice information input by the user according to the sound signal; determining whether the voice information meets a pre-set condition; and when the voice information does not meet the pre-set condition, exiting the uninstallation of the application software. The technical solution provided by the present application is simple and easy to implement, and a sound signal is collected by means of a microphone and voice information input by a user is confirmed by means of the sound signal, and the voice information is then analyzed and the uninstallation of application software is exited when it is determined that the voice information does not meet the pre-set condition, so as to prevent false uninstallation of the application software, so that information in the application software is protected from being lost, and is convenient for use by the user. Further disclosed are an electronic device and a computer readable storage medium.
Description
技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种电子装置及其应用软件防误卸载的方法、计算机可读存储介质。 The present application relates to the field of electronic technologies, and in particular, to a method for preventing an erroneous uninstallation of an electronic device and its application software, and a computer readable storage medium.
背景技术Background technique
随着信息化时代的到来,电子装置逐渐渗入到娱乐、生活等各个领域当中,已经与现代人的日常生活密不可分,人们利用电子装置可以实现通话、短信、购物、转账等需求。现如今,各种功能的应用软件出现在各类电子装置的应用市场中。在现有的技术中,很多应用软件都是通过在桌面长按拖动卸载,或者在设置中的应用程序里面去卸载某一应用软件。但用户偶尔在使用过程中会出现一些误操作使得一些应用软件被误卸载删除,或者儿童在玩耍手机的过程中,可能会误卸载某些重要的应用软件。重新下载被误卸载的应用软件不仅浪费时间,而且用户存储在原应用软件中的信息则会丢失,并且在用户流量不够的情况下重新下载应用软件则更为不便。With the advent of the information age, electronic devices have gradually penetrated into various fields such as entertainment and life, and have been inseparable from the daily lives of modern people. People can realize the requirements of calling, texting, shopping, and transfer by using electronic devices. Nowadays, application software with various functions appears in the application market of various electronic devices. In the existing technology, many applications are uninstalled by long-pressing on the desktop, or uninstalling an application in the application under setup. However, the user may occasionally have some misoperations during use, which may cause some applications to be uninstalled and deleted by mistake, or the children may accidentally uninstall some important applications during the process of playing the mobile phone. Re-downloading the application that was uninstalled by mistake is not only a waste of time, but also the information stored by the user in the original application software is lost, and it is more inconvenient to re-download the application software if the user traffic is insufficient.
申请内容Application content
本申请的主要目的是提供一种电子装置及其应用软件防误卸载的方法、计算机可读存储介质,旨在解决电子装置的应用软件出现误卸载的问题。The main purpose of the present application is to provide a method for preventing accidental unloading of an electronic device and its application software, and a computer readable storage medium, which aims to solve the problem of erroneous uninstallation of application software of the electronic device.
为实现上述目的,本申请提出的一种电子装置的应用软件防误卸载的方法,所述防误卸载的方法包括步骤:In order to achieve the above object, the application software for preventing error unloading of an electronic device proposed by the present application includes the following steps:
响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号;Acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device;
根据所述声音信号,确定用户输入的语音信息;Determining voice information input by the user according to the sound signal;
判断所述语音信息是否符合预设条件;Determining whether the voice information meets a preset condition;
当所述语音信息不符合预设条件时,退出对所述应用软件的卸载。When the voice information does not meet the preset condition, the uninstallation of the application software is exited.
优选地,所述当所述语音信息不符合预设条件时,退出对应用软件的卸载的步骤之后,还包括:Preferably, after the step of exiting the uninstallation of the application software when the voice information does not meet the preset condition, the method further includes:
提供一可视化界面,用于显示是否再次采集所述声音信号的菜单选项;Providing a visual interface for displaying a menu option of whether to acquire the sound signal again;
判断是否接收到用户对所述再次采集所述声音信号的菜单选项的选择;Determining whether a user's selection of a menu option for re-acquiring the sound signal is received;
在接收到用户对所述再次采集所述声音信号的菜单选项的选择时,进入所述响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号的步骤;Receiving, by the user, the selection of the menu option for acquiring the sound signal again, the step of acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device;
在接受到用户对所述不再采集所述声音信号的菜单选项的选择,进入当所述语音信息不符合预设条件时,所述退出对所述应用软件的卸载的步骤。After receiving the user's selection of the menu option that the sound signal is no longer collected, the step of exiting the uninstallation of the application software when the voice information does not meet the preset condition is entered.
优选地,所述响应用户对所述再次采集所述声音信号的菜单选项的选择,进入所述获取麦克风采集的声音信号的步骤之后,还包括Preferably, the step of responding to the user selecting the menu option for acquiring the sound signal again, after entering the step of acquiring the sound signal collected by the microphone, further includes
获取连续判断所述语音信息不符合所述预设条件的次数;Obtaining a number of times that the voice information does not meet the preset condition continuously;
判断所述次数是否大于预设次数;Determining whether the number of times is greater than a preset number of times;
在所述次数大于所述预设次数时,锁定所述电子装置的操作系统,以禁止对该电子装置进行操作。When the number of times is greater than the preset number of times, the operating system of the electronic device is locked to prohibit operation of the electronic device.
优选地,所述警报提示包括声音警报提示,灯光闪烁提示,短信息提示中的至少一种。Preferably, the alert prompt includes at least one of an audible alert prompt, a light flashing alert, and a short message alert.
优选地,所述判断所述语音信息是否符合预设条件的步骤,包括:Preferably, the step of determining whether the voice information meets a preset condition comprises:
获取所述语音信息的音频特征;Obtaining an audio feature of the voice information;
判断所述语音信息的音频特征是否符合所述预设条件,其中,所述预设条件为预设的音频特征。Determining whether the audio feature of the voice information meets the preset condition, wherein the preset condition is a preset audio feature.
优选地,所述判断所述语音信息是否符合预设条件的步骤,包括:Preferably, the step of determining whether the voice information meets a preset condition comprises:
对所述语音信息进行语义识别,获取与所述语音信息对应的文本命令;Performing semantic recognition on the voice information to obtain a text command corresponding to the voice information;
判断所述文本命令是否符合预设条件,其中,所述预设条件为预设的文本命令。Determining whether the text command meets a preset condition, wherein the preset condition is a preset text command.
优选地,所述用户在电子装置上触发的卸载应用软件的操作包括以下操作中的至少一种:Preferably, the operation of the uninstall application software triggered by the user on the electronic device comprises at least one of the following operations:
用户在电子装置的用户界面上进行长按拖动应用软件图标的操作;The user performs long-pressing operation of dragging the application icon on the user interface of the electronic device;
用户在电子装置的应用软件卸载界面中选中应用软件的操作。The user selects the operation of the application software in the application uninstallation interface of the electronic device.
优选地,在所述响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号的步骤之前,包括:Preferably, before the step of acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device, the method includes:
判断所述电子装置是否进入应用软件防误卸载模式;Determining whether the electronic device enters an application software anti-error uninstall mode;
在所述电子装置进入应用软件防误卸载模式时,进入响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号的步骤。When the electronic device enters the application software anti-wrong uninstall mode, the step of acquiring the sound signal collected by the microphone is input in response to the operation of the uninstall application software triggered by the user on the electronic device.
优选地,在判断所述电子装置是否进入应用软件防误卸载模式的步骤之前,包括:Preferably, before the step of determining whether the electronic device enters the application software anti-missing mode, the method includes:
提供一可视化界面,显示所述电子装置的设置菜单,所述设置菜单包括进入应用软件防误卸载模式的菜单选项;Providing a visual interface for displaying a setting menu of the electronic device, where the setting menu includes a menu option for entering an application software anti-missing mode;
响应用户在所述电子装置的设置菜单对进入应用软件防误卸载模式的选择,进入所述应用软件防误卸载模式。And responding to the user's selection of entering the application software anti-missing mode in the setting menu of the electronic device, entering the application software anti-missing mode.
本申请还提供一种电子装置,包括麦克风、存储单元、处理单元、通信单元以及存储在存储单元上并可在处理单元上运行的计算机程序,所述处理单元执行所述计算机程序时实现如上所述防误卸载的方法的步骤。The present application also provides an electronic device including a microphone, a storage unit, a processing unit, a communication unit, and a computer program stored on the storage unit and operable on the processing unit, the processing unit implementing the computer program as described above The steps of the method for preventing erroneous unloading.
本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理单元执行时实现如上所述防误卸载的方法的步骤。The present application also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processing unit, implements the steps of the method of preventing false uninstallation as described above.
本申请中的电子装置的应用软件防误卸载的方法,简单易实行,通过麦克风采集声音信号,并通过声音信号确认用户输入的语音信息,然后对语音信息进行分析,在判断语音信息不符合预设条件时,退出对应用软件的卸载,防止了应用软件被误卸载,从而保护了应用软件中的信息不会丢失,方便用户使用。The method for preventing error unloading of the application software of the electronic device in the present application is simple and easy to implement, and the sound signal is collected through the microphone, and the voice information input by the user is confirmed by the sound signal, and then the voice information is analyzed, and the voice information is judged to be inconsistent. When the condition is set, the uninstallation of the application software is exited, and the application software is prevented from being uninstalled by mistake, thereby protecting the information in the application software from being lost and being convenient for the user to use.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the structures shown in the drawings without any creative work for those skilled in the art.
图1为本申请各个实施例中的一种电子装置的硬件结构示意图;1 is a schematic structural diagram of hardware of an electronic device in various embodiments of the present application;
图2为本申请电子装置的应用软件防误卸载的方法第一实施例的方法流程图;2 is a flowchart of a method of a first embodiment of a method for preventing error uninstallation of an application software of an electronic device according to the present application;
图3为本申请电子装置的应用软件防误卸载的方法第二实施例的方法流程图;3 is a flowchart of a method of a second embodiment of a method for preventing error uninstallation of an application software of an electronic device according to the present application;
图4为本申请电子装置的应用软件防误卸载的方法第三实施例的流方法程图;4 is a flow chart of a third embodiment of a method for preventing error uninstallation of an application software of an electronic device according to the present application;
图5为图2中电子装置的应用软件防误卸载的方法步骤S30的一实施例中的子流程图;FIG. 5 is a sub-flow diagram of an embodiment of the step S30 of the method for preventing error-unloading of the application software of the electronic device of FIG. 2;
图6为图2中电子装置的应用软件防误卸载的方法步骤S30的另一实施例中的子流程图;6 is a sub-flow diagram of another embodiment of the method S30 of the method for preventing error-unloading of the application software of the electronic device of FIG. 2;
图7为本申请电子装置的应用软件防误卸载的方法第四实施例的流程图。FIG. 7 is a flowchart of a fourth embodiment of a method for preventing error uninstallation of an application software of an electronic device according to the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
需要说明,本申请实施例中所有方向性指示(诸如上、下、左、右、前、后……)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that all directional indications (such as up, down, left, right, front, back, ...) in the embodiments of the present application are only used to explain the components between a certain posture (as shown in the drawing). Relative positional relationship, motion situation, etc., if the specific posture changes, the directional indication also changes accordingly.
另外,在本申请中如涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the descriptions of "first", "second", and the like in this application are used for descriptive purposes only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" and "second" may include at least one of the features, either explicitly or implicitly. In the description of the present application, the meaning of "a plurality" is at least two, such as two, three, etc., unless specifically defined otherwise.
在本申请中,除非另有明确的规定和限定,术语“连接”、“固定”等应做广义理解,例如,“固定”可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In the present application, the terms "connected", "fixed" and the like should be understood broadly, unless otherwise explicitly stated and defined. For example, "fixed" may be a fixed connection, or may be a detachable connection, or may be integrated; It may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and may be an internal connection of two elements or an interaction relationship of two elements unless explicitly defined otherwise. For those skilled in the art, the specific meanings of the above terms in the present application can be understood on a case-by-case basis.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本申请的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, the suffixes such as "module," "component," or "unit" used to denote an element are merely illustrative for the benefit of the present application, and have no particular meaning per se. Therefore, "module", "component" or "unit" can be used in combination.
另外,本申请各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。In addition, the technical solutions between the various embodiments of the present application may be combined with each other, but must be based on the realization of those skilled in the art, and the combination of technical solutions should be considered when the combination of technical solutions is contradictory or impossible to implement. It does not exist and is not covered by the scope of protection required by this application.
本申请提出一种电子装置100及其应用软件防误卸载的方法、计算机可读存储介质。The present application provides a method for preventing mis-uninstallation of an electronic device 100 and its application software, and a computer readable storage medium.
如图1所示,图1是本申请各实施例中涉及的电子装置100的硬件模块结构示意图;As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of hardware modules of an electronic device 100 according to various embodiments of the present application;
所述电子装置100包括麦克风10、存储单元20、处理单元30以及通信单元40等部件。可以理解的,所述电子装置100可以为手机、平板电脑、掌上电脑、笔记本电脑等电子设备。The electronic device 100 includes components such as a microphone 10, a storage unit 20, a processing unit 30, and a communication unit 40. It can be understood that the electronic device 100 can be an electronic device such as a mobile phone, a tablet computer, a palmtop computer, a notebook computer, or the like.
其中,所述处理单元30分别与所述存储单元20和所述麦克风10连接,所述存储单元20上存储有计算机程序,所述计算机程序可以被处理单元30执行。所述麦克风10采集到声音信号后将声音信号传送给所述处理单元30处理。而且,所述电子装置100可通过有线或者无线的方式与服务器之间建立通信连接,以实现数据交互。The processing unit 30 is respectively connected to the storage unit 20 and the microphone 10, and the storage unit 20 stores a computer program, which can be executed by the processing unit 30. The microphone 10 transmits the sound signal to the processing unit 30 for processing after the sound signal is collected. Moreover, the electronic device 100 can establish a communication connection with the server through a wired or wireless manner to implement data interaction.
在本实施例中,存储单元20,可用于存储软件程序以及各种数据。存储单元20可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等,存储数据区可存储电子装置100使用时所需的数据(比如密钥数据)等。此外,存储单元20可以包括高速随机存储单元,还可以包括非易失性存储单元,例如至少一个磁盘存储单元、闪存器件、或其他易失性固态存储单元器件。In this embodiment, the storage unit 20 can be used to store software programs and various data. The storage unit 20 may mainly include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function, and the like, and the storage data area may store data required for use by the electronic device 100 (for example, Key data) and so on. Further, the storage unit 20 may include a high speed random access unit, and may also include a nonvolatile storage unit such as at least one magnetic disk storage unit, a flash memory device, or other volatile solid state storage unit device.
处理单元30,是电子装置100的控制中心,利用各种接口和线路连接整个电子装置100的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储单元20内的数据,执行电子装置100的各种功能和处理数据,从而对电子装置100进行整体监控。处理单元30可包括一个或多个处理器或芯片;优选地,处理单元30可集成应用处理单元和调制解调处理单元,其中,应用处理单元主要处理操作系统、用户界面和应用程序等,调制解调处理单元主要处理无线通信。可以理解的是,上述调制解调处理单元也可以不集成到处理单元30中。The processing unit 30 is a control center of the electronic device 100, and connects various parts of the entire electronic device 100 by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory, and calling the storage in the storage unit 20 The internal data performs various functions and processing data of the electronic device 100, thereby performing overall monitoring of the electronic device 100. The processing unit 30 may include one or more processors or chips; preferably, the processing unit 30 may integrate an application processing unit and a modem processing unit, wherein the application processing unit mainly processes an operating system, a user interface, an application, etc., modulation The demodulation processing unit primarily processes wireless communications. It can be understood that the above-mentioned modem processing unit may not be integrated into the processing unit 30.
通信单元40,所述电子装置100通过所述通信单元40,以有线或者无线的方式与服务器及外部通讯设备(图未示出)通讯连接,接受外部通讯设备的信息、指令及参数。所述外部通讯设备可以是手机、平板电脑及监控设备等电子设备。The communication unit 40, through the communication unit 40, communicates with a server and an external communication device (not shown) in a wired or wireless manner, and receives information, instructions and parameters of the external communication device. The external communication device may be an electronic device such as a mobile phone, a tablet computer, and a monitoring device.
本领域技术人员可以理解,图1中所示出的电子装置100还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the electronic device 100 illustrated in FIG. 1 may also include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
基于上述硬件结构,提出本申请中的电子装置100的应用软件防误卸载的方法的各个实施例。Based on the hardware configuration described above, various embodiments of the method for preventing error uninstallation of the application software of the electronic device 100 in the present application are proposed.
参照图2,为本申请电子装置100的应用软件防误卸载的方法200第一实施例的方法流程示意图,所述应用软件防误卸载的方法200包括如下步骤:FIG. 2 is a schematic flowchart of a method for preventing an erroneous uninstallation of the application software of the electronic device 100 of the present application. The method 200 for preventing erroneous uninstallation of the application software includes the following steps:
步骤S10,响应用户在电子装置100上触发的卸载应用软件的操作,获取麦克风10采集的声音信号;Step S10: Acquire an audio signal collected by the microphone 10 in response to an operation of the uninstall application software triggered by the user on the electronic device 100;
可以理解的是,麦克风10采集的声音信号包括用户输入的语音信号和与用户发出语音信号时同时存在的其他声音信号,例如,如果用户输入语音信号时处于嘈杂的环境中,比如公交车上、地铁上等相对嘈杂的环境,那么麦克风10采集到的声音信号除了电子装置100的用户发出的语音信号外,还能采集到汽车的鸣笛声以及周围其他人或物发出的声音信号。It can be understood that the sound signal collected by the microphone 10 includes a voice signal input by the user and other sound signals existing simultaneously with the voice signal sent by the user, for example, if the user inputs the voice signal in a noisy environment, such as a bus, In the relatively noisy environment of the subway, the sound signal collected by the microphone 10 can collect the whistle of the car and the sound signals of other people or objects around it in addition to the voice signal sent by the user of the electronic device 100.
其中,所述用户在电子装置100上触发的卸载应用软件的操作包括以下操作中的至少一种:用户在电子装置100的用户界面上进行长按拖动应用软件图标的操作,或者用户在电子装置100的应用软件卸载界面中选中应用软件的操作。The operation of uninstalling the application software triggered by the user on the electronic device 100 includes at least one of the following operations: the user performs an operation of long pressing the application icon on the user interface of the electronic device 100, or the user is in the electronic The operation of the application software is selected in the application software uninstallation interface of the device 100.
步骤S20,根据所述声音信号,确定用户输入的语音信息;Step S20, determining voice information input by the user according to the sound signal;
其中,处理单元30可以将麦克风10采集到的用户输入的语音信号和与用户发出语音信号时同时存在的其他声音信号进行分辨处理,并将用户输入的语音信号转变成语音信息。The processing unit 30 can distinguish the voice signal input by the user collected by the microphone 10 and other sound signals existing simultaneously with the voice signal sent by the user, and convert the voice signal input by the user into voice information.
步骤S30,判断所述语音信息是否符合预设条件;Step S30, determining whether the voice information meets a preset condition;
其中,所述预设条件可以是语音信息的音频特征,也可以是预设的文本指令。所述处理单元30通过将麦克风10采集到的语音信息与存储单元20储存的预设条件进行对比,比如,音频特征是否与预设条件一致,或者将语音信息转化为文本命令后是否与预设条件一致。The preset condition may be an audio feature of the voice information, or may be a preset text instruction. The processing unit 30 compares the voice information collected by the microphone 10 with a preset condition stored by the storage unit 20, for example, whether the audio feature is consistent with the preset condition, or whether the voice information is converted into a text command and is preset. The conditions are the same.
步骤S40,当所述语音信息不符合预设条件时,退出对所述应用软件的卸载。Step S40, when the voice information does not meet the preset condition, the uninstallation of the application software is exited.
具体地,当所述处理单元30将所述语音信息与预设条件对比后,确定所述语音信息与预设条件不一致时,所述处理单元30立即退出对所述电子装置100的应用软件的卸载,防止应用软件被误卸载。Specifically, when the processing unit 30 compares the voice information with a preset condition, and determines that the voice information is inconsistent with the preset condition, the processing unit 30 immediately exits the application software of the electronic device 100. Uninstall to prevent the application software from being uninstalled by mistake.
可以理解的是,所述步骤S30之后还包括步骤:当所述语音信息符合预设条件时,则对所述应用软件进行卸载。
It can be understood that, after the step S30, the method further includes the step of: when the voice information meets a preset condition, uninstalling the application software.
在本实施例中,通过麦克风10采集声音信号,并通过声音信号确认用户输入的语音信息,然后对语音信息进行分析,在判断语音信息不符合预设条件时,退出对应用软件的卸载,防止了应用软件被误卸载,从而保护了应用软件中的信息不会丢失,方便用户使用。In this embodiment, the sound signal is collected by the microphone 10, and the voice information input by the user is confirmed by the sound signal, and then the voice information is analyzed. When it is determined that the voice information does not meet the preset condition, the uninstallation of the application software is exited to prevent The application software is uninstalled by mistake, thereby protecting the information in the application software from being lost and convenient for the user to use.
请一并参考图3,基于本申请第一实施例中的电子装置100的应用软件防误卸载的方法200,提出第二实施例中的所述电子装置100的应用软件防误卸载的方法201流程图;在第二实施例中,所述步骤S10~步骤S30均与第一实施例中相同,在此不再赘述;其不同在于,所述步骤S40之后,还包括:Referring to FIG. 3 , a method 201 for preventing error uninstallation of the application software of the electronic device 100 in the second embodiment is proposed based on the method 200 for preventing error uninstallation of the application software of the electronic device 100 in the first embodiment of the present application. In the second embodiment, the steps S10 to S30 are the same as those in the first embodiment, and are not described here again. The difference is that after the step S40, the method further includes:
步骤S410,提供一可视化界面,用于显示是否再次采集所述声音信号的菜单选项;Step S410, providing a visual interface for displaying whether the menu option of the sound signal is acquired again;
步骤S420,判断是否接收到用户对所述再次采集所述声音信号的菜单选项的选择;Step S420, determining whether the user's selection of the menu option for re-acquiring the sound signal is received;
步骤S430,在接收到用户对所述再次采集所述声音信号的菜单选项的选择时,进入所述响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号的步骤;Step S430, when receiving the user's selection of the menu option for re-acquiring the sound signal, entering the step of acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device;
步骤S440,在接受到用户对所述不再采集所述声音信号的菜单选项的选择,进入当所述语音信息不符合预设条件时,所述退出对所述应用软件的卸载的步骤。Step S440, after accepting the user's selection of the menu option that the sound signal is no longer collected, and entering the step of exiting the uninstallation of the application software when the voice information does not meet the preset condition.
其中,在该第二实施例中,当处理单元30判断所述语音信息不符合预设条件时,提供一可视化界面,用于显示是否再次采集所述声音信号的菜单选项,菜单选项可以是“重新采集”的选项和“退出采集”的选项。然后判断是否接收到用户对“重新采集”的选项和“退出采集”的选项的选择。当用户选择“重新采集”的选项时,处理单元30响应用户的选择,进入所述获取麦克风10采集的声音信号的步骤,用户重新输入声音信号;当用户选择“退出采集”的选项时,处理单元30响应用户的选择,进入退出对所述应用软件的卸载的步骤。本实施例当所述语音信息不符合预设条件时,提供一个可视化界面来询问用户,给用户提供一次重新选择的机会,既能防止应用软件被误卸载,又能将用户想卸载的应用软件被卸载掉,满足用户的要求。In the second embodiment, when the processing unit 30 determines that the voice information does not meet the preset condition, providing a visual interface for displaying whether to select the menu option of the sound signal again, the menu option may be “ The option to re-acquire and the option to exit the acquisition. It is then determined whether the user's selection of the "Re-acquisition" option and the "Exit Acquisition" option has been received. When the user selects the option of “re-acquisition”, the processing unit 30 enters the step of acquiring the sound signal collected by the microphone 10 in response to the user's selection, and the user re-enters the sound signal; when the user selects the “exit acquisition” option, the processing is performed. Unit 30, in response to the user's selection, enters the step of exiting the uninstallation of the application. In this embodiment, when the voice information does not meet the preset condition, a visual interface is provided to query the user, and the user is provided with a chance of re-selection, which can prevent the application software from being uninstalled by mistake and can uninstall the application software that the user wants to uninstall. It is uninstalled to meet the requirements of users.
请一并参考图4,基于本申请第一实施例中的电子装置100的应用软件防误卸载的方法200,提出第三实施例中的所述电子装置100的应用软件防误卸载的方法202流程图;在第三实施例中,所述步骤S10~步骤S30均与第一实施例中相同,在此不再赘述;其不同在于,所述步骤S430后包括:
Referring to FIG. 4 , a method 202 for preventing application error prevention of the electronic device 100 in the third embodiment is proposed based on the method 200 for preventing the error uninstallation of the application software of the electronic device 100 in the first embodiment of the present application. In the third embodiment, the steps S10 to S30 are the same as those in the first embodiment, and are not described here again. The difference is that the step S430 includes:
步骤S310,获取连续判断所述语音信息不符合所述预设条件的次数;Step S310, acquiring a number of times that the voice information does not meet the preset condition continuously;
用户第一次输入的声音信号不符合所述预设条件后,用户选择了“重新采集”的选项后,进入所述获取麦克风10采集的声音信号的步骤,用户重新输入声音信号。重新输入的声音信号还不符合预设条件后,用户再次选择“重新采集”的选项,并再次进入所述获取麦克风10采集的声音信号的步骤。本实施例的所述语音信息不符合所述预设条件的次数为输入声音信号的第一次和重新输入声音信号的次数总和。After the user inputs the sound signal for the first time and does not meet the preset condition, after the user selects the option of “re-acquisition”, the user enters the step of acquiring the sound signal collected by the microphone 10, and the user inputs the sound signal again. After the re-entered sound signal does not meet the preset condition, the user again selects the option of "re-acquisition" and enters the step of acquiring the sound signal collected by the microphone 10 again. The number of times the voice information of the embodiment does not meet the preset condition is the sum of the first time of the input sound signal and the number of times the sound signal is re-entered.
步骤S320,判断所述次数是否大于预设次数;Step S320, determining whether the number of times is greater than a preset number of times;
本实施例中,可以将不符合预设条件的次数设置为三次,即提供给客户重新输入声音信号的机会为两次。需要说明的是,本实施例不对预设次数做限制,可以根据用户的需求还可以将预设次数设置为其他次数。In this embodiment, the number of times that the preset condition is not met may be set to three times, that is, the chance of providing the user with re-input of the sound signal is two times. It should be noted that, in this embodiment, the preset number of times is not limited, and the preset number of times may be set to other times according to the needs of the user.
步骤S330,在所述次数大于所述预设次数时,锁定所述电子装置100的操作系统,以禁止对该电子装置100进行操作。In step S330, when the number of times is greater than the preset number of times, the operating system of the electronic device 100 is locked to prohibit the operation of the electronic device 100.
具体地,可以在电子装置100的开机引导程序(BOOT系统)中植入锁定值,以控制电子装置100在开机时,BOOT系统直接禁止加载电子装置100的操作系统,从而达到锁定所述电子装置100的操作系统,以禁止对该电子装置100进行操作的目的。在另一可选的实施例中,还可以在电子装置100中设置锁屏密码等方式锁定所述电子装置100的操作系统,当输入密码不正确时,锁定所述电子装置100的操作系统,使当前用户无法正常使用电子装置100。Specifically, a lock value may be implanted in the booting procedure (BOOT system) of the electronic device 100 to control the electronic device 100 to directly prohibit the loading of the operating system of the electronic device 100 when the electronic device 100 is turned on, thereby locking the electronic device. The operating system of 100 prohibits the operation of the electronic device 100. In another optional embodiment, the operating system of the electronic device 100 may be locked by setting a lock screen password or the like in the electronic device 100, and when the input password is incorrect, the operating system of the electronic device 100 is locked. The electronic device 100 is not normally used by the current user.
在第三实施例中,对所述语音信息不符合所述预设条件的次数做了限定,当语音信息连续三次不符合所述预设条件时,锁定所述电子装置100的操作系统,以禁止对该电子装置100进行操作,保证电子装置100的安全性。例如,当用户的手机被儿童玩耍时,儿童对在电子装置100上的应用软件进行了卸载操作,儿童输入的声音信号连续出错三次后,则锁定所述电子装置100的操作系统,以禁止儿童对电子装置100再次进行操作,避免用户的电子装置100中重要的应用软件或者信息等丢失。In the third embodiment, the number of times the voice information does not meet the preset condition is limited. When the voice information does not meet the preset condition for three consecutive times, the operating system of the electronic device 100 is locked. The operation of the electronic device 100 is prohibited, and the security of the electronic device 100 is ensured. For example, when the user's mobile phone is played by the child, the child performs an unloading operation on the application software on the electronic device 100, and after the child's input sound signal continuously fails three times, the operating system of the electronic device 100 is locked to prohibit the child. The electronic device 100 is operated again to avoid loss of important application software or information in the user's electronic device 100.
请参考图5,在一实施例中,所述步骤S30,可以具体包括:Referring to FIG. 5, in an embodiment, the step S30 may specifically include:
S340,获取所述语音信息的音频特征;S340. Acquire an audio feature of the voice information.
其中,所述音频特征可以包括用户输入的语音信息的频率、幅度变化等。The audio feature may include a frequency, a change in amplitude, and the like of the voice information input by the user.
S350,判断所述语音信息的音频特征是否符合所述预设条件,其中,所述预设条件为预设的音频特征。S350. Determine whether the audio feature of the voice information meets the preset condition, where the preset condition is a preset audio feature.
判断所述语音信息的音频特征是否符合所述预设条件,例如,既可以判断所述语音信息是否是用户自身所发出的声音信号,也可以判断所述语音信息的音频特征与用户预设的语音信息的音频特征是否一致。当判断出所述语音信息不是用户自身发出的声音信号,或者判断出所述语音信息的音频特征与用户预设的语音信息的音频特征不一致时,则退出对所述应用软件的卸载。Determining whether the audio feature of the voice information meets the preset condition, for example, determining whether the voice information is a sound signal sent by the user itself, or determining an audio feature of the voice information and a user preset Whether the audio characteristics of the voice information are consistent. When it is determined that the voice information is not a sound signal sent by the user itself, or it is determined that the audio feature of the voice information is inconsistent with the audio feature of the voice information preset by the user, the uninstallation of the application software is exited.
请参考图6,在另一实施例中,所述步骤S30,可以具体包括:Referring to FIG. 6, in another embodiment, the step S30 may specifically include:
S360,对所述语音信息进行语义识别,获取与所述语音信息对应的文本命令;S360, performing semantic recognition on the voice information, and acquiring a text command corresponding to the voice information;
麦克风10将采集到声音信号送到处理单元30,处理单元30对所述语音信息进行语义识别,获取到语音信息对应的文本命令。The microphone 10 sends the collected sound signal to the processing unit 30, and the processing unit 30 performs semantic recognition on the voice information to obtain a text command corresponding to the voice information.
S370,判断所述文本命令是否符合预设条件,其中,所述预设条件为预设的文本命令。S370. Determine whether the text command meets a preset condition, where the preset condition is a preset text command.
判断所述文本命令不符合预设的文本命令时,则退出对所述应用软件的卸载。When it is determined that the text command does not conform to the preset text command, the uninstallation of the application software is exited.
请参照图7,基于本申请第一实施例中的电子装置100的应用软件防误卸载的方法200,提出第四实施例中的所述电子装置100的应用软件防误卸载的方法203流程图;在第四实施例中,所述步骤S10~步骤S40与第一实施例中相同,在此不再赘述;在本实施例中,所述S10之前,包括:Referring to FIG. 7 , a method 203 for preventing erroneous uninstallation of application software of the electronic device 100 in the fourth embodiment is proposed based on the method 200 for preventing error uninstallation of the application software of the electronic device 100 in the first embodiment of the present application. In the fourth embodiment, the steps S10 to S40 are the same as those in the first embodiment, and are not described here. In the embodiment, before the S10, the method includes:
步骤S101,判断所述电子装置100是否进入应用软件防误卸载模式;Step S101, determining whether the electronic device 100 enters an application software anti-error uninstall mode;
在所述电子装置100进入应用软件防误卸载模式时,进入响应用户在电子装置100上触发的卸载应用软件的操作,获取麦克风10采集的声音信号的步骤。When the electronic device 100 enters the application software anti-error uninstall mode, the step of acquiring the sound signal collected by the microphone 10 in response to the operation of the uninstall application software triggered by the user on the electronic device 100 is entered.
电子装置100进入应用软件防误卸载模式时,其对电子装置100的运行速度有一定的影响,所述电子装置100可以在响应用户在电子装置100上触发的卸载应用软件的操作之后,再进入应用软件防误卸载模式。这样既不会拖慢电子装置100的运行速度,也不会发生应用软件被误卸载的情况。所述电子装置100进入应用软件防误卸载模式之后,与第一实施例中相同,在此不再赘述。When the electronic device 100 enters the application software anti-missing mode, it has a certain influence on the running speed of the electronic device 100, and the electronic device 100 can enter after responding to the operation of the uninstalling application software triggered by the user on the electronic device 100. Application software anti-missing mode. This will not slow down the operation speed of the electronic device 100, nor will the application software be accidentally uninstalled. After the electronic device 100 enters the application software anti-error uninstall mode, it is the same as in the first embodiment, and details are not described herein again.
具体地,本实施例中,当前用户在电子装置100的用户界面上进行长按拖动应用软件图标或者当前用户在电子装置100的应用软件卸载界面中选中应用软件后,电子装置100自动进入应用软件防误卸载模式,然后麦克风10将采集到的声音信号传送至处理单元30,麦克风10采集的声音信号包括用户输入的语音信号和与用户发出语音信号时同时存在的其他声音信号。处理单元30将麦克风10采集到语音信号和与用户发出出语音信号时同时存在的其他声音信号进行分辨处理,并将用户输入的语音信号转变成语音信息。然后将语音信息与存储单元20所存储的预设条件进行对比,并作出判断;在语音信息不符合预设条件时,退出对所述应用软件的卸载。Specifically, in this embodiment, after the current user performs a long press of the application icon on the user interface of the electronic device 100 or the current user selects the application software in the application software uninstallation interface of the electronic device 100, the electronic device 100 automatically enters the application. The software prevents the error unloading mode, and then the microphone 10 transmits the collected sound signal to the processing unit 30. The sound signal collected by the microphone 10 includes a voice signal input by the user and other sound signals existing simultaneously with the user's voice signal. The processing unit 30 separates the microphone 10 from the voice signal and other sound signals that exist simultaneously with the voice signal sent by the user, and converts the voice signal input by the user into voice information. Then, the voice information is compared with the preset condition stored by the storage unit 20, and a determination is made; when the voice information does not meet the preset condition, the uninstallation of the application software is exited.
可选地,在所述步骤S101之前,包括:Optionally, before the step S101, the method includes:
步骤S001,提供一可视化界面,显示所述电子装置100的设置菜单,所述设置菜单包括进入应用软件防误卸载模式的菜单选项;Step S001, providing a visual interface for displaying a setting menu of the electronic device 100, where the setting menu includes a menu option for entering an application software anti-missing mode;
步骤S002,响应用户在所述电子装置100的设置菜单对进入应用软件防误卸载模式的选择,进入所述应用软件防误卸载模式。In step S002, in response to the user selecting the application-oriented anti-error uninstall mode in the setting menu of the electronic device 100, the application software prevents the error-unloading mode.
在可视化界面中,包括各种设置菜单,比如网络菜单、权限菜单、显示菜单等,也包括应用软件防误卸载模式的菜单。当用户选中所述应用软件防误卸载模式的菜单后,电子装置100进入所述应用软件防误卸载模式。In the visual interface, various setting menus, such as a network menu, a permission menu, a display menu, etc., are also included, and a menu of the application software anti-missing mode is also included. After the user selects the menu of the application software anti-missing mode, the electronic device 100 enters the application software anti-missing mode.
请再次参照图1,本申请提供的电子装置100包括麦克风10、存储单元20、处理单元30、通信单元40以及存储在存储单元20上并可在处理单元30上运行的计算机程序,所述处理单元30执行所述计算机程序时实现上述任一实施例所述应用软件防误卸载的方法的步骤,具体包括:Referring to FIG. 1 again, the electronic device 100 provided by the present application includes a microphone 10, a storage unit 20, a processing unit 30, a communication unit 40, and a computer program stored on the storage unit 20 and operable on the processing unit 30, the processing The step of the method for implementing the anti-error uninstallation of the application software in any of the above embodiments when the unit 30 executes the computer program, specifically includes:
步骤S10,响应用户在电子装置100上触发的卸载应用软件的操作,获取麦克风10采集的声音信号;Step S10: Acquire an audio signal collected by the microphone 10 in response to an operation of the uninstall application software triggered by the user on the electronic device 100;
步骤S20,根据所述声音信号,确定用户输入的语音信息;Step S20, determining voice information input by the user according to the sound signal;
步骤S30,判断所述语音信息是否符合预设条件;Step S30, determining whether the voice information meets a preset condition;
步骤S40,当所述语音信息不符合预设条件时,退出对所述应用软件的卸载。Step S40, when the voice information does not meet the preset condition, the uninstallation of the application software is exited.
在本实施例中,通过麦克风10采集声音信号,并通过声音信号确认用户输入的语音信息,然后对语音信息进行分析,在判断语音信息不符合预设条件时,退出对应用软件的卸载,防止了应用软件被误卸载,从而保护了应用软件中的信息不会丢失,方便用户使用。In this embodiment, the sound signal is collected by the microphone 10, and the voice information input by the user is confirmed by the sound signal, and then the voice information is analyzed. When it is determined that the voice information does not meet the preset condition, the uninstallation of the application software is exited to prevent The application software is uninstalled by mistake, thereby protecting the information in the application software from being lost and convenient for the user to use.
进一步地,所述计算机程序被处理单元30执行时,所述步骤S40之后实现:Further, when the computer program is executed by the processing unit 30, the step S40 is implemented after:
步骤S410,提供一可视化界面,用于显示是否再次采集所述声音信号的菜单选项;Step S410, providing a visual interface for displaying whether the menu option of the sound signal is acquired again;
步骤S420,判断是否接收到用户对所述再次采集所述声音信号的菜单选项的选择;Step S420, determining whether the user's selection of the menu option for re-acquiring the sound signal is received;
步骤S430,在接收到用户对所述再次采集所述声音信号的菜单选项的选择时,进入所述响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号的步骤;Step S430, when receiving the user's selection of the menu option for re-acquiring the sound signal, entering the step of acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device;
步骤S440,在接受到用户对所述不再采集所述声音信号的菜单选项的选择,进入当所述语音信息不符合预设条件时,所述退出对所述应用软件的卸载的步骤。Step S440, after accepting the user's selection of the menu option that the sound signal is no longer collected, and entering the step of exiting the uninstallation of the application software when the voice information does not meet the preset condition.
进一步地,所述计算机程序被处理单元30执行时,所述步骤S430之后还实现:Further, when the computer program is executed by the processing unit 30, the step S430 is further implemented after:
步骤S310,获取连续判断所述语音信息不符合所述预设条件的次数;Step S310, acquiring a number of times that the voice information does not meet the preset condition continuously;
步骤S320,判断所述次数是否大于预设次数;Step S320, determining whether the number of times is greater than a preset number of times;
步骤S330,在所述次数大于所述预设次数时,锁定所述电子装置100的操作系统,以禁止对该电子装置100进行操作。In step S330, when the number of times is greater than the preset number of times, the operating system of the electronic device 100 is locked to prohibit the operation of the electronic device 100.
进一步地,所述计算机程序被处理单元30执行时,所述步骤S30实现:Further, when the computer program is executed by the processing unit 30, the step S30 is implemented as follows:
S340,获取所述语音信息的音频特征;S340. Acquire an audio feature of the voice information.
S350,判断所述语音信息的音频特征是否符合所述预设条件,其中,所述预设条件为预设的音频特征。S350. Determine whether the audio feature of the voice information meets the preset condition, where the preset condition is a preset audio feature.
进一步地,所述计算机程序被处理器30执行时,所述步骤S30还实现:Further, when the computer program is executed by the processor 30, the step S30 further implements:
S360,对所述语音信息进行语义识别,获取与所述语音信息对应的文本命令;S360, performing semantic recognition on the voice information, and acquiring a text command corresponding to the voice information;
S370,判断所述文本命令是否符合预设条件,其中,所述预设条件为预设的文本命令。S370. Determine whether the text command meets a preset condition, where the preset condition is a preset text command.
进一步地,所述计算机程序被处理器30执行时,所述步骤S10之前还实现:Further, when the computer program is executed by the processor 30, the step S10 is also implemented before:
步骤S101,判断所述电子装置100是否进入应用软件防误卸载模式;Step S101, determining whether the electronic device 100 enters an application software anti-error uninstall mode;
在所述电子装置100进入应用软件防误卸载模式时,进入响应用户在电子装置100上触发的卸载应用软件的操作,获取麦克风10采集的声音信号的步骤。When the electronic device 100 enters the application software anti-error uninstall mode, the step of acquiring the sound signal collected by the microphone 10 in response to the operation of the uninstall application software triggered by the user on the electronic device 100 is entered.
进一步地,所述计算机程序被处理器30执行时,所述步骤S101之前还实现:Further, when the computer program is executed by the processor 30, the step S101 is also implemented before:
步骤S001,提供一可视化界面,显示所述电子装置100的设置菜单,所述设置菜单包括进入应用软件防误卸载模式的菜单选项;Step S001, providing a visual interface for displaying a setting menu of the electronic device 100, where the setting menu includes a menu option for entering an application software anti-missing mode;
步骤S002,响应用户在所述电子装置100的设置菜单对进入应用软件防误卸载模式的选择,进入所述应用软件防误卸载模式。In step S002, in response to the user selecting the application-oriented anti-error uninstall mode in the setting menu of the electronic device 100, the application software prevents the error-unloading mode.
本申请还提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理单元30执行时实现上述任一实施例所述的应用软件防误卸载的方法的步骤。The present application further provides a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by the processing unit 30 to implement the steps of the method for preventing error uninstallation of the application software according to any of the above embodiments. .
在本说明书的描述中,参考术语“一实施例”、“另一实施例”、“其他实施例”、
或“第一实施例~第X实施例”等的描述意指结合该实施例或示例描述的具体特征、
结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料、方法步骤或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of the present specification, reference is made to the terms "one embodiment", "another embodiment", "other embodiment",
Or the description of the "first embodiment to the Xth embodiment" and the like means specific features described in connection with the embodiment or the example,
Structures, materials or features are included in at least one embodiment or example of the application. In the present specification, the schematic representation of the above terms does not necessarily mean the same embodiment or example. Furthermore, the particular features, structures, materials, method steps or features described may be combined in a suitable manner in any one or more embodiments or examples.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in the various embodiments of the present application.
以上所述仅为本申请的可选实施,并非因此限制本申请的专利范围,凡是在本申请的构思下,利用本申请说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本申请的专利保护范围内。The above description is only an optional implementation of the present application, and thus does not limit the scope of patents of the present application, and the equivalent structural transformations made by the contents of the specification and the drawings of the present application, or directly/indirectly Other related technical fields are included in the patent protection scope of the present application.
Claims (10)
- 一种电子装置的应用软件防误卸载的方法,其特征在于,包括步骤: A method for preventing error unloading of an application of an electronic device, comprising the steps of:响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号;Acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device;根据所述声音信号,确定用户输入的语音信息;Determining voice information input by the user according to the sound signal;判断所述语音信息是否符合预设条件;Determining whether the voice information meets a preset condition;当所述语音信息不符合预设条件时,退出对所述应用软件的卸载。When the voice information does not meet the preset condition, the uninstallation of the application software is exited.
- 如权利要求1所述的电子装置的应用软件防误卸载的方法,其特征在于,所述当所述语音信息不符合预设条件时,退出对应用软件的卸载的步骤之后,还包括:The method for preventing the unloading of the application software of the electronic device according to claim 1, wherein the step of exiting the uninstallation of the application software when the voice information does not meet the preset condition further includes:提供一可视化界面,用于显示是否再次采集所述声音信号的菜单选项;Providing a visual interface for displaying a menu option of whether to acquire the sound signal again;判断是否接收到用户对所述再次采集所述声音信号的菜单选项的选择;Determining whether a user's selection of a menu option for re-acquiring the sound signal is received;在接收到用户对所述再次采集所述声音信号的菜单选项的选择时,进入所述响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号的步骤;Receiving, by the user, the selection of the menu option for acquiring the sound signal again, the step of acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device;在接受到用户对所述不再采集所述声音信号的菜单选项的选择,进入当所述语音信息不符合预设条件时,所述退出对所述应用软件的卸载的步骤。After receiving the user's selection of the menu option that the sound signal is no longer collected, the step of exiting the uninstallation of the application software when the voice information does not meet the preset condition is entered.
- 如权利要求2所述的电子装置的应用软件防误卸载的方法,其特征在于,所述响应用户对所述再次采集所述声音信号的菜单选项的选择,进入所述获取麦克风采集的声音信号的步骤之后,还包括:The method for preventing error-unloading of an application of an electronic device according to claim 2, wherein the responding to the user's selection of the menu option for re-acquiring the sound signal enters the sound signal acquired by the acquisition microphone After the steps, it also includes:获取连续判断所述语音信息不符合所述预设条件的次数;Obtaining a number of times that the voice information does not meet the preset condition continuously;判断所述次数是否大于预设次数;Determining whether the number of times is greater than a preset number of times;在所述次数大于所述预设次数时,锁定所述电子装置的操作系统,以禁止对该电子装置进行操作。When the number of times is greater than the preset number of times, the operating system of the electronic device is locked to prohibit operation of the electronic device.
- 如权利要求1所述的电子装置的应用软件防误卸载的方法,其特征在于,所述判断所述语音信息是否符合预设条件的步骤,包括:The method for preventing the erroneous uninstallation of the application software of the electronic device according to claim 1, wherein the step of determining whether the voice information meets a preset condition comprises:获取所述语音信息的音频特征;Obtaining an audio feature of the voice information;判断所述语音信息的音频特征是否符合所述预设条件,其中,所述预设条件为预设的音频特征。Determining whether the audio feature of the voice information meets the preset condition, wherein the preset condition is a preset audio feature.
- 如权利要求1所述的电子装置的应用软件防误卸载的方法,其特征在于,所述判断所述语音信息是否符合预设条件的步骤,包括:The method for preventing the erroneous uninstallation of the application software of the electronic device according to claim 1, wherein the step of determining whether the voice information meets a preset condition comprises:对所述语音信息进行语义识别,获取与所述语音信息对应的文本命令;Performing semantic recognition on the voice information to obtain a text command corresponding to the voice information;判断所述文本命令是否符合预设条件,其中,所述预设条件为预设的文本命令。Determining whether the text command meets a preset condition, wherein the preset condition is a preset text command.
- 如权利要求1所述的电子装置的应用软件防误卸载的方法,其特征在于,所述用户在电子装置上触发的卸载应用软件的操作包括以下操作中的至少一种:The method for preventing error uninstallation of an application of an electronic device according to claim 1, wherein the operation of uninstalling the application software triggered by the user on the electronic device comprises at least one of the following operations:用户在电子装置的用户界面上进行长按拖动应用软件图标的操作;The user performs long-pressing operation of dragging the application icon on the user interface of the electronic device;用户在电子装置的应用软件卸载界面中选中应用软件的操作。The user selects the operation of the application software in the application uninstallation interface of the electronic device.
- 如权利要求1所述的电子装置的应用软件防误卸载的方法,其特征在于,在所述响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号的步骤之前,包括:The method for preventing error-unloading of the application software of the electronic device according to claim 1, wherein before the step of acquiring the sound signal collected by the microphone in response to the operation of the uninstall application software triggered by the user on the electronic device, :判断所述电子装置是否进入应用软件防误卸载模式;Determining whether the electronic device enters an application software anti-error uninstall mode;在所述电子装置进入应用软件防误卸载模式时,进入响应用户在电子装置上触发的卸载应用软件的操作,获取麦克风采集的声音信号的步骤。When the electronic device enters the application software anti-wrong uninstall mode, the step of acquiring the sound signal collected by the microphone is input in response to the operation of the uninstall application software triggered by the user on the electronic device.
- 如权利要求7所述的电子装置的应用软件防误卸载的方法,其特征在于,在判断所述电子装置是否进入应用软件防误卸载模式的步骤之前,包括:The method for preventing the erroneous uninstallation of the application software of the electronic device according to claim 7, wherein before the step of determining whether the electronic device enters the application software for preventing the erroneous uninstallation mode, the method includes:提供一可视化界面,显示所述电子装置的设置菜单,所述设置菜单包括进入应用软件防误卸载模式的菜单选项;Providing a visual interface for displaying a setting menu of the electronic device, where the setting menu includes a menu option for entering an application software anti-missing mode;响应用户在所述电子装置的设置菜单对进入应用软件防误卸载模式的选择,进入所述应用软件防误卸载模式。And responding to the user's selection of entering the application software anti-missing mode in the setting menu of the electronic device, entering the application software anti-missing mode.
- 一种电子装置,包括麦克风、存储单元、处理单元、通信单元以及存储在存储单元上并可在处理单元上运行的计算机程序,其特征在于,所述处理单元执行所述计算机程序时实现如权利要求1至8中任一项所述防误卸载的方法的步骤。An electronic device comprising a microphone, a storage unit, a processing unit, a communication unit, and a computer program stored on the storage unit and operable on the processing unit, wherein the processing unit implements the right when executing the computer program The method of the method of preventing mis-unloading according to any one of 1 to 8.
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理单元执行时实现如权利要求1至8中任一项所述防误卸载的方法的步骤。A computer readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processing unit, implements the steps of the method of preventing false uninstallation according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/101649 WO2019051694A1 (en) | 2017-09-13 | 2017-09-13 | Electronic device, method for preventing false uninstallation of application software thereof, and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/101649 WO2019051694A1 (en) | 2017-09-13 | 2017-09-13 | Electronic device, method for preventing false uninstallation of application software thereof, and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019051694A1 true WO2019051694A1 (en) | 2019-03-21 |
Family
ID=65722283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/101649 WO2019051694A1 (en) | 2017-09-13 | 2017-09-13 | Electronic device, method for preventing false uninstallation of application software thereof, and readable storage medium |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2019051694A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224349A (en) * | 2014-06-12 | 2016-01-06 | 小米科技有限责任公司 | The deletion reminding method of application program and device |
CN106021563A (en) * | 2016-05-30 | 2016-10-12 | 珠海市魅族科技有限公司 | Object deleting method and device |
CN106790980A (en) * | 2016-11-15 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of information processing method and terminal |
-
2017
- 2017-09-13 WO PCT/CN2017/101649 patent/WO2019051694A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224349A (en) * | 2014-06-12 | 2016-01-06 | 小米科技有限责任公司 | The deletion reminding method of application program and device |
CN106021563A (en) * | 2016-05-30 | 2016-10-12 | 珠海市魅族科技有限公司 | Object deleting method and device |
CN106790980A (en) * | 2016-11-15 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of information processing method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013127233A1 (en) | Cellphone-based key unlocking method and cellphone | |
WO2018159971A1 (en) | Operating method of electronic device for function execution based on voice command in locked state and electronic device supporting the same | |
WO2015119484A1 (en) | User terminal device and displaying method thereof | |
WO2017095033A1 (en) | Method and apparatus using frictional sound | |
WO2018131775A1 (en) | Electronic device and method of operation thereof | |
WO2013162200A1 (en) | Method and terminal for displaying a plurality of pages, method and terminal for displaying a plurality of applications being executed on terminal, and method of executing a plurality of applications | |
WO2018026102A1 (en) | Electronic device and operation method therefor | |
WO2015170894A1 (en) | Wearable device and controlling method thereof | |
WO2015163741A1 (en) | User terminal device and lock screen display method therefor | |
WO2017054592A1 (en) | Interface display method and terminal | |
WO2019128174A1 (en) | Method for playing audio, smart television and computer-readable storage medium | |
WO2015122590A1 (en) | Electronic device and method for controlling the same | |
AU2017346260B2 (en) | Electronic device and computer-readable recording medium for displaying images | |
WO2019051902A1 (en) | Terminal control method, air conditioner and computer-readable storage medium | |
WO2018188342A1 (en) | Method, apparatus and device for generating script file, and computer-readable storage medium | |
WO2016000560A1 (en) | File transmission method, file transmission apparatus, and file transmission system | |
WO2018076875A1 (en) | Backup data synchronisation method, apparatus, storage medium, electronic device, and server | |
WO2018233221A1 (en) | Multi-window sound output method, television, and computer-readable storage medium | |
WO2017219663A1 (en) | Mobile terminal, and method and system for searching application program thereof | |
WO2019085543A1 (en) | Television system and television control method | |
WO2017024877A1 (en) | Method and device for switching television main-interface | |
WO2016108407A1 (en) | Annotation providing method and device | |
WO2017152526A1 (en) | External device automatic mounting and notification control method and system | |
WO2019061546A1 (en) | Mobile terminal photographing method, device and computer readable storage medium | |
WO2017080195A1 (en) | Audio recognition method and device |
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: 17925275 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17925275 Country of ref document: EP Kind code of ref document: A1 |