Signal processing method and related equipment
By setting up a proximity detection circuit in the electronic device, detecting the distance between the coil antennas and automatically triggering the function signal, the problem of cumbersome operation of the access control function is solved, and the effect of simplified operation is achieved.
Patent Information
- Application Number
- CN202111261310.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-10-28
AI Technical Summary
When users control electronic devices such as mobile phones and are close to the access control device, they need to manually turn on the card simulation function, resulting in cumbersome operation.
A proximity detection circuit is provided in the electronic device, and by detecting the distance between the first coil antenna and the second coil antenna of the target device, information is generated and the driving circuit transmits a function signal, thereby realizing automatic trigger function operation.
The operation steps with the function of the target device are simplified, manual operation is avoided, and operation efficiency is improved.
Smart Images

Figure CN113989963B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a signal processing method and related equipment. Background Art
[0002] With the development of technology, more and more users choose radio frequency identification (RFID) technology to achieve access control. However, when the user controls an electronic device such as a mobile phone close to the access control device, the user needs to manually turn on the card simulation function of the access control module, which makes the user have cumbersome operations when executing the access control function through the electronic device. Summary of the invention
[0003] The present application aims to provide a signal processing method and related equipment, which can solve the problem of cumbersome operation in the execution of access control functions in related technologies.
[0004] In order to solve the above technical problems, this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides an electronic device, including a proximity detection circuit, a first coil antenna, a drive circuit, and a processor, wherein a first end of the proximity detection circuit is electrically connected to the first coil antenna, a second end of the proximity detection circuit is electrically connected to the processor, the processor is also electrically connected to a first end of the drive circuit, and a second end of the drive circuit is electrically connected to the first coil antenna;
[0006] wherein the proximity detection circuit detects electrical information of the first coil antenna and generates first information if the electrical information indicates that the distance between the first coil antenna and the second coil antenna of the target device is less than a preset distance;
[0007] When receiving the first information, the processor sends control information corresponding to the first information to the driving circuit, so as to trigger the driving circuit to transmit a function signal corresponding to the target device through the first coil antenna.
[0008] In a second aspect, an embodiment of the present application provides a signal processing method, which is applied to the electronic device as described in the first aspect, wherein the electronic device includes a proximity detection circuit, a first coil antenna, and a driving circuit, and the method includes:
[0009] generating first information if the electrical information of the first coil antenna detected by the proximity detection circuit indicates that the distance between the first coil antenna and the second coil antenna of the target device is less than a preset distance;
[0010] Control information corresponding to the first information is acquired, and based on the control information, the driving circuit is triggered to transmit a function signal corresponding to the target device through the first coil antenna.
[0011] In a third aspect, an embodiment of the present application provides a signal processing device, which is applied to the electronic device as described in the first aspect, wherein the electronic device includes a proximity detection circuit, a first coil antenna, and a driving circuit, and the device includes:
[0012] a generating module, configured to generate first information if the electrical information of the first coil antenna detected by the proximity detection circuit indicates that the distance between the first coil antenna and the second coil antenna of the target device is less than a preset distance;
[0013] The processing module is used to obtain control information corresponding to the first information, and trigger the driving circuit to transmit a function signal corresponding to the target device through the first coil antenna based on the control information.
[0014] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the second aspect.
[0015] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the second aspect are implemented.
[0016] In a sixth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the second aspect.
[0017] In an embodiment of the present application, a proximity detection circuit is provided in an electronic device, and the distance between the first coil antenna and the second coil antenna of the target device is detected by the proximity detection circuit, thereby realizing distance detection between the first coil antenna and the second coil antenna. That is, the distance between the first coil antenna and the second coil antenna can be automatically detected by the proximity detection circuit, and first information is generated according to the detection result; so that the processor can trigger the driving circuit to transmit the function signal corresponding to the target device through the first coil antenna through the first coil antenna through the first information, thereby avoiding the manual triggering of the execution of the corresponding function and achieving the purpose of simplifying the operation steps of executing the function corresponding to the target device.
[0018] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0020] Figure 1 It is one of the structural block diagrams of the electronic device provided in the embodiment of the present application;
[0021] Figure 2a This is the second structural block diagram of the electronic device provided in the embodiment of the present application;
[0022] Figure 2b This is the third structural block diagram of the electronic device provided in the embodiment of the present application;
[0023] Figure 3 is a structural block diagram of an NFC module of an electronic device provided in an embodiment of the present application;
[0024] Figure 4 is a flow chart of a signal processing method provided by an embodiment of the present application;
[0025] Figure 5 is a structural diagram of a signal processing device provided in an embodiment of the present application;
[0026] Figure 6 is a structural diagram of an electronic device provided by an embodiment of the present application;
[0027] Figure 7 It is a structural diagram of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0028] The embodiments of the present application will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0029] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.
[0030] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0031] like Figures 1 to 3 As shown, an embodiment of the present application provides an electronic device, which includes a proximity detection circuit 10, a first coil antenna 20, a drive circuit 30 and a processor 40, wherein a first end of the proximity detection circuit 10 is electrically connected to the first coil antenna 20, a second end of the proximity detection circuit 10 is electrically connected to the processor 40, the processor 40 is also electrically connected to a first end of the drive circuit 30, and a second end of the drive circuit 30 is electrically connected to the first coil antenna 20;
[0032] The proximity detection circuit 10 detects electrical information of the first coil antenna 20 and generates first information when the detected electrical information indicates that the distance between the first coil antenna 20 and the second coil antenna 50 of the target device is less than a preset distance;
[0033] When receiving the first information, the processor 40 sends control information corresponding to the first information to the driving circuit 30 to trigger the driving circuit 30 to transmit a function signal corresponding to the target device through the first coil antenna 20 .
[0034] In the present embodiment, a proximity detection circuit 10 is provided in the electronic device, and the distance between the first coil antenna 20 and the second coil antenna 50 of the target device is detected by the proximity detection circuit 10, thereby realizing the distance detection between the first coil antenna 20 and the second coil antenna 50, that is, the distance between the first coil antenna 20 and the second coil antenna 50 can be automatically detected by the proximity detection circuit 10, and the first information is generated according to the detection result; so that the processor 40 can trigger the driving circuit 30 to transmit the function signal corresponding to the target device through the first coil antenna 20 through the first information, thereby avoiding the manual triggering of the execution of the corresponding function and achieving the purpose of simplifying the operation steps of executing the function corresponding to the target device.
[0035] It should be noted that after the proximity detection circuit 10 generates the first information, it will send the first information to the processor 40, and after receiving the first information, the processor 40 will generate corresponding control information based on the first information, so as to send the control information to the driving circuit 30, and trigger the driving circuit 30 through the control information to transmit the functional signal corresponding to the target device through the first coil antenna 20.
[0036] Transmitting the function signal corresponding to the target device through the first coil antenna 20 can be understood as transmitting or receiving the function signal corresponding to the target device through the first coil antenna 20 .
[0037] It can be understood that when the two coil antennas are close to each other, that is, when the distance between the two coil antennas is less than a certain value, the coil antennas will generate a weak electrical signal. At this time, the electrical signal generated by the coil antenna can be detected by setting a proximity detection circuit 10; moreover, in order to improve the accuracy of the detection result of the proximity detection circuit 10, an amplification module and an analog to digital converter (ADC) can be integrated in the proximity detection circuit 10. In addition, a logic judgment module can be integrated in the detection circuit 10 to determine whether the electrical signal detected by the proximity detection circuit 10 indicates that the distance between the first coil antenna 20 and the second coil antenna 50 is within a preset distance range.
[0038] The distance between the first coil antenna 20 and the second coil antenna 50 can be understood as the width of the spacing or gap between the first coil antenna 20 and the second coil antenna 50 in the stacking direction of the first coil antenna 20 and the second coil antenna 50, that is, when the first coil antenna 20 is stacked on the second coil antenna 50. Moreover, by sensing or detecting the overlap between the first coil antenna 20 and the second coil antenna 50 in spatial position, it can be determined whether the first coil antenna 20 and the second coil antenna 50 are stacked.
[0039] For example, when the degree of overlap between the first coil antenna 20 and the second coil antenna 50 in spatial position is greater than 60%, it can be determined that the spatial position relationship between the first coil antenna 20 and the second coil antenna 50 is a stacked arrangement, and when it is determined that the spatial position relationship between the first coil antenna 20 and the second coil antenna 50 is a stacked arrangement, the distance between the first coil antenna 20 and the second coil antenna 50 is detected to identify and determine whether the distance between the first coil antenna 20 and the second coil antenna 50 is less than a preset distance or a preset value.
[0040] The overlap threshold may be set according to actual needs, and the 60% in the above example is only for reference.
[0041] In this embodiment, the electrical information includes at least one of voltage, frequency, and pulse duration, that is, the voltage, frequency, and pulse duration can be detected by approaching the detection circuit 10 to achieve the purpose of determining the positions of the first coil antenna 20 and the second coil antenna 50.
[0042] The target device may be a door access control device or a wireless charging device, that is, the second coil antenna may be a door access control device coil antenna or a wireless charging antenna.
[0043] For example, when the target device is a door access control device, the first coil antenna can use a 125K coil antenna. Specifically, the electrical information of the 125K coil antenna can be detected by the proximity detection circuit 10, and when the detected electrical information indicates that the distance between the 125K coil antenna and the door access control device coil antenna is less than the preset distance, that is, when the distance between the 125K coil antenna and the door access control device coil antenna can perform the corresponding door access control identification function, the first information is generated; and, after the processor 40 receives the first information, it will send control information corresponding to the first information to the drive circuit 30 to trigger the drive circuit 30 to send the corresponding card number information to the door access control card coil antenna through the 125K coil antenna, thereby realizing the door access control identification function. Among them, the drive circuit 30 can be a 125K low-frequency door access control card simulation drive circuit, and the control information carries the card number information.
[0044] Alternatively, if Figure 2a As shown, the electronic device further includes a near field communication (NFC) function module 61, a first end of the NFC function module 61 is electrically connected to the processor 40, a second end of the NFC function module 61 is electrically connected to the NFC coil antenna 63 through the NFC tuning circuit 62, and the second end of the NFC function module 61 includes a first receiving port 611 and a second receiving port 612;
[0045] The path between the first end of the NFC function module 61 and the target receiving port is used to form a proximity detection circuit 10 , and the target receiving port is one of the first receiving port 611 and the second receiving port 612 .
[0046] In this embodiment, the signal amplitude detection function of the NFC functional module 61 can be used to detect the electrical information on the first coil antenna 20, thereby avoiding the need to additionally set up a proximity detection circuit on the electronic device and achieving the purpose of reducing the investment in peripheral devices on the electronic device.
[0047] As shown in Figure 2 and Figure 3 As shown, the NFC tuning circuit 62 includes a capacitor and an inductor, and is composed of a combination of a capacitor and an inductor, which can tune the NFC antenna signal to improve the receiving and transmitting performance of the NFC coil antenna 63.
[0048] Furthermore, it should be noted that the NFC tuning circuit 62 may also include other tuning elements, and the design of the NFC tuning circuit 62 may be designed based on actual needs, which is not specifically limited here.
[0049] It can be understood that the first receiving port 611 and the second receiving port 612 of the NFC functional module 61 have functions such as automatic gain control, ADC, and signal amplitude detection; therefore, when the NFC functional module 61 is working normally, when the first coil antenna 20 is close to the coil antenna of the access control device, the target receiving port in the first receiving port 611 and the second receiving port 612 can detect the change of the electrical information of the first coil antenna 20, and when the detected electrical information indicates that the distance between the first coil antenna 20 and the coil antenna of the access control device is less than the preset distance, the micro control unit of the NFC functional module 61 will generate first information so that the processor 40 can generate corresponding control information based on the first information sent by the NFC functional module 61, so as to trigger the drive circuit 30 to perform the access control identification function through the first coil antenna 20.
[0050] Among them, the first receiving port 611 and the second receiving port 612 of the NFC function module 61 in the present application are differentially designed, thereby ensuring high transmission power and high sensitivity of the NFC function module 61. In addition, the first transmitting port and the second transmitting port of the NFC function module 61 can also be differentially designed, that is, ensuring high transmission power and high sensitivity of the NFC function module 61.
[0051] For example, when the first coil antenna 20 is close to the coil antenna of the access card or the card reader, an induced voltage will be formed on the first coil antenna 20, and this voltage will raise the voltage of the target receiving port. At this time, the microcontroller unit of the NFC function module 61 can determine that the first coil antenna 20 is close to the coil antenna of the access card or the card reader, and will generate the first information. The processor 40 can generate corresponding control information based on the first information sent by the NFC function module 61, so as to trigger the corresponding card simulation function through the control information, thereby realizing the access control recognition function.
[0052] It should be noted that the distance or relative position deviation between the first coil antenna 20 and the coil antenna of the access control card can also be determined based on the size of the voltage sensed by the NFC functional module 61, and the user can be prompted to place the first coil antenna 20 in a better position, thereby improving the user's access control recognition experience.
[0053] Optionally, the proximity detection circuit 10 also includes a diode 11 and a first capacitor 12, the first end of the diode 11 is electrically connected to the target receiving port, the second end of the diode 11 is electrically connected to the first end of the first capacitor 12, the second end of the first capacitor 12 is grounded, and the second end of the diode 11 is also electrically connected to the first coil antenna 20.
[0054] In this embodiment, by integrating the diode 11 and the first capacitor 12 in the proximity detection circuit 10 , the accuracy of the detection result of the proximity detection circuit 10 can be effectively improved.
[0055] In one example, the first capacitor 12 may be a high-frequency filter capacitor to improve the accuracy of the detection result of the proximity detection circuit 10 .
[0056] Further optionally, if Figure 2b As shown, the receiving ports of the first receiving port 611 and the second receiving port 612 except the target receiving port are electrically connected to the NFC coil antenna 63 through the NFC tuning circuit 62, and are used to transmit the antenna signal received by the NFC coil antenna 63, and the target receiving port is in a disconnected state with the NFC tuning circuit 62.
[0057] In this embodiment, by setting the target receiving port and the NFC tuning circuit 62 to an open circuit state, that is, disconnecting the electrical connection between the target receiving port and the NFC tuning circuit 62, that is, receiving the NFC signal only through the first receiving port 611 and the second receiving port 612 except the target receiving port, the first coil antenna path and the NFC coil antenna path can be separated, and the crosstalk and interference of the signals can be reduced.
[0058] Moreover, when the NFC card reading function and card simulation are implemented, the proximity detection function of the electronic device can still work normally without the need for time-sharing work, which effectively improves the compatibility of the antenna function of the electronic device.
[0059] In addition, the electronic device further includes an audio module 70, a first end of the audio module 70 is electrically connected to the processor 40, a second end of the audio module 70 includes a first port, and the first port is electrically connected to the first coil antenna 20 through an envelope detection circuit 80, so as to detect and obtain the card number information of the first coil antenna 20 using the audio module 70 and the envelope detection circuit 80;
[0060] The second end of the audio module 70 further includes a second port, a third port and a fourth port; the second port is used to be electrically connected to the main microphone 91, the third port is used to be electrically connected to the auxiliary microphone 92, and the fourth port is used to be electrically connected to the headphone microphone 93.
[0061] In addition, the electronic device also includes a second capacitor 94, a first end of the envelope detection circuit 80 is electrically connected to the first port 71, a second end of the envelope detection circuit 80 is electrically connected to the first coil antenna 20, and the second end of the envelope detection circuit 80 is also electrically connected to the first end of the second capacitor 94, and the second end of the second capacitor 94 is grounded.
[0062] In the case where the target device is a door access control device, the second capacitor 94 may be a 125K resonant capacitor to improve the transceiver performance of the first coil antenna 20 .
[0063] like Figure 4 As shown, the embodiment of the present application also provides a signal processing method, which can be applied to the above electronic device, and the method includes the following steps:
[0064] Step 401: Generate first information when the electrical information of the first coil antenna detected by the proximity detection circuit indicates that the distance between the first coil antenna and a second coil antenna of a target device is less than a preset distance.
[0065] Step 402: Acquire control information corresponding to the first information, and trigger the drive circuit to transmit a function signal corresponding to the target device through the first coil antenna based on the control information.
[0066] In this way, by setting a proximity detection circuit in the electronic device, and realizing the detection of the distance between the first coil antenna and the second coil antenna of the target device through the proximity detection circuit, the distance detection between the first coil antenna and the second coil antenna is realized, that is, the distance between the first coil antenna and the second coil antenna can be automatically detected by the proximity detection circuit, and the first information is generated according to the detection result; so that the processor can trigger the driving circuit to transmit the function signal corresponding to the target device through the first coil antenna through the first coil antenna through the first information, thereby avoiding the manual triggering of the execution of the corresponding function and achieving the purpose of simplifying the operation steps of executing the function corresponding to the target device.
[0067] Optionally, the acquiring control information corresponding to the first information includes:
[0068] Acquiring basic information of the target device;
[0069] Based on the first information, control information corresponding to the basic information is generated.
[0070] In this embodiment, the basic information of the target device, such as the card number information of the access control device, can be obtained through the audio module and envelope detection circuit of the electronic device; and when the processor receives the first information, corresponding control information can be generated based on the basic information of the target device. The control information carries the basic information of the target device, such as the card number information, so as to trigger the execution of the corresponding function, thereby realizing automatic triggering of the corresponding function and avoiding manual triggering.
[0071] The signal processing method provided in the embodiment of the present application generates first information when the electrical information of the first coil antenna detected by the proximity detection circuit indicates that the distance between the first coil antenna and the second coil antenna of the target device is less than a preset distance; obtains control information corresponding to the first information, and triggers the drive circuit to transmit a function signal corresponding to the target device through the first coil antenna based on the control information. In this way, the purpose of simplifying the operation steps of executing the function corresponding to the target device can be achieved.
[0072] It should be noted that the signal processing method provided in the embodiment of the present application can be executed by a signal processing device or a control module in the signal processing device for executing the signal processing method. In the embodiment of the present application, the signal processing device provided in the embodiment of the present application is described by taking the execution of the signal processing method by the signal processing device as an example.
[0073] See also Figure 5 , Figure 5 is a structural diagram of a signal processing device provided by an embodiment of the present application, such as Figure 5 As shown, the device 500 includes:
[0074] A generating module 501, configured to generate first information if the electrical information of the first coil antenna detected by the proximity detection circuit indicates that the distance between the first coil antenna and the second coil antenna of the target device is less than a preset distance;
[0075] The processing module 502 is configured to obtain control information corresponding to the first information, and trigger the driving circuit to transmit a function signal corresponding to the target device through the first coil antenna based on the control information.
[0076] Optionally, the processing module 502 includes:
[0077] An acquisition unit, configured to acquire basic information of the target device;
[0078] A generating unit is used to generate control information corresponding to the basic information based on the first information.
[0079] The signal processing device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0080] The signal processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0081] The signal processing device provided in the embodiment of the present application can achieve Figure 4 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0082] Alternatively, if Figure 6As shown, an embodiment of the present application also provides an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601. When the program or instruction is executed by the processor 601, each process of the above-mentioned signal processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0083] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0084] See also Figure 7 , Figure 7 is a structural diagram of an electronic device provided by an embodiment of the present application, such as Figure 7 As shown, the electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710 and other components.
[0085] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0086] Among them, the processor 710 is used to generate first information when the electrical information of the first coil antenna detected by the proximity detection circuit indicates that the distance between the first coil antenna and the second coil antenna of the target device is less than a preset distance; and to obtain control information corresponding to the first information, and trigger the driving circuit to transmit a functional signal corresponding to the target device through the first coil antenna based on the control information.
[0087] Optionally, the processor 710 is configured to obtain basic information of the target device; and to generate control information corresponding to the basic information based on the first information.
[0088] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 709 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 710 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, 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 710.
[0089] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned signal processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0090] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0091] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned signal processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0092] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0093] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0094] 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 application, 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 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 application.
[0095] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An electronic device, characterized in that: The device comprises a proximity detection circuit, a first coil antenna, a drive circuit and a processor, wherein a first end of the proximity detection circuit is electrically connected to the first coil antenna, a second end of the proximity detection circuit is electrically connected to the processor, the processor is also electrically connected to a first end of the drive circuit, and a second end of the drive circuit is electrically connected to the first coil antenna; wherein the proximity detection circuit detects electrical information of the first coil antenna and generates first information if the electrical information indicates that the distance between the first coil antenna and the second coil antenna of the target device is less than a preset distance; When receiving the first information, the processor sends control information corresponding to the first information to the driving circuit, so as to trigger the driving circuit to transmit a function signal corresponding to the target device through the first coil antenna; The electronic device further includes a near field communication NFC function module, a first end of the NFC function module is electrically connected to the processor, a second end of the NFC function module is electrically connected to the NFC coil antenna through an NFC tuning circuit, and the second end of the NFC function module includes a first receiving port and a second receiving port; The path between the first end of the NFC function module and the target receiving port is used to form the proximity detection circuit, and the target receiving port is one of the first receiving port and the second receiving port; The NFC coil antenna and the first coil antenna are used to implement different device functions, and the electronic device also includes an audio module, a first end of the audio module is electrically connected to the processor, a second end of the audio module includes a first port, the first port is electrically connected to the first coil antenna through an envelope detection circuit, and the audio module and the envelope detection circuit are used to detect and obtain card number information of the first coil antenna.
2. The electronic device according to claim 1, characterized in that: The proximity detection circuit also includes a diode and a first capacitor, the first end of the diode is electrically connected to the target receiving port, the second end of the diode is electrically connected to the first end of the first capacitor, the second end of the first capacitor is grounded, and the second end of the diode is also electrically connected to the first coil antenna.
3. The electronic device according to claim 2, characterized in that: The receiving ports of the first receiving port and the second receiving port other than the target receiving port are electrically connected to the NFC coil antenna through the NFC tuning circuit and are used to transmit the antenna signal received by the NFC coil antenna, and the target receiving port is in a disconnected state from the NFC tuning circuit.
4. The electronic device according to any one of claims 1 to 3, characterized in that: The electrical information includes at least one of voltage, frequency, and pulse duration.
5. A signal processing method, characterized in that: Applied to the electronic device according to any one of claims 1 to 4, the electronic device comprises a proximity detection circuit, a first coil antenna and a drive circuit, the method comprising: generating first information if the electrical information of the first coil antenna detected by the proximity detection circuit indicates that the distance between the first coil antenna and the second coil antenna of the target device is less than a preset distance; Control information corresponding to the first information is acquired, and based on the control information, the driving circuit is triggered to transmit a function signal corresponding to the target device through the first coil antenna.
6. The method according to claim 5, characterized in that The acquiring control information corresponding to the first information includes: Acquiring basic information of the target device; Based on the first information, control information corresponding to the basic information is generated.
7. A signal processing device, characterized in that: Applied to the electronic device according to any one of claims 1 to 4, the electronic device comprises a proximity detection circuit, a first coil antenna and a drive circuit, the device comprises: a generating module, configured to generate first information if the electrical information of the first coil antenna detected by the proximity detection circuit indicates that the distance between the first coil antenna and the second coil antenna of the target device is less than a preset distance; The processing module is used to obtain control information corresponding to the first information, and trigger the driving circuit to transmit a function signal corresponding to the target device through the first coil antenna based on the control information.
8. The device according to claim 7, characterized in that The processing module comprises: An acquisition unit, configured to acquire basic information of the target device; A generating unit is used to generate control information corresponding to the basic information based on the first information.
9. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the signal processing method according to claim 5 or 6 are implemented.
