CN112130872A - Heat replacement method and system driven by radio frequency reader - Google Patents

Heat replacement method and system driven by radio frequency reader Download PDF

Info

Publication number
CN112130872A
CN112130872A CN202011055422.0A CN202011055422A CN112130872A CN 112130872 A CN112130872 A CN 112130872A CN 202011055422 A CN202011055422 A CN 202011055422A CN 112130872 A CN112130872 A CN 112130872A
Authority
CN
China
Prior art keywords
radio frequency
frequency reader
file
drive
reader
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
CN202011055422.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.)
State Grid Information and Telecommunication Co Ltd
Beijing China Power Information Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing China Power Information 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 State Grid Information and Telecommunication Co Ltd, Beijing China Power Information Technology Co Ltd filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN202011055422.0A priority Critical patent/CN112130872A/en
Publication of CN112130872A publication Critical patent/CN112130872A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a thermal replacement method and a thermal replacement system for a radio frequency reader driver. The target driver file is installed in a hot installation mode, hot replacement of the external radio frequency reader driver in the running process of the radio frequency application is achieved, the replaced external radio frequency reader can be directly used after the hot replacement of the external radio frequency reader driver is completed, the radio frequency application does not need to be installed again, and the radio frequency application does not need to be restarted.

Description

Heat replacement method and system driven by radio frequency reader
Technical Field
The application belongs to the technical field of radio frequency readers, and particularly relates to a hot replacement method and system driven by a radio frequency reader.
Background
In order to effectively manage fixed assets and perform statistical analysis, electric power companies in various regions have been actively developing physical object "ID" construction. The scanning of the radio frequency tag for identifying the fixed assets is an important part in the construction of the object ID, but the object ID mobile operation terminal comprises a plurality of radio frequency readers, so that a plurality of radio frequency reader manufacturers are involved, and original drive files provided by different radio frequency reader manufacturers are different.
Under the condition of replacing the external radio frequency reader, the radio frequency tag can be scanned by using the replaced radio frequency reader only by reinstalling the corresponding radio frequency application and restarting the reinstalled radio frequency application.
Disclosure of Invention
In view of this, an object of the present application is to provide a hot replacement method and system for a radio frequency reader driver, which are used to solve the problem that, in the prior art, when an external radio frequency reader is replaced, a corresponding radio frequency application needs to be reinstalled and the reinstalled radio frequency application needs to be restarted, so that the replaced radio frequency reader can be used.
The technical scheme is as follows:
the application provides a hot replacement method driven by a radio frequency reader, which comprises the following steps:
if the radio frequency application detects that the external radio frequency reader is replaced, acquiring the identification information of the replaced radio frequency reader;
acquiring a target drive file based on the replaced identification information of the radio frequency reader;
and installing the target drive file by using a hot installation mode to finish the drive installation of the radio frequency reader.
Preferably, the target drive file is a drive file obtained by preprocessing an original drive file;
the method comprises the following steps of preprocessing an original drive file by adopting the following method:
unifying the original drive files into a so library with the same interface function, and performing drive packaging in the form of a patch package to obtain a target drive file.
Preferably, the method further comprises the following steps:
uploading the target drive file obtained after the pretreatment to a radio frequency reader drive management platform;
correspondingly, the acquiring the target driver file based on the replaced identification information of the radio frequency reader includes:
and if the target drive file is not acquired from the local drive file library, downloading the target drive file from the radio frequency reader drive management platform.
Preferably, the installing the target driver file by using a hot installation method to complete the driver installation of the rf reader includes:
inserting the path of the so Library in the form of the patch package into the foremost of a native Library directory array at a native layer by using a cut plane programming oriented technology;
the so library in the form of a patch package is loaded and installed.
Preferably, the method further comprises the following steps:
and caching the target drive file locally to update the local drive file library.
Preferably, the radio frequency reader driving management platform is provided with a visual interface;
the radio frequency reader driving management platform can receive and respond to input operation on the visual interface.
The present application further provides a hot replacement system driven by a radio frequency reader, comprising:
the radio frequency reader driving middleware is used for acquiring the identification information of the replaced radio frequency reader if the replacement of the external radio frequency reader is detected after the radio frequency application is started; acquiring a target drive file based on the replaced identification information of the radio frequency reader; and installing the target drive file by using a hot installation mode to finish the drive installation of the radio frequency reader.
Preferably, the method further comprises the following steps:
and the driving uniform system module is used for unifying the original driving files into a so library with the same interface function, and performing driving packaging in the form of a patch package to obtain the target driving file.
Preferably, the method further comprises the following steps:
and the radio frequency reader driving management platform is used for receiving and storing the target driving file uploaded by the driving unified module.
Preferably, the radio frequency reader driver middleware is further configured to locally cache the target driver file.
Compared with the prior art, the technical scheme provided by the application has the following advantages:
according to the technical scheme, under the condition that the radio frequency application detects that the external radio frequency reader is replaced, the identification information of the replaced external radio frequency reader is obtained, and the target drive file is obtained based on the identification information of the replaced external radio frequency reader. The target driver file is installed in a hot installation mode, hot replacement of the external radio frequency reader driver in the running process of the radio frequency application is achieved, the replaced external radio frequency reader can be directly used after the hot replacement of the external radio frequency reader driver is completed, the radio frequency application does not need to be installed again, and the radio frequency application does not need to be restarted.
Meanwhile, in a scene that the radio frequency reader is compatible with various radio frequency readers, if one radio frequency reader is newly added, the target drive file corresponding to the newly added radio frequency reader can be obtained, and the target drive file is installed in a hot installation mode, so that the newly added radio frequency reader can be used, the installation package of the radio frequency application corresponding to the newly added radio frequency reader does not need to be re-installed and updated, and the installation package of the radio frequency application is re-downloaded and the radio frequency application is re-installed.
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 introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a rf reader-driven hot swap system disclosed in the present application.
FIG. 2 is a flow chart of a radio frequency reader driven hot swap method disclosed herein;
fig. 3 is a flow chart of another rf reader-driven hot swap method disclosed herein.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
In the prior art, RFID is widely used for managing fixed assets and performing statistical analysis, such as animal wafers, car wafer burglar alarms, access control, parking lot control, production line automation, and material management. Radio Frequency Identification (RFID) is called an inductive electronic chip or proximity card, an inductive card, a contactless card, an electronic tag, an electronic bar code, etc., and a complete RFID system is composed of a Radio Frequency tag, a Radio Frequency reader, and an antenna. The antenna is generally arranged in a radio frequency reader, the radio frequency tag is an active tag and a passive tag, and the radio frequency reader is a handheld type and a fixed type.
However, when the external rf reader is replaced, the corresponding rf application needs to be reinstalled and the reinstalled rf application needs to be restarted, so that the replaced rf reader can be used to scan the rf tag.
In view of the above, an embodiment of the present application provides a thermal replacement method for a radio frequency reader driver, which is applied to a thermal replacement system for a radio frequency reader driver, and as shown in fig. 1, the system includes a radio frequency reader, a radio frequency application, and a radio frequency reader driver management platform.
According to the method, after the external radio frequency reader is detected to be replaced in the running process of the radio frequency application, the drive file corresponding to the replaced radio frequency reader can be directly loaded and installed, the replaced radio frequency reader can be immediately used for scanning the radio frequency label, and the radio frequency application integrated with the corresponding drive file does not need to be reinstalled and restarted.
Referring to fig. 2, the rf reader-driven hot replacement method may include the steps of:
s201, if the radio frequency application detects that the external radio frequency reader is replaced, acquiring the identification information of the replaced radio frequency reader.
After the radio frequency application is installed and started on the terminal, the radio frequency application can detect the replacement of the external radio frequency reader.
Referring to the system shown in fig. 1, a radio frequency reader driving middleware is integrated in radio frequency application, and the radio frequency reader driving middleware has an internal sensing function, an external sensing function and a driving discrimination function.
The internal sensing function is used for detecting the internal radio frequency reader, the external sensing function is used for detecting the external radio frequency reader, and the drive judging function is used for determining whether a drive corresponding to the detected radio frequency reader is installed or not.
Specifically, when a radio frequency application is started, a built-in radio frequency reader is detected, and whether a driver of the built-in radio frequency reader is installed or not is determined through a driver judging function; and if not, loading the corresponding drive file and completing the drive installation. Normally, the driver installation of the built-in rf reader is completed when the rf application is installed.
When the radio frequency application detects that the external radio frequency reader is replaced, determining whether a driver of the external radio frequency reader is installed or not through a driver judging function; and if the radio frequency reader is not installed, acquiring the identification information of the replaced radio frequency reader so as to drive hot replacement according to the identification information.
The identification information is used for uniquely identifying an external radio frequency reader, such as a manufacturer identifier. Different radio frequency readers have different drives, so that the target drive files corresponding to the different radio frequency readers are different.
And a corresponding relation exists between the identification information and the target drive file, so that the target drive file corresponding to the identification information is searched based on the corresponding relation.
S202, acquiring a target drive file based on the replaced identification information of the radio frequency reader.
The target drive file refers to a drive file corresponding to the replaced external radio frequency reader. And after the identification information of the replaced radio frequency reader is obtained, searching a drive file corresponding to the identification information to obtain a target drive file.
S203, installing the target drive file in a hot installation mode to complete the drive installation of the radio frequency reader.
The hot replacement of the replaced radio frequency reader driver is completed in a hot installation mode, and after the replacement of the radio frequency reader driver is completed, the replaced radio frequency reader can be directly used without reinstalling radio frequency application or restarting the radio frequency application.
It should be noted that in the process of installing the driver, if the installation is not completed due to a network or the like, the driver installation is automatically completed when the radio frequency application is started next time and it is determined that the corresponding driver is not installed through the driver identification function. The driver here includes a driver of an internal RF reader and a driver of an external RF reader.
Through the technical scheme, in the embodiment, under the condition that the radio frequency application detects that the external radio frequency reader is replaced, the identification information of the replaced external radio frequency reader is obtained, and the target drive file is obtained based on the identification information of the replaced external radio frequency reader. The target driver file is installed in a hot installation mode, hot replacement of the external radio frequency reader driver in the running process of the radio frequency application is achieved, the replaced external radio frequency reader can be directly used after the hot replacement of the external radio frequency reader driver is completed, the radio frequency application does not need to be installed again, and the radio frequency application does not need to be restarted.
Meanwhile, in a scene that the radio frequency reader is compatible with various radio frequency readers, if one radio frequency reader is newly added, the target drive file corresponding to the newly added radio frequency reader can be obtained, and the target drive file is installed in a hot installation mode, so that the newly added radio frequency reader can be used, the installation package of the radio frequency application corresponding to the newly added radio frequency reader does not need to be re-installed and updated, and the installation package of the radio frequency application is re-downloaded and the radio frequency application is re-installed.
Referring to fig. 3, another rf reader-driven hot replacement method is provided in an embodiment of the present application, including the following steps:
s301, preprocessing the original drive file to obtain a target drive file, and uploading the target drive file to a radio frequency reader drive management platform.
The target drive file is different from the original drive file provided by each radio frequency reader manufacturer in the prior art, and the target drive file is obtained by preprocessing the original drive file.
Preprocessing refers to unifying the original drive files into a so library with the same interface function, and performing drive packaging in the form of a patch package to obtain a target drive file.
Referring to the system architecture shown in fig. 1, a developer secondarily packages original drive files provided by various radio frequency reader manufacturers, and unifies the original drive files into a so library having the same interface function. The interface functions comprise protocol selection, reading data, clearing read data, reading/writing data stop and the like, and parameters of the same interface functions of different so libraries are consistent.
And driving and packaging in the form of patch packages by using the uniform interface template and each so library obtained after secondary packaging to obtain a target driving file, finishing driving a uniform system, and solving the problem of diversification of driving interfaces.
And after the target drive file is obtained, uploading the obtained target drive file to a radio frequency reader drive management platform.
Referring to the system architecture shown in fig. 1, the radio frequency reader driver management platform includes a driver management Web end and a driver management server end.
The driving management Web end provides a visual interface, and visual human-computer interaction is provided through the visual interface. And the radio frequency reader driving management platform can receive and respond to the input operation on the visual interface.
The input operation comprises drive uploading, drive downloading, drive checking, drive deleting, drive use condition statistics and the like.
Therefore, visual man-machine interaction is provided for functions of drive uploading, drive downloading, drive checking, drive deleting, drive use condition statistics and the like through a visual interface.
The drive management server provides drive management interfaces such as drive addition, drive deletion, drive reading, drive lists and drive details, and realizes that the drive indexes manage the drive file library.
S302, if the radio frequency application detects that the external radio frequency reader is replaced, acquiring the identification information of the replaced radio frequency reader.
The implementation manner of step S302 in this embodiment is similar to that of step S201 in the previous embodiment, and is not described here again.
S303, acquiring a target drive file from the local drive file library, and judging whether the target drive file is acquired from the local drive file library or not;
if the target drive file cannot be acquired from the local drive file library, executing step S304;
if the target drive file is determined to be acquired from the local drive file library, step S305 is executed.
After the developer uploads the target drive file to the drive management platform, the corresponding target drive file can be downloaded from the drive management platform based on the replaced identification information of the radio frequency reader. And after the target drive file is downloaded from the drive management platform, the target drive file is cached locally, and a local drive file library is updated. In the subsequent process of acquiring the target drive file according to the identification information, the target drive file is acquired from the local drive file library, and only under the condition that the target drive file cannot be acquired from the local drive file library, the drive management platform is remotely called to download the target drive file.
Referring to fig. 1, the rf reader driver middleware has a driver storage function, and caches all target driver files of the external rf reader that have been used historically through the driver storage function. Therefore, in the subsequent use process, if the external radio frequency reader is replaced by a certain external radio frequency reader which is used historically, the target drive file is obtained from the local drive file library, and the corresponding target drive file is cached in the local drive file library, so that the corresponding target drive file can be obtained from the local drive file library, and the target drive file does not need to be downloaded from the radio frequency reader drive management platform again.
Therefore, the problem of repeated downloading of the drive file during replacement of the external radio frequency reader is solved by adopting a dual storage mode of combining drive management platform storage with local drive cache.
Optionally, the radio frequency reader driver middleware further includes functions of driver addition, driver deletion, driver reading, driver indexing, driver file library, and the like. The driving index is completed by an android application built-in database SQLite.
S304, downloading the target drive file from the radio frequency reader drive management platform.
And remotely calling the drive management platform and downloading the target drive file.
S305, mounting the target drive file in a hot mounting mode to complete the drive mounting of the radio frequency reader.
In the embodiment of the application, a cut-plane Programming (AOP) Oriented technology is used, and an acquired path of a so Library in a patch package form is inserted into the foremost of a native Library directory array at a native layer, so that the so Library in the patch package form is loaded instead of a directory of an original so Library when the so Library is loaded, and the purpose of hot replacement driven by a radio frequency reader is achieved.
Aspect Oriented Programming (AOP) is a technology for implementing unified maintenance of program functions through a pre-compilation mode and a dynamic proxy during running. AOP is an important part of Spring framework, and is a derivative paradigm of functional programming. By utilizing the AOP, all parts of the business logic can be isolated, so that the coupling degree between all parts of the business logic is reduced, the reusability of a program is improved, and the development efficiency is improved.
According to the technical scheme, the plug-in and hot repair technology based on Android application development in the embodiment of the application adopts a patch form to complete a drive unified system, the core of the patch is a patch so library, and the patch so library is a so library with the same interface function after secondary packaging of original drive files provided by a radio frequency reader manufacturer. By using the AOP programming technology, the path of the patch so library is inserted into the foremost part of the native library directories array at the native layer, so that the patch so library is not the catalog of the original so library when the so library is loaded, and the aim of radio frequency driven hot installation is fulfilled. The replaced external radio frequency reader can be directly used without reinstalling and restarting the radio frequency application.
In addition, in a scene that a plurality of radio frequency readers are compatible, if one radio frequency reader is newly added, the target drive file corresponding to the newly added radio frequency reader can be downloaded from the radio frequency reader drive management platform, and the target drive file is installed in a hot installation mode, so that the newly added radio frequency reader can be used, and the installation package of the radio frequency application corresponding to the newly added radio frequency reader does not need to be re-installed and updated on the shelf so as to re-download the installation package of the radio frequency application and re-install the radio frequency application.
Corresponding to the hot replacement method of the rf reader driver disclosed in the above embodiment, this embodiment further provides a hot replacement system of the rf reader driver, as shown in fig. 1, the system includes:
the radio frequency reader driving middleware is used for acquiring the identification information of the replaced radio frequency reader if the replacement of the external radio frequency reader is detected after the radio frequency application is started; acquiring a target drive file based on the replaced identification information of the radio frequency reader; and installing the target drive file by using a hot installation mode to finish the drive installation of the radio frequency reader.
Through the technical scheme, after the radio frequency application is started, the radio frequency reader driving middleware acquires the identification information of the replaced external radio frequency reader under the condition that the external radio frequency reader is detected to be replaced, and acquires the target driving file based on the identification information of the replaced external radio frequency reader. The target driver file is installed in a hot installation mode, hot replacement of the external radio frequency reader driver in the running process of the radio frequency application is achieved, the replaced external radio frequency reader can be directly used after the hot replacement of the external radio frequency reader driver is completed, the radio frequency application does not need to be installed again, and the radio frequency application does not need to be restarted. Meanwhile, in a scene that the radio frequency reader is compatible with various radio frequency readers, if one radio frequency reader is newly added, the target drive file corresponding to the newly added radio frequency reader can be obtained, and the target drive file is installed in a hot installation mode, so that the newly added radio frequency reader can be used, the installation package of the radio frequency application corresponding to the newly added radio frequency reader does not need to be re-installed and updated, and the installation package of the radio frequency application is re-downloaded and the radio frequency application is re-installed.
Optionally, in another embodiment, the rf reader-driven hot swap system further includes:
and the driving uniform system module is used for unifying the original driving files into a so library with the same interface function, and performing driving packaging in the form of a patch package to obtain the target driving file.
The interface functions include protocol selection, reading data, clearing read data, read/write data stop, etc.
The driving of the unified system is completed through the driving of the unified system module, and the problem of diversification of driving interfaces is solved.
Optionally, an implementation manner of installing the target driver file by using a hot installation manner to complete driver installation of the rf reader is as follows:
by using an Aspect Oriented Programming (AOP) technology, inserting the acquired path of the so Library in the form of a patch package into the forefront of a native Library directory array at a native layer, so that the so Library in the form of the patch package is loaded instead of a directory of an original so Library when the so Library is loaded, and the purpose of hot replacement driven by the radio frequency reader is achieved.
According to the technical scheme, the plug-in and hot repair technology based on Android application development in the embodiment of the application adopts a patch form to complete a drive unified system, the core of the patch is a patch so library, and the patch so library is a so library with the same interface function after secondary packaging of original drive files provided by a radio frequency reader manufacturer. By using the AOP programming technology, the path of the patch so library is inserted into the foremost part of the native library directories array at the native layer, so that the patch so library is not the catalog of the original so library when the so library is loaded, and the aim of radio frequency driven hot installation is fulfilled. The replaced external radio frequency reader can be directly used without reinstalling and restarting the radio frequency application.
In addition, in a scene that a plurality of radio frequency readers are compatible, if one radio frequency reader is newly added, the target drive file corresponding to the newly added radio frequency reader can be downloaded from the radio frequency reader drive management platform, and the target drive file is installed in a hot installation mode, so that the newly added radio frequency reader can be used, and the installation package of the radio frequency application corresponding to the newly added radio frequency reader does not need to be re-installed and updated on the shelf so as to re-download the installation package of the radio frequency application and re-install the radio frequency application.
Optionally, in another embodiment, the rf reader-driven hot swap system further includes:
and the radio frequency reader driving management platform is used for receiving and storing the target driving file uploaded by the driving unified module.
The radio frequency reader drive management platform comprises a drive management Web end and a drive management service end.
The driving management Web end provides a visual interface, and visual human-computer interaction is provided through the visual interface. The input operation of an operator can be received through the visual interface, and the input operation can be responded.
The input operation comprises drive uploading, drive downloading, drive checking, drive deleting, drive use condition statistics and the like.
Therefore, visual man-machine interaction is provided for functions of drive uploading, drive downloading, drive checking, drive deleting, drive use condition statistics and the like through a visual interface.
The drive management server provides drive management interfaces such as drive addition, drive deletion, drive reading, drive lists and drive details, and realizes that the drive indexes manage the drive file library.
Optionally, in other embodiments, the rf reader driver middleware is further configured to locally cache the target driver file.
Referring to fig. 1, the rf reader driver middleware has a driver storage function, and caches all target driver files of the external rf reader that have been used historically through the driver storage function. Therefore, in the subsequent use process, if the external radio frequency reader is replaced by a certain external radio frequency reader which is used historically, the target drive file is obtained from the local drive file library, and the corresponding target drive file is cached in the local drive file library, so that the corresponding target drive file can be obtained from the local drive file library, and the target drive file does not need to be downloaded from the radio frequency reader drive management platform again.
By adopting a dual storage mode of combining the storage of the drive management platform and the local drive cache, the problem of repeated downloading of the drive file when the external radio frequency reader is replaced is solved.
Optionally, in other embodiments, the radio frequency reader driver middleware further includes functions of driver addition, driver deletion, driver reading, driver indexing, driver file library, and the like. The driving index is completed by an android application built-in database SQLite.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be 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 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.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method of rf reader driven hot swapping, comprising:
if the radio frequency application detects that the external radio frequency reader is replaced, acquiring the identification information of the replaced radio frequency reader;
acquiring a target drive file based on the replaced identification information of the radio frequency reader;
and installing the target drive file by using a hot installation mode to finish the drive installation of the radio frequency reader.
2. The hot-swap method according to claim 1, wherein the target driver file is a driver file obtained by preprocessing an original driver file;
the method comprises the following steps of preprocessing an original drive file by adopting the following method:
unifying the original drive files into a so library with the same interface function, and performing drive packaging in the form of a patch package to obtain a target drive file.
3. The hot-swap method of claim 2, further comprising:
uploading the target drive file obtained after the pretreatment to a radio frequency reader drive management platform;
correspondingly, the acquiring the target driver file based on the replaced identification information of the radio frequency reader includes:
and if the target drive file is not acquired from the local drive file library, downloading the target drive file from the radio frequency reader drive management platform.
4. The hot-swap method as claimed in claim 2, wherein the installing the target driver file by using the hot-install method to complete the driver installation of the rf reader comprises:
inserting the path of the so Library in the form of the patch package into the foremost of a native Library directory array at a native layer by using a cut plane programming oriented technology;
the so library in the form of a patch package is loaded and installed.
5. The hot-swap method of claim 3, further comprising:
and caching the target drive file locally to update the local drive file library.
6. The hot-swap method of claim 3 wherein the RF reader driven management platform has a visual interface;
the radio frequency reader driving management platform can receive and respond to input operation on the visual interface.
7. A radio frequency reader driven hot swap system, comprising:
the radio frequency reader driving middleware is used for acquiring the identification information of the replaced radio frequency reader if the replacement of the external radio frequency reader is detected after the radio frequency application is started; acquiring a target drive file based on the replaced identification information of the radio frequency reader; and installing the target drive file by using a hot installation mode to finish the drive installation of the radio frequency reader.
8. The system of claim 7, further comprising:
and the driving uniform system module is used for unifying the original driving files into a so library with the same interface function, and performing driving packaging in the form of a patch package to obtain the target driving file.
9. The system of claim 8, further comprising:
and the radio frequency reader driving management platform is used for receiving and storing the target driving file uploaded by the driving unified module.
10. The system of any one of claims 7-9, wherein the rf reader driver middleware is further configured to locally cache the target driver file.
CN202011055422.0A 2020-09-29 2020-09-29 Heat replacement method and system driven by radio frequency reader Pending CN112130872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011055422.0A CN112130872A (en) 2020-09-29 2020-09-29 Heat replacement method and system driven by radio frequency reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011055422.0A CN112130872A (en) 2020-09-29 2020-09-29 Heat replacement method and system driven by radio frequency reader

Publications (1)

Publication Number Publication Date
CN112130872A true CN112130872A (en) 2020-12-25

Family

ID=73843281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011055422.0A Pending CN112130872A (en) 2020-09-29 2020-09-29 Heat replacement method and system driven by radio frequency reader

Country Status (1)

Country Link
CN (1) CN112130872A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5967021A (en) * 1994-11-29 1999-10-19 Yung; Simon K. C. Food appliance and a coding system therefor
CN102111291A (en) * 2010-06-11 2011-06-29 田文洪 RFID network management system meeting international EPCGlobal standard
US20130304651A1 (en) * 2012-05-10 2013-11-14 Mastercard International Incorporated Systems and method for providing multiple virtual secure elements in a single physical secure element of a mobile device
CN103995563A (en) * 2013-02-17 2014-08-20 苏州柏奥通信科技有限公司 Method for achieving extensible 3G communication function of tablet personal computer
CN104239112A (en) * 2014-09-30 2014-12-24 贝壳网际(北京)安全技术有限公司 Device driver installation method and device
CN206914130U (en) * 2017-06-13 2018-01-23 北京京东尚科信息技术有限公司 Drive wheel assemblies and transport vehicle
CN110471686A (en) * 2019-08-15 2019-11-19 深圳忆联信息系统有限公司 Method, apparatus, computer equipment and the storage medium of automatic downloading driving
CN110888639A (en) * 2018-09-10 2020-03-17 北京京东尚科信息技术有限公司 Business code compiling and packaging method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5967021A (en) * 1994-11-29 1999-10-19 Yung; Simon K. C. Food appliance and a coding system therefor
CN102111291A (en) * 2010-06-11 2011-06-29 田文洪 RFID network management system meeting international EPCGlobal standard
US20130304651A1 (en) * 2012-05-10 2013-11-14 Mastercard International Incorporated Systems and method for providing multiple virtual secure elements in a single physical secure element of a mobile device
CN103995563A (en) * 2013-02-17 2014-08-20 苏州柏奥通信科技有限公司 Method for achieving extensible 3G communication function of tablet personal computer
CN104239112A (en) * 2014-09-30 2014-12-24 贝壳网际(北京)安全技术有限公司 Device driver installation method and device
CN206914130U (en) * 2017-06-13 2018-01-23 北京京东尚科信息技术有限公司 Drive wheel assemblies and transport vehicle
CN110888639A (en) * 2018-09-10 2020-03-17 北京京东尚科信息技术有限公司 Business code compiling and packaging method and device
CN110471686A (en) * 2019-08-15 2019-11-19 深圳忆联信息系统有限公司 Method, apparatus, computer equipment and the storage medium of automatic downloading driving

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
WEIXIN_33772645: "Android native层动态加载so库", pages 1, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_33772645/article/details/88010114> *
一点点征服: "阿里最新热修复Sophix与QQ超级补丁和Tinker的实现与总结", pages 1 - 13, Retrieved from the Internet <URL:https://www.cnblogs.com/ldq2016/p/10449433.html> *
小平: "舞动你的手指, 鼠标应用之铁修罗篇", 《电脑知识与技术(经验技巧)》, no. 9, 5 September 2016 (2016-09-05), pages 98 - 100 *
小平: "舞动你的手指, 鼠标应用之铁修罗篇", 《电脑知识与技术(经验技巧)》, no. 9, pages 98 - 100 *

Similar Documents

Publication Publication Date Title
US8245219B2 (en) Standardized mechanism for firmware upgrades of RFID devices
US7284003B2 (en) Product lifecycle data management system and product lifecycle data management method
CN103559065B (en) Method and system for OTA (Over-the-Air Technology) upgrade
CN105094927B (en) A kind of device firmware upgrade method and apparatus
CN102422265A (en) Bios image manager
CN100487648C (en) File update system and boot management system of mobile communication terminal,and its method
CN104657158A (en) Method and device for processing business in business system
CN108170456B (en) Firmware upgrading method and device for electronic equipment
CN103064767B (en) Drive backup, the method recovered and device
CN112000346B (en) File upgrading method, device, computer equipment and storage medium
CN112130872A (en) Heat replacement method and system driven by radio frequency reader
CN104516743A (en) Upgrading method and system of embedded device firmware based on ActiveX
CN103139755A (en) Subscription-based application program management method, system and device
US20100026463A1 (en) Reading apparatus and calling apparatus and id reading program and id reading method
CN101464938A (en) Apparatus and method for managing user memory of RFID tag
CN111510887B (en) SIM card management method, equipment and storage medium
CN113467797B (en) Program updating method, device and system and computer readable storage medium
CN105302604A (en) Application version update method and apparatus
CN111124459B (en) Method and device for updating service logic of FPGA cloud server
US20220101411A1 (en) Part re-order based on part-specific sensor data
CN112364960B (en) Special equipment control system based on RFID
KR100979792B1 (en) A middle ware for RFID/USN and System using it
CN103177079A (en) Detection method, terminal and server for updating theme
US8362880B2 (en) Method and computer program product for loading and executing program code at micro-processor
US20210281484A1 (en) Dynamic device configuration and deployment

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