WO2017193527A1 - Mobile phone mode switching method and apparatus base on wireless network, and electronic device - Google Patents

Mobile phone mode switching method and apparatus base on wireless network, and electronic device Download PDF

Info

Publication number
WO2017193527A1
WO2017193527A1 PCT/CN2016/100270 CN2016100270W WO2017193527A1 WO 2017193527 A1 WO2017193527 A1 WO 2017193527A1 CN 2016100270 W CN2016100270 W CN 2016100270W WO 2017193527 A1 WO2017193527 A1 WO 2017193527A1
Authority
WO
WIPO (PCT)
Prior art keywords
field
wireless network
mobile phone
information
access point
Prior art date
Application number
PCT/CN2016/100270
Other languages
French (fr)
Chinese (zh)
Inventor
江丹
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017193527A1 publication Critical patent/WO2017193527A1/en

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/725Cordless telephones
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the present application relates to the field of mobile communications, and in particular, to a mobile phone mode switching method, apparatus, and electronic device based on a wireless network.
  • the mobile phone can be located by GPS.
  • the GPS when the mobile phone moves to a specific occasion in the room, it is difficult for the GPS to locate the mobile phone. Therefore, how to effectively switch the mobile phone's scene mode after the mobile phone enters a specific occasion becomes an urgent problem to be solved. The problem.
  • the technical problem to be solved by the present application is how to effectively switch the scene mode of the mobile phone after the mobile phone enters a specific occasion.
  • the embodiment of the present application provides a method for switching a mobile phone mode based on a wireless network, including the following steps:
  • Searching for a wireless network access point around the mobile phone obtaining field information of the wireless network access point according to the wireless network access point; comparing the field information with the preset field database; determining whether the field information is in the field list of the field database; If the field information is in the field list of the field database, the phone is switched to the preset profile.
  • the method further includes: extracting keyword information of the wireless network according to the field information; determining whether the field information is included in the field list of the field database: determining the key Whether the word information is in the field list of the field database; if the keyword information is in the field list of the field database, the phone is switched to the preset profile.
  • the list of fields of the field database includes a movie theater, a school, and/or an intensive care unit.
  • the preset scene mode is a silent mode or a vibration mode.
  • the method further includes: timing the reachable state of the mobile phone and the wireless network access point signal; if the recorded duration exceeds the preset For the duration, switch the phone to the preset profile.
  • the embodiment of the present application provides a mobile phone mode switching device based on a wireless network, including:
  • a search unit configured to search for a wireless network access point around the mobile phone; a location field obtaining unit, configured to acquire field information of the wireless network access point according to the wireless network access point; and a comparison unit configured to use the field information and the preset
  • the field database is compared; the determining unit is configured to determine whether the field information is in the field list of the field database; and the switching unit is configured to switch the mobile phone to the preset scene mode.
  • the method further includes: a keyword unit, configured to extract keyword information of the wireless network according to the field information; and the determining unit is configured to determine whether the keyword information is in the field list of the field database.
  • a keyword unit configured to extract keyword information of the wireless network according to the field information
  • the determining unit is configured to determine whether the keyword information is in the field list of the field database.
  • the list of fields of the field database includes a movie theater, a school, and/or an intensive care unit.
  • the preset scene mode is a silent mode or a vibration mode.
  • the method further includes: a timing unit, configured to time the reachable state of the mobile phone and the wireless network access point signal.
  • an embodiment of the present application provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory is stored for processing by the at least one An instruction executed by the at least one Executing, by the processor, to enable the at least one processor to: search for a wireless network access point around the mobile phone; acquire field information of the wireless network access point according to the wireless network access point; Presetting a field database for comparison; determining whether the field information is in a field list of the field database; if the field information is in a field list of the field database, switching the mobile phone to a preset scenario mode.
  • the at least one processor is further configured to: extract the keyword of the wireless network according to the field information. Determining whether the field information is included in a field list of the field database: determining whether the keyword information is in a field list of the field database; if the keyword information is in the field database In the field list, the phone is switched to a preset profile.
  • the list of fields of the field database includes a movie theater, a school, and/or an intensive care unit.
  • the preset scene mode is a silent mode or a vibration mode.
  • the at least one processor is further enabled to: the mobile phone and the mobile phone The wireless network access point signal reachable state is counted; if the recorded duration exceeds the preset duration, the mobile phone is switched to a preset profile.
  • embodiments of the present application provide a non-volatile computer storage medium storing computer-executable instructions that, when executed by an electronic device, enable an electronic device to: search a wireless network access point around the mobile phone; acquiring field information of the wireless network access point according to the wireless network access point; and the field information Comparing with the preset field database; determining whether the field information is in a field list of the field database; if the field information is in a field list of the field database, switching the mobile phone to a preset Scene mode.
  • the electronic device after acquiring the field information of the wireless network access point according to the wireless network access point, enabling the electronic device to: extract keyword information of the wireless network according to the field information; Whether the field information is included in the field list of the field database: determining whether the keyword information is in a field list of the field database; if the keyword information is in a field list of the field database, Switch the phone to a preset profile.
  • the list of fields of the field database includes a movie theater, a school, and/or an intensive care unit.
  • the preset scene mode is a silent mode or a vibration mode.
  • the electronic device if the field information is in a field list of the field database, enabling the electronic device to: access the mobile phone and the wireless network before switching the mobile phone to a preset profile
  • the point signal is up to the state for timing; if the recorded duration exceeds the preset duration, the handset is switched to the preset profile.
  • an embodiment of the present application provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program The instructions, when executed by a computer, cause the computer to perform any of the methods described above.
  • the mobile phone mode switching method, apparatus, and electronic device provided by the embodiment of the present application, because the field information of the wireless network access point is obtained according to the wireless network access point, if the field information is in the field list of the field database, the mobile phone is switched to the pre- Set the scene mode. Thereby, the scene mode of the mobile phone is effectively switched after the mobile phone enters a specific occasion. It reduces the probability that the incoming call or information will cause interference to other members, affecting the work, study, etc. of other users.
  • the mobile phone and the wireless network access point signal are in a state of being counted; if the recorded duration exceeds a preset duration, the mobile phone is switched to a preset profile. Thereby, it is possible to reduce the probability that the mobile phone will switch the mobile phone to the preset scene mode by mistake when it only passes through the area.
  • FIG. 1 is a flowchart of a method for switching a mobile phone mode based on a wireless network according to an embodiment of the present application
  • FIG. 2 is a schematic block diagram of a mobile phone mode switching device based on a wireless network according to an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present application.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • this embodiment is public A method for switching a mobile phone mode based on a wireless network is provided. Referring to FIG. 1 , a flow chart of the method includes the following steps:
  • Step S100 searching for a wireless network access point around the mobile phone.
  • the wireless network access point around the mobile phone can be searched through the wireless network interface.
  • the term “around the mobile phone” refers to the range of the wireless network that can be obtained by the wireless network interface, and may specifically be determined according to the wireless signal strength of the actual wireless network interface, or may be preset to a certain range.
  • the wireless network access point is referred to as a WiFi hotspot.
  • Step S200 Obtain field information of the wireless network access point according to the wireless network access point.
  • the wireless network sets corresponding field information to distinguish it from other wireless network access points. Therefore, after searching for the wireless network access point, the field information of the wireless network can be obtained.
  • the field information of the wireless network access point can represent the location of the access point, such as a school, a ward, a movie theater, and the like.
  • the keyword information of the wireless network may be extracted according to field information of the wireless network access point, such as a "cinema" in a certain movie theater, a "school” in a certain school, a "ward” in a certain ward, and the like.
  • the current location is determined based on the keyword information of the wireless network, that is, in a movie theater, a school, a ward, and the like.
  • step S700 the field information is compared with the preset field database.
  • step S300 it is determined whether the field information is in the field list of the preset field database.
  • the related preset occasion and its corresponding field information may be stored in the system.
  • the mobile phone is currently in the preset state. occasion.
  • the field column of the preset field database The table includes places where a quiet environment is required, such as a movie theater, school, and/or intensive care unit. If the current location is in a preset occasion, step S400 is performed.
  • step S400 when extracting keyword information in the field information, it can be determined whether the keyword information is in a field list of the field database, such as "cinema” in the keyword xx movie theater, "school” in xx school , "the ward” in the xx intensive care unit.
  • step S400 is performed.
  • step S400 the mobile phone is switched to a preset profile.
  • the preset preset mode is a mode in which the mobile phone is muted, such as a silent mode or a vibration mode. It should be noted that, in other embodiments, if the mobile phone is turned off or the flight mode, etc., the mode of cutting off the communication signal mode, the equivalent replacement of this embodiment should be considered.
  • the method may further include:
  • Step S500 timing the reachable state of the signal of the mobile phone and the wireless network access point.
  • the so-called signal reachable means that the mobile phone can search for the wireless network access point.
  • the timer may be triggered to perform timing.
  • step S600 it is determined whether the duration of the recording exceeds a preset duration.
  • the preset duration may be determined according to experience, or may be preset directly in the system. If it is determined in step S600 that the duration of the recording exceeds the preset duration, step S400 is executed to switch the mobile phone to the preset scene mode. Of course, if step S600 determines that the recorded duration does not exceed the preset duration, the timing may be continued.
  • the embodiment also discloses a mobile phone mode switching device based on a wireless network.
  • the mobile phone mode switching device includes: a search unit 100, a field obtaining unit 200, a comparing unit 700, a determining unit 300, and a switching unit 400, wherein :
  • the search unit 100 is configured to search for a wireless network access point around the mobile phone; the field obtaining unit 200 is configured to acquire field information of the wireless network access point according to the wireless network access point; the comparison unit 700 is configured to use the field information and the preset field.
  • the database performs the comparison; the determining unit 300 is configured to determine whether the field information is in the field list of the field database; the switching unit 400 is configured to switch the mobile phone to the preset scene mode.
  • the mobile phone mode switching device further includes: a keyword unit, configured to extract keyword information of the wireless network according to the field information; and the determining unit is configured to determine whether the keyword information is in the field list of the field database. .
  • the field list of the field database includes a movie theater, a school, and/or an intensive care unit.
  • the preset scene mode is a silent mode or a vibration mode.
  • the mobile phone mode switching device further includes: a timing unit configured to time the reachable state of the mobile phone and the wireless network access point signal.
  • the mobile phone mode switching method, device and electronic device provided by the embodiments of the present application are
  • the wireless network access point obtains the field information of the field information of the wireless network access point to obtain the current location of the mobile phone. If the current information is in the preset position in the field list of the field database, the mobile phone switches to the preset profile. . Thereby, the scene mode of the mobile phone is effectively switched after the mobile phone enters a specific occasion. It reduces the probability that the incoming call or information will cause interference to other members, affecting the work, study, etc. of other users.
  • the mobile phone and the wireless network access point signal reachable state are timed on the preset location for the current location; if the recorded duration exceeds the preset duration, the mobile phone is switched to the preset profile mode. Thereby, it is possible to reduce the probability that the mobile phone will switch the mobile phone to the preset scene mode by mistake when it only passes through the area.
  • an embodiment of the present application provides an electronic device including at least one processor 810; and a memory 800 communicably coupled to the at least one processor 810; wherein the memory 800 is stored
  • the at least one processor 810 executes instructions that are executed by the at least one processor 810 to enable the at least one processor 810 to: search for a wireless network access point around the handset; Obtaining, by the access point, field information of the wireless network access point; comparing the field information with a preset field database; determining whether the field information is in a field list of the field database; if the field information In the field list of the field database, the mobile phone is switched to a preset profile.
  • the electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
  • the at least one processor is further configured to: extract, according to the field information The keyword information of the wireless network; the determining whether the field information is in the field list of the field database includes: determining whether the keyword information is in a field list of the field database; if the keyword The information is in the field list of the field database, and the mobile phone is switched to a preset profile.
  • the field list of the field database includes a movie theater, a school, and/or an intensive care unit.
  • the preset scene mode is a silent mode or a vibration mode.
  • the at least one processor enables the mobile phone to switch to a preset profile mode : timing the reachable state of the mobile phone and the wireless network access point signal; if the recorded duration exceeds a preset duration, the mobile phone is switched to a preset profile.
  • Embodiments of the present application provide a non-volatile computer storage medium storing computer-executable instructions that, when executed by an electronic device, enable an electronic device to: search for a wireless network around the mobile phone An access point; acquiring, according to the wireless network access point, field information of the wireless network access point; and the field information and preset field data
  • the library performs an alignment; determining whether the field information is in a field list of the field database; if the field information is in a field list of the field database, switching the mobile phone to a preset profile.
  • the non-volatile computer storage medium of the embodiment after the obtaining the field information of the wireless network access point according to the wireless network access point, enabling the electronic device to: extract according to the field information The keyword information of the wireless network; the determining whether the field information is in the field list of the field database includes: determining whether the keyword information is in a field list of the field database; if the keyword The information is in the field list of the field database, and the mobile phone is switched to a preset profile.
  • the field list of the field database includes a movie theater, a school, and/or an intensive care unit.
  • the preset scene mode is a silent mode or a vibration mode.
  • the non-volatile computer storage medium of the embodiment preferably, if the field information is in a field list of the field database, enabling the electronic device to enable the electronic device to switch to the preset profile before the switching : timing the reachable state of the mobile phone and the wireless network access point signal; if the recorded duration exceeds a preset duration, the mobile phone is switched to a preset profile.
  • the embodiment of the present application provides a computer program product, where the computer program product includes A computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform any of the methods described above.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

A mobile phone mode switching method and apparatus base on a wireless network, and an electronic device, relating to the field of mobile communications. The method comprises: searching for a wireless network access point around a mobile phone; acquiring field information about the wireless network access point according to the wireless network access point; comparing the field information to a pre-set field database; determining whether the field information is in a field list of the field database; and if the field information is in the field list of the field database, switching the mobile phone to a pre-set scene mode. Accordingly, after the mobile phone enters a particular occasion, the scene mode of the mobile phone is effectively switched. According to the present invention, the probability that the interference affects other people due to an incoming call or message and the work, learning, etc. of other users are affected is reduced.

Description

基于无线网络的手机模式切换方法、装置和电子设备Mobile phone mode switching method, device and electronic device based on wireless network
交叉引用cross reference
本申请为在2016年05月13日提交中国专利局、申请号为201610319012.x、发明名称为“基于无线网络的手机模式切换方法及装置”的中国专利申请的继续申请,本申请要求在2016年05月13日提交中国专利局、申请号为201610319012.x、发明名称为“基于无线网络的手机模式切换方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application is a continuation application of the Chinese Patent Application filed on May 13, 2016, the Chinese Patent Office, Application No. 201610319012.x, entitled "Wireless Network-Based Mobile Phone Mode Switching Method and Apparatus", this application is required in 2016. Priority of Chinese Patent Application No. 201610319012.x, entitled "Wireless Network-Based Mobile Phone Mode Switching Method and Apparatus", filed on May 13th, the entire contents of which is incorporated herein by reference. .
技术领域Technical field
本申请涉及移动通信领域,具体涉及基于无线网络的手机模式切换方法、装置和电子设备。The present application relates to the field of mobile communications, and in particular, to a mobile phone mode switching method, apparatus, and electronic device based on a wireless network.
背景技术Background technique
当前,随着智能移动终端尤其是手机的出现,加速了科技的发展,也带动了人们的互动、交流、娱乐、聊天等种种活动。如今大多数人身上都会有一部智能手机,并且使用手机已经成了人们每天生活、工作、学习必不可少的一部分。At present, with the advent of smart mobile terminals, especially mobile phones, the development of technology has been accelerated, and people's interaction, communication, entertainment, chat and other activities have also been promoted. Most people today have a smart phone, and the use of mobile phones has become an essential part of people's daily life, work and study.
目前手机的情景模式包括标准模式、户外模式、会议模式、省电模式、飞行模式和自定义模式,每一种情景模式都有特定的应用场合。比如,手机使用者在ICU病房、会议室、电影院、学校时需将手机设置为静音模式, 以免给场所中的其它成员带来噪声。然而,用户在进入上述特定的应用场合时,常常忘记设置静音模式,由此可能会导致来电或者信息是手机的噪声会给其他成员带来了干扰,影响其它用户的工作、学习等。Current mobile phone scene modes include standard mode, outdoor mode, conference mode, power saving mode, flight mode and custom mode, each of which has a specific application. For example, mobile phone users need to set the phone to silent mode in the ICU ward, conference room, movie theater, and school. So as not to bring noise to other members of the site. However, when users enter the above specific applications, they often forget to set the silent mode, which may cause the incoming call or the information that the noise of the mobile phone will cause interference to other members, affecting the work and learning of other users.
现有技术中,可以通过GPS来进行手机定位,然而,当手机移动至室内特定场合时,GPS难以实现手机的定位,因此,如何在手机进入特定场合后有效地切换手机的情景模式成为亟待解决的问题。In the prior art, the mobile phone can be located by GPS. However, when the mobile phone moves to a specific occasion in the room, it is difficult for the GPS to locate the mobile phone. Therefore, how to effectively switch the mobile phone's scene mode after the mobile phone enters a specific occasion becomes an urgent problem to be solved. The problem.
发明内容Summary of the invention
本申请要解决的技术问题在于如何在手机进入特定场合后有效地切换手机的情景模式。The technical problem to be solved by the present application is how to effectively switch the scene mode of the mobile phone after the mobile phone enters a specific occasion.
为此,根据第一方面,本申请实施例提供基于无线网络的手机模式切换方法,包括如下步骤:To this end, according to the first aspect, the embodiment of the present application provides a method for switching a mobile phone mode based on a wireless network, including the following steps:
搜索手机周围的无线网络接入点;根据无线网络接入点获取无线网络接入点的字段信息;将字段信息与预设字段数据库进行比对;判断字段信息是否在字段数据库的字段列表中;如果字段信息在字段数据库的字段列表中,则将手机切换至预设的情景模式。Searching for a wireless network access point around the mobile phone; obtaining field information of the wireless network access point according to the wireless network access point; comparing the field information with the preset field database; determining whether the field information is in the field list of the field database; If the field information is in the field list of the field database, the phone is switched to the preset profile.
优选地,在根据无线网络接入点获取无线网络接入点的字段信息之后,还包括:根据字段信息提取无线网络的关键词信息;判断字段信息是否在字段数据库的字段列表中包括:判断关键词信息是否在字段数据库的字段列表中;如果关键词信息在字段数据库的字段列表中,则将手机切换至预设的情景模式。 Preferably, after acquiring the field information of the wireless network access point according to the wireless network access point, the method further includes: extracting keyword information of the wireless network according to the field information; determining whether the field information is included in the field list of the field database: determining the key Whether the word information is in the field list of the field database; if the keyword information is in the field list of the field database, the phone is switched to the preset profile.
优选地,字段数据库的字段列表包括电影院、学校和/或重症病房。Preferably, the list of fields of the field database includes a movie theater, a school, and/or an intensive care unit.
优选地,预设的情景模式为静音模式或者振动模式。Preferably, the preset scene mode is a silent mode or a vibration mode.
优选地如果字段信息在字段数据库的字段列表中,在将手机切换至预设的情景模式之前,还包括:对手机与无线网络接入点信号可达状态进行计时;如果记录的时长超过预设时长,则将手机切换至预设的情景模式。Preferably, if the field information is in the field list of the field database, before the mobile phone is switched to the preset profile, the method further includes: timing the reachable state of the mobile phone and the wireless network access point signal; if the recorded duration exceeds the preset For the duration, switch the phone to the preset profile.
根据第二方面,本申请实施例提供基于无线网络的手机模式切换装置,包括:According to the second aspect, the embodiment of the present application provides a mobile phone mode switching device based on a wireless network, including:
搜索单元,用于搜索手机周围的无线网络接入点;位置字段获取单元,用于根据无线网络接入点获取无线网络接入点的字段信息;比对单元,用于将字段信息与预设字段数据库进行比对;判断单元,用于判断字段信息是否在字段数据库的字段列表中;切换单元,用于将手机切换至预设的情景模式。a search unit, configured to search for a wireless network access point around the mobile phone; a location field obtaining unit, configured to acquire field information of the wireless network access point according to the wireless network access point; and a comparison unit configured to use the field information and the preset The field database is compared; the determining unit is configured to determine whether the field information is in the field list of the field database; and the switching unit is configured to switch the mobile phone to the preset scene mode.
优选地,还包括:关键词单元,用于根据字段信息提取无线网络的关键词信息;判断单元用于判断关键词信息是否在字段数据库的字段列表中。Preferably, the method further includes: a keyword unit, configured to extract keyword information of the wireless network according to the field information; and the determining unit is configured to determine whether the keyword information is in the field list of the field database.
优选地,字段数据库的字段列表包括电影院、学校和/或重症病房。Preferably, the list of fields of the field database includes a movie theater, a school, and/or an intensive care unit.
优选地,预设的情景模式为静音模式或者振动模式。优选地,还包括:计时单元,用于对手机与无线网络接入点信号可达状态进行计时。Preferably, the preset scene mode is a silent mode or a vibration mode. Preferably, the method further includes: a timing unit, configured to time the reachable state of the mobile phone and the wireless network access point signal.
根据第三方面,本申请实施例提供了一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个 处理器执行,以使所述至少一个处理器能够:搜索手机周围的无线网络接入点;根据所述无线网络接入点获取所述无线网络接入点的字段信息;将所述字段信息与预设字段数据库进行比对;判断所述字段信息是否在所述字段数据库的字段列表中;如果所述字段信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。According to a third aspect, an embodiment of the present application provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory is stored for processing by the at least one An instruction executed by the at least one Executing, by the processor, to enable the at least one processor to: search for a wireless network access point around the mobile phone; acquire field information of the wireless network access point according to the wireless network access point; Presetting a field database for comparison; determining whether the field information is in a field list of the field database; if the field information is in a field list of the field database, switching the mobile phone to a preset scenario mode.
优选地,在所述根据所述无线网络接入点获取所述无线网络接入点的字段信息之后,使所述至少一个处理器还能够:根据所述字段信息提取所述无线网络的关键词信息;所述判断所述字段信息是否在所述字段数据库的字段列表中包括:判断所述关键词信息是否在所述字段数据库的字段列表中;如果所述关键词信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。Preferably, after the obtaining, according to the wireless network access point, the field information of the wireless network access point, the at least one processor is further configured to: extract the keyword of the wireless network according to the field information. Determining whether the field information is included in a field list of the field database: determining whether the keyword information is in a field list of the field database; if the keyword information is in the field database In the field list, the phone is switched to a preset profile.
优选地,所述字段数据库的字段列表包括电影院、学校和/或重症病房。Preferably, the list of fields of the field database includes a movie theater, a school, and/or an intensive care unit.
优选地,所述预设的情景模式为静音模式或者振动模式。Preferably, the preset scene mode is a silent mode or a vibration mode.
优选地,如果所述字段信息在所述字段数据库的字段列表中,在所述将所述手机切换至预设的情景模式之前,使所述至少一个处理器还能够:对所述手机与所述无线网络接入点信号可达状态进行计时;如果记录的时长超过预设时长,则将所述手机切换至预设的情景模式。Preferably, if the field information is in a field list of the field database, before the switching the mobile phone to a preset profile, the at least one processor is further enabled to: the mobile phone and the mobile phone The wireless network access point signal reachable state is counted; if the recorded duration exceeds the preset duration, the mobile phone is switched to a preset profile.
根据第四方面,本申请实施例提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:搜索手机周围的无线网络接入点;根据所述无线网络接入点获取所述无线网络接入点的字段信息;将所述字段信息 与预设字段数据库进行比对;判断所述字段信息是否在所述字段数据库的字段列表中;如果所述字段信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。According to a fourth aspect, embodiments of the present application provide a non-volatile computer storage medium storing computer-executable instructions that, when executed by an electronic device, enable an electronic device to: search a wireless network access point around the mobile phone; acquiring field information of the wireless network access point according to the wireless network access point; and the field information Comparing with the preset field database; determining whether the field information is in a field list of the field database; if the field information is in a field list of the field database, switching the mobile phone to a preset Scene mode.
优选地,在所述根据所述无线网络接入点获取所述无线网络接入点的字段信息之后,使得电子设备能够:根据所述字段信息提取所述无线网络的关键词信息;所述判断所述字段信息是否在所述字段数据库的字段列表中包括:判断所述关键词信息是否在所述字段数据库的字段列表中;如果所述关键词信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。Preferably, after acquiring the field information of the wireless network access point according to the wireless network access point, enabling the electronic device to: extract keyword information of the wireless network according to the field information; Whether the field information is included in the field list of the field database: determining whether the keyword information is in a field list of the field database; if the keyword information is in a field list of the field database, Switch the phone to a preset profile.
优选地,所述字段数据库的字段列表包括电影院、学校和/或重症病房。Preferably, the list of fields of the field database includes a movie theater, a school, and/or an intensive care unit.
优选地,所述预设的情景模式为静音模式或者振动模式。Preferably, the preset scene mode is a silent mode or a vibration mode.
优选地,如果所述字段信息在所述字段数据库的字段列表中,在所述将所述手机切换至预设的情景模式之前,使得电子设备能够:对所述手机与所述无线网络接入点信号可达状态进行计时;如果记录的时长超过预设时长,则将所述手机切换至预设的情景模式。Preferably, if the field information is in a field list of the field database, enabling the electronic device to: access the mobile phone and the wireless network before switching the mobile phone to a preset profile The point signal is up to the state for timing; if the recorded duration exceeds the preset duration, the handset is switched to the preset profile.
根据第五方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。According to a fifth aspect, an embodiment of the present application provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program The instructions, when executed by a computer, cause the computer to perform any of the methods described above.
本申请技术方案,具有如下优点: The technical solution of the present application has the following advantages:
本申请实施例提供的手机模式切换方法、装置和电子设备,由于根据无线网络接入点获取无线网络接入点的字段信息,如果字段信息在字段数据库的字段列表中,则将手机切换至预设的情景模式。从而,在手机进入特定场合后有效地切换手机的情景模式。减少了导致来电或者信息给其他成员带来了干扰,影响其它用户的工作、学习等的概率。The mobile phone mode switching method, apparatus, and electronic device provided by the embodiment of the present application, because the field information of the wireless network access point is obtained according to the wireless network access point, if the field information is in the field list of the field database, the mobile phone is switched to the pre- Set the scene mode. Thereby, the scene mode of the mobile phone is effectively switched after the mobile phone enters a specific occasion. It reduces the probability that the incoming call or information will cause interference to other members, affecting the work, study, etc. of other users.
作为优选的技术方案,由于手机与无线网络接入点信号可达状态进行计时;如果记录的时长超过预设时长,则将手机切换至预设的情景模式。从而能够减少因手机在仅仅是经过该区域时误将手机切换成预设情景模式的概率。As a preferred technical solution, the mobile phone and the wireless network access point signal are in a state of being counted; if the recorded duration exceeds a preset duration, the mobile phone is switched to a preset profile. Thereby, it is possible to reduce the probability that the mobile phone will switch the mobile phone to the preset scene mode by mistake when it only passes through the area.
附图说明DRAWINGS
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the specific embodiments or the description of the prior art will be briefly described below, and obviously, the attached in the following description The drawings are some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
图1为本申请实施例基于无线网络的手机模式切换方法流程图;1 is a flowchart of a method for switching a mobile phone mode based on a wireless network according to an embodiment of the present application;
图2为本申请实施例基于无线网络的手机模式切换装置原理框图;2 is a schematic block diagram of a mobile phone mode switching device based on a wireless network according to an embodiment of the present application;
图3为本申请实施例的电子设备的硬件结构示意图。FIG. 3 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present application.
具体实施方式 detailed description
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application are clearly and completely described in the following with reference to the accompanying drawings. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it is to be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. The orientation or positional relationship of the indications is based on the orientation or positional relationship shown in the drawings, and is merely for the convenience of the description of the invention and the simplified description, rather than indicating or implying that the device or component referred to has a specific orientation, in a specific orientation. The construction and operation are therefore not to be construed as limiting the invention. Moreover, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installation", "connected", and "connected" are to be understood broadly, and may be fixed or detachable, for example, unless otherwise explicitly defined and defined. Connection, or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection. The specific meaning of the above terms in the present invention can be understood in a specific case by those skilled in the art.
此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。Further, the technical features involved in the different embodiments of the present application described below may be combined with each other as long as they do not constitute a conflict with each other.
实施例1Example 1
为了在手机进入特定场合后有效地切换手机的情景模式,本实施例公 开了基于无线网络的手机模式切换方法,请参考图1,为该方法流程图,该手机模式切换方法包括如下步骤:In order to effectively switch the scene mode of the mobile phone after the mobile phone enters a specific occasion, this embodiment is public A method for switching a mobile phone mode based on a wireless network is provided. Referring to FIG. 1 , a flow chart of the method includes the following steps:
步骤S100,搜索手机周围的无线网络接入点。本实施例中,在手机进入一些场合后,在手机打开无线网络接口时,可以通过无线网络接口搜索手机周围的无线网络接入点。需要说明的是,本实施中,所称手机周围是指无线网络接口所能获取到的无线网络范围内,具体地可以根据实际的无线网络接口的无线信号强度确定,也可以预设一定的范围。在优选的实施例中考所称无线网络接入点为WiFi热点。Step S100, searching for a wireless network access point around the mobile phone. In this embodiment, after the mobile phone enters some occasions, when the mobile phone opens the wireless network interface, the wireless network access point around the mobile phone can be searched through the wireless network interface. It should be noted that, in this implementation, the term “around the mobile phone” refers to the range of the wireless network that can be obtained by the wireless network interface, and may specifically be determined according to the wireless signal strength of the actual wireless network interface, or may be preset to a certain range. . In a preferred embodiment, the wireless network access point is referred to as a WiFi hotspot.
步骤S200,根据无线网络接入点获取无线网络接入点的字段信息。通常,无线网络均会设置相应的字段信息,以便于区分于其他无线网络接入点,因此,在搜索到无线网络接入点后,可以获取得到该无线网络的字段信息。具体实施例中,无线网络接入点的字段信息能够表征该接入点的所在位置,例如学校、病房、电影院等。作为例子,可以根据无线网络接入点的字段信息提取该无线网络的关键词信息,例如某某电影院中的“电影院”、某某学校中的“学校”、某某病房中的“病房”等;根据无线网络的关键词信息确定当前的位置,即在电影院、学校、病房等。Step S200: Obtain field information of the wireless network access point according to the wireless network access point. Generally, the wireless network sets corresponding field information to distinguish it from other wireless network access points. Therefore, after searching for the wireless network access point, the field information of the wireless network can be obtained. In a specific embodiment, the field information of the wireless network access point can represent the location of the access point, such as a school, a ward, a movie theater, and the like. As an example, the keyword information of the wireless network may be extracted according to field information of the wireless network access point, such as a "cinema" in a certain movie theater, a "school" in a certain school, a "ward" in a certain ward, and the like. The current location is determined based on the keyword information of the wireless network, that is, in a movie theater, a school, a ward, and the like.
步骤S700,将字段信息与预设字段数据库进行比对。In step S700, the field information is compared with the preset field database.
步骤S300,判断字段信息是否在预设字段数据库的字段列表中。具体实施例中,可以在系统中存储相关的预设场合及其对应的字段信息,当判断出用于表征当前位置的字段信息符合数据库中的预设的字段信息,则说明手机当前处于预设场合。在优选的实施例中,预设字段数据库的字段列 表包括电影院、学校和/或重症病房等需要安静环境的场所。如果当前位置在预设场合,则执行步骤S400。在优选的实施例中,当提取字段信息中的关键词信息时,可以判断关键词信息是否在字段数据库的字段列表中,例如关键词xx电影院中的“电影院”、xx学校中的“学校”、xx重症病房中的“病房”等。当提取的这些关键词在预设字段数据库的字段列表中时,则执行步骤S400。In step S300, it is determined whether the field information is in the field list of the preset field database. In a specific embodiment, the related preset occasion and its corresponding field information may be stored in the system. When it is determined that the field information used to represent the current location meets the preset field information in the database, the mobile phone is currently in the preset state. occasion. In a preferred embodiment, the field column of the preset field database The table includes places where a quiet environment is required, such as a movie theater, school, and/or intensive care unit. If the current location is in a preset occasion, step S400 is performed. In a preferred embodiment, when extracting keyword information in the field information, it can be determined whether the keyword information is in a field list of the field database, such as "cinema" in the keyword xx movie theater, "school" in xx school , "the ward" in the xx intensive care unit. When the extracted keywords are in the field list of the preset field database, step S400 is performed.
步骤S400,将手机切换至预设的情景模式。本实施例中,所称预设的情景模式为静音模式或者振动模式等能够使得手机处于静音的模式。需要说明的是,在其它实施例中,如果将手机至于关机或者飞行模式等切断通讯信号方式的模式,应当认为本实施例的等同替换。In step S400, the mobile phone is switched to a preset profile. In this embodiment, the preset preset mode is a mode in which the mobile phone is muted, such as a silent mode or a vibration mode. It should be noted that, in other embodiments, if the mobile phone is turned off or the flight mode, etc., the mode of cutting off the communication signal mode, the equivalent replacement of this embodiment should be considered.
在优选的实施例中,如果字段信息在字段数据库的字段列表中,在执行步骤S400将手机切换至预设的情景模式之前,还可以包括:In a preferred embodiment, if the field information is in the field list of the field database, before the step S400 is performed to switch the mobile phone to the preset scene mode, the method may further include:
步骤S500,对手机与无线网络接入点信号可达状态进行计时。本实施例中,所称信号可达是指手机能够搜索到该无线网络接入点。具体地,当步骤S400判断出字段信息在字段数据库的字段列表中时,即可触发计时器进行计时。Step S500, timing the reachable state of the signal of the mobile phone and the wireless network access point. In this embodiment, the so-called signal reachable means that the mobile phone can search for the wireless network access point. Specifically, when it is determined in step S400 that the field information is in the field list of the field database, the timer may be triggered to perform timing.
步骤S600,判断记录的时长是否超过预设时长。具体实施例中,预设时长可以根据经验确定,也可以直接在系统中预设。如果步骤S600判断记录的时长超过预设时长,则执行步骤S400将手机切换至预设的情景模式,当然,如果步骤S600判断记录的时长未超过预设时长,还可以继续计时。 In step S600, it is determined whether the duration of the recording exceeds a preset duration. In a specific embodiment, the preset duration may be determined according to experience, or may be preset directly in the system. If it is determined in step S600 that the duration of the recording exceeds the preset duration, step S400 is executed to switch the mobile phone to the preset scene mode. Of course, if step S600 determines that the recorded duration does not exceed the preset duration, the timing may be continued.
实施例2Example 2
本实施例还公开了基于无线网络的手机模式切换装置,请参考图2,该手机模式切换装置包括:搜索单元100、字段获取单元200、比对单元700、判断单元300和切换单元400,其中:The embodiment also discloses a mobile phone mode switching device based on a wireless network. Referring to FIG. 2, the mobile phone mode switching device includes: a search unit 100, a field obtaining unit 200, a comparing unit 700, a determining unit 300, and a switching unit 400, wherein :
搜索单元100用于搜索手机周围的无线网络接入点;字段获取单元200用于根据无线网络接入点获取无线网络接入点的字段信息;比对单元700用于将字段信息与预设字段数据库进行比对;判断单元300用于判断字段信息是否在字段数据库的字段列表中;切换单元400用于将手机切换至预设的情景模式。The search unit 100 is configured to search for a wireless network access point around the mobile phone; the field obtaining unit 200 is configured to acquire field information of the wireless network access point according to the wireless network access point; the comparison unit 700 is configured to use the field information and the preset field. The database performs the comparison; the determining unit 300 is configured to determine whether the field information is in the field list of the field database; the switching unit 400 is configured to switch the mobile phone to the preset scene mode.
在优选的实施例中,该手机模式切换装置还包括:关键词单元,用于根据字段信息提取无线网络的关键词信息;判断单元用于判断关键词信息是否在字段数据库的字段列表中。。In a preferred embodiment, the mobile phone mode switching device further includes: a keyword unit, configured to extract keyword information of the wireless network according to the field information; and the determining unit is configured to determine whether the keyword information is in the field list of the field database. .
在优选的实施例中,字段数据库的字段列表包括电影院、学校和/或重症病房。In a preferred embodiment, the field list of the field database includes a movie theater, a school, and/or an intensive care unit.
在优选的实施例中,预设的情景模式为静音模式或者振动模式。In a preferred embodiment, the preset scene mode is a silent mode or a vibration mode.
在优选的实施例中,该手机模式切换装置还包括:计时单元,用于对手机与无线网络接入点信号可达状态进行计时。In a preferred embodiment, the mobile phone mode switching device further includes: a timing unit configured to time the reachable state of the mobile phone and the wireless network access point signal.
本申请实施例提供的手机模式切换方法、装置和电子设备,由于根据 无线网络接入点获取无线网络接入点的字段信息的字段信息获取手机当前的位置,如果字段信息在字段数据库的字段列表中当前位置在预设场合,则将手机切换至预设的情景模式。从而,在手机进入特定场合后有效地切换手机的情景模式。减少了导致来电或者信息给其他成员带来了干扰,影响其它用户的工作、学习等的概率。The mobile phone mode switching method, device and electronic device provided by the embodiments of the present application are The wireless network access point obtains the field information of the field information of the wireless network access point to obtain the current location of the mobile phone. If the current information is in the preset position in the field list of the field database, the mobile phone switches to the preset profile. . Thereby, the scene mode of the mobile phone is effectively switched after the mobile phone enters a specific occasion. It reduces the probability that the incoming call or information will cause interference to other members, affecting the work, study, etc. of other users.
在优选的实施例中,由于手机与无线网络接入点信号可达状态对当前位置在预设场合进行计时;如果记录的时长超过预设时长,则将手机切换至预设的情景模式。从而能够减少因手机在仅仅是经过该区域时误将手机切换成预设情景模式的概率。In a preferred embodiment, the mobile phone and the wireless network access point signal reachable state are timed on the preset location for the current location; if the recorded duration exceeds the preset duration, the mobile phone is switched to the preset profile mode. Thereby, it is possible to reduce the probability that the mobile phone will switch the mobile phone to the preset scene mode by mistake when it only passes through the area.
实施例3Example 3
如图3所示,本申请实施例提供了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:搜索手机周围的无线网络接入点;根据所述无线网络接入点获取所述无线网络接入点的字段信息;将所述字段信息与预设字段数据库进行比对;判断所述字段信息是否在所述字段数据库的字段列表中;如果所述字段信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。 As shown in FIG. 3, an embodiment of the present application provides an electronic device including at least one processor 810; and a memory 800 communicably coupled to the at least one processor 810; wherein the memory 800 is stored The at least one processor 810 executes instructions that are executed by the at least one processor 810 to enable the at least one processor 810 to: search for a wireless network access point around the handset; Obtaining, by the access point, field information of the wireless network access point; comparing the field information with a preset field database; determining whether the field information is in a field list of the field database; if the field information In the field list of the field database, the mobile phone is switched to a preset profile. The electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
本实施例的电子设备,优选地,在所述根据所述无线网络接入点获取所述无线网络接入点的字段信息之后,使所述至少一个处理器还能够:根据所述字段信息提取所述无线网络的关键词信息;所述判断所述字段信息是否在所述字段数据库的字段列表中包括:判断所述关键词信息是否在所述字段数据库的字段列表中;如果所述关键词信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。The electronic device of the embodiment, after the obtaining, according to the wireless network access point, the field information of the wireless network access point, the at least one processor is further configured to: extract, according to the field information The keyword information of the wireless network; the determining whether the field information is in the field list of the field database includes: determining whether the keyword information is in a field list of the field database; if the keyword The information is in the field list of the field database, and the mobile phone is switched to a preset profile.
本实施例的电子设备,优选地,所述字段数据库的字段列表包括电影院、学校和/或重症病房。In the electronic device of the embodiment, preferably, the field list of the field database includes a movie theater, a school, and/or an intensive care unit.
本实施例的电子设备,优选地,所述预设的情景模式为静音模式或者振动模式。In the electronic device of this embodiment, preferably, the preset scene mode is a silent mode or a vibration mode.
本实施例的电子设备,优选地,如果所述字段信息在所述字段数据库的字段列表中,在所述将所述手机切换至预设的情景模式之前,使所述至少一个处理器还能够:对所述手机与所述无线网络接入点信号可达状态进行计时;如果记录的时长超过预设时长,则将所述手机切换至预设的情景模式。In the electronic device of this embodiment, preferably, if the field information is in a field list of the field database, enabling the at least one processor to further enable the mobile phone to switch to a preset profile mode : timing the reachable state of the mobile phone and the wireless network access point signal; if the recorded duration exceeds a preset duration, the mobile phone is switched to a preset profile.
实施例4Example 4
本申请实施例提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:搜索手机周围的无线网络接入点;根据所述无线网络接入点获取所述无线网络接入点的字段信息;将所述字段信息与预设字段数据 库进行比对;判断所述字段信息是否在所述字段数据库的字段列表中;如果所述字段信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。Embodiments of the present application provide a non-volatile computer storage medium storing computer-executable instructions that, when executed by an electronic device, enable an electronic device to: search for a wireless network around the mobile phone An access point; acquiring, according to the wireless network access point, field information of the wireless network access point; and the field information and preset field data The library performs an alignment; determining whether the field information is in a field list of the field database; if the field information is in a field list of the field database, switching the mobile phone to a preset profile.
本实施例的非易失性计算机存储介质,优选地,在所述根据所述无线网络接入点获取所述无线网络接入点的字段信息之后,使得电子设备能够:根据所述字段信息提取所述无线网络的关键词信息;所述判断所述字段信息是否在所述字段数据库的字段列表中包括:判断所述关键词信息是否在所述字段数据库的字段列表中;如果所述关键词信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。The non-volatile computer storage medium of the embodiment, after the obtaining the field information of the wireless network access point according to the wireless network access point, enabling the electronic device to: extract according to the field information The keyword information of the wireless network; the determining whether the field information is in the field list of the field database includes: determining whether the keyword information is in a field list of the field database; if the keyword The information is in the field list of the field database, and the mobile phone is switched to a preset profile.
本实施例的非易失性计算机存储介质,优选地,所述字段数据库的字段列表包括电影院、学校和/或重症病房。In the non-volatile computer storage medium of the present embodiment, preferably, the field list of the field database includes a movie theater, a school, and/or an intensive care unit.
优选地,所述预设的情景模式为静音模式或者振动模式。Preferably, the preset scene mode is a silent mode or a vibration mode.
本实施例的非易失性计算机存储介质,优选地,如果所述字段信息在所述字段数据库的字段列表中,在所述将所述手机切换至预设的情景模式之前,使得电子设备能够:对所述手机与所述无线网络接入点信号可达状态进行计时;如果记录的时长超过预设时长,则将所述手机切换至预设的情景模式。The non-volatile computer storage medium of the embodiment, preferably, if the field information is in a field list of the field database, enabling the electronic device to enable the electronic device to switch to the preset profile before the switching : timing the reachable state of the mobile phone and the wireless network access point signal; if the recorded duration exceeds a preset duration, the mobile phone is switched to a preset profile.
实施例5Example 5
本申请实施例提供了一种计算机程序产品,所述计算机程序产品包括 存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。The embodiment of the present application provides a computer program product, where the computer program product includes A computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform any of the methods described above.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本申请创造的保护范围之中。 It is apparent that the above-described embodiments are merely illustrative of the examples, and are not intended to limit the embodiments. Other variations or modifications of the various forms may be made by those skilled in the art in light of the above description. There is no need and no way to exhaust all of the implementations. Obvious changes or variations resulting therefrom are still within the scope of protection created by this application.

Claims (21)

  1. 基于无线网络的手机模式切换方法,其特征在于,包括如下步骤:A method for switching a mobile phone mode based on a wireless network, comprising the steps of:
    搜索手机周围的无线网络接入点;Search for wireless access points around your phone;
    根据所述无线网络接入点获取所述无线网络接入点的字段信息;Obtaining field information of the wireless network access point according to the wireless network access point;
    将所述字段信息与预设字段数据库进行比对;Comparing the field information with a preset field database;
    判断所述字段信息是否在所述字段数据库的字段列表中;Determining whether the field information is in a field list of the field database;
    如果所述字段信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。If the field information is in the field list of the field database, the mobile phone is switched to a preset profile.
  2. 如权利要求1所述的手机模式切换方法,其特征在于,在所述根据所述无线网络接入点获取所述无线网络接入点的字段信息之后,还包括:The mobile phone mode switching method according to claim 1, wherein after the obtaining the field information of the wireless network access point according to the wireless network access point, the method further includes:
    根据所述字段信息提取所述无线网络的关键词信息;Extracting keyword information of the wireless network according to the field information;
    所述判断所述字段信息是否在所述字段数据库的字段列表中包括:Determining whether the field information is included in a field list of the field database includes:
    判断所述关键词信息是否在所述字段数据库的字段列表中;Determining whether the keyword information is in a field list of the field database;
    如果所述关键词信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。If the keyword information is in the field list of the field database, the mobile phone is switched to a preset profile.
  3. 如权利要求1或2所述的手机模式切换方法,其特征在于,所述字段数据库的字段列表包括电影院、学校和/或重症病房。 The mobile phone mode switching method according to claim 1 or 2, wherein the field list of the field database comprises a movie theater, a school, and/or an intensive care unit.
  4. 如权利要求1-3任意一项所述的手机模式切换方法,其特征在于,所述预设的情景模式为静音模式或者振动模式。The mobile phone mode switching method according to any one of claims 1 to 3, wherein the preset scene mode is a silent mode or a vibration mode.
  5. 如权利要求1-4任意一项所述的手机模式切换方法,其特征在于,如果所述字段信息在所述字段数据库的字段列表中,在所述将所述手机切换至预设的情景模式之前,还包括:The mobile phone mode switching method according to any one of claims 1 to 4, wherein if the field information is in a field list of the field database, the mobile phone is switched to a preset profile mode. Previously, it also included:
    对所述手机与所述无线网络接入点信号可达状态进行计时;Counting the reachable state of the mobile phone and the wireless network access point signal;
    如果记录的时长超过预设时长,则将所述手机切换至预设的情景模式。If the recorded duration exceeds the preset duration, the handset is switched to a preset profile.
  6. 基于无线网络的手机模式切换装置,其特征在于,包括:A mobile phone mode switching device based on a wireless network, comprising:
    搜索单元,用于搜索手机周围的无线网络接入点;a search unit for searching for a wireless network access point around the mobile phone;
    字段获取单元,用于根据所述无线网络接入点获取所述无线网络接入点的字段信息;a field obtaining unit, configured to acquire field information of the wireless network access point according to the wireless network access point;
    比对单元,用于将所述字段信息与预设字段数据库进行比对;a comparison unit, configured to compare the field information with a preset field database;
    判断单元,用于判断所述字段信息是否在所述字段数据库的字段列表中;a determining unit, configured to determine whether the field information is in a field list of the field database;
    切换单元,用于将所述手机切换至预设的情景模式。a switching unit, configured to switch the mobile phone to a preset profile.
  7. 如权利要求6所述的手机模式切换装置,其特征在于,还包括:The mobile phone mode switching device of claim 6, further comprising:
    关键词单元,用于根据所述字段信息提取所述无线网络的关键词信息;a keyword unit, configured to extract keyword information of the wireless network according to the field information;
    所述判断单元用于判断所述关键词信息是否在所述字段数据库的字段 列表中。The determining unit is configured to determine whether the keyword information is in a field of the field database List.
  8. 如权利要求6或7所述的手机模式切换装置,其特征在于,所述字段数据库的字段列表包括电影院、学校和/或重症病房。The handset mode switching device according to claim 6 or 7, wherein the field list of the field database comprises a movie theater, a school, and/or an intensive care unit.
  9. 如权利要求6-8任意一项所述的手机模式切换装置,其特征在于,所述预设的情景模式为静音模式或者振动模式。The mobile phone mode switching device according to any one of claims 6-8, wherein the preset scene mode is a silent mode or a vibration mode.
  10. 如权利要求6-9任意一项所述的手机模式切换装置,其特征在于,还包括:The mobile phone mode switching device according to any one of claims 6-9, further comprising:
    计时单元,用于对所述手机与所述无线网络接入点信号可达状态进行计时。a timing unit, configured to time the reachable state of the mobile phone and the wireless network access point signal.
  11. 一种电子设备,其特征在于,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to:
    搜索手机周围的无线网络接入点;Search for wireless access points around your phone;
    根据所述无线网络接入点获取所述无线网络接入点的字段信息;Obtaining field information of the wireless network access point according to the wireless network access point;
    将所述字段信息与预设字段数据库进行比对;Comparing the field information with a preset field database;
    判断所述字段信息是否在所述字段数据库的字段列表中;Determining whether the field information is in a field list of the field database;
    如果所述字段信息在所述字段数据库的字段列表中,则将所述手机切 换至预设的情景模式。If the field information is in the field list of the field database, the phone is cut Switch to the default profile.
  12. 如权利要求11所述的电子设备,其特征在于,在所述根据所述无线网络接入点获取所述无线网络接入点的字段信息之后,使所述至少一个处理器还能够:The electronic device according to claim 11, wherein after the obtaining the field information of the wireless network access point according to the wireless network access point, the at least one processor is further enabled to:
    根据所述字段信息提取所述无线网络的关键词信息;Extracting keyword information of the wireless network according to the field information;
    所述判断所述字段信息是否在所述字段数据库的字段列表中包括:Determining whether the field information is included in a field list of the field database includes:
    判断所述关键词信息是否在所述字段数据库的字段列表中;Determining whether the keyword information is in a field list of the field database;
    如果所述关键词信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。If the keyword information is in the field list of the field database, the mobile phone is switched to a preset profile.
  13. 如权利要求11或12所述的电子设备,其特征在于,所述字段数据库的字段列表包括电影院、学校和/或重症病房。The electronic device of claim 11 or 12, wherein the field list of the field database comprises a movie theater, a school, and/or an intensive care unit.
  14. 如权利要求11-13任意一项所述的电子设备,其特征在于,所述预设的情景模式为静音模式或者振动模式。The electronic device according to any one of claims 11 to 13, wherein the preset scene mode is a silent mode or a vibration mode.
  15. 如权利要求11-14任意一项所述的电子设备,其特征在于,如果所述字段信息在所述字段数据库的字段列表中,在所述将所述手机切换至预设的情景模式之前,使所述至少一个处理器还能够:The electronic device according to any one of claims 11 to 14, wherein if the field information is in a field list of the field database, before the mobile phone is switched to a preset profile, Having the at least one processor further enable:
    对所述手机与所述无线网络接入点信号可达状态进行计时;Counting the reachable state of the mobile phone and the wireless network access point signal;
    如果记录的时长超过预设时长,则将所述手机切换至预设的情景模式。 If the recorded duration exceeds the preset duration, the handset is switched to a preset profile.
  16. 一种非易失性计算机存储介质,其特征在于,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:A non-volatile computer storage medium, characterized in that the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to:
    搜索手机周围的无线网络接入点;Search for wireless access points around your phone;
    根据所述无线网络接入点获取所述无线网络接入点的字段信息;Obtaining field information of the wireless network access point according to the wireless network access point;
    将所述字段信息与预设字段数据库进行比对;Comparing the field information with a preset field database;
    判断所述字段信息是否在所述字段数据库的字段列表中;Determining whether the field information is in a field list of the field database;
    如果所述字段信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。If the field information is in the field list of the field database, the mobile phone is switched to a preset profile.
  17. 如权利要求11所述的非易失性计算机存储介质,其特征在于,在所述根据所述无线网络接入点获取所述无线网络接入点的字段信息之后,使得电子设备能够:The non-volatile computer storage medium of claim 11, wherein after the obtaining the field information of the wireless network access point according to the wireless network access point, enabling the electronic device to:
    根据所述字段信息提取所述无线网络的关键词信息;Extracting keyword information of the wireless network according to the field information;
    所述判断所述字段信息是否在所述字段数据库的字段列表中包括:Determining whether the field information is included in a field list of the field database includes:
    判断所述关键词信息是否在所述字段数据库的字段列表中;Determining whether the keyword information is in a field list of the field database;
    如果所述关键词信息在所述字段数据库的字段列表中,则将所述手机切换至预设的情景模式。If the keyword information is in the field list of the field database, the mobile phone is switched to a preset profile.
  18. 如权利要求11或12所述的非易失性计算机存储介质,其特征在 于,所述字段数据库的字段列表包括电影院、学校和/或重症病房。A non-volatile computer storage medium according to claim 11 or 12, characterized in that The list of fields of the field database includes a movie theater, a school, and/or an intensive care unit.
  19. 如权利要求11-13任意一项所述的非易失性计算机存储介质,其特征在于,所述预设的情景模式为静音模式或者振动模式。The non-volatile computer storage medium according to any one of claims 11 to 13, wherein the preset scene mode is a silent mode or a vibration mode.
  20. 如权利要求11-14任意一项所述的非易失性计算机存储介质,其特征在于,如果所述字段信息在所述字段数据库的字段列表中,在所述将所述手机切换至预设的情景模式之前,使得电子设备能够:The non-volatile computer storage medium according to any one of claims 11-14, wherein if the field information is in a field list of the field database, the mobile phone is switched to a preset Before the profile, enabling the electronic device to:
    对所述手机与所述无线网络接入点信号可达状态进行计时;Counting the reachable state of the mobile phone and the wireless network access point signal;
    如果记录的时长超过预设时长,则将所述手机切换至预设的情景模式。If the recorded duration exceeds the preset duration, the handset is switched to a preset profile.
  21. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, The computer performs the method of any of the preceding claims.
PCT/CN2016/100270 2016-05-13 2016-09-27 Mobile phone mode switching method and apparatus base on wireless network, and electronic device WO2017193527A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610319012.XA CN105872243A (en) 2016-05-13 2016-05-13 Mobile-phone mode switching method and device based on wireless network
CN201610319012.X 2016-05-13

Publications (1)

Publication Number Publication Date
WO2017193527A1 true WO2017193527A1 (en) 2017-11-16

Family

ID=56632118

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100270 WO2017193527A1 (en) 2016-05-13 2016-09-27 Mobile phone mode switching method and apparatus base on wireless network, and electronic device

Country Status (2)

Country Link
CN (1) CN105872243A (en)
WO (1) WO2017193527A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872243A (en) * 2016-05-13 2016-08-17 乐视控股(北京)有限公司 Mobile-phone mode switching method and device based on wireless network
CN108377284A (en) * 2016-10-12 2018-08-07 中兴通讯股份有限公司 A kind of switching method and mobile terminal of contextual model

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959321A (en) * 2010-09-17 2011-01-26 惠州Tcl移动通信有限公司 Scene mode switching method based on mobile phone WIFI and mobile phone
CN103167109A (en) * 2011-12-12 2013-06-19 三星电子(中国)研发中心 Method and device for automatically switching contextual models
CN103327162A (en) * 2012-03-21 2013-09-25 华为技术有限公司 Contextual model setting method and terminal device
CN104468966A (en) * 2014-09-17 2015-03-25 冯林 Incoming call silencing method and system for mobile terminal
CN104717377A (en) * 2015-02-10 2015-06-17 广东欧珀移动通信有限公司 Mobile terminal scene mode switching method and device and mobile terminal
CN104754132A (en) * 2015-03-30 2015-07-01 联想(北京)有限公司 Electronic device and method of determining operating mode of electronic device
CN105282314A (en) * 2015-02-11 2016-01-27 维沃移动通信有限公司 Mobile terminal mode switching method and mobile terminal thereof
CN105530383A (en) * 2016-02-26 2016-04-27 广东欧珀移动通信有限公司 Scene mode switching method and mobile terminal
CN105847559A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Cell phone mode switching method and cell phone mode switching device
CN105872243A (en) * 2016-05-13 2016-08-17 乐视控股(北京)有限公司 Mobile-phone mode switching method and device based on wireless network
CN105933527A (en) * 2016-04-29 2016-09-07 乐视控股(北京)有限公司 Mobile phone operation method and apparatus

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959321A (en) * 2010-09-17 2011-01-26 惠州Tcl移动通信有限公司 Scene mode switching method based on mobile phone WIFI and mobile phone
CN103167109A (en) * 2011-12-12 2013-06-19 三星电子(中国)研发中心 Method and device for automatically switching contextual models
CN103327162A (en) * 2012-03-21 2013-09-25 华为技术有限公司 Contextual model setting method and terminal device
CN104468966A (en) * 2014-09-17 2015-03-25 冯林 Incoming call silencing method and system for mobile terminal
CN104717377A (en) * 2015-02-10 2015-06-17 广东欧珀移动通信有限公司 Mobile terminal scene mode switching method and device and mobile terminal
CN105282314A (en) * 2015-02-11 2016-01-27 维沃移动通信有限公司 Mobile terminal mode switching method and mobile terminal thereof
CN104754132A (en) * 2015-03-30 2015-07-01 联想(北京)有限公司 Electronic device and method of determining operating mode of electronic device
CN105530383A (en) * 2016-02-26 2016-04-27 广东欧珀移动通信有限公司 Scene mode switching method and mobile terminal
CN105847559A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Cell phone mode switching method and cell phone mode switching device
CN105933527A (en) * 2016-04-29 2016-09-07 乐视控股(北京)有限公司 Mobile phone operation method and apparatus
CN105872243A (en) * 2016-05-13 2016-08-17 乐视控股(北京)有限公司 Mobile-phone mode switching method and device based on wireless network

