WO2012083631A1 - Method for managing device parameters of radio frequency identification (rfid) system and rfid system - Google Patents

Method for managing device parameters of radio frequency identification (rfid) system and rfid system Download PDF

Info

Publication number
WO2012083631A1
WO2012083631A1 PCT/CN2011/074176 CN2011074176W WO2012083631A1 WO 2012083631 A1 WO2012083631 A1 WO 2012083631A1 CN 2011074176 W CN2011074176 W CN 2011074176W WO 2012083631 A1 WO2012083631 A1 WO 2012083631A1
Authority
WO
WIPO (PCT)
Prior art keywords
rfid system
model
attribute
type
actual model
Prior art date
Application number
PCT/CN2011/074176
Other languages
French (fr)
Chinese (zh)
Inventor
陈金茹
张金海
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012083631A1 publication Critical patent/WO2012083631A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management

Definitions

  • the present invention relates to the field of communications, and in particular to a device parameter management method and an RFID system for a radio frequency identification (JD) system.
  • JD radio frequency identification
  • a primary object of the present invention is to provide a device parameter management scheme for an RFID system to address at least the above problems.
  • a device parameter management method for an RFID system including: an RFID system acquiring model information of a device; and an RFID system acquiring model information of the device from a correspondence between a pre-stored model and an actual model class. Corresponding actual model class; the RFID system stores the device parameters of the device input by the user according to the actual model class corresponding to the device; when the device parameter of the device needs to be managed, the RFID system generates the actual device according to the device parameter of the stored device. model.
  • the method further includes: the RFID system receiving the model information of the device input by the user; the RFID system receiving The correspondence between the model information input by the user and the actual model class; the RFID system saves the correspondence in the database.
  • the RFID system receives the correspondence between the model information input by the user and the actual model class, including: the RFID system acquires an unused actual model type; the RFID system numbers the attributes of the unused actual model types and displays them to the user; The system receives instructions from the user, deletes the attributes that are not needed in the attributes of the actual model type that are not used, and maps the remaining attributes to the model information.
  • the RFID system obtains unused actual model types including: the RFID system queries subclasses of all device abstract classes; the RFID system prompts the user to select all of the subclasses of all device abstract classes that have been configured The model class; the RFID system removes subclasses of the already configured model classes from subclasses of all device abstract classes.
  • the RFID system stores the device parameters of the device input by the user according to the actual model class corresponding to the device, including: the device maintenance interface of the actual model class corresponding to the RFID system generation device; and the RFID system stores the device input by the user on the device maintenance interface.
  • Device parameters including: the device maintenance interface of the actual model class corresponding to the RFID system generation device; and the RFID system stores the device input by the user on the device maintenance interface.
  • the device maintenance interface of the actual model class corresponding to the RFID system generating device comprises: the RFID system uses a reflection mechanism to obtain each attribute type in the actual model class; the RFID system generates an edit control of the actual model class corresponding to the device according to each attribute type; The system calls the device parameter maintenance interface template, and all the controls are laid out to generate a device maintenance interface.
  • the RFID system generates an edit control of the actual model class corresponding to the device according to each attribute type, including: if the attribute type is a numeric type or a string type attribute, the RFID system generates a text edit box; if the attribute type is a Boolean type attribute, The RFID system generates a radio edit box; if the attribute type is a date type attribute, the RFID system generates a date edit box.
  • the method includes at least one of the following: the RFID system adds parameter information of the new device according to the operation of the user; the RFID system is operated according to the user. Modify the parameter information of the device; the RFID system queries the parameter information of the device according to the operation of the user; the RFID system deletes the parameter information of the device according to the operation of the user.
  • the RFID system adds the parameter information of the new device according to the operation of the user, including: the RFID system prompts the user to select the model of the device; the RFID system displays the device maintenance interface of the actual model type corresponding to the model according to the model; the RFID system receives the user in the device Maintain the device parameter information filled in the interface and store the parameter information in the database.
  • the RFID system queries the parameter information of the device according to the operation of the user, the RFID system determines the device to be queried according to the operation of the user, and the RFID system obtains the parameter information of the device to be queried, and obtains the parameter information of the device to be queried according to the model information of the device to be queried.
  • the RFID system converts the parameter information of the device to be queried into an actual model of the device to be queried: the RFID system creates an instance of the actual model; the RFID system acquires the attribute of the stored parameter information of the device to be queried; the RFID system is to be The attribute of the parameter information of the queried device is converted into the type of the corresponding attribute in the actual model; the RFID system assigns the converted attribute value to the corresponding attribute of the instance of the actual model;
  • the RFID system returns an instance of the actual model.
  • the RFID system converts the attribute of the parameter information of the device to be queried into the type of the corresponding attribute in the actual model, including: if the attribute type is a digital type, the RFID system calls the PAS parse method of the digital type to correspond to the attribute of the standard model. Converted to the type of the corresponding attribute in the actual model; if the attribute type is Boolean, the RFID system calls the parse method of the Boolean type to convert the attribute of the corresponding standard model into the type of the corresponding attribute in the actual model; if the attribute type is a date type, RFID system Use the calendar method of Calendar to convert the attributes of the corresponding standard model into the types of corresponding attributes in the actual model.
  • the RFID system assigns the converted attribute value to the corresponding attribute of the instance of the actual model, including: the RFID system acquires the assignment method name of the corresponding attribute; the RFID system obtains the assignment method of the corresponding attribute according to the method name; the RFID system converts the converted value
  • the attribute value is used as a method parameter to perform an assignment method.
  • the number of device parameters of the device does not exceed a predetermined threshold.
  • the type of device parameter of the device is a single type.
  • an RFID system including: a first acquisition module configured to acquire model information of a device; and a second acquisition module configured to be in a correspondence relationship between a pre-stored model and an actual model class Obtaining an actual model class corresponding to the model information of the device; the storage module is configured to store, according to the actual model class corresponding to the device, a device parameter of the device input by the user; and generating a module, configured to When the device parameters of the device are managed, an actual model of the device is generated according to the stored device parameters of the device.
  • the corresponding relationship between the model of the system storage device and the actual model class is adopted, and the device parameters of the corresponding storage device are used to generate the actual model, and the process of managing the device parameters of the RFID system in the related art is complicated.
  • the problem in turn, achieves the effect of the process of managing the RFID system management device.
  • FIG. 1 is a flowchart of a device parameter management method of an RFID system according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a parameter configuration management scheme system according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a standard data model in accordance with an embodiment of the present invention.
  • FIG. 4 is a flow chart of a new device model according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of generating a new device parameter maintenance interface according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of device information query according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of converting a standard data model into an actual data model according to an embodiment of the present invention
  • FIG. 8 is a flowchart of a model class attribute type conversion according to an embodiment of the present invention
  • FIG. 9 is a block diagram showing the structure of an RFID system according to an embodiment of the present invention. detailed description
  • Embodiment 1 An embodiment of the present invention provides a device parameter management method for an RFID system.
  • FIG. 1 is a flowchart of a device parameter management method for an RFID system according to an embodiment of the present invention. As shown in FIG. 1, the method includes: Step S102, The RFID system acquires model information of the device;
  • Step S104 The RFID system acquires an actual model class corresponding to the model information of the device from a correspondence between the pre-stored model and the actual model class;
  • Step S106 The RFID system stores the device parameters of the device input by the user according to the actual model class corresponding to the device.
  • Step S108 When the device parameters of the device need to be managed, the RFID system generates an actual model of the device according to the device parameters of the stored device.
  • the correspondence between the model of the RFID system storage device and the actual model class, and the device parameters of the storage device according to the corresponding relationship thereby generating an actual model when needed, thereby completing the process of managing the device by the RFID system .
  • the number of device parameters does not exceed a predetermined threshold;
  • the type of the device parameter is a single type (for example, a numeric type, a boolean type, or a date type).
  • the RFID system can receive the model information of the device input by the user before the RFID system obtains the actual model class corresponding to the model of the device from the correspondence between the pre-stored model and the actual model class. And receiving the correspondence between the model information input by the user and the actual model class, and then the RFID system saves the correspondence in the database.
  • the RFID system receiving the correspondence between the model information input by the user and the actual model class may include: the RFID system acquires an unused actual model type, and numbers the attributes of the unused actual model type, and then displays the information to the user; The system receives instructions from the user, deletes the attributes that are not needed in the attributes of the actual model type that are not used, and maps the remaining attributes to the model information.
  • the RFID system acquiring unused actual model types may include: the RFID system queries subclasses of all device abstract classes, and prompts the user to select all configured model classes in all subclasses of the device abstract class, and then, the RFID system Deletes a subclass of the already configured model class in a subclass of all device abstract classes, and the rest is the actual model type that is not used.
  • the RFID system stores the device parameters of the device input by the user according to the actual model class corresponding to the device, and may include: an actual model class device maintenance interface corresponding to the RFID system generation device; and then, the RFID system The system stores the device parameters of the device that the user inputs on the device maintenance interface.
  • the device maintenance interface of the actual model class corresponding to the RFID system generating device may include: the RFID system uses a reflection mechanism to obtain each attribute type in the actual model class; the RFID system generates an edit control of the actual model class corresponding to the device according to each attribute type; The system calls the device parameter maintenance interface template, and all the controls are laid out to generate a device maintenance interface.
  • the RFID system generates an edit control of the actual model class corresponding to the device according to each attribute type, and may include: if the attribute type is a numeric type or a string type attribute, the RFID system generates a text code If the attribute type is a Boolean type attribute, the RFID system generates a radio edit box; if the attribute type is a date type attribute, the RFID system generates a date edit box.
  • the RFID system after the RFID system stores the device parameters of the device according to the actual model class corresponding to the device, the following steps may be performed:
  • the RFID system adds parameters of the new device according to the operation of the user.
  • the RFID system modifies the parameter information of the device according to the operation of the user;
  • the RFID system queries the parameter information of the device according to the operation of the user;
  • the RFID system deletes the parameter information of the device according to the operation of the user.
  • the RFID system adds the parameter information of the new device according to the operation of the user, and may include: the RFID system prompts the user to select the model of the device; the RFID system displays the device maintenance interface of the actual model type according to the model; the RFID system receives the user in the device. Maintain the device parameter information filled in the interface and store the parameter information in the database.
  • the parameter information of the querying device may be: the RFID system determines the device to be queried according to the operation of the user, and the RFID system obtains the parameter information of the device to be queried according to the operation of the user. And obtaining the actual model class corresponding to the device to be queried according to the model information of the device to be queried; the RFID system converts the parameter information of the device to be queried into the actual model of the device to be queried according to the actual model class corresponding to the device to be queried. The actual model object is returned to the user.
  • the RFID system converts the parameter information of the device to be queried into the actual model of the device to be queried, which may include: the RFID system creates an instance of the actual model, and obtains the attribute of the stored parameter information of the device to be queried; the RFID system will query The attribute of the parameter information of the device is converted into the type of the corresponding attribute in the actual model; the RFID system assigns the converted attribute value to the corresponding attribute of the instance of the actual model; the RFID system returns an instance of the actual model.
  • the RFID system converts the attribute of the parameter information of the device to be queried into the type of the corresponding attribute in the actual model, which may include: if the attribute type is a digital type, the RFID system calls the digital type of the parse method to correspond to the standard The attribute of the model is converted into the type of the corresponding attribute in the actual model; if the attribute type is a Boolean type, the RFID system calls the parse method of the Boolean type to convert the attribute of the corresponding standard model into the type of the corresponding attribute in the actual model; if the attribute type is The date type, the RFID system calls the calendar method to convert the attributes of the corresponding standard model into the types of corresponding attributes in the actual model.
  • the RFID system assigns the converted attribute value to the corresponding attribute of the instance of the actual model, which may include: the RFID system acquires the assignment method name of the corresponding attribute, and obtains the assignment method of the corresponding attribute according to the method name, and then the RFID system converts The attribute value after the execution as the method parameter performs the assignment method.
  • This embodiment proposes a general solution for device parameter management.
  • the system maintains the correspondence between each type of equipment of each type and the equipment model class, and manages the equipment parameters persistently with a unified standard data model. After the user submits the parameter changes in the standard model, the system transforms the actual model into a standard model; when the user requests parameter management, the system converts the unified standard model into the actual device model.
  • Application system The managed device has a new type of device introduced. It only needs to add a single model class of the device, and configure the properties of the device model. The other related codes are not changed, and the management of the new device parameters can be completed.
  • the number of device parameters needs to be set to the upper limit.
  • the device parameter type can be a cartridge type.
  • the method described in this embodiment includes the following steps:
  • the system maintains the correspondence between each type of manufacturer equipment and the equipment model class of each type, including the following steps:
  • the system generates the device maintenance interface of the model.
  • the user management device parameters include the following steps:
  • the developer fills in the new model information, including the corresponding model class name and its parameter attribute information, including the following steps:
  • the device maintenance interface that the system generates the model includes the following steps:
  • the system obtains each attribute type in the model class by using a reflection mechanism
  • the system lays out all the controls and generates an editing interface (ie, device maintenance interface). Further, the user adds new device information including the following steps:
  • the system persists the parameter information as a standard data model.
  • the user querying the device information includes the following steps:
  • the system generates a corresponding edit control according to each attribute type, including the following steps:
  • the system converts the standard model into the actual model of the device, including the following steps:
  • the system converts the attributes of the standard model into the types of the corresponding attributes of the actual model class, as follows:
  • the method of calling Calendar is used to generate an instance of the date type. Further, the system assigns the converted attribute value to the corresponding attribute of the actual model instance, and the following steps are included:
  • this embodiment has an obvious effect on reducing the difficulty of secondary development and the uniformity of the whole system, mainly in:
  • Embodiment 3 As shown in FIG. 2, the main function of the embodiment of the present invention is that the system converts the parameter input by the user into a standard data model and saves it into the database; when the parameter needs to be called, the system converts the standard model saved in the database into the actual device model. , returned to the caller.
  • the standard data model of the embodiment of the present invention includes: an abstract device model (301), a device special attribute model (302), a device type model (303), a device model model (305), and a device model corresponding attribute model. ( 304 ).
  • 303 is a device type model, which includes attributes such as name and number, which are the basic attributes of the device. The initial value of the model is determined at system initialization.
  • Each device type contains multiple device models ( 305 ), and devices from different manufacturers correspond to different models.
  • 305 is a device model model, which contains basic attributes such as name, number, and corresponding model class name, and belongs to a device type (303).
  • the device model model can contain multiple model corresponding attributes ( 304 ).
  • 304 is a model corresponding attribute model, which includes basic attributes such as attribute name, attribute label, attribute number, etc., belonging to a device model (305), which specifies which extended attributes are available for the model.
  • the 301 abstract device model which contains basic attributes such as name, Internet Protocol (IP) address, belongs to a device type, a device model, and corresponds to a device special attribute (302).
  • 1) abstract device model refers to the parent class of all actual device models, which contains some common attributes of all devices; 2) abstract device model corresponds to a device special attribute model, which is used to store the value of the device's own properties; 3)
  • the device model of the 305 stores the special attributes of the device.
  • the special attribute model is used to store the value of the special attribute of each device.
  • 302 is a device special attribute model, in which all special attributes of the device are stored, and a specified number of attribute domains are included, and the extended attributes of the actual device are saved in a string form to the corresponding domain attribute, and the model has an attribute domain. There is redundancy, corresponding to an abstract device (301).
  • RSU Road-Side Unit
  • the corresponding model class is RSU Adapter
  • the class attribute names corresponding to the five device attributes are: rsupower, rsuconfigport, rsudataport, rsudownloadport, rsuotherport.
  • 4 is a flowchart of a device parameter management method of an RFID system according to Embodiment 3 of the present invention. As shown in FIG. 4, in the case of creating a new device model, the system processing of the RSU device includes:
  • step 401 the user fills in the basic information of the device model.
  • the example 101 is: name/example model, number /000001, and the type is RSU.
  • step 402 the system queries subclasses of all device abstract classes.
  • step 403 the system queries all classes of the configured model.
  • Step 404 the system culls the configured model class.
  • Step 405 Display the culled class list on the interface.
  • Step 406 select the model class name corresponding to the model, for example, example 101 selects RsuparaAdapter.
  • the system displays all the attribute numbers of the selected model class to the interface. For example, the example 101 displays 1 / rsupower, 2 I rsuconfigport, 3 I rsudataport, 4 I rsudownloadport , 5 I rsuotherport.
  • step 408 the user deletes the attribute that does not need to be configured, and the example 101 does not have this item.
  • Step 409 the user adds a label to each attribute, example 101 is 1 / rsupower I power, 2 I rsuconfigport IS own port, 3 / rsudataport I data port, 4 / rsudownloadport I download port, 5 / rsuotherport I service port .
  • step 410 the system persists the selected model information and saves it to a database or file.
  • Step 411 the system generates a maintenance interface of the new device.
  • step 411 can be further divided into the following steps:
  • Step 501 The system obtains each attribute type in the model class by using a reflection mechanism.
  • each of the 101 attribute types is an integer (Integer).
  • Step 502 generating a corresponding edit control according to each attribute type.
  • Step 503 if the attribute type is a number or a string, a text box is generated, and the example 101 conforms to the branch.
  • Step 504 If the attribute type is Boolean, a pulldown is generated.
  • Step 505 If the attribute type is Date, a date edit box is generated.
  • Step 506 If the attribute type does not belong to the above type, the prompt is not supported, and the process ends.
  • Step 507 Select the corresponding data validation rule according to each attribute type.
  • Step 508 Corresponds to the attribute description of the actual model attribute and the attribute corresponding control.
  • step 509 the system lays out all the controls and generates an editing interface.
  • Step 601 select the device to be queried, for example, select: sample device 00001.
  • Step 602 call the query interface.
  • Step 603 The system queries the standard model information of the device.
  • Step 604 if the device exists, the system converts the standard device model into an actual device model.
  • Step 605 Return device information to the user.
  • Step 606 If the device does not exist, the device is prompted to be absent.
  • step 604 can be further divided into the following steps:
  • Step 701 Obtain a standard device data model.
  • Step 702 Obtain a device model, and the example corresponding model is a model added in the example of the RSU in this embodiment.
  • Step 703 If the model class corresponding to the model exists, obtain an instance of the actual device model corresponding to the model device, and an example of the class RsuparaAdapter is used in the example.
  • Step 704 obtaining an extended attribute set corresponding to the type, where is 1 / rsupower / power, 2
  • I rsuconfigport I S own port 3 / rsudataport I data port, 4 / rsudownloadport I download port, 5 / rsuotherport I service port.
  • Step 705 obtaining extended attribute values of the standard data model, in the examples, field 1/3000, field2/3001, field3/3002, field4/3003, field5/3004.
  • Step 706 Find the corresponding attribute of each extended attribute of the actual device model in the standard model. 1 I rsupower I field 1, 2 I rsuconfigport I field2, 3 I rsudataport field3, 4 I rsudownloadport field4, 15 I rsuotherport I field5.
  • Step 707 performing type conversion on the standard attribute.
  • Step 708 Assign the converted attribute value to the corresponding attribute of the actual model.
  • Step 709 If the model class corresponding to the model does not exist, an error is reported.
  • step 707 can be further divided into the following steps:
  • Step 801 determining the actual attribute type.
  • Step 802 if the attribute type is a number, call the parse method to convert.
  • Step 803 if the attribute type is a boolean type, call the parse method to convert.
  • Step 804 if the attribute type is a date type, the method of calling Calendar generates an instance of the date type.
  • Step 805 if the attribute type is a string, no conversion is performed.
  • Step 806 returning the converted attribute object.
  • the embodiment has obvious effects on reducing the difficulty of secondary development and the uniformity of the entire system.
  • All the external query interfaces, the return type are abstract device classes, and the actual return It is the actual type that is converted. The caller only needs to change the required type to the required type after obtaining the data. Add new equipment, the interface does not need to be changed.
  • the interface return type is an abstract device model, and the actual return is RsuparaAdatper.
  • Embodiments of the present invention also provide a radio frequency identification (RFID) system for implementing the methods of Embodiments 1 through 3.
  • RFID radio frequency identification
  • FIG. 9 is a structural block diagram of a radio frequency identification (RFID) system according to an embodiment of the present invention.
  • the system includes: a first acquisition module 92, configured to acquire model information of the device; and a second acquisition module 94 coupled
  • the first obtaining module 92 is configured to obtain an actual model class corresponding to the model information of the device from a correspondence between the pre-stored model and the actual model class;
  • the storage module 96 is coupled to the second acquiring module 94, and is configured to be configured according to the device.
  • Corresponding actual model class storing device parameters of the device input by the user; generating module 98, coupled to the storage module 96, configured to generate the actual device according to the device parameter of the stored device when the device parameter of the device needs to be managed model.
  • the system further includes: a first receiving module configured to receive model information of the device input by the user; and a second receiving module configured to receive a correspondence between the model information input by the user and the actual model class; the saving module is set to Save the correspondence in the database.
  • the second receiving module comprises: a first obtaining submodule configured to acquire an unused actual model type; a display submodule configured to number the attributes of the unused actual model type and display to the user; The module, set to receive instructions from the user, deletes the unneeded attributes of the attributes of the unused actual model type, and maps the remaining attributes to the model information.
  • the first obtaining submodule comprises: a first query unit, configured to query subclasses of all device abstract classes; a first prompting unit, configured to prompt the user to select all configured models in a subclass of all device abstract classes Class; removes a unit that is set to remove subclasses of the already configured model classes from subclasses of all device abstract classes.
  • the storage module 96 includes: a generating submodule, configured to generate a device maintenance interface of the actual model class corresponding to the device; and a storage submodule configured to store device parameters of the device input by the user on the device maintenance interface.
  • the generating submodule comprises: an obtaining unit, configured to obtain each attribute type in the actual model class by using a reflection mechanism; the first generating unit is configured to generate an editing control of the actual model class corresponding to the device according to each attribute type; The unit is set to call the device parameter maintenance interface template, and all the controls are laid out to generate a device maintenance interface.
  • the first generating unit is configured to generate a text edit box when the attribute type is a numeric type or a string type attribute; when the attribute type is a Boolean type attribute, generate a radio edit box; when the attribute type is a date type attribute , generate a date edit box.
  • the RFID system is configured to add parameter information of the new device according to the operation of the user; the RFID system is configured to modify parameter information of the device according to the operation of the user; and the RFID system is configured to query parameter information of the device according to the operation of the user; The RFID system is configured to delete parameter information of the device according to the operation of the user.
  • the system comprises: a prompting module, configured to prompt the user to select a model of the device; a display module, configured to display a device maintenance interface of the actual model class corresponding to the model according to the model; the first storage module, configured to receive the user in the device maintenance Device parameter information filled in the interface, and the parameter information is stored in the database.
  • a prompting module configured to prompt the user to select a model of the device
  • a display module configured to display a device maintenance interface of the actual model class corresponding to the model according to the model
  • the first storage module configured to receive the user in the device maintenance Device parameter information filled in the interface, and the parameter information is stored in the database.
  • the system includes: a determining module, configured to determine a device to be queried according to a user operation; a third obtaining module, configured to obtain parameter information of the device to be queried, and obtain a query according to the model information of the device to be queried The actual model class corresponding to the device; the return module is set to convert the parameter information of the device to be queried into the actual model of the device to be queried according to the actual model class corresponding to the device to be queried, and return the actual model object to the user.
  • a determining module configured to determine a device to be queried according to a user operation
  • a third obtaining module configured to obtain parameter information of the device to be queried, and obtain a query according to the model information of the device to be queried
  • the return module is set to convert the parameter information of the device to be queried into the actual model of the device to be queried according to the actual model class corresponding to the device to be queried, and return the actual model object to the user
  • the returning module includes: creating a sub-module, which is set to create an instance of the actual model; and a second acquiring sub-module, configured to obtain the attribute of the stored parameter information of the device to be queried; the conversion sub-module, being set as the device to be queried The attribute of the parameter information is converted into the type of the corresponding attribute in the actual model; The submodule is set to assign the converted property value to the corresponding property of the instance of the actual model; return the submodule, set to return an instance of the actual model.
  • the conversion submodule is set to call the numeric type Pas parse method to convert the attribute of the corresponding standard model into the type of the corresponding attribute in the actual model when the attribute type is a numeric type; when the attribute type is a Boolean type, the call is performed.
  • the bossel type parse method converts the attributes of the corresponding standard model into the types of corresponding attributes in the actual model.
  • the calendar method of calling the calendar is used to convert the attributes of the corresponding standard model into corresponding attributes in the actual model. Types of.
  • the assignment sub-module comprises: a first acquisition unit, configured to obtain an assignment method name of the corresponding attribute; a second acquisition unit, configured to obtain an assignment method of the corresponding attribute according to the method name; the assignment unit is set to be converted
  • the attribute value is used as the method parameter to perform the assignment method.
  • the number of device parameters of the device does not exceed a predetermined threshold.
  • the type of device parameter of the device is a single type.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A method for managing device parameters of a Radio Frequency Identification (RFID) system and an RFID system are disclosed. The method includes: the type information of devices is acquired by the RFID system; the actual model classes corresponding to the type information of devices are acquired from the prestored corresponding relationship between the types and the actual model classes by the RFID system; the device parameters of devices input by users are stored by the RFID system according to the actual model classes corresponding to the devices; when the device parameters of devices need to be managed, the actual models are generated by the RFID system according to the stored device parameters of devices. The effect of simplifying the process of the RFID system managing the devices is achieved.

Description

RFID系统的设备参数管理方法及 RFID系统 技术领域  Device parameter management method and RFID system for RFID system
本发明涉及通信领域, 具体而言, 涉及一种射频识另' j ( Radio Frequency Identification, 筒称为 RFID ) 系统的设备参数管理方法及 RFID系统。 背景技术  The present invention relates to the field of communications, and in particular to a device parameter management method and an RFID system for a radio frequency identification (JD) system. Background technique
在 RFID应用系统中, 所需维护的设备的种类很多, 不同厂商设备的型号非常 繁多。 并且, 在实际集成过程中, 设备的选型往往在时间上比较靠后。 对同样的 系统, 不同的使用者也可能会选中不同厂家的设备, 其设备参数各不相同。  In the RFID application system, there are many types of equipment to be maintained, and the models of different manufacturers are very numerous. Moreover, in the actual integration process, the selection of equipment is often later in time. For the same system, different users may also select devices from different manufacturers, and their device parameters are different.
在以往的应用开发中, 每新引进一种型号的设备, 都要做对应的模型对象设 计编写、 数据库设计编写、 模型数据库映射、 数据库操作接口设计编写等一系列 操作, 从而实现对于新引进设备参数的管理。  In the past application development, each new type of equipment was introduced, and a series of operations such as designing the model object, writing the database design, modeling the database, and designing the database operation interface, etc., were performed to realize the new equipment. Management of parameters.
在设备类型型号比较固定的情况下, 上述方式是没有问题的。 但是如前面所 述, 实际应用中, 尤其是智能交通这个方面中, 设备的型号选择变换比较频繁, 如果每新增一种都要重复上述应用开发的步驟, 则代码开发量比较大, 还要同时 涉及表现层、 业务层和持久层的变化, 开发工作较为繁瑣。 发明内容  In the case where the device type model is relatively fixed, the above method is not problematic. However, as mentioned above, in practical applications, especially in the aspect of intelligent transportation, the model selection of the device is changed frequently. If the steps of the above application development are repeated for each new one, the code development amount is relatively large, At the same time, it involves changes in the presentation layer, business layer and persistence layer, and the development work is cumbersome. Summary of the invention
本发明的主要目的在于提供一种 RFID系统的设备参数管理方案,以至少解决 上述问题。  SUMMARY OF THE INVENTION A primary object of the present invention is to provide a device parameter management scheme for an RFID system to address at least the above problems.
根据本发明的一个方面, 提供了一种 RFID系统的设备参数管理方法, 包括: RFID 系统获取设备的型号信息; RFID 系统从预先存储的型号与实际模型类的对 应关系中获取与设备的型号信息对应的实际模型类; RFID系统根据设备对应的实 际模型类, 存储用户输入的设备的设备参数; 在需要对设备的设备参数进行管理 时, RFID系统根据存储的设备的设备参数, 生成设备的实际模型。  According to an aspect of the present invention, a device parameter management method for an RFID system is provided, including: an RFID system acquiring model information of a device; and an RFID system acquiring model information of the device from a correspondence between a pre-stored model and an actual model class. Corresponding actual model class; the RFID system stores the device parameters of the device input by the user according to the actual model class corresponding to the device; when the device parameter of the device needs to be managed, the RFID system generates the actual device according to the device parameter of the stored device. model.
优选地,在 RFID系统从预先存储的型号与实际模型类的对应关系中获取与设 备的型号对应的实际模型类之前, 该方法还包括: RFID系统接收用户输入的设备 的型号信息; RFID系统接收用户输入的型号信息和实际模型类的对应关系; RFID 系统将对应关系保存在数据库中。  Preferably, before the RFID system obtains the actual model class corresponding to the model of the device from the correspondence between the pre-stored model and the actual model class, the method further includes: the RFID system receiving the model information of the device input by the user; the RFID system receiving The correspondence between the model information input by the user and the actual model class; the RFID system saves the correspondence in the database.
优选地, RFID系统接收用户输入的型号信息和实际模型类的对应关系包括: RFID 系统获取未使用的实际模型类型; RFID 系统对未使用的实际模型类型的属 性进行编号, 并显示给用户; RFID系统接收来自用户的指令, 删除未使用的实际 模型类型的属性中不需要的属性, 并将剩余的属性与型号信息进行对应。  Preferably, the RFID system receives the correspondence between the model information input by the user and the actual model class, including: the RFID system acquires an unused actual model type; the RFID system numbers the attributes of the unused actual model types and displays them to the user; The system receives instructions from the user, deletes the attributes that are not needed in the attributes of the actual model type that are not used, and maps the remaining attributes to the model information.
优选地, RFID 系统获取未使用的实际模型类型包括: RFID 系统查询所有设 备抽象类的子类; RFID系统提示用户选择所有设备抽象类的子类中所有已经配置 过的模型类; RFID系统删除所有设备抽象类的子类中的已经配置过的模型类的子 类。 Preferably, the RFID system obtains unused actual model types including: the RFID system queries subclasses of all device abstract classes; the RFID system prompts the user to select all of the subclasses of all device abstract classes that have been configured The model class; the RFID system removes subclasses of the already configured model classes from subclasses of all device abstract classes.
优选地, RFID系统根据设备对应的实际模型类, 存储用户输入的设备的设备 参数包括: RFID 系统生成设备对应的实际模型类的设备维护界面; RFID 系统存 储用户在设备维护界面上输入的设备的设备参数。  Preferably, the RFID system stores the device parameters of the device input by the user according to the actual model class corresponding to the device, including: the device maintenance interface of the actual model class corresponding to the RFID system generation device; and the RFID system stores the device input by the user on the device maintenance interface. Device parameters.
优选地, RFID 系统生成设备对应的实际模型类的设备维护界面包括: RFID 系统使用反射机制获得实际模型类中各个属性类型; RFID系统根据各个属性类型 生成设备对应的实际模型类的编辑控件; RFID系统调用设备参数维护界面模板, 将所有控件进行布局, 生成设备维护界面。  Preferably, the device maintenance interface of the actual model class corresponding to the RFID system generating device comprises: the RFID system uses a reflection mechanism to obtain each attribute type in the actual model class; the RFID system generates an edit control of the actual model class corresponding to the device according to each attribute type; The system calls the device parameter maintenance interface template, and all the controls are laid out to generate a device maintenance interface.
优选地, RFID系统根据各个属性类型生成设备对应的实际模型类的编辑控件 包括:如果属性类型是数字类型或字符串类型属性,则 RFID系统生成文本编辑框; 如果属性类型是布尔类型属性, 则 RFID系统生成单选编辑框; 如果属性类型是日 期类型属性, 则 RFID系统生成日期编辑框。  Preferably, the RFID system generates an edit control of the actual model class corresponding to the device according to each attribute type, including: if the attribute type is a numeric type or a string type attribute, the RFID system generates a text edit box; if the attribute type is a Boolean type attribute, The RFID system generates a radio edit box; if the attribute type is a date type attribute, the RFID system generates a date edit box.
优选地,在 RFID系统根据设备对应的实际模型类,存储设备的设备参数之后, 该方法包括以下至少之一: RFID系统根据用户的操作,增加新的设备的参数信息; RFID 系统根据用户的操作, 修改设备的参数信息; RFID 系统根据用户的操作, 查询设备的参数信息; RFID系统根据用户的操作, 删除设备的参数信息。  Preferably, after the RFID system stores the device parameters of the device according to the actual model class corresponding to the device, the method includes at least one of the following: the RFID system adds parameter information of the new device according to the operation of the user; the RFID system is operated according to the user. Modify the parameter information of the device; the RFID system queries the parameter information of the device according to the operation of the user; the RFID system deletes the parameter information of the device according to the operation of the user.
优选地, RFID 系统根据用户的操作, 增加新的设备的参数信息包括: RFID 系统提示用户选择设备的型号; RFID系统根据型号显示型号对应的实际模型类的 设备维护界面; RFID系统接收用户在设备维护界面上填写的设备参数信息, 并将 参数信息存储到数据库中。  Preferably, the RFID system adds the parameter information of the new device according to the operation of the user, including: the RFID system prompts the user to select the model of the device; the RFID system displays the device maintenance interface of the actual model type corresponding to the model according to the model; the RFID system receives the user in the device Maintain the device parameter information filled in the interface and store the parameter information in the database.
优选地, RFID 系统根据用户的操作, 查询设备的参数信息包括: RFID 系统 根据用户的操作确定要查询的设备; RFID系统获取要查询的设备的参数信息, 并 根据要查询的设备的型号信息获取要查询的设备对应的实际模型类; RFID系统根 据要查询的设备对应的实际模型类, 将要查询的设备的参数信息转换成要查询的 设备的实际模型, 并将实际模型对象返回给用户。  Preferably, the RFID system queries the parameter information of the device according to the operation of the user, the RFID system determines the device to be queried according to the operation of the user, and the RFID system obtains the parameter information of the device to be queried, and obtains the parameter information of the device to be queried according to the model information of the device to be queried. The actual model class corresponding to the device to be queried; the RFID system converts the parameter information of the device to be queried into the actual model of the device to be queried according to the actual model class corresponding to the device to be queried, and returns the actual model object to the user.
优选地, RFID系统将将要查询的设备的参数信息转换成要查询的设备的实际 模型包括: RFID 系统创建实际模型的实例; RFID 系统获取存储的要查询的设备 的参数信息的属性; RFID系统将要查询的设备的参数信息的属性转换成实际模型 中对应属性的类型; RFID系统将转换后的属性值赋给实际模型的实例的对应属性; Preferably, the RFID system converts the parameter information of the device to be queried into an actual model of the device to be queried: the RFID system creates an instance of the actual model; the RFID system acquires the attribute of the stored parameter information of the device to be queried; the RFID system is to be The attribute of the parameter information of the queried device is converted into the type of the corresponding attribute in the actual model; the RFID system assigns the converted attribute value to the corresponding attribute of the instance of the actual model;
RFID系统返回实际模型的实例。 The RFID system returns an instance of the actual model.
优选地, RFID系统将要查询的设备的参数信息的属性转换成实际模型中对应 属性的类型包括: 如果属性类型为数字类型, 则 RFID 系统调用数字类型的帕斯 parse方法将对应的标准模型的属性转换成实际模型中对应属性的类型; 如果属性 类型为布尔类型, 则 RFID系统调用布尔类型的 parse方法将对应的标准模型的属 性转换成实际模型中对应属性的类型; 如果属性类型为日期类型, 则 RFID系统调 用日历 Calendar的方法将对应的标准模型的属性转换成实际模型中对应属性的类 型。 Preferably, the RFID system converts the attribute of the parameter information of the device to be queried into the type of the corresponding attribute in the actual model, including: if the attribute type is a digital type, the RFID system calls the PAS parse method of the digital type to correspond to the attribute of the standard model. Converted to the type of the corresponding attribute in the actual model; if the attribute type is Boolean, the RFID system calls the parse method of the Boolean type to convert the attribute of the corresponding standard model into the type of the corresponding attribute in the actual model; if the attribute type is a date type, RFID system Use the calendar method of Calendar to convert the attributes of the corresponding standard model into the types of corresponding attributes in the actual model.
优选地, RFID系统将转换后的属性值赋给实际模型的实例的对应属性包括: RFID 系统获取对应属性的赋值方法名; RFID 系统根据方法名获取对应属性的赋 值方法; RFID系统将转换后的属性值作为方法参数执行赋值方法。  Preferably, the RFID system assigns the converted attribute value to the corresponding attribute of the instance of the actual model, including: the RFID system acquires the assignment method name of the corresponding attribute; the RFID system obtains the assignment method of the corresponding attribute according to the method name; the RFID system converts the converted value The attribute value is used as a method parameter to perform an assignment method.
优选地, 设备的设备参数的个数不超过预定门限。  Preferably, the number of device parameters of the device does not exceed a predetermined threshold.
优选地, 设备的设备参数的类型为筒单类型。  Preferably, the type of device parameter of the device is a single type.
根据本发明的另一方面, 提供了一种 RFID系统, 包括: 第一获取模块, 设置 为获取设备的型号信息; 第二获取模块, 设置为从预先存储的型号与实际模型类 的对应关系中获取与所述设备的型号信息对应的实际模型类; 存储模块, 设置为 根据所述设备对应的所述实际模型类, 存储用户输入的所述设备的设备参数; 生 成模块, 设置为在需要对所述设备的设备参数进行管理时, 根据存储的所述设备 的设备参数, 生成所述设备的实际模型。  According to another aspect of the present invention, an RFID system is provided, including: a first acquisition module configured to acquire model information of a device; and a second acquisition module configured to be in a correspondence relationship between a pre-stored model and an actual model class Obtaining an actual model class corresponding to the model information of the device; the storage module is configured to store, according to the actual model class corresponding to the device, a device parameter of the device input by the user; and generating a module, configured to When the device parameters of the device are managed, an actual model of the device is generated according to the stored device parameters of the device.
通过本发明, 采用系统存储设备的型号与实际模型类的对应关系, 根据该对 应关系存储设备的设备参数, 以生成实际模型的方式, 解决了相关技术中 RFID系 统管理设备参数的过程较为复杂的问题,进而达到了筒化 RFID系统管理设备的过 程的效果。 附图说明  Through the present invention, the corresponding relationship between the model of the system storage device and the actual model class is adopted, and the device parameters of the corresponding storage device are used to generate the actual model, and the process of managing the device parameters of the RFID system in the related art is complicated. The problem, in turn, achieves the effect of the process of managing the RFID system management device. DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图中:  The drawings are intended to provide a further understanding of the present invention, and are intended to be a part of the present invention, and the description of the present invention is not intended to limit the invention. In the drawing:
图 1是根据本发明实施例的 RFID系统的设备参数管理方法的流程图; 图 2是根据本发明实施例的参数配置管理方案系统的结构框图;  1 is a flowchart of a device parameter management method of an RFID system according to an embodiment of the present invention; FIG. 2 is a structural block diagram of a parameter configuration management scheme system according to an embodiment of the present invention;
图 3是根据本发明实施例的标准数据模型的示意图;  3 is a schematic diagram of a standard data model in accordance with an embodiment of the present invention;
图 4是根据本发明实施例的新增设备型号的流程图;  4 is a flow chart of a new device model according to an embodiment of the present invention;
图 5是根据本发明实施例的新设备参数维护界面生成的流程图;  FIG. 5 is a flowchart of generating a new device parameter maintenance interface according to an embodiment of the present invention; FIG.
图 6是根据本发明实施例的设备信息查询的流程图;  6 is a flowchart of device information query according to an embodiment of the present invention;
图 7是根据本发明实施例的将标准数据模型转换为实际数据模型的流程图; 图 8是才艮据本发明实施例的模型类属性类型转换的流程图;  7 is a flow chart of converting a standard data model into an actual data model according to an embodiment of the present invention; FIG. 8 is a flowchart of a model class attribute type conversion according to an embodiment of the present invention;
图 9是才艮据本发明实施例的 RFID系统的结构框图。 具体实施方式  Figure 9 is a block diagram showing the structure of an RFID system according to an embodiment of the present invention. detailed description
下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲 突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。  The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that, in the case of non-conflict, the features in the embodiments and the embodiments in the present application may be combined with each other.
实施例一 本发明实施例提供了一种 RFID系统的设备参数管理方法,图 1是根据本发明 实施例的 RFID系统的设备参数管理方法的流程图, 如图 1所示, 该方法包括: 步驟 S 102, RFID系统获取设备的型号信息; Embodiment 1 An embodiment of the present invention provides a device parameter management method for an RFID system. FIG. 1 is a flowchart of a device parameter management method for an RFID system according to an embodiment of the present invention. As shown in FIG. 1, the method includes: Step S102, The RFID system acquires model information of the device;
步驟 S 104, RFID系统从预先存储的型号与实际模型类的对应关系中获取与设 备的型号信息对应的实际模型类;  Step S104: The RFID system acquires an actual model class corresponding to the model information of the device from a correspondence between the pre-stored model and the actual model class;
步驟 S 106, RFID系统根据设备对应的实际模型类, 存储用户输入的设备的设 备参数;  Step S106: The RFID system stores the device parameters of the device input by the user according to the actual model class corresponding to the device.
步驟 S108,在需要对设备的设备参数进行管理时, RFID系统根据存储的设备 的设备参数, 生成设备的实际模型。  Step S108: When the device parameters of the device need to be managed, the RFID system generates an actual model of the device according to the device parameters of the stored device.
在本实施例中, RFID系统存储设备的型号与实际模型类的对应关系, 根据该 对应关系存储设备的设备参数, 从而在需要的时候, 生成实际模型, 从而筒化了 RFID系统管理设备的过程。  In this embodiment, the correspondence between the model of the RFID system storage device and the actual model class, and the device parameters of the storage device according to the corresponding relationship, thereby generating an actual model when needed, thereby completing the process of managing the device by the RFID system .
其中, 设备参数的个数不超过预定门限; 设备参数的类型为筒单类型 (例如, 数字类型、 布尔类型或日期类型)。  Wherein, the number of device parameters does not exceed a predetermined threshold; the type of the device parameter is a single type (for example, a numeric type, a boolean type, or a date type).
在本发明实施例的一个优选实例中,在 RFID系统从预先存储的型号与实际模 型类的对应关系中获取与设备的型号对应的实际模型类之前, RFID系统可以接收 用户输入的设备的型号信息以及接收用户输入的型号信息和实际模型类的对应关 系, 然后, RFID系统将该对应关系保存在数据库中。  In a preferred embodiment of the embodiment of the present invention, the RFID system can receive the model information of the device input by the user before the RFID system obtains the actual model class corresponding to the model of the device from the correspondence between the pre-stored model and the actual model class. And receiving the correspondence between the model information input by the user and the actual model class, and then the RFID system saves the correspondence in the database.
其中, RFID系统接收用户输入的型号信息和实际模型类的对应关系可以包括: RFID系统获取未使用的实际模型类型, 并对未使用的实际模型类型的属性进行编 号, 然后, 显示给用户; RFID系统接收来自用户的指令, 删除未使用的实际模型 类型的属性中不需要的属性, 并将剩余的属性与型号信息进行对应。  The RFID system receiving the correspondence between the model information input by the user and the actual model class may include: the RFID system acquires an unused actual model type, and numbers the attributes of the unused actual model type, and then displays the information to the user; The system receives instructions from the user, deletes the attributes that are not needed in the attributes of the actual model type that are not used, and maps the remaining attributes to the model information.
优选地, RFID 系统获取未使用的实际模型类型可以包括: RFID 系统查询所 有设备抽象类的子类, 并提示用户选择所有设备抽象类的子类中所有已经配置过 的模型类, 然后, RFID系统删除所有设备抽象类的子类中的已经配置过的模型类 的子类, 剩余的即为未使用的实际模型类型。  Preferably, the RFID system acquiring unused actual model types may include: the RFID system queries subclasses of all device abstract classes, and prompts the user to select all configured model classes in all subclasses of the device abstract class, and then, the RFID system Deletes a subclass of the already configured model class in a subclass of all device abstract classes, and the rest is the actual model type that is not used.
在本发明实施例的另一个优选实例中, RFID系统根据设备对应的实际模型类, 存储用户输入的设备的设备参数可以包括: RFID系统生成设备对应的实际模型类 的设备维护界面; 然后, RFID系统存储用户在设备维护界面上输入的设备的设备 参数。  In another preferred embodiment of the embodiment of the present invention, the RFID system stores the device parameters of the device input by the user according to the actual model class corresponding to the device, and may include: an actual model class device maintenance interface corresponding to the RFID system generation device; and then, the RFID system The system stores the device parameters of the device that the user inputs on the device maintenance interface.
其中, RFID系统生成设备对应的实际模型类的设备维护界面可以包括: RFID 系统使用反射机制获得实际模型类中各个属性类型; RFID系统根据各个属性类型 生成设备对应的实际模型类的编辑控件; RFID系统调用设备参数维护界面模板, 将所有控件进行布局, 生成设备维护界面。  The device maintenance interface of the actual model class corresponding to the RFID system generating device may include: the RFID system uses a reflection mechanism to obtain each attribute type in the actual model class; the RFID system generates an edit control of the actual model class corresponding to the device according to each attribute type; The system calls the device parameter maintenance interface template, and all the controls are laid out to generate a device maintenance interface.
优选地, RFID系统根据各个属性类型生成设备对应的实际模型类的编辑控件 可以包括: 如果属性类型是数字类型或字符串类型属性, 则 RFID系统生成文本编 辑框; 如果属性类型是布尔类型属性, 则 RFID系统生成单选编辑框; 如果属性类 型是日期类型属性, 则 RFID系统生成日期编辑框。 Preferably, the RFID system generates an edit control of the actual model class corresponding to the device according to each attribute type, and may include: if the attribute type is a numeric type or a string type attribute, the RFID system generates a text code If the attribute type is a Boolean type attribute, the RFID system generates a radio edit box; if the attribute type is a date type attribute, the RFID system generates a date edit box.
在本发明实施例的又一个优选实例中,在 RFID系统根据设备对应的实际模型 类, 存储设备的设备参数之后, 可以进行以下任一步驟: RFID系统根据用户的操 作, 增加新的设备的参数信息; RFID系统根据用户的操作,修改设备的参数信息; RFID 系统根据用户的操作, 查询设备的参数信息; RFID 系统根据用户的操作, 删除设备的参数信息。  In still another preferred embodiment of the embodiment of the present invention, after the RFID system stores the device parameters of the device according to the actual model class corresponding to the device, the following steps may be performed: The RFID system adds parameters of the new device according to the operation of the user. The RFID system modifies the parameter information of the device according to the operation of the user; the RFID system queries the parameter information of the device according to the operation of the user; the RFID system deletes the parameter information of the device according to the operation of the user.
其中, RFID系统根据用户的操作, 增加新的设备的参数信息可以包括: RFID 系统提示用户选择设备的型号; RFID系统根据型号显示型号对应的实际模型类的 设备维护界面; RFID系统接收用户在设备维护界面上填写的设备参数信息, 并将 参数信息存储到数据库中。  The RFID system adds the parameter information of the new device according to the operation of the user, and may include: the RFID system prompts the user to select the model of the device; the RFID system displays the device maintenance interface of the actual model type according to the model; the RFID system receives the user in the device. Maintain the device parameter information filled in the interface and store the parameter information in the database.
在本发明实施例的再一个优选实例中, RFID系统根据用户的操作, 查询设备 的参数信息可以包括: RFID 系统根据用户的操作确定要查询的设备; RFID 系统 获取要查询的设备的参数信息, 并根据要查询的设备的型号信息获取要查询的设 备对应的实际模型类; RFID系统根据要查询的设备对应的实际模型类, 将要查询 的设备的参数信息转换成要查询的设备的实际模型, 并将实际模型对象返回给用 户。  In a further preferred embodiment of the embodiment of the present invention, the parameter information of the querying device may be: the RFID system determines the device to be queried according to the operation of the user, and the RFID system obtains the parameter information of the device to be queried according to the operation of the user. And obtaining the actual model class corresponding to the device to be queried according to the model information of the device to be queried; the RFID system converts the parameter information of the device to be queried into the actual model of the device to be queried according to the actual model class corresponding to the device to be queried. The actual model object is returned to the user.
其中, RFID系统将将要查询的设备的参数信息转换成要查询的设备的实际模 型可以包括: RFID系统创建实际模型的实例, 并获取存储的要查询的设备的参数 信息的属性; RFID系统将要查询的设备的参数信息的属性转换成实际模型中对应 属性的类型; RFID系统将转换后的属性值赋给实际模型的实例的对应属性; RFID 系统返回实际模型的实例。  The RFID system converts the parameter information of the device to be queried into the actual model of the device to be queried, which may include: the RFID system creates an instance of the actual model, and obtains the attribute of the stored parameter information of the device to be queried; the RFID system will query The attribute of the parameter information of the device is converted into the type of the corresponding attribute in the actual model; the RFID system assigns the converted attribute value to the corresponding attribute of the instance of the actual model; the RFID system returns an instance of the actual model.
优选地, RFID系统将要查询的设备的参数信息的属性转换成实际模型中对应 属性的类型可以包括: 如果属性类型为数字类型, 则 RFID系统调用数字类型的帕 斯 (parse ) 方法将对应的标准模型的属性转换成实际模型中对应属性的类型; 如 果属性类型为布尔类型, 则 RFID系统调用布尔类型的 parse方法将对应的标准模 型的属性转换成实际模型中对应属性的类型; 如果属性类型为日期类型, 则 RFID 系统调用日历 ( Calendar )的方法将对应的标准模型的属性转换成实际模型中对应 属性的类型。  Preferably, the RFID system converts the attribute of the parameter information of the device to be queried into the type of the corresponding attribute in the actual model, which may include: if the attribute type is a digital type, the RFID system calls the digital type of the parse method to correspond to the standard The attribute of the model is converted into the type of the corresponding attribute in the actual model; if the attribute type is a Boolean type, the RFID system calls the parse method of the Boolean type to convert the attribute of the corresponding standard model into the type of the corresponding attribute in the actual model; if the attribute type is The date type, the RFID system calls the calendar method to convert the attributes of the corresponding standard model into the types of corresponding attributes in the actual model.
优选地, RFID系统将转换后的属性值赋给实际模型的实例的对应属性可以包 括: RFID系统获取对应属性的赋值方法名, 并根据方法名获取对应属性的赋值方 法, 然后, RFID系统将转换后的属性值作为方法参数执行赋值方法。  Preferably, the RFID system assigns the converted attribute value to the corresponding attribute of the instance of the actual model, which may include: the RFID system acquires the assignment method name of the corresponding attribute, and obtains the assignment method of the corresponding attribute according to the method name, and then the RFID system converts The attribute value after the execution as the method parameter performs the assignment method.
实施例二  Embodiment 2
本实施例提出了一种设备参数管理的通用解决方案。 系统维护每种类型每种 厂家设备与设备模型类的对应关系, 以统一的标准数据模型对设备参数进行持久 化管理。 用户以标准模型提交参数的变更后, 系统将实际模型变换成标准模型; 用户请求参数管理时, 系统将统一标准模型转换成实际设备模型。 当应用系统所 管理的设备有新类型设备引入, 只需增加一个该设备的筒单模型类, 并对该设备 模型的属性进行配置, 其他相关代码均不做变动, 即可完成对新设备参数的管理。 This embodiment proposes a general solution for device parameter management. The system maintains the correspondence between each type of equipment of each type and the equipment model class, and manages the equipment parameters persistently with a unified standard data model. After the user submits the parameter changes in the standard model, the system transforms the actual model into a standard model; when the user requests parameter management, the system converts the unified standard model into the actual device model. Application system The managed device has a new type of device introduced. It only needs to add a single model class of the device, and configure the properties of the device model. The other related codes are not changed, and the management of the new device parameters can be completed.
其中, 设备参数个数需要设置上限。 设备参数类型可以为筒单类型。  The number of device parameters needs to be set to the upper limit. The device parameter type can be a cartridge type.
进一步的, 本实施例所述的方法包括如下步驟:  Further, the method described in this embodiment includes the following steps:
( 1 ) 系统维护每种类型每种厂家设备与设备模型类的对应关系;  (1) The system maintains the correspondence between each type of equipment of each type and the equipment model class;
(2) 用户管理设备参数。  (2) User management device parameters.
进一步的, 系统维护每种类型每种厂家设备与设备模型类的对应关系包括如 下步驟:  Further, the system maintains the correspondence between each type of manufacturer equipment and the equipment model class of each type, including the following steps:
( 1 ) 开发人员编写新型号设备的模型类;  (1) The model class for the developer to write a new model device;
(2) 开发人员填写新型号信息, 包括对应的模型类名称及其参数属性信息; (2) The developer fills in the new model information, including the corresponding model class name and its parameter attribute information;
(3 ) 系统将对应关系持久化 (例如, 保存在数据库中); (3) The system persists the correspondence (for example, in a database);
(4) 系统生成该模型的设备维护界面。  (4) The system generates the device maintenance interface of the model.
进一步的, 用户管理设备参数包含如下步驟:  Further, the user management device parameters include the following steps:
( 1 ) 用户增加新的设备信息;  (1) The user adds new device information;
(2) 用户修改设备信息;  (2) The user modifies the device information;
(3) 用户查询设备信息;  (3) The user queries the device information;
(4) 用户删除设备信息。  (4) The user deletes the device information.
进一步的, 开发人员填写新型号信息, 包括对应的模型类名称及其参数属性 信息包含如下步驟:  Further, the developer fills in the new model information, including the corresponding model class name and its parameter attribute information, including the following steps:
( 1 ) 用户填写型号基本信息;  (1) The user fills in the basic information of the model;
(2) 系统查询所有未使用的实际设备模型类;  (2) The system queries all unused actual device model classes;
( 3 ) 用户选择模型对应的设备模型类;  (3) The user selects a device model class corresponding to the model;
(4) 系统将选中的模型类的所有属性编号, 显示到界面上;  (4) The system displays all attribute numbers of the selected model class to the interface;
(5) 用户删除不需要配置的属性;  (5) The user deletes the attributes that do not need to be configured;
( 6 ) 用户给每个属性加上标注;  (6) The user adds a label to each attribute;
(7)模型信息填写完成。  (7) The model information is completed.
进一步的, 系统查询所有未使用的实际设备模型类包含如下步驟:  Further, the system queries all unused actual device model classes including the following steps:
( 1 ) 系统查询所有设备抽象类的子类;  (1) The system queries subclasses of all device abstract classes;
(2) 用户查询所有已经配置过的模型类;  (2) The user queries all the model classes that have been configured;
(3 ) 系统将已经配置过型号的子类剔除。  (3) The system rejects the subclasses of the configured models.
进一步的, 系统生成该模型的设备维护界面包含如下步驟:  Further, the device maintenance interface that the system generates the model includes the following steps:
( 1 ) 系统用反射机制获得模型类中各个属性类型;  (1) The system obtains each attribute type in the model class by using a reflection mechanism;
(2) 系统才艮据每个属性类型生成对应的编辑控件;  (2) The system generates a corresponding edit control according to each attribute type;
(3 ) 系统根据每个属性类型选用对应的数据验证规格;  (3) The system selects the corresponding data verification specification according to each attribute type;
(4)将实际模型属性的属性描述与属性对应控件对应;  (4) Corresponding to the attribute description of the actual model attribute and the attribute corresponding control;
(5) 系统调用设备参数维护界面模板;  (5) The system calls the device parameter maintenance interface template;
(6) 系统将所有控件布局, 生成编辑界面 (即, 设备维护界面)。 进一步的, 用户增加新的设备信息包含如下步驟: (6) The system lays out all the controls and generates an editing interface (ie, device maintenance interface). Further, the user adds new device information including the following steps:
( 1 ) 用户选择设备的类型和型号;  (1) The type and model of the device selected by the user;
(2) 系统根据型号调出对应的维护界面;  (2) The system calls up the corresponding maintenance interface according to the model;
( 3 ) 用户填写设备参数信息;  (3) The user fills in the device parameter information;
(4) 系统将参数信息以标准数据模型持久化。  (4) The system persists the parameter information as a standard data model.
进一步的, 用户查询设备信息包含如下步驟:  Further, the user querying the device information includes the following steps:
( 1 ) 用户选择要查询的设备;  (1) The user selects the device to be queried;
(2) 系统查询该设备标准模型信息;  (2) The system queries the standard model information of the device;
(3) 系统根据型号信息查询设备对应的模型类;  (3) The system queries the model class corresponding to the device according to the model information;
(4) 系统将标准模型转换成设备实际的模型;  (4) The system converts the standard model into the actual model of the device;
(5) 系统将实际模型对象返回给用户。  (5) The system returns the actual model object to the user.
进一步的, 系统根据每个属性类型生成对应的编辑控件包含如下步驟: Further, the system generates a corresponding edit control according to each attribute type, including the following steps:
( 1 )如果是数字类型或字符串类型属性选用文本编辑框; (1) If it is a numeric type or a string type attribute, select a text edit box;
(2)如果是布尔类型属性选择单选编辑框;  (2) If it is a Boolean type attribute, select the radio edit box;
(3)如果是日期类型属性选择日期编辑框。  (3) If it is a date type attribute, select the date edit box.
进一步的, 系统将标准模型转换成设备实际的模型包含如下步驟:  Further, the system converts the standard model into the actual model of the device, including the following steps:
( 1 ) 系统创建实际模型类的实例;  (1) The system creates an instance of the actual model class;
(2) 系统取出实际模型类中每个属性对应的标准模型中的属性;  (2) The system extracts the attributes in the standard model corresponding to each attribute in the actual model class;
(3) 系统将标准模型的属性转换成实际模型类对应属性的类型;  (3) The system converts the attributes of the standard model into the types of corresponding attributes of the actual model class;
(4) 系统将转换后的属性值赋给实际模型实例的对应属性;  (4) The system assigns the converted attribute value to the corresponding attribute of the actual model instance;
(5) 系统返回实际模型的实例。  (5) The system returns an instance of the actual model.
进一步的, 系统将标准模型的属性转换成实际模型类对应属性的类型包含如 下步驟:  Further, the system converts the attributes of the standard model into the types of the corresponding attributes of the actual model class, as follows:
( 1 )如果属性为数字类型, 则调用数字类型的 parse方法进行转换; (2)如果属性为布尔类型, 则调用布尔类型的 parse方法进行转换; (1) If the attribute is a numeric type, the parse method of the numeric type is called for conversion; (2) If the attribute is a boolean type, the parse method of the boolean type is called for conversion;
( 3 )如果属性为日期类型, 则调用 Calendar的方法产生日期类型的实例。 进一步的, 系统将转换后的属性值赋给实际模型实例的对应属性包含如下步 驟: (3) If the attribute is a date type, the method of calling Calendar is used to generate an instance of the date type. Further, the system assigns the converted attribute value to the corresponding attribute of the actual model instance, and the following steps are included:
( 1 ) 系统获取该属性的赋值方法名;  (1) The system obtains the assignment method name of the attribute;
(2) 系统根据方法名获取该属性的赋值方法;  (2) The system obtains the assignment method of the attribute according to the method name;
( 3 )将转换后的属性值作为方法参数执行赋值方法。  (3) Execute the assignment method by using the converted attribute value as a method parameter.
本实施例在设备型号频繁变化的集成过程中, 对降低二次开发的难度及其整 个系统的统一性都有明显的作用, 主要表现在:  In the integration process in which the device model frequently changes, this embodiment has an obvious effect on reducing the difficulty of secondary development and the uniformity of the whole system, mainly in:
( 1 )二次开发表现层和业务层不需有变动, 只需增加一个设备模型类。 (2) 与其它子系统之间的接口不需要变化, 降低了代码的耦合程度。  (1) There is no need to change the secondary development presentation layer and business layer. Just add a device model class. (2) The interface with other subsystems does not need to be changed, which reduces the degree of coupling of the code.
实施例三 如图 2 所示, 本发明实施例的主要功能是系统将用户输入的参数转换为标准 数据模型保存到数据库中; 当参数需要调用时, 系统将保存在数据库中的标准模 型转换为实际设备模型, 返回给调用者。 Embodiment 3 As shown in FIG. 2, the main function of the embodiment of the present invention is that the system converts the parameter input by the user into a standard data model and saves it into the database; when the parameter needs to be called, the system converts the standard model saved in the database into the actual device model. , returned to the caller.
如图 3 所示, 本发明实施例的标准数据模型包括: 抽象设备模型 (301 )、 设 备特殊属性模型 (302 )、 设备类型模型 (303 )、 设备型号模型 ( 305 )和设备型号 对应属性模型 ( 304 )。  As shown in FIG. 3, the standard data model of the embodiment of the present invention includes: an abstract device model (301), a device special attribute model (302), a device type model (303), a device model model (305), and a device model corresponding attribute model. ( 304 ).
在图 3中, 303为设备类型模型, 其中包括名称、 编号等属性, 是设备的基本 属性, 该模型的初始值在系统初始化时已确定。 每种设备类型包含多个设备型号 ( 305 ), 不同厂家的设备对应不同的型号。  In Figure 3, 303 is a device type model, which includes attributes such as name and number, which are the basic attributes of the device. The initial value of the model is determined at system initialization. Each device type contains multiple device models ( 305 ), and devices from different manufacturers correspond to different models.
在图 3中, 305为设备型号模型, 其中包含名称、 编号、 对应模型类名等基本 属性,属于一种设备类型( 303 )。设备型号模型可以包含多个型号对应属性( 304 )。  In Figure 3, 305 is a device model model, which contains basic attributes such as name, number, and corresponding model class name, and belongs to a device type (303). The device model model can contain multiple model corresponding attributes ( 304 ).
在图 3中, 304为型号对应属性模型, 其中包含属性名、 属性标注、 属性序号 等基本属性, 属于一种设备型号 ( 305 ), 其规定了该型号设备都有哪些扩展属性。  In Fig. 3, 304 is a model corresponding attribute model, which includes basic attributes such as attribute name, attribute label, attribute number, etc., belonging to a device model (305), which specifies which extended attributes are available for the model.
在图 3中, 301抽象设备模型, 其中包含名称、 互联网协议(Internet Protocol, 筒称为 IP ) 地址等基本属性, 属于一种设备类型, 一种设备型号, 对应一个设备 特殊属性 ( 302 )。 其中, 1 )抽象设备模型是指所有实际设备模型的父类, 它包含 一些所有设备的共有的属性; 2 )抽象设备模型对应一个设备特殊属性模型, 用来 存放设备自身属性得值; 3 ) 305 的设备型号存放的是设备有哪些特殊属性, 特殊 属性模型用来存放每个设备的特殊属性的值。  In Figure 3, the 301 abstract device model, which contains basic attributes such as name, Internet Protocol (IP) address, belongs to a device type, a device model, and corresponds to a device special attribute (302). Among them, 1) abstract device model refers to the parent class of all actual device models, which contains some common attributes of all devices; 2) abstract device model corresponds to a device special attribute model, which is used to store the value of the device's own properties; 3) The device model of the 305 stores the special attributes of the device. The special attribute model is used to store the value of the special attribute of each device.
在图 3中, 302为设备特殊属性模型, 其中存放设备所有的特殊属性, 包含指 定个数的属性域, 实际设备的扩展属性就以字符串形式保存到对应域属性中, 该 模型有属性域有冗余, 对应一个抽象设备(301 )。  In FIG. 3, 302 is a device special attribute model, in which all special attributes of the device are stored, and a specified number of attribute domains are included, and the extended attributes of the actual device are saved in a string form to the corresponding domain attribute, and the model has an attribute domain. There is redundancy, corresponding to an abstract device (301).
假设系统引进一种路旁单元 (Road-Side Unit, 筒称为 RSU )设备, 它有 5个 特殊属性, 分别为: 功率、 配置端口、 数据端口、 下载端口和业务端口; 对应的 模型类为 RSU Adapter , 这 5 个设备属性对应的类属性名分别为: rsupower, rsuconfigport, rsudataport, rsudownloadport , rsuotherport。 图 4是才艮据本发明实施 例三的 RFID系统的设备参数管理方法的流程图, 如图 4所示, 在新建一个设备型 号的情况下, 系统对该 RSU设备的处理包括:  Suppose the system introduces a Road-Side Unit (RSU) device, which has five special attributes: power, configuration port, data port, download port, and service port. The corresponding model class is RSU Adapter, the class attribute names corresponding to the five device attributes are: rsupower, rsuconfigport, rsudataport, rsudownloadport, rsuotherport. 4 is a flowchart of a device parameter management method of an RFID system according to Embodiment 3 of the present invention. As shown in FIG. 4, in the case of creating a new device model, the system processing of the RSU device includes:
步驟 401, 用户填写设备型号基本信息, 例如, 示例 101为: 名称 /示例型号, 编号 /000001, 所属类型为 RSU。  In step 401, the user fills in the basic information of the device model. For example, the example 101 is: name/example model, number /000001, and the type is RSU.
步驟 402, 系统查询所有设备抽象类的子类。  In step 402, the system queries subclasses of all device abstract classes.
步驟 403, 系统查询所有的已配置型号的类。  In step 403, the system queries all classes of the configured model.
步驟 404, 系统剔除已配置的模型类。  Step 404, the system culls the configured model class.
步驟 405, 将剔除过的类列表显示在界面上。  Step 405: Display the culled class list on the interface.
步錄 406, 选择型号对应的模型类名, 例如, 示例 101选择 RsuparaAdapter。 步驟 407, 系统将选中的模型类的所有属性编号显示到界面上, 例如, 示例 101显示 1 / rsupower, 2 I rsuconfigport, 3 I rsudataport, 4 I rsudownloadport , 5 I rsuotherport。 Step 406, select the model class name corresponding to the model, for example, example 101 selects RsuparaAdapter. In step 407, the system displays all the attribute numbers of the selected model class to the interface. For example, the example 101 displays 1 / rsupower, 2 I rsuconfigport, 3 I rsudataport, 4 I rsudownloadport , 5 I rsuotherport.
步驟 408, 用户删除不需要配置的属性, 示例 101没有此项。  In step 408, the user deletes the attribute that does not need to be configured, and the example 101 does not have this item.
步聚 409, 用户给每个属性加上标注, 示例 101 为 1 / rsupower I 功率, 2 I rsuconfigport I S己置端口, 3 / rsudataport I数据端口, 4 / rsudownloadport I 下载端 口, 5 / rsuotherport I 业务端口。  Step 409, the user adds a label to each attribute, example 101 is 1 / rsupower I power, 2 I rsuconfigport IS own port, 3 / rsudataport I data port, 4 / rsudownloadport I download port, 5 / rsuotherport I service port .
步驟 410, 系统将选中型号信息持久化, 保存到数据库或文件中。  In step 410, the system persists the selected model information and saves it to a database or file.
步驟 411, 系统生成新设备的维护界面。  Step 411, the system generates a maintenance interface of the new device.
进一步的, 如图 5所示, 步聚 411又可以分为如下步聚:  Further, as shown in FIG. 5, the step 411 can be further divided into the following steps:
步驟 501, 系统用反射机制获得模型类中各个属性类型, 例如, 示例 101各个 属性类型均为整数( Integer )。  Step 501: The system obtains each attribute type in the model class by using a reflection mechanism. For example, each of the 101 attribute types is an integer (Integer).
步驟 502, 才艮据每个属性类型生成对应的编辑控件。  Step 502, generating a corresponding edit control according to each attribute type.
步驟 503, 如果属性类型为数字或字符串, 则生成文本框, 示例 101符合本分 支  Step 503, if the attribute type is a number or a string, a text box is generated, and the example 101 conforms to the branch.
步驟 504 如果属性类型为布尔类型, 则生成下拉 4匡。  Step 504 If the attribute type is Boolean, a pulldown is generated.
步驟 505 如果属性类型为日期, 则生成日期编辑框。  Step 505 If the attribute type is Date, a date edit box is generated.
步驟 506 如果属性类型不属于以上类型, 则提示不支持, 结束流程。  Step 506 If the attribute type does not belong to the above type, the prompt is not supported, and the process ends.
步驟 507 根据每个属性类型选择对应的数据验证规则。  Step 507 Select the corresponding data validation rule according to each attribute type.
步驟 508 将实际模型属性的属性描述与属性对应控件对应。  Step 508 Corresponds to the attribute description of the actual model attribute and the attribute corresponding control.
步驟 509, 系统将所有控件布局, 生成编辑界面。  In step 509, the system lays out all the controls and generates an editing interface.
用户可以用系统生成的界面对新的设备参数进行维护, 例如, 添加一个设备 类型为 RSU、 型号为名称 /示例型号, 编号 /000001 的设备, 该设备名称为示例设 备 00001, IP为 192.168.0.1, 扩展属性功率 3000, 配置端口 3001, 数据端口 3002, 下载端口 3003, 业务端口 3004。 如图 6所示, 以该设备为例, 查询一个设备的参 数的流程包括:  Users can use the system-generated interface to maintain new device parameters. For example, add a device with the device type RSU, model name/example model, number /000001, the device name is sample device 00001, and the IP address is 192.168.0.1. , Extended attribute power 3000, configuration port 3001, data port 3002, download port 3003, service port 3004. As shown in Figure 6, the process of querying the parameters of a device is as follows:
步驟 601, 选择要查询设备, 例如选择: 示例设备 00001。  Step 601, select the device to be queried, for example, select: sample device 00001.
步樣 602, 调用查询接口。  Step 602, call the query interface.
步驟 603, 系统查询该设备标准模型信息。  Step 603: The system queries the standard model information of the device.
步驟 604, 如果设备存在, 则系统将标准设备模型转化为实际设备模型。 步驟 605, 将设备信息返回给用户。  Step 604, if the device exists, the system converts the standard device model into an actual device model. Step 605: Return device information to the user.
步驟 606, 如果设备不存在, 则提示设备不存在。  Step 606: If the device does not exist, the device is prompted to be absent.
进一步的, 如图 7所示, 步聚 604又可以分为如下步聚:  Further, as shown in FIG. 7, the step 604 can be further divided into the following steps:
步驟 701, 获取标准设备数据模型。  Step 701: Obtain a standard device data model.
步驟 702, 获取设备型号, 示例对应模型为本实施例中关于 RSU的实例中添 加的型号。 步驟 703, 如果型号对应的模型类存在, 则获取该型号设备对应的实际设备模 型实例, 示例中为类 RsuparaAdapter的一个实例。 Step 702: Obtain a device model, and the example corresponding model is a model added in the example of the RSU in this embodiment. Step 703: If the model class corresponding to the model exists, obtain an instance of the actual device model corresponding to the model device, and an example of the class RsuparaAdapter is used in the example.
步驟 704, 获取该类型对应的扩展属性集合, 示例中为 1 / rsupower / 功率, 2 Step 704, obtaining an extended attribute set corresponding to the type, where is 1 / rsupower / power, 2
I rsuconfigport I S己置端口, 3 / rsudataport I数据端口, 4 / rsudownloadport I 下载端 口, 5 / rsuotherport I 业务端口。 I rsuconfigport I S own port, 3 / rsudataport I data port, 4 / rsudownloadport I download port, 5 / rsuotherport I service port.
步驟 705,获取标准数据模型的扩展属性值,示例中为 field 1/3000, field2/3001, field3/3002, field4/3003 , field5/3004。  Step 705, obtaining extended attribute values of the standard data model, in the examples, field 1/3000, field2/3001, field3/3002, field4/3003, field5/3004.
步驟 706, 找出实际设备模型的每个扩展属性在标准模型中的对应属性 1 I rsupower I field 1, 2 I rsuconfigport I field2,3 I rsudataport field3,4 I rsudownloadport field4, 15 I rsuotherport I field5。  Step 706: Find the corresponding attribute of each extended attribute of the actual device model in the standard model. 1 I rsupower I field 1, 2 I rsuconfigport I field2, 3 I rsudataport field3, 4 I rsudownloadport field4, 15 I rsuotherport I field5.
步驟 707, 将标准属性进行类型转换。  Step 707, performing type conversion on the standard attribute.
步驟 708, 将转换后的属性值赋给实际模型的对应属性。  Step 708: Assign the converted attribute value to the corresponding attribute of the actual model.
步驟 709, 如果型号对应的模型类不存在, 则报告错误。  Step 709: If the model class corresponding to the model does not exist, an error is reported.
进一步的, 如图 8所示, 步聚 707又可以分为如下步聚:  Further, as shown in FIG. 8, the step 707 can be further divided into the following steps:
步驟 801, 判断实际属性类型。  Step 801, determining the actual attribute type.
步驟 802, 如果属性类型为数字, 调用 parse方法转换。  Step 802, if the attribute type is a number, call the parse method to convert.
步驟 803, 如果属性类型为布尔类型, 调用 parse方法转换。  Step 803, if the attribute type is a boolean type, call the parse method to convert.
步驟 804,如果属性类型为日期类型,调用 Calendar的方法产生日期类型的实 例。  Step 804, if the attribute type is a date type, the method of calling Calendar generates an instance of the date type.
步驟 805, 如果属性类型为字符串, 则不转换。  Step 805, if the attribute type is a string, no conversion is performed.
步驟 806, 返回转换后的属性对象。  Step 806, returning the converted attribute object.
本实施例在设备型号频繁变化的集成过程中, 对降低二次开发的难度及其整 个系统的统一性都有明显的作用, 所有的对外查询接口, 返回类型都是抽象设备 类, 实际返回的是经过转换的实际类型, 调用者只需在获取数据后按约定强转为 所需要的类型即可。 增加新型设备, 接口不需要做任何的变动。 示例中接口返回 类型为抽象设备模型, 实际返回的是 RsuparaAdatper。  In the integration process in which the device model frequently changes, the embodiment has obvious effects on reducing the difficulty of secondary development and the uniformity of the entire system. All the external query interfaces, the return type are abstract device classes, and the actual return It is the actual type that is converted. The caller only needs to change the required type to the required type after obtaining the data. Add new equipment, the interface does not need to be changed. In the example, the interface return type is an abstract device model, and the actual return is RsuparaAdatper.
实施例四  Embodiment 4
本发明实施例还提供了一种射频识别 RFID系统,该系统用于实现实施例一至 三中的方法。  Embodiments of the present invention also provide a radio frequency identification (RFID) system for implementing the methods of Embodiments 1 through 3.
图 9是才艮据本发明实施例的射频识别 RFID系统的结构框图, 如图 9所示, 该 系统包括: 第一获取模块 92, 设置为获取设备的型号信息; 第二获取模块 94, 耦 合至第一获取模块 92, 设置为从预先存储的型号与实际模型类的对应关系中获取 与设备的型号信息对应的实际模型类; 存储模块 96, 耦合至第二获取模块 94, 设 置为根据设备对应的实际模型类, 存储用户输入的设备的设备参数; 生成模块 98, 耦合至存储模块 96, 设置为在需要对设备的设备参数进行管理时, 根据存储的设 备的设备参数, 生成设备的实际模型。 优选地, 该系统还包括: 第一接收模块, 设置为接收用户输入的设备的型号 信息; 第二接收模块, 设置为接收用户输入的型号信息和实际模型类的对应关系; 保存模块, 设置为将对应关系保存在数据库中。 FIG. 9 is a structural block diagram of a radio frequency identification (RFID) system according to an embodiment of the present invention. As shown in FIG. 9, the system includes: a first acquisition module 92, configured to acquire model information of the device; and a second acquisition module 94 coupled The first obtaining module 92 is configured to obtain an actual model class corresponding to the model information of the device from a correspondence between the pre-stored model and the actual model class; the storage module 96 is coupled to the second acquiring module 94, and is configured to be configured according to the device. Corresponding actual model class, storing device parameters of the device input by the user; generating module 98, coupled to the storage module 96, configured to generate the actual device according to the device parameter of the stored device when the device parameter of the device needs to be managed model. Preferably, the system further includes: a first receiving module configured to receive model information of the device input by the user; and a second receiving module configured to receive a correspondence between the model information input by the user and the actual model class; the saving module is set to Save the correspondence in the database.
优选地, 第二接收模块包括: 第一获取子模块, 设置为获取未使用的实际模 型类型; 显示子模块, 设置为对未使用的实际模型类型的属性进行编号, 并显示 给用户; 删除子模块, 设置为接收来自用户的指令, 删除未使用的实际模型类型 的属性中不需要的属性, 并将剩余的属性与型号信息进行对应。  Preferably, the second receiving module comprises: a first obtaining submodule configured to acquire an unused actual model type; a display submodule configured to number the attributes of the unused actual model type and display to the user; The module, set to receive instructions from the user, deletes the unneeded attributes of the attributes of the unused actual model type, and maps the remaining attributes to the model information.
优选地, 第一获取子模块包括: 第一查询单元, 设置为查询所有设备抽象类 的子类; 第一提示单元, 设置为提示用户选择所有设备抽象类的子类中所有已经 配置过的模型类; 删除单元, 设置为删除所有设备抽象类的子类中的已经配置过 的模型类的子类。  Preferably, the first obtaining submodule comprises: a first query unit, configured to query subclasses of all device abstract classes; a first prompting unit, configured to prompt the user to select all configured models in a subclass of all device abstract classes Class; removes a unit that is set to remove subclasses of the already configured model classes from subclasses of all device abstract classes.
优选地, 存储模块 96包括: 生成子模块, 设置为生成设备对应的实际模型类 的设备维护界面; 存储子模块, 设置为存储用户在设备维护界面上输入的设备的 设备参数。  Preferably, the storage module 96 includes: a generating submodule, configured to generate a device maintenance interface of the actual model class corresponding to the device; and a storage submodule configured to store device parameters of the device input by the user on the device maintenance interface.
优选地, 生成子模块包括: 获取单元, 设置为使用反射机制获得实际模型类 中各个属性类型; 第一生成单元, 设置为根据各个属性类型生成设备对应的实际 模型类的编辑控件; 第二生成单元, 设置为调用设备参数维护界面模板, 将所有 控件进行布局, 生成设备维护界面。  Preferably, the generating submodule comprises: an obtaining unit, configured to obtain each attribute type in the actual model class by using a reflection mechanism; the first generating unit is configured to generate an editing control of the actual model class corresponding to the device according to each attribute type; The unit is set to call the device parameter maintenance interface template, and all the controls are laid out to generate a device maintenance interface.
优选地, 第一生成单元设置为在属性类型是数字类型或字符串类型属性时, 生成文本编辑框; 在属性类型是布尔类型属性时, 生成单选编辑框; 在属性类型 是日期类型属性时, 生成日期编辑框。  Preferably, the first generating unit is configured to generate a text edit box when the attribute type is a numeric type or a string type attribute; when the attribute type is a Boolean type attribute, generate a radio edit box; when the attribute type is a date type attribute , generate a date edit box.
优选地, RFID系统设置为根据用户的操作, 增加新的设备的参数信息; RFID 系统设置为根据用户的操作, 修改设备的参数信息; RFID系统设置为根据用户的 操作, 查询设备的参数信息; RFID系统设置为根据用户的操作, 删除设备的参数 信息。  Preferably, the RFID system is configured to add parameter information of the new device according to the operation of the user; the RFID system is configured to modify parameter information of the device according to the operation of the user; and the RFID system is configured to query parameter information of the device according to the operation of the user; The RFID system is configured to delete parameter information of the device according to the operation of the user.
优选地, 该系统包括: 提示模块, 设置为提示用户选择设备的型号; 显示模 块, 设置为根据型号显示型号对应的实际模型类的设备维护界面; 第一存储模块, 设置为接收用户在设备维护界面上填写的设备参数信息, 并将参数信息存储到数 据库中。  Preferably, the system comprises: a prompting module, configured to prompt the user to select a model of the device; a display module, configured to display a device maintenance interface of the actual model class corresponding to the model according to the model; the first storage module, configured to receive the user in the device maintenance Device parameter information filled in the interface, and the parameter information is stored in the database.
优选地, 该系统包括: 确定模块, 设置为根据用户的操作确定要查询的设备; 第三获取模块, 设置为获取要查询的设备的参数信息, 并根据要查询的设备的型 号信息获取要查询的设备对应的实际模型类; 返回模块, 设置为根据要查询的设 备对应的实际模型类, 将要查询的设备的参数信息转换成要查询的设备的实际模 型, 并将实际模型对象返回给用户。  Preferably, the system includes: a determining module, configured to determine a device to be queried according to a user operation; a third obtaining module, configured to obtain parameter information of the device to be queried, and obtain a query according to the model information of the device to be queried The actual model class corresponding to the device; the return module is set to convert the parameter information of the device to be queried into the actual model of the device to be queried according to the actual model class corresponding to the device to be queried, and return the actual model object to the user.
优选地, 返回模块包括: 创建子模块, 设置为创建实际模型的实例; 第二获 取子模块, 设置为获取存储的要查询的设备的参数信息的属性; 转换子模块, 设 置为将要查询的设备的参数信息的属性转换成实际模型中对应属性的类型; 赋值 子模块, 设置为将转换后的属性值赋给实际模型的实例的对应属性; 返回子模块, 设置为返回实际模型的实例。 Preferably, the returning module includes: creating a sub-module, which is set to create an instance of the actual model; and a second acquiring sub-module, configured to obtain the attribute of the stored parameter information of the device to be queried; the conversion sub-module, being set as the device to be queried The attribute of the parameter information is converted into the type of the corresponding attribute in the actual model; The submodule is set to assign the converted property value to the corresponding property of the instance of the actual model; return the submodule, set to return an instance of the actual model.
优选地, 转换子模块设置为在属性类型为数字类型时, 调用数字类型的帕斯 parse方法将对应的标准模型的属性转换成实际模型中对应属性的类型; 在属性类 型为布尔类型时, 调用布尔类型的 parse方法将对应的标准模型的属性转换成实际 模型中对应属性的类型; 在属性类型为日期类型时, 调用日历 Calendar的方法将 对应的标准模型的属性转换成实际模型中对应属性的类型。  Preferably, the conversion submodule is set to call the numeric type Pas parse method to convert the attribute of the corresponding standard model into the type of the corresponding attribute in the actual model when the attribute type is a numeric type; when the attribute type is a Boolean type, the call is performed. The bossel type parse method converts the attributes of the corresponding standard model into the types of corresponding attributes in the actual model. When the attribute type is date type, the calendar method of calling the calendar is used to convert the attributes of the corresponding standard model into corresponding attributes in the actual model. Types of.
优选地, 赋值子模块包括: 第一获取单元, 设置为获取对应属性的赋值方法 名; 第二获取单元, 设置为才艮据方法名获取对应属性的赋值方法; 赋值单元, 设 置为将转换后的属性值作为方法参数执行赋值方法。  Preferably, the assignment sub-module comprises: a first acquisition unit, configured to obtain an assignment method name of the corresponding attribute; a second acquisition unit, configured to obtain an assignment method of the corresponding attribute according to the method name; the assignment unit is set to be converted The attribute value is used as the method parameter to perform the assignment method.
优选地, 设备的设备参数的个数不超过预定门限。  Preferably, the number of device parameters of the device does not exceed a predetermined threshold.
优选地, 设备的设备参数的类型为筒单类型。  Preferably, the type of device parameter of the device is a single type.
综上所述, 本发明实施例中, 系统存储设备的型号与实际模型类的对应关系, 根据该对应关系存储设备的设备参数, 从而在需要的时候生成实际模型, 进而达 到了筒化 RFID系统管理设备的过程的效果。  In summary, in the embodiment of the present invention, the correspondence between the model of the system storage device and the actual model class, according to the device parameters of the corresponding relationship storage device, thereby generating an actual model when needed, thereby achieving a tubular RFID system. The effect of the process of managing the device.
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步驟可以用 通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计 算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可 以以不同于此处的顺序执行所示出或描述的步驟, 或者将它们分别制作成各个集 成电路模块, 或者将它们中的多个模块或步驟制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件结合。  Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 一种射频识别 RFID系统的设备参数管理方法, 包括: Claims A method for managing device parameters of a radio frequency identification RFID system, including:
RFID系统获取设备的型号信息;  The RFID system acquires model information of the device;
所述 RFID 系统从预先存储的型号与实际模型类的对应关系中获取 与所述设备的型号信息对应的实际模型类;  Obtaining, by the RFID system, an actual model class corresponding to model information of the device from a correspondence between a pre-stored model and an actual model class;
所述 RFID 系统根据所述设备对应的所述实际模型类, 存储用户输 入的所述设备的设备参数;  The RFID system stores device parameters of the device input by the user according to the actual model class corresponding to the device;
在需要对所述设备的设备参数进行管理时, 所述 RFID 系统根据存 储的所述设备的设备参数, 生成所述设备的实际模型。 根据权利要求 1所述的方法, 其中, 在所述 RFID 系统从预先存储的型 号与实际模型类的对应关系中获取与所述设备的型号对应的实际模型类 之前, 所述方法还包括:  When the device parameters of the device need to be managed, the RFID system generates an actual model of the device according to the stored device parameters of the device. The method according to claim 1, wherein before the obtaining, by the RFID system, the actual model class corresponding to the model of the device from the correspondence between the pre-stored model and the actual model class, the method further includes:
所述 RFID系统接收用户输入的所述设备的型号信息;  The RFID system receives model information of the device input by a user;
所述 RFID 系统接收用户输入的所述型号信息和所述实际模型类的 所述对应关系;  Receiving, by the RFID system, the model information input by a user and the corresponding relationship of the actual model class;
所述 RFID系统将所述对应关系保存在数据库中。 根据权利要求 2所述的方法, 其中, 所述 RFID 系统接收所述用户输入 的所述型号信息和所述实际模型类的对应关系包括:  The RFID system saves the correspondence in a database. The method according to claim 2, wherein the receiving, by the RFID system, the correspondence between the model information input by the user and the actual model class comprises:
所述 RFID系统获取未使用的实际模型类型;  The RFID system acquires an actual model type that is not used;
所述 RFID 系统对所述未使用的实际模型类型的属性进行编号, 并 显示给用户;  The RFID system numbers the attributes of the unused actual model types and displays them to the user;
所述 RFID 系统接收来自用户的指令, 删除所述未使用的实际模型 类型的属性中不需要的属性,并将剩余的属性与所述型号信息进行对应。 根据权利要求 3所述的方法, 其中, 所述 RFID 系统获取未使用的实际 模型类型包括:  The RFID system receives an instruction from a user, deletes an attribute that is not required in the attribute of the unused actual model type, and associates the remaining attribute with the model information. The method according to claim 3, wherein the actual model type of the RFID system that is not used includes:
所述 RFID系统查询所有设备抽象类的子类; 所述 RFID 系统提示用户选择所有设备抽象类的子类中所有已经配 置过的模型类; The RFID system queries subclasses of all device abstract classes; The RFID system prompts the user to select all of the model classes that have been configured in the subclasses of all device abstract classes;
所述 RFID 系统删除所有设备抽象类的子类中的所述已经配置过的 模型类的子类。  The RFID system deletes subclasses of the already configured model classes in subclasses of all device abstract classes.
5. 根据权利要求 1所述的方法, 其中, 所述 RFID 系统根据所述设备对应 的所述实际模型类, 存储用户输入的所述设备的设备参数包括: The method according to claim 1, wherein the RFID system stores the device parameters of the device input by the user according to the actual model class corresponding to the device, including:
所述 RFID系统生成所述设备对应的实际模型类的设备维护界面; 所述 RFID 系统存储用户在所述设备维护界面上输入的所述设备的 设备参数。  The RFID system generates a device maintenance interface of an actual model class corresponding to the device; the RFID system stores device parameters of the device input by the user on the device maintenance interface.
6. 根据权利要求 5所述的方法, 其中, 所述 RFID 系统生成所述设备对应 的实际模型类的设备维护界面包括: The method according to claim 5, wherein the device maintenance interface of the actual model class corresponding to the RFID system generated by the RFID system comprises:
所述 RFID系统使用反射机制获得所述实际模型类中各个属性类型; 所述 RFID 系统 居所述各个属性类型生成所述设备对应的实际模 型类的编辑控件;  The RFID system uses a reflection mechanism to obtain each attribute type in the actual model class; the RFID system generates an edit control of the actual model class corresponding to the device in each of the attribute types;
所述 RFID系统调用设备参数维护界面模板, 将所有控件进行布局, 生成所述设备维护界面。  The RFID system invokes a device parameter maintenance interface template, and all the controls are laid out to generate the device maintenance interface.
7. 根据权利要求 6所述的方法, 其中, 所述 RFID 系统根据所述各个属性 类型生成所述设备对应的实际模型类的编辑控件包括: The method according to claim 6, wherein the RFID system generates an edit control of the actual model class corresponding to the device according to the respective attribute types, including:
如果属性类型是数字类型或字符串类型属性, 则所述 RFID 系统生 成文本编辑框;  If the attribute type is a numeric type or a string type attribute, the RFID system generates a text edit box;
如果属性类型是布尔类型属性, 则所述 RFID系统生成单选编辑框; 如果属性类型是日期类型属性, 则所述 RFID系统生成日期编辑框。  If the attribute type is a Boolean type attribute, the RFID system generates a radio edit box; if the attribute type is a date type attribute, the RFID system generates a date edit box.
8. 根据权利要求 1所述的方法, 其中, 在所述 RFID 系统根据所述设备对 应的所述实际模型类, 存储所述设备的设备参数之后, 所述方法包括以 下至少之一: 8. The method according to claim 1, wherein after the RFID system stores the device parameters of the device according to the actual model class corresponding to the device, the method includes at least one of the following:
所述 RFID系统根据用户的操作, 增加新的设备的参数信息; 所述 RFID系统根据所述用户的操作, 修改设备的参数信息; 所述 RFID系统根据所述用户的操作, 查询设备的参数信息; 所述 RFID系统根据所述用户的操作, 删除设备的参数信息。 The RFID system adds parameter information of the new device according to the operation of the user; the RFID system modifies parameter information of the device according to the operation of the user; the RFID system queries parameter information of the device according to the operation of the user ; The RFID system deletes parameter information of the device according to the operation of the user.
9. 根据权利要求 8所述的方法, 其中, 所述 RFID 系统根据用户的操作, 增加新的设备的参数信息包括: The method according to claim 8, wherein the adding, by the RFID system, the parameter information of the new device according to the operation of the user includes:
所述 RFID系统提示所述用户选择设备的型号;  The RFID system prompts the user to select a model of the device;
所述 RFID 系统 居所述型号显示所述型号对应的实际模型类的设 备维护界面; 所述 RFID 系统接收用户在所述设备维护界面上填写的设备参数信 息, 并将参数信息存储到数据库中。  The RFID system displays the device maintenance interface of the actual model class corresponding to the model; the RFID system receives the device parameter information filled in by the user on the device maintenance interface, and stores the parameter information in a database.
10. 根据权利要求 8所述的方法, 其中, 所述 RFID 系统根据所述用户的操 作, 查询设备的参数信息包括: 10. The method according to claim 8, wherein the RFID system queries the parameter information of the device according to the operation of the user, including:
所述 RFID系统才艮据所述用户的操作确定要查询的设备; 所述 RFID 系统获取所述要查询的设备的参数信息, 并根据所述要 查询的设备的型号信息获取所述要查询的设备对应的实际模型类; 所述 RFID 系统根据所述要查询的设备对应的实际模型类, 将所述 要查询的设备的参数信息转换成所述要查询的设备的实际模型, 并将实 际模型对象返回给所述用户。  The RFID system determines the device to be queried according to the operation of the user; the RFID system acquires parameter information of the device to be queried, and obtains the query to be queried according to the model information of the device to be queried. The actual model class corresponding to the device; the RFID system converts the parameter information of the device to be queried into the actual model of the device to be queried according to the actual model class corresponding to the device to be queried, and the actual model The object is returned to the user.
11. 根据权利要求 10所述的方法, 其中, 所述 RFID系统将将所述要查询的 设备的参数信息转换成所述要查询的设备的实际模型包括: The method according to claim 10, wherein the RFID system converts parameter information of the device to be queried into an actual model of the device to be queried, including:
所述 RFID系统创建所述实际模型的实例;  The RFID system creates an instance of the actual model;
所述 RFID系统获取存储的所述要查询的设备的参数信息的属性; 所述 RFID 系统将所述要查询的设备的参数信息的属性转换成所述 实际模型中对应属性的类型;  The RFID system acquires an attribute of the stored parameter information of the device to be queried; the RFID system converts an attribute of the parameter information of the device to be queried into a type of a corresponding attribute in the actual model;
所述 RFID 系统将转换后的属性值赋给所述实际模型的实例的对应 属性;  The RFID system assigns the converted attribute value to a corresponding attribute of an instance of the actual model;
所述 RFID系统返回所述实际模型的实例。  The RFID system returns an instance of the actual model.
12. 根据权利要求 11所述的方法, 其中, 所述 RFID系统将所述要查询的设 备的参数信息的属性转换成所述实际模型中对应属性的类型包括: 如果属性类型为数字类型, 则所述 RFID 系统调用数字类型的帕斯 parse 方法将所述对应的标准模型的属性转换成所述实际模型中对应属 '1 "生的类型; The method according to claim 11, wherein the RFID system converts an attribute of parameter information of the device to be queried into a type of a corresponding attribute in the actual model, including: If the attribute type is a numeric type, the RFID system calls a Paspar method of the numeric type to convert the attribute of the corresponding standard model into a corresponding type of the corresponding model in the actual model;
如果属性类型为布尔类型, 则所述 RFID系统调用布尔类型的 parse 方法将所述对应的标准模型的属性转换成所述实际模型中对应属性的类 型;  If the attribute type is a Boolean type, the RFID system calls a parse method of a Boolean type to convert the attribute of the corresponding standard model into a type of the corresponding attribute in the actual model;
如果属性类型为日期类型, 则所述 RFID系统调用日历 Calendar的 方法将所述对应的标准模型的属性转换成所述实际模型中对应属性的类 型。  If the attribute type is a date type, the method of calling the calendar Calendar by the RFID system converts the attributes of the corresponding standard model into the types of corresponding attributes in the actual model.
13. 根据权利要求 11所述的方法, 其中, 所述 RFID系统将转换后的属性值 赋给所述实际模型的实例的对应属性包括: 13. The method according to claim 11, wherein the RFID system assigns the converted attribute value to the corresponding attribute of the instance of the actual model, including:
所述 RFID系统获取所述对应属性的赋值方法名;  The RFID system acquires an assignment method name of the corresponding attribute;
所述 RFID系统才艮据方法名获取所述对应属性的赋值方法; 所述 RFID 系统将所述转换后的属性值作为方法参数执行所述赋值 方法。  The RFID system acquires the assignment method of the corresponding attribute according to the method name; the RFID system executes the assignment method by using the converted attribute value as a method parameter.
14. 根据权利要求 1-13中任一项所述的方法, 其中, 所述设备的设备参数的 个数不超过预定门限。 The method according to any one of claims 1 to 13, wherein the number of device parameters of the device does not exceed a predetermined threshold.
15. 根据权利要求 1-13中任一项所述的方法, 其中, 所述设备的设备参数的 类型为简单类型。 The method according to any one of claims 1 to 13, wherein the type of the device parameter of the device is a simple type.
16. —种射频识别 RFID系统, 包括: 16. A radio frequency identification RFID system, including:
第一获取模块, 设置为获取设备的型号信息;  a first obtaining module, configured to acquire model information of the device;
第二获取模块, 设置为从预先存储的型号与实际模型类的对应关系 中获取与所述设备的型号信息对应的实际模型类;  a second acquiring module, configured to obtain an actual model class corresponding to the model information of the device from a correspondence between the pre-stored model and the actual model class;
存储模块, 设置为根据所述设备对应的所述实际模型类, 存储用户 输入的所述设备的设备参数;  a storage module, configured to store, according to the actual model class corresponding to the device, a device parameter of the device input by a user;
生成模块, 设置为在需要对所述设备的设备参数进行管理时, 根据 存储的所述设备的设备参数, 生成所述设备的实际模型。  And generating a module, configured to generate an actual model of the device according to the stored device parameter of the device when the device parameter of the device needs to be managed.
PCT/CN2011/074176 2010-12-21 2011-05-17 Method for managing device parameters of radio frequency identification (rfid) system and rfid system WO2012083631A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010105991252A CN102063655A (en) 2010-12-21 2010-12-21 RFID (Radio Frequency Identification) system and equipment parameter management method thereof
CN201010599125.2 2010-12-21

