CN110069507A - School district degree querying method, device, equipment and storage medium - Google Patents
School district degree querying method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110069507A CN110069507A CN201910200502.1A CN201910200502A CN110069507A CN 110069507 A CN110069507 A CN 110069507A CN 201910200502 A CN201910200502 A CN 201910200502A CN 110069507 A CN110069507 A CN 110069507A
- Authority
- CN
- China
- Prior art keywords
- information
- degree
- school district
- school
- moment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000004140 cleaning Methods 0.000 claims description 20
- 230000015654 memory Effects 0.000 claims description 19
- 230000009471 action Effects 0.000 claims description 10
- 239000004744 fabric Substances 0.000 claims description 5
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000012937 correction Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 5
- 210000004027 cell Anatomy 0.000 description 68
- 238000010586 diagram Methods 0.000 description 17
- 238000012423 maintenance Methods 0.000 description 8
- 241000239290 Araneae Species 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- CIWBSHSKHKDKBQ-JLAZNSOCSA-N Ascorbic acid Chemical compound OC[C@H](O)[C@H]1OC(=O)C(O)=C1O CIWBSHSKHKDKBQ-JLAZNSOCSA-N 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 241000736199 Paeonia Species 0.000 description 1
- 235000006484 Paeonia officinalis Nutrition 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 210000002325 somatostatin-secreting cell Anatomy 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2379—Updates performed during online database operations; commit processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Remote Sensing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to Business Process Optimizing fields, disclose a kind of school district degree querying method, device, equipment and storage medium, the method is stored in the target data set by will issue the backup information that the moment generates according to the school district degree relation information and information of degree data in school district to be processed, and when data to be stored is latest data, according to the degree data in school district to be processed, update the school district degree record of school information and cell information having the same in school district degree inquiry database, it is recorded as conducive to the school district degree made in school district degree inquiry database correct and newest.
Description
Technical field
The present invention relates to Business Process Optimizing technical field more particularly to a kind of school district degree querying methods, device, equipment
And storage medium.
Background technique
School district degree information is the information of the counterpart relationship reflected between the residence and school of the of the right age children to go to school, by
To the close attention of numerous parents.Educating the websites such as board web, school website is usually the official for obtaining school district degree information
Approach, since the school district degree information on website is issued usually in the form of noticing text, information content is larger and updates more frequency
Numerous, parents usually require to consult a large amount of notice text, could obtain information that is the currently active and being suitable for oneself child.It learns
Degree inquiry database in area's can provide the channel of more convenient query information for parent, however, after distribution due to notice text
It is different surely by immediately be acquired to, and due to notice text content may record to the part in the notice issued in the past
The content that content changes leads to inquire in database the school district degree being easy to appear mistakes and omissions.
Summary of the invention
The main purpose of the present invention is to provide a kind of school district degree querying method, device, equipment and storage medium, purports
Solving that the data in school district degree inquiry database how to be made to remain correct and newest technical problem.
To achieve the above object, the present invention provides a kind of school district degree querying method, the school district degree querying methods
The following steps are included:
Obtain degree data in school district to be processed, the degree data in school district to be processed include be mutually related school information,
Cell information, school district degree relation information and information issue the moment;
It is equal with the school information and cell information of the degree information in school district to be processed to summarize lookup in database in information
Corresponding data acquisition system, using the data acquisition system found as target data set;
It is standby by being generated according to the school district degree relation information of the degree data in school district to be processed and information publication moment
Part information is stored in the target data set;
In the target data set, when the backup information corresponding information publication moment is the latest, according to institute
It states degree data in school district to be processed, updates school information and cell information having the same in school district degree inquiry database
Area's degree record;
The school district degree record that the information to be checked inputted according to user is found in school district degree inquiry database
It shows.
Preferably, the school district that the information to be checked inputted according to user is found in school district degree inquiry database is learned
The step of position record is shown, specifically includes:
Obtain the information to be checked of user's input;
According to the information to be checked, corresponding school district degree record is searched in school district degree inquiry database;
According to find school district degree record, obtain corresponding school district degree relation information, information publication the moment and
Object information;
School district degree relation information, information publication moment and the object information that will acquire are shown in map.
Preferably, the school information and cell searched in database with the degree information in school district to be processed are summarized in information
The corresponding data acquisition system of information is specifically included using the data acquisition system found as the step of target data set:
Summarize the data acquisition system in database as data acquisition system to be confirmed in information;
Obtain school information corresponding with the data acquisition system to be confirmed and multiple cell binding information;
When the school information and multiple cell binding information of the data acquisition system to be confirmed, believe with the school district degree to be processed
The school information and cell information of breath to it is corresponding when using the data acquisition system to be confirmed as target data set.
It preferably, will be raw according to the school district degree relation information of the degree data in school district to be processed and information publication moment
At backup information be stored in the target data set the step of, specifically include:
Obtain the nearest cleaning moment corresponding with the target data set;
Compare the nearest cleaning moment of acquisition and the information publication moment of the degree data in school district to be processed;
When issuing the moment earlier than the information of the degree data in school district to be processed at the nearest cleaning moment of acquisition, by basis
The backup information that school district degree relation information and information the publication moment of the degree data in school district to be processed generate is stored in institute
State target data set.
Preferably, before the step of obtaining the nearest cleaning moment corresponding with the target data set, the school district is learned
Position querying method further include:
The information is summarized be stored in recently in database data acquisition system of the moment before the first predetermined time as to
Clear up data acquisition system;
Using backup information of the information publication moment before the second predetermined time in the data acquisition system for clearance as to
Clear up backup information;
Delete the backup information for clearance, and will at the time of deletion record as with the data acquisition system for clearance
The corresponding nearest cleaning moment.
Preferably, degree data in school district to be processed are obtained, the degree data in school district to be processed include be mutually related
It the step of school information, cell information, school district degree relation information and information publication moment, specifically includes:
School district degree control information is obtained, as corrected time, at the time of will acquire school district degree control information
Area's degree control information includes be mutually related school's control information, cell control information, school district degree relationship control information;
Generate degree data in school district to be processed, the degree data in school district to be processed include be mutually related school information,
Cell information, school district degree relation information and information issue the moment, and the school information, the cell information, the school district are learned
Position relation information and information publication moment correspond to according to school's control information, the cell control information, described
School district degree relationship control information and the corrected time generate.
Preferably, degree data in school district to be processed are obtained, the degree data in school district to be processed include be mutually related
It the step of school information, cell information, school district degree relation information and information publication moment, specifically includes:
Obtain release information, it is described release information include school information, sphere of action information, school district degree relation information,
Information issues the moment;
According to the school information and the sphere of action information, corresponding cell information is searched by map;
The school information, the cell information, the school district degree relation information and the information are issued into moment phase
Association, to generate the degree data in school district to be processed.
In addition, to achieve the above object, the present invention also proposes a kind of school district degree inquiry unit, comprising:
Module is obtained, for obtaining degree data in school district to be processed, the degree data in school district to be processed include mutually closing
School information, cell information, school district degree relation information and the information of connection issue the moment;
Searching module, for summarizing the school information searched in database with the degree information in school district to be processed in information
Data acquisition system corresponding with cell information, using the data acquisition system found as target data set;
Memory module, for that will be issued according to the school district degree relation information of the degree data in school district to be processed and information
The backup information that moment generates is stored in the target data set;
Update module, for when in the target data set, the backup information corresponding information publication moment is
When the latest, according to the degree data in school district to be processed, school information having the same in school district degree inquiry database is updated
It is recorded with the school district degree of cell information;
Display module, for find the information to be checked inputted according to user in school district degree inquiry database
Degree record in school district is shown.
In addition, to achieve the above object, the present invention also proposes a kind of school district degree query facility, the school district degree inquiry
Equipment includes: memory, processor and is stored in the school district degree that can be run on the memory and on the processor and looks into
The step of inquiry program, the school district degree polling routine is arranged for carrying out school district degree querying method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, school district is stored on the storage medium
Degree polling routine, the school district degree polling routine realize school district degree issuer as described above when being executed by processor
The step of method.
In technical solution of the present invention, by will be according to the school district degree relation information of the degree data in school district to be processed
The backup information generated with the information publication moment is stored in the target data set, and is latest data in data to be stored
When, according to the degree data in school district to be processed, update in school district degree inquiry database school information having the same and small
The school district degree of area's information records, and is recorded as conducive to the school district degree made in school district degree inquiry database correct and newest.
Detailed description of the invention
Fig. 1 is the structural representation of the school district degree query facility for the hardware running environment that the embodiment of the present invention is related to
Figure;
Fig. 2 is the flow diagram of degree querying method first embodiment in school district of the present invention;
Fig. 3 is the flow diagram of degree querying method second embodiment in school district of the present invention;
Fig. 4 is the flow diagram of degree querying method 3rd embodiment in school district of the present invention;
Fig. 5 is the flow diagram of degree querying method fourth embodiment in school district of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of school district degree querying method of the present invention;
Fig. 7 is the flow diagram of degree querying method sixth embodiment in school district of the present invention;
Fig. 8 is the flow diagram of the 7th embodiment of school district degree querying method of the present invention;
Fig. 9 is the structural block diagram of the first embodiment of degree inquiry unit in school district of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the school district degree query facility structure for the hardware running environment that the embodiment of the present invention is related to
Schematic diagram.
As shown in Figure 1, the school district degree query facility may include: processor 1001, such as central processing unit
(Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory
1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.User interface 1003 may include display
Shield (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include that the wired of standard connects
Mouth, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as Wireless Fidelity
(WIreless-FIdelity, WI-FI) interface).Memory 1005 can be the random access memory (Random of high speed
Access Memory, RAM), it is also possible to stable nonvolatile memory (Non-Volatile Memory, NVM), such as
Magnetic disk storage.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the limit to school district degree query facility
It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, data storage mould in a kind of memory 1005 of storage medium
Block, network communication module, Subscriber Interface Module SIM and school district degree polling routine.
In school district degree query facility shown in Fig. 1, network interface 1004 is mainly used for being counted with network server
According to communication;User interface 1003 is mainly used for carrying out data interaction with user;Processing in degree query facility in school district of the present invention
Device 1001, memory 1005 can be set in the degree query facility of school district, and the school district degree query facility passes through processor
The school district degree polling routine stored in 1001 calling memories 1005, and execute school district degree provided in an embodiment of the present invention and look into
Inquiry method.
The embodiment of the invention provides a kind of school district degree querying methods, and referring to Fig. 2, Fig. 2 is that school district degree of the present invention is looked into
The flow diagram of inquiry method first embodiment.
In the present embodiment, the school district degree querying method the following steps are included:
Step S100: obtaining degree data in school district to be processed, and the degree data in school district to be processed include being mutually related
School information, cell information, school district degree relation information and information issue the moment;
It should be noted that the present invention for the school information concrete form with no restriction, school information tool
Body can be title, the digital number of school etc. of school.The present invention for the cell information concrete form with no restriction,
The cell information is specifically as follows the title of cell, digital number of cell etc..The relation information is specifically as follows " cell
Degree of the B with school A ", " school district of school A includes cell B ", " degree that cell B no longer has school A ", " school A
School district no longer includes cell B ", " no school district degree relationship " etc..The information publication moment is the degree number in school district to be processed
At the time of according to being published, such as at the time of publishing on school website, for example, the information publication moment can be
10 points of morning on October 8th, 2016.
In the concrete realization, the degree data in school district to be processed specifically can be by using spiders (web
It the modes such as crawler) automatically grabbing to obtain, it is a kind of according to certain rule that the spiders, which is also known as network robot,
The program or script for automatically grabbing web message, can be from education board web, school official website using the spiders
Equal targeted websites obtain the degree data in school district to be processed.Typically, spiders can be by executing several types
URL standardizes to avoid repeating to obtain to same resource.Specifically, periodically school district to be processed can be learned using electronics crawler etc.
Position data are grabbed, such as: every month, crawl was primary.Due to the policing issue of spiders, and cause in the data of crawl
There are it is a small amount of mistake in the case where, can also by manually clearing up a small amount of mistake of appearance, thus realize to school district to be processed
The acquisition of degree data.
Step S200: summarize in information and searched in database and the school information of the degree information in school district to be processed and small
The corresponding data acquisition system of area's information, using the data acquisition system found as target data set;
It should be noted that it is the database for being stored with data acquisition system that the information, which summarizes database, in the present embodiment, respectively
The data acquisition system is only corresponding with a school information and a cell information.The information summarizes the data acquisition system in database
It can be to be arranged by database maintenance personnel and formed, or automatically generated according to degree data in school district to be processed.Citing
For, the information summarizes database and is related to school A, B Gong Liangge school, school, and is related to two cell C, cell D cells.Institute
Data acquisition system X, data acquisition system Y, data acquisition system Z and data acquisition system W, totally four data sets can be equipped with by stating information and summarizing database
It closes.The data acquisition system X, the data acquisition system Y, the data acquisition system Z and the data acquisition system W can correspond to storage as follows by
Four classes degree information backup information in school district to be processed, the corresponding school information of four class degree information in school district to be processed and cell
Information can be school A and cell C, school A and cell D, school B and cell C, school B and cell D.In this way when to be processed
When the school information and cell information of area's degree data correspond to school B and cell C, the corresponding data acquisition system found is
The data acquisition system Z.It should be noted that the number of the data acquisition system can be set according to actual needs, specifically, if
Farther out, and school district degree relationship is not present in school B and cell D distance in the degree data in school district to be processed obtained in history,
It can be not provided with data acquisition system W.
Step S300: the moment will be issued according to the school district degree relation information of the degree data in school district to be processed and information
The backup information of generation is stored in the target data set;
It should be noted that being stored with backup information in the data acquisition system in the present embodiment.It should be noted that
For only data acquisition system corresponding with a school information and a cell information, the backup information can be closed only by school district degree
It is to generate at information and information publication moment, is conducive to the reduction information in this way and summarizes the memory capacity that database occupies.
It will be appreciated that being surely acquired immediately since the notice text about school district degree situation is different after distribution
It arrives, and since the content of notice text may record the content changed to the partial content in the notice issued in the past,
When causing newly to establish school district degree inquiry database, it is difficult to ensure data is correct in school district degree inquiry database, and to institute
It states school district degree inquiry database and is safeguarded more difficulty.For example, if school district degree inquiry database by
Database maintenance personnel carried out after updating according to the notice text in rear publication, and the notice text formerly issued just is searched
It arrives, in this case, database maintenance personnel need to carry out a large amount of checking work, can just decide whether that it is necessary to bases to be somebody's turn to do
The notice text first issued is updated school district degree inquiry database, inquires database to avoid the school district degree
Interior data generate mistake.In the present embodiment, by the way that degree data classification in school district to be processed to be stored in data acquisition system, it is conducive to
Update should be carried out according to the notice text in rear publication by database maintenance personnel in school district degree inquiry database
Later, the notice text formerly issued just be searched to the case where, can easily confirm newest school district degree situation.
Step S400: in the target data set, the backup information corresponding information publication moment is the latest
When, according to the degree data in school district to be processed, update in school district degree inquiry database school information having the same and small
The school district degree of area's information records;
It should be noted that the school district degree inquiry database is during carrying out the inquiry of school district degree, actually to make
Database, the school district degree inquire the school district degree record recorded in database for lookup.The present invention is for learning
With no restriction, specifically, in the present embodiment, the school district degree record includes that school district degree closes to the concrete form of area's degree record
It is information, information publication moment, cell information and school information.
In the concrete realization, if there are three backup information, three backups letters for storage in the target data set
Ceasing the corresponding information publication moment corresponds to 10 points of morning on October 8th, 2014,10 points and 2016 of morning on October 8th, 2015
10 points of morning of October 8, and in step S300 described in the target data set, the corresponding letter of the backup information of storage
The breath publication moment is 10 points of morning on October 8th, 2016, then needing to update school district according to the degree data in school district to be processed
Degree inquires the school district degree record in database, is conducive to keep the data in the school district degree inquiry database newest in this way
Data.Also, the independent school district degree of database is summarized with information by setting and inquires database so that when being inquired without
Database need to be summarized using the information, so that the data volume needed to be traversed for when inquiry be made to be reduced, be looked into be conducive to reduce
The calculation amount of inquiry simultaneously improves inquiry velocity.
Step S500: the school district that the information to be checked inputted according to user is found in school district degree inquiry database
Degree record is shown.
In the concrete realization, school district degree record can be shown by modes such as text importings, can also be incited somebody to action
School district degree recording mark goes out in map, and by map denotation, so that user be facilitated more to intuitively understand school district degree situation.
In the present embodiment, by that will be sent out according to the school district degree relation information of the degree data in school district to be processed and information
The backup information that the cloth moment generates is stored in the target data set, and when data to be stored is latest data, according to institute
It states degree data in school district to be processed, updates school information and cell information having the same in school district degree inquiry database
Degree record in area's is recorded as correct and newest conducive to the school district degree made in school district degree inquiry database.
With reference to Fig. 3, Fig. 3 is the flow diagram of degree querying method second embodiment in school district of the present invention.
Based on above-mentioned first embodiment, in the present embodiment, the step S500 can specifically include following steps:
Step S510: the information to be checked of user's input is obtained;
It, can also be by it should be noted that the query information can be obtained by way of speech recognition, image recognition
User directly carries out text input and obtains.The information to be checked can be the school information that user provides, it can according to
Corresponding cell is inquired by school, and the information to be checked may be the cell information that user provides, it can be believed according to cell
Breath inquiry school information.
Step S520: according to the information to be checked, corresponding school district degree is searched in school district degree inquiry database
Record;
It should be noted that the concrete form that the present invention records school district degree is with no restriction, and specifically, the present embodiment
In, the school district degree record includes school district degree relation information, information publication moment, cell information and school information.
Step S530: recording according to the school district degree found, obtains corresponding school district degree relation information, information publication
Moment and object information;
It should be noted that the object information is cell information or school information, and when information to be checked is school, institute
Stating object information is cell information, and when information to be checked is cell, the object information is school information.
Step S540: school district degree relation information, information publication moment and the object information that will acquire are shown in ground
Figure.
It should be noted that user according to the object information, can learn that the counterpart school inquired or counterpart are small
The situation in area issues the moment according to information, it can be determined that the reliability of information.In the concrete realization, by according to object information
The location boundary for obtaining object (school or cell), can go out the boundary marking of all objects on map.
Specifically, in step, different object informations can be shown in map, different school district degrees by different color
Relation information can be shown in map by the color depth, such as: pass through the red school information different with blue differentiation, relationship
Information is map to be identified in by the depth of color, for example have the school of school district by light red mark, and pass through peony
Mark has school with a degree.School information and relation information are identified respectively by different colours and the different depths, can increased
On big map under the premise of information content, map is made to seem more succinct.
In the present embodiment, by being identified in ground for school district degree relation information, information publication moment and object information
Figure, allow users to by watch map, intuitively understand relation information and information publication the moment and with it is to be checked
The corresponding school information of cell or cell information corresponding with the school in information to be checked in information.
With reference to Fig. 4, Fig. 4 is the flow diagram of degree querying method 3rd embodiment in school district of the present invention.
Based on above-mentioned first embodiment, in the present embodiment, the step S200 can specifically include following steps:
Step S210: summarize the data acquisition system in database as data acquisition system to be confirmed in information;
In the concrete realization, information successively can be summarized into the data acquisition system in database as data acquisition system to be confirmed,
To realize the lookup to target data set.
Step S220: school information corresponding with the data acquisition system to be confirmed and multiple cell binding information are obtained;
It should be noted that the multiple cell binding information refers to the multiple cell informations mutually bound.It will be appreciated that
Subdistrict position close to (such as: two cells only have a wall every) when, the counterpart school of different community may phase always
Together, in such a case, it is possible to which different cell is bound and forms multiple cell binding information, and by multiple cell binding information pair
Ying Zhiyi data acquisition system, to reduce the quantity of data acquisition system, when so that searching target data set, the data acquisition system that needs to be traversed for
Quantity be reduced, thus be conducive to improve search target data set efficiency.
Step S230: and described to be processed when the school information and multiple cell binding information of the data acquisition system to be confirmed
The school information and cell information of school district degree information to it is corresponding when using the data acquisition system to be confirmed as target data set
It closes.
In the present embodiment, by the way that multiple cell binding information corresponding with data acquisition system is arranged, allow to multiple cells
Information corresponds in a data acquisition system, is conducive to reduce the quantity of data acquisition system in this way, when so that searching target data set, need
The quantity for the data acquisition system to be traversed is reduced, to be conducive to improve the efficiency for searching target data set.
With reference to Fig. 5, Fig. 5 is the flow diagram of degree querying method fourth embodiment in school district of the present invention.
Based on above-mentioned first embodiment, in the present embodiment, the step S300 can specifically include following steps:
Step S310: the nearest cleaning moment corresponding with the target data set is obtained;
It should be noted that the nearest cleaning moment refers to that the last time of record clears up target data set
At the time of, in the concrete realization, the nearest cleaning moment can be inputted by database maintenance personnel to be obtained, can also root
It is obtained according to the record carried out automatically by school district degree polling routine.
Step S320: when the information at the nearest cleaning moment and the degree data in school district to be processed of comparing acquisition is issued
It carves;
Step S330: the moment is issued earlier than the information of the degree data in school district to be processed when the nearest cleaning moment of acquisition
When, it will be according to the backup information of the school district degree relation information of the degree data in school district to be processed and information publication moment generation
It is stored in the target data set.
It will be appreciated that since the data being usually cleaned are out-of-date data, therefore when the nearest cleaning moment obtained
When being later than the information publication moment of the degree data in school district to be processed, it can be determined that the degree data in school district to be processed were
When data.
In the specific implementation, after the step S320, the school district degree querying method can with comprising steps of
When the information that the nearest cleaning moment of acquisition is no earlier than the degree data in school district to be processed issues the moment, return
Step S100.
In the present embodiment, sent out by comparing the information at the nearest cleaning moment and the degree data in school district to be processed that obtain
The cloth moment can judge whether degree data in school district to be processed are out-of-date data, newer is stored in the target data
Set can be avoided the data being cleaned and be stored in target data set after the acquisition again, to reduce cleaning data
Calculation amount.
With reference to Fig. 6, Fig. 6 is the flow diagram of the 5th embodiment of school district degree querying method of the present invention.
Based on above-mentioned fourth embodiment, in the present embodiment, before the step S310, the school district degree querying method
It may comprise steps of:
Step S301: the information is summarized and is stored in data set of the moment before the first predetermined time in database recently
Cooperation is data acquisition system for clearance;
It should be noted that first predetermined time can be configured as needed by database maintenance personnel,
Can to be automatically generated according to certain calculation method, in the concrete realization, first predetermined time can for current time it
It, for example, can be by current time one at the time of preceding and time interval with current time is more than the first prefixed time interval
As the first predetermined time at the time of before a month.The nearest deposit moment refers to that the last time is into corresponding data acquisition system
At the time of storing backup information.
Typically, the nearest deposit moment of data acquisition system is more early, it may be said that learns bright school district corresponding with the data acquisition system
Position relationship changes infrequently in the recent period, it will be understood that, such data acquisition system is cleared up, database is inquired to school district degree
Correctness influence it is smaller.
Step S302: backup of the information publication moment before the second predetermined time in the data acquisition system for clearance is believed
Breath is used as backup information for clearance;
It should be noted that second predetermined time can be configured as needed by database maintenance personnel,
Can to be automatically generated according to certain calculation method, in the concrete realization, second predetermined time can for current time it
It, for example, can be by current time 15 at the time of preceding and time interval with current time is more than the second prefixed time interval
As the second predetermined time at the time of a few days ago.
It will be appreciated that the information publication moment, backup information was usually more out-of-date information earlier, to such standby
Part information is cleared up, and is influenced on the correctness of school district degree inquiry database smaller.
Step S303: deleting the backup information for clearance, and will at the time of deletion record as with described to clear
Manage the data acquisition system corresponding nearest cleaning moment.
In the present embodiment, by clearing up the backup information in data acquisition system, conducive to reducing what data acquisition system occupied
Memory capacity is also conducive to reduce the calculation amount for being compared the backup information corresponding information publication moment.
With reference to Fig. 7, Fig. 7 is the flow diagram of degree querying method sixth embodiment in school district of the present invention.
Based on above-mentioned first embodiment, in the present embodiment, the step S100 is specifically included:
Step S110: school district degree control information is obtained, as timing at the time of will acquire school district degree control information
It carves, the school district degree control information includes be mutually related school's control information, cell control information, school district degree relationship school
Positive information;
It should be noted that the school district degree control information, refers to that database maintenance personnel have found the inquiry of school district degree
When there is mistake in the data in database, the control information of input.
Step S120: generating degree data in school district to be processed, and the degree data in school district to be processed include being mutually related
School information, cell information, school district degree relation information and information issue the moment, the school information, the cell information, institute
It states school district degree relation information and the information publication moment corresponds to according to school's control information, cell correction letter
Breath, the school district degree relationship control information and the corrected time generate.
In the present embodiment, by generating degree data in school district to be processed according to school district degree control information, so that school district is learned
It can be modified by artificial mode in position inquiry database, and it is subsequent more to will not influence school district degree inquiry database
Newly.
With reference to Fig. 8, Fig. 8 is the flow diagram of the 7th embodiment of school district degree querying method of the present invention.
Based on above-mentioned first embodiment, in the present embodiment, the step S100 is specifically included:
Step S130: obtaining release information, and the release information includes school information, sphere of action information, school district degree
Relation information, information issue the moment;
It should be noted that the sphere of action information is the information for referring to indicate school district degree effective range, citing
For, the school district degree information of education board web, the website orientations such as school official website, the range according to part centered on school
It is issued, such as: there is the degree of school A apart from cell of the school A in 3 kilometer ranges, it is described public 3 apart from school A
In range be the sphere of action information.
Step S140: according to the school information and the sphere of action information, corresponding cell is searched by map and is believed
Breath;
Step S150: the school information, the cell information, the school district degree relation information and the information are sent out
The cloth moment is associated, to generate the degree data in school district to be processed.
In the present embodiment, by being searched by map corresponding according to the school information and the sphere of action information
Cell information, in the case where the range according to the degree information of school district centered on school is issued, conducive to avoiding obtaining
School information occur mistakes and omissions, thus be conducive to improve school district degree inquiry database in data accuracy.
In addition, the embodiment of the present invention also proposes a kind of storage medium, degree inquiry in school district is stored on the storage medium
Program, the school district degree polling routine realize the step of school district degree querying method as described above when being executed by processor
Suddenly.
It is the structural block diagram of degree inquiry unit first embodiment in school district of the present invention referring to Fig. 9, Fig. 9.
As shown in figure 9, the school district degree inquiry unit that the embodiment of the present invention proposes includes:
Module 100 is obtained, for obtaining degree data in school district to be processed, the degree data in school district to be processed include mutual
Associated school information, cell information, school district degree relation information and information issue the moment;
Searching module 200, for summarizing the school searched in database with the degree information in school district to be processed in information
Information and the corresponding data acquisition system of cell information, using the data acquisition system found as target data set;
Memory module 300, for will be according to the school district degree relation information and information of the degree data in school district to be processed
The backup information that the publication moment generates is stored in the target data set;
Update module 400, for when in the target data set, the corresponding information of the backup information issues the moment
For the latest when, according to the degree data in school district to be processed, update school's letter having the same in school district degree inquiry database
The school district degree of breath and cell information records;
Display module 500, for searching the information to be checked inputted according to user in school district degree inquiry database
To school district degree record show.
The other embodiments or specific implementation of degree inquiry unit in school district of the present invention can refer to above-mentioned each method and implement
Example, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as read-only memory/random access memory, magnetic disk, CD), including some instructions are used so that a terminal device (can
To be mobile phone, computer, server, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of school district degree querying method, which is characterized in that the school district degree querying method the following steps are included:
Degree data in school district to be processed are obtained, the degree data in school district to be processed include be mutually related school information, cell
Information, school district degree relation information and information issue the moment;
It is corresponding with the school information of the degree information in school district to be processed and cell information to summarize lookup in database in information
Data acquisition system, using the data acquisition system found as target data set;
The backup generated according to the school district degree relation information of the degree data in school district to be processed and information publication moment is believed
Breath is stored in the target data set;
In the target data set, when the backup information corresponding information publication moment is the latest, according to it is described to
School district degree data are handled, the school district for updating school information and cell information having the same in school district degree inquiry database is learned
Position record;
The school district degree record display that the information to be checked inputted according to user is found in school district degree inquiry database
Out.
2. degree querying method in school district as described in claim 1, which is characterized in that the information to be checked that will be inputted according to user
The step of school district degree record found in school district degree inquiry database is shown, specifically includes:
Obtain the information to be checked of user's input;
According to the information to be checked, corresponding school district degree record is searched in school district degree inquiry database;
According to the school district degree record found, corresponding school district degree relation information, information publication moment and object are obtained
Information;
School district degree relation information, information publication moment and the object information that will acquire are shown in map.
3. degree querying method in school district as described in claim 1, which is characterized in that summarize lookup and institute in database in information
State the school information and the corresponding data acquisition system of cell information of degree information in school district to be processed, the data set cooperation that will be found
It the step of for target data set, specifically includes:
Summarize the data acquisition system in database as data acquisition system to be confirmed in information;
Obtain school information corresponding with the data acquisition system to be confirmed and multiple cell binding information;
When the school information and multiple cell binding information of the data acquisition system to be confirmed, with the degree information in school district to be processed
School information and cell information to it is corresponding when using the data acquisition system to be confirmed as target data set.
4. degree querying method in school district as described in claim 1, which is characterized in that will be according to the degree number in school district to be processed
According to school district degree relation information and information publication the moment generate backup information be stored in the target data set the step of,
It specifically includes:
Obtain the nearest cleaning moment corresponding with the target data set;
Compare the nearest cleaning moment of acquisition and the information publication moment of the degree data in school district to be processed;
It, will be according to described when issuing the moment earlier than the information of the degree data in school district to be processed at the nearest cleaning moment of acquisition
The backup information that school district degree relation information and information the publication moment of degree data in school district to be processed generate is stored in the mesh
Mark data acquisition system.
5. degree querying method in school district as claimed in claim 4, which is characterized in that obtain corresponding with the target data set
The nearest cleaning moment the step of before, the school district degree querying method further include:
The information is summarized and is stored in data acquisition system of the moment before the first predetermined time in database recently as clearance
Data acquisition system;
Using backup information of the information publication moment before the second predetermined time in the data acquisition system for clearance as clearance
Backup information;
The backup information for clearance is deleted, and by record at the time of deletion as corresponding with the data acquisition system for clearance
The nearest cleaning moment.
6. degree querying method in school district as described in claim 1, which is characterized in that obtain degree data in school district to be processed, institute
Stating degree data in school district to be processed includes be mutually related school information, cell information, school district degree relation information and information hair
It the step of cloth moment, specifically includes:
School district degree control information is obtained, as corrected time at the time of will acquire school district degree control information, the school district is learned
Bit correction information includes be mutually related school's control information, cell control information, school district degree relationship control information;
Degree data in school district to be processed are generated, the degree data in school district to be processed include be mutually related school information, cell
Information, school district degree relation information and information issue the moment, and the school information, the cell information, the school district degree close
It is to correspond to according to school's control information, the cell control information, the school district at information and information publication moment
Degree relationship control information and the corrected time generate.
7. degree querying method in school district as described in claim 1, which is characterized in that obtain degree data in school district to be processed, institute
Stating degree data in school district to be processed includes be mutually related school information, cell information, school district degree relation information and information hair
It the step of cloth moment, specifically includes:
Release information is obtained, the release information includes school information, sphere of action information, school district degree relation information, information
Issue the moment;
According to the school information and the sphere of action information, corresponding cell information is searched by map;
The school information, the cell information, the school district degree relation information and the information publication moment are associated,
To generate the degree data in school district to be processed.
8. a kind of school district degree inquiry unit characterized by comprising
Module is obtained, for obtaining degree data in school district to be processed, the degree data in school district to be processed include being mutually related
School information, cell information, school district degree relation information and information issue the moment;
Searching module is searched and the school information of the degree information in school district to be processed and small for summarizing in information in database
The corresponding data acquisition system of area's information, using the data acquisition system found as target data set;
Memory module, for the moment will to be issued according to the school district degree relation information of the degree data in school district to be processed and information
The backup information of generation is stored in the target data set;
Update module, for when in the target data set, the backup information corresponding information publication moment is the latest
When, according to the degree data in school district to be processed, update in school district degree inquiry database school information having the same and small
The school district degree of area's information records;
Display module, the school district for finding the information to be checked inputted according to user in school district degree inquiry database
Degree record is shown.
9. a kind of school district degree query facility, which is characterized in that the school district degree query facility includes: memory, processor
And the school district degree polling routine that is stored on the memory and can run on the processor, the school district degree inquiry
Program is arranged for carrying out the step of school district degree querying method as described in any one of claims 1 to 7.
10. a kind of storage medium, which is characterized in that be stored with school district degree polling routine, the school district on the storage medium
Degree polling routine realizes the step of degree querying method in school district as described in any one of claim 1 to 7 when being executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910200502.1A CN110069507A (en) | 2019-03-16 | 2019-03-16 | School district degree querying method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910200502.1A CN110069507A (en) | 2019-03-16 | 2019-03-16 | School district degree querying method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110069507A true CN110069507A (en) | 2019-07-30 |
Family
ID=67366325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910200502.1A Pending CN110069507A (en) | 2019-03-16 | 2019-03-16 | School district degree querying method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110069507A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111949359A (en) * | 2020-08-24 | 2020-11-17 | 浙江万朋教育科技股份有限公司 | Method for drawing and displaying school district enrollment range based on Baidu map API |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002083027A (en) * | 2000-09-05 | 2002-03-22 | Good Com Kk | On-line real estate information batch registration system |
CA2597210A1 (en) * | 2007-08-10 | 2009-02-10 | Neil C. Hepburn | Method and system for database searching |
US20130018704A1 (en) * | 2011-07-13 | 2013-01-17 | Ying Liu | Systems and methods for determining school geographic boundaries and related searches |
CN105512281A (en) * | 2015-12-07 | 2016-04-20 | 北京奇虎科技有限公司 | Display method and device for official website type research result page |
CN108959400A (en) * | 2018-06-05 | 2018-12-07 | 中国银行股份有限公司 | Banking system data purge method and device |
-
2019
- 2019-03-16 CN CN201910200502.1A patent/CN110069507A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002083027A (en) * | 2000-09-05 | 2002-03-22 | Good Com Kk | On-line real estate information batch registration system |
CA2597210A1 (en) * | 2007-08-10 | 2009-02-10 | Neil C. Hepburn | Method and system for database searching |
US20130018704A1 (en) * | 2011-07-13 | 2013-01-17 | Ying Liu | Systems and methods for determining school geographic boundaries and related searches |
CN105512281A (en) * | 2015-12-07 | 2016-04-20 | 北京奇虎科技有限公司 | Display method and device for official website type research result page |
CN108959400A (en) * | 2018-06-05 | 2018-12-07 | 中国银行股份有限公司 | Banking system data purge method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111949359A (en) * | 2020-08-24 | 2020-11-17 | 浙江万朋教育科技股份有限公司 | Method for drawing and displaying school district enrollment range based on Baidu map API |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3819792A2 (en) | Method, apparatus, device, and storage medium for intention recommendation | |
US11681654B2 (en) | Context-based file selection | |
KR101358084B1 (en) | Information processing device and workflow processing method | |
CN104885071A (en) | Multiple device intelligent language model synchronization | |
US20080051989A1 (en) | Filtering of data layered on mapping applications | |
CN108959444A (en) | Homepage cluster system management method and device based on tree | |
CN103635903A (en) | Context-based ranking of search results | |
CN102737303A (en) | Telematics method and system | |
CN105894372A (en) | Method and device for predicting group credit | |
CN101933026A (en) | Public information transmission method, public information transmission system, central processing unit, and program | |
CN105760232B (en) | Offline cache method and system for IOS application | |
CN115345390B (en) | Behavior trajectory prediction method and device, electronic equipment and storage medium | |
EP1242913A1 (en) | Information modeling method and database searching method using the information modeling method | |
CN115017400A (en) | Application APP recommendation method and electronic equipment | |
CN109408714A (en) | A kind of recommender system and method for multi-model fusion | |
CN114511085A (en) | Entity attribute value identification method, apparatus, device, medium, and program product | |
CN107977463A (en) | image processing method, device, storage medium and terminal | |
CN110069507A (en) | School district degree querying method, device, equipment and storage medium | |
CN110851244B (en) | Intelligent terminal application management method and system based on time strategy | |
CN106599076B (en) | Forum guide map generation method and device | |
CN105760537B (en) | A kind of information processing method and information processing unit of automatic measure on line | |
KR100534070B1 (en) | Method for managing position data and system thereof | |
CN118364793A (en) | Method, device, electronic equipment and computer readable medium for displaying table with header | |
US11301482B2 (en) | Assist system and assist method | |
CN113127763A (en) | Information display method and device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190730 |