+

CN107888765B - Method for switching scene mode and mobile terminal - Google Patents

Method for switching scene mode and mobile terminal Download PDF

Info

Publication number
CN107888765B
CN107888765B CN201711044033.6A CN201711044033A CN107888765B CN 107888765 B CN107888765 B CN 107888765B CN 201711044033 A CN201711044033 A CN 201711044033A CN 107888765 B CN107888765 B CN 107888765B
Authority
CN
China
Prior art keywords
scene
information
mobile terminal
scene mode
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
CN201711044033.6A
Other languages
Chinese (zh)
Other versions
CN107888765A (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 CN201711044033.6A priority Critical patent/CN107888765B/en
Publication of CN107888765A publication Critical patent/CN107888765A/en
Application granted granted Critical
Publication of CN107888765B publication Critical patent/CN107888765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种切换场景模式的方法、移动终端,该方法包括:确定移动终端在当前环境下的第一场景信息;判断所述第一场景信息是否与所述移动终端当前设置的第二场景模式对应的第二场景信息一致;若不一致,则根据所述第一场景信息确定第一场景模式,并将所述第二场景模式切换为所述第一场景模式。通过将移动终端的场景模式切换为移动终端当前使用场景下的场景信息对应的场景模式,可以实现将移动终端的场景模式根据实际应用场景进行自动切换的目的,相较于现有技术而言,由于移动终端的场景模式为符合移动终端实际应用场景的场景模式,因此,可以满足用户在不同应用场景下对移动终端的使用需求,进而提升用户使用移动终端的用户体验。

Figure 201711044033

The invention discloses a method and a mobile terminal for switching scene modes. The method includes: determining first scene information of a mobile terminal in a current environment; judging whether the first scene information is the same as a second scene currently set by the mobile terminal The second scene information corresponding to the scene modes is consistent; if not, the first scene mode is determined according to the first scene information, and the second scene mode is switched to the first scene mode. By switching the scene mode of the mobile terminal to the scene mode corresponding to the scene information in the current usage scene of the mobile terminal, the purpose of automatically switching the scene mode of the mobile terminal according to the actual application scene can be achieved. Compared with the prior art, Since the scene mode of the mobile terminal is a scene mode conforming to the actual application scene of the mobile terminal, the user's requirement for using the mobile terminal in different application scenarios can be met, thereby improving the user experience of the user using the mobile terminal.

Figure 201711044033

Description

一种切换场景模式的方法、移动终端A method and mobile terminal for switching scene modes

技术领域technical field

本发明涉及终端技术领域,尤其涉及一种切换场景模式的方法、移动终端。The present invention relates to the technical field of terminals, and in particular, to a method for switching scene modes and a mobile terminal.

背景技术Background technique

随着科学技术的飞速发展,出现了各种各样的移动终端,例如智能手机、iPad等。通常,这些移动终端中可以包含多个不同的场景模式,不同的场景模式可以适用于不同的应用场景,在用户使用移动终端时,移动终端可以允许用户将移动终端设置为其中一个场景模式,以满足用户在不同应用场景下对移动终端的使用需求。With the rapid development of science and technology, various mobile terminals, such as smart phones and iPads, have appeared. Usually, these mobile terminals may contain multiple different scene modes, and different scene modes may be suitable for different application scenarios. When the user uses the mobile terminal, the mobile terminal may allow the user to set the mobile terminal to one of the scene modes to Meet the needs of users for the use of mobile terminals in different application scenarios.

以智能手机为例,智能手机中可以包含振动模式和静音模式,其中,振动模式可以适用于嘈杂的环境,静音模式可以适用于安静的环境。用户在使用智能手机时,如果用户想要休息,那么,用户可以将智能手机设置为静音模式,如果用户在乘坐公交车,那么用户可以将智能手机设置为振动模式。这样,通过将智能手机设置为不同的场景模式,可以满足用户对智能手机的使用需求,提升用户使用智能手机的用户体验。Taking a smartphone as an example, the smartphone may include a vibration mode and a silent mode, wherein the vibration mode may be suitable for a noisy environment, and the silent mode may be suitable for a quiet environment. When the user is using the smartphone, if the user wants to rest, the user can set the smartphone to silent mode, and if the user is taking a bus, the user can set the smartphone to vibrate mode. In this way, by setting the smart phone to different scene modes, the user's demand for using the smart phone can be met, and the user experience of the user using the smart phone can be improved.

通常,移动终端中的场景模式为固定模式,可以适用于较为简单的应用场景。然而,在实际应用中,用户使用移动终端时的应用场景通常较为复杂多变,在复杂多变的应用场景下,现有移动终端中的场景模式将不能满足用户对移动终端的使用需求。Usually, the scene mode in the mobile terminal is a fixed mode, which can be applied to a relatively simple application scene. However, in practical applications, the application scenarios when users use mobile terminals are usually complex and changeable. Under the complex and changeable application scenarios, the scene modes in the existing mobile terminals cannot meet the user's needs for using the mobile terminals.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种切换场景模式的方法、移动终端,以解决现有移动终端中的场景模式不能满足用户在复杂应用场景下对移动终端的使用需求。Embodiments of the present invention provide a method for switching scene modes and a mobile terminal, so as to solve the problem that the scene mode in the existing mobile terminal cannot meet the user's requirement for using the mobile terminal in complex application scenarios.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:

第一方面,提供一种切换场景模式的方法,包括:In a first aspect, a method for switching scene modes is provided, including:

确定移动终端在当前环境下的第一场景信息;determining the first scene information of the mobile terminal in the current environment;

判断所述第一场景信息是否与所述移动终端当前设置的第二场景模式对应的第二场景信息一致;judging whether the first scene information is consistent with the second scene information corresponding to the second scene mode currently set by the mobile terminal;

若不一致,则根据所述第一场景信息确定第一场景模式,并将所述第二场景模式切换为所述第一场景模式。If not, the first scene mode is determined according to the first scene information, and the second scene mode is switched to the first scene mode.

第二方面,提供一种移动终端,包括:In a second aspect, a mobile terminal is provided, including:

确定模块,确定移动终端在当前环境下的第一场景信息;a determining module to determine the first scene information of the mobile terminal in the current environment;

判断模块,判断所述第一场景信息是否与所述移动终端当前设置的第二场景模式对应的第二场景信息一致;a judgment module, for judging whether the first scene information is consistent with the second scene information corresponding to the second scene mode currently set by the mobile terminal;

切换模块,在所述判断模块确定所述第一场景信息与所述第二场景信息不一致时,根据所述第一场景信息确定第一场景模式,并将所述第二场景模式切换为所述第一场景模式。A switching module, when the judgment module determines that the first scene information is inconsistent with the second scene information, determines a first scene mode according to the first scene information, and switches the second scene mode to the The first scene mode.

第三方面,提供一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述记载的所述切换场景模式的方法的步骤。In a third aspect, a mobile terminal is provided, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program implementing the above description when executed by the processor of the method for switching scene modes.

第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述记载的所述切换场景模式的方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-described method for switching scene modes are implemented.

本发明实施例采用的上述至少一个技术方案能够达到以下有益效果:The above-mentioned at least one technical solution adopted in the embodiment of the present invention can achieve the following beneficial effects:

本发明实施例提供的技术方案,确定移动终端在当前环境下的第一场景信息;判断所述第一场景信息是否与所述移动终端当前设置的第二场景模式对应的第二场景信息一致;若不一致,则根据所述第一场景信息确定第一场景模式,并将所述第二场景模式切换为所述第一场景模式。这样,通过将移动终端的场景模式切换为移动终端当前使用场景下的场景信息对应的场景模式,可以实现将移动终端的场景模式根据实际应用场景进行自动切换的目的,相较于现有技术而言,由于移动终端的场景模式为符合移动终端实际应用场景的场景模式,因此,可以满足用户在不同应用场景下对移动终端的使用需求,进而提升用户使用移动终端的用户体验。The technical solution provided by the embodiment of the present invention is to determine the first scene information of the mobile terminal in the current environment; to determine whether the first scene information is consistent with the second scene information corresponding to the second scene mode currently set by the mobile terminal; If not, the first scene mode is determined according to the first scene information, and the second scene mode is switched to the first scene mode. In this way, by switching the scene mode of the mobile terminal to the scene mode corresponding to the scene information in the current usage scene of the mobile terminal, the purpose of automatically switching the scene mode of the mobile terminal according to the actual application scene can be achieved. In other words, since the scene mode of the mobile terminal is a scene mode that conforms to the actual application scene of the mobile terminal, it can meet the user's requirements for using the mobile terminal in different application scenarios, thereby improving the user experience of the user using the mobile terminal.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:

图1是本发明的一个实施例切换场景模式的方法的流程示意图;1 is a schematic flowchart of a method for switching scene modes according to an embodiment of the present invention;

图2是本发明的一个实施例获取移动终端地理坐标信息的方法的流程示意图;2 is a schematic flowchart of a method for obtaining geographic coordinate information of a mobile terminal according to an embodiment of the present invention;

图3是本发明的一个实施例确定移动终端时间信息的方法的流程示意图;3 is a schematic flowchart of a method for determining time information of a mobile terminal according to an embodiment of the present invention;

图4是本发明的一个实施例确定第一场景模式的方法的流程示意图;4 is a schematic flowchart of a method for determining a first scene mode according to an embodiment of the present invention;

图5是本发明的一个实施例切换场景模式的方法的流程示意图;5 is a schematic flowchart of a method for switching scene modes according to an embodiment of the present invention;

图6是本发明的一个实施例移动终端的结构示意图;6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;

图7为实现本发明各个实施例的一种移动终端的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.

具体实施方式Detailed ways

现有技术中,移动终端中的场景模式通常不能满足用户在复杂多变的应用场景下对移动终端的使用需求,在不适用应用场景的场景模式下,往往会造成重要信息的遗漏或令用户处于尴尬的境地,导致用户使用移动终端的用户体验较低。其中,移动终端中的场景模式不能满足用户对移动终端使用需求的原因至少可以包括以下几个方面:In the prior art, the scene mode in the mobile terminal usually cannot meet the user's requirements for using the mobile terminal in complex and changeable application scenarios. In an embarrassing situation, the user experience of using the mobile terminal is low. Among them, the reasons why the scene mode in the mobile terminal cannot meet the needs of the user for the use of the mobile terminal can at least include the following aspects:

第一,移动终端中的场景模式通常为固定模式,这些固定模式可以适用的应用场景有限,例如,在智能手机的普通模式中,移动终端的亮度为固定值,那么,在应用场景的光强度与该亮度相匹配的情况下,用户可以清楚地查看到智能手机显示屏中显示的内容,但是,在应用场景的光强度与该亮度不匹配的情况下,用户将无法清楚地查看到智能手机显示屏中显示的内容,给用户带来极大地不便;First, the scene modes in the mobile terminal are usually fixed modes, and these fixed modes can be applied to limited application scenarios. For example, in the normal mode of the smartphone, the brightness of the mobile terminal is a fixed value, then the light intensity in the application scene is limited. When the brightness matches this, the user can clearly see what is displayed on the smartphone display, but when the light intensity of the application scene does not match the brightness, the user cannot see the smartphone clearly The content displayed on the display screen brings great inconvenience to the user;

第二,通常,用户在对移动终端的场景模式进行设置后,移动终端的场景模式将会在用户进行下次设置之前保持不变,然而,在实际复杂多变的应用场景下,用户往往希望智能手机的场景模式可以跟随不同的应用场景自动进行切换。以智能手机为例,用户在安静的环境下设置智能手机的场景模式是静音模式,那么,用户在由安静的环境进入嘈杂的环境后,希望智能手机的场景模式可以自动切换到振动或铃声模式,以避免在静音模式下由于接听不到来电信息而遗漏重要电话。显然,现有的移动终端不能满足用户的上述需求。Second, usually, after the user sets the scene mode of the mobile terminal, the scene mode of the mobile terminal will remain unchanged until the user sets the next time. However, in the actual complex and changeable application scenarios, users often want to The scene mode of the smartphone can be automatically switched according to different application scenes. Taking a smartphone as an example, the user sets the scene mode of the smartphone to silent mode in a quiet environment. Then, after the user enters a noisy environment from a quiet environment, he hopes that the scene mode of the smartphone can automatically switch to vibrate or ringtone mode. to avoid missing important calls due to missing caller information in silent mode. Obviously, the existing mobile terminals cannot meet the above-mentioned requirements of users.

为了满足用户在复杂多变的应用场景下对移动终端的使用需求,现有技术中通常采用以下方法对移动终端进行改进,包括:In order to meet users' needs for using mobile terminals in complex and changeable application scenarios, the following methods are usually used to improve mobile terminals in the prior art, including:

第一种方法:在移动终端中增加对场景模式信息(一个场景模式下可以对应多个不同的场景模式信息,例如,静音模式包括声音、亮度等场景模式信息)进行自动变换的功能,使得所述移动终端中的场景模式信息可以根据移动终端的使用环境自动变换,例如,在智能手机中增加亮度调节功能,使得智能手机的亮度可以跟随周围环境的光强度进行自动变换,这样,用户在具有不同光强度的应用场景下都可以清楚地查看到智能手机显示屏中显示的内容;The first method: add the function of automatically converting scene mode information (one scene mode can correspond to multiple different scene mode information, for example, the silent mode includes scene mode information such as sound and brightness) in the mobile terminal, so that all The scene mode information in the mobile terminal can be automatically changed according to the use environment of the mobile terminal. For example, a brightness adjustment function is added to the smartphone, so that the brightness of the smartphone can be automatically transformed with the light intensity of the surrounding environment. The content displayed on the display screen of the smartphone can be clearly viewed in application scenarios of different light intensities;

第二种方法:在移动终端中增设多个传感器,该多个传感器构成的传感系统可以实时获取移动终端在不同应用场景下的各种信息,并根据所述使用信息对移动终端的场景模式进行调节,这样,可以满足用户在不同应用场景下对移动终端的使用需求。The second method: add multiple sensors in the mobile terminal, and the sensing system formed by the multiple sensors can acquire various information of the mobile terminal in different application scenarios in real time, and according to the usage information, adjust the scene mode of the mobile terminal. In this way, the user's requirements for using the mobile terminal in different application scenarios can be met.

然而,在实际应用中,上述记载的两种方法至少存在以下缺陷:However, in practical applications, the two methods described above have at least the following defects:

针对第一种方法:所述移动终端中的场景模式信息在根据移动终端的使用环境进行切换时,只是对单一的场景模式信息进行变换,不能对多个场景模式信息进行同时变换。例如,只能对所述移动终端的亮度进行调节,或者只能对所述移动终端的音量进行调节等,但不能同时对亮度以及音量进行调节。For the first method: when the scene mode information in the mobile terminal is switched according to the usage environment of the mobile terminal, only a single scene mode information is transformed, and multiple scene mode information cannot be transformed simultaneously. For example, only the brightness of the mobile terminal can be adjusted, or only the volume of the mobile terminal can be adjusted, but the brightness and volume cannot be adjusted at the same time.

针对第二种方法:传感系统在获取所述移动终端的使用信息时,获取到的信息的准确度依赖于传感器的敏感度和精度,在传感器的敏感度和精度较低的情况下,传感器获取到的使用信息并不能准确反映用户的实际应用场景,导致传感系统切换的场景模式不能满足用户的实际需求。For the second method: when the sensing system obtains the usage information of the mobile terminal, the accuracy of the obtained information depends on the sensitivity and accuracy of the sensor. The obtained usage information cannot accurately reflect the actual application scenario of the user, resulting in that the scene mode switched by the sensing system cannot meet the actual needs of the user.

有鉴于此,本发明实施例提供一种切换场景模式的方法、移动终端,可以解决上述存在的问题,以满足用户在复杂多变的应用场景下对移动终端的使用需求。In view of this, the embodiments of the present invention provide a method for switching scene modes and a mobile terminal, which can solve the above existing problems and meet users' needs for using mobile terminals in complex and changeable application scenarios.

本发明实施例提供的一种切换场景模式的方法包括:确定移动终端在当前环境下的第一场景信息;判断所述第一场景信息是否与所述移动终端当前设置的第二场景模式对应的第二场景信息一致;若不一致,则根据所述第一场景信息确定第一场景模式,并将所述第二场景模式切换为所述第一场景模式。A method for switching scene modes provided by an embodiment of the present invention includes: determining first scene information of a mobile terminal in a current environment; judging whether the first scene information corresponds to a second scene mode currently set by the mobile terminal The second scene information is consistent; if not, the first scene mode is determined according to the first scene information, and the second scene mode is switched to the first scene mode.

本发明实施例提供的技术方案,通过将移动终端的场景模式切换为移动终端当前使用场景下的场景信息对应的场景模式,可以实现将移动终端的场景模式根据实际应用场景进行自动切换的目的,相较于现有技术而言,由于移动终端的场景模式为符合移动终端实际应用场景的场景模式,因此,可以满足用户在不同应用场景下对移动终端的使用需求,进而提升用户使用移动终端的用户体验。The technical solution provided by the embodiment of the present invention can achieve the purpose of automatically switching the scene mode of the mobile terminal according to the actual application scene by switching the scene mode of the mobile terminal to the scene mode corresponding to the scene information in the current usage scene of the mobile terminal. Compared with the prior art, since the scene mode of the mobile terminal is a scene mode that conforms to the actual application scene of the mobile terminal, it can meet the user's requirements for using the mobile terminal in different application scenarios, thereby improving the user's ability to use the mobile terminal. user experience.

本发明实施例可以根据移动终端在当前环境下的场景信息切换移动终端的场景模式,不再是对场景模式中单一场景模式信息的变换,因此,切换后的移动终端中的场景模式可以更加适用于当前的应用场景。此外,本发明实施例中移动终端的场景信息可以由所述移动终端内部的操作系统获取得到,精度高,无需依赖于传感器的敏感度和精度,因此,可以更加真实地反映用户的实际使用情况,进而使得切换后的移动终端的场景模式可以更加满足用户的实际需求。In the embodiment of the present invention, the scene mode of the mobile terminal can be switched according to the scene information of the mobile terminal in the current environment, and it is no longer a transformation of the single scene mode information in the scene mode. Therefore, the scene mode in the switched mobile terminal can be more applicable in the current application scenario. In addition, the scene information of the mobile terminal in the embodiment of the present invention can be obtained by the operating system inside the mobile terminal, and the accuracy is high, and does not need to depend on the sensitivity and accuracy of the sensor. Therefore, the actual use situation of the user can be more truly reflected, Thus, the scene mode of the switched mobile terminal can better meet the actual needs of the user.

由于本发明实施例可以将移动终端的场景模式自动切换为适用于当前应用环境的场景模式,无需用户手动切换移动终端的场景模式,因此,可以简化用户的操作。Because the embodiment of the present invention can automatically switch the scene mode of the mobile terminal to the scene mode suitable for the current application environment, without requiring the user to manually switch the scene mode of the mobile terminal, the operation of the user can be simplified.

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明具体实施例及相应的附图对本发明技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

需要说明的是,本发明实施例中记载的场景模式可以包含多个不同的场景模式信息,例如,静音模式可以包含音量信息、亮度信息、耗电信息等。不同的场景模式包含的场景模式信息的种类可以相同,也可以不同,例如,静音模式可以包含音量信息、亮度信息以及耗电信息,振动模式可以包含振动信息、亮度信息以及耗电信息,其中,静音模式的亮度信息以及耗电信息与振动模式的亮度信息以及耗电信息可以相同,也可以不同。It should be noted that the scene mode described in the embodiment of the present invention may include multiple different scene mode information, for example, the silent mode may include volume information, brightness information, power consumption information, and the like. The types of scene mode information contained in different scene modes may be the same or different. For example, the silent mode may contain volume information, brightness information, and power consumption information, and the vibration mode may contain vibration information, brightness information, and power consumption information. Among them, The brightness information and power consumption information of the silent mode and the brightness information and power consumption information of the vibration mode may be the same or different.

本发明实施例中记载的移动终端可以是智能手机,也可以是iPad,还可以是其他具有多个场景模式的智能终端,这里不做具体限定。本发明实施例可以以所述移动终端为智能手机为例进行说明。The mobile terminal described in the embodiments of the present invention may be a smart phone, an iPad, or other smart terminals with multiple scene modes, which are not specifically limited here. The embodiment of the present invention may be described by taking the mobile terminal being a smart phone as an example.

以下结合附图,详细说明本发明各实施例提供的技术方案。The technical solutions provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

实施例1Example 1

图1是本发明的一个实施例切换场景模式的方法的流程示意图。所述方法如下所述。FIG. 1 is a schematic flowchart of a method for switching scene modes according to an embodiment of the present invention. The method is described below.

步骤102:确定移动终端在当前环境下的第一场景信息。Step 102: Determine the first scene information of the mobile terminal in the current environment.

在步骤102中,在所述移动终端处于非关闭状态时,所述移动终端可以实时确定所述移动终端在当前环境下的第一场景信息。In step 102, when the mobile terminal is in a non-off state, the mobile terminal may determine the first scene information of the mobile terminal in the current environment in real time.

本发明实施例中,所述当前环境可以是所述移动终端的使用环境。所述第一场景信息可以用于确定与所述移动终端对应的场景模式,具体可以是所述移动终端在当前环境或应用场景下的状态信息,例如,所述移动终端的亮度信息,音量信息等,本发明实施例不做具体限定。In this embodiment of the present invention, the current environment may be a usage environment of the mobile terminal. The first scene information may be used to determine the scene mode corresponding to the mobile terminal, and may specifically be state information of the mobile terminal in the current environment or application scene, for example, brightness information of the mobile terminal, volume information etc., which are not specifically limited in the embodiments of the present invention.

确定所述移动终端在当前环境下的第一场景信息,具体可以包括:Determining the first scene information of the mobile terminal in the current environment may specifically include:

获取所述移动终端在当前环境下的特征信息,所述特征信息包括所述移动终端在设定时间内的使用信息、所述移动终端的地理坐标信息以及所述移动终端的时间信息;Acquire feature information of the mobile terminal in the current environment, where the feature information includes usage information of the mobile terminal within a set time, geographic coordinate information of the mobile terminal, and time information of the mobile terminal;

根据所述特征信息确定所述移动终端在当前环境下的所述第一场景信息。The first scene information of the mobile terminal in the current environment is determined according to the feature information.

具体地,所述移动终端可以根据所述移动终端在当前环境下的特征信息确定得到所述第一场景信息。其中,所述特征信息可以包含所述移动终端在设定时间内的使用信息,也可以包含所述移动终端的地理坐标信息,还可以包含所述移动终端的时间信息。Specifically, the mobile terminal may determine to obtain the first scene information according to feature information of the mobile terminal in the current environment. Wherein, the feature information may include usage information of the mobile terminal within a set time, may also include geographic coordinate information of the mobile terminal, and may also include time information of the mobile terminal.

本发明实施例中,所述移动终端在设定时间内的使用信息可以包含所述移动终端在所述设定时间内的电池放电信息、流量使用信息、应用使用信息、屏幕触摸信息、声音播放信息中的至少一种,此外,所述移动终端在设定时间内的使用信息还可以是所述移动终端在所述设定时间内的其他历史使用信息,例如,所述移动终端的通话信息等,本发明实施例不做具体限定。In this embodiment of the present invention, the usage information of the mobile terminal within the set time may include battery discharge information, traffic usage information, application usage information, screen touch information, and sound playback of the mobile terminal within the set time. At least one of the information, in addition, the usage information of the mobile terminal within the set time may also be other historical usage information of the mobile terminal within the set time, for example, the call information of the mobile terminal etc., which are not specifically limited in the embodiments of the present invention.

所述设定时间可以根据实际情况确定,例如,可以是24小时,也可以是12小时,本发明实施例不做具体限定。The set time may be determined according to the actual situation, for example, may be 24 hours or 12 hours, which is not specifically limited in the embodiment of the present invention.

所述移动终端在获取所述使用信息时,具体可以从所述移动终端内部系统的存储器中获取,其中,所述移动终端内部系统的存储器可以用于在所述移动终端的非关机状态下,或在用户使用所述移动终端的过程中,记录所述移动终端的各种使用信息。When the mobile terminal acquires the usage information, it may specifically be acquired from the memory of the internal system of the mobile terminal, wherein the memory of the internal system of the mobile terminal can be used to, when the mobile terminal is not turned off, Or record various usage information of the mobile terminal when the user uses the mobile terminal.

本发明实施例中,所述移动终端的地理坐标信息可以是所述移动终端中网络信号包含的地理坐标信息,也可以是全球定位系统(以下简称GPS)定位得到的地理坐标信息,还可以根据所述网络信号以及所述GPS确定得到的地理坐标信息,例如,可以将所述网络信息中包含的地理坐标信息和GPS定位得到的地理坐标信息的平均值作为所述移动终端的地理坐标信息,本发明实施例不做具体限定。其中,所述网络信号可以是WIFI信号,也可以是移动数据信号(例如3G信号,4G信号等)。In this embodiment of the present invention, the geographic coordinate information of the mobile terminal may be geographic coordinate information contained in a network signal in the mobile terminal, or may be geographic coordinate information obtained from global positioning system (hereinafter referred to as GPS) positioning, or may be based on The network signal and the geographic coordinate information determined by the GPS, for example, the average value of the geographic coordinate information contained in the network information and the geographic coordinate information obtained by GPS positioning may be used as the geographic coordinate information of the mobile terminal, The embodiments of the present invention are not specifically limited. Wherein, the network signal may be a WIFI signal, or may be a mobile data signal (for example, a 3G signal, a 4G signal, etc.).

图2是本发明的一个实施例获取移动终端地理坐标信息的方法的流程示意图。FIG. 2 is a schematic flowchart of a method for acquiring geographic coordinate information of a mobile terminal according to an embodiment of the present invention.

图2中,所述移动终端在获取所述地理坐标信息时,可以确定所述移动终端中的WIFI信号中是否包含地理坐标信息(这里可以假设所述移动终端可以连接到WIFI信号),若是,则可以将所述WIFI信号中包含地理坐标信息作为所述移动终端的地理坐标信息;否则,可以继续判断所述移动终端中的移动数据信号是否包含地理坐标信息,若是,则可以将所述移动数据信号中包含地理坐标信息作为所述移动终端的地理坐标信息;否则,可以继续判断所述移动终端中GPS是否定位得到地理坐标信息,若是,则可以将所述GPS定位得到的地理坐标信息作为所述移动终端的地理坐标信息;否则,可以重复上述操作,直到获取得到所述移动终端的所述地理坐标信息。In FIG. 2, when the mobile terminal acquires the geographic coordinate information, it can determine whether the WIFI signal in the mobile terminal contains geographic coordinate information (it can be assumed here that the mobile terminal can be connected to the WIFI signal), and if so, Then, the geographic coordinate information contained in the WIFI signal can be used as the geographic coordinate information of the mobile terminal; otherwise, it can continue to judge whether the mobile data signal in the mobile terminal contains geographic coordinate information; The data signal contains geographic coordinate information as the geographic coordinate information of the mobile terminal; otherwise, it can continue to determine whether the GPS positioning in the mobile terminal obtains geographic coordinate information, and if so, the geographic coordinate information obtained by the GPS positioning can be used as The geographic coordinate information of the mobile terminal; otherwise, the above operations may be repeated until the geographic coordinate information of the mobile terminal is obtained.

本发明实施例中,所述移动终端的时间信息可以是网络时间(通过网络获取到的时间),可以是所述移动终端的系统时间(所述移动终端显示的时间),可以是所述移动终端所在位置的标准时间(根据格林尼治标准时间确定得到),还可以根据所述网络时间、所述移动终端的系统时间以及所述移动终端所在位置的标准时间中的至少两个确定得到,例如,将所述网络时间以及所述移动终端所在位置的标准时间的平均值作为所述移动终端的时间信息,本发明实施例不做具体限定。In this embodiment of the present invention, the time information of the mobile terminal may be network time (time obtained through the network), system time of the mobile terminal (time displayed by the mobile terminal), or the mobile terminal The standard time of the location of the terminal (determined according to the Greenwich Mean Time) can also be determined according to at least two of the network time, the system time of the mobile terminal, and the standard time of the location of the mobile terminal, for example, The average value of the network time and the standard time at the location of the mobile terminal is used as the time information of the mobile terminal, which is not specifically limited in this embodiment of the present invention.

图3是本发明的一个实施例确定移动终端时间信息的方法的流程示意图。FIG. 3 is a schematic flowchart of a method for determining time information of a mobile terminal according to an embodiment of the present invention.

图3中,所述移动终端在确定所述移动终端的时间信息时,可以首先判断所述移动终端是否具有网络时间,若有,则可以获取所述网络时间,并将所述网络时间作为所述移动终端的时间信息;否则,可以获取所述移动终端的系统时间,将所述系统时间作为所述移动终端的时间信息;若无法获取得到所述移动终端的系统时间,则可以获取所述移动终端所在位置当地的标准时间,并将所述标准时间作为所述移动终端的时间信息;若无法获取得到所述标准时间,则可以重复上述步骤,直至获取得到所述移动终端的时间信息。In FIG. 3 , when determining the time information of the mobile terminal, the mobile terminal may first determine whether the mobile terminal has network time, and if so, obtain the network time, and use the network time as the network time. Otherwise, the system time of the mobile terminal can be obtained, and the system time can be used as the time information of the mobile terminal; if the system time of the mobile terminal cannot be obtained, the system time of the mobile terminal can be obtained. The local standard time at the location of the mobile terminal is used as the time information of the mobile terminal; if the standard time cannot be obtained, the above steps can be repeated until the time information of the mobile terminal is obtained.

所述移动终端在通过上述记载的方法获取得到所述移动终端在设定时间内的使用信息、所述移动终端的地理坐标信息以及所述移动终端的时间信息后,可以进一步确定得到所述第一场景信息。After the mobile terminal obtains the usage information of the mobile terminal within the set time, the geographic coordinate information of the mobile terminal, and the time information of the mobile terminal through the method described above, it may further determine to obtain the first a scene information.

所述移动终端在确定所述第一场景信息后,可以执行步骤104。After the mobile terminal determines the first scene information, step 104 may be performed.

步骤104:判断所述第一场景信息是否与所述移动终端当前设置的第二场景模式对应的第二场景信息一致。Step 104: Determine whether the first scene information is consistent with the second scene information corresponding to the second scene mode currently set by the mobile terminal.

在步骤104中,所述移动终端在确定所述第一场景信息后,可以获取所述移动终端当前设置的第二场景模式,并确定所述第二场景模式对应的第二场景信息。In step 104, after determining the first scene information, the mobile terminal may acquire the second scene mode currently set by the mobile terminal, and determine the second scene information corresponding to the second scene mode.

此时,所述移动终端可以将所述第一场景信息与所述第二场景信息进行比较,并判断所述第一场景信息与所述第二场景信息是否一致。At this time, the mobile terminal may compare the first scene information with the second scene information, and determine whether the first scene information and the second scene information are consistent.

本发明实施例中,若所述移动终端确定所述第一场景信息与所述第二场景信息一致,则可以说明所述移动终端当前的场景模式与所述移动终端当前环境相匹配,所述第二场景模式可以满足用户对所述移动终端的使用需求,此时,所述移动终端可以保持所述第二场景模式不变。In this embodiment of the present invention, if the mobile terminal determines that the first scene information is consistent with the second scene information, it may indicate that the current scene mode of the mobile terminal matches the current environment of the mobile terminal, and the The second scene mode can meet the user's requirement for using the mobile terminal. In this case, the mobile terminal can keep the second scene mode unchanged.

若所述移动终端确定所述第一场景信息与所述第二场景信息不一致,则可以说明所述第二场景模式不与所述移动终端当前环境相匹配,即所述第二场景模式不能满足用户对所述移动终端的使用需求,此时,可以执行步骤106。If the mobile terminal determines that the first scene information is inconsistent with the second scene information, it may indicate that the second scene mode does not match the current environment of the mobile terminal, that is, the second scene mode cannot satisfy The user needs to use the mobile terminal. In this case, step 106 may be performed.

步骤106:根据所述第一场景信息确定第一场景模式,并将所述第二场景模式切换为所述第一场景模式。Step 106: Determine a first scene mode according to the first scene information, and switch the second scene mode to the first scene mode.

在步骤106中,所述移动终端在确定所述第一场景信息与所述第二场景信息不一致后,可以根据所述第一场景信息确定第一场景模式,并将所述第二场景模式切换为所述第一场景模式,由于所述第一场景信息是基于所述移动移动当前所处环境确定得到,因此,根据所述第一场景信息确定得到的所述第一场景模式可以满足用户对所述移动终端的使用需求。In step 106, after determining that the first scene information is inconsistent with the second scene information, the mobile terminal may determine a first scene mode according to the first scene information, and switch the second scene mode For the first scene mode, since the first scene information is determined based on the environment where the mobile phone is currently located, the first scene mode determined according to the first scene information can satisfy the user's expectations. The usage requirements of the mobile terminal.

本发明实施例中,所述移动终端根据所述第一场景信息确定得到第一场景模式,包括:In the embodiment of the present invention, the mobile terminal determines and obtains the first scene mode according to the first scene information, including:

根据所述第一场景信息,确定场景模式数据库中是否包含与所述第一场景信息对应的场景模式,所述场景模式数据库中包含不同的场景模式对应的场景信息;determining, according to the first scene information, whether the scene mode database includes scene modes corresponding to the first scene information, and the scene mode database includes scene information corresponding to different scene modes;

若是,则将所述场景模式数据库中所述第一场景信息对应的场景模式作为所述第一场景模式If yes, use the scene mode corresponding to the first scene information in the scene mode database as the first scene mode

在本发明实施例中,所述场景模式数据库中可以包含不同的场景模式对应的场景信息,其中,所述场景模式数据库可以是所述移动终端本地的场景模式对应的数据库,也可以是网络服务器中存储的场景模式对应的数据库,本发明实施例不做具体限定。In this embodiment of the present invention, the scene mode database may contain scene information corresponding to different scene modes, wherein the scene mode database may be a database corresponding to a local scene mode of the mobile terminal, or may be a network server The database corresponding to the scene mode stored in the database is not specifically limited in this embodiment of the present invention.

所述移动终端在根据所述第一场景信息确定所述第一场景模式时,可以将所述第一场景信息与所述场景模式数据库中存储的场景信息进行对比,并确定所述场景模式数据库中是否包含所述第一场景信息。若所述场景模式数据库中包含所述第一场景信息,则可以将所述场景模式数据库中与所述第一场景信息对应的场景模式作为所述第一场景模式。When determining the first scene mode according to the first scene information, the mobile terminal may compare the first scene information with the scene information stored in the scene mode database, and determine the scene mode database. whether the first scene information is included in the . If the scene mode database includes the first scene information, the scene mode corresponding to the first scene information in the scene mode database may be used as the first scene mode.

图4是本发明的一个实施例确定第一场景模式的方法的流程示意图;4 is a schematic flowchart of a method for determining a first scene mode according to an embodiment of the present invention;

图4中,移动终端在根据所述第一场景信息确定第一场景模式时,可以将所述第一场景信息与所述移动终端本地的场景模式数据库进行数据交互,确定该场景模式数据库中是否存储有所述第一场景信息,进而确定所述第一场景模式。In FIG. 4 , when the mobile terminal determines the first scene mode according to the first scene information, the mobile terminal can perform data interaction between the first scene information and the local scene mode database of the mobile terminal to determine whether the scene mode database is in the scene mode database. The first scene information is stored, and the first scene mode is further determined.

此外,所述移动终端还可以获取网络服务器中的场景模式数据库,并将所述第一场景信息与所述网络服务器中的场景模式数据库进行数据交互,进而确定所述第一场景模式。In addition, the mobile terminal may also acquire the scene mode database in the network server, and perform data interaction between the first scene information and the scene mode database in the network server, so as to determine the first scene mode.

其中,从网络服务器获取的场景模式数据库可以是所述用户个人私有的场景模式数据库,也可以是网络服务器提供的公用的场景模式数据库,这样,所述移动终端将所述第一场景信息与所述公用的场景模式数据库进行数据交互时,可以利用所述公用的场景模式数据库中存储的大量的场景信息快速确定所述第一场景模式;在将所述第一场景信息与所述个人的场景模式数据库进行数据交互时,一方面可以保证用户信息的私密性,另一方面可以使得确定得到的所述第一场景模式更具有所述用户的个性化特征。The scene pattern database acquired from the network server may be the user's personal private scene pattern database, or may be a public scene pattern database provided by the network server. In this way, the mobile terminal associates the first scene information with all the scene patterns. When performing data interaction with the public scene pattern database, the first scene pattern can be quickly determined by using a large amount of scene information stored in the public scene pattern database; when comparing the first scene information with the personal scene When the pattern database performs data interaction, on the one hand, the privacy of user information can be ensured, and on the other hand, the determined first scene pattern can be more personalized with the user.

本发明实施例中,若所述移动终端确定所述场景模式数据库中不包含与所述第一场景信息对应的场景模式,则可以根据所述第一场景信息确定得到所述第一场景模式。In this embodiment of the present invention, if the mobile terminal determines that the scene mode database does not contain a scene mode corresponding to the first scene information, the mobile terminal may determine to obtain the first scene mode according to the first scene information.

所述移动终端在根据所述第一场景信息确定得到所述第一场景模式,包括:The mobile terminal determines to obtain the first scene mode according to the first scene information, including:

获取使用所述移动终端的用户的行为数据;Obtain behavior data of users who use the mobile terminal;

根据所述用户的行为数据、所述第一场景信息以及所述场景模式数据库,确定得到所述第一场景模式。The first scene mode is determined according to the user's behavior data, the first scene information, and the scene mode database.

本发明实施例中,所述用户的行为数据可以用于表征所述用户在哪一时间段内,在什么位置发生了哪些行为,例如,所述用户在上午九点至十二点之间位于办公室内工作,“工作”可以视为所述用户在办公室九点至十二点内发生的行为。所述用户的行为数据可以从网络服务器中获取得到,也可以从所述移动终端中存储的所述用户的历史行为数据中获取得到,本发明实施例不做具体限定。In this embodiment of the present invention, the behavior data of the user may be used to represent what behaviors the user has performed in which time period and at what location, for example, the user is at Work in the office, "work" can be regarded as the behavior of the user in the office from 9:00 to 12:00. The behavior data of the user may be acquired from a network server, or may be acquired from historical behavior data of the user stored in the mobile terminal, which is not specifically limited in this embodiment of the present invention.

所述移动终端在获取得到所述用户的行为数据后,可以根据所述用户的行为数据、所述第一场景信息以及所述场景模式数据库,确定得到所述第一场景模式。After acquiring the behavior data of the user, the mobile terminal may determine to obtain the first scene mode according to the behavior data of the user, the first scene information, and the scene mode database.

具体地,所述移动终端可以根据所述用户的行为数据,确定所述用户在当前时间或从当前时间开始的一时间段内可能发生的行为,并将所述用户可能发生的行为以及所述第一场景信息,与所述场景模式数据库中存储的场景模式对应的场景信息进行对比,确定所述场景模式数据库中与所述用户可能发生的行为以及所述第一场景信息对应的至少一个场景信息,并根据所述至少一个场景信息对应的场景模式信息确定得到所述第一场景模式。Specifically, the mobile terminal may determine, according to the user's behavior data, possible behaviors of the user at the current time or within a time period starting from the current time, and analyze the possible behaviors of the user and the The first scene information is compared with the scene information corresponding to the scene mode stored in the scene mode database to determine at least one scene in the scene mode database that corresponds to the possible behavior of the user and the first scene information information, and the first scene mode is determined according to the scene mode information corresponding to the at least one scene information.

需要说明的是,在所述场景模式数据库中,针对其中一个场景模式而言,所述场景模式可以包含多个场景模式信息,且所述场景模式还可以对应不同的场景信息,其中,不同的场景信息可以对应不同的场景模式信息。例如,静音模式对应的场景信息可以是“办公室,九点到十二点”,对应的场景模式信息可以是音量为零,耗电为智能耗电。It should be noted that, in the scene mode database, for one of the scene modes, the scene mode may include multiple scene mode information, and the scene mode may also correspond to different scene information, wherein different The scene information may correspond to different scene mode information. For example, the scene information corresponding to the silent mode may be "office, nine o'clock to twelve o'clock", the corresponding scene mode information may be that the volume is zero, and the power consumption is smart power consumption.

本发明实施例在确定所述第一场景模式时,例如,根据所述用户的行为数据确定所述用户在每天早上九点左右到达办公室工作,根据所述第一场景信息中包含的时间信息以及地理坐标信息确定所述移动终端当前的时间为九点半且位于所述用户的办公室,那么,将所述用户的行为“工作”以及第一场景信息中“办公室”对应的地理坐标信息,与场景模式数据库进行对比后,若所述场景模式数据库中存储的“地理坐标信息为办公室以及时间为九点半”对应的场景模式信息为:音量为零,则可以确定所述第一场景模式对应的所述移动终端的音量为零。In this embodiment of the present invention, when determining the first scene mode, for example, according to the behavior data of the user, it is determined that the user arrives at the office for work at about nine o'clock every morning, according to the time information included in the first scene information and The geographic coordinate information determines that the current time of the mobile terminal is 9:30 and is located in the user's office, then, the user's behavior "work" and the geographic coordinate information corresponding to "office" in the first scene information are combined with After the scene mode database is compared, if the scene mode information corresponding to "the geographic coordinate information is the office and the time is 9:30" stored in the scene mode database is: the volume is zero, it can be determined that the first scene mode corresponds to The volume of the mobile terminal is zero.

再例如,根据所述用户的行为数据确定用户在每天晚上十点半左右睡觉休息,根据所述第一场景信息中包含的时间信息以及地理坐标信息确定所述移动终端当前的时间为十点半且位于所述用户的家里,那么,将所述用户的行为“睡觉”以及第一场景信息中“家”对应的地理坐标信息,与场景模式数据库进行对比后,若所述场景数据库中存储的“地理坐标信息为家以及时间为十点半”对应的场景模式信息为:亮度为暗,则可以确定所述第一场景模式对应的所述移动终端的亮度为暗。For another example, it is determined according to the behavior data of the user that the user sleeps and rests at around 10:30 every night, and according to the time information and geographic coordinate information contained in the first scene information, it is determined that the current time of the mobile terminal is 10:30. and is located in the user's home, then, after comparing the user's behavior "sleep" and the geographic coordinate information corresponding to "home" in the first scene information with the scene pattern database, if the data stored in the scene database is The scene mode information corresponding to "the geographic coordinate information is home and the time is half past ten" is: if the brightness is dark, it can be determined that the brightness of the mobile terminal corresponding to the first scene mode is dark.

这样,所述移动终端可以基于上述记载的方法确定得到所述第一场景信息对应的所述移动终端的多个场景模式信息,多个所述场景模式信息可以视为所述第一场景模式包含的多个场景模式信息。也就是说,可以基于上述记载的方法,根据所述用户的行为数据、所述第一场景信息以及所述场景模式数据库确定得到所述第一场景模式。In this way, the mobile terminal can determine and obtain a plurality of scene mode information of the mobile terminal corresponding to the first scene information based on the method described above, and the plurality of scene mode information can be regarded as the first scene mode including of multiple scene mode information. That is to say, the first scene mode may be determined and obtained according to the behavior data of the user, the first scene information, and the scene mode database based on the method described above.

需要说明的是,所述移动终端在根据所述第一场景信息确定得到所述第一场景模式后,还可以将所述第一场景模式以及所述第一场景信息对应存储在所述场景模式数据库中,以便于所述移动终端再次切换场景模式时使用。It should be noted that, after the mobile terminal determines to obtain the first scene mode according to the first scene information, the mobile terminal may also store the first scene mode and the first scene information correspondingly in the scene mode in the database, so as to be used when the mobile terminal switches the scene mode again.

所述移动终端在通过上述记载的方法确定所述第一场景模式后,可以将所述第二场景模式切换为所述第一场景模式,以满足用户在当前环境下对所移动终端的使用需求。After determining the first scene mode by the method described above, the mobile terminal can switch the second scene mode to the first scene mode, so as to meet the user's requirement for using the mobile terminal in the current environment .

本发明实施例提供的技术方案,通过将移动终端的场景模式切换为移动终端当前使用场景下的场景信息对应的场景模式,可以实现将移动终端的场景模式根据实际应用场景进行自动切换的目的,相较于现有技术而言,由于移动终端的场景模式为符合移动终端实际应用场景的场景模式,因此,可以满足用户在不同应用场景下对移动终端的使用需求,进而提升用户使用移动终端的用户体验。The technical solution provided by the embodiment of the present invention can achieve the purpose of automatically switching the scene mode of the mobile terminal according to the actual application scene by switching the scene mode of the mobile terminal to the scene mode corresponding to the scene information in the current usage scene of the mobile terminal. Compared with the prior art, since the scene mode of the mobile terminal is a scene mode that conforms to the actual application scene of the mobile terminal, it can meet the user's requirements for using the mobile terminal in different application scenarios, thereby improving the user's ability to use the mobile terminal. user experience.

此外,由于所述移动终端获取历史使用信息、地理坐标信息以及时间信息的准确度较高,误差小,因此,相较于现有技术中通过传感器获取信息进而对移动终端的场景模式进行调整而言,本发明实施例确定得到的场景模式可以更改真实地反映用户的使用情况。In addition, because the mobile terminal acquires historical usage information, geographic coordinate information, and time information with high accuracy and small errors, compared with the prior art, acquiring information through sensors and adjusting the scene mode of the mobile terminal In other words, the scene mode determined by the embodiment of the present invention can be changed to truly reflect the usage situation of the user.

实施例2Example 2

图5是本发明的一个实施例切换场景模式的方法的流程示意图。本发明实施例以所述移动终端为手机为例进行说明。FIG. 5 is a schematic flowchart of a method for switching scene modes according to an embodiment of the present invention. The embodiments of the present invention are described by taking the mobile terminal as a mobile phone as an example.

图5中,在手机处于开机状态时,手机内部的场景处理软件系统(以下简称场景系统)可以准备获取数据。In FIG. 5, when the mobile phone is turned on, the scene processing software system (hereinafter referred to as the scene system) inside the mobile phone can prepare to acquire data.

具体地,所述场景软件可以通过图1所示实施例记载的方法依次获取手机在一定时间内的使用信息、地理坐标信息以及时间信息,在获取这些信息后,所述场景系统可以根据这些信息生成标准化的场景信息,并在生成该标准化的场景信息后,可以将该场景信息存储在场景信息临时保存器中。其中,所述场景信息临时保存器可以临时保存本次得到的标准化场景信息以及上次得到的标准化场景信息。Specifically, the scenario software can sequentially acquire the usage information, geographic coordinate information, and time information of the mobile phone within a certain period of time through the method described in the embodiment shown in FIG. The standardized scene information is generated, and after the standardized scene information is generated, the scene information can be stored in the scene information temporary saver. The scene information temporary saver may temporarily save the standardized scene information obtained this time and the standardized scene information obtained last time.

此时,所述场景系统可以判断本次的场景信息是否与上次的场景信息一致,若一致,则可以无需切换手机的场景模式,所述场景系统可以再次进入获取数据的阶段,若不一致,则需要切换手机的场景模式,以满足用户对手机的使用需求。At this time, the scene system can determine whether the current scene information is consistent with the last scene information. If it is consistent, there is no need to switch the scene mode of the mobile phone, and the scene system can enter the data acquisition stage again. Then, the scene mode of the mobile phone needs to be switched to meet the user's demand for using the mobile phone.

所述场景系统在切换手机的场景模式时,可以将本次的场景信息与场景模式数据库进行数据交互,以确定本次的场景信息是否包含在所述场景模式数据库中,若是,则可以根据所述场景模式数据库确定本次的场景信息对应的场景模式,并直接将手机的场景模式切换为本次的场景信息对应的场景模式;若否,则可以与所述场景模式数据库以及用户行为数据库进行数据交互,并结合本次的场景信息确定得到新的场景模式,并将手机的模式切换为确定得到的所述新的场景模式。这样,可以满足用户在当前环境下对手机的使用需求。When switching the scene mode of the mobile phone, the scene system can perform data interaction between the current scene information and the scene mode database to determine whether the current scene information is included in the scene mode database, and if so, it can The scene mode database determines the scene mode corresponding to the current scene information, and directly switches the scene mode of the mobile phone to the scene mode corresponding to the current scene information; if not, it can be performed with the scene mode database and the user behavior database. data interaction, and combined with the current scene information to determine a new scene mode, and switch the mode of the mobile phone to the determined new scene mode. In this way, the user's demand for using the mobile phone in the current environment can be met.

在将手机的场景模式切换为所述新的场景模式后,所述场景系统可以再次进入获取数据的阶段,以便于根据获取的数据确定是否需要切换手机的场景模式,以满足用户在不同应用场景下对手机的使用需求。After switching the scene mode of the mobile phone to the new scene mode, the scene system can enter the stage of acquiring data again, so as to determine whether the scene mode of the mobile phone needs to be switched according to the acquired data, so as to meet the needs of the user in different application scenarios requirements for the use of mobile phones.

需要说明的是,所述场景系统在确定得到新的场景模式后,可以将所述新的场景模式加入所述场景模式数据库中,以便于之后需要切换手机的场景模式时使用。It should be noted that, after the scene system determines to obtain a new scene mode, the new scene mode may be added to the scene mode database so as to be used when the scene mode of the mobile phone needs to be switched in the future.

相较于现有技术中仅能固定有限地对手机的场景模式进行手动切换,或者通过传感系统来自动调节智能手机的场景模式而言,本发明实施例通过对手机在一定时间内的使用信息、手机当前的地理坐标信息和时间信息进行分析并连接数据库自动综合对比,可以确定出新的任意的满足不同用户需求的场景模式,并令手机的场景模式可以随着“使用条件”自动切换,这样,不仅可以满足用户在不同应用场景下对手机的使用需求,而且可以解决由于越来越多的新的使用场景的加入导致的用户对手机的设置越来越复杂繁琐,进而影响用户体验的问题。Compared with the prior art, which can only manually switch the scene mode of the mobile phone in a fixed and limited manner, or automatically adjust the scene mode of the smart phone through the sensing system, the embodiment of the present invention uses the mobile phone for a certain period of time. Information, the current geographic coordinate information and time information of the mobile phone are analyzed and connected to the database for automatic comprehensive comparison. New and arbitrary scene modes that meet the needs of different users can be determined, and the scene mode of the mobile phone can be automatically switched according to the "use conditions". , in this way, it can not only meet the user's needs for using mobile phones in different application scenarios, but also solve the more and more complicated and cumbersome settings of the user's mobile phone due to the addition of more and more new usage scenarios, which will affect the user experience. The problem.

实施例3Example 3

图6是本发明的一个实施例移动终端的结构示意图,所述移动终端包括:确定模块61、判断模块62以及切换模块63,其中:6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal includes: a determination module 61, a determination module 62 and a switching module 63, wherein:

确定模块61,确定移动终端在当前环境下的第一场景信息;Determining module 61, determining the first scene information of the mobile terminal in the current environment;

判断模块62,判断所述第一场景信息是否与所述移动终端当前设置的第二场景模式对应的第二场景信息一致;The judgment module 62 judges whether the first scene information is consistent with the second scene information corresponding to the second scene mode currently set by the mobile terminal;

切换模块63,在所述判断模块62确定所述第一场景信息与所述第二场景信息不一致时,根据所述第一场景信息确定第一场景模式,并将所述第二场景模式切换为所述第一场景模式。The switching module 63, when the judgment module 62 determines that the first scene information is inconsistent with the second scene information, determines a first scene mode according to the first scene information, and switches the second scene mode to the first scene mode.

可选地,所述确定模块63确定所述移动终端在当前环境下的第一场景信息,包括:Optionally, the determining module 63 determines the first scene information of the mobile terminal in the current environment, including:

获取所述移动终端在当前环境下的特征信息,所述特征信息包括所述移动终端在设定时间内的使用信息、所述移动终端的地理坐标信息以及所述移动终端的时间信息;Acquire feature information of the mobile terminal in the current environment, where the feature information includes usage information of the mobile terminal within a set time, geographic coordinate information of the mobile terminal, and time information of the mobile terminal;

根据所述特征信息确定所述移动终端在当前环境下的所述第一场景信息。The first scene information of the mobile terminal in the current environment is determined according to the feature information.

可选地,所述移动终端在设定时间内的使用信息包括:电池放电信息、流量使用信息、应用使用信息、屏幕触摸信息、声音播放信息中的至少一种;Optionally, the usage information of the mobile terminal within the set time includes at least one of battery discharge information, traffic usage information, application usage information, screen touch information, and sound playback information;

所述移动终端的地理坐标信息包括:所述移动终端中网络信号包含的地理坐标信息以及全球定位系统定位得到的地理坐标信息中的至少一种,所述网络信号包括:无线保真WIFI信号、移动数据信号中的至少一种;The geographic coordinate information of the mobile terminal includes: at least one of the geographic coordinate information contained in the network signal in the mobile terminal and the geographic coordinate information obtained by positioning the global positioning system, and the network signal includes: wireless fidelity WIFI signal, at least one of mobile data signals;

所述移动终端的时间信息包括:网络时间、所述移动终端的系统时间以及所述移动终端所在位置的标准时间中的至少一种。The time information of the mobile terminal includes at least one of: network time, system time of the mobile terminal, and standard time of the location where the mobile terminal is located.

可选地,所述切换模块63根据所述第一场景信息确定第一场景模式,包括:Optionally, the switching module 63 determines the first scene mode according to the first scene information, including:

根据所述第一场景信息,确定场景模式数据库中是否包含与所述第一场景信息对应的场景模式,所述场景模式数据库中包含不同的场景模式对应的场景信息;determining, according to the first scene information, whether the scene mode database includes scene modes corresponding to the first scene information, and the scene mode database includes scene information corresponding to different scene modes;

若是,则将所述场景模式数据库中所述第一场景信息对应的场景模式作为所述第一场景模式。If so, use the scene mode corresponding to the first scene information in the scene mode database as the first scene mode.

可选地,所述切换模块63,在确定所述场景模式数据库中不包含与所述第一场景信息对应的场景模式时,根据所述第一场景信息确定得到所述第一场景模式。Optionally, when determining that the scene mode database does not contain a scene mode corresponding to the first scene information, the switching module 63 determines to obtain the first scene mode according to the first scene information.

可选地,所述切换模块63根据所述第一场景信息确定得到所述第一场景模式,包括:Optionally, the switching module 63 determines to obtain the first scene mode according to the first scene information, including:

获取使用所述移动终端的用户的行为数据;Obtain behavior data of users who use the mobile terminal;

根据所述用户的行为数据、所述第一场景信息以及所述场景模式数据库,确定得到所述第一场景模式。The first scene mode is determined according to the user's behavior data, the first scene information, and the scene mode database.

可选地,所述切换模块63在确定得到所述第一场景模式后,将所述第一场景信息以及所述第一场景模式对应存储在所述场景模式数据库中。Optionally, after determining that the first scene mode is obtained, the switching module 63 correspondingly stores the first scene information and the first scene mode in the scene mode database.

本发明实施例提供的移动终端能够实现图1至图5的方法实施例中所述切换场景模式的方法实现的各个过程,为避免重复,这里不再赘述。本发明实施例中,通过将移动终端的场景模式切换为移动终端当前使用场景下的场景信息对应的场景模式,可以实现将移动终端的场景模式根据实际应用场景进行自动切换的目的,相较于现有技术而言,由于移动终端的场景模式为符合移动终端实际应用场景的场景模式,因此,可以满足用户在不同应用场景下对移动终端的使用需求,进而提升用户使用移动终端的用户体验。The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the method for switching the scene mode described in the method embodiments of FIG. 1 to FIG. 5 , and to avoid repetition, details are not described here. In the embodiment of the present invention, by switching the scene mode of the mobile terminal to the scene mode corresponding to the scene information in the current usage scene of the mobile terminal, the purpose of automatically switching the scene mode of the mobile terminal according to the actual application scene can be achieved. In the prior art, since the scene mode of the mobile terminal is a scene mode conforming to the actual application scene of the mobile terminal, the user's requirement for using the mobile terminal in different application scenarios can be met, thereby improving the user experience of the user using the mobile terminal.

图7为实现本发明各个实施例的一种移动终端的硬件结构示意图,7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention,

该移动终端700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power supply 711 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 7 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

其中,处理器710,用于确定移动终端在当前环境下的第一场景信息;Wherein, the processor 710 is configured to determine the first scene information of the mobile terminal in the current environment;

判断所述第一场景信息是否与所述移动终端当前设置的第二场景模式对应的第二场景信息一致;judging whether the first scene information is consistent with the second scene information corresponding to the second scene mode currently set by the mobile terminal;

若不一致,则根据所述第一场景信息确定第一场景模式,并将所述第二场景模式切换为所述第一场景模式。If not, the first scene mode is determined according to the first scene information, and the second scene mode is switched to the first scene mode.

通过将移动终端的场景模式切换为移动终端当前使用场景下的场景信息对应的场景模式,可以实现将移动终端的场景模式根据实际应用场景进行自动切换的目的,相较于现有技术而言,由于移动终端的场景模式为符合移动终端实际应用场景的场景模式,因此,可以满足用户在不同应用场景下对移动终端的使用需求,进而提升用户使用移动终端的用户体验。By switching the scene mode of the mobile terminal to the scene mode corresponding to the scene information in the current usage scene of the mobile terminal, the purpose of automatically switching the scene mode of the mobile terminal according to the actual application scene can be achieved. Compared with the prior art, Since the scene mode of the mobile terminal is a scene mode conforming to the actual application scene of the mobile terminal, the user's requirement for using the mobile terminal in different application scenarios can be met, thereby improving the user experience of the user using the mobile terminal.

应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 701 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 710; The uplink data is sent to the base station. Generally, the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the network module 702, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与移动终端700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into audio signals and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.

输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042. The graphics processor 7041 captures still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 706 . The image frames processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio frequency unit 701 or the network module 702 . The microphone 7042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 701 for output in the case of a telephone call mode.

移动终端700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在移动终端700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 7061 and the proximity sensor when the mobile terminal 700 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 705 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元707可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 707 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072 . The touch panel 7071, also referred to as a touch screen, can collect touch operations by the user on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 7071). operate). The touch panel 7071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 710, the command sent by the processor 710 is received and executed. In addition, the touch panel 7071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 7071 , the user input unit 707 may also include other input devices 7072 . Specifically, other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 7071 can be covered on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it transmits it to the processor 710 to determine the type of the touch event, and then the processor 710 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on display panel 7061. Although in FIG. 7, the touch panel 7071 and the display panel 7061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated The input and output functions of the mobile terminal are implemented, which is not specifically limited here.

接口单元708为外部装置与移动终端700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端700内的一个或多个元件或者可以用于在移动终端700和外部装置之间传输数据。The interface unit 708 is an interface for connecting an external device to the mobile terminal 700 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 708 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 700 or may be used between the mobile terminal 700 and the external Transfer data between devices.

存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 709 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器710是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the memory 709, and calls the data stored in the memory 709. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 710.

移动终端700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 700 may also include a power source 711 (such as a battery) for supplying power to various components. Preferably, the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.

另外,移动终端700包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 700 includes some unshown functional modules, which are not repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述切换场景模式的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and running on the processor 710, when the computer program is executed by the processor 710 Various processes of the foregoing method embodiments for switching scene modes are implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述切换场景模式的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process of the foregoing method for switching scene modes is implemented, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (15)

1. A method for switching scene modes, comprising:
determining first scene information of the mobile terminal in the current environment;
judging whether the first scene information is consistent with second scene information corresponding to a second scene mode currently set by the mobile terminal;
if not, determining a first scene mode according to the first scene information, and switching the second scene mode into the first scene mode;
determining first scene information of the mobile terminal in a current environment, including: acquiring feature information of the mobile terminal in a current environment, and determining the first scene information of the mobile terminal in the current environment according to the feature information, wherein the feature information comprises use information of the mobile terminal in a set time, and the use information of the mobile terminal in the set time comprises: at least one of battery discharge information, traffic usage information, application usage information, screen touch information, and sound playback information.
2. The method of claim 1,
the characteristic information further comprises geographic coordinate information of the mobile terminal and time information of the mobile terminal.
3. The method of claim 2,
the geographic coordinate information of the mobile terminal comprises: at least one of geographical coordinate information contained in a network signal in the mobile terminal and geographical coordinate information obtained by positioning by a global positioning system, wherein the network signal comprises: at least one of a wireless fidelity (WIFI) signal and a mobile data signal;
the time information of the mobile terminal includes: at least one of a network time, a system time of the mobile terminal, and a standard time of a location of the mobile terminal.
4. The method of claim 1, wherein determining a first scene mode based on the first scene information comprises:
determining whether a scene mode database contains a scene mode corresponding to the first scene information or not according to the first scene information, wherein the scene mode database contains scene information corresponding to different scene modes;
if so, taking the scene mode corresponding to the first scene information in the scene mode database as the first scene mode.
5. The method of claim 4, wherein the method further comprises:
and if the scene mode corresponding to the first scene information is not contained in the scene mode database, determining to obtain the first scene mode according to the first scene information.
6. The method of claim 5, wherein determining the first scene mode based on the first scene information comprises:
acquiring behavior data of a user using the mobile terminal;
and determining to obtain the first scene mode according to the behavior data of the user, the first scene information and the scene mode database.
7. The method of claim 6, wherein after determining that the first scene mode is obtained, the method further comprises:
and correspondingly storing the first scene information and the first scene mode in the scene mode database.
8. A mobile terminal, comprising:
the determining module is used for determining first scene information of the mobile terminal in the current environment;
the judging module is used for judging whether the first scene information is consistent with second scene information corresponding to a second scene mode currently set by the mobile terminal;
the switching module is used for determining a first scene mode according to the first scene information and switching the second scene mode to the first scene mode when the judging module determines that the first scene information is inconsistent with the second scene information;
the determining module determines first scene information of the mobile terminal in the current environment, and the determining module comprises: acquiring feature information of the mobile terminal in a current environment, and determining the first scene information of the mobile terminal in the current environment according to the feature information, wherein the feature information comprises use information of the mobile terminal in a set time, and the use information of the mobile terminal in the set time comprises: at least one of battery discharge information, traffic usage information, application usage information, screen touch information, and sound playback information.
9. The mobile terminal of claim 8, wherein the feature information further includes usage information of the mobile terminal within a set time, geographical coordinate information of the mobile terminal, and time information of the mobile terminal.
10. The mobile terminal of claim 9,
the geographic coordinate information of the mobile terminal comprises: at least one of geographical coordinate information contained in a network signal in the mobile terminal and geographical coordinate information obtained by positioning by a global positioning system, wherein the network signal comprises: at least one of a wireless fidelity (WIFI) signal and a mobile data signal;
the time information of the mobile terminal includes: at least one of a network time, a system time of the mobile terminal, and a standard time of a location of the mobile terminal.
11. The mobile terminal of claim 8, wherein the switching module determines a first scene mode based on the first scene information, comprising:
determining whether a scene mode database contains a scene mode corresponding to the first scene information or not according to the first scene information, wherein the scene mode database contains scene information corresponding to different scene modes;
if so, taking the scene mode corresponding to the first scene information in the scene mode database as the first scene mode.
12. The mobile terminal of claim 11,
and the switching module determines to obtain the first scene mode according to the first scene information when determining that the scene mode corresponding to the first scene information is not contained in the scene mode database.
13. The mobile terminal of claim 12, wherein the switching module determines the first scene mode according to the first scene information, comprising:
acquiring behavior data of a user using the mobile terminal;
and determining to obtain the first scene mode according to the behavior data of the user, the first scene information and the scene mode database.
14. The mobile terminal of claim 13,
and after determining that the first scene mode is obtained, the switching module correspondingly stores the first scene information and the first scene mode in the scene mode database.
15. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method of switching scene modes according to any of claims 1 to 7.
CN201711044033.6A 2017-10-31 2017-10-31 Method for switching scene mode and mobile terminal Active CN107888765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711044033.6A CN107888765B (en) 2017-10-31 2017-10-31 Method for switching scene mode and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711044033.6A CN107888765B (en) 2017-10-31 2017-10-31 Method for switching scene mode and mobile terminal

Publications (2)

Publication Number Publication Date
CN107888765A CN107888765A (en) 2018-04-06
CN107888765B true CN107888765B (en) 2020-06-09

Family

ID=61783121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711044033.6A Active CN107888765B (en) 2017-10-31 2017-10-31 Method for switching scene mode and mobile terminal

Country Status (1)

Country Link
CN (1) CN107888765B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110475014A (en) * 2018-05-11 2019-11-19 北京三星通信技术研究有限公司 The recognition methods of user's scene and terminal device
CN108717372B (en) * 2018-05-24 2022-08-09 网易(杭州)网络有限公司 Method and device for controlling virtual object in game scene
CN109167752B (en) * 2018-07-13 2021-04-23 奇酷互联网络科技(深圳)有限公司 Mobile terminal and method and device for automatically logging in application platform
CN108845758A (en) * 2018-08-02 2018-11-20 瑞声科技(南京)有限公司 A kind of method, touch device and the readable storage medium storing program for executing of determining operating mode
CN109828482A (en) * 2019-01-29 2019-05-31 深圳市眼界科技有限公司 The control method and device of science and education amusement equipment
CN110365844A (en) * 2019-07-19 2019-10-22 深圳传音控股股份有限公司 Scene mode switching method and terminal
CN119363877B (en) * 2024-12-25 2025-09-05 荣耀终端股份有限公司 Device control method and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282314A (en) * 2015-02-11 2016-01-27 维沃移动通信有限公司 Mobile terminal mode switching method and mobile terminal thereof
CN105306730A (en) * 2015-11-10 2016-02-03 上海卓易科技股份有限公司 System and method for automatically switching contextual model
CN105323386A (en) * 2015-12-03 2016-02-10 上海卓易科技股份有限公司 Method and system for automatically switching contextual model of mobile phone
CN105681583A (en) * 2016-03-21 2016-06-15 广东欧珀移动通信有限公司 A scene mode switching method, device and mobile terminal
CN106598711A (en) * 2016-11-16 2017-04-26 乐视控股(北京)有限公司 Working mode switching method and system for intelligent terminal
CN106951766A (en) * 2017-04-10 2017-07-14 广东小天才科技有限公司 scene mode switching method and device of intelligent terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2654867C (en) * 2005-06-13 2018-05-22 E-Lane Systems Inc. Vehicle immersive communication system
CN105376405A (en) * 2015-10-28 2016-03-02 宁波萨瑞通讯有限公司 Method and device for automatically switching contextual model
CN106598222A (en) * 2016-11-14 2017-04-26 上海斐讯数据通信技术有限公司 Scene mode switching method and system
CN106713631A (en) * 2016-12-16 2017-05-24 捷开通讯(深圳)有限公司 Context mode setting method for mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282314A (en) * 2015-02-11 2016-01-27 维沃移动通信有限公司 Mobile terminal mode switching method and mobile terminal thereof
CN105306730A (en) * 2015-11-10 2016-02-03 上海卓易科技股份有限公司 System and method for automatically switching contextual model
CN105323386A (en) * 2015-12-03 2016-02-10 上海卓易科技股份有限公司 Method and system for automatically switching contextual model of mobile phone
CN105681583A (en) * 2016-03-21 2016-06-15 广东欧珀移动通信有限公司 A scene mode switching method, device and mobile terminal
CN106598711A (en) * 2016-11-16 2017-04-26 乐视控股(北京)有限公司 Working mode switching method and system for intelligent terminal
CN106951766A (en) * 2017-04-10 2017-07-14 广东小天才科技有限公司 scene mode switching method and device of intelligent terminal

Also Published As

Publication number Publication date
CN107888765A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN107888765B (en) Method for switching scene mode and mobile terminal
CN107665697B (en) A method for adjusting screen brightness and a mobile terminal
CN108174044B (en) Alarm clock setting method and mobile terminal
CN110636174A (en) Method for calling out boarding code and mobile terminal
CN107748640B (en) Screen-off display method and mobile terminal
CN107977248B (en) Display method and mobile terminal of a desktop pendant
CN107566661A (en) The reminding method and mobile terminal of a kind of notification message
CN108541015A (en) A kind of signal strength reminding method and mobile terminal
CN108362304A (en) A kind of data processing method and mobile terminal
CN108418950B (en) Message reminder method and mobile terminal
CN107808107B (en) Application message display method and mobile terminal
CN106598582A (en) Mobile terminal and desk application display method and apparatus therefor
CN108495349A (en) A kind of switching method and mobile terminal of carrier network
CN108196781A (en) Interface display method and mobile terminal
CN108549660B (en) Information push method and device
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN109101151A (en) A kind of information display processing method and terminal device
CN108632469A (en) Method for prompting location of mobile terminal and mobile terminal
CN108156328A (en) The switching method and device of contextual model
CN108228357A (en) A memory cleaning method and mobile terminal
CN108062195A (en) The reminding method and mobile terminal of a kind of notification event
CN107819957A (en) A kind of electricity based reminding method, mobile terminal
CN107864474A (en) A kind of MBN update methods and mobile terminal
CN108008887A (en) A kind of method for displaying image and mobile terminal
CN108710789B (en) Unlocking method and terminal equipment

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载