WO2022042485A1 - 近场通信模块的控制方法、装置及电子设备 - Google Patents

近场通信模块的控制方法、装置及电子设备 Download PDF

Info

Publication number
WO2022042485A1
WO2022042485A1 PCT/CN2021/114075 CN2021114075W WO2022042485A1 WO 2022042485 A1 WO2022042485 A1 WO 2022042485A1 CN 2021114075 W CN2021114075 W CN 2021114075W WO 2022042485 A1 WO2022042485 A1 WO 2022042485A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
state
screen
local
field communication
Prior art date
Application number
PCT/CN2021/114075
Other languages
English (en)
French (fr)
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 WO2022042485A1 publication Critical patent/WO2022042485A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a control method, device and electronic device for a near field communication module.
  • NFC Near Field Communication
  • smart electronic devices such as mobile phones
  • functions such as card readers and analog cards
  • smart electronic devices can read IC card information
  • Intelligent electronic devices can be used as bus cards, subway cards, meal cards, bank cards, etc. to improve the convenience of users' life.
  • NFC technology will be more and more widely used in the future, and smart electronic devices will gradually fully integrate NFC functions.
  • Embodiments of the present application provide a control method, device, and electronic device for a near field communication module, so as to solve the problem that when the NFC circuit works in the card reading mode, there is a very obvious NFC capacitive sound, which may interfere with the call process or the recording/recording process. question.
  • an embodiment of the present application provides a method for controlling a near field communication module, which is applied to a local electronic device, including:
  • the first trigger condition includes at least one of the following:
  • the electronic device at the local end is in a state of hand-held voice call, and the screen is in an off-screen state, wherein the state of the hand-held voice call is a call state in which the voice of the opposite end is received through an earpiece, and the voice of the local end is recorded through a microphone;
  • the local electronic device is in a recording and/or video recording state, and the microphone is in a working state.
  • embodiments of the present application further provide a control device for a near field communication module, including:
  • a first control module configured to turn off the card reading function of the near field communication module when the first trigger condition is met
  • the first trigger condition includes at least one of the following:
  • the electronic device at the local end is in a state of a handheld voice call, and the screen is in an off-screen state, wherein the state of the handheld voice call is a call state in which the voice of the opposite end is received through the handset, and the voice of the local end is recorded through the microphone;
  • the local electronic device is in recording and/or video recording state, and the microphone is in working state.
  • an embodiment of the present application further provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method as described in the first aspect when executed.
  • an embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the method according to the first aspect is implemented A step of.
  • an embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the first The method steps described in the aspect.
  • the card reading function of the near field communication module is turned off when the first trigger condition is satisfied, wherein the first trigger condition includes at least one of the following: the local electronic device is in a handheld voice call state, And the screen is in the off-screen state, in which the hand-held voice call state is the call state of receiving the voice of the opposite end through the receiver, and the voice of the local end is recorded through the microphone; the electronic device is in the recording and/or video recording state, and the microphone is in a working state, so, It can eliminate the interference of the NFC capacitive sound of the near field communication module to the call process or the recording and video recording process, and improve the product design quality.
  • the first trigger condition includes at least one of the following: the local electronic device is in a handheld voice call state, And the screen is in the off-screen state, in which the hand-held voice call state is the call state of receiving the voice of the opposite end through the receiver, and the voice of the local end is recorded through the microphone; the electronic device is in the recording and/or video recording state, and the microphone
  • FIG. 1 is one of the schematic flowcharts of a control method of a near field communication module provided by an embodiment of the present application;
  • FIG. 2 is a second schematic flowchart of a method for controlling a near field communication module provided by an embodiment of the present application
  • FIG. 3 is a third schematic flowchart of a method for controlling a near field communication module provided by an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a control device for a near field communication module provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the NFC function is integrated on the electronic device, that is, the electronic device is provided with an NFC module, and the NFC module has a circuit for realizing the NFC function.
  • the card reading mode of the NFC module enables electronic devices to read and write tags that support the NFC data format. This mode is usually turned on after the NFC function is turned on. In the card reading mode, the NFC module will periodically transmit a signal through the booster circuit and use the NFC antenna to read the card, that is, polling.
  • the voltage waveform on the boost capacitor has a large pulse; if the card is not detected, it enters the Low Power Card Detection (LPCD) state, and the voltage on the boost capacitor appears as periodic small pulses.
  • LPCD Low Power Card Detection
  • boost capacitors ceramic capacitors
  • the NFC capacitive sound is very obvious, causing serious interference.
  • the embodiments of the present application provide a control method and device for a near field communication module, wherein the method and device are based on the concept of the same application. Refer to each other, and the repetition will not be repeated.
  • FIG. 1 it is a schematic flowchart of a control method of a near field communication module provided by an embodiment of the present application. The method is applied to the local electronic device. The implementation process of the method will be specifically described below with reference to the figure.
  • Step 101 in the case of satisfying the first trigger condition, turn off the card reading function of the near field communication module;
  • the first trigger condition includes at least one of the following:
  • the electronic device at the local end is in a state of holding a voice call, and the screen is in a screen-off state, wherein the state of the hand-held voice call is a call state in which the voice of the opposite end is received through an earpiece, and the voice of the local end is recorded through a microphone;
  • the local electronic device is in a recording and/or video recording state, and the microphone is in a working state.
  • the local electronic device is in a handheld voice call state, that is, the local electronic device is in a voice call, that is, the user is making a call using the local electronic device.
  • the local electronic device detects whether it is in a state of hand-held voice call.
  • the local electronic device being in the handheld voice call state includes: the local electronic device is in the handheld voice call state through the circuit switched network, or the local electronic device is in the handheld voice call state through the data bearer network.
  • the electronic device at the local end and the electronic device at the opposite end conduct a voice call through a circuit-switched network (that is, a traditional telephone); or conduct a voice call through a data bearer network, that is, an Internet phone that needs to use traffic.
  • a circuit-switched network that is, a traditional telephone
  • a data bearer network that is, an Internet phone that needs to use traffic.
  • the call over the data bearing network may be a call established through a social networking application installed on the local electronic device.
  • the electronic device at the local end is in the state of a handheld voice call and the screen is off, indicating that the user places the screen of the electronic device at the local end close to his ear to perform a voice call operation by hand. When it is directly heard by the user, it interferes with the passing process, affects the user's experience, and closes the card reading function of the near field communication module.
  • the local electronic device detects whether it is recording and/or recording.
  • the audio recording and/or video recording includes: local audio recording and/or video recording through the local electronic device, or audio recording and/or video recording through a third-party application installed on the local electronic device.
  • the local electronic device when the local electronic device is in a recording and/or video recording state, the local electronic device detects whether it is calling the microphone, and if it is called, the microphone is in a working state.
  • the user will not put the local electronic device close to the user's ear, so the user cannot perceive the NFC capacitor sound.
  • the microphone and the NFC capacitor on the local electronic device are both set On the motherboard of the electronic device, the capacitive sound emitted by the NFC capacitor will be transmitted to the microphone, resulting in the output audio file mixed with the NFC capacitive sound, which interferes with the recording and recording process, and finally causes the listener who hears the audio file to hear the obvious sound.
  • the card reading function of the near field communication module is turned off.
  • the card-reading function of the near-field communication module is turned off, which can not only solve the problem that the NFC capacitive sound interferes with the call process or the recording and video recording process, but also It can also reduce the power consumption of the near field communication module and save the product manufacturing cost.
  • the card reading function of the near field communication module includes: a polling card reading function and a low power consumption card reading function.
  • the local electronic device only disables the card reading function of the near field communication module, and retains the card simulation function of the near field communication module.
  • the card reading function of the near field communication module is turned off under the condition that the first trigger condition is satisfied, wherein the first trigger condition includes at least one of the following: a local electronic device In a handheld voice call state, and the screen is off, where the handheld voice call state is a call state in which the remote end's voice is answered through the handset, and the local end's voice is recorded through the microphone; the local end electronic device is in the recording and/or video recording state, And the microphone is in a working state, so that the interference of the NFC capacitive sound of the near field communication module on the call process or the recording and video recording process can be eliminated, and the product design quality can be improved.
  • the first trigger condition includes at least one of the following: a local electronic device In a handheld voice call state, and the screen is off, where the handheld voice call state is a call state in which the remote end's voice is answered through the handset, and the local end's voice is recorded through the microphone; the local end electronic device is in the recording and/or video recording state, And the microphone is
  • the method of the embodiment of the present application may further include:
  • the second trigger condition includes at least one of the following:
  • the local electronic device is connected to a headphone device
  • the end of the voice call it means that the local electronic device has exited the call state; if the end of recording and/or video recording is detected, it means that the local electronic device has exited the recording and/or video recording state, and it is detected that the local electronic device is connected to a Headphone device, indicating that the local electronic device has finished calling the microphone on the local electronic device, but uses the microphone of the headphone device that is close to the local electronic device and far away, so that no NFC capacitor sound will be recorded; it satisfies the above-mentioned second trigger Condition, that is, after the user uses the local electronic device to change the scene, the user can immediately reply to the NFC card reading function, which can avoid the impact on the user's normal use of the NFC card reading.
  • the method of the embodiment of the present application may further include:
  • the local electronic device In the case that the screen is in the off-screen state, it is determined that the local electronic device satisfies the first trigger condition.
  • the electronic device at the local end accepts the call request from the electronic device at the opposite end or recognizes that the electronic device at the opposite end accepts the call request from the electronic device at the local end, indicating that the electronic device enters the call state.
  • the acquiring the on-off state of the screen includes:
  • the preset manner includes one of the following manners:
  • the on-off state of the screen is obtained by means of infrared detection.
  • the on-off state of the screen can be obtained by setting an infrared sensor on the electronic device.
  • the on-off state of the screen is obtained through the ultrasonic distance detection method.
  • the on-off state of the screen can be obtained by setting an ultrasonic sensor on the electronic device.
  • the preset method is an infrared detection method or an ultrasonic distance detection method.
  • Using the infrared detection method or the ultrasonic distance detection method can turn off the screen in time when the user is holding the phone and the screen is close to the user, avoiding the misjudgment of the bright screen caused by the subsequent accidental touch.
  • the screen status monitoring method can monitor the screen status through a software program, so as to obtain the on-off status of the screen.
  • S1 Determine whether the electronic device is in the state of hand-held voice call
  • step S2 If yes, execute step S2; otherwise, continue to execute this step.
  • step S3 If yes, execute step S3; otherwise, continue to execute this step.
  • step S5 If yes, execute step S5; otherwise, continue to execute this step.
  • step S12 If yes, execute step S12; otherwise, continue to execute this step;
  • S12 Determine whether to call the microphone of the electronic device
  • step S13 If yes, execute step S13; otherwise, continue to execute this step;
  • step S16 If yes, go to step S16; otherwise, go to this step S15;
  • the card reading function of the near field communication module is turned off under the condition that the first trigger condition is satisfied, wherein the first trigger condition includes at least one of the following: a local electronic device In a handheld voice call state, and the screen is off, where the handheld voice call state is a call state in which the remote end's voice is answered through the handset, and the local end's voice is recorded through the microphone; the local end electronic device is in the recording and/or video recording state, And the microphone is in a working state, so that the interference of the NFC capacitive sound of the near field communication module on the call process or the recording and video recording process can be eliminated, and the product design quality can be improved.
  • the first trigger condition includes at least one of the following: a local electronic device In a handheld voice call state, and the screen is off, where the handheld voice call state is a call state in which the remote end's voice is answered through the handset, and the local end's voice is recorded through the microphone; the local end electronic device is in the recording and/or video recording state, And the microphone is
  • the execution subject may be the control device of the near field communication module, or the control device of the near field communication module for executing the near field communication module.
  • the control module of the control method In the embodiment of the present application, the control device of the near field communication module provided by the embodiment of the present application is described by taking the control method of the near field communication module executing the control method of the near field communication module as an example.
  • an embodiment of the present application further provides a control apparatus 400 for a near field communication module, which is applied to a local electronic device.
  • the apparatus 400 may include:
  • the first control module 401 is configured to disable the card reading function of the near field communication module when the first trigger condition is met;
  • the first trigger condition includes at least one of the following:
  • the electronic device at the local end is in a state of a handheld voice call, and the screen is in an off-screen state, wherein the state of the handheld voice call is a call state in which the voice of the opposite end is received through the handset, and the voice of the local end is recorded through the microphone;
  • the local electronic device is in recording and/or video recording state, and the microphone is in working state.
  • the apparatus 400 further includes:
  • a second control module configured to restart the card reading function of the near field communication module when the second trigger condition is met
  • the second trigger condition includes at least one of the following:
  • the local electronic device is connected to a headphone device
  • the apparatus 400 when the first trigger condition is that the local electronic device is in a handheld voice call state and the screen is in an off-screen state, the apparatus 400 further includes:
  • a first acquisition module configured to acquire the call status of the local electronic device
  • the second acquisition module is used for accepting the call request of the opposite-end electronic device at the local electronic device or recognizing that the opposite-end electronic device accepts the call request of the local electronic device, and both the receiver and the microphone are in working state In the case of , get the on-off state of the screen;
  • a first processing module configured to determine that the local electronic device satisfies a first trigger condition when the screen is in an off-screen state.
  • the second obtaining module includes:
  • the first obtaining unit is used to obtain the on-off state of the screen by a preset method
  • the preset manner includes one of the following manners:
  • the control device for the near field communication module provided by the embodiment of the present application, by turning off the card reading function of the near field communication module under the condition that the first trigger condition is satisfied, wherein the first trigger condition includes at least one of the following:
  • the device is in a handheld voice call state and the screen is off.
  • the handheld voice call state is a call state in which the remote end's voice is received through the handset and the local end's voice is recorded through the microphone; the local end electronic device is in the recording and/or video recording state , and the microphone is in a working state, in this way, the interference of the NFC capacitive sound of the near field communication module on the call process or the recording and video recording process can be eliminated, and the product design quality can be improved.
  • the charging control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a cell phone, tablet computer, notebook computer, palmtop computer, in-vehicle electronic device, wearable device, ultra-mobile personal computer (UMPC), netbook or personal digital Assistant (personal digital assistant, PDA), etc.
  • non-mobile electronic devices can be network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc.
  • NAS Network Attached Storage
  • personal computer personal computer, PC
  • television television
  • the embodiments of the present application are not specifically limited.
  • the charging control device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the control apparatus for the near field communication module provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 3 , which is not repeated here to avoid repetition.
  • an embodiment of the present application further provides an electronic device 500, including a processor 501, a memory 502, a program or instruction stored in the memory 502 and executable on the processor 501,
  • an electronic device 500 including a processor 501, a memory 502, a program or instruction stored in the memory 502 and executable on the processor 501,
  • the program or instruction is executed by the processor 501, each process of the above-mentioned embodiment of the control method of the near field communication module can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and components such as the processor 610.
  • the electronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 610 is configured to turn off the card reading function of the near field communication module when the first trigger condition is satisfied;
  • the first trigger condition includes at least one of the following:
  • the electronic device at the local end is in a hand-held voice call state, and the screen is in an off-screen state, wherein the hand-held voice call state is a call state in which the voice of the opposite end is received through an earpiece, and the voice of the local end is recorded through a microphone;
  • the local electronic device is in a recording and/or video recording state, and the microphone is in a working state.
  • the interference of the NFC capacitive sound of the near field communication module on the call process or the recording and video recording process can be eliminated, and the product design quality can be improved.
  • processor 610 is further configured to:
  • the second trigger condition includes at least one of the following:
  • the local electronic device is connected to a headphone device
  • the processor 610 in the case that the first trigger condition is that the local electronic device is in a hand-held voice call state and the screen is in an off-screen state, in the case that the first trigger condition is satisfied, the processor 610, Also used for:
  • the local electronic device In the case that the screen is in the off-screen state, it is determined that the local electronic device satisfies the first trigger condition.
  • processor 610 is further configured to:
  • the preset manner includes one of the following manners:
  • the interference of the NFC capacitive sound of the near field communication module on the call process or the recording and video recording process can be eliminated, and the product design quality can be improved.
  • the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 607 includes a touch panel 6071 and other input devices 6072 .
  • the touch panel 6071 is also called a touch screen.
  • the touch panel 6071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 6072 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.
  • Memory 609 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 610.
  • An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the method for controlling a near field communication module is implemented, And can achieve the same technical effect, in order to avoid repetition, it is not repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the control of the above-mentioned near field communication module
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run a program or an instruction to implement the control of the above-mentioned near field communication module
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • 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.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), 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 this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本申请提供公开了一种近场通信模块的控制方法、装置及电子设备。本申请的方法包括:在满足第一触发条件的情况下,关闭近场通信模块的读卡功能;所述第一触发条件包括以下至少一项:所述本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,所述手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;所述本端电子设备处于录音和/或录像状态,且麦克风处于工作状态。

Description

近场通信模块的控制方法、装置及电子设备
相关申请的交叉引用
本申请主张在2020年8月24日在中国提交的中国专利申请号No.202010857136.X的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种近场通信模块的控制方法、装置及电子设备。
背景技术
目前近场通信(Near Field Communication,NFC)技术在部分智能电子设备(如手机)上均有应用,使智能电子设备拥有读卡器、模拟卡片等功能,智能电子设备读取IC卡信息,即可把智能电子设备当成公交卡、地铁卡、餐卡、银行卡等使用,提高用户的生活便捷性。随着科技的发展和城市建设,NFC技术在未来的应用会越来越广,智能电子设备也会逐步全面集成NFC功能。
智能电子设备上的NFC电路工作在读卡模式时,存在十分明显的NFC电容声,会对通话过程或者录音/录像过程造成干扰。
发明内容
本申请实施例提供一种近场通信模块的控制方法、装置及电子设备,以解决NFC电路工作在读卡模式时,存在十分明显的NFC电容声,会对通话过程或者录音/录像过程造成干扰的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请的实施例提供了一种近场通信模块的控制方法,应用于本端电子设备,包括:
在满足第一触发条件的情况下,关闭近场通信模块的读卡功能;
所述第一触发条件包括以下至少一项:
所述本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中, 所述手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;
所述本端电子设备处于录音和/或录像状态,且麦克风处于工作状态。
第二方面,本申请的实施例还提供了一种近场通信模块的控制装置,包括:
第一控制模块,用于在满足第一触发条件的情况下,关闭近场通信模块的读卡功能;
所述第一触发条件包括以下至少一项:
本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,所述手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;
本端电子设备处于录音和/或录像状态,且麦克风处于工作状态。
第三方面,本申请实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例还提供了一种可读存储介质,所述可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例还提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法步骤。
在本申请实施例中,通过在满足第一触发条件的情况下,关闭近场通信模块的读卡功能,其中,第一触发条件包括以下至少一项:本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;电子设备处于录音和/或录像状态,且麦克风处于工作状态,如此,能够消除近场通信模块的NFC电容声对通话过程或者录音录像过程的干扰,提高产品设计质量。
附图说明
图1为本申请实施例提供的近场通信模块的控制方法的流程示意图之一;
图2为本申请实施例提供的近场通信模块的控制方法的流程示意图之二;
图3为本申请实施例提供的近场通信模块的控制方法的流程示意图之三;
图4为本申请实施例提供的近场通信模块的控制装置的结构示意图;
图5为本申请实施例提供的电子设备的结构示意图;
图6为本申请实施例提供的电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
在详述本申请实施例的近场通信模块的控制方法之前,为了便于理解,简要说明一下NFC电容声。
电子设备上集成有NFC功能,即电子设备上设有NFC模块,NFC模块内具有实现NFC功能的电路。其中,NFC模块的读卡模式,可使电子设备对支持NFC数据格式的标签进行读写,此模式通常在打开NFC功能后常开。在读卡模式中,NFC模块会通过升压电路,用NFC天线周期性地发射信号进行读卡,即轮询Polling。升压电容上的电压波形大脉冲;如没有检测到卡,则进入低功耗检测(Low Power Card Detection,LPCD)状态,此时升压电容上的电压表现为周期性小脉冲。
发明人发现NFC电路上的这些升压电容(陶瓷电容)在跳变的电压下发生逆压电效应而产生振动,发出“哒哒哒”的异音,这种异音一般称为NFC电 容声,尤其是在用户使用电子设备进行通话或者录音/录像时,NFC电容声十分明显,造成严重干扰。
为了解决上述问题,本申请实施例提供了近场通信模块的控制方法及装置,其中,方法和装置是基于同一申请构思的,由于方法和装置解决问题的原理相似,因此装置和方法的实施可以相互参见,重复之处不再赘述。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的近场通信模块的控制方法进行详细地说明。
如图1所示,为本申请实施例提供的近场通信模块的控制方法的流程示意图。该方法应用于本端电子设备。下面就该图具体说明该方法的实施过程。
步骤101,在满足第一触发条件的情况下,关闭近场通信模块的读卡功能;
所述第一触发条件包括以下至少一项:
所述本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,所述手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;
所述本端电子设备处于录音和/或录像状态,且麦克风处于工作状态。
需要说明的是,本端电子设备处于手持语音通话状态,即本端电子设备处于语音通话中,也就是,用户使用本端电子设备正在通话。
这里,当近场通信NFC模块开启读卡功能后,本端电子设备检测自身是否处于手持语音通话状态。
可选地,本端电子设备处于手持语音通话状态包括:本端电子设备通过电路交换网络处于手持语音通话状态,或者,本端电子设备通过数据承载网络处于手持语音通话状态。
也就是说,本端电子设备与对端电子设备通过电路交换网络(也就是传统电话)进行语音通话;或者通过数据承载网络进行语音通话,也就是需要使用流量的网络电话。
这里,通过数据承载网络的通话可以是通过安装于本端电子设备上的社交类应用程序建立的通话。
需要说明的是,本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态说明用户将本端电子设备的屏幕靠近自己的耳朵进行手持语音通话操作,此 时,为了避免NFC电容声在通话时被用户直接听到,干扰通过过程,影响用户的使用体验,关闭近场通信模块的读卡功能。
这里,当近场通信NFC模块开启读卡功能后,本端电子设备检测自身是否进行录音和/或录像。
需要说明的是,录音和/或录像包括:通过本端电子设备本地录音和/或录像,或者,通过安装于本端电子设备上的第三方应用程序录音和/或录像。
这里,在本端电子设备处于录音和/或录像状态时,本端电子设备检测自身是否正在调用麦克风,若调用,则麦克风处于工作状态。
在上述录音录像的场景中,一般地,用户是不会将本端电子设备贴近用户的耳朵的,所以用户感知不到NFC电容声,但是,由于本端电子设备上的麦克风与NFC电容均设于电子设备的主板上,NFC电容发出的电容声会传入麦克风,导致输出的音频文件中混有NFC电容声,干扰录音录像过程,最后导致听到该音频文件的听者会听到明显的NFC电容声,为了避免通过录音录像录制的音频文件混有NFC电容声被听者听到,影响用户的录音录像体验,关闭近场通信模块的读卡功能。
需要说明的是,本申请实施例的上述方法,在满足上述第一触发条件的情况下,关闭近场通信模块的读卡功能,不仅能够解决NFC电容声干扰通话过程或者录音录像过程的问题,还能够降低近场通信模块的功耗,节省产品制造成本。
可选地,所述近场通信模块的读卡功能包括:轮询读卡功能和低功耗读卡功能。
这里,为了使用户能够一边打电话,一边通过NFC刷公交卡乘坐公交车,不影响用户使用,本端电子设备仅关闭近场通信模块的读卡功能,保留近场通信模块的卡模拟功能。
本申请实施例的近场通信模块的控制方法,通过在满足第一触发条件的情况下,关闭近场通信模块的读卡功能,其中,第一触发条件包括以下至少一项:本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;本端电子设备处于录音和/或录像状态,且麦克风处于工作状态,如此,能够 消除近场通信模块的NFC电容声对通话过程或者录音录像过程的干扰,提高产品设计质量。
为了避免对用户正常使用NFC读卡造成影响,作为一可选地实现方式,在关闭近场通信模块的读卡功能之后,本申请实施例的方法还可包括:
在满足第二触发条件的情况下,重新开启所述近场通信模块的读卡功能;
所述第二触发条件包括以下至少一项:
检测到语音通话结束;
检测到所述本端电子设备连接有耳机设备;
检测到录音和/或录像结束。
需要说明的是,检测到语音通话结束,说明本端电子设备退出通话状态;检测到录音和/或录像结束,说明本端电子设备退出录音和/或录像状态,检测到本端电子设备连接有耳机设备,说明本端电子设备结束调用本端电子设备上的麦克风,而是使用了近距离本端电子设备较远的耳机设备的麦克风,这样不会录到NFC电容声;满足上述第二触发条件,也就是用户使用本端电子设备的场景发生改变后,立即回复NFC读卡功能,能够避免对用户正常使用NFC读卡造成影响。
作为一可选地实现方式,在所述第一触发条件为所述本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态的情况下,所述在满足第一触发条件的情况下,关闭近场通信模块的读卡功能之前,本申请实施例的方法还可包括:
获取所述本端电子设备的通话状态;
在所述本端电子设备接受对端电子设备的通话请求或者识别到所述对端电子设备接受所述本端电子设备的通话请求,且听筒和麦克风均处于工作状态的情况下,获取屏幕的亮灭状态;
在所述屏幕处于灭屏状态的情况下,确定所述本端电子设备满足第一触发条件。
需要说明的是,本端电子设备接受对端电子设备的通话请求或者识别到对端电子设备接受本端电子设备的通话请求,说明电子设备进入通话状态。
作为一可选地实现方式,所述获取屏幕的亮灭状态,包括:
通过预设方式,获取屏幕的亮灭状态;
所述预设方式包括以下方式中的一者:
红外检测方式;
超声距离检测方式;
屏幕状态监听方式。
通过红外检测方式,获取屏幕的亮灭状态,这里具体的,可通过在电子设备上设置红外传感器,以获取屏幕的亮灭状态。
通过超声距离检测方式,获取屏幕的亮灭状态,这里具体的,可通过在电子设备上设置超声传感器,以获取屏幕的亮灭状态。
优选地,预设方式为红外检测方式或者超声距离检测方式。采用红外检测方式或者超声距离检测方式能够在用户手持接听电话,屏幕贴近用户时,及时灭屏,避免后续由于误触碰造成亮屏的误判。
这里,屏幕状态监听方式可通过软件程序实现对屏幕状态的监听,以获取屏幕的亮灭状态。
下面就两个示例具体说明本申请方法的实施过程。
如图2所示,示例一
S1:判断电子设备是否处于手持语音通话状态;
若是,则执行步骤S2;否则,则继续执行本步骤。
S2:判断屏幕是否处于灭屏状态;
若是,则执行步骤S3;否则,则继续执行本步骤。
S3:关闭NFC读卡功能;
S4:判断语音通话是否结束;
若是,则执行步骤S5;否则,则继续执行本步骤。
S5:重新开启NFC读卡功能。
如图3所示,示例二
S11:判断电子设备是否开始录音/录像;
若是,则执行步骤S12;否则,则继续执行本步骤;
S12:判断是否调用电子设备的麦克风;
若是,则执行步骤S13;否则,则继续执行本步骤;
S13:关闭NFC读卡功能;
S14:判断是否有耳机设备接入;
若是,则执行步骤S16;否则,则执行本步骤S15;
S15:判断录音/录像是否结束;
若是,则执行步骤S16;否则,则返回执行步骤S14;
S16:重新开启NFC读卡功能。
本申请实施例的近场通信模块的控制方法,通过在满足第一触发条件的情况下,关闭近场通信模块的读卡功能,其中,第一触发条件包括以下至少一项:本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;本端电子设备处于录音和/或录像状态,且麦克风处于工作状态,如此,能够消除近场通信模块的NFC电容声对通话过程或者录音录像过程的干扰,提高产品设计质量。
需要说明的是,本申请实施例提供的近场通信模块的控制方法,执行主体可以为近场通信模块的控制装置,或者该近场通信模块的控制装置中的用于执行近场通信模块的控制方法的控制模块。本申请实施例中以近场通信模块的控制装置执行近场通信模块的控制方法为例,说明本申请实施例提供的近场通信模块的控制装置。
如图4所示,本申请实施例还提供了一种近场通信模块的控制装置400,应用于本端电子设备,该装置400可包括:
第一控制模块401,用于在满足第一触发条件的情况下,关闭近场通信模块的读卡功能;
所述第一触发条件包括以下至少一项:
本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,所述手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;
本端电子设备处于录音和/或录像状态,且麦克风处于工作状态。
可选地,所述装置400还包括:
第二控制模块,用于在满足第二触发条件的情况下,重新开启所述近场通信模块的读卡功能;
所述第二触发条件包括以下至少一项:
检测到语音通话结束;
检测到所述本端电子设备连接有耳机设备;
检测到录音和/或录像结束。
可选地,在所述第一触发条件为所述本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态的情况下,所述装置400还包括:
第一获取模块,用于获取所述本端电子设备的通话状态;
第二获取模块,用于在所述本端电子设备接受对端电子设备的通话请求或者识别到所述对端电子设备接受所述本端电子设备的通话请求,且听筒和麦克风均处于工作状态的情况下,获取屏幕的亮灭状态;
第一处理模块,用于在所述屏幕处于灭屏状态的情况下,确定所述本端电子设备满足第一触发条件。
可选地,所述第二获取模块包括:
第一获取单元,用于通过预设方式,获取屏幕的亮灭状态;
所述预设方式包括以下方式中的一者:
红外检测方式;
超声距离检测方式;
屏幕状态监听方式。
本申请实施例提供的近场通信模块的控制装置,通过在满足第一触发条件的情况下,关闭近场通信模块的读卡功能,其中,第一触发条件包括以下至少一项:本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;本端电子设备处于录音和/或录像状态,且麦克风处于工作状态,如此,能够消除近场通信模块的NFC电容声对通话过程或者录音录像过程的干扰,提高产品设计质量。
本申请实施例中的充电控制装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal  computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的充电控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的近场通信模块的控制装置能够实现图1至图3的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图5所示,本申请实施例还提供一种电子设备500,包括处理器501,存储器502,存储在存储器502上并可在所述处理器501上运行的程序或指令,该程序或指令被处理器501执行时实现上述近场通信模块的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图6为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备(即本端电子设备)600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、以及处理器610等部件。
本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器610,用于在满足第一触发条件的情况下,关闭近场通信模块的读卡功能;
所述第一触发条件包括以下至少一项:
所述本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,所述手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音 的通话状态;
所述本端电子设备处于录音和/或录像状态,且麦克风处于工作状态。
本申请实施例中,能够消除近场通信模块的NFC电容声对通话过程或者录音录像过程的干扰,提高产品设计质量。
可选地,处理器610,还用于:
在满足第二触发条件的情况下,重新开启所述近场通信模块的读卡功能;
所述第二触发条件包括以下至少一项:
检测到语音通话结束;
检测到所述本端电子设备连接有耳机设备;
检测到录音和/或录像结束。
可选地,在所述第一触发条件为所述本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态的情况下,所述在满足第一触发条件的情况下,处理器610,还用于:
获取所述本端电子设备的通话状态;
在所述本端电子设备接受对端电子设备的通话请求或者识别到所述对端电子设备接受所述本端电子设备的通话请求,且听筒和麦克风均处于工作状态的情况下,获取屏幕的亮灭状态;
在所述屏幕处于灭屏状态的情况下,确定所述本端电子设备满足第一触发条件。
可选地,处理器610,还用于:
通过预设方式,获取屏幕的亮灭状态;
所述预设方式包括以下方式中的一者:
红外检测方式;
超声距离检测方式;
屏幕状态监听方式。
本申请实施例中,能够消除近场通信模块的NFC电容声对通话过程或者录音录像过程的干扰,提高产品设计质量。
应理解的是,本申请实施例中,输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对 在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器609可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述近场通信模块的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述近场通信模块的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或 者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (11)

  1. 一种近场通信模块的控制方法,应用于本端电子设备,包括:
    在满足第一触发条件的情况下,关闭近场通信模块的读卡功能;
    所述第一触发条件包括以下至少一项:
    所述本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,所述手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;
    所述本端电子设备处于录音和/或录像状态,且麦克风处于工作状态。
  2. 根据权利要求1所述的方法,其中,关闭近场通信模块的读卡功能之后,所述方法还包括:
    在满足第二触发条件的情况下,重新开启所述近场通信模块的读卡功能;
    所述第二触发条件包括以下至少一项:
    检测到语音通话结束;
    检测到所述本端电子设备连接有耳机设备;
    检测到录音和/或录像结束。
  3. 根据权利要求1所述的方法,其中,在所述第一触发条件为所述本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态的情况下,所述在满足第一触发条件的情况下,关闭近场通信模块的读卡功能之前,所述方法还包括:
    获取所述本端电子设备的通话状态;
    在所述本端电子设备接受对端电子设备的通话请求或者识别到所述对端电子设备接受所述本端电子设备的通话请求,且听筒和麦克风均处于工作状态的情况下,获取屏幕的亮灭状态;
    在所述屏幕处于灭屏状态的情况下,确定所述本端电子设备满足第一触发条件。
  4. 根据权利要求3所述的方法,其中,所述获取屏幕的亮灭状态,包括:
    通过预设方式,获取屏幕的亮灭状态;
    所述预设方式包括以下方式中的一者:
    红外检测方式;
    超声距离检测方式;
    屏幕状态监听方式。
  5. 一种近场通信控制装置,包括:
    第一控制模块,用于在满足第一触发条件的情况下,关闭近场通信模块的读卡功能;
    所述第一触发条件包括以下至少一项:
    本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态,其中,所述手持语音通话状态为通过听筒接听对端语音,且通过麦克风收录本端语音的通话状态;
    本端电子设备处于录音和/或录像状态,且麦克风处于工作状态。
  6. 根据权利要求5所述的装置,还包括:
    第二控制模块,用于在满足第二触发条件的情况下,重新开启所述近场通信模块的读卡功能;
    所述第二触发条件包括以下至少一项:
    检测到语音通话结束;
    检测到本端电子设备连接有耳机设备;
    检测到录音和/或录像结束。
  7. 根据权利要求5所述的装置,其中,在所述第一触发条件为本端电子设备处于手持语音通话状态,且屏幕处于灭屏状态的情况下,所述装置还包括:
    第一获取模块,用于获取所述本端电子设备的通话状态;
    第二获取模块,用于在所述本端电子设备接受对端电子设备的通话请求或者识别到所述对端电子设备接受所述本端电子设备的通话请求,且听筒和麦克风均处于工作状态的情况下,获取屏幕的亮灭状态;
    第一处理模块,用于在所述屏幕处于灭屏状态的情况下,确定所述本端电子设备满足第一触发条件。
  8. 根据权利要求7所述的装置,其中,所述第二获取模块包括:
    第一获取单元,用于通过预设方式,获取屏幕的亮灭状态;
    所述预设方式包括以下方式中的一者:
    红外检测方式;
    超声距离检测方式;
    屏幕状态监听方式。
  9. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至4中任一项所述的近场通信模块的控制方法的步骤。
  10. 一种可读存储介质,其中,所述可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如权利要求1至4中任一项所述的近场通信模块的控制方法的步骤。
  11. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至4中任一项所述的近场通信模块的控制方法。
PCT/CN2021/114075 2020-08-24 2021-08-23 近场通信模块的控制方法、装置及电子设备 WO2022042485A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010857136.X 2020-08-24
CN202010857136.XA CN111970671B (zh) 2020-08-24 2020-08-24 近场通信模块的控制方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2022042485A1 true WO2022042485A1 (zh) 2022-03-03

Family

ID=73391211

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114075 WO2022042485A1 (zh) 2020-08-24 2021-08-23 近场通信模块的控制方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN111970671B (zh)
WO (1) WO2022042485A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970671B (zh) * 2020-08-24 2023-04-11 维沃移动通信有限公司 近场通信模块的控制方法、装置及电子设备
CN114614850A (zh) * 2020-12-07 2022-06-10 Oppo广东移动通信有限公司 一种通信方法及保护装置、存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156054A (zh) * 2014-08-08 2014-11-19 广东欧珀移动通信有限公司 一种降低移动终端功耗的方法及移动终端
CN105338249A (zh) * 2015-11-24 2016-02-17 努比亚技术有限公司 基于独立相机系统进行拍摄方法及移动终端
CN108200285A (zh) * 2017-12-28 2018-06-22 努比亚技术有限公司 减少干扰的拍照方法、移动终端及计算机可读存储介质
CN110673896A (zh) * 2019-09-29 2020-01-10 北京小米移动软件有限公司 近场通信卡片激活方法和装置
CN111970671A (zh) * 2020-08-24 2020-11-20 维沃移动通信有限公司 近场通信模块的控制方法、装置及电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8351854B2 (en) * 2008-09-30 2013-01-08 Research In Motion Limited Mobile wireless communications device having touch activated near field communications (NFC) circuit
US9247410B1 (en) * 2014-12-08 2016-01-26 GreatCall, Inc. Power management for emergency communications device
CN109213356B (zh) * 2017-07-06 2022-02-11 上海商米科技集团股份有限公司 智能终端的控制方法及智能终端
CN111212412B (zh) * 2020-01-03 2023-06-02 RealMe重庆移动通信有限公司 近场通信方法及装置、计算机可读存储介质和电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156054A (zh) * 2014-08-08 2014-11-19 广东欧珀移动通信有限公司 一种降低移动终端功耗的方法及移动终端
CN105338249A (zh) * 2015-11-24 2016-02-17 努比亚技术有限公司 基于独立相机系统进行拍摄方法及移动终端
CN108200285A (zh) * 2017-12-28 2018-06-22 努比亚技术有限公司 减少干扰的拍照方法、移动终端及计算机可读存储介质
CN110673896A (zh) * 2019-09-29 2020-01-10 北京小米移动软件有限公司 近场通信卡片激活方法和装置
CN111970671A (zh) * 2020-08-24 2020-11-20 维沃移动通信有限公司 近场通信模块的控制方法、装置及电子设备

Also Published As

Publication number Publication date
CN111970671A (zh) 2020-11-20
CN111970671B (zh) 2023-04-11

Similar Documents

Publication Publication Date Title
CN109828688B (zh) 屏幕损坏处理方法、移动终端及计算机可读存储介质
US8457693B2 (en) Power consumption control apparatus in PDA phone
EP3719612B1 (en) Processing method for reducing power consumption and mobile terminal
CN111984165B (zh) 一种显示消息的方法、装置及终端设备
US9252890B2 (en) Near field communication device and method for saving applied power
WO2016150163A1 (zh) 模组唤醒方法及装置
CN110989882B (zh) 一种控制方法、电子设备和计算机可读存储介质
CN108135033B (zh) 一种蓝牙连接方法及移动终端
WO2021052413A1 (zh) 节能信号监听时刻的确定方法、配置方法及相关设备
WO2022042485A1 (zh) 近场通信模块的控制方法、装置及电子设备
AU2018456082B2 (en) Stylus detection method, system, and related device
CN109901695B (zh) 屏幕省电的显示方法、移动终端和计算机可读存储介质
CN107919124A (zh) 设备唤醒方法及装置
CN103513820A (zh) 用于控制模式切换的装置和方法
KR20140010845A (ko) 전자장치에서 자동응답시스템 서비스 이용중 화면 꺼짐 방지를 위한 방법 및 장치
CN111596986B (zh) 信息提示方法和电子设备
CN111580911A (zh) 一种终端的操作提示方法、装置、存储介质及终端
CN107368175A (zh) 降低终端功耗的处理方法、装置及终端
WO2022253086A1 (zh) 应用功能查找方法、装置及电子设备
WO2022217590A1 (zh) 语音提示方法、终端及存储介质
CN113220106A (zh) 省电控制方法和省电控制装置
CN110569099B (zh) 消息显示方法及相关产品
CN112181266B (zh) 图形码识别方法、装置、终端以及存储介质
CN110471622B (zh) 一种sd卡数据写入方法、装置、存储介质及终端
CN108681467B (zh) 一种系统唤醒方法、终端

Legal Events

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

Ref document number: 21860320

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21860320

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01/08/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21860320

Country of ref document: EP

Kind code of ref document: A1