Also Published As

Publication number Publication date
CN105872243A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN104540184B (en) Equipment networking method and device
KR101319720B1 (en) System and method of providing mode changes to wireless devices
CN105338391B (en) Intelligent television control method and mobile terminal
CN105517189B (en) Method and device for realizing WIFI connection
CN105721715B (en) Contextual model switching method, contextual model switching device and terminal
US10320978B2 (en) Call filtering to a user equipment
WO2017076145A1 (en) Network connection method and apparatus
CN106547216B (en) The method and device of intelligent scene trigger condition is set
CN105847559A (en) Cell phone mode switching method and cell phone mode switching device
CN104134442A (en) Method and device for starting voice services
EP2652966B1 (en) A system and method for establishing a communication session between context aware portable communication devices
WO2014029361A1 (en) System and method for adjusting operation modes of a mobile device
CN104837181A (en) Network access method and device
WO2017166665A1 (en) Calendar event mode switching method and apparatus based on mobile terminal, and electronic device
WO2017193527A1 (en) Mobile phone mode switching method and apparatus base on wireless network, and electronic device
JP2023532565A (en) Cell determination method and cell determination device
KR101379405B1 (en) Method of processing voice communication and mobile terminal performing the same
EP2843918B1 (en) Restricting the operation of an electronic device
WO2017166753A1 (en) Method and apparatus for automatically switching mobile phone sound mode, and electronic device
JP6085719B2 (en) User notification method, user notification device, program, and recording medium
US9686658B2 (en) Method and apparatus for adaptive event notification control
CN105930266B (en) Webpage adjustment method and device
EP3190555A1 (en) Method for operating a display device and display
US20140057619A1 (en) System and method for adjusting operation modes of a mobile device
EP3239856A1 (en) Information acquisition method, device and system

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16901482

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16901482

Country of ref document: EP

Kind code of ref document: A1