CN107291729A - Data-updating method and system, semiconductor equipment - Google Patents

Data-updating method and system, semiconductor equipment Download PDF

Info

Publication number
CN107291729A
CN107291729A CN201610196296.8A CN201610196296A CN107291729A CN 107291729 A CN107291729 A CN 107291729A CN 201610196296 A CN201610196296 A CN 201610196296A CN 107291729 A CN107291729 A CN 107291729A
Authority
CN
China
Prior art keywords
data
update
module
attribute
latest
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.)
Granted
Application number
CN201610196296.8A
Other languages
Chinese (zh)
Other versions
CN107291729B (en
Inventor
潘宇涵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing NMC Co Ltd
Beijing North Microelectronics Co Ltd
Original Assignee
Beijing North Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing North Microelectronics Co Ltd filed Critical Beijing North Microelectronics Co Ltd
Priority to CN201610196296.8A priority Critical patent/CN107291729B/en
Publication of CN107291729A publication Critical patent/CN107291729A/en
Application granted granted Critical
Publication of CN107291729B publication Critical patent/CN107291729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a kind of data-updating method and system, semiconductor equipment, this method comprises the following steps:Pre-set configuration file, have the corresponding update event of all data types defined in the configuration file;The configuration file is read to subscribe to the update event;The update event is triggered when any data type needs and updated and carries out data renewal.Data-updating method and system that the present invention is provided, semiconductor equipment, can reduce overhead and ensure systematic function.

Description

Data-updating method and system, semiconductor equipment
Technical field
The invention belongs to semi-conductor device technology field, and in particular to a kind of data-updating method and System, semiconductor equipment.
Background technology
The control system of semiconductor equipment not only needs to receive the operational order that user issues, and also The feedback of the information such as the state by equipment are to user, in order to ensure the accuracy of data, it is necessary in real time Data are updated, and the data display of renewal is observed or stored to data for user on interface Treat that user's later stage consults in storehouse.
To realize data real-time update, the data update system used in the prior art for:Correspondence Each interface widgets module or generic module (can be referred to as:Subscriber) define slave computer Data type (that is, Data types), and subscription has update event, so, in each data When type changes, the update event of triggering subscriber notifies to give the subscriber, the subscriber Receive and call the update method (update) of the corresponding interface type to carry out data after the update event Update.
Found in actual applications using above-mentioned data update system:First, when host computer is with Position machine disconnect after need reconnect when, it is necessary to search the renewal thing of each subscriber again Part is subscribed to, and such lookup amount is larger, can influence systematic function;Second, often subscribe to one Individual update event is required for setting up the commission of a correlation type, therefore, subscribes to a large amount of renewal things Part is accomplished by setting up substantial amounts of commission, and this can increase the expense of system.
The content of the invention
It is contemplated that at least solving one of technical problem present in prior art, it is proposed that one Data-updating method and system, semiconductor equipment are planted, overhead and guarantee system can be reduced Performance.
One of to solve the above problems, the invention provides a kind of data-updating method, including with Lower step:Pre-set configuration file, there are all data types pair defined in the configuration file The update event answered;The configuration file is read to subscribe to the update event;According to any institute Stating data type needs the update event triggered during renewal to carry out data renewal.
Preferentially, the update method, comprises the following steps:Latest data is cached in real time;Press The latest data for reading caching according to predetermined period is updated.
Preferentially, the attribute of each data type defined in the configuration file is display Attribute or storage attribute;Before the buffer update data step, in addition to:Identification is current The attribute of data type, if display properties, then caches latest data, is read according to predetermined period The latest data of caching is taken to be updated;If storing attribute, then directly update the data.
Preferentially, the latest data for reading caching according to predetermined period is updated, including Following steps:The latest data that caching is read according to predetermined period is broadcasted to all interface windows Module, each at least one described data type of the interface widgets module correspondence, for institute State interface widgets module and recognize whether the data type belonging to the latest data is corresponding with itself, if It is then to update and show the latest data.
The present invention also provides a kind of data update system, including:Presetting module, for setting in advance Put configuration file, have the corresponding update event of all data types defined in the configuration file; Update module, for carrying out data renewal;Subscribing module, for reading the configuration file Subscribe to the update event, and the institute triggered when needing and update according to any data type Update event is stated, calls the update module to carry out data renewal.
Preferentially, the update module includes:Cache sub-module, for caching newest number in real time According to;Submodule is updated, the latest data for reading caching according to predetermined period is updated.
Preferentially, the presetting module, is additionally operable to each described defined in the configuration file The attribute of data type is display properties or storage attribute;The update module also includes:Identification Submodule, the attribute for recognizing current data type;The cache sub-module, in institute The attribute for stating identification submodule identification current data type caches latest data when being display properties; The renewal submodule, for being in the attribute of the identification submodule identification current data type During display properties, the latest data for reading caching according to predetermined period is updated;And institute When stating the attribute of identification submodule identification current data type for storage attribute, directly update the data.
Preferentially, the renewal submodule, for the newest of caching will to be read according to predetermined period Data broadcasting is to all interface widgets modules, each interface widgets module correspondence at least one The individual data type, the data belonging to the latest data are recognized for the interface widgets module Whether type is corresponding with itself, and the latest data is shown if so, then updating.
The present invention also provides a kind of semiconductor equipment, including data update system, and the data are more New system uses the data update system of above-mentioned offer of the invention.
The invention has the advantages that:
The data-updating method that the present invention is provided, due to all data type correspondence configurations one Update event, thus, it is only required to want a subscriber to read the configuration file to subscribe to the renewal thing Part, so, can be achieved numerous types of data centralized management, compared with prior art, no Only need to subscribe to a update event, namely foundation is once entrusted;But also in host computer with The update event for subscribing to each subscriber need not be searched when being reconnected after the machine disconnection of position, thus Overhead can be reduced and ensure systematic function.
The data update system that the present invention is provided, it is all due to being pre-set by presetting module The configuration file of data type correspondence one update event of configuration, thus, it is only required to want a subscription Module (that is, subscriber) reads the configuration file to subscribe to the update event, so, Numerous types of data centralized management can be achieved, compared with prior art, does not need only to subscribe to one Update event, namely foundation are once entrusted;But also after host computer and slave computer disconnection again The update event for subscribing to each subscriber need not be searched during connection, thus system can be reduced and is opened Pin and guarantee systematic function.
The semiconductor equipment that the present invention is provided, it uses the data update system that the present invention is provided, Overhead can be reduced and ensure systematic function.
Brief description of the drawings
Fig. 1 is the flow chart of data-updating method provided in an embodiment of the present invention;
The flow chart that Fig. 2 is step S3 in Fig. 1;
Fig. 3 is the theory diagram of data update system provided in an embodiment of the present invention;
Fig. 4 is a kind of theory diagram of update module in Fig. 3;And
Fig. 5 is another theory diagram of update module in Fig. 3.
Embodiment
To make those skilled in the art more fully understand technical scheme, with reference to Accompanying drawing is retouched in detail come the data-updating method and system, semiconductor equipment provided the present invention State.
Fig. 1 is the flow chart of data-updating method provided in an embodiment of the present invention, referring to Fig. 1, The data-updating method that the present embodiment is provided comprises the following steps:
S1, pre-sets configuration file, has all data types corresponding defined in configuration file Update event.Wherein, data type is the data type for needing data to update.
S2, reads configuration file to subscribe to above-mentioned update event.
S3, the update event triggered when needing and update according to any data type is carried out Data update.
Specifically, so-called data type needs to could be arranged to the data in data type when updating When changing, it may be arranged as when the data of data type occur to change to a certain degree. Specifically, update method can be called to carry out data renewal by carrying out data renewal, more specifically, It is to be updated according to rule corresponding with data type is updated the data.
Data-updating method provided in an embodiment of the present invention, because all data type correspondences are matched somebody with somebody A update event is put, thus, it is only required to want a subscriber to read the configuration file to subscribe to this Update event, so, can be achieved numerous types of data centralized management, with prior art phase Than, do not need only to subscribe to a update event, namely foundation is once entrusted;But also upper The renewal thing for subscribing to each subscriber need not be searched when being reconnected after machine and slave computer disconnection Part, thus overhead can be reduced and ensure systematic function.
In this embodiment, it is preferred that, step S3 comprises the following steps:
S31, caches latest data in real time.
S32, the latest data for reading caching according to predetermined period is updated.
Specifically, predetermined period is the time artificially pre-set, and the inverse of the preset time is then For data renewal frequency, for example, predetermined period can be 500 milliseconds.
It can be realized by above-mentioned steps S31~S32 and carry out data more according to some cycles or frequency Newly, this compared with prior art, can avoid the occurrence of data variation frequently and some renewal be need not The problem of wanting, so as to enter the expense of a reduction system.
Furthermore it is preferred that the attribute of each data type defined in configuration file belongs to for display Property or storage attribute;In the case, as shown in Fig. 2 also including before step S31:
S30, recognizes the attribute of current data type, if display properties, then performs step S31; If storing attribute, then into step S33.
S33, is directly updated the data.
, can be when the attribute of data type be display properties by above-mentioned steps S30~step S33 Data renewal is carried out according to some cycles or frequency, so can not only make the renewal of data on interface Frequency is in the recognizable scope of naked eyes, thus it is super to avoid the occurrence of nonsensical, renewal frequency Go out the renewal of the recognizable scope of naked eyes, so as to further reduction expense, but also can avoid There is frequent switching between more new thread and UI threads (that is, showing thread) and trigger readjustment time-out The problem of;In addition, it is considered to without the concern for aobvious when the attribute of data type is storage attribute The above-mentioned situation shown, therefore, can will directly update the data and be updated, to ensure to be stored in number According to the real-time of data, accuracy in storehouse.
Specifically, step S32 includes:
The latest data that caching is read according to predetermined period is broadcasted to all interface widgets moulds Block, at least one data type of each interface widgets module correspondence, so that interface widgets module is known Whether the data type not belonging to the latest data is corresponding with itself, should if so, then updating display Latest data.
Specifically, this is updated the data and be broadcasted in the form of event, interface widgets module root According to the event of broadcast, data type belonging to what identification came with event update the data whether with from Body correspondence.
Fig. 3 is the theory diagram of data update system provided in an embodiment of the present invention, refers to figure 3, data update system provided in an embodiment of the present invention includes:
Presetting module 10, for pre-setting configuration file, defined in the configuration file There is the corresponding update event of data type.
Update module 11, for carrying out data renewal.
Subscribing module 12, the update event is subscribed to for reading the configuration file, and The update event triggered when needing and update according to any data type, calls update module 11 Carry out data renewal.
Specifically, subscribing module 12 not only can be interface widgets module or generic module, certainly, The module that can also be in addition set for removing interface widgets module or generic module.
Data update system provided in an embodiment of the present invention, due to being set in advance by presetting module 10 The configuration file of all data type correspondence one update events of configuration is put, thus, it is only required to will One subscribing module (that is, subscriber) reads the configuration file to subscribe to the update event, So, numerous types of data centralized management can be achieved, compared with prior art, does not need only to order A update event is read, namely foundation is once entrusted;But also in host computer and slave computer disconnection The update event for subscribing to each subscriber need not be searched when reconnecting afterwards, thus can be reduced Overhead and guarantee systematic function.
Preferably, as shown in figure 4, update module 11 includes:
Cache sub-module 111, for caching latest data in real time.
Submodule 112 is updated, the latest data for reading caching according to predetermined period is carried out more Newly.
It is further preferred that presetting module 10, is additionally operable to each defined in the configuration file The attribute of the data type is display properties or storage attribute.In the case, such as Fig. 5 institutes Show, update module 11 also includes:
Recognize submodule 113, the attribute for recognizing current data type
Cache sub-module 111, is aobvious for the attribute in identification submodule identification current data type Latest data is cached when showing attribute.
Submodule 112 is updated, is aobvious for the attribute in identification submodule identification current data type When showing attribute, the latest data for reading caching according to predetermined period is updated;And described When recognizing the attribute of submodule identification current data type for storage attribute, directly update the data.
Specifically, submodule is updated, for the latest data by caching is read according to predetermined period Broadcast is to all interface widgets modules, at least one corresponding data class of each interface widgets module Type, recognizes whether the data type belonging to the latest data is right with itself for interface widgets module Should, show the latest data if so, then updating.
As another technical scheme, the embodiment of the present invention also provides a kind of semiconductor equipment, Including data update system, the data update system is provided using the above embodiment of the present invention Data update system.
Semiconductor equipment provided in an embodiment of the present invention, it is by using above-mentioned implementation of the invention Example provides above-mentioned data update system, can be with the expense of data update system.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and adopt Illustrative embodiments, but the invention is not limited in this.For in the art general For logical technical staff, without departing from the spirit and substance in the present invention, it can make All variations and modifications, these variations and modifications are also considered as protection scope of the present invention.

Claims (9)

1. a kind of data-updating method, it is characterised in that comprise the following steps:
Pre-set configuration file, there are all data types corresponding defined in the configuration file Update event;
The configuration file is read to subscribe to the update event;
The update event triggered when needing and update according to any data type carries out data Update.
2. data-updating method according to claim 1, it is characterised in that the renewal Method, comprises the following steps:
Latest data is cached in real time;
The latest data for reading caching according to predetermined period is updated.
3. data-updating method according to claim 2, it is characterised in that match somebody with somebody described It is display properties or storage attribute to put the attribute of each data type defined in file;
Before the buffer update data step, in addition to:
The attribute of current data type is recognized, if display properties, then latest data is cached, presses The latest data for reading caching according to predetermined period is updated;If storing attribute, then directly more New data.
4. data-updating method according to claim 3, it is characterised in that it is described according to The latest data that predetermined period reads caching is updated, and is comprised the following steps:
The latest data that caching is read according to predetermined period is broadcasted to all interface widgets moulds Block, each at least one described data type of the interface widgets module correspondence, for the boundary Face-port module recognizes whether the data type belonging to the latest data is corresponding with itself, if so, Then update and show the latest data.
5. a kind of data update system, it is characterised in that including:
Presetting module, for pre-setting configuration file, has all defined in the configuration file The corresponding update event of data type;
Update module, for carrying out data renewal;
Subscribing module, the update event, Yi Jigen are subscribed to for reading the configuration file The update event triggered when needing and update according to any data type, calls the renewal Module carries out data renewal.
6. data update system according to claim 5, it is characterised in that the renewal Module includes:
Cache sub-module, for caching latest data in real time;
Submodule is updated, the latest data for reading caching according to predetermined period is updated.
7. data update system according to claim 6, it is characterised in that described default Module, it is display to be additionally operable to the attribute of each data type defined in the configuration file Attribute or storage attribute;
The update module also includes:
Recognize submodule, the attribute for recognizing current data type;
The cache sub-module, the category for recognizing current data type in the identification submodule Property be display properties when cache latest data;
The renewal submodule, the category for recognizing current data type in the identification submodule Property be display properties when, according to predetermined period read caching latest data be updated;And When the attribute of the identification submodule identification current data type is storage attribute, directly update Data.
8. data update system according to claim 7, it is characterised in that the renewal Submodule, for the latest data that caching is read according to predetermined period to be broadcasted to all interfaces Form module, each at least one described data type of the interface widgets module correspondence, for The interface widgets module recognizes whether the data type belonging to the latest data is corresponding with itself, The latest data is shown if so, then updating.
9. a kind of semiconductor equipment, including data update system, it is characterised in that the data More new system is using the data update system described in claim 5-8 any one.
CN201610196296.8A 2016-03-31 2016-03-31 Data updating method and system, and semiconductor device Active CN107291729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610196296.8A CN107291729B (en) 2016-03-31 2016-03-31 Data updating method and system, and semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610196296.8A CN107291729B (en) 2016-03-31 2016-03-31 Data updating method and system, and semiconductor device

Publications (2)

Publication Number Publication Date
CN107291729A true CN107291729A (en) 2017-10-24
CN107291729B CN107291729B (en) 2021-05-07

Family

ID=60087237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610196296.8A Active CN107291729B (en) 2016-03-31 2016-03-31 Data updating method and system, and semiconductor device

Country Status (1)

Country Link
CN (1) CN107291729B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059200A (en) * 2019-05-14 2019-07-26 苏州霞客说导览科技有限公司 A kind of data-updating method of guide machine
CN115379013A (en) * 2022-06-29 2022-11-22 广州博冠信息科技有限公司 Data processing method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7526481B1 (en) * 1999-04-19 2009-04-28 Oracle International Corporation Web servers with queryable dynamic caches
CN101789009A (en) * 2010-01-26 2010-07-28 恒生电子股份有限公司 Method for processing business data, device and system
CN101902354A (en) * 2009-05-26 2010-12-01 阿尔卡特朗讯公司 Method and device for managing event information in SIP network
CN102799609A (en) * 2012-05-31 2012-11-28 新奥特(北京)视频技术有限公司 Data acquisition method based on data monitoring
CN103617131A (en) * 2013-11-26 2014-03-05 曙光信息产业股份有限公司 Data caching achieving method
CN105334808A (en) * 2014-06-26 2016-02-17 北京北方微电子基地设备工艺研究中心有限责任公司 Data processing method and system of semiconductor equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7526481B1 (en) * 1999-04-19 2009-04-28 Oracle International Corporation Web servers with queryable dynamic caches
CN101902354A (en) * 2009-05-26 2010-12-01 阿尔卡特朗讯公司 Method and device for managing event information in SIP network
CN101789009A (en) * 2010-01-26 2010-07-28 恒生电子股份有限公司 Method for processing business data, device and system
CN102799609A (en) * 2012-05-31 2012-11-28 新奥特(北京)视频技术有限公司 Data acquisition method based on data monitoring
CN103617131A (en) * 2013-11-26 2014-03-05 曙光信息产业股份有限公司 Data caching achieving method
CN105334808A (en) * 2014-06-26 2016-02-17 北京北方微电子基地设备工艺研究中心有限责任公司 Data processing method and system of semiconductor equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XINGOO: "Web***导图详解", 《博客园》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059200A (en) * 2019-05-14 2019-07-26 苏州霞客说导览科技有限公司 A kind of data-updating method of guide machine
CN115379013A (en) * 2022-06-29 2022-11-22 广州博冠信息科技有限公司 Data processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN107291729B (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN109104473B (en) Control method, control device, control system and gateway
EP2800306A1 (en) Rule set arrangement processing method and apparatus, and trunking data system
CN103023984B (en) Terminal application server and application log filtering method thereof
CN107087234B (en) A kind of focus control method and system
CN107291729A (en) Data-updating method and system, semiconductor equipment
EP3684032A1 (en) Method and system for executing distributed transaction resources
CN103136200A (en) Data updating information obtaining method and device and data synchronization method and device
CN107766343B (en) Data storage method and device and storage server
CN107168636B (en) Multi-touch gesture recognition method and device, touch screen terminal and storage medium
CN112148160B (en) Floating window display method and device, electronic equipment and computer readable storage medium
CN104239130B (en) Control method and terminal for responding to operation instruction by human-computer interaction interface
CN105656810A (en) Method and device for updating application program
CN107784085B (en) Data list exporting method and terminal thereof
CN109067562A (en) Dynamic configuration update method and system, server and medium based on intelligent pointer
US20140244820A1 (en) Rule Set Orchestration Processing Method and Apparatus, and Cluster Data System
CN105573854A (en) Terminal application processing method and device
CN103036975A (en) Virtual machine control method and control device
CN112331202A (en) Voice screen projection method and device, electronic equipment and computer readable storage medium
CN106484755A (en) The method of asynchronous quick loading video thumbnails
CN105005492A (en) Embedded equipment and software upgrading method
CN102143206A (en) Storage pool regulation method, device and system for cluster storage system
CN112307381A (en) Page loading method and device, storage medium and electronic equipment
CN111586081B (en) Internet of things implementation method based on object model
CN103716564B (en) Method and device for adjusting control parameter value
CA2773116C (en) Service deactivation method and device thereof

Legal Events

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