CN105893893B - Information processing method, electronic equipment and NFC card - Google Patents
Information processing method, electronic equipment and NFC card Download PDFInfo
- Publication number
- CN105893893B CN105893893B CN201510037349.7A CN201510037349A CN105893893B CN 105893893 B CN105893893 B CN 105893893B CN 201510037349 A CN201510037349 A CN 201510037349A CN 105893893 B CN105893893 B CN 105893893B
- Authority
- CN
- China
- Prior art keywords
- communication content
- nfc
- nfc card
- control
- card
- 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.)
- Active
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention relates to the field of communication, and discloses an information processing method, an NFC card and electronic equipment, which are used for solving the technical problem that time consumption is long or the communication content is not accurate enough when being controlled in the prior art. The method comprises the following steps: after the first Near Field Communication (NFC) card is detected, first control information contained in the first NFC card is acquired; extracting a first control instruction and first contact information from the first control information; and executing the first control instruction to control the first communication content received by the electronic equipment, wherein the first communication content is communication content generated by a contact corresponding to the first contact information. Therefore, the technical effect of reducing the time consumption for controlling the communication content is achieved while the communication content of the electronic equipment is accurately controlled.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to an information processing method, an electronic device, and an NFC card.
Background
In the prior art, a barrier for isolating electromagnetic signals is formed outside communication equipment in a conductor shielding layer mode, so that the shielding of communication contents such as telephones, short messages and the like is realized, but the shielding generally shields all communication contents, the hitting surface is too wide and has no pertinence, and important telephones and important short messages are easily missed, so that the control on the communication contents received by electronic equipment is not accurate enough; in the prior art, communication content received by the electronic equipment can be controlled in a software setting mode, when the communication content is set through software, the software needs to be started at first, then a setting interface is started, and then communication numbers needing to be shielded are controlled, so that the time consumption is too long, the operation is inconvenient, and the operation is not intuitive.
Disclosure of Invention
The invention provides an information processing method, electronic equipment and an NFC card, and aims to solve the technical problem that time consumption is long or the NFC card is not accurate enough when communication content is controlled in the prior art.
The invention has the following beneficial effects:
in the embodiment of the invention, the information processing method is applied to the electronic equipment for reading the first control information contained in the first Near Field Communication (NFC) card after the first NFC card is detected; extracting a first control instruction and first contact information from the first control information; and executing the first control instruction to control the first communication content received by the electronic equipment, wherein the first communication content is communication content generated by a contact corresponding to the first contact information. The first communication content can be controlled through the first control information contained in the first NFC card, and the first communication content is only communication content generated by a contact corresponding to the first contact information, but not all communication content of the electronic equipment is shielded, so that the technical effect of controlling the communication content in time is reduced while the communication content of the electronic equipment is accurately controlled, the operation is convenient and visual, and the user experience is improved.
Drawings
FIG. 1 is a flow chart of an information processing method according to an embodiment of the present invention;
fig. 2 a-2 b are structural diagrams of an NFC card according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating different control of communication content of the electronic device according to different states of the first NFC card at preset time intervals according to the information processing method according to the embodiment of the present invention;
fig. 4 is a flowchart illustrating writing of preset content into a third NFC card in the information processing method according to the embodiment of the present invention;
FIG. 5 is a block diagram of a housing of an electronic device in an embodiment of the invention;
fig. 6 is a block diagram of an electronic device in an embodiment of the invention.
Detailed Description
The invention provides an information processing method, electronic equipment and an NFC card, and aims to solve the technical problem that time consumption is long or the NFC card is not accurate enough when communication content is controlled in the prior art.
In order to solve the technical problems, the general idea of the embodiment of the present application is as follows: the information processing method is applied to electronic equipment, and after a first Near Field Communication (NFC) card is detected, first control information contained in the first NFC card is read; extracting a first control instruction and first contact information from the first control information; and executing the first control instruction to control the first communication content received by the electronic equipment, wherein the first communication content is communication content generated by a contact corresponding to the first contact information. The first communication content can be controlled through the first control information contained in the first NFC card, and the first communication content is only communication content generated by a contact corresponding to the first contact information, but not all communication content of the electronic equipment is shielded, so that the technical effect of controlling the communication content in time is reduced while the communication content of the electronic equipment is accurately controlled, the operation is convenient and visual, and the user experience is improved.
In order to better understand the technical solutions of the present invention, the following detailed descriptions of the technical solutions of the present invention are provided with the accompanying drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the examples of the present invention are the detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the examples of the present invention may be combined with each other without conflict.
In a first aspect, an embodiment of the present invention provides an information processing method, which is applied to an electronic device, where the electronic device includes: referring to fig. 1, the method includes the following steps:
step S101: after the first Near Field Communication (NFC) card is detected, reading first control information contained in the first NFC card;
step S102: extracting a first control instruction and first contact information from the first control information;
step S103: and executing the first control instruction to control the first communication content received by the electronic equipment, wherein the first communication content is communication content generated by a contact corresponding to the first contact information.
In step S101, in a normal case, if the screen of the electronic device is not in the screen lock state, the electronic device may continuously detect whether an NFC (Near Field Communication) card exists, and if the distance between the first NFC card and the electronic device is less than about 40cm, the electronic device may detect the first NFC card.
In step S101, as a further preferred embodiment, the obtaining of the first control information included in the first NFC card specifically includes:
and acquiring first control information forwarded by the cloud server, wherein the cloud server forwards the first control information to the electronic equipment after the cloud server verifies that the identity of the electronic equipment is qualified.
For example, the cloud server may store the identity authentication information corresponding to the first NFC card, and the electronic device meeting the identity authentication requirement may read the information stored in the first NFC card.
After the distance between the first NFC card and the electronic equipment is smaller than the preset distance, the electronic equipment can detect the first NFC card, under the condition, the first NFC card firstly sends first control information to a cloud server, then the cloud server carries out identity authentication on the first NFC card, if the cloud server verifies that the identity of the electronic equipment is qualified, the electronic equipment is allowed to read the information of the first NFC card, and under the condition, the cloud server sends the first control information to the electronic equipment; if the cloud server verifies that the identity of the electronic equipment is not qualified, the electronic equipment does not have the authority to read the information of the first NFC card, and in this case, the first control information is not sent to the electronic equipment.
The first NFC card may include at least one NFC chip, and each NFC chip includes different control information, as shown in fig. 2a and fig. 2b, which is a schematic diagram of the first NFC card, and specifically includes:
at least one NFC chip 20a-20c, wherein each NFC chip has control information corresponding thereto;
the first end of the switch 21(21a-21c) is connected to a first NFC chip in the at least one NFC chip 20a-20c, the first NFC chip stores first control information, the first control information is used for controlling the received first communication content by the electronic device, and the first communication content is communication content generated by a first contact corresponding to the first control information; and an amplifying circuit 22, wherein a first terminal of the amplifying circuit 22 is connected to a common terminal of all the NFC chips, and a second terminal of the amplifying circuit is connected to a second terminal of the switch 21(21a-21 c). The amplifier circuit 22 may be, for example, a segment antenna or the like.
After the electronic device detects the first NFC card, control information in a specific NFC chip connected to the second end of the amplifying circuit 22 can be acquired, for example: if the second end of the amplifying circuit 22 is connected to the first NFC chip, the electronic device can acquire the first control information corresponding to the first NFC chip.
In addition, the control information corresponding to each NFC chip may be written into the corresponding NFC chip, or may be stored in the electronic device, so that the electronic device may obtain the first control information in different manners, which will be described below separately.
First, control information is written into the NFC chip
For example, assume that the first NFC card includes four NFC chips, and the information written by each NFC chip is shown in table 1:
TABLE 1
Assuming that the first NFC chip is the first chip, after the electronic device detects the first NFC card, the electronic device directly reads the control information stored in the first chip, that is: the incoming call is prevented from being other incoming calls of the contact person not located in the address list;
second, control information is stored in the electronic device
In this case, the electronic device may acquire only the chip identification of the first NFC chip to which the second terminal of the amplification circuit 21 is connected from the first NFC chip, and the correspondence between the chip identification and the control information is stored in advance in the electronic device, for example, as shown in table 2:
TABLE 2
Therefore, after the electronic device acquires the chip identifier (for example, Xp001), the electronic device may acquire the corresponding control information through a correspondence table pre-stored in the electronic device (for example, prevent incoming calls from being other incoming calls of contacts not located in the address list).
In step S102, the electronic device may determine the corresponding control instruction and the contact information by extracting the keyword, where the first control information is: and if the contact person who is not located in the address list is prevented from being taken as an example, determining that the corresponding control instruction is as follows: and shielding the instruction, wherein the corresponding contact information is as follows: contacts not located in the address list;
and if the first control information is: and stopping the house property intermediary, and determining that the corresponding control command is as follows: and shielding the instruction, wherein the corresponding contact information is as follows: a real estate agency;
and if the first control information is: and if the advertisement promotion is blocked, determining that the corresponding control instruction is as follows: and shielding the instruction, wherein the corresponding contact information is as follows: advertising promotion;
and if the first control information is: and if not shielding the friend group in the address list, determining that the corresponding control instruction is as follows: and receiving an instruction, wherein the corresponding contact information is a friend group in the address list.
In step S103, the control method of the first communication content is also different based on the difference of the first control information, and two of them will be described below.
The first method is to execute a control instruction to control a first communication content received by an electronic device, and specifically includes:
and executing the control instruction to shield the first communication content.
For example, if the control instruction is a shielding instruction, the first communication content is shielded, that is, the communication content generated by the contact corresponding to the contact information included in the first control information is shielded.
For example: if the first control information is 'preventing the contact person which is not located in the address list', the communication content generated by a stranger, such as an incoming call, a short message, a multimedia message and the like generated by the stranger, the electronic equipment judges whether the first communication identifier is located in the address list of the electronic equipment or not after receiving the communication content generated by the first communication identifier, if the first communication identifier is located in the address list of the electronic equipment, the communication content is not shielded, and if not, the communication content is shielded.
If the first control information is 'preventing the property broker', shielding communication content generated by the property broker, wherein a property broker data packet can be prestored in the electronic equipment, and after the electronic equipment receives the communication content sent by the first communication identifier, the first communication identifier is matched with the prestored property broker data packet to determine whether the communication content is the property broker; still alternatively, after receiving the communication content sent by the first communication identifier, the electronic device sends the first communication identifier to the cloud server, and then determines whether the electronic device is a real estate agency or the like through the cloud server.
If the first control information is 'preventing advertisement promotion', shielding the communication content of the advertisement promotion type, wherein an advertisement promotion data packet can be prestored in the electronic equipment, the advertisement promotion data packet comprises a plurality of communication identifiers for generating the communication content of the advertisement promotion type, and after the electronic equipment receives the communication content sent by the first communication identifier, the electronic equipment can match the first communication identifier with the prestored advertisement promotion data packet to determine whether the first communication identifier is the communication identifier of the advertisement promotion type; or after receiving the communication content sent by the first communication identifier, the electronic device sends the communication content to the cloud server, and then judges whether the communication content is an advertisement promotion type communication identifier or not through the cloud server.
Through the scheme, the shielding of the first communication content can be realized quickly and conveniently.
The second type, executing the control instruction to control the first communication content received with the electronic device, specifically:
the control instructions are executed to receive the first communication content and to mask communication content other than the first communication content.
For example, if the control instruction is a reception instruction, the first communication content is received, and the other communication content than the first communication content is masked.
Taking the first control information as an example of not shielding the friend group in the address book, only receiving the communication content generated by the contact of the friend group in the address book, and shielding the communication content generated by other contacts, for example: after receiving the communication content generated by the first communication identifier, the electronic equipment judges whether the first communication identifier is located in a friend group in an address book of the electronic equipment, receives the communication content generated by the first communication identifier if the first communication identifier is located in the friend group, and masks the communication content generated by the first communication identifier if the first communication identifier is not located in the friend group.
By the scheme, the first communication content can be received quickly and conveniently, and other communication contents except the first communication content can be shielded.
As a further preferred embodiment, the first control information further includes: controlling time, executing a control instruction to control a first communication content received by the electronic device, specifically comprising:
and executing the control instruction to control the first communication content in the control time.
In a specific implementation, the control time may be a period of time, for example: in one week, in this case, the electronic device stores the first control information in the electronic device after detecting the first control information, and then controls the first communication content through the first control information within one week; the control time may also be a cutoff time, such as: 2014-12-15, in which case the electronic device controls the first communication content with the first control information from the current time to 2014-12-15 after detecting the first control information; the control time may include both a start time and an end time, for example, 2014-12-10 to 2014-12-15, the electronic device stores the first control information in the electronic device after detecting the first control information, controls the first communication content through the first control information after reaching the start time, and stops controlling the first communication content by using the first control information after reaching the end time.
For example, the user of the electronic device may be busy in the last week and does not want to receive an incoming call from a stranger, so in this case, he may set the following in the first NFC chip: and the contact person not in the address list is blocked within one week, and the first NFC chip and the second end of the amplifying circuit 22 are controlled to be in a connection state. After the electronic equipment detects the first NFC card, the first control information on the first NFC chip is read, then the first control information is stored in the electronic equipment, the current time is recorded, and then within a week of the current time, the first communication content is controlled through the first control information.
Through the scheme, the accuracy of controlling the first communication content can be further improved.
As a further preferred embodiment, after executing the control instruction to control the first communication content received with the electronic device, please refer to fig. 3, the method further includes:
step S301: judging whether a first NFC card is detected at preset time intervals;
step S302: when the first NFC card is not detected, stopping controlling the first communication content;
step S302: when the first NFC card is detected, the second control information contained in the first NFC card is read so as to control the second communication content received by the electronic equipment, wherein the second communication content is generated by a contact corresponding to the second contact information contained in the second control information.
In step S301, the preset time interval is, for example: 10s, 20s, 1min, etc., and different preset time intervals may be set according to actual requirements, which is not limited in the embodiments of the present invention.
In step S301, if the first NFC card is detected, the control information included in the first NFC card can be acquired, otherwise, the control information included in the NFC card cannot be acquired.
In step S302, since the first NFC card is not detected, it indicates that the user of the electronic device does not want to control the communication content received by the electronic device through the first NFC card, and thus stops controlling the first communication content.
In step S303, since it is indicated that the user of the electronic device wishes to control the communication content received by the electronic device through the first NFC card when the first NFC card is detected, the second control information included in the first NFC card may be continuously read in this case; if the user does not adjust the connection relationship of the amplifying circuit 22 of the first NFC card, the second control information is the same as the first control information, and the second communication content is the same as the first communication content; if the user adjusts the connection relationship of the amplifier circuit 22 of the first NFC card (for example, the second end of the amplifier circuit 22 is adjusted from the connection to the first chip to the second chip), in this case, the second control information changes, for example, to: the property intermediary is blocked and the second communication content is changed accordingly.
Through the scheme, the control mode for controlling the communication content received by the electronic equipment can be adjusted in time based on the state change of the first NFC card (including the change of the connection relation with the electronic equipment and the change of the internal connection relation of the first NFC card), so that the control on the communication content received by the electronic equipment is more accurate.
As a further preferred embodiment, the method comprises:
after the second NFC card is detected, the business card information of the user of the other electronic equipment stored in the second NFC card is read;
and adding the business card information into a business card list of the electronic equipment.
In the specific implementation process, the users of other electronic devices can store their own business card information in the second NFC card, for example, in vcard format, in this case, the electronic device can obtain the business card information of the user of another electronic device by directly scanning the second NFC card, and directly store the business card information in the business card list of the electronic device, so that the technical effect of conveniently and quickly obtaining the business card information of the user of another electronic device is achieved.
As a further preferred embodiment, please refer to fig. 4, the method further includes:
step S401: determining the times of detecting the third NFC card by the electronic equipment within a first preset time period;
step S402: judging whether the times are greater than a preset threshold value or not;
step S403: and when the times are greater than the preset threshold value, writing preset content into the third NFC card.
In step S401, the first preset time period is, for example: 2000ms, 3000ms, etc., a counter may be provided in the electronic device, and after the electronic device detects the third NFC card, the counter starts to count, so that the number of times that the electronic device detects the third NFC card can be obtained.
In step S402, the preset threshold is, for example: 2. 3, etc., wherein different preset thresholds can be set according to actual requirements.
In step S403, a user of the electronic device may preset content, where the preset content is, for example: business card information, address book information, password information, etc. of a user of the electronic device.
Due to the fact that in the scheme, the preset content can be written into the third NFC card without manual operation of a user, the technical effect that the preset content can be written into the first NFC card conveniently is achieved.
In a specific implementation process, in order to ensure that the preset content written in the first NFC card is not acquired by an illegal user, after the preset content is written in the first NFC card and after the preset content is used, the preset content may be deleted, where the preset content may be deleted in multiple ways, two deletion ways are listed below, and certainly, in the specific implementation process, the preset content is not limited to the following two situations.
Firstly, after a second preset time period, judging whether the electronic equipment detects a third NFC card;
and when the electronic equipment detects the third NFC card, deleting the preset content in the third NFC card.
For example, the second preset time period is, for example: 1min, 2min, etc.;
if after a second preset time period, the electronic device detects a third NFC card, it indicates that the preset content may have been used up, for example: the preset content is business card information of a user of the electronic equipment, and in this case, it indicates that the business card information of the user of the electronic equipment may be shared with other users, so that the preset content can be deleted in the NFC card in order to avoid an illegal user obtaining the business card information of the user of the electronic equipment.
Secondly, judging whether a third NFC card is located at a preset position;
and deleting the preset content when the third NFC card is located at the preset position.
For example, the preset positions are: the card slot on the protection device of the electronic equipment can insert the third NFC card into the card slot when the content of the third NFC card is not required to be distributed to other users in advance, so that if the third NFC card is located at a preset position, the third NFC card is also used completely, and therefore under the condition, the preset content in the third NFC card is deleted similarly.
In addition, in the specific implementation process, the use security of the third NFC chip can be ensured by setting an encryption key for the third NFC chip, for example: when the electronic equipment writes preset content into the third NFC chip, the preset content is encrypted, and the ID (such as IMEI, namely I mobile equipment international identity code) of the electronic equipment is used as an encryption parameter during encryption;
and after reading the content of the third NFC chip, the electronic equipment decrypts the preset content through the ID of the electronic equipment, if the electronic equipment is legal, the decryption can be successful, otherwise, the decryption cannot be successful.
In a second aspect, based on the same inventive concept, an embodiment of the present invention provides an NFC card (the NFC card is a first NFC card in the first aspect of the embodiment of the present invention), please refer to fig. 2a and fig. 2b continuously, including:
each NFC chip of the at least one NFC chip 20a-20c corresponds to control information, and in a specific implementation process, if at least one NFC chip 10a (10b, 10c) is an NFC chip, the first NFC chip is the NFC chip itself; if at least one NFC chip 10a (10b, 10c) is a plurality of NFC chips, the first NFC chip is a certain NFC chip of the plurality of NFC chips;
a switch 21(21a-21b), a first end of which is connected to a first NFC chip of the at least one NFC chip 20a-20c, where the first NFC chip stores first control information, the first control information is used to control a received first communication content, and the first communication content is a communication content generated by a contact corresponding to the first control information;
amplifying circuit 22, amplifying circuit's first end is connected in the common terminal of all NFC chips, and amplifying circuit's second end is connected in the second end of switch, and then when making the distance between NFC card and the electronic equipment be less than preset distance, the electronic equipment can detect first control information.
2) The switch may include a plurality of structures, two of which are listed below, but the switch is not limited to the following two cases in the specific implementation process.
(ii) as shown in fig. 2a, the switch may be a single pole, multiple throw switch 21, in which case the switch 21, is also configured to: receiving a switching operation of a user, and further switching a first end of the switch 11 from being connected to the first NFC chip 20a to a second NFC chip 20b or a third NFC chip 20c of the at least one NFC chip 20a-20c, where the second NFC chip 20b, the third NFC chip 20c and the first NFC chip 20a are different NFC chips.
Specifically, the first end of the switch 21 may be connected to different NFC chips through user operation, and the switch 21 may control the different NFC chips to communicate, so that the electronic device may detect the control information stored in the different NFC chips.
Secondly, as shown in fig. 2b, the switches may be single-pole single-throw switches 21a to 21c, and specifically may be first switches 21a, second switches 21b, and third switches 21c corresponding to the number of NFC chips, in which case, the first switch 21a only controls whether the amplifying circuit 22 is connected to the first NFC chip 20a, and does not control whether other NFC chips are connected to the amplifying circuit, and for other NFC chips, other switches may be provided to control whether the other NFC chips are connected to the amplifying circuit 22, for example, as shown in fig. 2b, the amplifying circuit 22 is controlled to be connected to the first chip 20a by the first switch 21a, the amplifying circuit 22 is controlled to be connected to the second chip 20b by the second switch 21b, the amplifying circuit 22 is controlled to be connected to the third chip 20c by the third switch 21c, and so on.
In addition, in the implementation process, the above two switches can also be used in combination, for example: for example, if some of the NFC chips are connected to the amplifier circuit 22 through a single-pole single-throw switch, and the remaining NFC chips are connected to the amplifier circuit 22 through a single-pole multiple-throw switch, or the first chip 20a, the second chip 20b, and the third chip 20c shown in fig. 2a and 2b are taken as examples, the first chip 20a may be connected to the amplifier circuit 22 through a single-pole single-throw switch, and the second chip 20b and the third chip 20c may be connected to the amplifier circuit 22 through a single-pole double-throw switch (a type of single-pole multiple-throw switch).
In addition, in the specific implementation process, a master control switch may be disposed between the common terminal of all the NFC chips 20a to 20c of the NFC card of the present invention and the amplifying circuit 22, and is used to control the common terminal and the amplifying circuit to be in the on state or the off state. Instead of setting a separate control switch, the general control switch is further used to integrally control all the NFC chips 20 of the NFC card of the present invention, for example: all the NFC chips 20a to 20c of the NFC card of the present invention are controlled to be connected to the amplification circuit 22, or all the NFC chips 20a to 20c of the NFC card of the present invention are controlled to be disconnected from the amplification circuit 22, and so on.
Certainly, a master control switch may be arranged between the common terminal of all the NFC chips of the NFC card of the present invention and the amplifying circuit 22, and is used to control the common terminal and the amplifying circuit to be in a conducting state or a disconnecting state, and meanwhile, other switches may also be arranged in the manner described above. When the master control switch is controlled to be in a disconnected state, all the NFC chips can be controlled to be in a closed state, and the control functions corresponding to the stored control information are not triggered; after the master control switch is controlled to be in a conducting state, the control of each NFC chip can be controlled in a corresponding mode. Because this scheme has additionally increased a total accuse switch, convenience of customers once only closes all NFC chips.
As a further preferred embodiment, as shown in fig. 5, the NFC card is disposed in a protection device 50, the protection device 50 is used for protecting the electronic device, a plurality of card slots are disposed on the protection device 50, and the NFC card is located in one card slot 51 of the plurality of card slots.
For example, the protection device 50 may be a protection cover of an electronic device or a housing of the electronic device, taking a mobile phone of the electronic device as an example, the housing of the electronic device may be a separate mobile phone shell or a back plate of the mobile phone, one or more card slots may be disposed on the protection device 50, one NFC card may be inserted into each card slot, and then a plurality of NFC cards may be disposed on the protection device 50. When the electronic device is protected by the protection device 50, if the NFC card is inserted into the card slot protection device 51 of the protection device 50, the distance between the NFC card and the electronic device is small, and the electronic device can detect the NFC card, under such a condition, the electronic device can read the first control information in the NFC card, and further control the first communication content through the first control information.
As a further preferred embodiment, each of the at least one NFC chip 20a-20c is further configured to: and receiving the rewriting operation of the user, and further adjusting the control information in the corresponding NFC chip.
For example, if the first NFC card supports overwriting, the user may generate an overwriting operation through the NFC rewriter, and further overwrite the control information recorded on each NFC chip, for example: the control information recorded on the first NFC chip is: the method comprises the following steps of preventing contacts which are not located in an address list, but are located in Beijing, and many contacts in Beijing can initiate communication contents to the electronic equipment, wherein the contacts are not located in the address list of the electronic equipment, but the communication contents initiated by the contacts are useful communication contents for a user of the electronic equipment, and in this case, the user of the electronic equipment can adjust control information recorded on the first NFC chip into: contacts who are not located in the address book and are not located in Beijing are blocked, in which case the electronic device will block strangers in other cities that are not located in the address book and outside of Beijing, but will not block communication content of strangers in Beijing.
According to the scheme, the control information of the NFC chip can be adjusted according to the rewriting operation of the user, so that the control on the communication content received by the electronic equipment is more accurate, and the user requirements can be met.
As a further preferred embodiment, the switch is further adapted to: receiving a switching operation of a user, and further switching a first end of the switch from being connected to the first NFC chip to a second NFC chip in the at least one NFC chip, wherein the second NFC chip is different from the first NFC chip, and second control information is stored in the second NFC chip, so that the electronic equipment controls received second communication content based on the second control information, and the second communication content is communication content generated by a second contact corresponding to the second control information.
For example, the user can adjust the NFC chip connected to the switch at any time, so that the electronic device reads different control information.
As a further preferred embodiment, the NFC card is further configured to: storing business card information of a user of the electronic device.
For example, a user of an electronic device may store business card information on an NFC card, such as: with vcard format storage, then place the NFC card in the shell, and then this NFC card is directly acquireed to other electronic equipment's user, just can read and save electronic equipment's business card information, reached the technological effect of quick convenient sharing of user's business card of realization electronic equipment.
In a third aspect, based on the same inventive concept, an embodiment of the present invention provides an electronic device, please refer to fig. 6, including:
an obtaining module 60, configured to obtain first control information included in a first NFC card after the first NFC card is detected;
the extracting module 61 is configured to extract a first control instruction and first contact information from the first control information;
the execution module 62 is configured to execute the first control instruction to control the first communication content received by the electronic device, where the first communication content is communication content generated by a corresponding contact in the contact information.
Optionally, the electronic device further includes:
the detection module is used for detecting whether a first NFC card exists or not at preset time intervals after executing a first control instruction to control first communication content received by the electronic equipment;
the stopping module is used for stopping controlling the first communication content when the first NFC card does not exist;
the first reading module is used for reading second control information contained in the first NFC card when the first NFC card exists so as to control second communication content received by the electronic equipment, and the second communication content is communication content generated by a contact corresponding to second contact information contained in the second control information.
Optionally, the first control information further includes: the control time, execution module 52 is specifically configured to:
and executing the first control instruction to control the first communication content in the control time.
Optionally, the executing module 62 is specifically configured to:
and executing the first control instruction to shield the first communication content.
Optionally, the executing module 62 is specifically configured to:
and executing the first control instruction to receive the first communication content and shield other communication contents except the first communication content.
Optionally, the electronic device further includes:
the second reading module is used for reading the business card information of the user of the other electronic equipment stored in the second NFC card after the second NFC card is detected;
and the adding module is used for adding the business card information into a business card list of the electronic equipment.
Optionally, the obtaining module 60 is specifically configured to:
and acquiring first control information forwarded by the cloud server, wherein the cloud server forwards the first control information to the electronic equipment after the cloud server verifies that the identity of the electronic equipment is qualified.
Optionally, the electronic device further includes:
the determining module is used for determining the times of detecting the third NFC card by the electronic equipment within a first preset time period;
the first judgment module is used for judging whether the times are greater than a preset threshold value or not;
and the writing module is used for writing the preset content into the third NFC card when the times are greater than the preset threshold value.
Optionally, the electronic device further includes:
the second judgment module is used for judging whether the electronic equipment detects the third NFC card after writing the preset content into the third NFC card and after a second preset time period;
and the deleting module is used for deleting the preset content in the third NFC card when the electronic equipment detects the third NFC card.
One or more embodiments of the invention have at least the following beneficial effects:
since in the embodiment of the present invention,
the information processing method is applied to electronic equipment, and after a first Near Field Communication (NFC) card is detected, first control information contained in the first NFC card is read; extracting a first control instruction and first contact information from the first control information; and executing the first control instruction to control the first communication content received by the electronic equipment, wherein the first communication content is communication content generated by a contact corresponding to the first contact information. The first communication content can be controlled through the first control information contained in the first NFC card, and the first communication content is only communication content generated by a contact corresponding to the first contact information, but not all communication content of the electronic equipment is shielded, so that the technical effect of controlling the communication content in time is reduced while the communication content of the electronic equipment is accurately controlled, the operation is convenient and visual, and the user experience is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (23)
1. An information processing method applied to an electronic device, the method comprising:
after a first NFC card is detected, acquiring first control information contained in the first NFC card;
extracting a first control instruction and first contact information from the first control information;
and executing the first control instruction to control first communication content received by the electronic equipment, wherein the first communication content is communication content generated by a contact corresponding to the first contact information.
2. The method of claim 1, wherein after the executing the first control instruction to control the first communication content received by the electronic device, the method further comprises:
judging whether the first NFC card is detected or not at preset time intervals;
when the first NFC card is not detected, stopping controlling the first communication content;
when the first NFC card is detected, reading second control information contained in the first NFC card so as to control second communication content received by the electronic equipment, wherein the second communication content is communication content generated by a contact corresponding to second contact information contained in the second control information.
3. The method of claim 1, wherein the first control information further comprises: controlling the time; the executing the first control instruction to control the first communication content received by the electronic device specifically includes:
and executing the first control instruction to control the first communication content in the control time.
4. The method according to claim 1, wherein the executing the first control instruction to control the first communication content received with the electronic device includes:
and executing the first control instruction to shield the first communication content.
5. The method according to claim 1, wherein the executing the first control instruction to control the first communication content received with the electronic device includes:
and executing the first control instruction to receive the first communication content and shield other communication contents except the first communication content.
6. The method of any of claims 1-5, wherein the method further comprises:
after a second NFC card is detected, reading business card information of a user of another electronic device stored in the second NFC card;
and adding the business card information into a business card list of the electronic equipment.
7. The method according to any one of claims 1 to 5, wherein the obtaining of the first control information included in the first NFC card specifically includes:
and acquiring the first control information forwarded by a cloud server, wherein the cloud server forwards the first control information to the electronic equipment after the cloud server verifies that the identity of the electronic equipment is qualified.
8. The method of any of claims 1-5, wherein the method further comprises:
determining the times of detecting the third NFC card by the electronic equipment within a first preset time period;
judging whether the times are greater than a preset threshold value or not;
and writing preset content into the third NFC card when the times are larger than the preset threshold value.
9. The method of claim 8, wherein after said writing preset content to the third NFC card, the method further comprises:
after a second preset time period, judging whether the electronic equipment detects the third NFC card;
and when the electronic equipment detects the third NFC card, deleting the preset content in the third NFC card.
10. An NFC card, comprising:
each NFC chip in the at least one NFC chip corresponds to control information;
a first end of the switch is connected to a first NFC chip in the at least one NFC chip, first control information is stored in the first NFC chip, the first control information is used for controlling first communication content received by the electronic equipment, and the first communication content is communication content generated by a contact corresponding to the first control information;
and the first end of the amplifying circuit is connected to the public end of all the NFC chips, and the second end of the amplifying circuit is connected to the second end of the switch, so that when the distance between the NFC card and the electronic equipment is smaller than a preset distance, the electronic equipment can detect the first control information.
11. The NFC card according to claim 10, wherein the NFC card is disposed in a protection device, the protection device is used for protecting the electronic device, at least one card slot is disposed on the protection device, and the NFC card is located in one card slot.
12. The NFC card of claim 10, wherein each of the at least one NFC chip is further to: and receiving the rewriting operation of the user, and further adjusting the control information in the corresponding NFC chip.
13. The NFC card of claim 10, wherein the switch is further to: receiving a switching operation of a user, and further switching a first end of the switch from being connected to the first NFC chip to a second NFC chip in the at least one NFC chip, where the second NFC chip is different from the first NFC chip, and second control information is stored in the second NFC chip, so that the electronic device controls received second communication content based on the second control information, where the second communication content is communication content generated by a second contact corresponding to the second control information.
14. The NFC card according to any of claims 10-13, wherein the NFC card is further configured to: storing business card information of a user of the electronic device.
15. An electronic device, comprising:
the NFC card detection module is used for detecting a first NFC card and then obtaining first control information contained in the first NFC card;
the extraction module is used for extracting a first control instruction and first contact information from the first control information;
and the execution module is used for executing the first control instruction so as to control first communication content received by the electronic equipment, wherein the first communication content is communication content generated by a contact corresponding to the first contact information.
16. The electronic device of claim 15, wherein the electronic device further comprises:
the detection module is used for judging whether the first NFC card is detected or not at preset time intervals after the first control instruction is executed to control the first communication content received by the electronic equipment;
a stopping module, configured to stop controlling the first communication content when the first NFC card is not detected;
the first reading module is configured to read second control information included in the first NFC card when the first NFC card is detected, so as to control second communication content received by the electronic device, where the second communication content is communication content generated by a contact corresponding to second contact information included in the second control information.
17. The electronic device of claim 15, wherein the first control information further comprises: controlling the time; the execution module is specifically configured to:
and executing the first control instruction to control the first communication content in the control time.
18. The electronic device of claim 15, wherein the execution module is specifically configured to:
and executing the first control instruction to shield the first communication content.
19. The electronic device of claim 15, wherein the execution module is specifically configured to:
and executing the first control instruction to receive the first communication content and shield other communication contents except the first communication content.
20. The electronic device of any of claims 15-19, wherein the electronic device further comprises:
the second reading module is used for reading the business card information of the user of the other electronic equipment stored in the second NFC card after the second NFC card is detected;
and the adding module is used for adding the business card information into a business card list of the electronic equipment.
21. The electronic device according to any of claims 15-19, wherein the obtaining module is specifically configured to:
and acquiring the first control information forwarded by a cloud server, wherein the cloud server forwards the first control information to the electronic equipment after the cloud server verifies that the identity of the electronic equipment is qualified.
22. The electronic device of any of claims 15-19, wherein the electronic device further comprises:
the determining module is used for determining the times of detecting the third NFC card by the electronic equipment within a first preset time period;
the first judgment module is used for judging whether the times are greater than a preset threshold value or not;
and the writing module is used for writing preset content into the third NFC card when the times are greater than the preset threshold value.
23. The electronic device of claim 22, wherein the electronic device further comprises:
the second judging module is used for judging whether the electronic equipment detects the third NFC card or not after writing preset content into the third NFC card and after a second preset time period;
and the deleting module is used for deleting the preset content in the third NFC card when the electronic equipment detects the third NFC card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510037349.7A CN105893893B (en) | 2015-01-26 | 2015-01-26 | Information processing method, electronic equipment and NFC card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510037349.7A CN105893893B (en) | 2015-01-26 | 2015-01-26 | Information processing method, electronic equipment and NFC card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105893893A CN105893893A (en) | 2016-08-24 |
CN105893893B true CN105893893B (en) | 2020-08-11 |
Family
ID=56999108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510037349.7A Active CN105893893B (en) | 2015-01-26 | 2015-01-26 | Information processing method, electronic equipment and NFC card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893893B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018223171A2 (en) * | 2017-06-09 | 2018-12-13 | Interactive Paper Gmbh | Device in particular printed item for data communication |
CN110866580B (en) * | 2019-10-31 | 2024-01-16 | 天星数科科技有限公司 | Preprocessing method and device for configuring NFC smart card |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101438617A (en) * | 2006-05-10 | 2009-05-20 | 索尼爱立信移动通讯有限公司 | System and method for storing near field communication tags in an electronic phonebook |
CN101465675A (en) * | 2008-12-31 | 2009-06-24 | 中兴通讯股份有限公司 | Enhancement type close range wireless communication eNFC device and implementing method thereof |
CN101674109A (en) * | 2009-10-19 | 2010-03-17 | 宇龙计算机通信科技(深圳)有限公司 | NFC monitoring device, NFC communication terminal and monitoring system |
CN102673517A (en) * | 2012-05-29 | 2012-09-19 | 浙江吉利汽车研究院有限公司杭州分公司 | Automobile owner identification device, control system and control method based on near field communication (NFC) mobile phone |
-
2015
- 2015-01-26 CN CN201510037349.7A patent/CN105893893B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101438617A (en) * | 2006-05-10 | 2009-05-20 | 索尼爱立信移动通讯有限公司 | System and method for storing near field communication tags in an electronic phonebook |
CN101465675A (en) * | 2008-12-31 | 2009-06-24 | 中兴通讯股份有限公司 | Enhancement type close range wireless communication eNFC device and implementing method thereof |
CN101674109A (en) * | 2009-10-19 | 2010-03-17 | 宇龙计算机通信科技(深圳)有限公司 | NFC monitoring device, NFC communication terminal and monitoring system |
CN102673517A (en) * | 2012-05-29 | 2012-09-19 | 浙江吉利汽车研究院有限公司杭州分公司 | Automobile owner identification device, control system and control method based on near field communication (NFC) mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN105893893A (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3144844B1 (en) | Short message service reading method and device | |
EP3136648B1 (en) | Method and device for determining control authority on user device | |
CN104468551B (en) | A kind of method and device saving flow based on Ad blocking | |
CN104090785B (en) | Application program provides method, apparatus and system | |
CN106454800B (en) | Auth method, apparatus and system | |
CN110400405B (en) | Method, device and medium for controlling access control | |
CN105407098A (en) | Identity verification method and device | |
WO2016161682A1 (en) | Prompt method and device for multisystem terminal notification message | |
CN103218564A (en) | Mobile terminal protection method and mobile terminal protection device | |
CN105979062B (en) | Communication event processing method and device | |
CN104618601A (en) | Data sharing method and multisystem terminal | |
US11347988B2 (en) | Method and device for configuring NFC smart card | |
CN107465504A (en) | A kind of method and device for improving key safety | |
CN105893893B (en) | Information processing method, electronic equipment and NFC card | |
EP3145152B1 (en) | Short message service reading method and device | |
WO2017097258A1 (en) | Spam blocking method and apparatus, computer program, and readable medium | |
CN114666048A (en) | Data processing method and device, electronic equipment and storage medium | |
CN109076126B (en) | Permission updating method and terminal equipment | |
CN109977692B (en) | Data processing method and device, storage medium and electronic equipment | |
CN106559575A (en) | Information privacy protection method | |
CN107103231B (en) | Method and device for installing and managing application | |
CN106790584B (en) | Information synchronization method and device | |
US20110190033A1 (en) | method for masking mobile phone messages from the sight of other people | |
WO2017107681A1 (en) | Automatic binding method, device and smart terminal | |
CN106485137B (en) | Application program control method, application program control device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |