CN114501581A - Processing method and device for reducing DH frequent operation NFCC - Google Patents

Processing method and device for reducing DH frequent operation NFCC Download PDF

Info

Publication number
CN114501581A
CN114501581A CN202210054583.0A CN202210054583A CN114501581A CN 114501581 A CN114501581 A CN 114501581A CN 202210054583 A CN202210054583 A CN 202210054583A CN 114501581 A CN114501581 A CN 114501581A
Authority
CN
China
Prior art keywords
routing table
nfcc
buffer pool
writing
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210054583.0A
Other languages
Chinese (zh)
Inventor
朱述波
朱恒毅
潘朝阳
王涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Rongka Technology Co ltd
Original Assignee
Wuxi Rongka 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 Wuxi Rongka Technology Co ltd filed Critical Wuxi Rongka Technology Co ltd
Priority to CN202210054583.0A priority Critical patent/CN114501581A/en
Publication of CN114501581A publication Critical patent/CN114501581A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/248Connectivity information update
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3278RFID or NFC payments by means of M-devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Signal Processing (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a processing method and a device for reducing DH frequent operation NFCC, wherein the method comprises the following steps: constructing a routing table buffer pool in a DH and setting the buffer size; writing a routing table issued by application setting into the routing table buffer pool; modifying, by the DH, information in the routing table buffer pool when frequent routing table updates are applied; when a preset updating condition is reached, the DH executes corresponding operation of setting routing table information; the beneficial effects are as follows: the method comprises the steps that a flow of writing routing table information through DH operation is changed, a routing table buffer pool is added in a DH, and routing table information is set by a DH layer only when a preset updating condition is met; therefore, the situation that the DH needs to frequently operate the NFCC every time a routing table is set can be avoided to a great extent, and therefore the reading and writing load of the NFCC are reduced, and the load overhead of the NFCC is correspondingly reduced.

Description

Processing method and device for reducing DH frequent operation NFCC
Technical Field
The invention relates to the technical field of near field communication, in particular to a processing method and a processing device for reducing DH frequent operation NFCC.
Background
The NFC application is most widely used as a card emulation application in which a DH performs operations with an NFCC using setting or modifying an NFC payment service. In the existing process of setting and updating routing table information by the NFCC, a DH layer always executes read-write operation with the NFCC, and if the setting or updating is performed for multiple times, the DH may frequently operate the NFCC, thereby bringing a large load overhead to the NFCC; if the write routing table operation is invalid, the invalid operation of the NFCC is also brought about.
Disclosure of Invention
Aiming at technical defects in the prior art, embodiments of the present invention provide a processing method and an apparatus for reducing frequent operations of an NFCC by a DH, so as to overcome the defect in the prior art that frequent operations of the NFCC by the DH result in multiple updates, which brings a large load overhead to the NFCC.
In order to achieve the above object, in a first aspect, an embodiment of the present invention provides a processing method for reducing frequent operation of a DH on an NFCC, where the method includes:
constructing a routing table buffer pool in a DH and setting the buffer size;
writing a routing table issued by application setting into the routing table buffer pool;
modifying, by the DH, information in the routing table buffer pool when frequent routing table updates are applied;
when a preset updating condition is reached, the DH executes corresponding operation of setting routing table information; wherein the operation comprises a write routing table information and a write routing table command.
Preferably, the update condition includes that the routing table buffer pool exceeds a set size, a deactivation message is received, and there is a field entry of the NFCC.
Preferably, when the routing table buffer pool exceeds a set size, the DH writes routing table information, which specifically includes: and deactivating the NFCC, writing the routing table and activating the NFCC.
Preferably, when the deactivation message is received, it is first checked whether the routing table buffer pool exists, and if so, a command of writing the routing table is executed.
Preferably, when there is a field entry in the NFCC, first checking whether the routing table buffer pool exists, and if so, executing the writing of the routing table information.
In a second aspect, an embodiment of the present invention further provides a processing apparatus for reducing frequent operations of a DH on an NFCC, including:
the construction module is used for constructing a routing table buffer pool in the DH and setting the buffer size;
the write-in module is used for writing the routing table issued by the application setting into the routing table buffer pool;
a processing module to:
modifying, by the DH, information in the routing table buffer pool when frequent routing table updates are applied;
when a preset updating condition is reached, the DH executes corresponding operation for setting the routing table information; wherein the operation comprises a write routing table information and a write routing table command.
Preferably, the update condition includes that the routing table buffer pool exceeds a set size, a deactivation message is received, and there is a field entry of the NFCC.
Preferably, when the size of the routing table buffer pool exceeds a set size, the DH executes writing routing table information, which specifically includes: and deactivating the NFCC, writing the routing table and activating the NFCC.
Preferably, when receiving the deactivation message, first checking whether the routing table buffer pool exists, if so, executing a command for writing the routing table;
when there is a field entry in the NFCC, first checking whether the routing table buffer pool exists, and if so, executing the writing of the routing table information.
Preferably, when the construction module performs buffer size setting, the buffer size is defined as n, and the deactivation message is triggered and generated after the NFCC updates the routing table for n-1 times.
By implementing the embodiment of the invention, the flow of writing the routing table information by changing the DH operation is added, a routing table buffer pool is added in the DH, and the DH layer sets the routing table information only when the preset updating condition is reached; therefore, the situation that the DH needs to frequently operate the NFCC every time a routing table is set can be avoided to a great extent, and therefore the reading and writing load of the NFCC are reduced, and the load overhead of the NFCC is correspondingly reduced.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below.
Fig. 1 is a flowchart of a process between DH and NFCC in the prior art;
fig. 2 is a flowchart of a processing method for reducing frequent operation of the DH on the NFCC according to an embodiment of the present invention;
fig. 3 is a block diagram of a processing apparatus for reducing frequent operations of a DH on an NFCC according to an 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 some, not all, embodiments of the present invention. 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.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the invention pertains. In this embodiment, the related technical terms are as follows:
nfc (near Field communication), near Field communication technology; the wireless communication system is a wireless technology which is initiated by Philips company and is jointly promoted by famous manufacturers such as Nokia and Sony, is integrated and evolved by a non-contact radio frequency identification and interconnection technology, and can be combined with an induction card reader, an induction card and a point-to-point function on a single chip to perform identification and data exchange with compatible equipment in a short distance;
nfcc (near Field Communication controller), a short-range wireless Communication controller;
dh (device host), device host.
Referring to fig. 1, in the prior art, when an NFCC is opened, routing table information is issued under the management of a routing table, and a DH layer executes a routing table write process.
The flow of DH write routing table is as follows:
the NFCC is deactivated.
And writing the routing table information.
The NFCC activation process is performed.
The above DH write routing table flow reads and writes the NFCC.
When NFCC sets up routing table information, routing table management updates the routing table information, and DH layer executes the writing flow of routing table, i.e. the above three steps.
Referring to fig. 2, a processing method for reducing frequent operation NFCC of DH provided in an embodiment of the present invention includes:
s101, constructing a routing table buffer pool in a DH and setting the buffer size.
And S102, writing the routing table issued by the application setting into the routing table buffer pool.
Specifically, the application setting is obtained by inputting an application program loaded by the intelligent terminal through operation of the intelligent terminal, and the set information is sent to the NFCC; the NFCC comprises routing table management, when the NFCC is opened, the routing table management issues a routing table, and a DH writes the routing table into a buffer pool and records the information state of the routing table;
the setting of the buffer size is not limited; wherein the routing table information state comprises: a routing table status flag; 1: to be written, 0: the number of routing tables is the same as the number of completed writes.
Similarly, when the NFCC sets the routing table, the routing table management updates the routing table, and the DH writes the routing table into the buffer pool, and records the information status of the routing table.
S103, when the application frequently updates the routing table, the DH modifies the information in the routing table buffer pool.
Specifically, when the routing table is frequently updated, the routing table is not written into the NFCC immediately, but the routing table is written into the routing table buffer pool through the DH, so that the NFCC is prevented from being read and written each time.
S104, when the preset updating condition is reached, the DH executes the corresponding operation of setting the routing table information; wherein the operation comprises a write routing table information and a write routing table command.
Specifically, the update condition includes that the routing table buffer pool exceeds a set size, a deactivation message is received, and there is a field entry of the NFCC;
when the size of the routing table buffer pool exceeds a set size, the DH executes write routing table information, which specifically includes: deactivating the NFCC, writing a routing table and activating the NFCC; thereby reducing the number of accesses to the NFCC by the DH write routing table.
When the deactivation message is received, firstly checking whether the routing table buffer pool exists, and if so, executing a command of writing the routing table; and if the routing table buffer pool does not exist, executing the general message deactivation process without processing the buffer pool.
When there is a field entry in the NFCC, firstly checking whether the routing table buffer pool exists, and if so, executing the writing of the routing table information; by the arrangement, invalid write-in times of the DH to the NFCC routing table can be completely avoided; and if the routing table buffer pool does not exist, executing a normal flow without processing the buffer pool.
According to the scheme, the routing table buffer pool is added to the DH, so that when the routing table information is set and updated, the routing table information is not written into the NFCC immediately but added into the routing table buffer pool, if the routing table buffer is set to be over-limit, or a deactivation message is received, or when the NFCC enters in a field, the routing table information is set by the DH layer, therefore, the access frequency of the DH writing the routing table to the NFCC can be reduced, and the invalid writing frequency of the DH to the NFCC is greatly reduced when the NFCC does not enter the field.
Further, when applied, the method further comprises: defining the buffer size as n when the buffer size is set, and triggering and generating the deactivation message after the NFCC updates the routing table for n-1 times; thus, the access times of the DH write routing table to the NFCC can be greatly reduced; it should be noted that a single unit of cache size may accept one routing table update.
To facilitate a better understanding of the invention, a specific example is described. If the DH routing table buffer size is set to 10, as shown by the comparison in table 1, the total number of read-write commands for the DH operation NFCC is reduced.
TABLE 1
Figure BDA0003475672500000061
Based on the same inventive concept, an embodiment of the present invention provides a processing apparatus for reducing frequent operation NFCC of a DH, as shown in fig. 3, including:
the construction module is used for constructing a routing table buffer pool in the DH and setting the buffer size;
the write-in module is used for writing the routing table issued by the application setting into the routing table buffer pool;
a processing module to:
modifying, by the DH, information in the routing table buffer pool when frequent routing table updates are applied;
when a preset updating condition is reached, the DH executes corresponding operation for setting the routing table information; wherein the operation comprises a write routing table information and a write routing table command.
When the NFCC is applied, the updating condition comprises that the routing table buffer pool exceeds the set size, a deactivation message is received, and the NFCC field entry exists;
when the size of the routing table buffer pool exceeds the set size, the DH executes write routing table information, which specifically includes: deactivating the NFCC, writing a routing table and activating the NFCC;
when the deactivation message is received, firstly checking whether the routing table buffer pool exists, and if so, executing a command of writing the routing table;
when there is a field entry in the NFCC, first checking whether the routing table buffer pool exists, and if so, executing the writing of the routing table information.
Further, the access times of the DH write routing table to the NFCC are greatly reduced; and when the construction module sets the buffer size, defining the buffer size as n, and triggering and generating the deactivation message after the NFCC updates the routing table for n-1 times.
It should be noted that, for a more specific workflow of the processing apparatus, please refer to the foregoing method embodiment, which is not described herein again.
In the implementation of the above scheme, the flow of writing the routing table information by changing DH operation is added to the DH, and the DH layer sets the routing table information only when a preset update condition is reached; therefore, the situation that the DH needs to frequently operate the NFCC every time a routing table is set can be avoided to a great extent, and therefore the reading and writing load of the NFCC are reduced, and the load overhead of the NFCC is correspondingly reduced.
Those of ordinary skill in the art will appreciate that the various illustrative modules and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention.

Claims (10)

1. A processing method for reducing frequent DH operation NFCC, the method comprising:
constructing a routing table buffer pool in a DH and setting the buffer size;
writing a routing table issued by application setting into the routing table buffer pool;
modifying, by the DH, information in the routing table buffer pool when frequent routing table updates are applied;
when a preset updating condition is reached, the DH executes corresponding operation of setting routing table information; wherein the operation comprises a write routing table information and a write routing table command.
2. The processing method of claim 1, wherein the update condition comprises the routing table buffer pool exceeding a set size, a deactivation message being received, and there being a field entry of the NFCC.
3. The processing method of claim 2, wherein when the routing table buffer pool exceeds a set size, the DH writes routing table information, specifically including: and deactivating the NFCC, writing the routing table and activating the NFCC.
4. The processing method of claim 2, wherein when the deactivation message is received, it is first checked whether the routing table buffer pool exists, and if so, a command for writing the routing table is executed.
5. The processing method of claim 3, wherein when there is a field entry into the NFCC, first checking whether the routing table buffer pool exists, and if so, performing the writing of the routing table information.
6. A processing apparatus for reducing DH frequent operation NFCC, comprising:
the construction module is used for constructing a routing table buffer pool in the DH and setting the buffer size;
the write-in module is used for writing the routing table issued by the application setting into the routing table buffer pool;
a processing module to:
modifying, by the DH, information in the routing table buffer pool when frequent routing table updates are applied;
when a preset updating condition is reached, the DH executes corresponding operation for setting the routing table information; wherein the operation comprises a write routing table information and a write routing table command.
7. The apparatus of claim 6, wherein the update condition comprises the routing table buffer pool exceeding a set size, a deactivation message received, and a presence of NFCC live entry.
8. The apparatus for reducing the number of NFCCs frequently operated by a DH of claim 7, wherein when the routing table buffer pool exceeds a set size, performing, by the DH, writing routing table information specifically includes: and deactivating the NFCC, writing the routing table and activating the NFCC.
9. The apparatus for processing to reduce DH frequent operations NFCC of claim 8, wherein upon receiving the deactivation message, first checking whether the routing table buffer pool exists, and if so, executing a write routing table command;
when there is a field entry in the NFCC, first checking whether the routing table buffer pool exists, and if so, executing the writing of the routing table information.
10. The apparatus of claim 9, wherein the constructing module defines a buffer size as n when performing buffer size setting, and triggers generation of the deactivation message after each n-1 routing table updates for the NFCC.
CN202210054583.0A 2022-01-18 2022-01-18 Processing method and device for reducing DH frequent operation NFCC Pending CN114501581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210054583.0A CN114501581A (en) 2022-01-18 2022-01-18 Processing method and device for reducing DH frequent operation NFCC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210054583.0A CN114501581A (en) 2022-01-18 2022-01-18 Processing method and device for reducing DH frequent operation NFCC

Publications (1)

Publication Number Publication Date
CN114501581A true CN114501581A (en) 2022-05-13

Family

ID=81511968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210054583.0A Pending CN114501581A (en) 2022-01-18 2022-01-18 Processing method and device for reducing DH frequent operation NFCC

Country Status (1)

Country Link
CN (1) CN114501581A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016187789A1 (en) * 2015-05-25 2016-12-01 华为技术有限公司 Method, device, dh, and nfcc for resolving conflict in radiofrequency interface extension
CN107239469A (en) * 2016-03-29 2017-10-10 中兴通讯股份有限公司 Route information query method and apparatus
CN108959117A (en) * 2018-06-22 2018-12-07 深圳忆联信息系统有限公司 H2D write operation accelerated method, device, computer equipment and storage medium
CN111107525A (en) * 2019-04-26 2020-05-05 华为技术有限公司 Automatic routing method of SE (secure element) and electronic equipment
CN111478856A (en) * 2020-03-10 2020-07-31 上海卫星工程研究所 Master-slave mode-based addressing method and system for communication route between dual redundant devices
CN113647074A (en) * 2019-03-29 2021-11-12 三星电子株式会社 Method for edge computing service and electronic device thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016187789A1 (en) * 2015-05-25 2016-12-01 华为技术有限公司 Method, device, dh, and nfcc for resolving conflict in radiofrequency interface extension
CN107239469A (en) * 2016-03-29 2017-10-10 中兴通讯股份有限公司 Route information query method and apparatus
CN108959117A (en) * 2018-06-22 2018-12-07 深圳忆联信息系统有限公司 H2D write operation accelerated method, device, computer equipment and storage medium
CN113647074A (en) * 2019-03-29 2021-11-12 三星电子株式会社 Method for edge computing service and electronic device thereof
CN111107525A (en) * 2019-04-26 2020-05-05 华为技术有限公司 Automatic routing method of SE (secure element) and electronic equipment
CN111478856A (en) * 2020-03-10 2020-07-31 上海卫星工程研究所 Master-slave mode-based addressing method and system for communication route between dual redundant devices

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘超: "基于IPv6的社区医疗物联网组件协同建模与验证", 中国优秀硕士学位论文全文数据库 医药卫生科技辑, 31 January 2020 (2020-01-31), pages 054 - 54 *
王青萍;裴雪兵;: "一种基于缓存技术的改进型AODV路由协议", 通信技术, no. 10, 10 October 2008 (2008-10-10), pages 176 - 179 *

Similar Documents

Publication Publication Date Title
CN107808670A (en) Voice data processing method, device, equipment and storage medium
US9008575B2 (en) Portable mobile communication device and method of controlling near field communication
CN108415758B (en) Distributed transaction coordination method and device
CN111291022B (en) Data storage system based on block chain
CN101197016A (en) Batching concurrent job processing equipment and method
CN110460984A (en) More Bluetooth control methods, system, terminal and storage based on distributed storage
CN114501581A (en) Processing method and device for reducing DH frequent operation NFCC
CN113282280A (en) Function-extensible-oriented universal signal equipment interaction method, equipment and medium
CN102609310A (en) Computer operating system and inter-process communication method therefor
CN111930624A (en) Test link message data processing method and device
CN114186976A (en) Workflow transfer method and device, computer equipment and storage medium
CN110309642B (en) Desktop power switch safety identity authentication system and identity authentication method thereof
CN111158920A (en) Process data read-write optimization method and system for mobile system
US20140375433A1 (en) Electronic apparatus and control method thereof
JP4967543B2 (en) Information recording medium, information recording medium application execution method and program
CN100452893C (en) System and method for realizing value-added business based on user identification module
CN115103345A (en) System updating method and device based on near field communication
CN103997445A (en) Method and system for controlling office internet of things based on RFID
CN111773714B (en) Game skill configuration method and device and game skill control method and device
CN111949355B (en) Column menu shielding method and device
CN103489267B (en) Switch type USB device dispatching device and scheduling method thereof
CN113177622A (en) Intelligent recognition system and method for standard cabinet
CN117435402A (en) Method and device for scheduling tape drives with backup strategy
CN113645597A (en) NFC communication processing method and device, storage medium and electronic equipment
CN116166175A (en) Data writing method, system, medium and computer equipment based on heap writing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination