A near field communication dynamic configuration method, device and computer readable storage medium

By detecting the status of the camera components of the terminal device and adjusting the working strategy of NFC, the problem of interference of NFC signals on the camera is solved, the shooting and imaging quality and product design are improved, and the user experience is enhanced.

CN114615428BActive Publication Date: 2024-11-26NUBIA TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210186182.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2024-11-26
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

In smart terminal devices, when the NFC antenna coexist with multiple cameras, the magnetic field of the NFC signal will be coupled to the camera module, causing circuit noise and affecting the image quality of the preview of the photo.

Method used

By detecting whether the camera component of the terminal device is enabled, the NFC is controlled to perform a partial period of monitoring or polling phase when the camera component is enabled, and the NFC's working strategy is adjusted to reduce interference to the camera and ensure the quality of shooting and imaging.

Benefits of technology

It realizes an improved near-field communication dynamic configuration solution, ensures shooting and imaging quality and NFC structural design requirements, and improves product strength and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114615428B_ABST
    Figure CN114615428B_ABST
Patent Text Reader

Abstract

The present invention discloses a near field communication dynamic configuration method, device and computer-readable storage medium, wherein the method comprises: after detecting that the near field communication of a terminal device is turned on, monitoring whether the camera component of the terminal device is enabled; when the camera component is not enabled, controlling the near field communication to perform a full-cycle cyclic polling, and when the camera component is enabled, detecting the execution phase of the near field communication; when the near field communication is executed to the monitoring phase of a partial cycle at the moment of enabling the camera component, controlling the near field communication to continue to execute the monitoring phase of the partial cycle; when the near field communication is executed to the polling phase of a partial cycle at the moment of enabling the camera component, controlling the near field communication to switch to execute the monitoring phase of the partial cycle. A near field communication dynamic configuration scheme with better technical effect is realized, while ensuring the shooting image quality and the structural design requirements of the near field communication, improving the product strength and enhancing the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communications, and in particular to a near field communication dynamic configuration method, device and computer-readable storage medium. Background Art

[0002] In the prior art, with the continuous development of smart terminal devices, users have higher and higher demands for camera functions. In particular, the number of cameras in camera components is increasing, and the layout range is getting wider and wider. The integration rate of NFC (Near Field Communication) modules in devices is also getting higher and higher.

[0003] In order to ensure that the NFC radio frequency performance meets the certification, universality and compatibility requirements for existing NFC design solutions, the NFC antenna area needs to be guaranteed. However, there are many cameras on the device, and the area where the antenna can be laid is limited, so some cameras are often covered inside the NFC antenna coil. At this time, since the NFC antenna emits a magnetic field when it is working, this magnetic field will couple to the circuit in the camera module, causing the circuit in the module to couple noise, thereby affecting the image quality of the photo preview. Summary of the invention

[0004] In order to solve the above technical defects in the prior art, the present invention proposes a near field communication dynamic configuration method, the method comprising:

[0005] After detecting that the near field communication of the terminal device is turned on, monitoring whether the camera component of the terminal device is enabled.

[0006] When the camera component is not enabled, the near field communication is controlled to perform a full-cycle cyclic polling, and when the camera component is enabled, the execution phase of the near field communication is detected.

[0007] When the camera assembly is activated and the near field communication is executed to the monitoring stage of a partial cycle, the near field communication is controlled to continue to execute the monitoring stage of the partial cycle.

[0008] When the camera assembly is activated and the near field communication is executed to the polling stage of a partial cycle, the near field communication is controlled to switch to the monitoring stage of a partial cycle.

[0009] Optionally, after detecting that the near field communication of the terminal device is turned on, monitoring whether a camera component of the terminal device is enabled includes:

[0010] A preset interference range of a near field communication component is determined.

[0011] After detecting that the near field communication of the terminal device is turned on, monitor whether the camera component in the preset interference range is enabled.

[0012] Optionally, after detecting that the near field communication of the terminal device is turned on, monitoring whether a camera component of the terminal device is enabled includes:

[0013] Determine the working mode and working status of each of the camera components.

[0014] Monitor whether the camera component in the preset interference range, whose working mode is in the preset mode and / or whose working state is in the preset state is enabled.

[0015] Optionally, when the camera component is not enabled, controlling the near field communication to perform full-cycle cyclic polling, and when the camera component is enabled, detecting the execution phase of the near field communication, includes:

[0016] When the camera assembly is enabled, it is monitored whether the working mode of the camera assembly in the preset interference range is in the preset mode, and whether the working state is in the preset state.

[0017] If the working mode is not in the preset mode and the working state is not in the preset state, the near field communication is controlled to perform a full-cycle cyclic polling.

[0018] Optionally, when the near field communication is executed to the monitoring stage of a partial cycle at the activation moment of the camera assembly, controlling the near field communication to continue to execute the monitoring stage of the partial cycle includes:

[0019] Creates a loop period for the listening phase of a partial cycle.

[0020] When the camera component is enabled within the preset interference range, the working mode is in the preset mode, and / or the working state is in the preset state, the monitoring stage is performed according to the cycle period.

[0021] Optionally, when the camera assembly is enabled and the near field communication is executed to the polling stage of a partial cycle, controlling the near field communication to switch to execute the monitoring stage of the partial cycle includes:

[0022] A first switching mode is created from the polling phase to the listening phase.

[0023] When the camera component in the preset interference range, whose working mode is in the preset mode and / or whose working state is in the preset state is enabled, the polling phase is switched to the monitoring phase according to the first switching mode.

[0024] Optionally, the method further comprises:

[0025] A second switching mode is created in which the monitoring phase switches to the polling phase.

[0026] During the process of controlling the monitoring phase of a partial cycle of near field communication execution, the activation status of the camera component in the preset interference range is monitored, and when the camera component in the preset interference range is turned off, the monitoring phase is switched to the polling phase according to the second switching mode.

[0027] Optionally, the method further comprises:

[0028] During the process of controlling the monitoring phase of the partial cycle of the near field communication execution, the working mode and the working state of the camera assembly in the preset interference range are monitored.

[0029] When the working mode is not in the preset mode and the working state is not in the preset state, the monitoring phase is switched to the polling phase according to the second switching mode.

[0030] The present invention also proposes a near field communication dynamic configuration device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the near field communication dynamic configuration method as described in any one of the above items when executed by the processor.

[0031] The present invention also proposes a computer-readable storage medium, on which a near field communication dynamic configuration program is stored. When the near field communication dynamic configuration program is executed by a processor, the steps of the near field communication dynamic configuration method as described in any one of the above items are implemented.

[0032] The near-field communication dynamic configuration method, device and computer-readable storage medium of the present invention are implemented by monitoring whether the camera component of the terminal device is enabled after detecting that the near-field communication of the terminal device is turned on; when the camera component is not enabled, the near-field communication is controlled to perform a full-cycle cyclic polling, and when the camera component is enabled, the execution phase of the near-field communication is detected; when the near-field communication is executed to the monitoring phase of a partial cycle at the moment of enabling the camera component, the near-field communication is controlled to continue to execute the monitoring phase of the partial cycle; when the near-field communication is executed to the polling phase of a partial cycle at the moment of enabling the camera component, the near-field communication is controlled to switch to execute the monitoring phase of the partial cycle. A near-field communication dynamic configuration scheme with better technical effects is realized, while ensuring the shooting image quality and the structural design requirements of near-field communication, improving product strength and enhancing user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0034] Figure 1 It is a hardware structure diagram of a mobile terminal involved in the present invention;

[0035] Figure 2 is a communication network system architecture diagram provided by an embodiment of the present invention;

[0036] Figure 3 is a flow chart of a first embodiment of a near field communication dynamic configuration method of the present invention;

[0037] Figure 4 is a flow chart of a second embodiment of a near field communication dynamic configuration method of the present invention;

[0038] Figure 5 is a flow chart of a third embodiment of a near field communication dynamic configuration method of the present invention;

[0039] Figure 6 is a flow chart of a fourth embodiment of a near field communication dynamic configuration method of the present invention;

[0040] Figure 7 is a flowchart of a fifth embodiment of a near field communication dynamic configuration method of the present invention;

[0041] Figure 8 is a flow chart of a sixth embodiment of a near field communication dynamic configuration method of the present invention;

[0042] Fig. 9 is a flow chart of a seventh embodiment of a near field communication dynamic configuration method according to the present invention;

[0043] Fig.10 It is a flow chart of an eighth embodiment of the near field communication dynamic configuration method of the present invention. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0045] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0046] The terminal may be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0047] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will appreciate that, in addition to components specifically used for mobile purposes, the configuration according to the embodiments of the present invention can also be applied to fixed-type terminals.

[0048] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0049] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:

[0050] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.

[0051] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as required without changing the essence of the invention.

[0052] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0053] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0054] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0055] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0056] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0057] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.

[0058] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.

[0059] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0060] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0061] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0062] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.

[0063] To facilitate understanding of the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based is described below.

[0064] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present invention. The communication network system is an LTE system of universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence.

[0065] Specifically, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.

[0066] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Among them, eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 can provide UE 201 with access to EPC 203 .

[0067] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0068] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0069] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.

[0070] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.

[0071] Embodiment 1

[0072] Figure 3 1 is a flow chart of a first embodiment of a near field communication dynamic configuration method of the present invention. A near field communication dynamic configuration method, the method comprising:

[0073] S1. After detecting that the near field communication of the terminal device is turned on, monitor whether the camera component of the terminal device is enabled.

[0074] S2. When the camera component is not enabled, control the near field communication to perform a full-cycle cyclic polling; when the camera component is enabled, detect the execution phase of the near field communication.

[0075] S3. When the camera assembly is activated and the near field communication reaches a monitoring phase of a partial cycle, control the near field communication to continue to perform the monitoring phase of the partial cycle.

[0076] S4. When the camera assembly is activated and the near field communication is executed to the polling stage of a partial cycle, control the near field communication to switch to the monitoring stage of a partial cycle.

[0077] In this embodiment, a mobile phone is used as an example for explanation. On the one hand, as the number of rear cameras of mobile phones increases, the number of rear cameras has increased from one or two in the early stage to four or more now. The main camera, wide-angle camera, macro camera and other cameras will be used on mobile phones, and the photo experience is getting better and better. On the other hand, NFC, as the main scenario of near-field communication, has an operating frequency of 13.56MHz and a communication distance of 0-20cm. It quickly completes information exchange, content and service access by simple touch, and has gradually been equipped as a basic function of mobile phones. The inventors realize that in order to ensure that the radio frequency performance of NFC meets the requirements of certification, versatility and compatibility, it is necessary to ensure the area of ​​NFC antenna. However, there are many cameras on the device, and the area where the antenna can be laid is limited, and some cameras are often covered inside the NFC antenna coil. At this time, since the NFC antenna is working, the emitted signal will generate a magnetic field, and this magnetic field will be coupled to the circuit in the camera module, causing the circuit in the module to couple noise, thereby affecting the image quality of the photo preview. Therefore, this embodiment specifically adjusts the working mode of near-field communication to avoid affecting the imaging quality. Specifically, first, after detecting that the near field communication of the terminal device is turned on, monitor whether the camera component of the terminal device is enabled; then, when the camera component is not enabled, control the near field communication to perform a full-cycle cyclic polling, and when the camera component is enabled, detect the execution phase of the near field communication. Among them, when the camera component is enabled and the near field communication is executed to the monitoring phase of a partial cycle, the near field communication is controlled to continue to execute the monitoring phase of the partial cycle; when the camera component is enabled and the near field communication is executed to the polling phase of a partial cycle, the near field communication is controlled to switch to execute the monitoring phase of the partial cycle.

[0078] In this embodiment, the three working modes of NFC are decomposed. First, the card simulation mode, the read-write mode and the point-to-point communication mode, that is, an electronic device with NFC function, such as a mobile phone, is simulated into a contactless smart (IC) card. In this mode, NFC does not actively transmit signals, but obtains working energy with the help of the RF signal of the card reader. Second, the read-write mode, that is, an electronic device with NFC function, such as a mobile phone, as a card reader Reader, can read and write IC cards, NFC tags, and the contents of electronic devices working in the card simulation mode. In this mode, NFC will actively transmit RF signals to detect NFC IC cards and tags. Third, the point-to-point communication mode, that is, two electronic devices that support NFC can communicate point-to-point and complete information exchange (contacts, pictures, audio and video, etc.). This mode will actively transmit RF signals.

[0079] In this embodiment, based on the above-mentioned NFC working mode, the Polling loop cyclic polling when NFC works normally is determined. Specifically, when the NFC function is turned on, since NFC supports three working modes, it will poll external devices after it is turned on, that is, detect whether there are readers and cards outside, so it will periodically perform Polling loop cyclic polling. The entire Polling loop cycle includes two operations, Listening Phase and Polling Phase. Among them, Listening Phase is mainly used for Emulation, which is used for card emulation operations; Polling Phase is used to read external tag operations, respectively realizing the operations of identifying and reading TypeA, TypeB, TypeF (212 / 428k) and ISO15693 type tags.

[0080] In this embodiment, the inventors found that after NFC is turned on, there is a Polling Phase in the NFC Polling Loop process. In this phase, NFC will emit RF signals to find Tag devices around the terminal. Therefore, the NFC antenna will periodically emit energy signals. If the camera is turned on during this phase, the NFC energy signal will radiate into the CAM module, thereby interfering with the operation of the CAM and resulting in poor imaging effects.

[0081] In this embodiment, any relevant camera is taken as an example for explanation. First, when NFC is turned on, it is first determined whether the CAM is turned on; after NFC is turned on, if the CAM (camera) is not turned on, the full process of NFC PollingLoop is executed, including Emulation and Reader; after NFC is turned on, if the CAM is turned on, NFC enters Listening mode only, that is, only supports Emulation. If NFC works in NFC Polling Loop mode, if the CAM is turned on, NFC enters Listening mode only, that is, only supports Emulation. NFC enters Listening mode because the CAM works; if the CAM is turned off, NFC will enter the NFC Polling Loop mode again.

[0082] It can be seen that in this embodiment, by adjusting the NFC working strategy, the interference of the NFC antenna on the CAM module is effectively avoided, and the video quality of the CAM preview and the imaging effect of the photo are guaranteed; at the same time, this embodiment can also reduce the difficulty of designing the NFC antenna of the whole machine to the greatest extent, and ensure the requirements of the NFC antenna area and NFC performance; further, this embodiment also reduces the constraints on the layout of the CAM of the whole machine, and can design a more beautiful appearance, ensuring the structural design effect of the device.

[0083] The beneficial effect of this embodiment is that after detecting that the near-field communication of the terminal device is turned on, it monitors whether the camera component of the terminal device is enabled; when the camera component is not enabled, it controls the near-field communication to perform a full-cycle cyclic polling, and when the camera component is enabled, it detects the execution phase of the near-field communication; when the near-field communication is executed to the monitoring phase of a partial cycle at the moment of the camera component being enabled, it controls the near-field communication to continue to execute the monitoring phase of a partial cycle; when the near-field communication is executed to the polling phase of a partial cycle at the moment of the camera component being enabled, it controls the near-field communication to switch to the monitoring phase of a partial cycle. A near-field communication dynamic configuration scheme with better technical effects is realized, while ensuring the shooting image quality and the structural design requirements of near-field communication, improving product strength, and enhancing user experience.

[0084] Embodiment 2

[0085] Figure 4 : is a flow chart of a second embodiment of a near field communication dynamic configuration method of the present invention. Based on the above embodiment, after detecting that the near field communication of a terminal device is turned on, monitoring whether the camera component of the terminal device is enabled includes:

[0086] S11. Determine a preset interference range of a near field communication component.

[0087] S12: After detecting that the near field communication of the terminal device is turned on, monitoring whether the camera component in the preset interference range is enabled.

[0088] Optionally, in this embodiment, the camera assembly includes a camera and a controller of the camera, wherein the preset interference range of this embodiment is determined according to the structural design of NFC, and whether it is within the preset interference range is determined according to the structural layout of the camera and the controller.

[0089] The beneficial effect of this embodiment is that by determining the preset interference range of the near-field communication component and detecting that the near-field communication of the terminal device is turned on, monitoring whether the camera component in the preset interference range is enabled, a near-field communication dynamic configuration solution with better technical effects is realized, while ensuring the shooting image quality and the structural design requirements of the near-field communication, improving the product strength and enhancing the user experience.

[0090] Embodiment 3

[0091] Figure 5 : is a flow chart of a third embodiment of a near field communication dynamic configuration method of the present invention. Based on the above embodiment, after detecting that the near field communication of a terminal device is turned on, monitoring whether the camera component of the terminal device is enabled includes:

[0092] S13, determining the working mode and working status of each camera assembly.

[0093] S14: Monitor whether the camera components within the preset interference range, whose working mode is in the preset mode and whose working state is in the preset state are enabled.

[0094] Optionally, in this embodiment, the working mode of the camera is divided into a photo mode and a video mode. The working state of the camera is divided into a preview state and a shooting state. The video mode is used as the preset mode, the shooting state is used as the preset state, and the preview state in the photo mode is used as a non-preset mode and a non-preset state.

[0095] The beneficial effect of this embodiment is that by determining the working mode and working state of each camera component and monitoring whether the camera components within the preset interference range, whose working mode is in the preset mode and whose working state is in the preset state are enabled, a near-field communication dynamic configuration scheme with better technical effect is realized, while ensuring the shooting image quality and the structural design requirements of near-field communication, improving the product strength and enhancing the user experience.

[0096] Embodiment 4

[0097] Figure 6 4 is a flowchart of a fourth embodiment of a near field communication dynamic configuration method of the present invention. Based on the above embodiment, when the camera component is not enabled, the near field communication is controlled to perform a full-cycle cyclic polling, and when the camera component is enabled, the execution phase of the near field communication is detected, including:

[0098] S21. When the camera assembly is enabled, monitor whether the working mode of the camera assembly in the preset interference range is in the preset mode, and whether the working state is in the preset state.

[0099] S22: If the working mode is not in the preset mode and the working state is not in the preset state, control the near field communication to perform a full-cycle cyclic polling.

[0100] The beneficial effect of this embodiment is that, when the camera assembly is enabled, the working mode of the camera assembly in the preset interference range is monitored to determine whether it is in the preset mode and whether the working state is in the preset state; if the working mode is not in the preset mode and the working state is not in the preset state, the near field communication is controlled to perform a full cycle of cyclic polling. A near field communication dynamic configuration scheme with better technical effects is achieved, while ensuring the shooting image quality and the structural design requirements of near field communication, improving product strength and enhancing user experience.

[0101] Embodiment 5

[0102] Figure 7 4 is a flowchart of a fifth embodiment of a near field communication dynamic configuration method of the present invention. Based on the above embodiment, when the near field communication is executed to the monitoring stage of a partial cycle at the activation moment of the camera assembly, the near field communication is controlled to continue to execute the monitoring stage of the partial cycle, including:

[0103] S31. Create a loop period of the monitoring phase of a partial period.

[0104] S32. When the camera assembly within the preset interference range, whose working mode is in the preset mode and / or whose working state is in the preset state is enabled, the monitoring stage is performed according to the cycle period.

[0105] Optionally, in this embodiment, a newly created cycle is formed by one or more consecutive monitoring phases.

[0106] The beneficial effect of this embodiment is that by creating a cycle of the monitoring phase of a partial cycle; when the camera component in the preset interference range, the working mode is in the preset mode and / or the working state is in the preset state is enabled, the monitoring phase is executed according to the cycle. A near-field communication dynamic configuration scheme with better technical effects is achieved, while ensuring the shooting image quality and the structural design requirements of near-field communication, improving product strength and enhancing user experience.

[0107] Embodiment 6

[0108] Figure 8 : is a flowchart of a sixth embodiment of the near field communication dynamic configuration method of the present invention. Based on the above embodiment, when the camera assembly is enabled and the near field communication is executed to the polling stage of a partial cycle, the near field communication is controlled to switch to execute the monitoring stage of a partial cycle, including:

[0109] S41: Create a first switching mode from the polling phase to the listening phase.

[0110] S42: When the camera component within the preset interference range, whose working mode is in the preset mode and / or whose working state is in the preset state is enabled, switch from the polling phase to the monitoring phase according to the first switching mode.

[0111] The beneficial effect of this embodiment is that by creating a first switching mode for switching from the polling stage to the monitoring stage; when the camera component in the preset interference range, the working mode is in the preset mode and / or the working state is in the preset state is enabled, the switching from the polling stage to the monitoring stage is executed according to the first switching mode. A near-field communication dynamic configuration scheme with better technical effects is realized, while ensuring the shooting imaging quality and the structural design requirements of near-field communication, improving product strength and enhancing user experience.

[0112] Embodiment 7

[0113] Fig. 9 is a flow chart of a seventh embodiment of a near field communication dynamic configuration method of the present invention. Based on the above embodiment, the method further includes:

[0114] S51: Create a second switching mode from the monitoring phase to the polling phase.

[0115] S52. During the process of controlling the monitoring phase of a partial cycle of near field communication execution, the activation state of the camera component in the preset interference range is monitored, and when the camera component in the preset interference range is turned off, switching from the monitoring phase to the polling phase is executed according to the second switching mode.

[0116] The beneficial effect of this embodiment is that by creating a second switching mode for switching from the monitoring phase to the polling phase; in the process of controlling the monitoring phase of a partial cycle of near field communication execution, the activation state of the camera component in the preset interference range is monitored, and when the camera component in the preset interference range is turned off, the monitoring phase is switched to the polling phase according to the second switching mode. A near field communication dynamic configuration scheme with better technical effects is realized, while ensuring the shooting image quality and the structural design requirements of near field communication, improving product strength and enhancing user experience.

[0117] Embodiment 8

[0118] Fig.10 is a flow chart of an eighth embodiment of a near field communication dynamic configuration method of the present invention. Based on the above embodiment, the method further includes:

[0119] S53: During the process of controlling the monitoring phase of the partial cycle of the near field communication execution, the working mode and the working state of the camera assembly within the preset interference range are monitored.

[0120] S54: When the working mode is not in the preset mode and the working state is not in the preset state, switching from the listening phase to the polling phase is executed according to the second switching mode.

[0121] The beneficial effect of this embodiment is that, by monitoring the working mode and working state of the camera assembly in the preset interference range during the monitoring phase of the partial cycle of the near field communication execution, when the working mode is not in the preset mode and the working state is not in the preset state, the monitoring phase is switched to the polling phase according to the second switching mode. A near field communication dynamic configuration scheme with better technical effect is realized, while ensuring the shooting image quality and the structural design requirements of near field communication, improving product strength and enhancing user experience.

[0122] Embodiment 9

[0123] Based on the above embodiments, the present invention also proposes a near field communication dynamic configuration device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the near field communication dynamic configuration method as described in any one of the above items are implemented.

[0124] It should be noted that the above-mentioned device embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the device embodiment, which will not be repeated here.

[0125] Embodiment 10

[0126] Based on the above embodiments, the present invention further proposes a computer-readable storage medium, which stores a near field communication dynamic configuration program. When the near field communication dynamic configuration program is executed by a processor, the steps of the near field communication dynamic configuration method as described in any one of the above items are implemented.

[0127] It should be noted that the above-mentioned medium embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the medium embodiment, which will not be repeated here.

[0128] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0129] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0130] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0131] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A near field communication dynamic configuration method, characterized in that: The method comprises: After detecting that the near field communication of the terminal device is turned on, monitoring whether the camera component of the terminal device is enabled; When the camera assembly is not enabled, controlling the near field communication to perform a full-cycle cyclic polling, and when the camera assembly is enabled, detecting the execution phase of the near field communication; When the camera assembly is activated and the near field communication is executed to the monitoring stage of a partial cycle, controlling the near field communication to continue to execute the monitoring stage of the partial cycle; When the camera assembly is activated and the near field communication is executed to the polling stage of a partial cycle, controlling the near field communication to switch to the monitoring stage of a partial cycle; in, determining a preset interference range of a near field communication component; After detecting that the near field communication of the terminal device is turned on, monitoring whether the camera component in the preset interference range is enabled; Determine the working mode and working state of each of the camera components, wherein the working mode is divided into a photo taking mode and a video recording mode, and the working state is divided into a preview state and a shooting state; Monitoring whether the camera components within the preset interference range, whose working mode is in a preset mode and / or whose working state is in a preset state are enabled; When the camera assembly is enabled, monitoring whether the working mode of the camera assembly in the preset interference range is in the preset mode, and whether the working state is in the preset state; If the working mode is not in the preset mode and the working state is not in the preset state, controlling the near field communication to perform a full-cycle cyclic polling; Creating a first switching mode from the polling phase to the listening phase; When the camera assembly in the preset interference range, whose working mode is in the preset mode and / or whose working state is in the preset state is enabled, switching from the polling stage to the monitoring stage is executed according to the first switching mode; Creating a second switching mode from the monitoring phase to the polling phase; During the process of controlling the monitoring phase of a partial cycle of near field communication, the activation status of the camera component in the preset interference range is monitored. When the camera component in the preset interference range is turned off, the monitoring phase is switched to the polling phase according to the second switching mode.

2. The near field communication dynamic configuration method according to claim 1, characterized in that: Also includes: During the monitoring phase of the partial cycle of controlling the near field communication, monitoring the working mode and the working state of the camera assembly within the preset interference range; When the working mode is not in the preset mode and the working state is not in the preset state, the monitoring phase is switched to the polling phase according to the second switching mode.

3. A near field communication dynamic configuration device, characterized in that: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the near field communication dynamic configuration method according to claim 1 or 2 are implemented.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a near field communication dynamic configuration program, and when the near field communication dynamic configuration program is executed by the processor, the steps of the near field communication dynamic configuration method according to claim 1 or 2 are implemented.

Citation Information

Patent Citations

  • Catalytic dehydrohalogenation process

    EP0002021A1

  • Point-to-point communication method and near-field communication terminals based on near-field communication

    CN104243156A

  • Methods And Systems For Controlling NFC-Capable Mobile Communications Devices

    EP2824894A1

  • Device discovery in near-field communication

    US20120045989A1

  • Mobile terminal, method and device for setting image pickup parameters, and computer storage medium

    WO2015180683A1