Publications (1)

Publication Number Publication Date
WO2012083631A1 true WO2012083631A1 (en) 2012-06-28

Family

ID=43998925

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/074176 WO2012083631A1 (en) 2010-12-21 2011-05-17 Method for managing device parameters of radio frequency identification (rfid) system and rfid system

Country Status (2)

Country Link
CN (1) CN102063655A (en)
WO (1) WO2012083631A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102983999B (en) * 2012-11-22 2016-05-25 安科智慧城市技术(中国)有限公司 Method for parameter configuration, the system of a kind of monitor supervision platform system and device cluster
CN103490941B (en) * 2013-03-07 2016-08-03 中标软件有限公司 A kind of cloud computing environment monitors Configuration Online method in real time
CN105207827B (en) * 2015-10-27 2018-08-14 珠海智城信息技术有限公司 Data communication method, system and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1993701A (en) * 2004-07-27 2007-07-04 英特尔公司 Method and apparatus for accessing information on an external machine-readable tag
CN101364911A (en) * 2007-08-06 2009-02-11 海尔集团公司 Household appliance network system capable of realizing equipment recognization
CN101551867A (en) * 2008-03-31 2009-10-07 北京中食新华科技有限公司 Agricultural product logistics system based on wireless radio frequency label
KR20100083073A (en) * 2009-01-12 2010-07-21 엘지전자 주식회사 Method for delivering location information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ZA200506090B (en) * 2004-09-01 2007-04-25 Microsoft Corp Architecture, programming model and API's
CN101441231B (en) * 2008-09-27 2010-06-23 武汉大学 Harmonic electric energy metering error analytical apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1993701A (en) * 2004-07-27 2007-07-04 英特尔公司 Method and apparatus for accessing information on an external machine-readable tag
CN101364911A (en) * 2007-08-06 2009-02-11 海尔集团公司 Household appliance network system capable of realizing equipment recognization
CN101551867A (en) * 2008-03-31 2009-10-07 北京中食新华科技有限公司 Agricultural product logistics system based on wireless radio frequency label
KR20100083073A (en) * 2009-01-12 2010-07-21 엘지전자 주식회사 Method for delivering location information

Also Published As

Publication number Publication date
CN102063655A (en) 2011-05-18

Similar Documents

Publication Publication Date Title
US7194485B2 (en) Mapping XML schema components to qualified java components
CN109951315B (en) Method and system for mapping YANG model to internal model
CN109062952B (en) Data query method and device and electronic equipment
CN100484039C (en) Network management apparatus and network management method
CN107743072B (en) Efficient and extensible network simulation scene generation method
US9697530B2 (en) Service design and order fulfillment system with service order calculation provider function
US8347214B2 (en) Automated interface-specification generation for enterprise architectures
US20070130192A1 (en) Method and system for configuring network devices through an operations support system interface
US10635408B2 (en) Method and apparatus for enabling agile development of services in cloud computing and traditional environments
KR20120045586A (en) Apparatus and method for setting saas(software as a service) applications for multi-tenant
CN109815242B (en) Data processing method and system
CN108984567A (en) A kind of Service Data Management system and method
US7483901B1 (en) System and method for data transfer between two or more connected software services
US20050192929A1 (en) Generation and conversion of object that provide for efficient object modification
CN114254606A (en) Microservice framework model
WO2012083631A1 (en) Method for managing device parameters of radio frequency identification (rfid) system and rfid system
CN102316128A (en) A kind ofly be used to generate network service method and device
CN111198678A (en) Method and device for generating GraphQL front-end operation interface
WO2019001565A1 (en) Method and apparatus for implementing white-box otn hardware device, and storage medium
CN108459842A (en) A kind of model configuration method, device and electronic equipment
WO2023029881A1 (en) Device control method and apparatus
WO2017000678A1 (en) Packet communication method and system between network management systems
CN101685395A (en) Object property processing method of product data management system
CN116414386A (en) Plug-in development system and method based on VUE
CN101145959A (en) A method and system for automatic realization of network management function

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11851302

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11851302

Country of ref document: EP

Kind code of ref document: A1