CN106960235B - File calling method and device and electronic equipment - Google Patents

File calling method and device and electronic equipment Download PDF

Info

Publication number
CN106960235B
CN106960235B CN201710225241.XA CN201710225241A CN106960235B CN 106960235 B CN106960235 B CN 106960235B CN 201710225241 A CN201710225241 A CN 201710225241A CN 106960235 B CN106960235 B CN 106960235B
Authority
CN
China
Prior art keywords
configuration file
file
nfc
calling
saving path
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
Application number
CN201710225241.XA
Other languages
Chinese (zh)
Other versions
CN106960235A (en
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Publication of CN106960235A publication Critical patent/CN106960235A/en
Application granted granted Critical
Publication of CN106960235B publication Critical patent/CN106960235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a file calling method and device and electronic equipment. The file calling method is applied to electronic equipment containing an NFC chip, when the NFC matching equipment is identified, whether a specified configuration file exists in a first saving path is detected, if yes, the specified configuration file is called, and if not, a default configuration file in a second saving path is called. The file calling method, the file calling device and the electronic equipment have the advantages that the binding relationship between the NFC configuration file and the electronic equipment system is eliminated, and under the condition that the NFC configuration file specified by the current city exists in the electronic equipment, the specified NFC configuration file can be called according to the requirements of upper-layer application when the electronic equipment performs an NFC action, so that the user can successfully perform NFC card swiping/recharging, and the use experience of the user is improved.

Description

File calling method and device and electronic equipment
The present application claims priority of domestic application with the title "a file call method, device and electronic device" filed by the chinese patent office on 30/3/2017 with the application number of 201710202161.2, the entire contents of which are incorporated herein by reference.
Technical Field
The invention relates to the field of electronics, in particular to a file calling method and device and electronic equipment.
Background
The NFC (Near Field Communication) technology is integrated and evolved from a non-contact Radio Frequency Identification (RFID) and an interconnection technology, and can perform identification and data exchange with a compatible device in a short distance. At present, the NFC technology is mainly applied to mobile phones. The bus card service built in the NFC chip in the mobile phone is an important application form of the NFC function of the current mobile phone.
The configuration file of the NFC chip in the mobile phone is already fixed and unalterable when the mobile phone leaves a factory, so that the NFC configuration file and the mobile phone system have a default binding relationship. However, because specification standards of card swiping/recharging gates in different cities or different places are often different, when a mobile phone with an NFC chip swipes/recharges in different places, card swiping/recharging fails due to inconsistency of configuration parameters in software, which affects normal use of a user.
Disclosure of Invention
In view of the above, the present invention provides a file calling method, a file calling device, and an electronic device, so as to overcome the problem in the prior art that a user fails to operate on a card swiping/charging gate with different specification standards due to the binding relationship between an NFC configuration file and a mobile phone system.
In order to achieve the purpose, the invention provides the following technical scheme:
a file calling method is applied to an electronic device containing an NFC chip and comprises the following steps:
when the NFC matching device is identified, detecting whether a specified configuration file exists in a first saving path;
if yes, calling the specified configuration file;
and if the default configuration file does not exist, calling the default configuration file under the second saving path.
Optionally, before detecting whether the specified configuration file exists in the first saving path, the method further includes:
and receiving a specified configuration file which is sent by the target application, downloaded from the cloud and matched with the position information and the equipment information of the electronic equipment, and storing the specified configuration file in a first storage path.
Optionally, the method further includes:
and when the NFC firmware is upgraded, deleting the specified configuration file stored in the first saving path.
Optionally, the method further includes:
when the position information of the electronic equipment is switched from a first city to a second city, deleting the specified configuration file under the first saving path;
and receiving a designated configuration file which is sent by a target application, downloaded from a cloud and matched with the second city, and storing the configuration file in the first saving path.
Optionally, the method further includes:
when the target application detects that the designated configuration file matched with the position information of the electronic equipment is updated, deleting the designated configuration file under the first saving path;
and receiving and storing the updated designated configuration file sent by the target application to the first saving path.
A file calling device is applied to an electronic device containing an NFC chip and comprises the following components:
the device identification module is used for identifying whether the NFC matching device exists or not;
the file detection module is used for detecting whether the specified configuration file exists in the first saving path or not when the NFC matching device is identified by the device identification module;
the file calling module is used for calling the specified configuration file when the detection result of the file detection module is positive; and calling a default configuration file under a second saving path when the detection result of the file detection module is negative.
Optionally, the method further includes:
and the file storage module is used for receiving the specified configuration file which is sent by the target application, downloaded from the cloud end and matched with the position information and the equipment information of the electronic equipment before the file detection module detects whether the specified configuration file exists in the first saving path or not, and storing the specified configuration file in the first saving path.
Optionally, the method further includes:
and the file deleting module is used for deleting the specified configuration file stored in the first storage path when the NFC firmware is upgraded.
Optionally, the method further includes:
the file deleting module is used for deleting the specified configuration file in the first saving path when the position information of the electronic equipment is switched from a first city to a second city;
the file storage module is further configured to: and receiving a designated configuration file which is sent by a target application, downloaded from a cloud and matched with the second city, and storing the configuration file in the first saving path.
Optionally, the method further includes:
the file deleting module is used for deleting the specified configuration file under the first saving path when the target application detects that the specified configuration file matched with the position information of the electronic equipment is updated;
the file storage module is further configured to: and receiving and storing the updated specified configuration file sent by the target application.
An electronic device, the electronic device comprising an NFC chip, the electronic device further comprising any of the above-mentioned file calling devices.
Compared with the prior art, the embodiment of the invention discloses a file calling method, a file calling device and electronic equipment. The file calling method is applied to electronic equipment containing an NFC chip, when the NFC matching equipment is identified, whether a specified configuration file exists in a first saving path is detected, if yes, the specified configuration file is called, and if not, a default configuration file in a second saving path is called. The file calling method, the file calling device and the electronic equipment have the advantages that the binding relationship between the NFC configuration file and the electronic equipment system is eliminated, and under the condition that the NFC configuration file specified by the current city exists in the electronic equipment, the specified NFC configuration file can be called according to the requirements of upper-layer application when the electronic equipment performs an NFC action, so that the user can successfully perform NFC card swiping/recharging, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a first flowchart of a document calling method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a document calling method according to an embodiment of the present invention;
FIG. 3 is a third flowchart of a file calling method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a first structure of a document calling apparatus according to an embodiment of the disclosure;
FIG. 5 is a diagram illustrating a second structure of a file transferring apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a third structure of the file call apparatus according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a first flowchart of a file calling method according to the disclosure is shown, where the method is applied to an electronic device including an NFC chip. As shown in fig. 1, the file calling method may include:
step 101: when the NFC matching device is identified, detecting whether a specified configuration file exists in a first saving path; if yes, go to step 102; if not, go to step 103;
the NFC equipment is identified, and when a user approaches a bus or subway card swiping machine, an NFC signal on the card swiping gate can be identified by the NFC chip in an induction mode. Typically, the identification distance of NFC signals is less than 20 centimeters.
The specified configuration file can be an NFC configuration file which is acquired from a cloud and corresponds to a card-opening city of a built-in bus card according to the card-opening city of the built-in bus card in the mobile phone by an electronic wallet APP in the mobile phone. The NFC configuration file is correspondingly set according to the specification standard of the card swiping gate in each traffic line in the card opening city. When the electronic wallet APP is applied to a public transport card opened by a user, the corresponding configuration file can be immediately obtained from the cloud, and the configuration file is stored to a fixed path of a mobile phone system, namely, a first storage path to become a designated configuration file.
Step 102: calling the specified configuration file;
and when the user swipes the card in the card-opening city by NFC, the appointed configuration file in the first saving path can be called. Because the specified configuration file is set according to the specification standard of the card swiping gate in each traffic line in the card opening city, when the specified configuration file is called and loaded to the NFC system, the software parameters corresponding to the NFC chip in the mobile phone and the NFC chip in the card swiping gate can be successfully matched, and the mobile phone card swiping or recharging is ensured to be successful.
Step 103: and calling a default configuration file under the second saving path.
In some cases, the wallet APP may not download the specified configuration file from the cloud in time, or download and store the configuration file to the first storage path, and delete the configuration file for other reasons, and at this time, the first storage path is empty, and the system may call the default configuration file in the second storage path to ensure that the NFC chip can be normally used. The default configuration file is an NFC default configuration file when the mobile phone leaves a factory. The NFC default configuration file is not applicable to all model parameters of the card gate.
In this embodiment, when the NFC matching device is identified, the file calling method first detects whether a specified configuration file exists in the first saving path, and if so, calls the specified configuration file, and if not, calls the default configuration file in the second saving path. The method has the advantages that the binding relationship between the NFC configuration file and the electronic equipment system is eliminated, and under the condition that the NFC configuration file specified by the current city exists in the electronic equipment, the specified NFC configuration file can be called according to the requirements of upper-layer application when the electronic equipment performs an NFC action, so that the user can successfully perform NFC card swiping/recharging, and the use experience of the user is improved.
On the basis of the foregoing embodiment disclosed in the present invention, fig. 2 is a second flowchart of a file calling method disclosed in the embodiment of the present invention, and referring to fig. 2, the file calling method may include:
step 201: receiving a designated configuration file which is sent by a target application, downloaded from a cloud end and matched with the position information and the equipment information of the electronic equipment, and storing the configuration file in a first storage path;
in this embodiment, the mobile phone system may first receive and store the designated configuration file sent by the target application. The target application may be, but is not limited to, an electronic wallet APP application. The file calling method of the embodiment is suitable for the first time that a user opens a city traffic card or other scenes needing to download and store the specified configuration file. After a user opens a traffic card of a current city, the wallet APP sends card opening information containing a city name and mobile phone equipment information to the cloud end, requests to download an NFC configuration file corresponding to the city name and the equipment model, and sends the NFC configuration file to the mobile phone system after the NFC configuration file is downloaded successfully, so that the corresponding NFC configuration file is stored as an appointed configuration file under the first storage path by the mobile phone system. The mobile phone device information may include model parameter information of the NFC chip.
Step 202: when the NFC matching device is identified, detecting whether a specified configuration file exists in a first saving path; if yes, go to step 203: if not, go to step 204:
step 203: calling the specified configuration file;
step 204: and calling a default configuration file under the second saving path.
In this embodiment, under the condition that the user opens the urban traffic card for the first time or needs to download and store the specified configuration file, the target application downloads the specified configuration file corresponding to the urban information and the electronic device information from the cloud and sends the configuration file to the mobile phone system for storage, so that when the user subsequently swipes/recharges at the gate, the electronic device system can call the specified configuration file and load the configuration file to the NFC system, and the successful swiping/recharging is ensured.
It should be noted that, in practical applications, a user may arrive from one city to another city due to traveling. The electronic wallet APP can determine this by GPS information. In this case, the wallet APP may download NFC configuration information corresponding to the new city from the cloud, and send a prompt to the mobile phone system, so that the mobile phone system deletes the original specified configuration file stored in the first storage path. Specifically, on the basis of the file calling method disclosed in the above embodiment, the file calling method may further include the following steps: when the position information of the electronic equipment is switched from a first city to a second city, deleting the specified configuration file under the first saving path; and receiving a designated configuration file which is sent by a target application, downloaded from a cloud and matched with the second city, and storing the configuration file in the first saving path. The above steps may be performed at any time after step 201.
In another embodiment, the NFC configuration file stored in the cloud is also updated. In specific application, the wallet APP application may periodically or periodically detect whether the NFC configuration file in the cloud is updated, and if so, the latest NFC configuration file needs to be downloaded and transmitted to the mobile phone system for storage. Specifically, on the basis of the file calling method disclosed in the above embodiment, the file calling method may further include the following steps: when the target application detects that the designated configuration file matched with the position information of the electronic equipment is updated, deleting the designated configuration file under the first saving path; and receiving and storing the updated designated configuration file sent by the target application to the first saving path. The above steps may be performed at any time after step 201.
Further, fig. 3 discloses a third flowchart of a file invoking method, which is applied to an electronic device including an NFC chip. As shown in fig. 3, the file calling method may include:
step 301: receiving a designated configuration file which is sent by a target application, downloaded from a cloud end and matched with the position information and the equipment information of the electronic equipment, and storing the configuration file in a first storage path;
step 302: when the NFC matching device is identified, detecting whether a specified configuration file exists in a first saving path; if yes, go to step 303; if not, go to step 304:
step 303: calling the specified configuration file; step 305 is entered;
step 304: calling a default configuration file under a second saving path; step 305 is entered;
step 305: judging whether the system is upgrading the NFC firmware; if yes, go to step 306;
step 306: deleting the specified configuration file stored under the first saving path.
And when the NFC firmware is upgraded, the software parameters of the NFC firmware are correspondingly changed, and at the moment, the corresponding parameters in the NFC configuration file also need to be adaptively adjusted, so that the NFC chip can be successfully swiped when a subsequent user performs an NFC action.
And when the NFC firmware is upgraded, the specified configuration file stored in the first saving path is not updated, and at the moment, the specified configuration file in the first saving path needs to be deleted, so that a card swiping error caused by the fact that the specified configuration file is not updated when a user performs an NFC action after the NFC firmware is upgraded is avoided.
When the determination result in step 305 is negative, no operation is performed. The execution of step 305 and step 306 is not necessarily after step 303 or step 304, which may be implemented at any time after step 301.
In this embodiment, the file calling method may automatically delete the specified configuration file stored in the first saving path when the NFC firmware is upgraded, so as to avoid an error in NFC card swiping caused by loading an original specified configuration file on an NFC chip due to the NFC firmware upgrade.
The method is described in detail in the embodiments disclosed above, and the method of the present invention can be implemented by various types of apparatuses, so that the present invention also discloses an apparatus, and the following detailed description will be given of specific embodiments.
Fig. 4 is a schematic diagram of a first structure of a file invoking device according to an embodiment of the present invention, where the file invoking device is applied to an electronic device including an NFC chip. Referring to fig. 4, the file calling apparatus 40 may include:
a device identification module 401, configured to identify whether an NFC matching device exists;
the NFC equipment can be an electronic device with an NFC chip, such as a mobile phone, which is close to a bus or subway card swiping machine by a user, and the NFC chip can sense and identify an NFC signal on the card swiping gate machine. Typically, the identification distance of NFC signals is less than 20 centimeters.
A file detection module 402, configured to detect whether a specified configuration file exists in a first storage path when the NFC matching device is identified by the device identification module;
the specified configuration file can be an NFC configuration file which is acquired from a cloud and corresponds to a card-opening city of a built-in bus card according to the card-opening city of the built-in bus card in the mobile phone by an electronic wallet APP in the mobile phone. The NFC configuration file is correspondingly set according to the specification standard of the card swiping gate in each traffic line in the card opening city. When the electronic wallet APP is applied to a public transport card opened by a user, the corresponding configuration file can be immediately obtained from the cloud, and the configuration file is stored to a fixed path of a mobile phone system, namely, a first storage path to become a designated configuration file.
A file calling module 403, configured to call the specified configuration file when a detection result of the file detecting module is yes; and calling a default configuration file under a second saving path when the detection result of the file detection module is negative.
And when the user swipes the card in the card-opening city by NFC, the appointed configuration file in the first saving path can be called. Because the specified configuration file is set according to the specification standard of the card swiping gate in each traffic line in the card opening city, when the specified configuration file is called and loaded to the NFC system, the software parameters corresponding to the NFC chip in the mobile phone and the NFC chip in the card swiping gate can be successfully matched, and the mobile phone card swiping or recharging is ensured to be successful.
In some cases, the wallet APP may not download the specified configuration file from the cloud in time, or download and store the configuration file to the first storage path, and delete the configuration file for other reasons, and at this time, the first storage path is empty, and the system may call the default configuration file in the second storage path to ensure that the NFC chip can be normally used. The default configuration file is an NFC default configuration file when the mobile phone leaves a factory. The NFC default configuration file is not applicable to all model parameters of the card gate.
In this embodiment, when the NFC matching device is identified, the file invoking apparatus first detects whether the specified configuration file exists in the first saving path, if so, invokes the specified configuration file, and if not, invokes the default configuration file in the second saving path. The device has the advantages that the binding relation between the NFC configuration file and the electronic equipment system is eliminated, and under the condition that the designated NFC configuration file of the current city exists in the electronic equipment, the designated NFC configuration file can be called according to the requirements of upper-layer application when the electronic equipment performs NFC action, so that the user can successfully perform NFC card swiping/recharging, and the use experience of the user is improved.
On the basis of the above-mentioned embodiment of the apparatus disclosed in the present invention, fig. 5 is a schematic diagram of a second structure of the file invoking apparatus disclosed in the embodiment of the present invention, and referring to fig. 5, the file invoking apparatus 50 may include:
the file storage module 501 is configured to receive a specified configuration file, which is sent by a target application, downloaded from a cloud and matched with the location information and the device information of the electronic device, and store the specified configuration file in a first storage path;
in this embodiment, the mobile phone system may first receive and store the designated configuration file sent by the target application. The target application may be, but is not limited to, an electronic wallet APP application. The file calling method of the embodiment is suitable for the first time that a user opens a city traffic card or other scenes needing to download and store the specified configuration file. After a user opens a traffic card of a current city, the wallet APP sends card opening information containing a city name and mobile phone equipment information to the cloud end, requests to download an NFC configuration file corresponding to the city name and the equipment model, and sends the NFC configuration file to the mobile phone system after the NFC configuration file is downloaded successfully, so that the corresponding NFC configuration file is stored as an appointed configuration file under the first storage path by the mobile phone system. The mobile phone device information may include model parameter information of the NFC chip.
A device identification module 401, configured to identify whether an NFC matching device exists;
a file detection module 402, configured to detect whether a specified configuration file exists in a first storage path when the NFC matching device is identified by the device identification module;
a file calling module 403, configured to call the specified configuration file when a detection result of the file detecting module is yes; and calling a default configuration file under a second saving path when the detection result of the file detection module is negative.
In this embodiment, under the condition that the user opens the urban traffic card for the first time or needs to download and store the specified configuration file, the target application downloads the specified configuration file corresponding to the urban information and the electronic device information from the cloud and sends the configuration file to the mobile phone system for storage, so that when the user subsequently swipes/recharges at the gate, the electronic device system can call the specified configuration file and load the configuration file to the NFC system, and the successful swiping/recharging is ensured.
It should be noted that, in practical applications, a user may arrive from one city to another city due to traveling. The electronic wallet APP can determine this by GPS information. In this case, the wallet APP may download NFC configuration information corresponding to the new city from the cloud, and send a prompt to the mobile phone system, so that the mobile phone system deletes the original specified configuration file stored in the first storage path. Specifically, on the basis of the file calling apparatus disclosed in the above embodiment, the file calling apparatus may further include: the file deleting module is used for deleting the specified configuration file in the first saving path when the position information of the electronic equipment is switched from a first city to a second city; the file storage module 501 block is further configured to: and receiving a designated configuration file which is sent by a target application, downloaded from a cloud and matched with the second city, and storing the configuration file in the first saving path.
In another embodiment, the NFC configuration file stored in the cloud is also updated. In specific application, the wallet APP application may periodically or periodically detect whether the NFC configuration file in the cloud is updated, and if so, the latest NFC configuration file needs to be downloaded and transmitted to the mobile phone system for storage. Specifically, on the basis of the file calling apparatus disclosed in the above embodiment, the file calling apparatus may further include: the file deleting module is used for deleting the specified configuration file under the first saving path when the target application detects that the specified configuration file matched with the position information of the electronic equipment is updated; the file storage module 501 is further configured to: and receiving and storing the updated designated configuration file sent by the target application to the first saving path.
Further, fig. 6 discloses a third structural diagram of a file invoking device, where the file invoking device 60 may include:
the file storage module 501 is configured to receive a specified configuration file, which is sent by a target application, downloaded from a cloud and matched with the location information and the device information of the electronic device, and store the specified configuration file in a first storage path;
a device identification module 401, configured to identify whether an NFC matching device exists;
a file detection module 402, configured to detect whether a specified configuration file exists in a first storage path when the NFC matching device is identified by the device identification module;
a file calling module 403, configured to call the specified configuration file when a detection result of the file detecting module is yes; when the detection result of the file detection module is negative, calling a default configuration file under a second saving path;
an upgrade determining module 601, configured to determine whether the system is performing NFC firmware upgrade;
a file deleting module 602, configured to delete the specified configuration file stored in the first saving path if the determination result of the upgrade determining module is yes.
And when the NFC firmware is upgraded, the software parameters of the NFC firmware are correspondingly changed, and at the moment, the corresponding parameters in the NFC configuration file also need to be adaptively adjusted, so that the NFC chip can be successfully swiped when a subsequent user performs an NFC action.
And when the NFC firmware is upgraded, the specified configuration file stored in the first saving path is not updated, and at the moment, the specified configuration file in the first saving path needs to be deleted, so that a card swiping error caused by the fact that the specified configuration file is not updated when a user performs an NFC action after the NFC firmware is upgraded is avoided.
In this embodiment, the file calling device may automatically delete the specified configuration file stored in the first saving path when the NFC firmware is upgraded, so as to avoid an error in NFC card swiping caused by loading an original specified configuration file on an NFC chip due to the NFC firmware upgrade.
Further, an embodiment of the present invention further discloses an electronic device, where the electronic device includes an NFC chip and may include any one of the file calling apparatuses disclosed in the above embodiments. The electronic equipment removes the binding relationship between the NFC configuration file and the electronic equipment system, and can call the designated NFC configuration file according to the requirements of upper-layer application when the electronic equipment performs NFC action under the condition that the designated NFC configuration file exists in the current city, so that the user can successfully perform NFC card swiping/recharging, and the use experience of the user is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A file calling method is applied to electronic equipment containing an NFC chip, and is characterized by comprising the following steps:
when the NFC matching device is identified, detecting whether a specified configuration file exists in a first saving path;
if yes, calling the specified configuration file;
if the default configuration file does not exist, calling a default configuration file under a second saving path;
before the detecting whether the specified configuration file exists in the first saving path, the method further includes:
receiving a designated configuration file which is sent by a target application, downloaded from a cloud end and matched with the position information and the equipment information of the electronic equipment, and storing the configuration file in the first saving path;
and when the NFC firmware is upgraded, deleting the specified configuration file stored in the first saving path.
2. The file calling method according to claim 1, further comprising:
when the position information of the electronic equipment is switched from a first city to a second city, deleting the specified configuration file under the first saving path;
and receiving a designated configuration file which is sent by a target application, downloaded from a cloud and matched with the second city, and storing the configuration file in the first saving path.
3. The file calling method according to claim 1, further comprising:
when the target application detects that the designated configuration file matched with the position information of the electronic equipment is updated, deleting the designated configuration file under the first saving path;
and receiving and storing the updated designated configuration file sent by the target application to the first saving path.
4. A file calling device is applied to an electronic device containing an NFC chip, and is characterized by comprising:
the device identification module is used for identifying whether the NFC matching device exists or not;
the file detection module is used for detecting whether the specified configuration file exists in the first saving path or not when the NFC matching device is identified by the device identification module;
the file calling module is used for calling the specified configuration file when the detection result of the file detection module is positive; when the detection result of the file detection module is negative, calling a default configuration file under a second saving path;
the file storage module is used for receiving the specified configuration file which is sent by the target application, downloaded from the cloud end and matched with the position information and the equipment information of the electronic equipment before the file detection module detects whether the specified configuration file exists in the first saving path or not, and storing the specified configuration file in the first saving path;
and the file deleting module is used for deleting the specified configuration file stored in the first storage path when the NFC firmware is upgraded.
5. The file calling apparatus according to claim 4, further comprising:
the file deleting module is used for deleting the specified configuration file in the first saving path when the position information of the electronic equipment is switched from a first city to a second city;
the file storage module is further configured to: and receiving a designated configuration file which is sent by a target application, downloaded from a cloud and matched with the second city, and storing the configuration file in the first saving path.
6. The file calling apparatus according to claim 4, further comprising:
the file deleting module is used for deleting the specified configuration file under the first saving path when the target application detects that the specified configuration file matched with the position information of the electronic equipment is updated;
the file storage module is further configured to: and receiving and storing the updated specified configuration file sent by the target application.
7. An electronic device comprising an NFC chip, characterized in that the electronic device further comprises the file-calling device of any of claims 4-6.
CN201710225241.XA 2017-03-30 2017-04-07 File calling method and device and electronic equipment Active CN106960235B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2017102021612 2017-03-30
CN201710202161 2017-03-30

Publications (2)

Publication Number Publication Date
CN106960235A CN106960235A (en) 2017-07-18
CN106960235B true CN106960235B (en) 2020-03-27

Family

ID=59483243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710225241.XA Active CN106960235B (en) 2017-03-30 2017-04-07 File calling method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106960235B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012252A (en) * 2017-12-18 2018-05-08 深圳市万普拉斯科技有限公司 NFC implementation method, device, mobile terminal and readable storage medium storing program for executing
CN114049113A (en) * 2018-01-27 2022-02-15 华为技术有限公司 Method for realizing all-purpose card, terminal equipment and server
CN109068314B (en) * 2018-09-27 2022-03-18 努比亚技术有限公司 Operator configuration file switching method, intelligent device and readable storage medium
CN111885568B (en) * 2020-07-09 2023-05-05 RealMe重庆移动通信有限公司 Loading method and device of near field communication configuration parameters and electronic equipment
CN112463256A (en) * 2020-12-11 2021-03-09 微医云(杭州)控股有限公司 Method, system, electronic device and storage medium for determining configuration file
CN113240861A (en) * 2021-05-17 2021-08-10 上海中通吉网络技术有限公司 Express delivery cabinet pickup system, method and equipment based on NFC

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241541A (en) * 2008-02-27 2008-08-13 上海复旦微电子股份有限公司 Device and method suitable for NFC terminal for storing, substituting and accessing application data
CN102662699A (en) * 2012-03-27 2012-09-12 惠州Tcl移动通信有限公司 Method for updating NFC (Near Field Communication) firmware of mobile terminal and mobile terminal
CN103778395A (en) * 2012-10-25 2014-05-07 中国移动通信集团公司 Application installation method for near field communication (NFC) terminal and near field communication (NFC) terminal
CN104053030A (en) * 2014-06-16 2014-09-17 青岛海信宽带多媒体技术有限公司 Combined television starting method and combined television
CN105338011A (en) * 2014-06-23 2016-02-17 阿里巴巴集团控股有限公司 Cloud-service-based system configuration method and apparatus, and cloud server
CN105608573A (en) * 2015-09-24 2016-05-25 腾讯科技(深圳)有限公司 Intelligent card information query method and apparatus thereof
CN105656519A (en) * 2015-12-28 2016-06-08 联想(北京)有限公司 Information processing method and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241541A (en) * 2008-02-27 2008-08-13 上海复旦微电子股份有限公司 Device and method suitable for NFC terminal for storing, substituting and accessing application data
CN102662699A (en) * 2012-03-27 2012-09-12 惠州Tcl移动通信有限公司 Method for updating NFC (Near Field Communication) firmware of mobile terminal and mobile terminal
CN103778395A (en) * 2012-10-25 2014-05-07 中国移动通信集团公司 Application installation method for near field communication (NFC) terminal and near field communication (NFC) terminal
CN104053030A (en) * 2014-06-16 2014-09-17 青岛海信宽带多媒体技术有限公司 Combined television starting method and combined television
CN105338011A (en) * 2014-06-23 2016-02-17 阿里巴巴集团控股有限公司 Cloud-service-based system configuration method and apparatus, and cloud server
CN105608573A (en) * 2015-09-24 2016-05-25 腾讯科技(深圳)有限公司 Intelligent card information query method and apparatus thereof
CN105656519A (en) * 2015-12-28 2016-06-08 联想(北京)有限公司 Information processing method and electronic device

Also Published As

Publication number Publication date
CN106960235A (en) 2017-07-18

Similar Documents

Publication Publication Date Title
CN106960235B (en) File calling method and device and electronic equipment
US10447790B2 (en) Information push
CN111432339A (en) Near field communication card switching method and device, storage medium and electronic equipment
CN110378696A (en) A kind of brush face method of payment, device, readable storage medium storing program for executing and terminal device
EP2858044A1 (en) Contactless payment method, device and system
CN107038074B (en) Memory optimization device and method based on association strategy
CN111835903B (en) Method for rapidly distributing data in NFC label and electronic equipment
US20180027409A1 (en) Method and system for configuring a mobile device
CN104320774A (en) Updating method, device and facility
CN104156841A (en) Express delivery method, system and express reception cabinet type terminal
CN104575494A (en) Speech processing method and terminal
CN106254404A (en) Application software authority recommends methods, devices and systems
CN107197074B (en) Address book management method and device, storage medium and electronic equipment
CN111104142A (en) Software upgrading method and device, electronic equipment and storage medium
CN107241714B (en) Method, device and storage medium for establishing communication
US11205169B2 (en) Device, combination of devices, system, and method for paying transportation fares
CN106406941A (en) Method and apparatus for updating firmware
KR102037556B1 (en) Method and device for upgrading telephone number in wireless terminal self-adaptive network upgrade
CN106532857B (en) Wireless charging method and wireless charging equipment
CN105530332B (en) The processing method and processing device of location information
CN112511974A (en) NFC card selection method and device and electronic equipment
CN101379844A (en) Processing proprietary data transmitted over a radio communication network to a mobile terminal under the control of a smart card
EP2124146A1 (en) System and methods for managing applications on a mobile device adapted for reading tags
US20190208364A1 (en) System and method for retrieving lost electronic device
CN104680783A (en) Fixed car booking terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20190117

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: BEIJING ZIJIE TIAODONG NETWORK TECHNOLOGY CO., LTD.

Address before: Room 309 and 310, Building 3, 33 D, 99 Kechuang 14th Street, Beijing Economic and Technological Development Zone, 100176

Applicant before: Beijing hammer numeral science and technology company limited

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant