CN106843903B - User behavior mode application method and device of intelligent mobile terminal - Google Patents

User behavior mode application method and device of intelligent mobile terminal Download PDF

Info

Publication number
CN106843903B
CN106843903B CN201710087510.0A CN201710087510A CN106843903B CN 106843903 B CN106843903 B CN 106843903B CN 201710087510 A CN201710087510 A CN 201710087510A CN 106843903 B CN106843903 B CN 106843903B
Authority
CN
China
Prior art keywords
user behavior
mobile terminal
intelligent mobile
mode
behavior mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710087510.0A
Other languages
Chinese (zh)
Other versions
CN106843903A (en
Inventor
徐青昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710087510.0A priority Critical patent/CN106843903B/en
Publication of CN106843903A publication Critical patent/CN106843903A/en
Application granted granted Critical
Publication of CN106843903B publication Critical patent/CN106843903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Abstract

The embodiment of the invention provides a user behavior mode application method of an intelligent mobile terminal, which comprises the following steps: invoking a predefined mode selection control object when a headset connection event is detected, wherein the predefined mode selection control object comprises selectable user behavior pattern information; displaying the mode selection control object on an interface of the intelligent mobile terminal; receiving selection operation of a user on an interface of the intelligent mobile terminal, and selecting a target user behavior mode from the selectable user behavior mode information; and executing the target user behavior pattern at the intelligent mobile terminal. The embodiment of the invention can solve the problem that the system message prompt tone and the application message prompt tone in the prior art can influence the user to listen to music or watch video.

Description

User behavior mode application method and device of intelligent mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a user behavior mode application method and a user behavior mode application device of an intelligent mobile terminal.
Background
Along with the progress of science and technology, the functions of the mobile intelligent terminal are more and more abundant. Taking a mobile phone as an example, a traditional mobile phone has basic communication functions such as telephone and short message, and a current smart phone has functions of taking a picture, playing a multimedia file, and the like besides the basic communication functions such as telephone and short message.
At present, a common phenomenon is that people listen to music or watch videos by using a smart phone during commuting, under the condition that the smart phone receives information such as short message information and WeChat information, an information prompt tone interrupts music sound or video sound, namely, the smart phone weakens the music sound or the video sound, or strengthens the information prompt tone on the basis of not weakening the music sound or the video sound. Either way, the user's experience of listening to music or watching video is affected.
The existing solution is to completely shield the information prompt tone, but another situation occurs, and the user forgets to recover the information prompt tone after listening to music or watching video, so that the user cannot know new information, and the user cannot timely reply the message.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a user behavior pattern application method for an intelligent mobile terminal and a corresponding user behavior pattern application apparatus for an intelligent mobile terminal.
In order to solve the above problems, an embodiment of the present invention discloses a user behavior pattern application method for an intelligent mobile terminal, including:
invoking a predefined mode selection control object when a headset connection event is detected, wherein the predefined mode selection control object comprises selectable user behavior pattern information;
displaying the mode selection control object on an interface of the intelligent mobile terminal;
receiving selection operation of a user on an interface of the intelligent mobile terminal, and selecting a target user behavior mode from the selectable user behavior mode information;
and executing the target user behavior pattern at the intelligent mobile terminal.
Preferably, the user behavior mode includes a first user behavior mode, and in the first user behavior mode, the intelligent mobile terminal plays a system message prompt tone, an application message prompt tone, and a multimedia file sound; the user behavior mode also comprises a second user behavior mode, and in the second user mode, the intelligent mobile terminal plays a system message prompt tone and multimedia file sound; the user behavior modes further comprise a third user behavior mode, and under the third user mode, the intelligent mobile terminal plays multimedia file sounds.
Preferably, the intelligent mobile terminal is provided with an earphone jack, and the earphone jack is provided with a corresponding earphone plug; the detecting of the headset connection event comprises:
detecting whether the earphone plug is inserted into the earphone jack;
if yes, the earphone is successfully connected with the intelligent mobile terminal.
Preferably, the method further comprises:
detecting whether a default user behavior mode is set in the intelligent mobile terminal; the default user behavior pattern is one of the first user behavior pattern, the second user behavior pattern, and the third user behavior pattern;
and if so, directly applying the default user behavior mode to the intelligent mobile terminal when an earphone connection event is detected.
Correspondingly, the embodiment of the invention also discloses a user behavior mode application device of the intelligent mobile terminal, which comprises the following steps:
a detection module, configured to invoke a predefined mode selection control object when an earphone connection event is detected, where the predefined mode selection control object includes selectable user behavior mode information;
the display module is used for displaying the mode selection control object on an interface of the intelligent mobile terminal;
the receiving module is used for receiving the selection operation of a user on the interface of the intelligent mobile terminal and selecting a target user behavior mode from the selectable user behavior mode information;
and the application module is used for executing the target user behavior mode at the intelligent mobile terminal.
Preferably, the user behavior mode includes a first user behavior mode, and in the first user behavior mode, the intelligent mobile terminal plays a system message prompt tone, an application message prompt tone, and a multimedia file sound; the user behavior mode also comprises a second user behavior mode, and in the second user mode, the intelligent mobile terminal plays a system message prompt tone and multimedia file sound; the user behavior modes further comprise a third user behavior mode, and under the third user mode, the intelligent mobile terminal plays multimedia file sounds.
Preferably, the intelligent mobile terminal is provided with an earphone jack, and the earphone jack is provided with a corresponding earphone plug; the detection module comprises:
the plug detection module is used for detecting whether the earphone plug is inserted into the earphone jack;
and the connection confirmation module is used for indicating that the earphone is successfully connected with the intelligent mobile terminal if the connection confirmation module is used for indicating that the earphone is successfully connected with the intelligent mobile terminal.
Preferably, the device further comprises:
the default user behavior mode detection module is used for detecting whether the intelligent mobile terminal is provided with a default user behavior mode; the default user behavior pattern is one of the first user behavior pattern, the second user behavior pattern, and the third user behavior pattern;
and the default user behavior mode confirming module is used for directly applying the default user behavior mode to the intelligent mobile terminal when an earphone connection event is detected if the default user behavior mode confirming module exists.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the selectable user behavior mode is predefined in advance, when the intelligent mobile terminal is detected to be inserted into the earphone, the predefined mode selection control object comprising the selectable user behavior mode information is called and displayed to the user, and after the user selects the target user behavior mode, the intelligent mobile terminal applies the target user behavior mode selected by the user to correspondingly process the system message prompt tone and the application program message prompt tone, so that the problem that the experience of listening to music or watching video of the user is influenced by the system message prompt tone and the application program message prompt tone in the prior art is solved.
Drawings
FIG. 1 is a flowchart illustrating steps of an embodiment of a method for applying a user behavior pattern of an intelligent mobile terminal according to the present invention;
FIG. 2 is a block diagram of an embodiment of a user behavior pattern application apparatus of an intelligent mobile terminal according to the present invention;
fig. 3 is a block diagram of a mobile terminal according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a user behavior pattern application method of an intelligent mobile terminal according to the present invention is shown, which may specifically include the following steps:
step 101, when an earphone connection event is detected, calling a predefined mode selection control object; the predefined mode selection control object includes selectable user behavior mode information;
the intelligent mobile terminal has the following characteristics:
(1) on a hardware system, the mobile terminal has a central processing unit, a memory, an input unit and an output unit, that is, the mobile terminal is often a microcomputer device with a communication function. In addition, the mobile terminal may have various input means such as a keyboard, a mouse, a touch screen, a microphone, a camera, etc., and may adjust input as needed. Meanwhile, the mobile terminal often has multiple output modes, such as a receiver, a display screen and the like, and can be adjusted according to needs;
(2) in a software system, the Mobile terminal must have an operating system, such as Windows Mobile, Symbian, Palm, Android, iOS, and the like. Meanwhile, the operating systems are more and more open, and personalized application programs developed based on the open operating system platforms are infinite, such as a communication book, a schedule, a notebook, a calculator, various games and the like, so that the requirements of personalized users are met to a great extent;
(3) in terms of communication capacity, the mobile terminal has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby being convenient for users to use. The mobile terminal can support GSM, WCDMA, CDMA2000, TDSCDMA, Wi-Fi, WiMAX and the like, thereby being suitable for various systems of networks, not only supporting voice services, but also supporting various wireless data services;
(4) in the aspect of function use, the mobile terminal focuses more on humanization, individuation and multi-functionalization. With the development of computer technology, the mobile terminal enters a human-centered mode from an equipment-centered mode, integrates embedded computing, control technology, artificial intelligence technology, biometric authentication technology and the like, and fully embodies the human-oriented purpose. Due to the development of software technology, the mobile terminal can adjust the setting according to personal requirements, and is more personalized. Meanwhile, the mobile terminal integrates a plurality of software and hardware, and the functions are more and more powerful.
In the embodiment of the invention, the intelligent mobile terminal detects whether an earphone connection event exists or not through the operating system. For example, the operating system detects the insertion of a headset in real time and sends a broadcast signal each time the headset is inserted, so that it is only necessary to intercept the broadcast with an event listener. When the event listener intercepts the broadcast, it indicates that a headset is plugged into the intelligent mobile terminal.
It should be noted that the method is implemented by a code, and the method is only an example of implementing whether the earphone is inserted into the intelligent mobile terminal, and any other method that can detect whether the earphone is inserted into the intelligent mobile terminal is applicable to the embodiment of the present invention, which is not limited in this respect.
In a preferred embodiment of the present invention, the smart mobile terminal has an earphone jack, and the earphone jack has a corresponding earphone plug; the detecting of the headset connection event comprises:
detecting whether the earphone plug is inserted into the earphone jack;
if yes, the earphone is successfully connected with the intelligent mobile terminal.
In practical application, the earphone jack has two specifications of 2.5mm and 3.5mm, and correspondingly, the earphone plug also has two specifications of 2.5mm and 3.5 mm. In the embodiment of the present invention, both specifications are applicable to the embodiment of the present invention, and the embodiment of the present invention is not limited thereto.
When the intelligent mobile terminal judges that the earphone is inserted into the earphone jack, a predefined mode selection control object is called; the predefined mode selection control object includes selectable user behavior mode information.
Controls are packages of data. In popular terms, the control sees things on the form, and the data is actually put in the control.
For example, in an operating system, a Picture viewed on a frame is actually placed in a control called Picture; the button seen on the form is actually a control called Command; the text viewed on the form may be placed in a control called Label.
For example, a classroom is equivalent to a window, stools and tables can be placed in the classroom, and the classroom is a control.
In the classroom, a desk is placed, two words of 'hello' are written on the desk, the desk is a control, and the two words of 'hello' are arranged in the desk. This is equivalent to putting a Label control on the form and then writing two words "hello" in the title attribute of the Label control.
Or a stool is placed in a classroom, a picture is drawn on the stool, the stool is a control, and the picture is placed in the stool. It is just as if a Picture control is placed on the frame and then a Picture is placed in the Picture property of the Picture control.
The control mainly comprises the following categories:
user interface control
The control is used for developing and constructing a User Interface (UI), and helps to complete the development of interface elements such as windows, text boxes, buttons, pull-down menus and the like in software development.
Chart control
The control for developing the chart helps software to realize data visualization, and realizes a complex chart which is difficult to finish independently during development.
Report control
The report forms are developed by using the control, and the functions of browsing, viewing, designing, editing, printing and the like of the report forms are realized in software.
Form control
The control special for developing the form (CELL) mainly realizes the functions of data processing and operation in the grid.
Bar code control
Controls for bar code generation, scanning, reading and printing.
Image processing control
Generally refers to a control which helps software to realize image browsing and simple editing functions.
Document processing control
Generally refers to a control for implementing the functions of browsing and editing document files.
In the embodiment of the invention, the data encapsulated by the predefined mode selection control object is the user behavior mode information, and the type of the predefined mode selection control object is the user interface control.
In a preferred embodiment of the present invention, the selectable user behavior patterns include: a first user behavior pattern, a second user behavior pattern, and a third user behavior pattern.
Specifically, the operating system calls the system control first, then packages the first user behavior mode, the second user behavior mode, and the third user behavior mode information into the called system control, generates a calling predefined mode selection control object, and calls the calling predefined mode selection control object when the intelligent mobile terminal detects that the earphone is inserted into the earphone hole. Of course, the above process is generally completed in the process of producing the intelligent mobile terminal, and in the process of using the intelligent mobile terminal by the user, the user may also modify the code of the intelligent mobile terminal according to the requirement, which is not limited in the embodiment of the present invention.
In a preferred embodiment of the present invention, in the first user mode, the smart mobile terminal plays a system message alert tone, an application message alert tone, and a multimedia file sound; in the second user mode, the intelligent mobile terminal plays system message prompt tone and multimedia file sound; and in the third user mode, the intelligent mobile terminal plays the sound of the multimedia file.
Specifically, in the first user mode, when the user listens to music or watches videos, and the intelligent mobile terminal receives information such as short message information and WeChat information, the playing volume of the music or videos is reduced, and the information prompt tone is enhanced. In this mode, the music or video playback is the least continuous so that the user does not miss any messages.
In the second user mode, when a user listens to music or watches videos, when the intelligent mobile terminal receives the short message information, the playing volume of the music or videos is weakened, the prompt tone of the short message information is strengthened, the micro message information is not prompted in a sound mode, and the short message information is prompted in a background prompting mode or a silent mode such as screen lightening or vibration. In this mode, the music or video playback is interrupted by prompt tones such as telephone calls, text messages, etc., so that the user does not miss important messages.
And in a third user mode, shielding information prompt tones of other application programs such as telephones, short messages, WeChats and the like, and performing reminding in a background reminding mode or a silent mode such as bright screen or vibration. In this mode, the music or video is played continuously, which is suitable for users who need temporary rest or do not want to be disturbed.
102, displaying the mode selection control object on an interface of the intelligent mobile terminal;
because the type of the predefined mode selection control object in the embodiment of the invention is the user interface control, when the intelligent mobile terminal detects that the earphone plug is inserted into the earphone jack, the mode selection control object is displayed on the current interface of the intelligent mobile terminal. For a user, a user behavior mode selection box pops up on a current interface of the intelligent mobile terminal, and the selection box comprises a first user behavior mode, a second user behavior mode and a third user behavior mode for the user to select.
103, receiving a target user behavior mode selected by a user in the selectable user behavior mode information on an interface of the intelligent mobile terminal;
when the user clicks one of the first user behavior mode, the second user behavior mode and the third user behavior mode in the selection box, for example, the user clicks the second user behavior mode, the intelligent mobile terminal determines the second user behavior mode as the target user behavior mode.
And 104, applying the target user behavior pattern on the intelligent mobile terminal.
After the intelligent mobile terminal determines the target user behavior mode, if the intelligent mobile terminal receives information such as short message information and WeChat information, the current user behavior mode of the intelligent mobile terminal is identified, and then the information such as the short message information and the WeChat information is prompted according to the current user behavior mode of the intelligent mobile terminal. For example, when the intelligent mobile terminal is currently in the second user behavior mode, and at this time, the intelligent mobile terminal receives a piece of short message information and a piece of WeChat information, according to the setting of the second user behavior mode, the music sound or the video sound is weakened, the prompt tone of the short message information is played normally, or on the basis of not weakening the music sound or the video sound, the prompt tone of the short message information is strengthened, and the WeChat information is subjected to silent prompt.
In a preferred embodiment of the present invention, the method further comprises:
detecting whether a default user behavior mode is set in the intelligent mobile terminal; the default user behavior pattern is one of the first user behavior pattern, the second user behavior pattern, and the third user behavior pattern;
and if so, directly applying the default user behavior mode to the intelligent mobile terminal when an earphone connection event is detected.
Specifically, in the intelligent mobile terminal, the user can set the default user behavior mode according to the preference of the user, so that the trouble that the user behavior mode needs to be selected when the earphone is inserted every time can be avoided. For example, the user sets the second user behavior mode as the default user behavior mode in the intelligent mobile terminal, and then when the intelligent mobile terminal detects that the earphone is inserted, it detects that the user sets the second user behavior mode as the default user behavior mode, the predefined mode selection control object is not called, and the intelligent mobile terminal directly applies the second user behavior mode without popping up a user behavior mode selection frame on an interface of the intelligent mobile terminal.
It should be noted that, when the smart mobile terminal detects that the earphone is unplugged, the user behavior mode is automatically released, and the state is restored before the earphone is plugged into the smart mobile terminal. For example, before the earphone is plugged into the intelligent mobile terminal, all information of the intelligent mobile terminal has a prompt tone, when the earphone is plugged into the intelligent mobile terminal, the intelligent mobile terminal applies a third user behavior mode to perform silent prompt on all information, and when the earphone is plugged out of the intelligent mobile terminal, all information of the intelligent mobile terminal has the prompt tone.
The method for detecting that the earphone is unplugged from the intelligent mobile terminal is similar to the method for detecting that the earphone is plugged into the intelligent mobile terminal, and the method for plugging the earphone into the intelligent mobile terminal can be referred to specifically, and is not repeated herein.
In the embodiment of the invention, the selectable user behavior mode is predefined in advance, when the intelligent mobile terminal is detected to be inserted into the earphone, the predefined mode selection control object comprising the selectable user behavior mode information is called and displayed to the user, and after the user selects the target user behavior mode, the intelligent mobile terminal applies the target user behavior mode selected by the user to correspondingly process the system message prompt tone and the application program message prompt tone, so that the problem that the experience of listening to music or watching video of the user is influenced by the system message prompt tone and the application program message prompt tone in the prior art is solved.
Moreover, when the user pulls out the earphone, the intelligent mobile terminal can release the user behavior mode, so that the situation that the user forgets to recover the information prompt tone after listening to music or watching videos, the user cannot know new information, and the user cannot timely reply messages is avoided.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 2, a block diagram illustrating a structure of an embodiment of a user behavior pattern application apparatus of an intelligent mobile terminal according to the present invention may specifically include the following modules:
the detection module is used for calling a predefined mode selection control object when the earphone connection event is detected; the predefined mode selection control object includes selectable user behavior mode information;
the display module is used for displaying the mode selection control object on an interface of the intelligent mobile terminal;
the receiving module is used for receiving a target user behavior mode selected by a user in the selectable user behavior mode information on the interface of the intelligent mobile terminal;
and the application module is used for applying the target user behavior pattern on the intelligent mobile terminal.
In a preferred embodiment of the present invention, the user behavior mode includes a first user behavior mode, and in the first user behavior mode, the smart mobile terminal plays a system message alert tone, an application message alert tone, and a multimedia file sound; the user behavior mode also comprises a second user behavior mode, and in the second user mode, the intelligent mobile terminal plays a system message prompt tone and multimedia file sound; the user behavior modes further comprise a third user behavior mode, and under the third user mode, the intelligent mobile terminal plays multimedia file sounds.
In a preferred embodiment of the present invention, the smart mobile terminal has an earphone jack, and the earphone jack has a corresponding earphone plug; the detection module comprises:
the plug detection module is used for detecting whether the earphone plug is inserted into the earphone jack;
and the connection confirmation module is used for indicating that the earphone is successfully connected with the intelligent mobile terminal if the connection confirmation module is used for indicating that the earphone is successfully connected with the intelligent mobile terminal.
In a preferred embodiment of the present invention, the apparatus further comprises:
the default user behavior mode detection module is used for detecting whether the intelligent mobile terminal is provided with a default user behavior mode; the default user behavior pattern is one of the first user behavior pattern, the second user behavior pattern, and the third user behavior pattern;
and the default user behavior mode confirming module is used for directly applying the default user behavior mode to the intelligent mobile terminal when an earphone connection event is detected if the default user behavior mode confirming module exists.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 3 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 300 shown in fig. 3 includes: at least one processor 301, memory 302, at least one network interface 304, and a user interface 303. The various components in the mobile terminal 300 are coupled together by a bus system 305. It will be appreciated that the bus system 305 is used to enable communications among the components connected. The bus system 305 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 305 in fig. 3.
The user interface 303 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 302 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 302 of the subject systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 302 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 3021 and application programs 3022.
The operating system 3021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs 3022 include various application programs such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of an embodiment of the present invention may be included in the application program 3022.
In an embodiment of the present invention, the processor 301 is configured to invoke a predefined mode selection control object when a headset connection event is detected, by invoking a program or an instruction stored in the memory 302, which may be, in particular, a program or an instruction stored in the application 3022, where the predefined mode selection control object includes selectable user behavior mode information;
displaying the mode selection control object on an interface of the intelligent mobile terminal;
receiving selection operation of a user on an interface of the intelligent mobile terminal, and selecting a target user behavior mode from the selectable user behavior mode information;
and executing the target user behavior pattern at the intelligent mobile terminal.
The method disclosed in the above embodiments of the present invention may be applied to the processor 301, or implemented by the processor 301. The processor 301 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 301. The processor 301 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 302, and the processor 301 reads the information in the memory 302 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the user behavior mode includes a first user behavior mode, and in the first user behavior mode, the smart mobile terminal plays a system message prompt tone, an application message prompt tone, and a multimedia file sound; the user behavior mode also comprises a second user behavior mode, and in the second user mode, the intelligent mobile terminal plays a system message prompt tone and multimedia file sound; the user behavior modes further comprise a third user behavior mode, and under the third user mode, the intelligent mobile terminal plays multimedia file sounds.
Optionally, the smart mobile terminal has a headset jack, and the headset jack has a corresponding headset plug; the detecting of the headset connection event comprises:
detecting whether the earphone plug is inserted into the earphone jack;
if yes, the earphone is successfully connected with the intelligent mobile terminal.
Optionally, the method further comprises:
detecting whether a default user behavior mode is set in the intelligent mobile terminal; the default user behavior pattern is one of the first user behavior pattern, the second user behavior pattern, and the third user behavior pattern;
and if so, directly applying the default user behavior mode to the intelligent mobile terminal when an earphone connection event is detected.
The mobile terminal 300 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here. In the embodiment of the invention, the selectable user behavior mode is predefined in advance, when the intelligent mobile terminal is detected to be inserted into the earphone, the predefined mode selection control object comprising the selectable user behavior mode information is called and displayed to the user, and after the user selects the target user behavior mode, the intelligent mobile terminal applies the target user behavior mode selected by the user to correspondingly process the system message prompt tone and the application program message prompt tone, so that the problem that the experience of listening to music or watching video of the user is influenced by the system message prompt tone and the application program message prompt tone in the prior art is solved.
Fig. 4 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 400 in fig. 4 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 400 in fig. 4 includes a Radio Frequency (RF) circuit 410, a memory 420, an input unit 430, a display unit 440, a processor 460, an audio circuit 430, a wifi (wireless fidelity) module 440, and a power supply 490.
The input unit 430 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal 400. Specifically, in the embodiment of the present invention, the input unit 430 may include a touch panel 431. The touch panel 431, also called a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 431 using any suitable object or accessory such as a finger, a stylus, etc.) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 431 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 460, and can receive and execute commands sent by the processor 460. In addition, the touch panel 431 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 431, the input unit 430 may include other input devices 432, and the other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 440 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal 400. The display unit 440 may include a display panel 441, and optionally, the display panel 441 may be configured in the form of an LCD or an organic light-emitting diode (OLED).
It should be noted that the touch panel 431 may cover the display panel 441 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 460 to determine the type of the touch event, and then the processor 460 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 460 is a control center of the mobile terminal 400, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 400 and processes data by operating or executing software programs and/or modules stored in the first memory 421 and calling data stored in the second memory 422, thereby integrally monitoring the mobile terminal 400. Optionally, processor 460 may include one or more processing units.
In an embodiment of the present invention, the processor 460 is configured to invoke a predefined mode selection control object when a headset connection event is detected by invoking a software program and/or module stored in the first memory 421 and/or data in the second memory 422, wherein the predefined mode selection control object includes selectable user behavior mode information;
displaying the mode selection control object on an interface of the intelligent mobile terminal;
receiving selection operation of a user on an interface of the intelligent mobile terminal, and selecting a target user behavior mode from the selectable user behavior mode information;
and executing the target user behavior pattern at the intelligent mobile terminal.
Optionally, the user behavior mode includes a first user behavior mode, and in the first user behavior mode, the smart mobile terminal plays a system message prompt tone, an application message prompt tone, and a multimedia file sound; the user behavior mode also comprises a second user behavior mode, and in the second user mode, the intelligent mobile terminal plays a system message prompt tone and multimedia file sound; the user behavior modes further comprise a third user behavior mode, and under the third user mode, the intelligent mobile terminal plays multimedia file sounds.
Optionally, the smart mobile terminal has a headset jack, and the headset jack has a corresponding headset plug; the detecting of the headset connection event comprises:
detecting whether the earphone plug is inserted into the earphone jack;
if yes, the earphone is successfully connected with the intelligent mobile terminal.
Optionally, the method further comprises:
detecting whether a default user behavior mode is set in the intelligent mobile terminal; the default user behavior pattern is one of the first user behavior pattern, the second user behavior pattern, and the third user behavior pattern;
and if so, directly applying the default user behavior mode to the intelligent mobile terminal when an earphone connection event is detected.
Therefore, in the embodiment of the invention, the selectable user behavior mode is predefined in advance, when the intelligent mobile terminal is detected to be inserted into the earphone, the predefined mode selection control object including the selectable user behavior mode information is called and displayed to the user, and after the user selects the target user behavior mode, the intelligent mobile terminal applies the target user behavior mode selected by the user to correspondingly process the system message prompt tone and the application program message prompt tone, so that the problem that the experience of listening to music or watching video of the user is influenced by the system message prompt tone and the application program message prompt tone in the prior art is solved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A user behavior pattern application method of an intelligent mobile terminal is characterized by comprising the following steps:
invoking a predefined mode selection control object when a headset connection event is detected, wherein the predefined mode selection control object comprises selectable user behavior pattern information;
displaying the mode selection control object on an interface of the intelligent mobile terminal;
receiving selection operation of a user on an interface of the intelligent mobile terminal, and selecting a target user behavior mode from the selectable user behavior mode information;
executing the target user behavior pattern at the intelligent mobile terminal;
the user behavior mode comprises a first user behavior mode, and under the first user behavior mode, the intelligent mobile terminal plays a system message prompt tone, an application program message prompt tone and multimedia file sound; the user behavior mode also comprises a second user behavior mode, and under the second user behavior mode, the intelligent mobile terminal plays a system message prompt tone and multimedia file sound; the user behavior modes further comprise a third user behavior mode, and under the third user behavior mode, the intelligent mobile terminal plays multimedia file sound.
2. The method of claim 1, wherein the smart mobile terminal has a headset jack with a corresponding headset plug; the detecting of the headset connection event comprises:
detecting whether the earphone plug is inserted into the earphone jack;
if yes, the earphone is successfully connected with the intelligent mobile terminal.
3. The method of claim 1, further comprising:
detecting whether a default user behavior mode is set in the intelligent mobile terminal; the default user behavior pattern is one of the first user behavior pattern, the second user behavior pattern, and the third user behavior pattern;
and if so, directly applying the default user behavior mode to the intelligent mobile terminal when an earphone connection event is detected.
4. A user behavior pattern application device of an intelligent mobile terminal is characterized by comprising:
a detection module, configured to invoke a predefined mode selection control object when an earphone connection event is detected, where the predefined mode selection control object includes selectable user behavior mode information;
the display module is used for displaying the mode selection control object on an interface of the intelligent mobile terminal;
the receiving module is used for receiving the selection operation of a user on the interface of the intelligent mobile terminal and selecting a target user behavior mode from the selectable user behavior mode information;
the application module is used for executing the target user behavior mode at the intelligent mobile terminal;
the user behavior mode comprises a first user behavior mode, and under the first user behavior mode, the intelligent mobile terminal plays a system message prompt tone, an application program message prompt tone and multimedia file sound; the user behavior mode also comprises a second user behavior mode, and under the second user behavior mode, the intelligent mobile terminal plays a system message prompt tone and multimedia file sound; the user behavior modes further comprise a third user behavior mode, and under the third user behavior mode, the intelligent mobile terminal plays multimedia file sound.
5. The apparatus of claim 4, wherein the smart mobile terminal has a headset jack with a corresponding headset plug; the detection module comprises:
the plug detection module is used for detecting whether the earphone plug is inserted into the earphone jack;
and the connection confirmation module is used for indicating that the earphone is successfully connected with the intelligent mobile terminal if the connection confirmation module is used for indicating that the earphone is successfully connected with the intelligent mobile terminal.
6. The apparatus of claim 4, further comprising:
the default user behavior mode detection module is used for detecting whether the intelligent mobile terminal is provided with a default user behavior mode; the default user behavior pattern is one of the first user behavior pattern, the second user behavior pattern, and the third user behavior pattern;
and the default user behavior mode confirming module is used for directly applying the default user behavior mode to the intelligent mobile terminal when an earphone connection event is detected if the default user behavior mode confirming module exists.
CN201710087510.0A 2017-02-17 2017-02-17 User behavior mode application method and device of intelligent mobile terminal Active CN106843903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710087510.0A CN106843903B (en) 2017-02-17 2017-02-17 User behavior mode application method and device of intelligent mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710087510.0A CN106843903B (en) 2017-02-17 2017-02-17 User behavior mode application method and device of intelligent mobile terminal

Publications (2)

Publication Number Publication Date
CN106843903A CN106843903A (en) 2017-06-13
CN106843903B true CN106843903B (en) 2020-04-03

Family

ID=59129194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710087510.0A Active CN106843903B (en) 2017-02-17 2017-02-17 User behavior mode application method and device of intelligent mobile terminal

Country Status (1)

Country Link
CN (1) CN106843903B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107688617B (en) * 2017-08-07 2022-02-08 维沃移动通信有限公司 Multimedia service method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394980A (en) * 2011-11-10 2012-03-28 华为终端有限公司 Response method of insertion and extraction behaviors of earphone and mobile terminal
CN103957314A (en) * 2014-04-21 2014-07-30 深圳市金立通信设备有限公司 Terminal reminding method and terminal
CN104574018A (en) * 2014-12-26 2015-04-29 北京京东尚科信息技术有限公司 Order-scrambling control method and system
CN105306662A (en) * 2014-06-12 2016-02-03 乐蛙科技(上海)有限公司 Information integration method and system for communication terminal
CN105468236A (en) * 2015-11-23 2016-04-06 小米科技有限责任公司 Message prompting method and apparatus and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394980A (en) * 2011-11-10 2012-03-28 华为终端有限公司 Response method of insertion and extraction behaviors of earphone and mobile terminal
CN103957314A (en) * 2014-04-21 2014-07-30 深圳市金立通信设备有限公司 Terminal reminding method and terminal
CN105306662A (en) * 2014-06-12 2016-02-03 乐蛙科技(上海)有限公司 Information integration method and system for communication terminal
CN104574018A (en) * 2014-12-26 2015-04-29 北京京东尚科信息技术有限公司 Order-scrambling control method and system
CN105468236A (en) * 2015-11-23 2016-04-06 小米科技有限责任公司 Message prompting method and apparatus and terminal

Also Published As

Publication number Publication date
CN106843903A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
US11853538B2 (en) Apparatus and method for displaying notification in electronic device
US10204618B2 (en) Terminal and method for voice control on terminal
JP6092702B2 (en) Communication terminal and information transmission method
KR101260770B1 (en) Mobile device and method for controlling play of contents in mobile device
KR101188857B1 (en) Transparent layer application
US10067666B2 (en) User terminal device and method for controlling the same
CN105359121A (en) Remote operation of applications using received data
CN105511719A (en) Notification information display method and device
JP5587733B2 (en) Portable terminal, lock state control program, and lock state control method
KR20140027828A (en) Operation method of lock function and electronic device operating the same
KR101832394B1 (en) Terminal apparatus, server and contol method thereof
KR20120069494A (en) Method and apparatus for displaying icon in portable terminal
CN110908582A (en) Control method, touch control pen and electronic assembly
CN108804005B (en) Terminal control method and device and mobile terminal
KR101999762B1 (en) Method for connecting external device and an electronic device thereof
CN106412282A (en) Real-time message voice prompting method and mobile terminal
KR20120016184A (en) Control method for display having a plurality of display panel and apparatus thereof
CN106161776B (en) Volume adjusting method and mobile terminal
CN107145331B (en) Charging and audio data processing method and terminal
CN106303841B (en) Audio playing mode switching method and mobile terminal
CN106534482B (en) Method and device for managing application programs of mobile terminal
CN106843903B (en) User behavior mode application method and device of intelligent mobile terminal
CN106980535B (en) Event interruption processing method and mobile terminal
CN107426401B (en) Mute reminding method, device and terminal
CN106886388B (en) Method and terminal for playing audio data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant