CN113316132A - Near field communication control method, terminal device, network device and storage medium - Google Patents

Near field communication control method, terminal device, network device and storage medium Download PDF

Info

Publication number
CN113316132A
CN113316132A CN202110589492.2A CN202110589492A CN113316132A CN 113316132 A CN113316132 A CN 113316132A CN 202110589492 A CN202110589492 A CN 202110589492A CN 113316132 A CN113316132 A CN 113316132A
Authority
CN
China
Prior art keywords
near field
field communication
communication module
wire protocol
information management
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110589492.2A
Other languages
Chinese (zh)
Inventor
邓伟伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110589492.2A priority Critical patent/CN113316132A/en
Publication of CN113316132A publication Critical patent/CN113316132A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/30Security of mobile devices; Security of mobile applications
    • H04W12/37Managing security policies for mobile devices or for controlling mobile applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a control method of near field communication. Receiving an information management instruction issued by network equipment according to a user request; determining a target state of the near field communication module according to the information management instruction; and sending the information management instruction to the terminal equipment so as to connect or disconnect a single-wire protocol switch between the near field communication module of the terminal equipment and the embedded safety unit. According to the near field communication control method, the applied near field communication module and the embedded safety unit are communicated through the single-wire protocol switch, a user can apply for controlling the state of the single-wire protocol switch through the cloud, after the verification of the identity is verified, the background network equipment issues a corresponding control instruction, and therefore the single-wire protocol switch is communicated or disconnected, when the user finds that the terminal equipment is lost or stolen, the ESE card simulation function of the remote management terminal equipment can be achieved, and the safety and the user trust degree of the terminal equipment are improved.

Description

Near field communication control method, terminal device, network device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a control method for near field communication, a terminal device, a network device, and a non-volatile computer-readable storage medium.
Background
In the related art, an Embedded Secure Element (ESE) is arranged in a terminal device, so that data security can be protected, the ESE is used for storing cards such as bank cards, bus cards and access cards, and the terminal is supported to swipe cards in a non-unlocking state or a shutdown state. Generally, a card in the ESE may be confirmed by using a password or a biometric feature to realize a transaction, and in a scenario requiring a small transaction and convenience, such as public transportation and entrance guard, authentication information may not be set. So, stolen or lose the back of terminal equipment, other people still can use the terminal to brush public transit or entrance guard, cause the potential safety hazard.
Disclosure of Invention
The embodiment of the application provides a control method of near field communication, terminal equipment, network equipment and a non-volatile computer readable storage medium.
The control method of near field communication of the embodiment of the application is used for terminal equipment and comprises the following steps:
receiving an information management instruction issued by network equipment according to a user request;
determining a target state of the near field communication module according to the information management instruction;
and controlling a single-wire protocol switch between the near field communication module and the embedded safety unit to be connected or disconnected according to the target state.
The control method of near field communication of the embodiment of the application is used for network equipment and comprises the following steps:
receiving a user request of a near field communication module of a management terminal device to check the user request according to user information;
under the condition that the user request is approved, generating an information management instruction according to the user request;
and sending the information management instruction to the terminal equipment so as to enable a single-wire protocol switch between a near field communication module of the terminal equipment and the embedded safety unit to be connected or disconnected.
The terminal device of the embodiment of the application comprises:
the receiving module is used for receiving an information management instruction issued by the network equipment according to the user request;
the determining module is used for determining the target state of the near field communication module according to the information management instruction;
and the control module is used for controlling the connection or disconnection of the single-wire protocol switch between the near field communication module and the embedded safety unit according to the target state.
The network device of the embodiment of the application comprises:
the request module is used for receiving a user request of the near field communication module of the management terminal equipment so as to check the user request according to the user information;
the generating module is used for generating an information management instruction according to the user request under the condition that the user request is approved;
and the sending module sends the information management command to the terminal equipment so as to enable a single-wire protocol switch between the near field communication module of the terminal equipment and the embedded safety unit to be connected or disconnected.
The terminal device of the embodiment of the application comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor is used for:
receiving an information management instruction issued by network equipment according to a user request;
determining a target state of the near field communication module according to the information management instruction;
and controlling a single-wire protocol switch between the near field communication module and the embedded safety unit to be connected or disconnected according to the target state.
The network device of the embodiment of the application comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor is used for:
receiving a user request of a near field communication module of a management terminal device to check the user request according to user information;
under the condition that the user request is approved, generating an information management instruction according to the user request;
and sending the information management instruction to the terminal equipment so as to enable a single-wire protocol switch between a near field communication module of the terminal equipment and the embedded safety unit to be connected or disconnected.
The present application provides a non-transitory computer-readable storage medium of a computer program, which when executed by one or more processors, is to:
receiving an information management instruction issued by network equipment according to a user request;
determining a target state of the near field communication module according to the information management instruction;
controlling a single-wire protocol switch between the near field communication module and the embedded safety unit to be connected or disconnected according to the target state;
receiving a user request of a near field communication module of a management terminal device to check the user request according to user information;
under the condition that the user request is approved, generating an information management instruction according to the user request;
and sending the information management instruction to the terminal equipment so as to enable a single-wire protocol switch between a near field communication module of the terminal equipment and the embedded safety unit to be connected or disconnected.
According to the near field communication control method, the terminal device, the network device and the nonvolatile computer readable storage medium, the applied near field communication module and the embedded security unit are communicated through the single-wire protocol switch, a user can apply for controlling the state of the single-wire protocol switch through a cloud, after the verification of the identity is passed, the background network device issues a corresponding control instruction, and therefore the single-wire protocol switch is communicated or disconnected, when the user finds that the terminal device is lost or stolen, the ESE card simulation function of the remote management terminal device can be achieved, and the security of the terminal device and the user trust level are improved.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a control method of near field communication according to some embodiments of the present application;
fig. 2 is a schematic flow chart of a control method of near field communication according to some embodiments of the present application;
FIG. 3 is a block diagram of a terminal device according to some embodiments of the present application;
FIG. 4 is a block diagram of a network device according to some embodiments of the present application;
FIG. 5 is a schematic diagram of a terminal device of some embodiments of the present application;
FIG. 6 is a schematic diagram of a network device of some embodiments of the present application;
FIG. 7 is a diagram of a near field communication framework of certain embodiments of the present application;
fig. 8 is a schematic flow chart of a control method of near field communication according to some embodiments of the present application;
fig. 9 is a schematic flow chart of a control method of near field communication according to some embodiments of the present application;
fig. 10 is a schematic flow chart of a control method of near field communication according to some embodiments of the present application;
fig. 11 is a schematic flow chart of a control method of near field communication according to some embodiments of the present application;
FIG. 12 is a block diagram of a terminal device according to some embodiments of the present application;
fig. 13 is a flowchart illustrating a control method of a terminal device according to some embodiments of the present application;
FIG. 14 is a block diagram of a network device according to some embodiments of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The ESE arranged in the terminal equipment can store cards such as bank cards, bus cards, access control cards and the like. Generally, a card in the ESE can be confirmed by using a password or a biological characteristic to realize a transaction, and under a scene that small-amount transaction and convenience are needed, such as public transportation, entrance guard and the like, a user generally cannot set the password or the biological characteristic, so that after the terminal device is stolen or lost, other people can still use the terminal device to swipe the public transportation, the entrance guard and the like, even malicious swiping behaviors may occur, and under the condition that the user cannot find the terminal device in time, the property safety of the user is difficult to guarantee.
Referring to fig. 1, an embodiment of the present application provides a control method for near field communication, which is used for a terminal device. The control method comprises the following steps:
01: receiving an information management instruction issued by network equipment according to a user request;
02: determining a target state of the near field communication module according to the information management instruction;
03: and controlling the connection or disconnection of the single-wire protocol switch between the near field communication module and the embedded safety unit according to the target state.
Referring to fig. 2, an implementation method of the present application further provides a near field communication control method for a network device, where the control method includes:
11: receiving a user request of a near field communication module of the management terminal equipment so as to audit the user request according to the user information;
12: under the condition that the user requests to pass the audit, generating an information management instruction according to the user request;
13: and sending the information management instruction to the terminal equipment so as to connect or disconnect a single-wire protocol switch between the near field communication module of the terminal equipment and the embedded safety unit.
Referring to fig. 3, a terminal device 110 is provided in the embodiments of the present application, and the method for controlling near field communication in the embodiments of the present application may be implemented by the terminal device 110.
Specifically, the terminal device 110 includes a receiving module 111, a determining module 112, and a control module 113. Wherein, step 01 can be implemented by the receiving module 111, step 02 can be implemented by the determining module 112, and step 03 can be implemented by the controlling module 113. Or, the receiving module 111 is configured to receive an information management instruction issued by the network device according to the user request; the determining module 112 is configured to determine a target state of the near field communication module according to the information management instruction; the control module 113 is used for controlling the on/off of the single-wire protocol switch between the near field communication module and the embedded security unit according to the target state.
The terminal device 110 may be a smart phone, a tablet computer, a smart band, etc., which is not limited herein, and the smart phone is taken as an example for description below.
Referring to fig. 4, an embodiment of the present application further provides a network device 120, and the method for controlling near field communication according to the embodiment of the present application may be implemented by the network device 120.
Specifically, the network device 120 includes a request module 121, a generation module 122, and a sending module 123. Wherein, step 11 can be implemented by the request module 121, step 12 can be implemented by the generation module 122, and step 13 can be implemented by the sending module 123. Or, the request module 121 is configured to receive a user request of the near field communication module of the management terminal device 110, so as to audit the user request according to the user information; the generating module 122 is configured to generate an information management instruction according to the user request when the user request is approved; the sending module 123 is configured to send an information management instruction to the terminal device 110 so as to connect or disconnect a single-wire protocol switch between the near field communication module of the terminal device 110 and the embedded security unit.
Referring to fig. 5, the terminal device 200 according to the present embodiment of the present application includes a memory 22 and a processor 24, where the processor 24 is configured to receive an information management instruction issued by the network device 120 according to a user request; the near field communication module is used for determining a target state of the near field communication module according to the information management instruction; and the near field communication module is used for controlling the connection or disconnection of the single-wire protocol switch between the near field communication module and the embedded safety unit according to the target state.
Referring to fig. 6, the present embodiment further provides a network device 300, where the network device 300 includes a memory 32 and a processor 34, and the processor 34 is configured to receive a user request of the near field communication module of the management terminal device 110 to audit the user request according to the user information; the information management device is used for generating an information management instruction according to the user request under the condition that the user request is approved; and sending the information management instruction to the terminal device 110 so as to connect or disconnect a single-wire protocol switch between the near field communication module of the terminal device 110 and the embedded security unit.
Near Field Communication (NFC) is a short-range, high-frequency wireless Communication technology. The near field communication can realize communication within a short distance between devices, and has the functions of mobile payment, data transmission, access control and the like.
The terminal device 110 contains an authentication service and a push service. The authentication service is used to verify whether the target is secure and legitimate, thereby determining whether the target has the right to access the terminal device 110. The push service is used to send information to other devices, which may be the network device 120, or other terminal devices, and the like, without limitation.
The framework of near field communication in the terminal device 110 is shown in fig. 7.
An Embedded Secure Element (ESE) is an important module in near field communication, and is used for protecting data security, card data such as bank cards, bus cards, access cards and the like can be stored in the Embedded Secure Element, and a user can manually delete the card data in the Embedded Secure Element. When the terminal device 110 is restored to the factory setting, the embedded security unit therein does not delete the card data therein.
The near field communication module is an NFC chip, and is placed in the terminal device 110 to enable the terminal device 110 to implement an NFC function.
The firmware layer comprises a near field communication module and an embedded security unit. The near field communication function is realized by the near field communication module and the embedded security unit, and the near field communication module and the embedded security unit are arranged in the terminal device 110, so that the near field communication function can be realized. The near field communication chip is used for realizing communication with an external non-contact terminal, and the embedded safety unit is used for realizing safety processing of interactive data between the near field communication chip and the external non-contact terminal and protecting the data. The near field communication module communicates with the embedded security unit through the single-wire protocol switch.
The single-wire protocol switch is positioned between the near field communication module and the embedded safety unit, is a logic switch and can be connected and disconnected. When the single-wire protocol switch is connected, the near field communication module is connected with the embedded security unit, and at this time, the terminal device 110 can realize the function of near field communication; when the single-wire protocol switch is turned off, the nfc module and the embedded security unit are not connected, and at this time, the terminal device 110 cannot implement the function of nfc.
The near field communication service module is in communication connection with the near field communication module and can be used for realizing related functions of near field communication.
The hardware abstraction layer is an interface layer between the near field communication service module and the kernel layer. Different application programs generally need different hardware platforms when running, hardware interface details are hidden in the hardware abstraction layer, a virtual hardware platform is provided for the embedded real-time operating system, and therefore different application programs can run on the same hardware platform.
The kernel layer comprises embedded real-time operating systems, and different embedded real-time operating systems have different hardware interface forms. The hardware abstraction layer hides the details of the hardware interface and simplifies the complex relationship between the embedded real-time operating system and the hardware interface.
The cloud may be a virtualized online platform, and the terminal device manufacturer may receive an information management request from a user using the cloud and send an information management instruction to the terminal device 110 through the network device 120.
The network device 120 is generally managed by a terminal device manufacturer, the network device 120 may contain user information of a plurality of users, and the terminal device manufacturer may determine the terminal device 110 corresponding to the user through the user information and issue an information management instruction to the corresponding terminal device 110 according to the user information and an information management request issued by the user. The network device 120 may be a server, and is not particularly limited.
The user may send an information management request to the cloud by logging in the cloud account, where the information management request may be a request to disable or enable the near field communication function of the terminal device 110.
In some embodiments, the user may also directly issue an information management request to the terminal device vendor.
It should be noted that the manner in which the user issues the information management request is not limited to the above-described embodiment, but may be flexibly handled according to actual situations. For example, the user may send an information management request to a cloud or a terminal device manufacturer by sending a mail.
The terminal equipment manufacturer may formulate a corresponding information management instruction according to the information management request sent by the user, and send the information management instruction to the terminal equipment 110 through the network equipment 120, so as to control the opening or the disabling of the near field communication function of the terminal equipment 110.
According to the information management instruction, a target state of the near field communication module can be determined. According to the target state, the connection and disconnection of the single-wire protocol switch can be controlled. The target state of the near field communication module may be an enabled state or a disabled state.
Specifically, after the user loses the terminal device 110, the user may send an information management request to the cloud, and after the terminal device manufacturer reviews the user information, the network device 120 is controlled to send an information management instruction to the terminal device 110 according to the information management request of the user. When the terminal device 110 receives the information management instruction, the target state of the near field communication module is determined. And connecting or disconnecting the single-wire protocol switch between the near field communication module and the embedded safety unit according to the target state of the near field communication module.
When the information management request of the user is to disable the nfc function, the network device 120 may issue an information management instruction for disabling the nfc module, and after receiving the information management instruction issued by the network device 120, the terminal device 110 may determine that the target state of the nfc module is a disabled state according to the information management instruction, and disconnect the single-wire protocol switch between the nfc module and the embedded security unit.
When the information management request of the user is to start the nfc function, the network device 120 may issue an information management instruction for starting the nfc module, and after receiving the information management instruction issued by the network device 120, the terminal device 110 may determine that the target state of the nfc module is a start state according to the information management instruction, and communicate the single-wire protocol switch between the nfc module and the embedded security unit.
The near field communication module is communicated with the embedded safety unit through the single-wire protocol switch, a user applies for controlling the state of the single-wire protocol switch, and after the user identity is verified, the background network equipment 120 issues a corresponding information management instruction so as to connect or disconnect the single-wire protocol switch. Therefore, when the user finds that the terminal device 110 is lost or stolen, the near field communication function of the terminal device 110 can be remotely managed, so that the property safety of the user can be protected, and the safety and the user trust level of the terminal device 110 are improved.
Referring to fig. 8, in some embodiments, 02 includes:
021: and receiving the information management instruction through the authentication service to determine the target state of the near field communication module and generate a control instruction.
In certain embodiments, step 021 may be implemented by determination module 112. In other words, the determining module 112 is configured to determine the target status of the near field communication module by authenticating the received information management command and generate the control command.
In some embodiments, processor 24 is configured to determine a target state of the near field communication module and generate control instructions by receiving information management instructions through the authentication service.
Specifically, the authentication service is used to verify whether the information management command is secure and legitimate, so as to determine whether the information management command has the authority to access the terminal device 110. When network device 120 issues an instruction to terminal device 110, the authentication service of terminal device 110 is invoked. And after the authentication service confirms that the information management instruction is safe and legal and has access authority, receiving the information management instruction, determining the target state of the near field communication module according to the information management instruction, and generating a corresponding control instruction according to the target state.
After the authentication service confirms that the information management instruction is safe and legal and has access right, the terminal device 110 receives the information management instruction, if the information management instruction is to disable the near field communication module, the target state of the near field communication module is determined to be the disabled state, and a control instruction for disconnecting the single-wire protocol switch between the near field communication module and the embedded security unit is generated. And if the information management instruction is to start the near field communication module, determining that the target state of the near field communication module is a starting state, and generating a control instruction for communicating a single-wire protocol switch between the near field communication module and the embedded safety unit.
In this way, when the terminal device 110 is lost, the user can remotely manage the near field communication function of the terminal device 110, and the terminal device 110 can autonomously determine the information management instruction and generate a corresponding control instruction. The security of the terminal device 110 is improved.
Referring to fig. 9, in some embodiments, 03 includes:
031: calling a single-wire protocol interface of the safety unit according to the control instruction;
032: and the control safety unit single wire protocol interface issues the control instruction to the firmware layer through the hardware abstraction layer and the kernel layer.
In some embodiments, step 031-. Or, the control module 113 is configured to invoke a single-wire protocol interface of the security unit according to the control instruction; and the single-wire protocol interface is used for controlling the safety unit to issue the control instruction to the firmware layer through the hardware abstraction layer and the kernel layer.
In some embodiments, processor 24 is configured to invoke the secure element single wire protocol interface in accordance with the control instruction; and the single-wire protocol interface is used for controlling the safety unit to issue the control instruction to the firmware layer through the hardware abstraction layer and the kernel layer.
Specifically, the single-wire protocol interface of the security unit is an encapsulated interface, and can be used for issuing an instruction for connecting or disconnecting the single-wire protocol switch according to the control instruction.
When the control instruction is to disconnect a single-wire protocol switch between the near field communication module and the embedded safety unit, the single-wire protocol interface of the safety unit issues an instruction to disconnect the single-wire protocol switch; and when the control instruction is a single-wire protocol switch communicated between the near field communication module and the embedded safety unit, the single-wire protocol interface of the safety unit issues an instruction communicated with the single-wire protocol switch.
The instructions issued by the embedded security unit protocol interface are finally sent to the firmware layer through the hardware abstraction layer and the kernel layer, and connection and disconnection of the single-wire protocol switch can be controlled.
Therefore, the near field communication function of the terminal equipment 110 can be turned on or off, the property safety of a user is protected, and the safety of the terminal equipment 110 is improved
Referring to fig. 10, in some embodiments, 03 includes:
033: under the condition that the target state is a forbidden state, controlling a single-wire protocol switch between the near field communication module and the embedded safety unit to be disconnected;
034: and controlling the communication of the single-wire protocol switch between the near field communication module and the embedded safety unit under the condition that the target state is the starting state.
In some embodiments, step 033- > 034 may be implemented by the control module 113. Or, the control module 113 is configured to control the one-wire protocol switch between the near field communication module and the embedded security unit to be turned off when the target state is the disabled state; and is used for controlling the communication of the single-wire protocol switch between the near field communication module and the embedded safety unit under the condition that the target state is the starting state.
In some embodiments, the processor 24 is configured to control the one-wire protocol switch between the near field communication module and the embedded security unit to open if the target state is a disabled state; and is used for controlling the communication of the single-wire protocol switch between the near field communication module and the embedded safety unit under the condition that the target state is the starting state.
Specifically, when the target state of the near field communication module is the disabled state, the control instruction is to turn off the single-wire protocol switch between the near field communication module and the embedded security unit, the single-wire protocol interface of the security unit issues the single-wire protocol switch off instruction to control the single-wire protocol switch between the near field communication module and the embedded security unit to turn off, and the near field communication function of the terminal device 110 is turned off.
When the target state of the near field communication module is the starting state, the control instruction is a single-wire protocol switch communicated between the near field communication module and the embedded security unit, the single-wire protocol interface of the security unit issues a single-wire protocol switch communication instruction to control the single-wire protocol switch between the near field communication module and the embedded security unit to be communicated, and the near field communication function of the terminal device 110 is started.
In this way, when the terminal device 110 is lost or stolen, the user can turn off the near field communication function of the terminal device 110 through the cloud. When the terminal device 110 of the user is retrieved, the near field communication function of the terminal device 110 may be restarted through the cloud. The method and the system provide convenience while guaranteeing the property safety of the user, and can improve the trust degree of the user.
Referring to fig. 11, in some embodiments, a method for controlling near field communication is used for a terminal device 110, and includes:
04: the feedback information is sent to the network device 120 according to the connection status of the single wire protocol switch.
Referring to fig. 12, in some embodiments, the terminal device 110 further includes a feedback module 114, and step 04 may be implemented by the feedback module 114. Alternatively, the feedback module 114 is configured to send feedback information to the network device 120 according to the connection status of the single-wire protocol switch.
In some embodiments, processor 24 is configured to send feedback information to network device 120 based on the connection status of the single-wire protocol switch.
Specifically, after the state of the single wire protocol switch is changed, the firmware layer sends feedback information to the near field communication service module. The nfc service module transmits the feedback information to the push service of the terminal device 110. The push service sends the feedback information into the network device 120. When the single-wire protocol switch is turned off, the feedback information may be that the single-wire protocol switch is turned off and the near field communication function is disabled; when the single-wire protocol switch is connected, the feedback information may be that the single-wire protocol switch is connected and the near field communication function is turned on.
Therefore, in the whole process, after the user sends the information management request, the control of the near field communication does not need to be operated by the user, the operation is simple and quick, convenience is provided for the user, meanwhile, the property safety of the user is guaranteed, and the safety and the user trust degree of the terminal equipment 110 are improved.
Referring to fig. 13, in some embodiments, a method for controlling near field communication is applied to a network device 120, and includes:
14: and receiving feedback information sent by the terminal equipment 110 to record the connection state of the single-wire protocol switch.
Referring to fig. 14, in some embodiments, the network device 120 further includes a recording module 124. Step 14 may be implemented by the recording module 124. Or, the recording module 124 is configured to receive feedback information sent by the terminal device 110 to record the connection state of the single-wire protocol switch.
In some embodiments, processor 34 is configured to receive feedback information sent by end device 110 to record the connection status of the single wire protocol switch.
Specifically, when the single-wire protocol switch is turned off, the feedback information may be that the single-wire protocol switch is turned off, the near field communication function is disabled, the network device 120 records that the connection state of the single-wire protocol switch is turned off, and the near field communication function of the terminal device 110 is disabled; when the single-wire protocol switch is turned on, the feedback information may be that the single-wire protocol switch is turned on, the network device 120 records that the connection state of the single-wire protocol switch is turned on, and the near field communication function of the terminal device 110 is turned on. After the recording by the network device 120 is finished, the network device 120 may notify the user in the form of mail, short message, or the like, so that the user can know the result of the information management request and whether the near field communication function of the terminal device 110 is turned on or disabled.
Therefore, in the whole process, after the user sends the information management request, the user does not need to operate the near field communication control, the operation is simple and fast, after the control on the near field communication function of the terminal device 110 is completed, the user can receive feedback information to know the state of the near field communication function of the terminal device 110, convenience is provided for the user, meanwhile, the property safety of the user is guaranteed, and the safety and the user trust degree of the terminal device 110 are improved.
The embodiment of the invention also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the control method of any of the embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A control method of near field communication, which is used for a terminal device, and is characterized in that the control method comprises the following steps:
receiving an information management instruction issued by network equipment according to a user request;
determining a target state of the near field communication module according to the information management instruction;
and controlling a single-wire protocol switch between the near field communication module and the embedded safety unit to be connected or disconnected according to the target state.
2. The method of claim 1, wherein determining the target state of the near field communication module according to the information management instruction comprises:
and receiving the information management instruction through an authentication service, determining the target state of the near field communication module and generating a control instruction.
3. The control method according to claim 2, wherein the controlling the connection or disconnection of the one-wire protocol switch between the near field communication module and the embedded security unit according to the target state of the near field communication module comprises:
calling a single-wire protocol interface of a safety unit according to the control instruction;
and controlling the single-wire protocol interface of the safety unit to issue the control instruction to the firmware layer through the hardware abstraction layer and the kernel layer.
4. The control method according to claim 1, wherein the controlling the connection or disconnection of the one-wire protocol switch between the near field communication module and the embedded security unit according to the target state of the near field communication module comprises:
under the condition that the target state is a forbidden state, controlling a single-wire protocol switch between the near field communication module and the embedded safety unit to be disconnected;
and controlling the communication of the single-wire protocol switch between the near field communication module and the embedded safety unit under the condition that the target state is the starting state.
5. The control method according to claim 1, characterized by comprising:
and sending feedback information to the network equipment according to the connection state of the single-wire protocol switch.
6. A control method of near field communication for a network device, the control method comprising:
receiving a user request of a near field communication module of a management terminal device to check the user request according to user information;
under the condition that the user request is approved, generating an information management instruction according to the user request;
and sending the information management instruction to the terminal equipment so as to enable a single-wire protocol switch between a near field communication module of the terminal equipment and the embedded safety unit to be connected or disconnected.
7. The control method according to claim 6, characterized by comprising:
and receiving feedback information sent by the terminal equipment to record the connection state of the single-wire protocol switch.
8. A terminal device, comprising:
the receiving module is used for receiving an information management instruction issued by the network equipment according to the user request;
the determining module is used for determining the target state of the near field communication module according to the information management instruction;
and the control module is used for controlling the connection or disconnection of the single-wire protocol switch between the near field communication module and the embedded safety unit according to the target state.
9. A network device, comprising:
the request module is used for receiving a user request of the near field communication module of the management terminal equipment so as to check the user request according to the user information;
the generating module is used for generating an information management instruction according to the user request under the condition that the user request is approved;
and the sending module sends the information management command to the terminal equipment so as to enable a single-wire protocol switch between the near field communication module of the terminal equipment and the embedded safety unit to be connected or disconnected.
10. A terminal device, characterized in that the terminal device comprises a processor and a memory, in which a computer program is stored which, when executed by the processor, implements the control method of any one of claims 1-5.
11. A network device comprising a processor and a memory, the memory having stored thereon a computer program which, when executed by the processor, carries out the control method of any one of claims 6 to 7.
12. A non-transitory computer-readable storage medium of a computer program, wherein the computer program, when executed by one or more processors, implements the control method of any one of claims 1-5 or 6-7.
CN202110589492.2A 2021-05-28 2021-05-28 Near field communication control method, terminal device, network device and storage medium Pending CN113316132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110589492.2A CN113316132A (en) 2021-05-28 2021-05-28 Near field communication control method, terminal device, network device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110589492.2A CN113316132A (en) 2021-05-28 2021-05-28 Near field communication control method, terminal device, network device and storage medium

Publications (1)

Publication Number Publication Date
CN113316132A true CN113316132A (en) 2021-08-27

Family

ID=77375954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110589492.2A Pending CN113316132A (en) 2021-05-28 2021-05-28 Near field communication control method, terminal device, network device and storage medium

Country Status (1)

Country Link
CN (1) CN113316132A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639890A (en) * 2009-09-04 2010-02-03 宇龙计算机通信科技(深圳)有限公司 Movable terminal, NFC device supporting a plurality of SIM cards and implementation method
US20130095810A1 (en) * 2011-10-17 2013-04-18 Capital One Financial Corporation System and Method for Providing Contactless Payment with a Near Field Communications Attachment
CN104240085A (en) * 2013-06-07 2014-12-24 中兴通讯股份有限公司 Mobile terminal and mobile payment safety verification method and device
CN104471600A (en) * 2014-04-01 2015-03-25 华为终端有限公司 Safety unit management method and terminal
CN105379171A (en) * 2013-08-12 2016-03-02 英特尔公司 Communications techniques for secure near field communication architecture
US20160127859A1 (en) * 2014-10-30 2016-05-05 Nxp B.V. Mobile device, method for facilitating a transaction, computer program, article of manufacture
US9420403B1 (en) * 2012-01-31 2016-08-16 Sprint Communications Company L.P. Remote deactivation of near field communication functionality
US20170206520A1 (en) * 2016-01-18 2017-07-20 Stmicroelectronics (Rousset) Sas Control of applications in a mobile terminal
CN110430558A (en) * 2019-06-26 2019-11-08 深圳绿米联创科技有限公司 Apparatus control method, device, electronic equipment and storage medium
CN112560082A (en) * 2020-12-01 2021-03-26 Oppo(重庆)智能科技有限公司 Method for locking terminal equipment and terminal equipment
CN112560116A (en) * 2020-12-04 2021-03-26 Oppo(重庆)智能科技有限公司 Function control method, device and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639890A (en) * 2009-09-04 2010-02-03 宇龙计算机通信科技(深圳)有限公司 Movable terminal, NFC device supporting a plurality of SIM cards and implementation method
US20130095810A1 (en) * 2011-10-17 2013-04-18 Capital One Financial Corporation System and Method for Providing Contactless Payment with a Near Field Communications Attachment
US9420403B1 (en) * 2012-01-31 2016-08-16 Sprint Communications Company L.P. Remote deactivation of near field communication functionality
CN104240085A (en) * 2013-06-07 2014-12-24 中兴通讯股份有限公司 Mobile terminal and mobile payment safety verification method and device
CN105379171A (en) * 2013-08-12 2016-03-02 英特尔公司 Communications techniques for secure near field communication architecture
CN104471600A (en) * 2014-04-01 2015-03-25 华为终端有限公司 Safety unit management method and terminal
US20160127859A1 (en) * 2014-10-30 2016-05-05 Nxp B.V. Mobile device, method for facilitating a transaction, computer program, article of manufacture
US20170206520A1 (en) * 2016-01-18 2017-07-20 Stmicroelectronics (Rousset) Sas Control of applications in a mobile terminal
CN110430558A (en) * 2019-06-26 2019-11-08 深圳绿米联创科技有限公司 Apparatus control method, device, electronic equipment and storage medium
CN112560082A (en) * 2020-12-01 2021-03-26 Oppo(重庆)智能科技有限公司 Method for locking terminal equipment and terminal equipment
CN112560116A (en) * 2020-12-04 2021-03-26 Oppo(重庆)智能科技有限公司 Function control method, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何力明等, 吉林大学出版社 *

Similar Documents

Publication Publication Date Title
US11743721B2 (en) Protection of a communication channel between a security module and an NFC circuit
US10716007B2 (en) Protection of a security module in a telecommunication device coupled to an NFC circuit
US11557164B2 (en) Contactless card personal identification system
CN106330958B (en) Secure access method and device
US20200260281A1 (en) Detection of a rerouting of a communication channel of a telecommunication device connected to an nfc circuit
CN111868726B (en) Electronic device and digital key supply method for electronic device
WO2016109643A1 (en) Security for mobile payment applications
CN101771680B (en) Method for writing data to smart card, system and remote writing-card terminal
CN103761647A (en) Electronic payment system and electronic payment method
CN104363589A (en) Identity authentication method, device and terminal
KR101542111B1 (en) Method for payment using card, digital system, and settlment side system thereof
US12088700B2 (en) Method by which device shares digital key
CN105516136A (en) Authority management method, device and system
CN113807856B (en) Resource transfer method, device and equipment
CN108604280B (en) Transaction method, transaction information processing method, transaction terminal and server
CN107016541A (en) Encrypted card
CN112514323A (en) Electronic device for processing digital key and operation method thereof
JP3966070B2 (en) Device control system and portable terminal
CN108322907B (en) Card opening method and terminal
CN113316132A (en) Near field communication control method, terminal device, network device and storage medium
CN109872148B (en) Trusted data processing method and device based on TUI and mobile terminal
US20230385418A1 (en) Information processing device, information processing method, program, mobile terminal, and information processing system
CN107038572B (en) Encrypted card and its working method
KR101103189B1 (en) System and Method for Issueing Public Certificate of Attestation using USIM Information and Recording Medium
CN110851881B (en) Security detection method and device for terminal equipment, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210827

RJ01 Rejection of invention patent application after publication