CN108427719A - A kind of owner's information screen method and device - Google Patents
A kind of owner's information screen method and device Download PDFInfo
- Publication number
- CN108427719A CN108427719A CN201810123970.9A CN201810123970A CN108427719A CN 108427719 A CN108427719 A CN 108427719A CN 201810123970 A CN201810123970 A CN 201810123970A CN 108427719 A CN108427719 A CN 108427719A
- Authority
- CN
- China
- Prior art keywords
- owner
- rule
- shielding
- information
- sub
- 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
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/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of owner's information screen method and device.Wherein, the method includes:The solicited message for checking owner's list is received, the solicited message includes owner's list ID and broker ID, and the owner ID of all owners corresponding with owner's list ID is obtained according to owner's list ID;Judged according to preset shielding rules, if judging to know that owner's information corresponding with the owner ID meets shielding condition, shields owner's information corresponding with the owner ID.The embodiment of the present invention obtains the owner ID of all owners corresponding with owner's list ID by batch, and then it may be implemented to shield while all owner ID corresponding owner's information of acquisition by judgements of shielding rules, the judgement for reducing redundancy improves shielding processing efficiency.
Description
Technical field
The present embodiments relate to field of computer technology, specially a kind of owner's information screen method and device.
Background technology
For owner's service system of potential owner's information management, it is mainly used for the acquisition and maintenance work of owner's information.
In order to preferably carry out the maintenance of owner and reduce the influence to owner, system needs to formulate certain owner's information screen rule
Then, carry out the operation behaviour of specification broker as far as possible.Under same house, it is understood that there may be multiple owners, such as owner one and owner
One wife, parent or friend etc..Owner's information screen refers to the owner for meeting shielding rules, and broker can not check it
Contact method, to contact owner, this is a kind of interruption-free safeguard measure to owner.
It is also different for the corresponding owner's information screen rule of different dimensions (system, broker, owner), for example be
System dimension, which can limit daily broker, can check the time of owner's information;Broker's dimension can limit broker and check industry daily
The quantity etc. of main information.Total owner's information screen is constituted according to certain sequence according to owner's information screen rule of different dimensions
Rule.Currently, when carrying out owner's information screen, when broker sends out the action for obtaining some owner's information, according to above-mentioned
The sequence of different dimensions owner information screen rule in total owner's information screen rule, is judged one by one, until obtaining
The information for whether needing to shield to owner's information.
Due to existing owner's information screen method, corresponding owner's information, right respectively under the house checked for broker
Each owner's information carries out corresponding shielding rules verification, is directed to the processing of each owner's information in this way, there are the repetitions of redundancy
Verification portion.For example, according to the quasi- owner's information checked of broker, daily broker defined by progress system dimensions can one by one
It checks the judgement of the time of owner's information, that is, there is the repeated authentication part of redundancy.Although the mode of owner's processing can one by one
The flow and time loss for being finally completed authentication function, but entirely handling all are very long.Such flow chart of data processing,
When user (broker) really asks processing, need to spend many time to obtain response data, the usage experience of user
It is excessively poor.
Invention content
For the redundancy determination for solving the problems, such as in prior art owner's information screen, the embodiment of the present invention provides a kind of owner
Information screen method and device.
In a first aspect, the embodiment of the present invention provides owner's information screen method, this method includes:Owner's list is checked in reception
Solicited message, the solicited message includes owner's list ID and broker ID, according to owner's list ID obtain with it is described
The owner ID of the corresponding all owners of owner's list ID;Judged according to preset shielding rules, if judge know with it is described
The corresponding owner's information of owner ID meets shielding condition, then shields owner's information corresponding with the owner ID.
Second aspect, the embodiment of the present invention provide owner's information screen device, which includes:Owner's ID acquisition modules,
The solicited message of owner's list is checked specifically for receiving, the solicited message includes owner's list ID and broker ID, according to
Owner's list ID obtains the owner ID of all owners corresponding with owner's list ID;Owner's information screen module, tool
Body according to preset shielding rules for being judged, if judging to know that owner's information corresponding with the owner ID meets shielding
Condition then shields owner's information corresponding with the owner ID.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including memory and processor, the processor and
The memory completes mutual communication by bus;The memory, which is stored with, to be referred to by the program that the processor executes
It enables, the processor calls described program instruction to be able to carry out following method:The solicited message for checking owner's list is received, it is described
Solicited message includes owner's list ID and broker ID, is obtained according to owner's list ID corresponding with owner's list ID
The owner ID of all owners;Judged according to preset shielding rules, if judging to know owner corresponding with the owner ID
Information meets shielding condition, then shields owner's information corresponding with the owner ID.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program realizes following method when being executed by processor:Receive the solicited message for checking owner's list, the request letter
Breath includes owner's list ID and broker ID, and all industry corresponding with owner's list ID are obtained according to owner's list ID
Main owner ID;Judged according to preset shielding rules, if judging to know that owner's information corresponding with the owner ID is full
Foot shielding condition, then shield owner's information corresponding with the owner ID.
The embodiment of the present invention obtains the owner ID of all owners corresponding with owner's list ID by batch, and then passes through screen
Judgements for covering rule may be implemented to shield while all owner ID corresponding owner's information of acquisition, reduce sentencing for redundancy
It is disconnected, improve shielding processing efficiency.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Some bright embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is owner's information screen method flow diagram provided in an embodiment of the present invention;
Fig. 2 is that the responsibility chain of shielding rules in owner's information screen method provided in an embodiment of the present invention designs pattern signal
Figure;
Fig. 3 is owner's information screen apparatus structure schematic diagram provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is owner's information screen method flow diagram provided in an embodiment of the present invention.As shown in Figure 1, the method includes:
Step 101, reception check the solicited message of owner's list, and the solicited message includes owner's list ID and broker
ID obtains the owner ID of all owners corresponding with owner's list ID according to owner's list ID;
One source of houses may correspond to multiple owners.Broker is when checking information of real estate, if it is desired to check owner's information,
It needs to send the solicited message for checking owner's list by way of click " checking source of houses details " or " checking owner's list ",
In, it is described to check that the solicited message of owner's list is corresponding with the source of houses.Owner's information screen device checks that owner arranges described in receiving
When the solicited message of table, according to the solicited message acquisition owner's list ID and broker ID for checking owner's list, and according to
Owner's list ID obtains the owner ID of all owners corresponding with owner's list ID, namely with ID couples of the broker
The broker answered wants the owner ID of all owners checked.It should be understood that the owner ID in addition to obtaining all owners
Outside, other owner's basic informations can be also obtained, such as owner's name, owner's phone and owner shield the time.
Step 102 is judged according to preset shielding rules, if judging to know owner's letter corresponding with the owner ID
Breath meets shielding condition, then shields owner's information corresponding with the owner ID.
Judge whether owner's information corresponding with the owner ID meets shielding condition according to preset shielding rules, if sentencing
It is disconnected to know that owner's information corresponding with the owner ID meets shielding condition, then shield the owner corresponding with the owner ID
Information.According to the difference of shielding rules, owner's information of all owners corresponding with owner's list ID can be shielded simultaneously,
Or owner's information of the other owner corresponding with owner's list ID of shielding.
The embodiment of the present invention obtains the owner ID of all owners corresponding with owner's list ID by batch, and then passes through screen
Judgements for covering rule may be implemented to shield while all owner ID corresponding owner's information of acquisition, reduce sentencing for redundancy
It is disconnected, improve shielding processing efficiency.
Further, it is based on above-described embodiment, the shielding rules are made of shielding sub-rule, the shielding sub-rule packet
Include system dimensions sub-rule, broker's dimension sub-rule and owner's dimension sub-rule;Wherein, the system dimensions sub-rule, institute
State the sub-rule that broker's dimension sub-rule or owner's dimension sub-rule include one or more respective dimensions;Described
Judge including being judged successively according to the preset order of the shielding sub-rule according to preset shielding rules.
The shielding rules are made of shielding sub-rule, and the shielding sub-rule includes system dimensions sub-rule, broker
Dimension sub-rule and owner's dimension sub-rule;The system dimensions sub-rule refers to the shielding cuckoo being arranged from the angle of system
Then, as set the time that can check and dial daily owner's phone as early 9 points to 9 points of evening, if checking owner described in then receiving
The time when solicited message of list not in this segment limit, then cope with all owner's information of owner's list that it to be checked into
Row shielding;Broker's dimension sub-rule refers to the shielding sub-rule being arranged from the angle of broker, such as sets broker and works as
Check that the transformation of owner's information is 10 day, then after owner's quantity that broker checked on the same day reaches 10, the same day is again
When the secondary solicited message for checking owner's list for receiving this broker, then all owners for coping with owner's list that it to be checked believe
Breath is shielded;Owner's dimension sub-rule refers to the shielding sub-rule being arranged from the angle of owner, such as sets owner and is in
Its owner's information should be shielded (in nearest reception broker phone 10 days) in the protection period of interval.
Wherein, the system dimensions sub-rule, broker's dimension sub-rule or owner's dimension sub-rule wrap
Include the sub-rule of one or more respective dimensions;That is, according to actual conditions, the system dimensions sub-rule, the broker
One or more can be arranged in dimension sub-rule or owner's dimension sub-rule.The shielding sub-rule constitutes the shielding
Rule, the shielding sub-rule are arranged according to preset order, namely are constituted according to the shielding sub-rule of preset order arrangement
The shielding rules.It is described according to preset shielding rules carry out judge include according to it is described shielding sub-rule preset order according to
It is secondary to be judged.
It should be understood that the shielding sub-rule must include not necessarily system dimensions sub-rule, broker's dimension cuckoo
Then and owner's dimension sub-rule, it can also only include one such or two kinds.
On the basis of the above embodiments, the embodiment of the present invention passes through by including system dimensions sub-rule, broker's dimension
The shielding sub-rule of sub-rule and owner's dimension sub-rule constitutes shielding rules, improves the reliability of shielding rules.
Further, be based on above-described embodiment, it is described according to preset shielding rules carry out judge include:First according to institute
It states system dimensions sub-rule to be judged, secondly be judged according to broker's dimension sub-rule, finally according to the industry
Main dimension sub-rule is judged.
Since system dimensions sub-rule can carry out while shielding, broker's dimension sub-rule to all owner's information
All owner's information can be carried out while be shielded, therefore, sets the priority of shielding sub-rule in shielding rules successively
For system dimensions sub-rule, broker's dimension sub-rule, owner's dimension sub-rule.Namely first according to the system dimensions cuckoo
Then judged, secondly judged according to broker's dimension sub-rule, finally according to owner's dimension sub-rule into
Row judges.
Due to system dimensions sub-rule, broker's dimension sub-rule or owner's dimension sub-rule may each comprise it is multiple corresponding
Sub-rule, when system dimensions sub-rule, broker's dimension sub-rule or owner's dimension sub-rule include multiple corresponding sub-rules
When, since the shielding rules are made of the shielding sub-rule arranged according to preset order, it is therefore desirable to set identical dimensional
Shield the priority of sub-rule.The priority for setting the shielding sub-rule of identical dimensional is set according to actual conditions.
As the shielding rules can be made of the shielding sub-rule of the prioritizing according to 1~5:
1, it can check and dial daily the time of owner's phone:Early 9 points to 9 points of evening;--- system dimensions sub-rule
2, there is the source of houses in commission, owner's information can not check;--- system dimensions sub-rule
3, broker checked owner's number, the upper limit 10 same day;--- broker's dimension sub-rule
4, owner can not dial in the interval protection period (in nearest reception broker phone 10 days) again;--- owner ties up
Spend sub-rule
5, it can not be dialed again in owner's conclusion of the business source of houses half a year;--- owner's dimension sub-rule
On the basis of the above embodiments, the embodiment of the present invention is followed successively by by the priority of setting shielding sub-rule is
Dimension of uniting sub-rule, broker's dimension sub-rule and owner's dimension sub-rule, further improve shielding processing efficiency.
Further, it is based on above-described embodiment, it is described to be judged according to preset shielding rules, if judgement knows and institute
It states the corresponding owner's information of owner ID and meets shielding condition, then shield owner's information corresponding with the owner ID and specifically wrap
It includes:Judged first according to the system dimensions sub-rule, for meeting the shielding condition of the system dimensions sub-rule
Owner's information shields;For the owner's information not shielded, further according to broker's dimension sub-rule
Judged;If the shielding condition for meeting broker's dimension sub-rule is known in judgement, do not shielded described in shielding
Owner's information;If the shielding condition for being unsatisfactory for broker's dimension sub-rule is known in judgement, do not shielded described in acquisition
Owner's information, and further judged according to owner's dimension sub-rule, if judging to know any described do not shielded
The owner's information covered meets shielding condition, then shields corresponding owner's information.
For the system dimensions sub-rule having, all owner's information suitable for owner's list.Only need carry out system
The primary judgement of dimension sub-rule, so that it may directly to come into force to all owner's information in owner's list.Such as:When checking
Between rule, in the morning before 9 points, broker cannot check.So, we directly by the state of all owner's information all
It is configured in shielding, by the way that the trigger button of owner's information is set grey (inoperable) or can check industry in triggering
The prompt message that " system checks time restriction " is popped up when main information button is realized.
For broker's dimension sub-rule, if broker is unsatisfactory for the condition checked, his requested all industry
Main information can not all be seen.Such as:After checking that 10 owners were checked in ceiling restriction, the same day daily, which today cannot
The information of other owners is checked again.It, can be directly to his all owner's information to be checked after so making statistics to broker
Shielding processing, can by by the trigger button of owner's information set grey (inoperable) or triggering check owner's information by
The prompt message that " reached and checked the upper limit today " is popped up when button is realized.
For owner's dimension sub-rule, query processing can only be carried out according to specific owner's information.Such as:Owner interval
Protection, needs the last time for inquiring each owner to answer the time of broker's phone, to judge whether the owner is being spaced
In protection period.If knowing, any owner was in the protection period of interval, corresponding owner's information screen, can be by by the industry
The trigger button of main information sets grey (inoperable) or pops up carrying for " owner's interruption-free " when owner's information button is checked in triggering
Show information realization.
The shielding rules constituted below with the shielding sub-rule of 1~5 prioritizing described in above-described embodiment are
Example describes in detail.Judged successively according to the preset order of the shielding sub-rule, namely according to shielding rules 1~5
Priority judged.
Judged first according to the system dimensions sub-rule, it is first determined whether meeting the shielding of shielding sub-rule 1
Condition, if knowing, current time in early 9 points to 9 points of the period of evening, does not illustrate the shielding strip for meeting shielding sub-rule 1
Part then shields owner's information of all owners in owner's list.If know current time be in early 9 points to 9 points of evening when
Between in section, then explanation is unsatisfactory for the shielding condition of shielding sub-rule 1, then further determines whether to meet second system mask
The shielding condition of rule namely shielding rules 2 is shielded if knowing the owner for having the source of houses in commission with the presence in owner's list
Cover corresponding owner's information;If knowing, all owners in owner's list without the source of houses in commission, illustrate to be unsatisfactory for shielding
The shielding condition of rule 2, namely explanation are unsatisfactory for the shielding condition of the system dimensions sub-rule, then for not shielding
Owner's information further judged according to broker's dimension sub-rule, namely according to shielding sub-rule 3 judged.
Broker, which is obtained, according to the broker ID in the solicited message for checking owner's list checked owner on the same day
The quantity of information illustrates to meet shielding sub-rule 3 if judging to know that this broker checks that the quantity of owner's information is more than 10
Shielding condition then shields owner's information of still unscreened all owners in owner's list;If this broker is known in judgement
Check that the quantity of owner's information is less than 10, then explanation is unsatisfactory for the shielding condition of shielding sub-rule 3, since only there are one warps
Discipline people's dimension sub-rule, therefore explanation is unsatisfactory for the shielding condition of broker's dimension sub-rule, then needs further according to the industry
Main dimension sub-rule is judged.
The sub-rule of owner's dimension described in the present embodiment includes shielding sub-rule 4 and shielding sub-rule 5.According to preferential suitable
Sequence is judged according to shielding sub-rule 4 first.Obtain owner's letter of still unscreened all owners in owner's list
Breath, owner's information includes telephone call information.If judgement knows that any owner's information was in the protection period of interval, say
Bright corresponding owner's information meets the shielding condition of shielding sub-rule 4, then shields corresponding owner's information;If judgement is known unemployed
Main information was in the protection period of interval, illustrated that unemployed main information meets the shielding condition of shielding sub-rule 4, for being unsatisfactory for shielding
Owner's information of the shielding condition of rule 4 needs further to be judged according to shielding sub-rule 5.
Judged according to shielding sub-rule 5, obtains owner's letter of still unscreened all owners in owner's list
Breath, owner's information includes source of houses deal message.If judgement know any owner's information there are the source of houses in half a year at
Record is handed over, then illustrates that corresponding owner's information meets the shielding condition of shielding sub-rule 5, then shields corresponding owner's information;If
Judge that knowing that unemployed main information strikes a bargain there are the source of houses in half a year records, and illustrates that unemployed main information meets the screen of shielding sub-rule 5
Condition is covered, shielding rules 5 is unsatisfactory at this time and unscreened owner's information can be opened and be inquired to the broker.
On the basis of the above embodiments, the embodiment of the present invention gives according to system dimensions sub-rule, broker's dimension
The priority of sub-rule and owner's dimension sub-rule carries out the concrete scheme of shielding processing, all linked with one another, improves at shielding
The reliability of reason.
Further, it is based on above-described embodiment, the method further includes:Further according to owner's dimension sub-rule
After being judged, if in the presence of the owner's information for being unsatisfactory for shielding condition, asked in the access for receiving owner's information
Judge whether owner's information meets shielding condition again according to the shielding rules when asking;If owner's information meets screen
Condition is covered, then shields owner's information;If owner's information is unsatisfactory for shielding condition, allow to access.
Since system time constantly changes, broker checks that the quantity of owner's information may also change, therefore by above-mentioned
After the judgement and processing of shielding rules described in embodiment, if will directly be unsatisfactory for owner's information opening of shielding rules to warp
Discipline people inquires, then owner's information may meet shielding condition at this time.Therefore, to further increase the reliable of shielding processing
Property, after judgement and processing according to the system dimensions sub-rule, broker's dimension sub-rule, further according to
When owner's dimension sub-rule judges, if in the presence of the owner's information for being unsatisfactory for shielding condition, such as advised by above-mentioned shielding
Then exist after 5 judgement and be unsatisfactory for shielding rules 5 and owner's information without shielding, then described is unsatisfactory for any receiving
When the access request of owner's information of shielding condition, judge whether owner's information is full again according to the shielding rules
Foot shielding condition, namely carry out whether judging owner's information successively according to the preset order of the shielding sub-rule above-mentioned
Meet shielding condition.If judgement knows that owner's information meets shielding condition, owner's information is shielded;If judgement is known
Owner's information is unsatisfactory for shielding condition, then allows to access.
On the basis of the above embodiments, the embodiment of the present invention to the owner's information for being unsatisfactory for shielding condition by carrying out
When access, the judgement of new round shielding rules is carried out, the reliability of shielding processing is further improved.
Further, it is based on above-described embodiment, the owner's information not shielded described in the acquisition specifically includes:Pass through
Inquiry database or RPC call the owner's information not shielded described in batch acquisition.
For owner's dimension sub-rule, query processing can only be carried out according to specific owner's information.In the acquisition institute
When stating the owner's information not shielded, can by batch query database or RPC (Remote Procedure Call,
Remote procedure call) realize that batch obtains, to reduce network time as far as possible.
For different business dimension sub-rules, since the data of owner's information of needs are different, such as shielding sub-rule 4 needs
Telephone call information is obtained, shielding sub-rule 5 needs to obtain source of houses deal message, therefore, according to required owner's information
Data cases, from local data base carry out batch acquisition or by RPC from other operation systems batch obtain statistical data.
On the basis of the above embodiments, the embodiment of the present invention judges for the shielding of owner's dimension, done check it is poly-
Optimization is closed, by inquiring database or RPC batches acquisition owner's information and the judgement for carrying out shielding rules, further improves screen
Cover the efficiency of processing.
Further, it is based on above-described embodiment, the shielding sub-rule constitutes institute using the design pattern based on responsibility chain
State shielding rules.
The existing implementation of owner's information screen rule, the realization of shielding rules is controlled there are the mode of hard coded,
It under the demand that shielding rules need change, needs to modify to existing code, such design, which is not obviously met, to be set
The characteristic of " being closed to modification, opened to extension " is counted in principle.Therefore, of the invention to improve flexibility and the adaptability of coding
In owner's information screen method that embodiment provides, the shielding sub-rule is using described in the design pattern composition based on responsibility chain
Shielding rules.
Fig. 2 is that the responsibility chain of shielding rules in owner's information screen method provided in an embodiment of the present invention designs pattern signal
Figure.As shown in Fig. 2, according to the priority and treatment characteristic of shielding rules, each shielding sub-rule is handled successively;Having
When the proposition of new rule, it is only necessary to carry out the change of original code into being expanded without for line discipline and can complete, meet
The opening and closing principle of Software for Design exploitation so that the iteration of system is more stablized.Under the design pattern, processor number is not limit
System, when there is demand to carry out newly-increased, directly adds corresponding note and be added.
On the basis of the above embodiments, the embodiment of the present invention needing by using the design pattern based on responsibility chain
The modification asked and it is newly-increased when, it is not necessary that other rules of existing code are modified and influenced, extension is opened, modification is closed
It closes;The maintenance and expansion of code are more succinct, and subsequent development is more directly and clear.
Fig. 3 is owner's information screen apparatus structure schematic diagram provided in an embodiment of the present invention.As shown in figure 3, described device
Including owner ID acquisition modules 10 and owner's information screen module 20, wherein:
Owner ID acquisition modules 10 are specifically used for receiving the solicited message for checking owner's list, and the solicited message includes industry
Master list ID and broker ID obtains the owner of all owners corresponding with owner's list ID according to owner's list ID
ID;
Owner ID acquisition modules 10 receive described when checking the solicited message of owner's list, check that owner arranges according to described
The solicited message of table obtains owner's list ID and broker ID, and is obtained and owner's list ID according to owner's list ID
The owner ID of corresponding all owners, namely broker corresponding with the broker ID want the owner of all owners checked
ID。
Owner's information screen module 20 be specifically used for judged according to preset shielding rules, if judge know with it is described
The corresponding owner's information of owner ID meets shielding condition, then shields owner's information corresponding with the owner ID.
Owner's information screen module 20 judges that owner's information corresponding with the owner ID is according to preset shielding rules
It is no to meet shielding condition, if judging to know that owner's information corresponding with the owner ID meets shielding condition, shielding with it is described
The corresponding owner's information of owner ID.According to the difference of shielding rules, can shield simultaneously corresponding with owner's list ID
All owners owner's information, or shielding other owner corresponding with owner's list ID owner's information.
The embodiment of the present invention obtains the owner ID of all owners corresponding with owner's list ID by batch, and then passes through screen
Judgements for covering rule may be implemented to shield while all owner ID corresponding owner's information of acquisition, reduce sentencing for redundancy
It is disconnected, improve shielding processing efficiency.
Further, it is based on above-described embodiment, the shielding rules are made of shielding sub-rule, the shielding sub-rule packet
Include system dimensions sub-rule, broker's dimension sub-rule and owner's dimension sub-rule;Wherein, the system dimensions sub-rule, institute
State the sub-rule that broker's dimension sub-rule or owner's dimension sub-rule include one or more respective dimensions;The industry
Main information shroud module 20 is specifically used for when for being judged according to preset shielding rules according to the shielding sub-rule
Preset order judged successively.
The shielding rules are made of shielding sub-rule, and the shielding sub-rule includes system dimensions sub-rule, broker
Dimension sub-rule and owner's dimension sub-rule;The system dimensions sub-rule refers to the shielding cuckoo being arranged from the angle of system
Then;Broker's dimension sub-rule refers to the shielding sub-rule being arranged from the angle of broker;Owner's dimension sub-rule
It refer to the shielding sub-rule being arranged from the angle of owner.
Wherein, the system dimensions sub-rule, broker's dimension sub-rule or owner's dimension sub-rule wrap
Include the sub-rule of one or more respective dimensions.The shielding sub-rule constitutes the shielding rules, and the shielding sub-rule is pressed
It is arranged according to preset order, namely the shielding rules is constituted according to the shielding sub-rule of preset order arrangement.Owner's information
Specifically for according to the default suitable of the shielding sub-rule when shroud module 20 is used to be judged according to preset shielding rules
Sequence is judged successively.
On the basis of the above embodiments, the embodiment of the present invention passes through by including system dimensions sub-rule, the broker
The shielding sub-rule of dimension sub-rule and owner's dimension sub-rule constitutes shielding rules, improves the reliable of shielding rules
Property.
Further, it is based on above-described embodiment, owner's information screen module 20 according to preset shielding for advising
It is specifically used for when then being judged:Judged first according to the system dimensions sub-rule, is secondly tieed up according to the broker
Degree sub-rule is judged, is finally judged according to owner's dimension sub-rule.
The priority of shielding sub-rule is followed successively by system dimensions sub-rule, broker's dimension cuckoo in setting shielding rules
Then, owner's dimension sub-rule.Namely owner's information screen module 20 judges according to the system dimensions sub-rule first,
It is secondary to be judged according to broker's dimension sub-rule, finally judged according to owner's dimension sub-rule.
Due to system dimensions sub-rule, broker's dimension sub-rule or owner's dimension sub-rule may each comprise it is multiple corresponding
Sub-rule, when system dimensions sub-rule, broker's dimension sub-rule or owner's dimension sub-rule include multiple corresponding sub-rules
When, since the shielding rules are made of the shielding sub-rule arranged according to preset order, it is therefore desirable to set identical dimensional
Shield the priority of sub-rule.
On the basis of the above embodiments, the embodiment of the present invention is followed successively by by the priority of setting shielding sub-rule is
Dimension of uniting sub-rule, broker's dimension sub-rule and owner's dimension sub-rule, further improve shielding processing efficiency.
Further, it is based on above-described embodiment, owner's information screen module 20 according to preset shielding for advising
Then judged, if judging to know that owner's information corresponding with the owner ID meets shielding condition, shielding and the owner
It is specifically used for when the corresponding owner's information of ID:Judged first according to the system dimensions sub-rule, for meeting
The owner's information for stating the shielding condition of system dimensions sub-rule shields;For the owner's information not shielded, into
One step judges according to broker's dimension sub-rule;If the shielding for meeting broker's dimension sub-rule is known in judgement
Condition, then the owner's information not shielded described in shielding;If the screen for being unsatisfactory for broker's dimension sub-rule is known in judgement
Cover condition, then the owner's information not shielded described in acquisition, and further judged according to owner's dimension sub-rule,
If judging to know that any owner's information not shielded meets shielding condition, corresponding owner's information is shielded.
For the system dimensions sub-rule having, all owner's information suitable for owner's list.Only need carry out system
The primary judgement of dimension sub-rule, so that it may directly to come into force to all owner's information in owner's list.Such as:When checking
Between rule, in the morning before 9 points, broker cannot check.So, we directly by the state of all owner's information all
It is configured in shielding.
For broker's dimension sub-rule, if broker is unsatisfactory for the condition checked, his requested all industry
Main information can not all be seen.Such as:After checking that 10 owners were checked in ceiling restriction, the same day daily, which today cannot
The information of other owners is checked again.It, can be directly to his all owner's information to be checked after so making statistics to broker
Shielding processing.
For owner's dimension sub-rule, query processing can only be carried out according to specific owner's information.Such as:Owner interval
Protection, needs the last time for inquiring each owner to answer the time of broker's phone, to judge whether the owner is being spaced
In protection period.If knowing, any owner was in the protection period of interval, corresponding owner's information screen.
On the basis of the above embodiments, the embodiment of the present invention gives according to system dimensions sub-rule, broker's dimension
The priority of sub-rule and owner's dimension sub-rule carries out the concrete scheme of shielding processing, all linked with one another, improves at shielding
The reliability of reason.
Further, it is based on above-described embodiment, owner's information screen module 20 is additionally operable to:Described in further basis
After owner's dimension sub-rule judges, if in the presence of the owner's information for being unsatisfactory for shielding condition, the industry is being received
Judge whether owner's information meets shielding condition again according to the shielding rules when access request of main information;If described
Owner's information meets shielding condition, then shields owner's information;If owner's information is unsatisfactory for shielding condition, allow to visit
It asks.
To further increase the reliability of shielding processing, by according to the system dimensions sub-rule, broker's dimension
After the judgement and processing of sub-rule, owner's information screen module 20 further judges according to owner's dimension sub-rule
When, if in the presence of the owner's information for being unsatisfactory for shielding condition, receiving to any institute for being unsatisfactory for shielding condition
When stating the access request of owner's information, judge whether owner's information meets shielding condition again according to the shielding rules,
Namely it carries out judging whether owner's information meets shielding strip successively according to the preset order of the shielding sub-rule above-mentioned
Part.If the judgement of owner's information screen module 20 knows that owner's information meets shielding condition, owner's information is shielded;If
Judgement knows that owner's information is unsatisfactory for shielding condition, then allows to access.
On the basis of the above embodiments, the embodiment of the present invention to the owner's information for being unsatisfactory for shielding condition by carrying out
When access, the judgement of new round shielding rules is carried out, the reliability of shielding processing is further improved.
Further, it is based on above-described embodiment, owner's information screen module 20 described is not shielded for obtaining
When the owner's information covered, it is specifically used for:It crosses inquiry database or RPC calls the owner's letter not shielded described in batch acquisition
Breath.
For owner's dimension sub-rule, query processing can only be carried out according to specific owner's information.In the acquisition institute
When stating the owner's information not shielded, it can realize that batch obtains by batch query database or RPC, come as far as possible
Reduce network time.
On the basis of the above embodiments, the embodiment of the present invention judges for the shielding of owner's dimension, done check it is poly-
Optimization is closed, by inquiring database or RPC batches acquisition owner's information and the judgement for carrying out shielding rules, further improves screen
Cover the efficiency of processing.
Further, it is based on above-described embodiment, the shielding sub-rule constitutes institute using the design pattern based on responsibility chain
State shielding rules.
The existing implementation of owner's information screen rule, the realization of shielding rules is controlled there are the mode of hard coded,
It under the demand that shielding rules need change, needs to modify to existing code, such design, which is not obviously met, to be set
The characteristic of " being closed to modification, opened to extension " is counted in principle.Therefore, of the invention to improve flexibility and the adaptability of coding
Sub-rule is shielded described in embodiment, and the shielding rules are constituted using the design pattern based on responsibility chain;There is carrying for new rule
When going out, it is only necessary to carry out the change of original code into being expanded without for line discipline and can complete, meet Software for Design and opened
The opening and closing principle of hair so that the iteration of system is more stablized.Under the design pattern, processor number is not limited, and is being had
When demand carries out newly-increased, directly adds corresponding note and be added.
On the basis of the above embodiments, the embodiment of the present invention needing by using the design pattern based on responsibility chain
The modification asked and it is newly-increased when, it is not necessary that other rules of existing code are modified and influenced, extension is opened, modification is closed
It closes;The maintenance and expansion of code are more succinct, and subsequent development is more directly and clear.
Device provided in an embodiment of the present invention is for the above method, and concrete function can refer to above method flow, this
Place repeats no more.
Fig. 4 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.As shown in figure 4, the electronic equipment packet
Include processor 401, memory 402 and bus 403.Wherein, the processor 401 and the memory 402 pass through the bus
403 complete mutual communication;The processor 401 is used to call the program instruction in the memory 402, above-mentioned to execute
The method that each method embodiment is provided, such as including:The solicited message for checking owner's list is received, the solicited message includes
Owner's list ID and broker ID obtains the industry of all owners corresponding with owner's list ID according to owner's list ID
Main ID;Judged according to preset shielding rules, if judging to know that owner's information corresponding with the owner ID meets shielding
Condition then shields owner's information corresponding with the owner ID.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in
Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt
When computer executes, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:Owner is checked in reception
The solicited message of list, the solicited message include owner's list ID and broker ID, according to owner's list ID obtain with
The owner ID of the corresponding all owners of owner's list ID;Judged according to preset shielding rules, if judge know with
The corresponding owner's information of the owner ID meets shielding condition, then shields owner's information corresponding with the owner ID.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage
Medium storing computer instructs, and the computer instruction makes the computer execute the side that above-mentioned each method embodiment is provided
Method, such as including:It receiving and checks the solicited message of owner's list, the solicited message includes owner's list ID and broker ID,
The owner ID of all owners corresponding with owner's list ID is obtained according to owner's list ID;It is advised according to preset shielding
Then judged, if judging to know that owner's information corresponding with the owner ID meets shielding condition, shielding and the owner
The corresponding owner's information of ID.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light
The various media that can store program code such as disk.
The embodiments such as electronic equipment described above are only schematical, illustrate as separating component wherein described
Unit may or may not be physically separated, and the component shown as unit may or may not be object
Manage unit, you can be located at a place, or may be distributed over multiple network units.It can select according to the actual needs
Some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying wound
In the case of the labour for the property made, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be expressed in the form of software products in other words, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers
It enables and using so that an electronic equipment (can be personal computer, server or the network equipment etc.) executes each embodiment
Or the method described in certain parts of embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;
And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of owner's information screen method, which is characterized in that including:
The solicited message for checking owner's list is received, the solicited message includes owner's list ID and broker ID, according to described
Owner's list ID obtains the owner ID of all owners corresponding with owner's list ID;
Judged according to preset shielding rules, if judging to know that owner's information corresponding with the owner ID meets shielding strip
Part then shields owner's information corresponding with the owner ID.
2. according to the method described in claim 1, it is characterized in that:
The shielding rules are made of shielding sub-rule, and the shielding sub-rule includes system dimensions sub-rule, broker's dimension
Sub-rule and owner's dimension sub-rule;Wherein, the system dimensions sub-rule, broker's dimension sub-rule or the owner
Dimension sub-rule includes the sub-rule of one or more respective dimensions;
It is described judge including being sentenced successively according to the preset order of the shielding sub-rule according to preset shielding rules
It is disconnected.
3. according to the method described in claim 2, it is characterized in that, it is described according to preset shielding rules carry out judge include:
Judged first according to the system dimensions sub-rule, secondly judged according to broker's dimension sub-rule,
Finally judged according to owner's dimension sub-rule.
4. according to the method described in claim 3, it is characterized in that, described judged according to preset shielding rules, if sentencing
It is disconnected to know that owner's information corresponding with the owner ID meets shielding condition, then shield the owner corresponding with the owner ID
Information specifically includes:
Judged first according to the system dimensions sub-rule, for meeting the shielding condition of the system dimensions sub-rule
Owner's information shields;
For the owner's information not shielded, further judged according to broker's dimension sub-rule;If judgement obtains
Know the shielding condition for meeting broker's dimension sub-rule, then the owner's information not shielded described in shielding;
If the shielding condition for being unsatisfactory for broker's dimension sub-rule, the owner not shielded described in acquisition are known in judgement
Information, and further judged according to owner's dimension sub-rule, if judging to know any industry not shielded
Main information meets shielding condition, then shields corresponding owner's information.
5. according to the method described in claim 4, it is characterized in that, the method further includes:
After further being judged according to owner's dimension sub-rule, if believing in the presence of the owner for being unsatisfactory for shielding condition
Whether breath, then judge owner's information when receiving the access request of owner's information again according to the shielding rules
Meet shielding condition;If owner's information meets shielding condition, owner's information is shielded;If owner's information is discontented
Foot shielding condition, then allow to access.
6. according to the method described in claim 4, it is characterized in that, the owner's information not shielded described in the acquisition is specific
Including:
The owner's information not shielded described in batch acquisition is called by inquiring database or RPC.
7. according to the method described in claim 2, it is characterized in that, the shielding sub-rule uses the design mould based on responsibility chain
Formula constitutes the shielding rules.
8. a kind of owner's information screen device, which is characterized in that including:
Owner's ID acquisition modules check that the solicited message of owner's list, the solicited message include owner's row specifically for receiving
Table id and broker ID obtain the owner ID of all owners corresponding with owner's list ID according to owner's list ID;
Owner's information screen module, specifically for being judged according to preset shielding rules, if judging to know and the owner
The corresponding owner's information of ID meets shielding condition, then shields owner's information corresponding with the owner ID.
9. a kind of electronic equipment, which is characterized in that including memory and processor, the processor and the memory pass through total
Line completes mutual communication;The memory is stored with the program instruction that can be executed by the processor, the processor tune
It is able to carry out the method as described in claim 1 to 7 is any with described program instruction.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The method as described in claim 1 to 7 is any is realized when processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810123970.9A CN108427719A (en) | 2018-02-07 | 2018-02-07 | A kind of owner's information screen method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810123970.9A CN108427719A (en) | 2018-02-07 | 2018-02-07 | A kind of owner's information screen method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108427719A true CN108427719A (en) | 2018-08-21 |
Family
ID=63156725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810123970.9A Pending CN108427719A (en) | 2018-02-07 | 2018-02-07 | A kind of owner's information screen method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108427719A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102446293A (en) * | 2010-10-13 | 2012-05-09 | 镇江雅迅软件有限责任公司 | House renting system with safety management mechanism |
CN102710623A (en) * | 2012-05-23 | 2012-10-03 | 中国电力科学研究院 | Intelligent grid electricity information privacy protection method based on multi-party interaction |
CN103729787A (en) * | 2013-11-15 | 2014-04-16 | 大连民族学院 | House rent information system |
CN103942256A (en) * | 2014-03-20 | 2014-07-23 | 沈阳化工大学 | Housing estate inquiry system |
CN104091297A (en) * | 2014-06-16 | 2014-10-08 | 海南相得不动产信息咨询有限公司 | House selling management system |
CN104156873A (en) * | 2014-07-30 | 2014-11-19 | 广东建邦计算机软件有限公司 | House renting information querying method and system |
CN104182476A (en) * | 2014-08-01 | 2014-12-03 | 广东建邦计算机软件有限公司 | Housing information publishing and inquiring method and system |
CN104199858A (en) * | 2014-08-14 | 2014-12-10 | 中国科学技术信息研究所 | Method for retrieving patent documents and visualization patent retrieving system |
CN105139306A (en) * | 2015-08-31 | 2015-12-09 | 丁澄天 | House registration system for on-line real-estate integrated information management for real-estate services |
CN106651681A (en) * | 2017-01-12 | 2017-05-10 | 安徽大尺度网络传媒有限公司 | Real estate information service system based on user data analysis |
CN107146130A (en) * | 2017-04-21 | 2017-09-08 | 无锡房查查网络科技有限公司 | A kind of house lease method and system |
CN107609172A (en) * | 2017-09-28 | 2018-01-19 | 链家网(北京)科技有限公司 | A kind of cross-system multi-dimensional data search processing method and device |
-
2018
- 2018-02-07 CN CN201810123970.9A patent/CN108427719A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102446293A (en) * | 2010-10-13 | 2012-05-09 | 镇江雅迅软件有限责任公司 | House renting system with safety management mechanism |
CN102710623A (en) * | 2012-05-23 | 2012-10-03 | 中国电力科学研究院 | Intelligent grid electricity information privacy protection method based on multi-party interaction |
CN103729787A (en) * | 2013-11-15 | 2014-04-16 | 大连民族学院 | House rent information system |
CN103942256A (en) * | 2014-03-20 | 2014-07-23 | 沈阳化工大学 | Housing estate inquiry system |
CN104091297A (en) * | 2014-06-16 | 2014-10-08 | 海南相得不动产信息咨询有限公司 | House selling management system |
CN104156873A (en) * | 2014-07-30 | 2014-11-19 | 广东建邦计算机软件有限公司 | House renting information querying method and system |
CN104182476A (en) * | 2014-08-01 | 2014-12-03 | 广东建邦计算机软件有限公司 | Housing information publishing and inquiring method and system |
CN104199858A (en) * | 2014-08-14 | 2014-12-10 | 中国科学技术信息研究所 | Method for retrieving patent documents and visualization patent retrieving system |
CN105139306A (en) * | 2015-08-31 | 2015-12-09 | 丁澄天 | House registration system for on-line real-estate integrated information management for real-estate services |
CN106651681A (en) * | 2017-01-12 | 2017-05-10 | 安徽大尺度网络传媒有限公司 | Real estate information service system based on user data analysis |
CN107146130A (en) * | 2017-04-21 | 2017-09-08 | 无锡房查查网络科技有限公司 | A kind of house lease method and system |
CN107609172A (en) * | 2017-09-28 | 2018-01-19 | 链家网(北京)科技有限公司 | A kind of cross-system multi-dimensional data search processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106127038B (en) | A kind of processing method and system of blacklist | |
CN110166632A (en) | Intelligent outgoing call processing method, device, computer equipment and storage medium | |
EP1394706B1 (en) | Network-based information management | |
CN107871083A (en) | Desensitize regular collocation method, application server and computer-readable recording medium | |
US20070106725A1 (en) | Methods, systems, and computer program products for providing a scheduler for multiple parties | |
CN109144683A (en) | Task processing method, device, system and electronic equipment | |
CN112700329A (en) | Response method of wind control rule engine and wind control rule engine | |
CN101000612A (en) | Data extensibility using external database table | |
CN107800894A (en) | A kind of phonetic prompt method and terminal device for telephony service system | |
CN108335215A (en) | Case Claims Resolution method, server and computer readable storage medium | |
CN110502515A (en) | Collecting method, device, equipment and computer readable storage medium | |
CN112597762B (en) | Blockchain system with intelligent contract data supervision function and supervision method | |
CN109597823A (en) | Data source configuration method, device, computer equipment and storage medium | |
CN108427719A (en) | A kind of owner's information screen method and device | |
CN107562842A (en) | The guard method of resource data and equipment | |
CN108805725A (en) | Risk case confirmation method, server and computer readable storage medium | |
CN108038667A (en) | Declaration form generation method, device and equipment | |
CN111640000A (en) | Data source calling method based on real-time decision | |
CN108765170A (en) | Declaration form method for risk stratification, device, computer equipment and storage medium | |
CN100388206C (en) | Method with management of an opaque user identifier for checking complete delivery of a service using a set of servers | |
CN110677446A (en) | Method and device for identifying family group users | |
CN106874088A (en) | A kind of processing method of application program self-starting, device and mobile terminal | |
CN106503576A (en) | A kind of method and device for inquiring about data of paying taxes | |
CN110149372A (en) | A kind of collecting method and block chain node device | |
CN109669928A (en) | Tactics configuring 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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing Applicant after: Seashell Housing (Beijing) Technology Co., Ltd. Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing Applicant before: Chain home network (Beijing) Technology Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180821 |