CN103092608B - The generation of the client of collecting device information and operation method, server and equipment - Google Patents

The generation of the client of collecting device information and operation method, server and equipment Download PDF

Info

Publication number
CN103092608B
CN103092608B CN201210581403.0A CN201210581403A CN103092608B CN 103092608 B CN103092608 B CN 103092608B CN 201210581403 A CN201210581403 A CN 201210581403A CN 103092608 B CN103092608 B CN 103092608B
Authority
CN
China
Prior art keywords
configuration file
client
control
client configuration
facility information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210581403.0A
Other languages
Chinese (zh)
Other versions
CN103092608A (en
Inventor
乐友平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Jay communications planning and Design Institute Co., Ltd.
Original Assignee
GCI Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GCI Science and Technology Co Ltd filed Critical GCI Science and Technology Co Ltd
Priority to CN201210581403.0A priority Critical patent/CN103092608B/en
Publication of CN103092608A publication Critical patent/CN103092608A/en
Application granted granted Critical
Publication of CN103092608B publication Critical patent/CN103092608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to equipment information collection correlative technology field, particularly relate to generation and operation method, server and the equipment of the client of collecting device information, wherein said method comprises: obtain at least one facility information mark, and identify corresponding collection event code to described facility information; In response to the operation of editor's client configuration file, generate client configuration file; In response to download client configuration file request, client configuration file is sent to terminal.The generation method of the client of above-mentioned collecting device information, server and equipment.Due to uniform format, no matter be therefore gather which kind of facility information, only need to arrange corresponding collection event code and database manipulation code in a database, then can complete the client exploitation in terminal.And the user of exploitation client is without the need to understanding very complicated programming technique, also can be met the client of the collecting device information of its actual needs.

Description

The generation of the client of collecting device information and operation method, server and equipment
Technical field
The present invention relates to equipment information collection correlative technology field, particularly relate to generation and operation method, server and the equipment of the client of collecting device information.
Background technology
Existing field of mobile terminals, needs to carry out data acquisition to various base station, antenna etc., obtains the facility information of each equipment.
Along with the development of 3G network and smart mobile phone performance improve constantly, mobile phone terminal has become one of equipment information collection instrument important in every profession and trade application.Various information management platform, all by carrying out mobile exploitation to original system, generates the client of new collecting device information, to reach Anywhere, can carry out Collecting operation any time.But the client of collecting device information generally adopts the pattern of customized development at present, therefore all need to re-start coding exploitation for an infosystem, bring very high R&D costs and maintenance cost to project cost.Such as, data acquisition is carried out to a base station, need to develop a set of collection client, when having changed a base station, if the data gathered are different, then need again to develop a set of collection client, or just carry out data acquisition for antenna, then develop the collection client of a set of collection antenna again specially.The project cycle of this customized development is long simultaneously, and the demand response time is slow, and extending space is little, is all unfavorable for the mobile construction of infosystem.In addition, because its computing power of mobile terminal is more weak, also cannot directly develop on mobile terminals.
Summary of the invention
Based on this, be necessary that the exploitation of the client of the collecting device information existed for prior art is complicated, can not code be reused and the technical matters of construction cycle length, a kind of generation and operation method, server and equipment of client of collecting device information are provided.
A generation method for the client of collecting device information, comprising:
Obtain at least one facility information mark, and identify corresponding collection event code to described facility information, described collection event code is used for client collecting device information;
In response to the operation of editor's client configuration file, generate client configuration file, described client configuration file comprises the display properties of at least one control, facility information mark and collection event code, and in response to the operation that association control and facility information identify, the incidence relation that described control and described facility information identify is preserved at client configuration file, and in response to associating the operation of control and collection event code, the incidence relation of described control and described collection event code is preserved at client configuration file, described client configuration file is used for generating in terminal the client comprising at least one control.
Wherein in an embodiment, also comprise, after generating client configuration file, in response to download client configuration file request, client configuration file is sent to terminal.
Wherein in an embodiment, also comprise:
Obtain and identify corresponding database manipulation code to facility information, described database manipulation code is used for client and operates described facility information performing database;
Described client configuration file also comprises database manipulation code, and in response to associating the operation of control and database manipulation code, preserves the incidence relation of described control and described database manipulation code at client configuration file.
Wherein in an embodiment, described generation client configuration file, specifically comprises:
Generate the device configuration file corresponding with at least one equipment of required collecting device information;
If the equipment of required collecting device information is multiple, then according to the hierarchical relationship of described multiple equipment, the incidence relation of multiple device configuration file is set, generates the client configuration file comprising multiple device configuration file;
If the equipment of required collecting device information is one, then described device configuration file is client configuration file.
Wherein in an embodiment:
Described client configuration file also includes the terminal iidentification corresponding with described terminal, described in response to download client configuration file request, client configuration file is sent to terminal and specifically comprises:
In response to download client configuration file request, client configuration file is sent to the terminal corresponding with described terminal iidentification.
For generating a server for the client of collecting device information, comprising:
Database acquisition module, for obtaining at least one facility information mark, and identify corresponding collection event code to described facility information, described collection event code is used for client collecting device information;
Client configuration file generation module, for the operation in response to editor's client configuration file, generate client configuration file, described client configuration file comprises the display properties of at least one control, facility information mark and collection event code, and in response to the operation that association control and facility information identify, the incidence relation that described control and described facility information identify is preserved at client configuration file, and in response to associating the operation of control and collection event code, the incidence relation of described control and described collection event code is preserved at client configuration file, described client configuration file is used for generating in terminal the client comprising control described at least one.
Wherein in an embodiment, also comprise:
Client configuration file sending module, in response to download client configuration file request, is sent to terminal by client configuration file.
Wherein in an embodiment:
Database acquisition module, also identifies corresponding database manipulation code for obtaining to facility information, and described database manipulation code is used for client and operates described facility information performing database;
Client configuration file generation module, also for generating the client configuration file comprising database manipulation code, and in response to associating the operation of control and database manipulation code, preserve the incidence relation of described control and described database manipulation code at client configuration file.
Wherein in an embodiment, client configuration file generation module also comprises:
Device configuration file generation module, for generating the device configuration file corresponding with at least one equipment of required collecting device information;
Device configuration file relating module, if the equipment for required collecting device information is multiple, then according to the hierarchical relationship of described multiple equipment, the incidence relation of multiple device configuration file is set, generates the client configuration file comprising multiple device configuration file; If the equipment of required collecting device information is one, then described device configuration file is client configuration file.
Wherein in an embodiment:
Described client configuration file also includes the terminal iidentification corresponding with described terminal;
Client configuration file sending module, in response to download client configuration file request, sends to the terminal corresponding with described terminal iidentification by client configuration file.
A kind of operation method of client of collecting device information:
Download client configuration file request is sent to server;
Client configuration file is obtained from server, described client configuration file comprise at least one control display properties, facility information mark and collection event code, and described client configuration file identifies the incidence relation that described control and described facility information identify, and the incidence relation of described control and described collection event code;
According to client configuration file, generate the client comprising control described at least one, control is identified with the facility information with incidence relation and binds, and control and the collection event code with incidence relation are bound;
In response to the operation to control, identify according to the facility information with described control bundle, determine the facility information that will gather, perform the collection event code with described control bundle, gather the facility information that will gather.
Wherein in an embodiment:
Described client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code;
Described according to client configuration file, generate the client comprising control described at least one, also comprise and control and the database manipulation code with incidence relation are bound;
In response to the operation to control, according to the database manipulation code with described control bundle, the facility information performing database corresponding to identifying the facility information with described control bundle operates.
Wherein in an embodiment, describedly specifically to comprise to server request download client configuration file:
Send the download client configuration file request including terminal iidentification to server, described terminal iidentification runs the terminal of described client for identifying.
For running a terminal for the client of collecting device information, comprising:
Client configuration file request sending module, for sending download client configuration file request to server;
Client configuration file acquisition module, for obtaining client configuration file from server, described client configuration file comprise at least one control display properties, facility information mark and collection event code, and described client configuration file identifies the incidence relation that described control and described facility information identify, and the incidence relation of described control and described collection event code;
Client generation module, for according to client configuration file, generates the client comprising control described at least one, is identified by control and binds, and control and the collection event code with incidence relation are bound with the facility information with incidence relation;
Client end response module, in response to the operation to control, identifies according to the facility information with described control bundle, determines the facility information that will gather, and performs the collection event code with described control bundle, gathers the facility information that will gather.
Wherein in an embodiment:
Described client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code;
Described client generation module, also comprises and control and the database manipulation code with incidence relation being bound;
Described client end response module, also in response to the operation to control, according to the database manipulation code with described control bundle, the facility information performing database corresponding to identifying the facility information with described control bundle operates.
Wherein in an embodiment, described client configuration file request sending module specifically comprises:
Send the download client configuration file request including terminal iidentification to server, described terminal iidentification runs the terminal of described client for identifying.
A generation method for the client of collecting device information, comprising:
Server obtains at least one facility information mark, and identifies corresponding collection event code to described facility information, and described collection event code is used for client collecting device information;
Server is in response to the operation of editor's client configuration file, generate client configuration file, described client configuration file comprise at least one control display properties, facility information mark and collection event code, and described client configuration file identifies the incidence relation that described control and described facility information identify, and the incidence relation of described control and described collection event code;
Terminal to server sends download client configuration file request;
Client configuration file, in response to download client configuration file request, is sent to terminal by server, and described client configuration file is used for generating in described terminal the client comprising control described at least one;
Terminal obtains client configuration file from server;
Terminal, according to client configuration file, generates the client comprising control described at least one, is identified by control and binds, and control and the collection event code with incidence relation are bound with the facility information with incidence relation;
Terminal response, in the operation to control, identifies according to the facility information with described control bundle, determines the facility information that will gather, and performs the collection event code with described control bundle, gathers the facility information that will gather.
Wherein in an embodiment, also comprise:
Server obtains and identifies corresponding database manipulation code to facility information, and described database manipulation code is used for client and operates described facility information performing database;
Described client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code;
Described terminal, according to client configuration file, generates the client comprising control described at least one, also comprises and control and the database manipulation code with incidence relation being bound;
Described terminal response is in the operation to control, and according to the database manipulation code with described control bundle, the facility information performing database corresponding to identifying the facility information with described control bundle operates.
The generation method of the client of above-mentioned collecting device information, server and equipment, carry out editor's client configuration file by user on the server to operate, generate the client configuration file of consolidation form, terminal generates the client of collecting device information from download client configuration file server.Due to uniform format, no matter be therefore gather which kind of facility information, only need to arrange corresponding collection event code and database manipulation code in a database, then can complete the client exploitation in terminal.Collection event code and database manipulation code realize generating, therefore can reuse in the exploitation of multiple client, the user of exploitation client, without the need to understanding very complicated programming technique, also can be met the client of the collecting device information of its actual needs.
Accompanying drawing explanation
Fig. 1 is the workflow diagram of the generation method of the client of a kind of collecting device information of the present invention;
Fig. 2 is the workflow diagram of a generation method example on the server of the client of a kind of collecting device information of the present invention;
Fig. 3 is the function structure chart of the server of a kind of client for generating collecting device information of the present invention;
Fig. 4 is the workflow diagram generating the operation method of the client of collecting device information in terminal of the present invention;
Fig. 5 is the function structure chart of the terminal of a kind of client for running collecting device information of the present invention;
Fig. 6 is the synthetic operation process flow diagram of the generation method of the client of a kind of collecting device information of the present invention
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention will be further described in detail.
Be illustrated in figure 1 the workflow diagram of the generation method of the client of a kind of collecting device information of the present invention, comprise:
Step S101, obtain at least one facility information mark, and identify corresponding collection event code to described facility information, described collection event code is used for client collecting device information;
Step S102, in response to the operation of editor's client configuration file, generate client configuration file, described client configuration file comprises the display properties of at least one control, facility information mark and collection event code, and in response to the operation that association control and facility information identify, the incidence relation that described control and described facility information identify is preserved at client configuration file, and in response to associating the operation of control and collection event code, the incidence relation of described control and described collection event code is preserved at client configuration file, described client configuration file is used for generating in described terminal the client comprising at least one control.
Wherein, the present embodiment is in step S101, in step S101, a server can be adopted specially to preserve facility information mark, and identify corresponding collection event code to described facility information, when needs, obtain from server, but also can be that facility information mark etc. is kept in terminal, obtain from terminal.Those of ordinary skill in the art, after reading this patent, can specifically carry out supplementing and revising.
Facility information mark can be data field in a database, namely in a database, by data field identification device information.Facility information can be the global geographic location at equipment place, the various facility information such as radio-frequency (RF) signal strength, equipment rf frequency used of equipment output.Above are only and understand given example for helping, those of ordinary skill in the art, after reading the present invention, can be applied in other various equipment information collections.
Generate the method for client configuration file, those of ordinary skill in the art, after reading the present invention, can supplement its concrete steps.Such as, the various programming language such as XML, JAVASCRIPT can be adopted to write.
But, gathered facility information is saved on database considering, then needs the operation of gathered facility information performing database, therefore, wherein in an embodiment:
Also comprise obtaining and identify corresponding database manipulation code to facility information, described database manipulation code is used for client and operates described facility information performing database; This step can realize in step S101, also can in step s 102, and when user needs database manipulation code, server obtains again.
Client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code.
Wherein, database manipulation code can be the SQL statement increasing, delete, change, look into, and setting data association external key, major key, connect join relation; Corresponding control can comprise return, increase newly, preserve, delete, inquire about, upload, the function such as download.
Consider that existing equipment includes certain hierarchical relationship.Therefore, wherein in an embodiment, described generation client configuration file, specifically comprises:
Generate the device configuration file corresponding with at least one equipment of required collecting device information;
If the equipment of required collecting device information is multiple, then according to the hierarchical relationship of described multiple equipment, the incidence relation of multiple device configuration file is set, generates the client configuration file comprising multiple device configuration file;
If the equipment of required collecting device information is one, then described device configuration file is client configuration file.
Described hierarchical relationship is the attaching relation between equipment and equipment.Such as base station is an equipment, generates a device configuration file for base station, gathers the various facility informations of base station.Simultaneously, base station also includes antenna and other subsets, then generate device configuration file respectively for base station and other subsets, and generate the client configuration file comprising above-mentioned all device configuration files, for gathering the client of other subsets in base station, antenna and base station.Wherein, the attaching relation of base station and antenna and other subsets is: antenna and other subsets belong to base station.
By generating device configuration file respectively to each equipment and subset thereof, make whole level more clearly demarcated, meanwhile, each device configuration file also can be preserved separately, then can reuse very easily.Such as, the device configuration file of antenna is preserved separately, be then suitable for too on the equipment of antenna at other, just can reuse the device configuration file of antenna.
The generation method of the client of a kind of collecting device information of the present invention, just can generate client configuration file.By the method for client configuration file VAS application-to-terminal service, those of ordinary skill in the art, after reading this patent, can have various application way specifically.Such as terminal can be connected to server by wired or wireless mode to download, or by mobile device from download client configuration file server, then upload to terminal.
Wherein in an embodiment, the generation method of the client of a kind of collecting device information of the present invention also comprises: step S103, in response to download client configuration file request, is sent to terminal by client configuration file.
This embodiment, what namely adopt is that terminal is connected to by wired or wireless mode the mode that server carries out downloading, and which is comparatively simple and convenient.
In step s 103, client configuration file is sent to terminal, those of ordinary skill in the art, after reading the present invention, can supplement its concrete steps.Such as, can all generating a client configuration file to all terminals, when receiving download client configuration file request, then client configuration file being sent to asked terminal.
But, consider the independence improving each terminal, therefore, wherein in an embodiment:
Described client configuration file also includes the terminal iidentification corresponding with described terminal, described in response to download client configuration file request, client configuration file is sent to terminal and specifically comprises:
In response to download client configuration file request, client configuration file is sent to the terminal corresponding with described terminal iidentification.
Above-mentioned terminal iidentification, can be hardware identifier or the software identification of terminal, such as, for mobile phone terminal, it can be the international mobile subscriber identity (InternationalMobileSubscriberIdentificationNumber, IMSI) of mobile phone terminal, or International Mobile Station Equipment Identification (InternationalMobileEquipmentIdentity, IMEI), or even a username and password pair, as long as can be used for identifying this terminal.
As an example:
Be illustrated in figure 2 the workflow diagram of a generation method example on the server of the client of a kind of collecting device information of the present invention, comprise the following steps:
Step S201, the database of server link information management system, obtains database information, and database information comprises multiple facility information mark, and identifies corresponding collection event code and database manipulation code to described facility information;
Step S202, show the interface of newly-built device configuration file on the server, in the present embodiment, that edits client configuration file is operating as visualized operation, user utilizes visualized operation to select the type of device configuration file, create new device configuration file to pseudo-terminal, described pseudo-terminal simulation uses the terminal of client, user pulls required control and carries out interface typesetting to terminal simulation panel, and bind relevant configuration information, and multiple device configuration file is carried out association setting, form the Unified Global with logic.Server responds above-mentioned editing equipment configuration file operation, generates device configuration file.
Wherein, user pulls required control and carries out interface typesetting to terminal simulation panel, then set the display properties of control in described client, namely determine the length of control, height and position.
Wherein, described binding relevant configuration information process comprises: bound control type, binding input mode, binding data storehouse field, binding restriction strategy, bound control and facility information identify, bound control and database manipulation code, bound control and collection event code.The operation of binding relevant configuration information that user performs, namely contains operation that association control identifies with facility information, associates the operation of control and collection event code and the operation associating control and database manipulation code
Wherein, the described type utilizing visualized operation to select device configuration file, create new configuration file can comprise to pseudo-terminal: the template according to inheriting existing device configuration file creates, to the display properties configuring control, and the incidence relation that control and facility information identify, and the template that the incidence relation of control and database manipulation code and collection event code has set is modified, or the template creating blank device configuration file is configured.
Such as, setting interface type comprises: navigation interface, list interface, Tab interface, form interface, mixed interface, user can select different interface types, the module of each interface type corresponding a kind of device configuration file in advance, user increases the control required for it on different interface types, and preserves.
Wherein, multiple device configuration file is carried out association to arrange, form the Unified Global process with logic to comprise: arrange control and other operative association configure, setting data loads associated configuration, specifically comprise, the interface of configuration current device configuration file loads, increases newly, deletes, inquires about, revises, uploads, downloads the device configuration file associating other.
Step S203, generates the client configuration file comprising multiple device configuration file, and client configuration file adopts XML form to embody, and according to client configuration file preview client terminals.Particularly, according to client configuration file information, generate the interface configurations of XML form, operative configuration, data configuration file, pseudo-terminal can generate according to client configuration file can the simulant-client of preview, and user can again modify to client configuration file according to preview effect and adjust;
Step S204, in response to download client configuration file request, is sent to terminal by client configuration file.Wherein, in download client configuration file request, include mobile phone terminal unique number, obtain according to mobile phone terminal numbering the client configuration file having associated rights, and be sent to mobile phone terminal
In above-mentioned example, terminal have employed mobile phone terminal.In fact, can also other-end be adopted, such as PDA, panel computer, or even laptop computer etc., can the terminal iidentification of marking terminal as long as have.
Be illustrated in figure 3 the function structure chart of the server of a kind of client for generating collecting device information of the present invention.
For generating a server for the client of collecting device information, comprising:
Database acquisition module 310, for obtaining at least one facility information mark, and identify corresponding collection event code to described facility information, described collection event code is used for client collecting device information;
Client configuration file generation module 320, for the operation in response to editor's client configuration file, generate client configuration file, described client configuration file comprises the display properties of at least one control, facility information mark and collection event code, and in response to the operation that association control and facility information identify, the incidence relation that described control and described facility information identify is preserved at client configuration file, and in response to associating the operation of control and collection event code, the incidence relation of described control and described collection event code is preserved at client configuration file, described client configuration file is used for generating in described terminal the client comprising at least one control.
Wherein in an embodiment, also comprise client configuration file sending module 330, for in response to download client configuration file request, client configuration file is sent to terminal, described client configuration file is used for generating in described terminal the client comprising control described at least one.
Wherein in an embodiment:
Database acquisition module 310, also identifies corresponding database manipulation code for obtaining to facility information, and described database manipulation code is used for client and operates described facility information performing database;
Client configuration file generation module 320, also also comprises database manipulation code for described client configuration file, and described client configuration file identifies the incidence relation of described control and described database manipulation code.
Wherein in an embodiment, client configuration file generation module 320 also comprises:
Device configuration file generation module 321, for generating the device configuration file corresponding with at least one equipment of required collecting device information;
Device configuration file relating module 322, if the equipment for required collecting device information is multiple, then according to the hierarchical relationship of described multiple equipment, the incidence relation of multiple device configuration file is set, generates the client configuration file comprising multiple device configuration file; If the equipment of required collecting device information is one, then described device configuration file is client configuration file.
Wherein in an embodiment:
Described client configuration file also includes the terminal iidentification corresponding with described terminal;
Client configuration file sending module 330, in response to download client configuration file request, sends to the terminal corresponding with described terminal iidentification by client configuration file.
The embodiment of the present invention is also provided in the generation method that terminal generates the client of collecting device information.
Be illustrated in figure 4 the workflow diagram generating the operation method of the client of collecting device information in terminal of the present invention.
A kind of operation method of client of collecting device information:
Step S401, sends download client configuration file request to server;
Step S402, client configuration file is obtained from server, described client configuration file comprise at least one control display properties, facility information mark and collection event code, and described client configuration file identifies the incidence relation that described control and described facility information identify, and the incidence relation of described control and described collection event code;
Step S403, according to client configuration file, generates the client comprising control described at least one, is identified by control and binds, and control and the collection event code with incidence relation are bound with the facility information with incidence relation;
Step S404, in response to the operation to control, identifies according to the facility information with described control bundle, determines the facility information that will gather, and performs the collection event code with described control bundle, gathers the facility information that will gather.
In step S403, those of ordinary skill in the art, after reading the present invention, can realize different clients according to specifically different client configuration file.
In the present embodiment, control can be various button or text box etc.Collection event code can have different codes according to different equipment, meanwhile, the facility information collected can deposit data cached in, and according to different controls, control directly can to show.
What the present embodiment generated that client mainly adopts according to client configuration file is control display mode.In fact, different client configuration file, can realize different clients.Such as, that control and collection event code and database manipulation code are bound in the present embodiment, but the client of control be not set, its mode that thread can be adopted completely to bind, namely collection event code and database manipulation code are loaded in certain thread, after then system starts, automatically run the collection event code in this thread and database manipulation code.Such mode makes the function of terminal comparatively dull, and terminal can only perform collection event code and database manipulation code completely.And in the present embodiment, have employed control to collection event code and database manipulation code binds, then user can start or close collection event code and database manipulation code at any time.After user starts collection event code acquisition to facility information by single control, these facility informations are the need of uploading to database, or raw data to be downloaded from database, the need of performing database operation code, be decided in its sole discretion by user completely.User can operate by clicking the control bound with database manipulation code, gives user very large dirigibility.
Consider and gathered facility information be saved on database, then need the operation of gathered facility information performing database, therefore, wherein in an embodiment:
Described client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code;
In step S403, also comprise and control and the database manipulation code with incidence relation are bound;
In step S404, in response to the operation to control, according to the database manipulation code with described control bundle, the facility information performing database corresponding to identifying the facility information with described control bundle operates.
In step S401, send download client configuration file request those of ordinary skill in the art after reading the present invention to server, can supplement its concrete steps.Such as, just can send a simply request, then waiting for server sends client configuration file.Or after have sent request, server returns preservation client configuration file list all on the server to terminal, is selected by terminal.
But, consider the independence improving each terminal, wherein in an embodiment, describedly specifically to comprise to server request download client configuration file:
Send the download client configuration file request including terminal iidentification to server, described terminal iidentification runs the terminal of described client for identifying.
Above-mentioned terminal iidentification, can be hardware identifier or the software identification of terminal, such as, for mobile phone terminal, it can be the international mobile subscriber identity (InternationalMobileSubscriberIdentificationNumber, IMSI) of mobile phone terminal, or International Mobile Station Equipment Identification (InternationalMobileEquipmentIdentity, IMEI), or even a username and password pair, as long as can be used for identifying this terminal.
As an example, terminal adopts mobile phone terminal, comprising:
Send download client configuration file request to server, obtain client configuration file from server; Particularly, comprising: mobile phone terminal timer access client configuration file server (i.e. the server of collecting device information as shown in Figure 3), sends download client configuration file request to server; Wherein, download client configuration file request includes the unique number of mobile phone terminal, is contrasted by this numbering and server, detects whether there is the client configuration file meeting and distribute to this terminal;
Meet the client configuration file of this mobile phone terminal if return, then initiatively obtain client configuration file information to server; Profile information includes client configuration file unique number, client configuration file Apply Names, client configuration file founder, client configuration file creation-time, client configuration file modification time, client configuration file version number;
Whether the client configuration file infomation detection this locality according to returning gained installed this client configuration file; Utilize the local mount message in application management unit and client configuration file unique number to carry out scanning contrast particularly, return scanning result;
If return results as installing this client configuration file, then carrying out version number's contrast, detecting and whether having the client configuration file of more highest version to need update contruction; If have, then from server download client configuration file to mobile phone terminal local; Mobile phone terminal upgrades local client according to the client configuration file downloaded to;
If return results as not installing this client configuration file, be then new client configuration file, then download client configuration file is to mobile phone terminal local.Mobile phone terminal, according to downloading to local client configuration file, creates client;
Generate client according to client configuration file, comprising: set up cache database according to client configuration file, generate application interface, registration operates monitoring event, data buffer storage setting is associated with interface.
Client, according to client configuration file collection, storage also synchrodata process, is carried out acquisition and the collection of data, and is preserved local cache database, when network is consistent with configuration network, carry out the synchronized update with server data according to the interface generated.
Specifically comprise: the display properties of the control of traversal client configuration file, comprise control type, control numbering, control title, control location, control size, controls tab, control put in order, control initialization data etc., dynamically generate acquisition terminal interface, control is identified with the facility information with incidence relation simultaneously and bind, and control and the database manipulation code and described collection event code with incidence relation are bound;
According to the collection event code of the control bundle in interface, utilizing the operative configuration unit of system to carry out action listener binding, is the control bundle response events at interface;
According to the database manipulation code of the binding of the control in interface, the data result after inquiry, in interface, in particular by the data query statement of performing database operation code, and is tied in control by the data loading data cached the inside;
After Interface debond success, start application service and carry out Collecting operation.
When user clicks control, then terminal response is in the operation of control:
If described control and collection event code are bound, then according to identifying with the facility information of described control bundle, determine the facility information that will gather, perform the collection event code with described control bundle, gather the facility information that will gather, and save as the data cached of described facility information mark correspondence, be saved in local cache database;
If described control and database manipulation code are bound, then according to identifying with the facility information of described control bundle, determine corresponding data cached from local cache database, according to the database manipulation code with described control bundle, by corresponding data cached performing database operation code.
Being illustrated in figure 5 the function structure chart of the terminal of a kind of client for running collecting device information of the present invention, comprising:
Client configuration file request sending module 510, for sending download client configuration file request to server;
Client configuration file acquisition module 520, for obtaining client configuration file from server, described client configuration file comprise at least one control display properties, facility information mark and collection event code, and described client configuration file identifies the incidence relation that described control and described facility information identify, and the incidence relation of described control and described collection event code;
Client generation module 530, for according to client configuration file, generates the client comprising control described at least one, is identified by control and binds, and control and the collection event code with incidence relation are bound with the facility information with incidence relation;
Client end response module 540, in response to the operation to control, identifies according to the facility information with described control bundle, determines the facility information that will gather, and performs the collection event code with described control bundle, gathers the facility information that will gather.
Wherein in an embodiment, described client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code;
Client generation module 530, also comprises and control and the database manipulation code with incidence relation being bound;
Client end response module 540, also in response to the operation to control, according to the database manipulation code with described control bundle, the facility information performing database corresponding to identifying the facility information with described control bundle operates.
Wherein in an embodiment, described client configuration file request sending module 510 specifically comprises:
Send the download client configuration file request including terminal iidentification to server, described terminal iidentification runs the terminal of described client for identifying.
Be illustrated in figure 6 the synthetic operation process flow diagram of the generation method of the client of a kind of collecting device information of the present invention.
Step S601, server obtains at least one facility information mark, and identifies corresponding collection event code to described facility information, and described collection event code is used for client collecting device information;
Step S602, server is in response to the operation of editor's client configuration file, generate client configuration file, described client configuration file comprise at least one control display properties, facility information mark and collection event code, and described client configuration file identifies the incidence relation that described control and described facility information identify, and the incidence relation of described control and described collection event code;
Step S603, terminal to server sends download client configuration file request;
Step S604, client configuration file, in response to download client configuration file request, is sent to terminal by server, and described client configuration file is used for generating in described terminal the client comprising control described at least one;
Step S605, terminal obtains client configuration file from server;
Step S606, terminal, according to client configuration file, generates the client comprising control described at least one, is identified by control and binds, and control and the collection event code with incidence relation are bound with the facility information with incidence relation;
Step S607, terminal response, in the operation to control, identifies according to the facility information with described control bundle, determines the facility information that will gather, and performs the collection event code with described control bundle, gathers the facility information that will gather.
Wherein in an embodiment, step S601, also comprise server acquisition and identify corresponding database manipulation code to facility information, described database manipulation code is used for client and operates described facility information performing database;
Described client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code;
Step S606, also comprises and control and the database manipulation code with incidence relation being bound;
Step S607, also comprises described terminal response in the operation to control, and according to the database manipulation code with described control bundle, the facility information performing database corresponding to identifying the facility information with described control bundle operates.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (18)

1. a generation method for the client of collecting device information, is characterized in that, comprising:
Obtain at least one facility information mark, and identify corresponding collection event code to described facility information, described collection event code is used for client collecting device information;
In response to the operation of editor's client configuration file, generate client configuration file, described client configuration file comprises the display properties of at least one control, facility information mark and collection event code, and in response to the operation that association control and facility information identify, the incidence relation that described control and described facility information identify is preserved at client configuration file, and in response to associating the operation of control and collection event code, the incidence relation of described control and described collection event code is preserved at client configuration file, described client configuration file is used for generating in terminal the client comprising at least one control.
2. the generation method of the client of collecting device information according to claim 1, is characterized in that, also comprise, and after generating client configuration file, in response to download client configuration file request, client configuration file is sent to terminal.
3. the generation method of the client of collecting device information according to claim 1, is characterized in that, also comprise:
Obtain and identify corresponding database manipulation code to facility information, described database manipulation code is used for client and operates described facility information performing database;
Described client configuration file also comprises database manipulation code, and in response to associating the operation of control and database manipulation code, preserves the incidence relation of described control and described database manipulation code at client configuration file.
4. the generation method of the client of collecting device information according to claim 1, is characterized in that, described generation client configuration file, specifically comprises:
Generate the device configuration file corresponding with at least one equipment of required collecting device information;
If the equipment of required collecting device information is multiple, then according to the hierarchical relationship of described multiple equipment, the incidence relation of multiple device configuration file is set, generates the client configuration file comprising multiple device configuration file;
If the equipment of required collecting device information is one, then described device configuration file is client configuration file.
5. the generation method of the client of collecting device information according to claim 1, is characterized in that:
Described client configuration file also includes the terminal iidentification corresponding with described terminal, described in response to download client configuration file request, client configuration file is sent to terminal and specifically comprises:
In response to download client configuration file request, client configuration file is sent to the terminal corresponding with described terminal iidentification.
6. for generating a server for the client of collecting device information, it is characterized in that, comprising:
Database acquisition module, for obtaining at least one facility information mark, and identify corresponding collection event code to described facility information, described collection event code is used for client collecting device information;
Client configuration file generation module, for the operation in response to editor's client configuration file, generate client configuration file, described client configuration file comprises the display properties of at least one control, facility information mark and collection event code, and in response to the operation that association control and facility information identify, the incidence relation that described control and described facility information identify is preserved at client configuration file, and in response to associating the operation of control and collection event code, the incidence relation of described control and described collection event code is preserved at client configuration file, described client configuration file is used for generating in terminal the client comprising control described at least one.
7. the server of the client for generating collecting device information according to claim 6, is characterized in that, also comprise:
Client configuration file sending module, in response to download client configuration file request, is sent to terminal by client configuration file.
8. the server of the client for generating collecting device information according to claim 6, is characterized in that:
Database acquisition module, also identifies corresponding database manipulation code for obtaining to facility information, and described database manipulation code is used for client and operates described facility information performing database;
Client configuration file generation module, also for generating the client configuration file comprising database manipulation code, and in response to associating the operation of control and database manipulation code, preserve the incidence relation of described control and described database manipulation code at client configuration file.
9. the server of the client for generating collecting device information according to claim 6, is characterized in that, client configuration file generation module also comprises:
Device configuration file generation module, for generating the device configuration file corresponding with at least one equipment of required collecting device information;
Device configuration file relating module, if the equipment for required collecting device information is multiple, then according to the hierarchical relationship of described multiple equipment, the incidence relation of multiple device configuration file is set, generates the client configuration file comprising multiple device configuration file; If the equipment of required collecting device information is one, then described device configuration file is client configuration file.
10. the server of the client for generating collecting device information according to claim 6, is characterized in that:
Described client configuration file also includes the terminal iidentification corresponding with described terminal;
Client configuration file sending module, in response to download client configuration file request, sends to the terminal corresponding with described terminal iidentification by client configuration file.
The operation method of the client of 11. 1 kinds of collecting device information, is characterized in that:
Download client configuration file request is sent to server;
Client configuration file is obtained from server, described client configuration file comprise at least one control display properties, facility information mark and collection event code, and described client configuration file identifies the incidence relation that described control and described facility information identify, and the incidence relation of described control and described collection event code;
According to client configuration file, generate the client comprising control described at least one, control is identified with the facility information with incidence relation and binds, and control and the collection event code with incidence relation are bound;
In response to the operation to control, identify according to the facility information with described control bundle, determine the facility information that will gather, perform the collection event code with described control bundle, gather the facility information that will gather.
The operation method of the client of 12. collecting device information according to claim 11, is characterized in that:
Described client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code;
Described according to client configuration file, generate the client comprising control described at least one, also comprise and control and the database manipulation code with incidence relation are bound;
In response to the operation to control, according to the database manipulation code with described control bundle, the facility information performing database corresponding to identifying the facility information with described control bundle operates.
The operation method of the client of 13. collecting device information according to claim 11, is characterized in that, describedly specifically comprises to server request download client configuration file:
Send the download client configuration file request including terminal iidentification to server, described terminal iidentification runs the terminal of described client for identifying.
14. 1 kinds for running the terminal of the client of collecting device information, is characterized in that, comprising:
Client configuration file request sending module, for sending download client configuration file request to server;
Client configuration file acquisition module, for obtaining client configuration file from server, described client configuration file comprise at least one control display properties, facility information mark and collection event code, and described client configuration file identifies the incidence relation that described control and described facility information identify, and the incidence relation of described control and described collection event code;
Client generation module, for according to client configuration file, generates the client comprising control described at least one, is identified by control and binds, and control and the collection event code with incidence relation are bound with the facility information with incidence relation;
Client end response module, in response to the operation to control, identifies according to the facility information with described control bundle, determines the facility information that will gather, and performs the collection event code with described control bundle, gathers the facility information that will gather.
The terminal of 15. clients for running collecting device information according to claim 14, is characterized in that:
Described client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code;
Described client generation module, also comprises and control and the database manipulation code with incidence relation being bound;
Described client end response module, also in response to the operation to control, according to the database manipulation code with described control bundle, the facility information performing database corresponding to identifying the facility information with described control bundle operates.
The terminal of 16. clients for running collecting device information according to claim 14, is characterized in that, described client configuration file request sending module specifically comprises:
Send the download client configuration file request including terminal iidentification to server, described terminal iidentification runs the terminal of described client for identifying.
The generation method of the client of 17. 1 kinds of collecting device information, is characterized in that, comprising:
Server obtains at least one facility information mark, and identifies corresponding collection event code to described facility information, and described collection event code is used for client collecting device information;
Server is in response to the operation of editor's client configuration file, generate client configuration file, described client configuration file comprise at least one control display properties, facility information mark and collection event code, and described client configuration file identifies the incidence relation that described control and described facility information identify, and the incidence relation of described control and described collection event code;
Terminal to server sends download client configuration file request;
Client configuration file, in response to download client configuration file request, is sent to terminal by server, and described client configuration file is used for generating in described terminal the client comprising control described at least one;
Terminal obtains client configuration file from server;
Terminal, according to client configuration file, generates the client comprising one or more described control, is identified by control and binds, and control and the collection event code with incidence relation are bound with the facility information with incidence relation;
Terminal response, in the operation to control, identifies according to the facility information with described control bundle, determines the facility information that will gather, and performs the collection event code with described control bundle, gathers the facility information that will gather.
The generation method of the client of 18. collecting device information according to claim 17, is characterized in that, also comprise:
Server obtains and identifies corresponding database manipulation code to facility information, and described database manipulation code is used for client and operates described facility information performing database;
Described client configuration file also comprises database manipulation code, and described client configuration file identifies the incidence relation of described control and described database manipulation code;
Described terminal, according to client configuration file, generates the client comprising control described at least one, also comprises and control and the database manipulation code with incidence relation being bound;
Described terminal response is in the operation to control, and according to the database manipulation code with described control bundle, the facility information performing database corresponding to identifying the facility information with described control bundle operates.
CN201210581403.0A 2012-12-27 2012-12-27 The generation of the client of collecting device information and operation method, server and equipment Active CN103092608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210581403.0A CN103092608B (en) 2012-12-27 2012-12-27 The generation of the client of collecting device information and operation method, server and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210581403.0A CN103092608B (en) 2012-12-27 2012-12-27 The generation of the client of collecting device information and operation method, server and equipment

Publications (2)

Publication Number Publication Date
CN103092608A CN103092608A (en) 2013-05-08
CN103092608B true CN103092608B (en) 2016-02-10

Family

ID=48205219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210581403.0A Active CN103092608B (en) 2012-12-27 2012-12-27 The generation of the client of collecting device information and operation method, server and equipment

Country Status (1)

Country Link
CN (1) CN103092608B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376235A (en) * 2013-08-13 2015-02-25 腾讯科技(深圳)有限公司 Archived file package signing method and device
WO2016049799A1 (en) * 2014-09-29 2016-04-07 Microsoft Technology Licensing, Llc Customizable data services
CN104484203B (en) * 2014-12-11 2018-06-26 北京国双科技有限公司 For the method for exhibiting data and device of table data displaying control
CN104483880B (en) * 2014-12-15 2018-03-23 四川长虹电器股份有限公司 A kind of collecting method and data acquisition server
CN108270591B (en) * 2016-12-30 2021-06-01 华为技术有限公司 Method for configuring network equipment and related equipment
CN107273172A (en) * 2017-07-14 2017-10-20 银联商务有限公司 A kind of data handling system based on business packet, method and device
CN108491195A (en) * 2018-01-26 2018-09-04 海尔优家智能科技(北京)有限公司 Equipment controls page generation method and system
CN108319679B (en) * 2018-01-30 2021-03-23 杭州迪普科技股份有限公司 Method and device for generating primary key
CN109101519B (en) * 2018-05-09 2021-11-23 广东辰宜信息科技有限公司 Information acquisition system and heterogeneous information fusion system
CN108768791B (en) * 2018-07-04 2021-08-10 上海浪潮云计算服务有限公司 Information acquisition configuration management system and method
CN109388426B (en) * 2018-09-28 2020-05-05 北京三快在线科技有限公司 Window parameter configuration method and system and computer readable medium
CN110196743A (en) * 2018-12-17 2019-09-03 腾讯科技(深圳)有限公司 Method, apparatus, storage medium and the electronic device of event triggering
CN113052442A (en) * 2021-03-09 2021-06-29 合安科技技术有限公司 Equipment information management method, equipment information acquisition method, related terminal and system
CN112988268A (en) * 2021-03-19 2021-06-18 银清科技有限公司 Configuration information acquisition and comparison method and device
CN113407541B (en) * 2021-06-23 2022-10-18 中移(杭州)信息技术有限公司 Data acquisition method, data acquisition equipment, storage medium and device
CN114518925A (en) * 2022-02-17 2022-05-20 北京道亨软件股份有限公司 Mobile application generation method, data processing method and related device
CN117130318B (en) * 2023-10-23 2024-01-26 中国恩菲工程技术有限公司 Industrial data acquisition method, device, system and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5893077A (en) * 1995-08-23 1999-04-06 Microsoft Corporation Method and apparatus for generating and collecting a billing event object within an on-line network
CN101582794A (en) * 2009-06-26 2009-11-18 西安电子科技大学 System and method for unified configuration of network equipment
CN101697110A (en) * 2009-10-26 2010-04-21 孟智平 Method and system for controlling interaction of synchronous and heterogeneous display terminals
CN102419705A (en) * 2011-09-30 2012-04-18 广州杰赛科技股份有限公司 Method and device for generating and managing Web geographic information system (GIS) client control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5893077A (en) * 1995-08-23 1999-04-06 Microsoft Corporation Method and apparatus for generating and collecting a billing event object within an on-line network
CN101582794A (en) * 2009-06-26 2009-11-18 西安电子科技大学 System and method for unified configuration of network equipment
CN101697110A (en) * 2009-10-26 2010-04-21 孟智平 Method and system for controlling interaction of synchronous and heterogeneous display terminals
CN102419705A (en) * 2011-09-30 2012-04-18 广州杰赛科技股份有限公司 Method and device for generating and managing Web geographic information system (GIS) client control

Also Published As

Publication number Publication date
CN103092608A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103092608B (en) The generation of the client of collecting device information and operation method, server and equipment
JP5981662B2 (en) Method and apparatus for access authorization authentication in a wireless communication system
CN102694861B (en) A kind of terminal application software sorting technique, Apparatus and system based on cloud
CN100423610C (en) User identifying module service and method and system for using personalized tailered issuing
KR101264819B1 (en) Device management server, client and method for locating target operation object
CN102355500B (en) Service push method and device
CN102202087B (en) Method for identifying storage equipment and system thereof
CN107920005A (en) A kind of intelligent terminal quickly networking installation and debugging system and method for work
CN101674590A (en) Client device and remote updating method and remote updating service system thereof
CN105519143A (en) Regulatory compliance for wireless devices
CN104981768A (en) Cloud-based streaming data receiver and persister
CN105635758B (en) A kind of smart television desktop back-stage management method and server
CN107943453B (en) Method and system for realizing user-defined plan task of operation and maintenance system
CN104508628A (en) Monitoring for managed services
CN106648716A (en) Increment updating method, server and intelligent card
US20140096237A1 (en) Information processing system, access right management method, information processing apparatus and control method and control program therefor
CN102646056A (en) Function expansion method and device for grid GIS (geographic information system) platform based applications
CN102301760A (en) Method and apparatus for tracking device management data changes
CN101504669A (en) Web application template issuing method, apparatus and system
KR20170075000A (en) Managing application relationships in machine-to-machine systems
CN109871221B (en) System for quickly installing and deploying mobile application software for mobile terminal equipment
CN110515522A (en) Cut-in method, device, computer equipment and the storage medium of device data
CN102638573A (en) Service information sending method, service information customizing platform device and service information customizing system
CN106068028A (en) Terminal processes method and the terminal of wireless network name mess code
CA3056859A1 (en) Window parameter configuration method and system, computer-readable media

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180425

Address after: 510700 3 building, 56 C, Yun Qing Road, Whampoa District, Guangzhou, Guangdong.

Patentee after: Guangzhou Jay communications planning and Design Institute Co., Ltd.

Address before: 510310 No. 381 middle Xingang Road, Guangzhou, Guangdong, Haizhuqu District

Patentee before: GCI Science & Technology Co., Ltd.

TR01 Transfer of patent right