WO2023103463A1 - 一种nfc通信方法、电子设备、存储介质及程序产品 - Google Patents

一种nfc通信方法、电子设备、存储介质及程序产品 Download PDF

Info

Publication number
WO2023103463A1
WO2023103463A1 PCT/CN2022/114950 CN2022114950W WO2023103463A1 WO 2023103463 A1 WO2023103463 A1 WO 2023103463A1 CN 2022114950 W CN2022114950 W CN 2022114950W WO 2023103463 A1 WO2023103463 A1 WO 2023103463A1
Authority
WO
WIPO (PCT)
Prior art keywords
nfc
electronic device
external device
screen
display screen
Prior art date
Application number
PCT/CN2022/114950
Other languages
English (en)
French (fr)
Inventor
杨力宁
岳永保
任晓龙
汪晓永
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2023103463A1 publication Critical patent/WO2023103463A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1698Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a sending/receiving arrangement to establish a cordless communication link, e.g. radio or infrared link, integrated cellular phone
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1656Details related to functional adaptations of the enclosure, e.g. to provide protection against EMI, shock, water, or to host detachable peripherals like a mouse or removable expansions units like PCMCIA cards, or to provide access to internal components for maintenance or to removable storage supports like CDs or DVDs, or to mechanically mount accessories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/0772Physical layout of the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K13/00Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components

Definitions

  • the present application relates to the application field of NFC tags, and specifically relates to an NFC communication method, electronic equipment, storage media and program products.
  • NFC Near Field Communication, short-range wireless communication technology
  • more and more electronic products such as notebook computers
  • NFC tags to enable them to have NFC communication functions.
  • the NFC tag is affixed to the casing of the notebook computer, such as the keyboard-side fixing shell of the notebook computer shown in FIG. 1 , or the NFC label is integrated inside the touch panel of the notebook computer.
  • attaching the NFC tag to the casing of the notebook computer, or integrating the NFC tag inside the touch panel of the notebook computer will not only increase the design cost, but also affect the user experience of using the NFC tag.
  • sticking the NFC tag on the casing of the notebook computer will also reduce the cleanliness of the appearance of the casing material of the notebook computer and affect the aesthetics of the casing material of the notebook computer.
  • the present application provides an electronic device, including: a display screen, a housing body and an NFC tag, the display screen is installed on the housing body, and the display screen includes a display panel, a light guide sheet, a reflective film and a support plate, The display panel, the light guide sheet, the reflective film, and the support plate are stacked together in sequence, the support plate includes an opening, the NFC tag is attached to the inner surface of the housing body, and the orthographic projection of the inner surface of the opening overlaps with the NFC tag.
  • the above technical solution opens holes on the support plate, and attaches the NFC tag on the inner surface of the housing body, and the orthographic projection of the inner surface of the hole overlaps with the NFC tag, so as to realize the NFC communication function without affecting the electronic device.
  • the cleanliness of the appearance of the electronic device is ensured, and the design cost of attaching the NFC tag to the electronic device is reduced.
  • the opening is located at a preset position of the support plate.
  • the size of the NFC tag is smaller than the size of the aperture.
  • the size of the NFC tag is smaller than the size of the opening of the support plate, which can prevent the support plate from affecting the NFC communication function of the electronic device and ensure the NFC communication function of the electronic device.
  • the shape of the opening matches the shape of the NFC tag.
  • the shape of the opening of the support plate is designed according to the shape of the NFC tag, which can further prevent the support plate from affecting the NFC communication function of the electronic device.
  • the housing body includes a screen back part, the side of the screen back part facing the support plate forms an inner surface, and the support plate is fixedly installed on the screen back part of the housing body.
  • the support plate is fixedly installed on the screen back part of the housing body, which can effectively enhance the shockproof effect of the display screen, thereby improving the service life of the display screen.
  • the material of the back part of the screen is aluminum alloy, magnesium alloy or plastic material.
  • the fixed shell made of aluminum alloy, magnesium alloy or plastic material is used as the back part of the screen, which can avoid the absorption and interference of the NFC electromagnetic wave signal by the back part of the screen, and ensure the NFC communication function of the electronic device.
  • the display screen is an LCD display screen.
  • the material of the support plate includes iron, nickel, chromium, titanium, aluminum, magnesium or alloys thereof.
  • the support plate is a steel sheet
  • the steel sheet is a demagnetized steel sheet.
  • the material of the support plate is stainless steel.
  • the stainless steel support plate can better support the display screen and further enhance the shockproof effect of the display screen.
  • the present application provides another electronic device, including: a display screen, a casing body and an NFC tag, the display screen is installed on the casing body, the display screen includes a display panel and a support plate, and the support plate includes an opening A hole, the NFC tag is attached on the inner surface of the housing body, and the orthographic projection of the opening on the inner surface overlaps with the NFC tag.
  • the NFC tag is attached to the inner surface of the housing body, so that the NFC tag does not affect the NFC communication function of the electronic device while ensuring the cleanliness of the electronic device and reducing the number of NFC tags attached to the electronic device. Design cost on equipment.
  • the housing body includes a screen back part, the side of the screen back part facing the support plate forms the inner surface, and the support plate is fixedly installed on the screen back of the housing body parts.
  • the support plate is fixedly installed on the screen back part of the housing body, which can effectively enhance the shockproof effect of the display screen, thereby improving the service life of the display screen.
  • the material of the screen back part is aluminum alloy, magnesium alloy or plastic material.
  • the fixed shell made of aluminum alloy, magnesium alloy or plastic material is used as the back part of the screen, which can avoid the absorption and interference of the NFC electromagnetic wave signal by the back part of the screen, and ensure the NFC communication function of the electronic device.
  • the display screen is an OLED screen.
  • the support plate is a steel sheet
  • the steel sheet is a demagnetized steel sheet.
  • the material of the steel sheet is stainless steel.
  • the stainless steel support plate can better support the display screen and further enhance the shockproof effect of the display screen.
  • an embodiment of the present application provides an NFC communication method, the method is applied to the above-mentioned electronic device, and the method includes: receiving a connection request sent by an NFC external device; in response to the connection request, displaying Prompt information is displayed in the first area of the display, the first area includes the front projection of the NFC tag on the display screen, and the prompt information is used to prompt the user to bring the electronic device close to the first area; obtain the information according to the connection request The device information of the NFC external device and establish a communication connection with the NFC external device; according to the device information of the NFC external device, display the screen content of the NFC external device in the second area of the display screen.
  • a prompt message is displayed in the first area of the display screen and the user is prompted to bring the electronic device close to the first area, and the NFC external device is obtained according to the connection request.
  • device information and establish a communication connection with the NFC external device and display the screen content of the NFC external device in the second area of the display screen according to the device information of the NFC external device, which improves the user's interaction with the electronic device. Awareness of NFC external devices connected to electronic devices.
  • the connection request includes the NFC tag ID of the NFC external device; the obtaining the device information of the NFC external device according to the connection request includes: extracting the NFC tag from the connection request ID: acquiring the device information of the NFC external device according to the NFC tag ID.
  • the device information of the NFC external device can be determined according to the NFC tag ID associated with the NFC external device.
  • the obtaining the device information of the NFC external device according to the NFC tag ID includes: querying the device information corresponding to the NFC tag ID in a database according to the NFC tag ID, wherein the The database includes the corresponding relationship between the NFC tag ID and the device information of the NFC external device.
  • the device information of the NFC external device corresponding to the NFC tag ID can be determined according to the NFC tag ID search database.
  • the acquiring the device information of the NFC external device according to the connection request includes: detecting the electromagnetic wave signal characteristics of the NFC external device; Device Information.
  • the device information of the NFC external device can be determined according to the characteristics of the received electromagnetic wave signal of the NFC external device.
  • the determining the device information of the NFC external device according to the electromagnetic wave signal feature includes: querying a database for device information corresponding to the electromagnetic wave signal feature according to the electromagnetic wave signal feature, wherein, The database includes electromagnetic wave signal characteristics and device information of the NFC external device.
  • the device information of the NFC external device corresponding to the electromagnetic wave signal feature of the NFC external device can be determined according to the search database of the electromagnetic wave signal feature of the NFC external device.
  • the displaying the screen content of the NFC external device in the second area of the screen includes: acquiring the screen content of the NFC external device and the screen resolution of the NFC external device; acquiring The size of the second area; adjust the image resolution of the screen content according to the size of the second area and the screen resolution of the NFC external device; display the adjusted screen content on the second area.
  • the above technical solution adjusts the image resolution of the screen content of the NFC external device according to the size of the second area of the electronic device and the screen resolution of the NFC external device, and displays the adjusted screen content in the second area, so that The screen content of the NFC external device is completely displayed on the second area of the electronic device without deformation.
  • the displaying the prompt information in the first area of the display screen includes: obtaining an operation for activating the NFC function of the electronic device; responding to the obtained operation for activating the NFC function of the electronic device operation, displaying the prompt information in the first area of the display screen.
  • the prompt information indicating the NFC identification area of the electronic device is displayed on the first area of the display screen, so as to avoid affecting the tidiness of the content displayed on the display screen of the electronic device.
  • the indication information includes a picture frame or an icon.
  • the above solution prompts the user the specific location of the NFC identification area of the electronic device through a picture frame or an icon, helping the user quickly establish an NFC connection with the electronic device.
  • an embodiment of the present application provides a computer storage medium, the computer storage medium stores program instructions, and when the program instructions are run on an electronic device, the electronic device is made to execute the above-mentioned NFC communication method.
  • the embodiment of the present application provides a program product, such as a program product such as a hard disk, a U disk, and an optical disk.
  • the program product includes program code, and running the program code is used to realize the above-mentioned NFC communication method.
  • running the program code in the program product various possible realizations of the above-mentioned third aspect can be implemented.
  • FIG. 1 is a schematic diagram of the overall structure of an electronic device according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a display screen in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a partial structure of an electronic device in an embodiment of the present application.
  • Fig. 4 is a sectional view taken along line IV-IV of Fig. 3 .
  • FIG. 5 is a schematic structural diagram of a display screen in another embodiment of the present application.
  • FIG. 6 is a schematic diagram of an NFC external device located in an NFC identification area of an NFC tag.
  • FIG. 7 is a schematic diagram of an NFC communication method in an embodiment of the present application.
  • FIGS. 8A-8C are schematic diagrams of an electronic device displaying screen content in a first area according to an embodiment of the present application.
  • FIG. 9 is a flowchart of a method for determining device information of an NFC external device in an embodiment of the present application.
  • Fig. 10 is a flowchart of a method for determining device information of an NFC external device in another embodiment of the present application.
  • 11A-11C are schematic diagrams of an electronic device controlling an application of an NFC external device in an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an electronic device provided by another embodiment of the present application.
  • the user interface in the embodiment of the present application is a medium interface for interaction and information exchange between an application program or an operating system and a user, and can realize the conversion between the internal form of information and the form acceptable to the user.
  • the user interface of the application program is the source code written in specific computer languages such as JAVA and extensible markup language (XML). Such as pictures, text, buttons and other controls. Controls are the basic elements of the user interface. Typical controls include buttons, widgets, toolbars, menu bars, text boxes, and scroll bars ( scrollbar), pictures (image) and text (text).
  • the properties and content of the controls in the interface are defined through labels or nodes.
  • XML specifies the controls contained in the interface through nodes such as ⁇ Textview>, ⁇ ImgView>, and ⁇ VideoView>.
  • a node corresponds to a control or property in the interface, and after the node is parsed and rendered, it is presented as the content visible to the user.
  • the interfaces of many applications, such as hybrid applications usually include web pages.
  • a web page, also called a page, can be understood as a special control embedded in an application program interface.
  • a web page is a source code written in a specific computer language, such as hypertext markup language (HTML), cascading style Tables (cascading style sheets, CSS), JAVA scripts (JavaScript, JS), etc.
  • the source code of the web page can be loaded and displayed as user-recognizable content by a browser or a web page display component similar in function to the browser.
  • the specific content contained in the webpage is also defined by the tags or nodes in the source code of the webpage. For example, HTML defines the elements and attributes of the webpage through ⁇ p>, ⁇ img>, ⁇ video>, and ⁇ canvas>.
  • GUI graphical user interface
  • this embodiment provides a schematic diagram of an overall structure of an electronic device 100 .
  • the electronic device 100 includes a display screen 1 , a casing body 2 and an NFC tag 3 (refer to FIG. 3 ).
  • the display screen 1 is installed on the housing body 2
  • the NFC tag 3 is attached to the housing body 2 .
  • the direction from left to right in Fig. 1 is defined as the x-axis of the three-dimensional coordinate system
  • the direction from front to back is defined as the y-axis of the three-dimensional coordinate system
  • the axis is defined as the z-axis of the three-dimensional coordinate system.
  • the NFC tag 3 is attached to the right side of the housing body 2, so that right-handed users can use the NFC tag 3 conveniently.
  • the NFC tag 3 is attached to the left side of the housing body 2, which is convenient for left-handed users to use the NFC tag 3 .
  • FIG. 2 is a schematic structural diagram of the display screen 1 in an embodiment of the present application.
  • the display screen 1 includes a display panel 12 , a light guide sheet 13 , a reflective film 14 , and a support plate 11 , and the display panel 12 , the light guide sheet 13 , the reflective film 14 , and the support plate 11 are sequentially stacked together.
  • the display screen 1 is an LCD screen
  • the LCD screen is an LCD display screen used in the prior art. This application does not describe the specific structure of the LCD screen in detail.
  • FIG. 3 is a partial structural diagram of an electronic device 100 in an embodiment of the present application.
  • the housing body 2 includes a screen back part 21 , and the support plate 11 is fixedly installed on the screen back part 21 of the housing body 2 .
  • the support plate 11 is fixedly installed on the screen back part 21 of the housing body 2 by screws.
  • the material of the screen back part 21 of the housing body 2 is aluminum alloy or magnesium alloy, or plastic material.
  • the NFC tag 3 is attached to the inner surface of the housing body 2 and faces the opening 111 of the support plate 11 .
  • the orthographic projection of the opening 111 on the inner surface overlaps with the NFC tag 3 . In this way, the interference of the support plate 11 on the electromagnetic wave signal received or sent by the NFC tag 3 is avoided.
  • the orthographic projection of the opening 111 on the inner surface overlaps with the NFC tag means that the NFC tag 3 is located within the orthographic projection of the opening 111 on the inner surface of the housing body 2, or
  • the projection area formed by the orthographic projection of the opening 111 on the inner surface of the housing body 2 includes or covers the NFC tag 3 attached on the inner surface of the housing body 2 .
  • the material of the support plate 11 includes iron, nickel, chromium, titanium, aluminum, magnesium or alloys thereof.
  • the support plate 11 is a steel sheet, and the steel sheet is a demagnetized steel sheet.
  • the material of the steel sheet is stainless steel.
  • the demagnetization treatment refers to a process of demagnetizing an object that originally had magnetism.
  • a demagnetizer may be used to demagnetize the support plate 11 .
  • the support plate 11 may be heated to a preset temperature (for example, 770 degrees Celsius) to perform demagnetization treatment on the support plate 11 .
  • the supporting plate 11 may be demagnetized by an alternating magnetic field generated by an AC electric welder.
  • punching is performed at a preset position of the support plate 11 according to a preset size to form the opening 111 .
  • punching is performed on the right side of the support plate 11 according to a preset size to form an opening 111 .
  • the preset size of the opening 111 is larger than the size of the NFC tag 3 .
  • the preset size of the opening 111 includes the area of the opening 111 .
  • the size of the rectangular opening 111 is a rectangular area determined by the length and width of the opening 111 .
  • the preset size of the opening 111 includes a diameter of the opening 111 .
  • the size of the circular opening 111 is the diameter length of the opening 111 .
  • the predetermined size of the opening 111 may be a size formed by expanding 5 mm from the peripheral side of the NFC tag 3 .
  • the shape of the opening 111 matches the shape of the NFC tag 3 .
  • the matching of the shape of the opening 111 with the shape of the NFC tag 3 means that the figure formed by the shape of the hole 111 is the same or similar to the figure formed by the shape of the NFC tag 3 .
  • the shape of the opening 11 is designed according to the shape of the NFC tag 3 . For example, if the shape of the NFC tag 3 is a rectangle, the shape of the opening 11 can be punched into a rectangle.
  • the NFC tag 3 is attached to the housing body 2 flatly, so as to prevent the NFC tag 3 from being wrinkled and causing instability of the electromagnetic wave signal when the NFC external device recognizes the NFC tag 3 in the identification area 10 of the display screen 1 .
  • the material of the NFC tag 3 can be polyvinyl chloride (PVC) or polyethylene terephthalate (PET).
  • PVC polyvinyl chloride
  • PET polyethylene terephthalate
  • the NFC tag 3 is not processed with ink for the appearance of pattern prompts, for example, the NFC tag 3 is not processed with ink for the appearance of pattern prompts for printing identification characters, thus reducing the design cost of the NFC tag 3 .
  • FIG. 5 is a schematic structural diagram of a display screen 1 in another embodiment of the present application.
  • the display screen 1 includes a display panel 12 .
  • the display panel 12 is mounted on the housing body 2 .
  • the display panel 12 is mounted on the casing body by bonding.
  • the NFC tag 3 is attached on the inner surface of the casing body 2 and faces the display panel 12 . In this way, the neatness of the appearance of the electronic device 100 is ensured.
  • the display screen 1 is an OLED display screen.
  • the electronic device 100 can automatically identify the NFC external device and establish a Wifi or Bluetooth direct connection channel to realize the signal between the electronic device 100 and the NFC external device. connect.
  • Table 1 it shows a table of NFC identification ranges when different types of mobile phones and the electronic device 100 perform NFC identification.
  • the NFC identification range refers to a distance range within which an NFC external device can perform an NFC connection with the electronic device 100 .
  • the NFC identification range of the model 1 mobile phone and the electronic device 100 for NFC identification is 0mm-7mm, and the model 2 mobile phone and the electronic device 100 perform NFC identification for the NFC identification range of 0mm-13mm.
  • the electronic device 100 may be a notebook computer, a tablet, a display screen and the like.
  • the NFC external device can be a mobile phone, a tablet, a wearable device, and the like.
  • the present application also provides an NFC communication method.
  • the NFC communication method is applied in the electronic device 100 .
  • FIG. 7 it is a schematic diagram of an NFC communication method provided by an embodiment of the present application. The method includes the following steps.
  • Step S701 receiving a connection request sent by an NFC external device.
  • the connection request is a short-distance wireless communication request, for example, the connection request is an NFC connection request, a WiFi connection request, or a Bluetooth connection request.
  • the connection request is an NFC connection request, a WiFi connection request, or a Bluetooth connection request.
  • the following describes the specific content of the NFC communication method in this application by taking the PC as the electronic device 100 , taking the mobile phone as the NFC external device, and taking the NFC connection request as an example. Referring to FIG. 8A , when the mobile phone approaches the PC and enters the NFC identification range of the mobile phone, the mobile phone sends a connection request to the PC, and the PC receives the connection request sent by the mobile phone.
  • Step S702 in response to the connection request, display prompt information on the first area 80 of the display screen 1, the first area 80 includes the front projection of the NFC tag 3 on the display screen 1, and the prompt information is used to prompt The user brings the electronic device 100 close to the first area.
  • the first area 80 includes the front projection of the NFC tag 3 on the display screen 1, which means that the front projection of the NFC tag 3 on the display screen 1 is in the first area 80, and the NFC tag 3 is on the display screen 1.
  • the area of the orthographic projection of 1 is smaller than or equal to the area of the first region 80 .
  • the PC displays prompt information on the first area 80 of the display screen 1 to prompt the user to bring the mobile phone close to the first area 80 .
  • the prompt information includes a picture frame or an icon.
  • the frame or icon can be made of solid or dashed lines.
  • the position of the picture frame or icon in the first area 80 is directly opposite to the position of the orthographic projection of the NFC tag 3 on the display screen 1 .
  • the prompt information may be voice, text or animation guidance information, which is used to guide the user to connect the mobile phone to the PC.
  • the prompt information includes a specific position of the front projection of the NFC tag 3 on the display screen 1 . It should be noted that, the present application prompts the user the location of the NFC identification area of the electronic device 100 through prompt information to help the user quickly establish a communication connection with the electronic device 100 .
  • Step S703 acquiring device information of the NFC external device according to the connection request and establishing a communication connection with the NFC external device.
  • the connection request carries device information of the mobile phone.
  • the PC responds to the connection request, obtains the type information of the mobile phone from the connection request, and sends a reply signal to the mobile phone.
  • a communication connection is established between the mobile phone and the PC.
  • the mobile phone and the PC establish a communication connection through WiFi communication, Bluetooth communication or NFC communication.
  • WiFi communication Wireless Fidelity
  • NFC communication NFC communication
  • the PC acquires the screen content of the mobile phone, and displays the screen content of the mobile phone in the second area 82 of the display screen 1 according to the device information of the mobile phone.
  • the connection request includes NFC tag identity information (ID) of the NFC external device.
  • ID NFC tag identity information
  • the NFC tag identity information is a character string composed of numbers or letters, which is used to identify the NFC tag.
  • the method for determining device information of an NFC external device includes the following steps.
  • Step S901 extracting the NFC tag ID from the connection request.
  • Step S902 acquiring device information of the NFC external device according to the NFC tag ID.
  • the device information of the NFC external device includes information such as the type of the NFC external device, the model of the NFC external device, the size of the NFC external device, and the manufacturer of the NFC external device. (such as a mobile phone), the NFC tag ID of the NFC external device has been bound to the device information such as the model and manufacturer of the external device.
  • the NFC tag ID of the NFC external device and the device information of the NFC external device are stored in the database in advance. After the electronic device 100 extracts the NFC tag ID of the NFC external device from the connection request, it searches the database according to the NFC tag ID of the NFC external device, and determines the device corresponding to the NFC tag ID of the NFC external device information.
  • the database includes the correspondence between the NFC tag ID of the NFC external device and the device information of the NFC external device, wherein different device type information of the NFC external device corresponds to different NFC tag IDs.
  • the database is stored in a local storage of the electronic device 100, and the electronic device 100 may acquire data of the database from the local storage.
  • the database is stored in a remote server, and the electronic device 100 may acquire data of the database from the remote server.
  • FIG. 10 it is a flowchart of a method for determining device information of an NFC external device in another embodiment of the present application.
  • the method for determining device information of an NFC external device includes the following steps.
  • Step S1001 detecting the characteristics of the electromagnetic wave signal of the NFC external device.
  • Step S1002 determining device information of the NFC external device according to the characteristics of the electromagnetic wave signal.
  • the characteristics of the electromagnetic wave signal (such as the strength of the electromagnetic wave signal) sent by the NFC external device to the electronic device 100 are different. There are differences between.
  • the electronic device 100 determines device information corresponding to the acquired electromagnetic wave signal feature by searching a database according to the acquired electromagnetic wave signal feature.
  • the database includes electromagnetic wave signal characteristics and device information of the NFC external device, and different electromagnetic wave signal characteristics of the NFC external device correspond to different device information.
  • Electromagnetic wave signal strengths vary. If the electromagnetic wave signal strength detected by the electronic device 100 corresponds to a model 1 mobile phone, it is determined that the device information of the NFC external device is a model 1 mobile phone.
  • the method according to the device information of the NFC external device, displaying the screen content of the NFC external device in the second area 82 of the display screen 1 includes: according to the device information of the NFC external device Determine the second area 82; acquire the screen content of the NFC external device; and display the screen content of the NFC external device in the second area 82 of the display screen 1. It should be noted that, in order to improve the user's perception of different NFC external devices, different NFC external devices correspond to second areas 82 of different sizes, and the electronic device 100 determines the NFC external device according to the device information of the NFC external device.
  • the second area 82 of the size corresponding to the device, and displaying the screen content of the NFC external device in the second area 82 of the corresponding size, can improve the user's experience of using the electronic device 100 to interact with the NFC external device. It should be noted that, in order to enhance the user's perception of the external NFC device communicating with the electronic device 100 on the electronic device 100 , the size of the second area 82 of the electronic device 100 is equivalent to the screen size of the NFC external device.
  • the electronic device 100 searches the database for the second area 82 having a size corresponding to the device information of the NFC external device according to the device information of the NFC external device.
  • the database includes the corresponding relationship between the device information of the NFC external device and the size of the second area, wherein different device information of the NFC external device corresponds to different sizes of the second area 82 .
  • displaying the screen content of the NFC external device on the second area 82 of the display screen 1 includes: acquiring the screen content of the NFC external device and the screen resolution of the NFC external device; The size of the second area 82; adjust the image resolution of the current screen content according to the size of the second area 82 of the electronic device 100 and the screen resolution of the NFC external device; and display the adjusted current screen content in the screen display area.
  • the size of the second area 82 of the electronic device 100 is a1 ⁇ b1
  • the screen resolution of the NFC external device is a2 ⁇ b2
  • the image resolution of the screen content of the NFC external device is a2 ⁇ b2
  • a1 is the length of the second area 82
  • b1 is the width of the second area 82
  • a2 is the number of pixels displayed in the horizontal dimension of the screen of the NFC external device
  • b2 is the number of pixels displayed in the vertical dimension of the screen of the NFC external device.
  • the number of pixels in the vertical dimension is adjusted, and the adjustment coefficient k2 of the vertical dimension is multiplied by the number of pixels in the vertical dimension of the screen content to adjust the number of pixels in the vertical dimension of the screen content.
  • the method further includes: displaying the NFC external device on the second area 82 of the display screen 1 Appearance profile of the device 84 .
  • the electronic device 100 determines the appearance profile 84 of the NFC external device according to the device information of the NFC external device, and displays the appearance profile 84 of the NFC external device on the second area 82 .
  • the electronic device 100 searches the database for the appearance outline 84 of a size corresponding to the equipment information of the NFC external device according to the device information of the NFC external device, and displays the appearance outline 84 on the second area 82 .
  • the database includes the corresponding relationship between the device information of the NFC external device and the size of the outline 84 of the NFC external device, wherein the device information of different NFC external devices corresponds to the size of the appearance outline 84 of the NFC external device.
  • the electronic device 100 also adjusts the size of the second area 82 in response to the user's adjustment operation on the size of the second area 82 .
  • the operation of adjusting the size of the second area 82 includes a sliding operation of two fingers moving away from each other and a sliding operation of two fingers approaching each other.
  • the electronic device 100 enlarges the size of the second area 82 in response to the user's sliding operation of two fingers moving away from each other on the second area 82 .
  • the electronic device 100 also reduces the size of the second area 82 in response to the sliding operation of two fingers approaching each other on the second area 82 by the user.
  • the electronic device 100 also adjusts the position of the second area 82 in response to the user's adjustment operation on the position of the second area 82 .
  • the adjustment operation on the position of the second area 82 includes a one-finger sliding operation. The electronic device 100 moves the position of the second area 82 in response to the one-finger sliding operation applied by the user to the second area 82 .
  • the electronic device 100 also controls at least one application of the NFC external device in response to the user's operation through the screen content displayed on the second area 82 on the electronic device 100 .
  • the NFC external device projects the desktop content including at least one application onto the second area 82 of the electronic device 100 .
  • the electronic device 100 responds to the user's control operation on the application of the NFC external device on the second display area 82, determines the control information according to the application object and operation type of the control operation, and sends the control information to the NFC external device, wherein the control The information carries application objects and operation types.
  • the NFC external device responds to the received control information, extracts the application object and operation type from the control information, determines the target application according to the application object, and controls the target application according to the operation type.
  • the operation type includes opening an application operation, deleting an application operation, and closing an application operation.
  • the NFC external device detects whether the screen content changes, and projects the changed screen content to the second area 82 of the electronic device 100 when it is determined that the screen content changes.
  • the mobile phone projects the desktop content including the camera application to the second area 82 on the PC.
  • the PC responds to the user's opening operation (such as a click operation) on the camera application of the mobile phone on the second display area 82, determines that the application object is a camera application and determines that the operation type is an opening operation, and generates control information corresponding to the camera application and the opening operation, And send the control information to the mobile phone.
  • the mobile phone determines the target application as the camera application according to the application object in the control information, and starts the camera application according to the opening operation in the control information.
  • the screen content of the mobile phone is an interface for collecting information by the camera.
  • the interface for collecting information by the camera is projected to the second area 82 of the PC. In this way, the multi-screen collaboration function of PC, mobile phone and PC can be realized.
  • a prompt is displayed on the first area 80 of the display screen 1
  • the information indicates to the user the location of the NFC recognition area of the electronic device 100 .
  • the operation of activating the NFC function includes the operation of triggering a combination key, and the combination key can be set according to the needs of the user, which is not limited in this embodiment of the present application.
  • the combination key "Ctrl+t” is set as an operation to activate the NFC function, and when the user triggers the combination key "Ctrl+t" to activate the NFC function, the electronic device 100 displays a picture frame or icon on the display screen 1 As prompt information indicating the NFC identification area of the electronic device 100 .
  • FIG. 12 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also supply power to the electronic device 100 through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves and radiate them through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be transmitted from the processor 110 , frequency-modulate it, amplify it, and convert it into an electromagnetic wave through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (non-volatile memory, NVM).
  • RAM random access memory
  • NVM non-volatile memory
  • Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (synchronous dynamic random access memory, SDRAM), double data rate synchronous Dynamic random access memory (double datarate synchronous dynamic random access memory, DDR SDRAM, such as the fifth generation DDR SDRAM is generally called DDR5SDRAM), etc.;
  • SRAM static random-access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate synchronous Dynamic random access memory double datarate synchronous dynamic random access memory
  • DDR SDRAM double datarate synchronous dynamic random access memory
  • DDR5SDRAM double datarate synchronous dynamic random access memory
  • Non-volatile memory may include magnetic disk storage devices, flash memory (flash memory).
  • flash memory can include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc.
  • it can include single-level storage cells (single-level cell, SLC), multi-level storage cells (multi-level cell, MLC), triple-level cell (TLC), quad-level cell (QLC), etc.
  • SLC single-level storage cells
  • MLC multi-level storage cells
  • TLC triple-level cell
  • QLC quad-level cell
  • UFS universal flash storage
  • embedded multimedia memory card embedded multi media Card
  • the random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of an operating system or other running programs, and can also be used to store data of users and application programs.
  • the non-volatile memory can also store executable programs and data of users and application programs, etc., and can be loaded into the random access memory in advance for the processor 110 to directly read and write.
  • the external memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 100 .
  • the external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external non-volatile memory.
  • the internal memory 121 or the external memory interface 120 is used to store one or more computer programs.
  • One or more computer programs are configured to be executed by the processor 110 .
  • the one or more computer programs include a plurality of instructions. When the plurality of instructions are executed by the processor 110, the NFC communication method in the above-mentioned embodiment can be implemented on the electronic device 100, so as to realize the establishment of an NFC connection based on the NFC tag of the electronic device 100. function.
  • the electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to receive the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 may be provided with two microphones 170C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface. .
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • This embodiment also provides a computer storage medium, the computer storage medium stores computer instructions, and when the computer instructions are run on the electronic device 100, the electronic device 100 executes the above-mentioned related method steps to realize the NFC communication in the above-mentioned embodiment method.
  • This embodiment also provides a computer program product, which, when running on a computer, causes the computer to execute the above related steps, so as to implement the NFC communication method in the above embodiment.
  • an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the NFC communication method in the above method embodiments.
  • the electronic device 100, computer storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the corresponding method provided above. The beneficial effects of the method will not be repeated here.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined Or it can be integrated into another device, or some features can be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and a component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Manufacturing & Machinery (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请涉及一种电子设备,包括:显示屏、壳体本体及NFC标签。所述显示屏安装在所述壳体本体上,且所述显示屏包括显示面板、导光片、反射膜、支撑板。所述显示面板、所述导光片、所述反射膜、所述支撑板依次叠置在一起。所述支撑板包括开孔,所述NFC标签贴附在所述壳体本体的内表面上,所述开孔在所述内表面的正投影与所述NFC标签重叠。本申请还提供一种NFC通信方法、存储介质及程序产品。本申请能够在不影响电子设备的NFC通信功能的同时,保证电子设备在外观上的整洁度,减少NFC标签贴附在电子设备上的设计成本。

Description

一种NFC通信方法、电子设备、存储介质及程序产品
相关申请的交叉引用
本申请要求在2021年12月8日提交中国专利局、申请号为202111491715.8、申请名称为“基于NFC标贴纸建立NFC连接的方法及电子设备”的中国专利申请、以及在2022年2月11日提交中国专利局、申请号为202210129280.0、申请名称为“一种NFC通信方法、电子设备、存储介质及程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及NFC标签应用领域,具体而言,涉及一种NFC通信方法、电子设备、存储介质及程序产品。
背景技术
随着科学技术的发展,NFC(Near Field Communication,近距离无线通信技术)越来越多的应用到人们的实际生活中。例如,越来越多的电子产品,如笔记本电脑等都设置有NFC标签,使其具有NFC通信功能。通常NFC标签贴在笔记本电脑的外壳上,如贴在图1所示的笔记本电脑的键盘侧固定壳上,或NFC标签集成在笔记本电脑的触控板内部。然而,将NFC标签贴在笔记本电脑的外壳上,或将NFC标签集成在笔记本电脑的触控板内部不仅会增加设计成本,而且影响用户使用NFC标签的体验。此外,将NFC标签贴在笔记本电脑的外壳上还会降低笔记本电脑壳料外观的整洁度及影响笔记本电脑壳料的美观。
发明内容
鉴于以上内容,有必要提供一种NFC通信方法、电子设备、存储介质及程序产品,以解决现有NFC标签贴在电子设备上增加设计成本,影响电子设备外观的整洁度的问题。
第一方面,本申请提供了一种电子设备,包括:显示屏、壳体本体及NFC标签,显示屏安装在壳体本体上,显示屏包括显示面板、导光片、反射膜和支撑板,显示面板、导光片、反射膜、支撑板依次叠置在一起,支撑板包括开孔,NFC标签贴附在壳体本体的内表面上,开孔在内表面的正投影与NFC标签重叠。上述技术方案在支撑板上开设开孔,并将NFC标签贴附在壳体本体的内表面上,且开孔在内表面的正投影与NFC标签重叠,实现在不影响电子设备的NFC通信功能的同时,保证电子设备在外观上的整洁度,减少NFC标签贴附在电子设备上的设计成本。
在一种实现方式中,开孔位于支撑板的预设位置。
在一种实现方式中,NFC标签的尺寸小于开孔的尺寸。NFC标签的尺寸小于支撑板的开孔的尺寸,可以避免支撑板影响电子设备的NFC通信功能,保证了电子设备的NFC通信功能。
在一种实现方式中,开孔的形状与NFC标签的形状相匹配。上述技术方案,支撑板的开孔的形状根据NFC标签的形状进行设计,可以进一步避免支撑板影响电子设备的NFC通 信功能。
在一种实现方式中,壳体本体包括屏幕背面部件,屏幕背面部件面向支撑板的一面形成内表面,支撑板固定安装在壳体本体的屏幕背面部件上。上述技术方案,支撑板固定安装在壳体本体的屏幕背面部件上,能够有效增强显示屏的防震效果,从而提高显示屏的使用寿命。
在一种实现方式中,屏幕背面部件的材料为铝合金、镁合金或塑胶材料。上述技术方案,将铝合金、镁合金或塑胶材料的固定壳体作为屏幕背面部件,可以避免屏幕背面部件对NFC电磁波信号的吸收及干扰,保证电子设备的NFC的通信功能。
在一种实现方式中,显示屏为LCD显示屏。
在一种实现方式中,支撑板的材料包括铁、镍、铬、钛、铝、镁元素或其合金。
在一种实现方式中,支撑板为钢片,钢片为经过去磁处理的钢片。上述技术方案在去磁处理的钢片上开孔,可以避免钢片对NFC电磁波信号的吸收及干扰,保证电子设备的NFC的通信功能。
在一种实现方式中,支撑板的材料为不锈钢。上述技术方案中,不锈钢支撑板能够更好地支撑显示屏,进一步增强显示屏的防震效果。
第二方面,本申请提供了另一种电子设备,包括:显示屏、壳体本体及NFC标签,显示屏安装在壳体本体上,显示屏包括显示面板及支撑板,所述支撑板包括开孔,所述NFC标签贴附在所述壳体本体的内表面上,所述开孔在所述内表面的正投影与所述NFC标签重叠。上述技术方案中,NFC标签贴附在壳体本体的内表面上,使得NFC标签在不影响电子设备的NFC通信功能的同时,保证电子设备在外观上的整洁度,减少NFC标签贴附在电子设备上的设计成本。
在一种实现方式中,所述壳体本体包括屏幕背面部件,所述屏幕背面部件面向所述支撑板的一面形成所述内表面,所述支撑板固定安装在所述壳体本体的屏幕背面部件上。上述技术方案,支撑板固定安装在壳体本体的屏幕背面部件上,能够有效增强显示屏的防震效果,从而提高显示屏的使用寿命。
在一种实现方式中,述屏幕背面部件的材料为铝合金、镁合金或塑胶材料。上述技术方案,将铝合金、镁合金或塑胶材料的固定壳体作为屏幕背面部件,可以避免屏幕背面部件对NFC电磁波信号的吸收及干扰,保证电子设备的NFC的通信功能。在一种实现方式中,显示屏为OLED屏。
在一种实现方式中,所述支撑板为钢片,所述钢片为经过去磁处理的钢片。上述技术方案在去磁处理的钢片上开孔,可以避免钢片对NFC电磁波信号的吸收及干扰,保证电子设备的NFC的通信功能。
在一种实现方式中,所述钢片的材料为不锈钢。上述技术方案中,不锈钢支撑板能够更好地支撑显示屏,进一步增强显示屏的防震效果。
第三方面,本申请实施例提供一种NFC通信方法,所述方法应用于上述的电子设备中,方法包括:接收NFC外部设备发送的连接请求;响应于所述连接请求,在所述显示屏的第一区域显示提示信息,所述第一区域包含NFC标签在显示屏的正投影,所述提示信息用于提示用户将所述电子设备贴近所述第一区域;根据所述连接请求获取所述NFC外部设备的设备信息并与所述NFC外部设备建立通信连接;根据所述NFC外部设备的设备信息,在所述显示屏的第二区域显示所述NFC外部设备的屏幕内容。上述技术方案在接收到NFC外部设备的连接请求时,在所述显示屏的第一区域显示提示信息与提示用户将所述电子设备贴近所述第 一区域,根据连接请求获取所述NFC外部设备的设备信息并与所述NFC外部设备建立通信连接,并根据NFC外部设备的设备信息在所述显示屏的第二区域显示所述NFC外部设备的屏幕内容,提升了用户在电子设备上对与电子设备相连接的NFC外部设备的感知力。
在一种实现方式中,所述连接请求包括NFC外部设备的NFC标签ID;所述根据所述连接请求获取所述NFC外部设备的设备信息,包括:从所述连接请求中提取所述NFC标签ID;根据所述NFC标签ID获取所述NFC外部设备的设备信息。上述技术方案,可以根据与NFC外部设备相关联的NFC标签ID确定NFC外部设备的设备信息。
在一种实现方式中,所述根据所述NFC标签ID获取所述NFC外部设备的设备信息,包括:根据所述NFC标签ID在数据库中查询所述NFC标签ID对应的设备信息,其中所述数据库包括所述NFC标签ID与所述NFC外部设备的设备信息的对应关系。上述技术方案,可以根据NFC标签ID查找数据库确定与NFC标签ID对应的NFC外部设备的设备信息。
在一种实现方式中,所述根据所述连接请求获取所述NFC外部设备的设备信息,包括:检测所述NFC外部设备的电磁波信号特征;根据所述电磁波信号特征确定所述NFC外部设备的设备信息。上述技术方案,可以根据接收的NFC外部设备的电磁波信号特征确定NFC外部设备的设备信息。
在一种实现方式中,所述根据所述电磁波信号特征确定所述NFC外部设备的设备信息,包括:根据所述电磁波信号特征在数据库中查询与所述电磁波信号特征对应的设备信息,其中,所述数据库包括电磁波信号特征与所述NFC外部设备的设备信息。上述技术方案,可以根据NFC外部设备的电磁波信号特征查找数据库确定与NFC外部设备的电磁波信号特征对应的NFC外部设备的设备信息。
在一种实现方式中,所述在所述屏幕的第二区域显示所述NFC外部设备的屏幕内容,包括:获取所述NFC外部设备的屏幕内容及所述NFC外部设备的屏幕分辨率;获取所述第二区域的尺寸;根据所述第二区域的尺寸及所述NFC外部设备的屏幕分辨率对所述屏幕内容的图像分辨率进行调整;将调整后的所述屏幕内容显示在所述第二区域。上述技术方案,根据电子设备的第二区域的尺寸及NFC外部设备的屏幕分辨率对NFC外部设备的屏幕内容的图像分辨率进行调整,及将调整后的屏幕内容显示在第二区域,如此将NFC外部设备的屏幕内容完整且无变形地显示在电子设备的第二区域。
在一种实现方式中,所述在所述显示屏的第一区域显示提示信息包括:获取激活所述电子设备的NFC功能的操作;响应于获取的所述激活所述电子设备的NFC功能的操作,在所述显示屏的第一区域显示所述提示信息。上述技术方案,在获取到激活NFC功能的操作时在显示屏的第一区域上显示指示电子设备的NFC识别区域的提示信息,如此避免影响电子设备的显示屏所显示内容的整洁度。
在一种实现方式中,指示信息包括图框或图标。上述方案,通过图框或图标提示用户电子设备的NFC识别区域的具体位置,帮助用户快速建立与电子设备的NFC连接。
第四方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有程序指令,当所述程序指令在电子设备上运行时,使得所述电子设备执行上述NFC通信方法。
第五方面,本申请实施例提供一种程序产品,该程序产品例如是硬盘、U盘和光盘等程序产品。程序产品包括程序代码,运行所述程序代码用于实现上述NFC通信方法,通过运行该程序产品中的程序代码,可以执行上述第三方面的各个可能实现。
另外,第四方面至第五方面所带来的技术效果可参见上述方法部分各设计的方法相关的 描述,此处不再赘述。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。
图1为本申请一实施例的电子设备的整体结构示意图。
图2为本申请一实施例中显示屏的结构示意图。
图3为本申请一实施例中电子设备的部分结构示意图。
图4为沿图3的IV-IV线的剖视图。
图5为本申请另一实施例中显示屏的结构示意图。
图6为NFC外部设备位于NFC标签的NFC识别区域的示意图。
图7为本申请一实施例中的NFC通信方法的示意图。
图8A-图8C为本申请一实施例中电子设备在第一区域显示屏幕内容的示意图。
图9为本申请一实施例中确定NFC外部设备的设备信息的方法流程图。
图10为本申请另一实施例中确定NFC外部设备的设备信息的方法流程图。
图11A-图11C为本申请一实施例中电子设备对NFC外部设备的应用进行控制的示意图。
图12为本申请实另一施例提供的电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。
需要说明的是,当元件被称为“固定于”另一个元件,它可以直接在另一个元件上或者也可以存在居中的元件。当一个元件被认为是“连接”另一个元件,它可以是直接连接到另一个元件或者可能同时存在居中元件。当一个元件被认为是“设置于”另一个元件,它可以是直接设置在另一个元件上或者可能存在位于该两个元件之间的居中元件。本文所使用的术语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施方式的目的,不是旨在于限制本申请。本文所使用的术语“或/及”包括一个或多个相关的所列项目的任意的和所有的组合。
本申请实施例中的用户界面(User Interface,UI),是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,可实现信息的内部形式与用户可以接受形式之间的转换。应用程序的用户界面是通过JAVA、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在电子设备上经过解析、渲染,最终呈现为用户可以识别的内容,比如图片、文字、按钮等控件。控件(control),是用户界面的基本元素,典型的控件有按钮(button)、小工具(widget)、工具栏(toolbar)、菜单栏(menu bar)、文本框(text box)、滚动条(scrollbar)、图片(image)和文本(text)。界面中的控件的属性和内容是通过标签或者节点来定义的,比如XML通过<Textview>、<ImgView>、<VideoView>等节点来规定界面所包含的控 件。一个节点对应界面中一个控件或属性,节点经过解析和渲染之后呈现为用户可视的内容。此外,很多应用程序,比如混合应用(hybrid application)的界面中通常还包含有网页。网页,也称为页面,可以理解为内嵌在应用程序界面中的一个特殊的控件,网页是通过特定计算机语言编写的源代码,例如超文本标记语言(hyper text markup language,HTML),层叠样式表(cascading style sheets,CSS),JAVA脚本(JavaScript,JS)等,网页源代码可以由浏览器或与浏览器功能类似的网页显示组件加载和显示为用户可识别的内容。网页所包含的具体内容也是通过网页源代码中的标签或者节点来定义的,比如HTML通过<p>、<img>、<video>、<canvas>来定义网页的元素和属性。
用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素。
本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施方式及实施方式中的特征可以相互组合。
参见图1,本实施例提供了一种电子设备100的整体结构的示意图。本实施例中,所述电子设备100包括显示屏1、壳体本体2及NFC标签3(参考图3)。所述显示屏1安装在壳体本体2上,所述NFC标签3贴附在所述壳体本体2上。本实施例中,为描述方便,将图1中从左到右的方向定义为三维坐标系的x轴,从前到后的方向定义为三维坐标系的y轴,将垂直x轴、y轴的轴定义为三维坐标系的z轴。在一实施例中,所述NFC标签3贴附在壳体本体2的右边,如此方便惯用右手的用户使用NFC标签3。在另一实施例中,所述NFC标签3贴附在壳体本体2的左边,可方便惯用左手的用户使用NFC标签3。
请参考图2所示,为本申请一实施例中显示屏1的结构示意图。所述显示屏1包括显示面板12、导光片13、反射膜14、支撑板11,所述显示面板12、导光片13、反射膜14及支撑板11依次叠置在一起。本实施例中,所述显示屏1为LCD屏,所述LCD屏为现有技术中所采用的LCD显示屏幕,本申请不对LCD屏的具体结构进行详细描述。请参考图3所示,为本申请一实施例中电子设备100的部分结构示意图。本实施例中,所述壳体本体2包括屏幕背面部件21,所述支撑板11固定安装在所述壳体本体2的屏幕背面部件21上。例如,所述支撑板11通过螺钉固定安装在所述壳体本体2的屏幕背面部件21上。请参考图4,本实施例中,所述壳体本体2的屏幕背面部件21的材料为铝合金或镁合金,或塑胶材料。本实施例中,由于NFC信息是通过频谱中无线频率的电磁感应耦合方式传递,在通过电子设备100的NFC标签3实现和NFC外部设备进行通信的过程中为避免受到支撑板11吸收和干扰电磁波而导致NFC信号强度变弱或者无信号的情况,本实施例中,参考图3,所述支撑板11设置开孔111,所述屏幕背面部件21面向所述支撑板11的一面形成所述壳体本体2的内表面,所述NFC标签3贴附在所述壳体本体2的内表面上并面向所述支撑板11的开孔111。所述开孔111在所述内表面的正投影与所述NFC标签3重叠。如此,避免支撑板11对NFC标签3接收或发送的电磁波信号的干扰。本实施例中,开孔111在所述内表面的正投影与所述NFC标签重叠是指所述NFC标签3位于所述开孔111在壳体本体2的内表面的正投影之内,或者为开孔111在所述壳体本体2的内表面的正投影所形成的投影区域包括或覆盖贴附在所述壳体本体2的内表面上的NFC标签3。
本实施例中,所述支撑板11的材料包括铁、镍、铬、钛、铝、镁元素或其合金。在一实施例中,所述支撑板11为钢片,所述钢片为去磁处理的钢片。所述钢片的材料为不锈钢。本 实施例中,所述去磁处理是指将原来具有磁性的物体失去磁性的过程。在一实施例中,可以采用消磁器对所述支撑板11进行去磁处理。在另一实施例中,可以将支撑板11加热到预设温度(例如770摄氏度)对所述支撑板11进行去磁处理。在其他实施例中,可以通过交流电焊机产生交变磁场对所述支撑板11进行去磁处理。
本实施例中,支撑板11经去磁处理后,在支撑板11的预设位置处按照预设尺寸进行冲切形成所述开孔111。例如,参考图3,在支撑板11的右边按照预设尺寸进行冲切形成开孔111。为避免支撑板11对NFC标签3的影响,所述开孔111的预设尺寸大于所述NFC标签3的尺寸。在一实施例中,所述开孔111的预设尺寸包括所述开孔111的面积区域。例如,矩形状的开孔111的尺寸为开孔111的长与宽所确定的矩形面积区域。在另一实施例中,所述开孔111的预设尺寸包括所述开孔111的直径长度。例如,圆形状的开孔111的尺寸为开孔111的直径长度。在一实施例中,所述开孔111的预设尺寸可以为相对NFC标签3的周边侧外扩5mm形成的尺寸。在一实施例中,所述开孔111的形状与所述NFC标签3的形状相匹配。本实施例中,所述开孔111的形状与述NFC标签3的形状相匹配是指开孔111的外形所构成的图形与NFC标签3的外形所构成的图形相同或相似。在一实施例中,所述开孔11的形状根据NFC标签3的形状进行开孔设计。例如,若NFC标签3的形状为矩形,可以将开孔11的形状冲切成矩形。
需要说明的是,NFC标签3平整地贴附在壳体本体2上,如此避免NFC标签3起皱造成NFC外部设备在显示屏1的识别区域10识别NFC标签3时的电磁波信号的不稳定。为实现NFC标签3平整地贴附在壳体本体2上的目的,NFC标签3的材质可以为聚氯乙烯(Polyvinyl chloride,PVC)或聚对苯二甲酸乙二酯(polyethylene terephthalate,PET)。本实施例中,所述NFC标签3不做图案提示的外观油墨处理,例如NFC标签3不做印刷识别字符的图案提示的外观油墨处理,如此减少NFC标签3的设计成本。
请参考图5所示,为本申请另一实施例中显示屏1的结构示意图。所述显示屏1包括显示面板12。所述显示面板12安装在壳体本体2上。例如,所述显示面板12通过粘接的方式安装在壳体本体上。所述NFC标签3贴附在所述壳体本体2的内表面上并面向所述显示面板12。如此,保证了电子设备100在外观上的整洁度。本实施例中,所述显示屏1为OLED显示屏。
参考图6,将NFC外部设备放在所述NFC标签3的NFC识别区域后,电子设备100可以自动识别NFC外部设备并建立Wifi或蓝牙直连通道,实现电子设备100与NFC外部设备双方的信号连接。参考表一,所示为不同类型的手机与电子设备100进行NFC识别时的NFC识别范围的表格。其中,NFC识别范围是指NFC外部设备能够与电子设备100进行NFC连接的距离范围。例如在如下关系中,型号1手机与电子设备100进行NFC识别的NFC识别范围为0mm-7mm,型号2手机与电子设备100进行NFC识别的NFC识别范围为0mm-13mm。本实施例中,所述电子设备100可以为笔记本电脑、平板、显示屏等设备。所述NFC外部设备可以为手机、平板、穿戴式等设备。
手机机型 型号1 型号2 型号3 型号4
NFC识别范围 0mm-7mm 0mm-13mm 0mm-14mm 0mm-9mm
需要说明的是,本申请还提供一种NFC通信方法。所述NFC通信方法应用在电子设备100中。参考图7,所示为本申请一实施例提供的NFC通信方法的示意图。所述方法包括如下步骤。
步骤S701,接收NFC外部设备发送的连接请求。
本实施例中,所述连线请求为短距离无线通信请求,例如,所述连线请求为NFC连接请求、WiFi连接请求、蓝牙连接请求。以下为描述方便,以PC为电子设备100,以手机为NFC外部设备、以NFC连接请求为例描述本申请中的NFC通信方法的具体内容。参考图8A,将手机靠近PC并进入手机的NFC识别范围内时,手机向PC发送连接请求,PC接收手机发送的连接请求。
步骤S702,响应于所述连接请求,在所述显示屏1的第一区域80显示提示信息,所述第一区域80包含NFC标签3在显示屏1的正投影,所述提示信息用于提示用户将所述电子设备100贴近所述第一区域。
本实施例中,所述第一区域80包含NFC标签3在显示屏1的正投影是指NFC标签3在显示屏1的正投影在所述第一区域80中,且NFC标签3在显示屏1的正投影的面积小于或等于所述第一区域80的面积。参考图8B,PC响应于所述连接请求,在所述显示屏1的第一区域80显示提示信息,用于提示用户将手机贴近所述第一区域80。在一实施例中,所述提示信息包括图框或图标。所述图框或图标可以由实线或虚线构成。所述图框或图标在所述第一区域80的位置与所述NFC标签3在显示屏1的正投影的位置正对。在另一实施例中,所述提示信息可以为语音、文字或动画指导信息,用于指导用户将手机与PC进行连接的操作。在另一实施例中,所述提示信息包括NFC标签3在显示屏1的正投影的具体位置。需要说明的是,本申请通过提示信息提示用户电子设备100的NFC识别区域的位置,帮助用户快速建立与电子设备100的通信连接。
步骤S703,根据连接请求获取NFC外部设备的设备信息并与所述NFC外部设备建立通信连接。
本实施例中,所述连接请求中携带有手机的设备信息。PC响应连接请求,从所述连接请求中获取手机的类型信息,并向手机发送回复信号。手机在接收到PC发送的回复信号后,手机与PC之间建立通信连接。例如,手机在接收到PC发送的回复信号后,手机与PC通过WiFi通信方式、蓝牙通信方式或NFC通信方式建立通信连接。需要说明的是,手机与PC通过WiFi通信方式、蓝牙通信方式或NFC通信方式建立通信连接的过程为现有技术,这里不再详细描述手机与PC通信连接过程建立的具体内容。步骤S704,根据所述NFC外部设备的设备信息,在所述显示屏1的第二区域显示所述NFC外部设备的屏幕内容。
参考图8C,PC获取手机的屏幕内容,根据手机的设备信息在所述显示屏1的第二区域82显示手机的屏幕内容。
参考图9所示,为本申请一实施例中确定NFC外部设备的设备信息的方法流程图。在本实施例中,所述连接请求包括NFC外部设备的NFC标签身份信息(ID)。所述NFC标签身份信息为数字或字母组成的字符串,用于标识NFC标签。所述确定NFC外部设备的设备信息的方法包括如下步骤。
步骤S901,从所述连接请求中提取所述NFC标签ID。
步骤S902,根据所述NFC标签ID获取NFC外部设备的设备信息。
需要说明的是,NFC外部设备的设备信息包括NFC外部设备的类型、NFC外部设备的型号、NFC外部设备的尺寸、NFC外部设备的生产厂商等信息,NFC外部设备的生产厂商在生产NFC外部设备(如手机)时,已将NFC外部设备的NFC标签ID与外部设备的型号及生产厂商等设备信息进行绑定。NFC外部设备的NFC标签ID与NFC外部设备的设备信息预 先存储在数据库中。电子设备100从所述连接请求中提取NFC外部设备的NFC标签ID后,根据所述NFC外部设备的NFC标签ID在数据库中查询,并确定出与所述NFC外部设备的NFC标签ID对应的设备信息。本实施例中,所述数据库包括所述NFC外部设备的NFC标签ID与所述NFC外部设备的设备信息的对应关系,其中不同的NFC外部设备的设备类型信息对应不同的NFC标签ID。在一实施例中,所述数据库存储在电子设备100的本地存储器中,电子设备100可以从本地存储器中获取数据库的数据。在另一实施例中,所述数据库存储在远端服务器中,电子设备100可以从远端服务器中获取数据库的数据。
参考图10所示,为本申请另一实施例中确定NFC外部设备的设备信息的方法流程图。所述确定NFC外部设备的设备信息的方法包括如下步骤。
步骤S1001,检测NFC外部设备的电磁波信号特征。
步骤S1002,根据所述电磁波信号特征确定NFC外部设备的设备信息。
本实施例中,由于不同的NFC外部设备的NFC标签中的NFC线圈存在差异(如线圈数量、尺寸存在差异),因而NFC外部设备向电子设备100发送的电磁波信号特征(如电磁波信号强度)之间存在差异。电子设备100根据获取的电磁波信号特征通过查找数据库确定与获取的电磁波信号特征相对应的设备信息。在具体实施例中,所述数据库包括电磁波信号特征与所述NFC外部设备的设备信息,且不同的NFC外部设备的电磁波信号特征对应不同的设备信息。
例如,型号1手机、型号2手机两个NFC外部设备的NFC标签的线圈在数量及尺寸上存在差异,因而型号1手机发送给电子设备100的电磁波信号强度与型号2手机发送给电子设备100的电磁波信号强度不相同。若电子设备100检测出的电磁波信号强度与型号1手机对应,则确定NFC外部设备的设备信息为型号1手机。
在一实施例中,所述方法根据所述NFC外部设备的设备信息,在所述显示屏1的第二区域82显示所述NFC外部设备的屏幕内容包括:根据所述NFC外部设备的设备信息确定所述第二区域82;获取所述NFC外部设备的屏幕内容;及在所述显示屏1的第二区域82显示所述NFC外部设备的屏幕内容。需要说明的是,为了提高用户对不同的NFC外部设备的感知力,不同的NFC外部设备对应不同尺寸的第二区域82,所述电子设备100根据所述NFC外部设备的设备信息确定与NFC外部设备对应的尺寸的第二区域82,及将NFC外部设备的屏幕内容显示在对应尺寸的第二区域82,如此可提高用户使用电子设备100与NFC外部设备进行交互的体验感。需要说明的是,为了提升用户在电子设备100上感知与电子设备100相通信连接的外部NFC设备的感知力,电子设备100的第二区域82的尺寸与NFC外部设备的屏幕的尺寸相当。
在一实施例中,电子设备100根据NFC外部设备的设备信息在数据库中查询与NFC外部设备的设备信息对应尺寸的第二区域82。其中,所述数据库中包括NFC外部设备的设备信息与第二区域的尺寸的对应关系,其中,不同的NFC外部设备的设备信息对应不同的第二区域82的尺寸。
在一实施例中,在所述显示屏1的第二区域82显示所述NFC外部设备的屏幕内容包括:获取NFC外部设备的屏幕内容及NFC外部设备的屏幕分辨率;获取电子设备100的第二区域82的尺寸;根据电子设备100的第二区域82的尺寸及NFC外部设备的屏幕分辨率对当前屏幕内容的图像分辨率进行调整;及将调整后的当前屏幕内容显示在屏幕显示区。
在一实施方式中,电子设备100的第二区域82的尺为a1×b1,NFC外部设备的屏幕分辨 率为a2×b2,NFC外部设备的屏幕内容的图像分辨率为a2×b2其中,a1为第二区域82的长度,b1为第二区域82的宽度;a2为NFC外部设备的屏幕水平维度显示的像素数,b2为NFC外部设备的屏幕垂直维度显示的像素数。所述根据电子设备100根据第二区域82的长度及NFC外部设备的屏幕水平维度显示的像素数确定水平维度的调整系数k1,其中k1=a1/a2;根据第二区域82的宽度及NFC外部设备的屏幕垂直维度显示的像素数确定垂直维度的调整系数k2,其中k2=b1/b2;将水平维度的调整系数k1与屏幕内容的水平维度的像素数进行相乘以对屏幕内容的水平维度的像素数进行调整,及将垂直维度的调整系数k2与屏幕内容的垂直维度的像素数进行相乘以对屏幕内容的垂直维度的像素数进行调整。
需要说明的是,为了提升用户在电子设备100上感知与电子设备100相通信连接的外部NFC设备的感知力,所述方法还包括:在所述显示屏1的第二区域82上显示NFC外部设备的外观轮廓84。参考图8C,所述电子设备100根据所述NFC外部设备的设备信息确定所述NFC外部设备的外观轮廓84,并在所述第二区域82上显示所述NFC外部设备的外观轮廓84。在一实施例中,电子设备100根据NFC外部设备的设备信息在数据库中查询与NFC外部设备的设备信息对应尺寸的外观轮廓84,在第二区域82上显示外观轮廓84。其中,所述数据库中包括NFC外部设备的设备信息与NFC外部设备的外观轮廓84的尺寸的对应关系,其中,不同的NFC外部设备的设备信息对应不同的NFC外部设备的外观轮廓84的尺寸。
在一实施例中,所述电子设备100还响应用户对第二区域82的尺寸的调整操作,对第二区域82的尺寸进行调整。本实施例中,对第二区域82的尺寸的调整操作包括双指相互远离的滑动操作及双指相互靠近的滑动操作。电子设备100响应用户对第二区域82施加的双指相互远离的滑动操作,对第二区域82的尺寸进行放大。电子设备100还响应用户对第二区域82施加的双指相互靠近的滑动操作,对第二区域82的尺寸进行缩小。在一实施例中,所述电子设备100还响应用户对第二区域82的位置的调整操作,对第二区域82的位置进行调整。本实施例中,对第二区域82的位置的调整操作包括单指滑动操作。电子设备100响应用户对第二区域82施加的单指滑动操作,对第二区域82的位置进行移动。
在一实施例中,电子设备100还响应用户通过电子设备100上的第二区域82显示的屏幕内容的操作,对NFC外部设备的至少一个应用进行控制。具体地,NFC外部设备将包括至少一应用的桌面内容投屏在电子设备100上的第二区域82。电子设备100响应用户在第二显示区域82上对NFC外部设备的应用的控制操作,根据控制操作的应用对象及操作类型确定控制信息,并向NFC外部设备发送所述控制信息,其中所述控制信息携带有应用对象及操作类型。所述NFC外部设备响应于接收到的控制信息,从控制信息中提取应用对象及操作类型,根据应用对象确定目标应用,及根据操作类型对目标应用进行相应的控制。本实施例中,所述操作类型包括开启应用操作、删除应用操作、关闭应用操作。所述NFC外部设备检测屏幕内容是否发生变化,并在确定屏幕内容发生变化时将变化的屏幕内容投屏到电子设备100的第二区域82。
参考图11A,手机将包括相机应用的桌面内容投屏在PC上的第二区域82。PC响应用户在第二显示区域82上对手机的相机应用的开启操作(如点击操作),确定应用对象为相机应用及确定操作类型为开启操作,生成与相机应用及开启操作对应的控制信息,并将控制信息发送给手机。参考图11B,手机响应于接收到的控制信息,根据控制信息中的应用对象确定目标应用为相机应用,及根据控制信息中的开启操作将相机应用进行开启。参考图11C,手机在开启相机应用后手机的屏幕内容为摄像头采集信息的界面,手机检测到屏幕内容发生变 化后将摄像头采集信息的界面投屏到PC的第二区域82。从而实现PC与手机与PC的多屏协同功能。
在一实施例中,为了不影响电子设备100的显示屏1所显示内容的整洁度,所述电子设备100在获取到激活NFC功能的操作时,在显示屏1的第一区域80上显示提示信息向用户指示电子设备100的NFC识别区域的位置。在具体实施过程中,激活NFC功能的操作包括触发组合键的操作,所述组合键可以根据用户的需要进行设定,本申请实施例对此不作限制。例如,将“Ctrl+t”的组合键设定为激活NFC功能的操作,当用户触发组合键“Ctrl+t”激活NFC功能时,所述电子设备100在显示屏1上显示图框或图标作为指示电子设备100的NFC识别区域的提示信息。
下面对本申请实施例涉及的电子设备100进行介绍。请参考图12,图12是本申请实施例提供的电子设备100的结构示意图。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备100供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大, 经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如 借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。
随机存取存储器可以包括静态随机存储器(static random-access memory,SRAM)、动态随机存储器(dynamic random access memory,DRAM)、同步动态随机存储器(synchronous dynamic random access memory,SDRAM)、双倍资料率同步动态随机存取存储器(double datarate synchronous dynamic random access memory,DDR SDRAM,例如第五代DDR SDRAM一般称为DDR5SDRAM)等;
非易失性存储器可以包括磁盘存储器件、快闪存储器(flash memory)。
快闪存储器按照运作原理划分可以包括NOR FLASH、NAND FLASH、3D NAND FLASH等,按照存储单元电位阶数划分可以包括单阶存储单元(single-level cell,SLC)、多阶存储单元(multi-level cell,MLC)、三阶储存单元(triple-level cell,TLC)、四阶储存单元(quad-level cell,QLC)等,按照存储规范划分可以包括通用闪存存储(英文:universal flash storage,UFS)、嵌入式多媒体存储卡(embedded multi media Card,eMMC)等。
随机存取存储器可以由处理器110直接进行读写,可以用于存储操作系统或其他正在运行中的程序的可执行程序(例如机器指令),还可以用于存储用户及应用程序的数据等。
非易失性存储器也可以存储可执行程序和存储用户及应用程序的数据等,可以提前加载到随机存取存储器中,用于处理器110直接进行读写。
外部存储器接口120可以用于连接外部的非易失性存储器,实现扩展电子设备100的存储能力。外部的非易失性存储器通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部的非易失性存储器中。
内部存储器121或外部存储器接口120用于存储一个或多个计算机程序。一个或多个计算机程序被配置为被该处理器110执行。该一个或多个计算机程序包括多个指令,多个指令被处理器110执行时,可实现上述实施例中在电子设备100上执行NFC通信方法,以实现电子设备100的基于NFC标签建立NFC连接的功能。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备 100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备100平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备100上运行时,使得电子设备100执行上述相关方法步骤实现上述实施例中的NFC通信方法。
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的NFC通信方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的NFC通信方法。
其中,本实施例提供的电子设备100、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的 方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上实施方式仅用以说明本申请的技术方案而非限制,尽管参照以上较佳实施方式对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换都不应脱离本申请技术方案的精神和范围。

Claims (26)

  1. 一种电子设备,其特征在于,包括:显示屏、壳体本体及NFC标签,所述显示屏安装在所述壳体本体上,所述显示屏包括显示面板、导光片、反射膜和支撑板,所述显示面板、所述导光片、所述反射膜、所述支撑板依次叠置在一起,所述支撑板包括开孔,所述NFC标签贴附在所述壳体本体的内表面上,所述开孔在所述内表面的正投影与所述NFC标签重叠。
  2. 根据权利要求1所述的电子设备,其特征在于,所述开孔位于所述支撑板的预设位置。
  3. 根据权利要求1或2所述的电子设备,其特征在于,所述NFC标签的尺寸小于所述开孔的尺寸。
  4. 根据权利要求1所述的电子设备,其特征在于,所述开孔的形状与所述NFC标签的形状相匹配。
  5. 根据权利要求1所述的电子设备,其特征在于,所述壳体本体包括屏幕背面部件,所述屏幕背面部件面向所述支撑板的一面形成所述内表面,所述支撑板固定安装在所述壳体本体的屏幕背面部件上。
  6. 根据权利要求5所述的电子设备,其特征在于,所述屏幕背面部件的材料为铝合金、镁合金或塑胶材料。
  7. 根据权利要求1至6任一项所述的电子设备,其特征在于,所述显示屏为LCD显示屏。
  8. 根据权利要求1至6任一项所述的电子设备,其特征在于,所述支撑板的材料包括铁、镍、铬、钛、铝、镁元素或其合金。
  9. 根据权利要求1至6任一项所述的电子设备,其特征在于,所述支撑板为钢片,所述钢片为经过去磁处理的钢片。
  10. 根据权利要求9所述的电子设备,其特征在于,所述钢片的材料为不锈钢。
  11. 一种电子设备,其特征在于,包括:显示屏、壳体本体及NFC标签,所述显示屏安装在所述壳体本体上,所述显示屏包括显示面板及支撑板,所述支撑板包括开孔,所述NFC标签贴附在所述壳体本体的内表面上,所述开孔在所述内表面的正投影与所述NFC标签重叠。
  12. 根据权利要求11所述的电子设备,其特征在于,所述壳体本体包括屏幕背面部件,所述屏幕背面部件面向所述支撑板的一面形成所述内表面,所述支撑板固定安装在所述壳体本体的屏幕背面部件上。
  13. 根据权利要求12所述的电子设备,其特征在于,所述屏幕背面部件的材料为铝合金、镁合金或塑胶材料。
  14. 根据权利要求11所述的电子设备,其特征在于,所述显示屏为OLED屏。
  15. 根据权利要求11至14任一项所述的电子设备,其特征在于,所述支撑板为钢片,所述钢片为经过去磁处理的钢片。
  16. 根据权利要求15所述的电子设备,其特征在于,所述钢片的材料为不锈钢。
  17. 一种NFC通信方法,应用在如权利要求1至16中任一项所述的电子设备中,其特征在于,所述方法包括:
    接收NFC外部设备发送的连接请求;
    响应于所述连接请求,在所述显示屏的第一区域显示提示信息,所述第一区域包含NFC标签在显示屏的正投影,所述提示信息用于提示用户将所述电子设备贴近所述第一区域;
    根据所述连接请求获取所述NFC外部设备的设备信息并与所述NFC外部设备建立通信连接;
    根据所述NFC外部设备的设备信息,在所述显示屏的第二区域显示所述NFC外部设备的屏幕内容。
  18. 根据权利要求17所述的NFC通信方法,其特征在于,所述连接请求包括NFC外部设备的NFC标签ID;
    所述根据所述连接请求获取所述NFC外部设备的设备信息,包括:
    从所述连接请求中提取所述NFC标签ID;
    根据所述NFC标签ID获取所述NFC外部设备的设备信息。
  19. 根据权利要求18所述的NFC通信方法,其特征在于,所述根据所述NFC标签ID获取所述NFC外部设备的设备信息,包括:
    根据所述NFC标签ID在数据库中查询所述NFC标签ID对应的设备信息,其中所述数据库包括所述NFC标签ID与所述NFC外部设备的设备信息的对应关系。
  20. 根据权利要求17所述的NFC通信方法,其特征在于,所述根据所述连接请求获取所述NFC外部设备的设备信息,包括:
    检测所述NFC外部设备的电磁波信号特征;
    根据所述电磁波信号特征确定所述NFC外部设备的设备信息。
  21. 根据权利要求20所述的NFC通信方法,其特征在于,所述根据所述电磁波信号特征确定所述NFC外部设备的设备信息,包括:
    根据所述电磁波信号特征在数据库中查询与所述电磁波信号特征对应的设备信息,其中,所述数据库包括电磁波信号特征与所述NFC外部设备的设备信息。
  22. 根据权利要求17所述的NFC通信方法,其特征在于,所述在所述屏幕的第二区域显示所述NFC外部设备的屏幕内容,包括:
    获取所述NFC外部设备的屏幕内容及所述NFC外部设备的屏幕分辨率;
    获取所述第二区域的尺寸;
    根据所述第二区域的尺寸及所述NFC外部设备的屏幕分辨率对所述屏幕内容的图像分辨率进行调整;
    将调整后的所述屏幕内容显示在所述第二区域。
  23. 根据权利要求17所述的NFC通信方法,其特征在于,所述在所述显示屏的第一区域显示提示信息包括:
    获取激活所述电子设备的NFC功能的操作;
    响应于获取的所述激活所述电子设备的NFC功能的操作,在所述显示屏的第一区域显示所述提示信息。
  24. 根据权利要求17至23任一项所述的NFC通信方法,其特征在于,所述提示信息包括图框或图标。
  25. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有程序指令,当所述程序指令在电子设备上运行时,使得所述电子设备执行如权利要求17至24任一项所述的NFC通信方法。
  26. 一种程序产品,程序产品包括程序代码,其特征在于,所述程序产品运行所述程序代码用于执行如权利要求17至24任一项所述的NFC通信方法,通过运行该程序产品中的程序 代码。
PCT/CN2022/114950 2021-12-08 2022-08-25 一种nfc通信方法、电子设备、存储介质及程序产品 WO2023103463A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202111491715.8 2021-12-08
CN202111491715 2021-12-08
CN202210129280.0 2022-02-11
CN202210129280.0A CN116243759B (zh) 2021-12-08 2022-02-11 一种nfc通信方法、电子设备、存储介质及程序产品

Publications (1)

Publication Number Publication Date
WO2023103463A1 true WO2023103463A1 (zh) 2023-06-15

Family

ID=86624777

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/114950 WO2023103463A1 (zh) 2021-12-08 2022-08-25 一种nfc通信方法、电子设备、存储介质及程序产品

Country Status (2)

Country Link
CN (1) CN116243759B (zh)
WO (1) WO2023103463A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130090073A1 (en) * 2011-10-07 2013-04-11 Research In Motion Limited Electronic device with nfc antenna adjacent display and related methods
CN105552526A (zh) * 2016-02-26 2016-05-04 广东欧珀移动通信有限公司 移动终端
CN106101303A (zh) * 2015-04-30 2016-11-09 Lg电子株式会社 移动终端
CN111399789A (zh) * 2020-02-20 2020-07-10 华为技术有限公司 界面布局方法、装置及系统
CN112181342A (zh) * 2020-10-15 2021-01-05 Oppo广东移动通信有限公司 显示方法、装置、电子设备以及存储介质

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004215225A (ja) * 2002-12-17 2004-07-29 Sony Corp 通信システムおよび通信方法、並びにデータ処理装置
US20070218837A1 (en) * 2006-03-14 2007-09-20 Sony Ericsson Mobile Communications Ab Data communication in an electronic device
TWI561022B (en) * 2012-12-17 2016-12-01 Hon Hai Prec Ind Co Ltd Nfc terminal and power saving method thereof
KR102369540B1 (ko) * 2015-11-02 2022-03-03 삼성전자주식회사 근거리 무선 통신 장치를 포함하는 전자 장치 및 이를 포함하는 모바일 시스템
CN206574841U (zh) * 2017-03-30 2017-10-20 深圳市沃特沃德股份有限公司 显示组件及移动终端
CN115629730A (zh) * 2019-07-23 2023-01-20 华为技术有限公司 显示方法及相关装置
CN112291764B (zh) * 2019-08-06 2023-04-07 华为技术有限公司 一种内容接续系统
KR102667326B1 (ko) * 2019-08-27 2024-05-21 삼성전자주식회사 디스플레이 장치 및 그 제어방법
CN111860016A (zh) * 2020-07-15 2020-10-30 维沃移动通信有限公司 近场通信nfc的信息显示方法、装置及电子设备
CN113258286B (zh) * 2021-04-19 2023-01-03 荣耀终端有限公司 一种电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130090073A1 (en) * 2011-10-07 2013-04-11 Research In Motion Limited Electronic device with nfc antenna adjacent display and related methods
CN106101303A (zh) * 2015-04-30 2016-11-09 Lg电子株式会社 移动终端
CN105552526A (zh) * 2016-02-26 2016-05-04 广东欧珀移动通信有限公司 移动终端
CN111399789A (zh) * 2020-02-20 2020-07-10 华为技术有限公司 界面布局方法、装置及系统
CN112181342A (zh) * 2020-10-15 2021-01-05 Oppo广东移动通信有限公司 显示方法、装置、电子设备以及存储介质

Also Published As

Publication number Publication date
CN116243759A (zh) 2023-06-09
CN116243759B (zh) 2024-04-02

Similar Documents

Publication Publication Date Title
KR102630338B1 (ko) 애플리케이션 디스플레이 방법 및 전자 장치
WO2021213120A1 (zh) 投屏方法、装置和电子设备
WO2021078284A1 (zh) 一种内容接续方法及电子设备
CN111046680B (zh) 一种翻译方法及电子设备
WO2021027666A1 (zh) 一种蓝牙回连的方法及相关装置
CN114189846B (zh) 避免漏接电话的方法、系统、电子设备及存储介质
WO2022042637A1 (zh) 一种蓝牙数据传输方法及相关装置
WO2023273543A1 (zh) 一种文件夹管理方法及装置
CN113986369B (zh) 物联网设备控制方法、系统、电子设备及存储介质
WO2021121036A1 (zh) 一种折叠设备的自定义按键方法、设备及存储介质
WO2023179123A1 (zh) 蓝牙音频播放方法、电子设备及存储介质
WO2023029916A1 (zh) 批注展示方法、装置、终端设备及可读存储介质
CN115022982B (zh) 多屏协同无感接入方法、电子设备及存储介质
WO2023103463A1 (zh) 一种nfc通信方法、电子设备、存储介质及程序产品
WO2023071441A1 (zh) 通信录字母的显示方法、装置和终端设备
CN114285946B (zh) 携号转网号码显示方法、电子设备及存储介质
WO2023207799A1 (zh) 消息处理方法和电子设备
CN114268689B (zh) 蓝牙设备的电量显示方法、终端及存储介质
WO2023221895A1 (zh) 一种目标信息的处理方法、装置以及电子设备
WO2023221917A1 (zh) 账户屏蔽方法、通信系统及电子设备
WO2024060968A1 (zh) 管理服务卡片的方法和电子设备
WO2023241558A1 (zh) 通信方法、通信系统和鼠标
CN115529379B (zh) 防止蓝牙音频Track音轨抖动的方法、电子设备及存储介质
WO2023202395A1 (zh) 界面布局方法和装置
WO2022111593A1 (zh) 一种用户图形界面显示方法及其装置

Legal Events

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

Ref document number: 22902896

Country of ref document: EP

Kind code of ref document: A1