CN115720349B - Frame delay time adjustment method and device for near field communication - Google Patents

Frame delay time adjustment method and device for near field communication Download PDF

Info

Publication number
CN115720349B
CN115720349B CN202310029873.4A CN202310029873A CN115720349B CN 115720349 B CN115720349 B CN 115720349B CN 202310029873 A CN202310029873 A CN 202310029873A CN 115720349 B CN115720349 B CN 115720349B
Authority
CN
China
Prior art keywords
delay time
frame delay
activation instruction
time adjustment
adjustment value
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
CN202310029873.4A
Other languages
Chinese (zh)
Other versions
CN115720349A (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 Unigroup Tsingteng Microsystems Co Ltd
Original Assignee
Beijing Unigroup Tsingteng Microsystems 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 Unigroup Tsingteng Microsystems Co Ltd filed Critical Beijing Unigroup Tsingteng Microsystems Co Ltd
Priority to CN202310029873.4A priority Critical patent/CN115720349B/en
Publication of CN115720349A publication Critical patent/CN115720349A/en
Application granted granted Critical
Publication of CN115720349B publication Critical patent/CN115720349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a frame delay time adjustment method and device for near field communication, wherein the method firstly obtains the current field intensity value, the activation instruction times and the initial frame delay time of the near field communication; according to the current field intensity value, the initial frame delay time is adjusted to obtain the basic frame delay time; according to the number of times of the activation instruction, the basic frame delay time is adjusted to obtain the target frame delay time; and adjusting the frame delay time of the card reading device to be the target frame delay time. Like this, can be to the card distance, angle, field intensity value size and other floating factors (such as activation instruction number of times) of punching the card of different equipment of punching the card in this application, carry out real-time dynamic adjustment to the frame delay time of card reading equipment for card reading equipment can compatible huge, the NFC equipment of punching the card of different grade type of quantity, thereby the effectual compatibility and the success rate of punching the card of card reading equipment in the promotion near field communication, and then improve user experience.

Description

Frame delay time adjustment method and device for near field communication
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for adjusting frame delay time of near field communications.
Background
Near field communication (Near Field Communication, NFC) technology is now beginning to be popular in mobile phones, more and more people begin to pay using NFC, and many gatekeepers also support mobile phone payment using NFC. Particularly for public transportation of the type of subway and bus, NFC application is increasingly supported. However, aiming at the inconsistencies of the card swiping modes of various card swiping user groups and the differences of various card swiping devices (such as the card swiping modes of the user groups from high to low, from outside to inside and the like), the distance and the field intensity of the various card swiping devices can influence the frame waiting time in the communication process, so that the NFC card swiping cannot be carried out due to communication errors. Thus, in the face of such a large population of card swiping devices, where the variability of each card swiping device is also present, there is a need for card reading devices that are compatible with a large number of NFC card swiping devices of complex types.
Disclosure of Invention
The frame delay time adjustment method and device for near field communication can dynamically adjust the frame delay time of the card reading equipment in real time according to the card swiping distance, angle, field intensity value and other floating factors (such as activation instruction times) of different card swiping equipment, so that the card reading equipment can be compatible with a large number of NFC card swiping equipment of different types, the compatibility of the card reading equipment and the card swiping success rate in near field communication are effectively improved, and user experience is further improved. .
In a first aspect, the present application provides a method for adjusting a frame delay time of near field communication, the method including:
acquiring a current field intensity value, activation instruction times and initial frame delay time of near field communication;
according to the current field intensity value, the initial frame delay time is adjusted to obtain a basic frame delay time;
according to the activation instruction times, the basic frame delay time is adjusted to obtain target frame delay time;
and adjusting the frame delay time of the card reading equipment to be the target frame delay time.
Optionally, the adjusting the initial frame delay time according to the current field intensity value to obtain a base frame delay time includes:
determining a frame delay time adjustment value corresponding to the current field intensity value according to the corresponding relation between the preset field intensity and the frame delay time adjustment value;
and adjusting the initial frame delay time according to the frame delay time adjustment value corresponding to the current field intensity value to obtain an adjusted frame delay time.
Optionally, the corresponding relation between the preset field intensity and the frame delay time adjustment value includes a corresponding relation between a plurality of groups of field intensity intervals and the frame delay time adjustment value, and each field intensity interval is provided with a corresponding frame delay time adjustment value.
Optionally, the number of times of the activation instruction is the number of times of the activation instruction continuously received in a preset time.
Optionally, the adjusting the basic frame delay time according to the number of activation instructions to obtain a target frame delay time includes:
determining a frame delay time adjustment value corresponding to the activation instruction times according to the corresponding relation between the preset activation instruction times and the frame delay time adjustment value;
and adjusting the basic frame delay time according to the frame delay time adjustment value corresponding to the activation instruction times to obtain a target frame delay time.
Optionally, the corresponding relation between the preset activation instruction times and the frame delay time adjustment values includes corresponding relations between a plurality of groups of activation instruction times and the frame delay time adjustment values, and the frame delay time adjustment values corresponding to each activation instruction times are different.
Optionally, each time the number of activation instructions increases, the frame delay time adjustment value of the number of activation instructions correspondingly increases or decreases by one unit dynamic adjustment value.
In a second aspect, the present application provides a frame delay time adjustment apparatus for near field communication, the apparatus comprising:
the information acquisition unit is used for acquiring the current field intensity value, the activation instruction times and the initial frame delay time of near field communication;
the first adjusting unit is used for adjusting the initial frame delay time according to the current field intensity value to obtain a basic frame delay time;
the second adjusting unit is used for adjusting the basic frame delay time according to the activation instruction times to obtain target frame delay time;
and the third adjusting unit is used for adjusting the frame delay time of the card reading equipment to the target frame delay time.
Optionally, the first adjusting unit 302 is configured to:
determining a frame delay time adjustment value corresponding to the current field intensity value according to the corresponding relation between the preset field intensity and the frame delay time adjustment value;
and adjusting the initial frame delay time according to the frame delay time adjustment value corresponding to the current field intensity value to obtain an adjusted frame delay time.
Optionally, the corresponding relation between the preset field intensity and the frame delay time adjustment value includes a corresponding relation between a plurality of groups of field intensity intervals and the frame delay time adjustment value, and each field intensity interval is provided with a corresponding frame delay time adjustment value.
Optionally, the number of times of the activation instruction is the number of times of the activation instruction continuously received in a preset time.
Optionally, the second adjusting unit 303 is configured to:
determining a frame delay time adjustment value corresponding to the activation instruction times according to the corresponding relation between the preset activation instruction times and the frame delay time adjustment value;
and adjusting the basic frame delay time according to the frame delay time adjustment value corresponding to the activation instruction times to obtain a target frame delay time.
Optionally, the corresponding relation between the preset activation instruction times and the frame delay time adjustment values includes corresponding relations between a plurality of groups of activation instruction times and the frame delay time adjustment values, and the frame delay time adjustment values corresponding to each activation instruction times are different.
Optionally, each time the number of activation instructions increases, the frame delay time adjustment value of the number of activation instructions correspondingly increases or decreases by one unit dynamic adjustment value.
In a third aspect, the present application provides a readable medium comprising execution instructions which, when executed by a processor of an electronic device, perform the method according to any of the first aspects.
In a fourth aspect, the present application provides an electronic device comprising a processor and a memory storing execution instructions, the processor performing the method according to any one of the first aspects when executing the execution instructions stored in the memory.
According to the technical scheme, the current field intensity value, the activation instruction times and the initial frame delay time of near field communication can be acquired firstly; according to the current field intensity value, the initial frame delay time is adjusted to obtain a basic frame delay time; according to the activation instruction times, the basic frame delay time is adjusted to obtain target frame delay time; and adjusting the frame delay time of the card reading equipment to be the target frame delay time. Because the distances between the card reading equipment and the card reading equipment are different, the field intensity values corresponding to NFC are different, and therefore the current field intensity values can reflect the distances between the card reading equipment and the card reading equipment, in this embodiment, the frame delay time of the card reading equipment can be dynamically adjusted in real time according to the card reading distances, angles, field intensity values and other floating factors (such as the number of activation instructions) of the different card reading equipment, so that the card reading equipment can be compatible with a large number of NFC card reading equipment of different types, the compatibility of the card reading equipment and the card reading success rate in near field communication can be effectively improved, and user experience can be further improved.
Further effects of the above-described non-conventional preferred embodiments will be described below in connection with the detailed description.
Drawings
In order to more clearly illustrate the embodiments or prior art solutions of the present application, the drawings that are required for the description of the embodiments or prior art will be briefly described below, it being apparent that the drawings in the following description are only some of the embodiments described in the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a flow chart of a frame delay time adjustment method of near field communication in the present application;
FIG. 2 is a schematic diagram of a frame delay time according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a frame delay time adjustment device for near field communication according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The inventor finds that in the prior art, in the current near field communication technology, aiming at the inconsistency of the card swiping modes of various card swiping user groups and the difference of various card swiping devices (such as the card swiping modes of the user groups from high to low, from outside to inside and the like), the distance and the field intensity of the various card swiping devices can influence the frame waiting time in the communication process, so that the communication error can not be caused to carry out NFC card swiping. Thus, in the face of such a large population of card swiping devices, where the variability of each card swiping device is also present, there is a need for card reading devices that are compatible with a large number of NFC card swiping devices of complex types.
Therefore, the application provides a frame delay time adjustment method of near field communication, and the method can acquire the current field intensity value, the activation instruction times and the initial frame delay time of near field communication; according to the current field intensity value, the initial frame delay time is adjusted to obtain a basic frame delay time; according to the activation instruction times, the basic frame delay time is adjusted to obtain target frame delay time; and adjusting the frame delay time of the card reading equipment to be the target frame delay time. Because the distances between the card reading equipment and the card reading equipment are different, the field intensity values corresponding to NFC are different, and therefore the current field intensity values can reflect the distances between the card reading equipment and the card reading equipment, in this embodiment, the frame delay time of the card reading equipment can be dynamically adjusted in real time according to the card reading distances, angles, field intensity values and other floating factors (such as the number of activation instructions) of the different card reading equipment, so that the card reading equipment can be compatible with a large number of NFC card reading equipment of different types, the compatibility of the card reading equipment and the card reading success rate in near field communication can be effectively improved, and user experience can be further improved.
Next, referring to fig. 1, a frame delay time adjustment method of near field communication in an embodiment of the present application is shown. In this embodiment, the method may include, for example, the steps of:
s101: the current field intensity value, the activation instruction times and the initial frame delay time of the near field communication are obtained.
In this embodiment, the field intensity value at the current time of the near field communication (i.e. NFC) between the card reading device and the card swiping device may be acquired first, and for convenience of description, the field intensity value at the current time of the near field communication (i.e. NFC) between the card reading device and the card swiping device may be referred to as the current field intensity value. It should be noted that, the farther the distance or angle between the card reading device and the card swiping device is, the smaller the coupling degree between the card reading device and the card swiping device is, and correspondingly, the smaller the current field intensity value of the near field communication is, at this time, the smaller the frame delay time of the near field communication is; conversely, the closer the distance or angle between the card reading device and the card swiping device is, the greater the coupling degree between the card reading device and the card swiping device is, and correspondingly, the greater the current field intensity value of the near field communication is, and at this time, the greater the frame delay time of the near field communication is. It should be noted that, the NFC specification sets a frame delay time within a standard range, where the frame delay time changes linearly with a certain parameter, and only when the frame delay time is located in a certain interval, it can be ensured that the current field intensity value of the near field communication is within the standard range, and the card reader can read the data of the card reader, so as to ensure that the communication between the card reader and the card reader is successful.
The number of activation instructions of near field communication may be understood as the number of activation instructions continuously received by the card reading device in a preset time, for example, may be the number of failed replies of the activation wake-up instruction in a period of time. That is, the number of activation instructions is the number of times the card reader device continuously receives the activation instructions. For example, if the user uses the mobile phone NFC to continuously swipe the gate three times, it can be understood that the number of activation instructions of the near field communication is three.
The initial Frame Delay Time of near field communication may be understood as a Frame Delay Time (FDT) of near field communication at the current Time. It will be appreciated that as shown in fig. 2, the FDT of the near field communication may be understood as the time between when the card (i.e., the card reader device) decodes the last rising edge sent by the card reader device to the first edge sent by the card.
S102: and adjusting the initial frame delay time according to the current field intensity value to obtain a basic frame delay time.
The communication failure between the card reading equipment and the card swiping equipment can be caused by the fact that the initial frame delay time is not matched with the current field intensity value; specifically, due to different waveforms emitted by different card swiping devices, deviation of the FDT may occur, thereby causing communication failure between the card reading device and the card swiping device. Therefore, after the current field intensity value and the initial frame delay time are obtained, the initial frame delay time can be adjusted according to the current field intensity value to obtain the basic frame delay time, namely, the FDT of the NFC is adjusted according to the current field intensity value, so that the FDT is linearly adjusted.
As an example, a correspondence between field strength and a frame delay time adjustment value may be preset, where the correspondence between the preset field strength and the frame delay time adjustment value may include a correspondence between several sets of field strength intervals and frame delay time adjustment values, and each field strength interval sets a corresponding frame delay time adjustment value. It should be noted that, when the field strength is strong, the coupling degree is high, when the field strength is small, the coupling degree is low, and the card swiping device receives the fixed decoding threshold, so the FDT of NFC is large when the coupling degree is low, so the FDT needs to be appropriately reduced, and the FDT needs to be appropriately increased when the coupling degree is high. For example, the field strength is a first field strength interval, and the corresponding frame delay time adjustment value may be 0; the field intensity is the second field intensity interval and is larger than the first field intensity interval, and the corresponding frame delay time adjustment value can be-1; the field intensity is a third field intensity interval and is larger than the second field intensity interval, and the corresponding frame delay time adjustment value can be-2; the field strength is in the default (i.e., undetected) state, and the corresponding frame delay time adjustment value may be 0.
After determining the current field intensity value, determining the frame delay time adjustment value corresponding to the current field intensity value according to the corresponding relation between the preset field intensity and the frame delay time adjustment value. That is, in the correspondence between the preset field strength and the frame delay time adjustment value, the field strength corresponding to the current field strength value (i.e., the field strength interval corresponding to the current field strength value) is first queried, and then the frame delay time adjustment value corresponding to the field strength (i.e., the field strength interval) is determined. And then, according to the frame delay time adjustment value corresponding to the current field intensity value, adjusting the initial frame delay time to obtain an adjusted frame delay time. For example, if the frame delay time adjustment value corresponding to the current field strength value is-1, the initial frame delay time is reduced by 1 time unit.
S103: and adjusting the basic frame delay time according to the activation instruction times to obtain a target frame delay time.
It should be noted that, after the initial frame delay time is adjusted based on the current field intensity value to obtain the base frame delay time, the base frame delay time is still caused by the existence of the floating of other parameters, which results in failure of communication between the card reading device and the card swiping device. Therefore, further real-time dynamic adjustment of the base frame delay time based on the number of times an activation instruction is utilized (e.g., the number of times an activation wakeup instruction is acknowledged) is needed.
As an example, in this embodiment, a correspondence between the number of activation instructions and the frame delay time adjustment value may be preset, where the preset correspondence between the number of activation instructions and the frame delay time adjustment value may include a correspondence between a plurality of groups of activation instruction numbers and the frame delay time adjustment value, and the frame delay time adjustment values corresponding to each activation instruction number are different. It should be noted that, when the number of times of the activation instruction increases once, the frame delay time adjustment value of the number of times of the activation instruction correspondingly increases or decreases by one unit dynamic adjustment value; for example, when the number of activation instructions is odd, the frame delay time adjustment value of the number of activation instructions is correspondingly decreased by one unit dynamic adjustment value, and when the number of activation instructions is even, the frame delay time adjustment value of the number of activation instructions is correspondingly increased by one unit dynamic adjustment value; wherein each unit dynamic adjustment value (i.e., delta) is a preset fixed value.
Specifically, the frame delay time adjustment value (i.e., the number of unit dynamic adjustment values) corresponding to the activation instruction number may be determined according to the corresponding relationship between the preset activation instruction number and the frame delay time adjustment value. That is, in the correspondence between the preset number of activation instructions and the frame delay time adjustment value, the number of activation instructions corresponding to the current number of activation instructions is first queried, and then the frame delay time adjustment value corresponding to the number of activation instructions is used as the frame delay time adjustment value corresponding to the current number of activation instructions. And then, according to the frame delay time adjustment value corresponding to the activation instruction times, adjusting the basic frame delay time to obtain a target frame delay time. That is, the frame delay time adjustment value corresponding to the number of activation instructions is increased or decreased by a number of units of dynamic adjustment value, or is not adjusted. In this way. After the basic frame delay time is adjusted according to the frame delay time adjustment value corresponding to the number of times of the activation instruction, the proper target frame delay time can be obtained, that is, by setting the proper delta value and adjusting the basic frame delay time by using the set delta value, the problem of compatibility between the card reading device and the card swiping device caused by FDT can be avoided.
For example, assuming that the number of activation instructions is 0 times, the frame delay time adjustment value corresponding to the number of activation instructions is 0, and thus, the base frame delay time may be taken as the target frame delay time; assuming that the number of the activation instructions is 1, the frame delay time adjustment value corresponding to the number of the activation instructions 1 is one unit dynamic adjustment value, so that the basic frame delay time can be reduced by one unit dynamic adjustment value and then used as the target frame delay time; assuming that the number of activation instructions is 2, the frame delay time adjustment value corresponding to the number of activation instructions 2 is increased by one unit dynamic adjustment value, so that the base frame delay time can be increased by one unit dynamic adjustment value and then used as the target frame delay time.
S104: and adjusting the frame delay time of the card reading equipment to be the target frame delay time.
In this embodiment, since the frame delay time adjusted according to the current field intensity value and the number of activation instructions better conforms to the current near field communication, the frame delay time of the card reading device may be adjusted to the target frame delay time after the frame delay time of the near field communication is determined. Thus, when the card reading equipment is in communication connection with different card reading equipment to read data, the card reading equipment can be in communication connection with the different card reading equipment based on the corresponding target frame delay time respectively, so that the data of the different card reading equipment can be read, the compatibility of the card reading equipment and the card reading success rate in near field communication can be effectively improved, and further the user experience is improved.
Therefore, the method and the device can acquire the current field intensity value, the activation instruction times and the initial frame delay time of near field communication; according to the current field intensity value, the initial frame delay time is adjusted to obtain a basic frame delay time; according to the activation instruction times, the basic frame delay time is adjusted to obtain target frame delay time; and adjusting the frame delay time of the card reading equipment to be the target frame delay time. Because the distances between the card reading equipment and the card reading equipment are different, the field intensity values corresponding to NFC are different, and therefore the current field intensity values can reflect the distances between the card reading equipment and the card reading equipment, in this embodiment, the frame delay time of the card reading equipment can be dynamically adjusted in real time according to the card reading distances, angles, field intensity values and other floating factors (such as the number of activation instructions) of the different card reading equipment, so that the card reading equipment can be compatible with a large number of NFC card reading equipment of different types, the compatibility of the card reading equipment and the card reading success rate in near field communication can be effectively improved, and user experience can be further improved.
As shown in fig. 3, a specific embodiment of the frame delay time adjustment device for near field communication is described herein. The apparatus of this embodiment is an entity apparatus for performing the method of the foregoing embodiment. The technical solution is essentially identical to the above embodiment, and the corresponding description in the above embodiment is also applicable to this embodiment. The device is applied to a terminal security agent in a virtual machine system, and in the embodiment, the device comprises:
an information obtaining unit 301, configured to obtain a current field strength value, an activation instruction number, and an initial frame delay time of near field communication;
a first adjusting unit 302, configured to adjust the initial frame delay time according to the current field intensity value, so as to obtain a base frame delay time;
a second adjusting unit 303, configured to adjust the basic frame delay time according to the number of times of the activation instruction, so as to obtain a target frame delay time;
and a third adjusting unit 304, configured to adjust the frame delay time of the card reading device to the target frame delay time.
Optionally, the first adjusting unit 302 is configured to:
determining a frame delay time adjustment value corresponding to the current field intensity value according to the corresponding relation between the preset field intensity and the frame delay time adjustment value;
and adjusting the initial frame delay time according to the frame delay time adjustment value corresponding to the current field intensity value to obtain an adjusted frame delay time.
Optionally, the corresponding relation between the preset field intensity and the frame delay time adjustment value includes a corresponding relation between a plurality of groups of field intensity intervals and the frame delay time adjustment value, and each field intensity interval is provided with a corresponding frame delay time adjustment value.
Optionally, the number of times of the activation instruction is the number of times of the activation instruction continuously received in a preset time.
Optionally, the second adjusting unit 303 is configured to:
determining a frame delay time adjustment value corresponding to the activation instruction times according to the corresponding relation between the preset activation instruction times and the frame delay time adjustment value;
and adjusting the basic frame delay time according to the frame delay time adjustment value corresponding to the activation instruction times to obtain a target frame delay time.
Optionally, the corresponding relation between the preset activation instruction times and the frame delay time adjustment values includes corresponding relations between a plurality of groups of activation instruction times and the frame delay time adjustment values, and the frame delay time adjustment values corresponding to each activation instruction times are different.
Optionally, each time the number of activation instructions increases, the frame delay time adjustment value of the number of activation instructions correspondingly increases or decreases by one unit dynamic adjustment value.
As can be seen from the above technical solution, the frame delay time adjustment device for near field communication of the present application includes: the information acquisition unit is used for acquiring the current field intensity value, the activation instruction times and the initial frame delay time of near field communication; the first adjusting unit is used for adjusting the initial frame delay time according to the current field intensity value to obtain a basic frame delay time; the second adjusting unit is used for adjusting the basic frame delay time according to the activation instruction times to obtain target frame delay time; and the third adjusting unit is used for adjusting the frame delay time of the card reading equipment to the target frame delay time. Because the distances between the card reading equipment and the card reading equipment are different, the field intensity values corresponding to NFC are different, and therefore the current field intensity values can reflect the distances between the card reading equipment and the card reading equipment, in this embodiment, the frame delay time of the card reading equipment can be dynamically adjusted in real time according to the card reading distances, angles, field intensity values and other floating factors (such as the number of activation instructions) of the different card reading equipment, so that the card reading equipment can be compatible with a large number of NFC card reading equipment of different types, the compatibility of the card reading equipment and the card reading success rate in near field communication can be effectively improved, and user experience can be further improved.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. At the hardware level, the electronic device comprises a processor, optionally an internal bus, a network interface, a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, network interface, and memory may be interconnected by an internal bus, which may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 4, but not only one bus or type of bus.
And the memory is used for storing the execution instruction. In particular, a computer program that executes instructions may be executed. The memory may include memory and non-volatile storage and provide the processor with instructions and data for execution.
In one possible implementation manner, the processor reads the corresponding execution instruction from the nonvolatile memory into the memory and then executes the execution instruction, and may also acquire the corresponding execution instruction from other devices, so as to form the frame delay time adjustment device of near field communication on a logic level. The processor executes the execution instructions stored in the memory to implement the frame delay time adjustment method of near field communication provided in any embodiment of the present application by executing the execution instructions.
The method executed by the frame delay time adjusting apparatus for near field communication according to the embodiment shown in fig. 1 of the present application may be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
The embodiment of the application also provides a readable medium, wherein the readable storage medium stores an execution instruction, and when the stored execution instruction is executed by a processor of an electronic device, the electronic device can be enabled to execute the frame delay time adjustment method of near field communication provided in any embodiment of the application, and the method is specifically used for executing the frame delay time adjustment method of near field communication.
The electronic device described in the foregoing embodiments may be a computer.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects.
All embodiments in the application are described in a progressive manner, and identical and similar parts of all embodiments are mutually referred, so that each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
It should also be noted that 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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (6)

1. A method for adjusting frame delay time of near field communication, the method comprising:
acquiring a current field intensity value, activation instruction times and initial frame delay time of near field communication; the activation instruction times are the activation instruction times continuously received in preset time;
according to the current field intensity value, the initial frame delay time is adjusted to obtain a basic frame delay time;
according to the activation instruction times, the basic frame delay time is adjusted to obtain target frame delay time;
adjusting the frame delay time of the card reading equipment to be the target frame delay time;
the step of adjusting the basic frame delay time according to the activation instruction times to obtain a target frame delay time comprises the following steps:
determining a frame delay time adjustment value corresponding to the activation instruction times according to the corresponding relation between the preset activation instruction times and the frame delay time adjustment value;
according to the frame delay time adjustment value corresponding to the activation instruction times, adjusting the basic frame delay time to obtain a target frame delay time;
the corresponding relation between the preset activation instruction times and the frame delay time adjustment values comprises corresponding relations between a plurality of groups of activation instruction times and the frame delay time adjustment values, and the frame delay time adjustment values corresponding to the activation instruction times are different;
each time the number of activation instructions increases, the frame delay time adjustment value of the number of activation instructions correspondingly increases or decreases by one unit dynamic adjustment value.
2. The method of claim 1, wherein said adjusting the initial frame delay time based on the current field strength value to obtain a base frame delay time comprises:
determining a frame delay time adjustment value corresponding to the current field intensity value according to the corresponding relation between the preset field intensity and the frame delay time adjustment value;
and adjusting the initial frame delay time according to the frame delay time adjustment value corresponding to the current field intensity value to obtain an adjusted frame delay time.
3. The method of claim 2, wherein the preset correspondence between field strength and frame delay time adjustment values includes correspondence between sets of field strength intervals and frame delay time adjustment values, and wherein each field strength interval is provided with a corresponding frame delay time adjustment value.
4. A frame delay time adjustment apparatus for near field communication, the apparatus comprising:
the information acquisition unit is used for acquiring the current field intensity value, the activation instruction times and the initial frame delay time of near field communication; the activation instruction times are the activation instruction times continuously received in preset time;
the first adjusting unit is used for adjusting the initial frame delay time according to the current field intensity value to obtain a basic frame delay time;
the second adjusting unit is used for adjusting the basic frame delay time according to the activation instruction times to obtain target frame delay time; the step of adjusting the basic frame delay time according to the activation instruction times to obtain a target frame delay time comprises the following steps: determining a frame delay time adjustment value corresponding to the activation instruction times according to the corresponding relation between the preset activation instruction times and the frame delay time adjustment value; according to the frame delay time adjustment value corresponding to the activation instruction times, adjusting the basic frame delay time to obtain a target frame delay time; the corresponding relation between the preset activation instruction times and the frame delay time adjustment values comprises corresponding relations between a plurality of groups of activation instruction times and the frame delay time adjustment values, and the frame delay time adjustment values corresponding to the activation instruction times are different; each time the number of the activation instructions increases, the frame delay time adjustment value of the number of the activation instructions correspondingly increases or decreases by one unit dynamic adjustment value;
and the third adjusting unit is used for adjusting the frame delay time of the card reading equipment to the target frame delay time.
5. A readable medium comprising execution instructions which, when executed by a processor of an electronic device, perform the method of any of claims 1-3.
6. An electronic device comprising a processor and a memory storing execution instructions, the processor performing the method of any of claims 1-3 when the processor executes the execution instructions stored in the memory.
CN202310029873.4A 2023-01-09 2023-01-09 Frame delay time adjustment method and device for near field communication Active CN115720349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310029873.4A CN115720349B (en) 2023-01-09 2023-01-09 Frame delay time adjustment method and device for near field communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310029873.4A CN115720349B (en) 2023-01-09 2023-01-09 Frame delay time adjustment method and device for near field communication

Publications (2)

Publication Number Publication Date
CN115720349A CN115720349A (en) 2023-02-28
CN115720349B true CN115720349B (en) 2023-06-20

Family

ID=85257913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310029873.4A Active CN115720349B (en) 2023-01-09 2023-01-09 Frame delay time adjustment method and device for near field communication

Country Status (1)

Country Link
CN (1) CN115720349B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108141365A (en) * 2015-10-29 2018-06-08 高通股份有限公司 The system and method for distance are defined for using near-field communication
CN111914575A (en) * 2019-05-09 2020-11-10 恩智浦有限公司 Transponder and method of operating the same
CN112395894A (en) * 2019-08-16 2021-02-23 华为技术有限公司 Communication method and device based on NFC
CN114365001A (en) * 2019-08-29 2022-04-15 圣特洛克公司 Near field communication surface and method of positioning on said surface
CN115102583A (en) * 2022-08-25 2022-09-23 北京紫光青藤微系统有限公司 NFC communication method, NFC communication device, readable medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108141365A (en) * 2015-10-29 2018-06-08 高通股份有限公司 The system and method for distance are defined for using near-field communication
CN111914575A (en) * 2019-05-09 2020-11-10 恩智浦有限公司 Transponder and method of operating the same
CN112395894A (en) * 2019-08-16 2021-02-23 华为技术有限公司 Communication method and device based on NFC
CN114365001A (en) * 2019-08-29 2022-04-15 圣特洛克公司 Near field communication surface and method of positioning on said surface
CN115102583A (en) * 2022-08-25 2022-09-23 北京紫光青藤微系统有限公司 NFC communication method, NFC communication device, readable medium and electronic equipment

Also Published As

Publication number Publication date
CN115720349A (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN110784450A (en) Single sign-on method and device based on browser
CN110648136B (en) Consensus and transaction synchronous parallel processing method and device and electronic equipment
US20200379748A1 (en) Upgrading method and apparatus
CN105684027A (en) House resource verifying method and system for real estate network
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
US20230007873A1 (en) Management Method and Apparatus for System Configuration Independent of Smart Contract for Blockchain
CN111083228A (en) Identification number generation method and device and electronic equipment
CN111698244A (en) Method and device for rapidly participating in consensus of newly added nodes and electronic equipment
CN110955390B (en) Data processing method, device, electronic equipment and storage medium
CN115630663A (en) Two-dimensional code identification method and device and electronic equipment
CN108596581B (en) Verification method and device for resource transfer and electronic payment verification method and device
CN115720349B (en) Frame delay time adjustment method and device for near field communication
CN109495556B (en) File processing method and device
CN110278241B (en) Registration request processing method and device
CN109740336B (en) Method and device for identifying verification information in picture and electronic equipment
CN115102583B (en) NFC communication method, NFC communication device, readable medium and electronic equipment
CN108650150B (en) Data verification method and device
CN112822666B (en) Communication method, communication device, electronic equipment and storage medium
CN106055392B (en) Using processing method, test method and the terminal behind entrance backstage
CN111884808B (en) Method and device for preventing transaction cross-chain replay and electronic equipment
CN110347683B (en) Data table merging processing method and device
CN111352825B (en) Data interface testing method and device and server
CN112232954A (en) Dynamic adjustment method and device for proposal timeout threshold value and electronic equipment
CN110876852B (en) Network game data processing method and system for micro-service
CN113079110B (en) Message processing method, device, equipment and storage medium

Legal Events

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