CN109002511A - A kind of intelligent recommendation method and apparatus of public lavatory - Google Patents

A kind of intelligent recommendation method and apparatus of public lavatory Download PDF

Info

Publication number
CN109002511A
CN109002511A CN201810714761.1A CN201810714761A CN109002511A CN 109002511 A CN109002511 A CN 109002511A CN 201810714761 A CN201810714761 A CN 201810714761A CN 109002511 A CN109002511 A CN 109002511A
Authority
CN
China
Prior art keywords
public lavatory
information
target
target public
user
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
Application number
CN201810714761.1A
Other languages
Chinese (zh)
Inventor
陈水清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chunmuyuan Holdings Co Ltd
Original Assignee
Shenzhen Chunmuyuan Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Chunmuyuan Holdings Co Ltd filed Critical Shenzhen Chunmuyuan Holdings Co Ltd
Priority to CN201810714761.1A priority Critical patent/CN109002511A/en
Publication of CN109002511A publication Critical patent/CN109002511A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present embodiments relate to fields of communication technology, disclose a kind of intelligent recommendation method and apparatus of public lavatory.The information of target public lavatory is obtained according to current location information, if the number of the target public lavatory got is greater than one, prompts selection target attribute information in user's dependence information;According to the location information of target property information and target public lavatory, target public lavatory is ranked up;The information of top n target public lavatory after showing sequence, N are less than or equal to the number of the target public lavatory got.The information of target public lavatory is obtained according to current location information, and when the number of the target public lavatory got is greater than one, user is prompted to select the attribute information for being ranked up to target public lavatory, result is ranked up according to the user's choice, show the target public lavatory for meeting user demand to recommend user, it matches the public lavatory recommended more with the demand of user, meets the habit that user uses public lavatory.

Description

A kind of intelligent recommendation method and apparatus of public lavatory
Technical field
The present embodiments relate to field of communication technology, in particular to the intelligent recommendation method and apparatus of a kind of public lavatory.
Background technique
In people's daily life, it can all encounter due to travelling or is other and go in a strange environment. Due to being unfamiliar with to neighbouring environment, often meet difficulty when finding public lavatory.
At least there are the following problems in the prior art for inventor's discovery: in general, people can take to people around Carry out inquiry mode to ask for help, but in this way when, can due to locals use dialect, cause not carrying out It is effective to link up;And another way people can be using by finding public lavatory, but the process of searching road sign by the way of checking road sign In can take considerable time and energy, when road sign is not particularly evident, by checking that it is just more tired that road sign finds public lavatory It is difficult.
Summary of the invention
A kind of intelligent recommendation method and apparatus for being designed to provide public lavatory of embodiment of the present invention, make it possible to basis The current location of user be user recommend public lavatory information, and by provide public lavatory information sifting prompt, make recommend public lavatory with The demand of user more matches, and meets the habit that user uses public lavatory.
In order to solve the above technical problems, embodiments of the present invention provide a kind of intelligent recommendation method of public lavatory, including Following steps:
The information of target public lavatory is obtained according to current location information, target public lavatory is to be less than pre-determined distance apart from current location Public lavatory;Wherein, the information of target public lavatory includes at least location information and attribute information, and attribute information includes at least: specification letter Breath and cost information;
If the number of the target public lavatory got is greater than one, selection target attribute in user's dependence information is prompted to believe Breath;
According to the location information of the target property information of user's selection and target public lavatory, target public lavatory is ranked up;
The information of top n target public lavatory after showing sequence, is shown in human-computer interaction interface, and N, which is less than or equal to, to be obtained The number of the target public lavatory arrived, wherein N is positive integer.
Embodiments of the present invention additionally provide a kind of intelligent recommendation device of public lavatory, comprising: at least one processor;With And
The memory being connect at least one processor communication;Wherein,
Memory is stored with the instruction that can be executed by least one processor, and instruction is executed by least one processor, with At least one processor is set to be able to carry out the intelligent recommendation method of above-mentioned public lavatory.
Embodiment of the present invention in terms of existing technologies, the information of target public lavatory is obtained according to current location information, And when the number of the target public lavatory got is greater than one, user's selection can be prompted for being ranked up to target public lavatory Attribute information, result is ranked up according to the user's choice, and is screened to ranking results, is shown and is met user demand Target public lavatory is to recommend user, so that the public lavatory recommended be made more to match with the demand of user, and finds target public affairs for user It provides convenience in lavatory.
In addition, after the information for showing the top n target public lavatory after sequence, further includes: determine the target of user's selection Public lavatory;The target public lavatory that user is selected, the cis-position in the sequence of target public lavatory are recorded as user and select cis-position;It will be nearest The user recorded at least twice selects cis-position, the candidate value as N;In the candidate value of N, value of the maximum value as N is chosen, and Save the value of N.So as to be accustomed to recording according to the user's choice, to determine the value of N, accord with the target public lavatory recommended more Share the hobby at family.
In addition, after the information for showing the top n target public lavatory after sequence, further includes: if detecting user's selection more Fresh target public lavatory then shows the information of the target public lavatory after being ranked up.The information of top n target public lavatory after sequence is not When meeting the demand of user, user can choose more fresh target public lavatory, after the more fresh target public lavatory instruction for receiving user, then The information for the target public lavatory that will acquire all is shown according to the sequence of sequence, avoids the setting due to N too small, cause The case where target public lavatory of recommendation is unsatisfactory for user demand generation.
In addition, being ranked up, specifically including to target public lavatory according to the target property information that user selects: if user selects The target property information selected is greater than one kind, then according to the location information of each target property information and target public lavatory, respectively Target public lavatory is ranked up;The information of top n target public lavatory after showing sequence, specifically includes: after detection is sorted respectively In top n target public lavatory, if there are identical target public lavatorys;Identical target public lavatory if it exists, then show identical target The information of public lavatory.When being greater than a kind of due to the attribute information selected in user, the information of the top n target public lavatory after it will sort It is each comprehensive attribute information when being shown, obtained from the result being ranked up respectively to target public lavatory.To make to push away The public lavatory recommended can meet multiple demands of user simultaneously.
In addition, identical target public lavatory if it does not exist, then show and sorted according to the target property information that user selects at first The information of top n target public lavatory afterwards, is shown in human-computer interaction interface.
In addition, obtaining the information of target public lavatory according to current location information, specifically includes: current location information is sent to Cloud server searches for target public lavatory for cloud server according to current location information;Receive the target of cloud server feedback The information of public lavatory.By the way that current location information is sent to cloud server, and target public lavatory is searched for by cloud server, from And reduce the burden of local runtime.
In addition, attribute information includes: the current flow of the people information of specification information, cost information and target public lavatory;Receive cloud The information of the target public lavatory of server feedback is held, specifically: receive location information, the rule of the target public lavatory of cloud server feedback Lattice information, cost information and current flow of the people information.
In addition, timing obtains public lavatory map from cloud server, public lavatory map includes the information of each public lavatory;By present bit Whether confidence breath is sent to before cloud server, detect normal with the communication link of cloud server;If communication link is normal, It then executes again and current location information is sent to cloud server;If communication link is abnormal, according to current location information and most The public lavatory map closely once obtained, in the information of local search target public lavatory.The local information by obtaining public lavatory from server, And timing updates, therefore when requiring to look up, can search network is problematic.
In addition, increasing pre-determined distance if the number of the target public lavatory got is less than or equal to one with preset step-length; The information that target public lavatory is obtained according to current location information is re-executed, until the number of the target public lavatory got is greater than one It is a.When the number of the target public lavatory got is less than or equal to one, by adjusting pre-determined distance, get satisfactory The number of target public lavatory, to recommend the target public lavatory for meeting actual demand for user.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment.
Fig. 1 is the flow chart of the intelligent recommendation method of public lavatory in the application first embodiment;
Fig. 2 is the flow chart of the intelligent recommendation method of public lavatory in the application second embodiment;
Fig. 3 is the flow chart of the intelligent recommendation method of public lavatory in the application 3rd embodiment;
Fig. 4 is the structural schematic diagram of the intelligent recommendation device of public lavatory in the application fourth embodiment.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of intelligent recommendation methods of public lavatory.The intelligent recommendation method of the public lavatory Executing subject can be the electronic equipments such as mobile terminal.Detailed process is as shown in Figure 1, comprising the following steps:
Step 101, the information of target public lavatory is obtained according to current location information, target public lavatory is to be less than apart from current location The public lavatory of pre-determined distance.
It should be noted that pre-determined distance is arranged in advance, such as it is 100m, table that default value, which can be set, in pre-determined distance Show acquisition centered on current location, using 100m as the public lavatory information in radius location.Certainly, in practical applications, in advance If distance is to modify in real time on the basis of default value according to the needs of users, to meet user demand.
Wherein, the information of target public lavatory includes at least location information and attribute information, and attribute information includes at least: rule Lattice information and cost information.In addition, attribute information can also include the current people information of target public lavatory.Specification information refers to The construction grade of public lavatory, for example, the public lavatory for being located at tourist attractions attachment, since equipment is complete, building ranking is one Grade;Although the public lavatory facility being sited in a park is more complete, compared to it is less better for tourist attractions, therefore build grade comment It is set to second level;Since facility is incomplete, construction ranking is three-level for public lavatory in food market.
Specifically, it when obtaining the information of target public lavatory according to current location, is sent to using by current location information Cloud server searches for target public lavatory according to current location information for cloud server, and it is anti-that mobile terminal receives cloud server The information of the target public lavatory of feedback, i.e. location information, specification information, the cost information of the target public lavatory of reception cloud server feedback With current flow of the people information.Current location information is sent to cloud server by then passing through, and is searched by cloud server Rope target public lavatory improves the speed of processing locality data to reduce local operation burden.
It should be noted that the specific acquisition modes of current people information of target public lavatory, can be the entrance peace in public lavatory Inductor is filled, for example, optical sensor or sound transducer, acquires the information of switch gate by inductor, and by switch gate For information real-time Transmission to cloud server, cloud server can carry out analysis according to the information of switch gate to obtain target public affairs The current people information in lavatory, and saved by cloud server.As long as the sensor of the information of switch gate can be got all Meet the requirement of the embodiment of the present application, the embodiment of the present application is not defined the concrete type of sensor.
Step 102, judge whether the number of the target public lavatory got is greater than one.If it is determined that the target public lavatory got Number be greater than one, then follow the steps 103, it is no to then follow the steps 104.
Step 103, selection target attribute information in user's dependence information is prompted.
At one in the specific implementation, when the number of the target public lavatory got is 6, mobile terminal can issue prompt letter Breath, which can prompt for voice prompting or picture, for example, voice prompting " asking selection target attribute information " is issued, After then user hears the voice prompting, the attribute for carrying out target public lavatory sequence can choose;Alternatively, in human-computer interaction circle Display carries out the attribute information option 1,2 and 3 of selection for user on face.Wherein, it 1 indicates " specification information please be select to be arranged Sequence ", 2 indicate " cost information please be selected to be ranked up ", and 3 indicate " the current flow of the people information of selection target public lavatory to be asked to be arranged Sequence ".Therefore, when user is after hearing voice prompting or seeing the information of picture prompt, so that it may carry out corresponding selection target The operation of attribute information.Certainly, it can also be mentioned using other prompting modes as long as can be played to user in present embodiment The effect shown, all within the scope of protection of this application.
Step 104, pre-determined distance is increased with preset step-length.
It should be noted that when the number for determining the target public lavatory got is less than or equal to one, in current preset Preset step-length is added on the basis of distance, to obtain the new pre-determined distance after increasing, and the new pre-determined distance after increase On the basis of, it re-execute the steps 101.
At one in the specific implementation, setting preset step-length is 50m, if search is less than public affairs within the scope of pre-determined distance 100m Lavatory only searches one, then preset step-length 50m is added on the basis of the default value 100m of pre-determined distance, thus will it is default away from From being expanded to 150m.If within the scope of pre-determined distance 150m still search less than public lavatory or only search one if in pre-determined distance Preset step-length 50m can be added on the basis of 150m again, pre-determined distance is expanded to 200m, and so on, until final It can guarantee to search at least two target public lavatorys within the scope of determining pre-determined distance.
Step 105, according to the location information of target property information and target public lavatory, target public lavatory is ranked up.
It specifically, can be accordingly according to selected objective attribute target attribute after the target property information for determining user's selection The location information of information and target public lavatory is ranked up.
For example, when determining the target property information that user selects for cost information, it can be according to charge information with from low to high Sequence target public lavatory is ranked up;It, can be according to specification when determining the target property information that user selects for specification information The sequence of information from high to low is ranked up (level-one is highest size values) to target public lavatory;When the target for determining user's selection When attribute information is the current flow of the people information of target public lavatory, can according to target public lavatory current flow of the people information from low to high Sequence is ranked up.And when being ranked up according to cost information, if there is the identical situation of public lavatory cost information, then root According to the location information of target public lavatory, it is ranked up according to the sequence of target public lavatory distance from the near to the remote;When according to specification information into When row sequence, if there is the identical situation of target public lavatory specification information, then according to the location information of target public lavatory, according to target The sequence of the distance of public lavatory from the near to the remote is ranked up;When being ranked up according to the current flow of the people information of target public lavatory, such as There is the identical situation of current flow of the people information of target public lavatory in fruit, then according to the location information of target public lavatory, according to target public affairs The distance of the distance in lavatory from the near to the remote is ranked up.
It is as shown in table 2 according to specification information to mesh as shown in table 1 to be ranked up according to cost information to target public lavatory Mark public lavatory is ranked up, and is as shown in table 3 to be ranked up according to the current flow of the people information of target public lavatory.
Table 1
Table 2
Sequence Mark Specification Distance
1 Target public lavatory four Level-one 150
2 Target public lavatory three Second level 100
3 Target public lavatory five Three-level 70
4 Target public lavatory one Three-level 80
5 Target public lavatory two Level Four 200
6 Target public lavatory six Pyatyi 160
Table 3
Step 106, the information of the top n target public lavatory after sequence is shown.
Wherein, N is less than or equal to the number of the target public lavatory got, wherein N is positive integer.For example, with 1 basis of table It is target public lavatory respectively although the number of the target public lavatory got is 6 for cost information is ranked up target public lavatory One, target public lavatory two, target public lavatory three, target public lavatory four, target public lavatory five and target public lavatory six, and according to cost information by low It is ranked up to height.The information of target public lavatory in present embodiment can be shown on human-computer interaction interface, but it is true to work as user Determine only to show that preceding 5 targets public lavatory information after sequence only shows sequence then when showing on human-computer interaction interface when N is 5 Forward target public lavatory one, target public lavatory three, target public lavatory five, the information of target public lavatory two and target public lavatory four, remaining mesh Mark public lavatory information is no longer shown.
Specifically, the N in the embodiment of the present application is dynamic change.The letter of top n target public lavatory after it will sort Breath, after being shown in human-computer interaction interface.The target public lavatory that user can be selected, the cis-position in the sequence of target public lavatory, record Cis-position is selected for user.The user recorded at least twice recently is selected into cis-position, the candidate value as N.In the candidate value of N, Value of the maximum value as N is selected, and saves the value of N.
It should be noted that cis-position refer to user selection sequence in it is preceding several, for example, when user selection be row First in sequence, be exactly 1 in cis-position.Take sequence in it is preceding it is several shown, be according to user in nearest time range The position of the public lavatory of selection in the ranking determines.For example, after being ranked up according to expense attribute to target public lavatory, first When secondary selection, user's selection is the 4th public lavatory in sequence, and when second selects, user's selection is the in sequence Three public lavatorys, then when third time selects, the value of N just takes 4.So as to be accustomed to recording according to the user's choice, to determine N Value, so that the target public lavatory recommended is more in line with the hobby of user.
Specifically, the type selecting of more fresh target public lavatory is equipped in human-computer interaction interface.Top n target after it will sort The information of public lavatory, after being shown in human-computer interaction interface, if after detecting that user selects more fresh target public lavatory, displaying to be ranked up Target public lavatory information.When the information of the target public lavatory of the preceding N of sequence does not comply with the demand of user, user be can choose More fresh target public lavatory, after the more fresh target public lavatory instruction for receiving user, then the information for the target public lavatory that will acquire, according to Sequence after sequence is all shown, avoids the setting due to N too small, and causing the target public lavatory recommended to be unsatisfactory for user needs The case where asking.
Compared with prior art, the intelligent recommendation method for the public lavatory that present embodiment provides, is obtained according to current location information Take the information of target public lavatory, and when the number of the target public lavatory got is greater than one, can prompt user's selection for pair The attribute information that target public lavatory is ranked up, result is ranked up according to the user's choice, and is screened to ranking results, is shown The target public lavatory for meeting user demand is shown to recommend user, thus match the public lavatory recommended more with the demand of user, And target public lavatory is found for user and is provided convenience.
Second embodiment of the present invention is related to a kind of intelligent recommendation method of public lavatory.The present embodiment is in first embodiment On the basis of be further improved, specific improvements are as follows: be in the first embodiment according to user select attribute information The target public lavatory of acquisition is screened and shown in the case where for one kind, and can judge user in this second embodiment and select Whether the number for the attribute information selected is greater than one, and the different situations of the number according to the attribute information of user's selection, to obtaining The target public lavatory taken is screened and is shown respectively.
The process of the intelligent recommendation method of public lavatory in the present embodiment is as shown in Figure 2.Specifically, in the present embodiment, Including step 201 to step 211, wherein the step 101 in step 201 to step 204 and first embodiment is big to step 104 Cause, step 210 to step 211 and the step 105 in first embodiment to step 106 it is roughly the same details are not described herein again, under Difference is mainly introduced in face, not the technical detail of detailed description in the present embodiment, reference can be made to first embodiment is provided Public lavatory intelligent recommendation method, details are not described herein again.
After step 203, step 205 is executed.
In step 205, judge whether the target property information of user's selection is greater than one, if so, thening follow the steps 206, it is no to then follow the steps 210.
In step 206, according to the location information of each target property information and target public lavatory, respectively to target public affairs Lavatory is ranked up.
Specifically, in the present embodiment, when the attribute information selected according to user, target public lavatory is ranked up When, user can be ranked up target public lavatory with simultaneous selection at least two target property information.
In the specific implementation, being illustrated by taking four kinds of situations as an example, the first situation: when the target property information of user's selection When for specification information and cost information, then target public lavatory is ranked up according to the sequence of specification information from high to low, is pressed simultaneously Target public lavatory is ranked up respectively according to the sequence of cost information from low to high;Second situation: when the target category of user's selection Property information when being the current flow of the people information of specification information and target public lavatory, then according to specification information sequence from high to low to mesh Mark public lavatory be ranked up, while according to the sequence of the current flow of the people information of target public lavatory from low to high respectively to target public lavatory into Row sequence;The third situation: when the target property information that user selects is believed for cost information and the current flow of the people of target public lavatory When breath, then target public lavatory is ranked up according to the sequence of cost information from low to high, while working as forefathers according to target public lavatory The sequence of flow information from low to high is respectively ranked up target public lavatory;4th kind of situation: when the objective attribute target attribute of user's selection When information is specification information, cost information and when the current flow of the people information of target public lavatory, then from high to low according to specification information Sequence target public lavatory is ranked up, target public lavatory is ranked up according to the sequence of cost information from low to high, is pressed simultaneously Target public lavatory is ranked up respectively according to the current flow of the people information sequence from low to high of target public lavatory.
In step 207, in the top n target public lavatory after detection is sorted respectively, if there are identical target public lavatorys.If In the presence of, then follow the steps 208, it is no to then follow the steps 209.
Specifically, in the present embodiment, at least two attributes selected according to user respectively to target public lavatory into After row sequence, the information of the top n target public lavatory after sequence before being shown in human-computer interaction interface, can arrange in detection first It whether there is identical target public lavatory in top n target public lavatory after sequence.
For example, being illustrated by taking Tables 1 and 2 as an example, if user's simultaneous selection is according to cost information and specification information pair Target public lavatory is ranked up, and determines that N is 3, then first three being ranked up according to cost information to target public lavatory in detection table 1 A target public lavatory is identical as whether there is according to specification information to first three target public lavatory that target public lavatory is ranked up in table 2 Target public lavatory.
In a step 208, the information of identical target public lavatory is shown.
Specifically, when being shown on human-computer interaction interface, in top n target public lavatory after detection is sorted respectively There are when identical target public lavatory, then only the information of identical target public lavatory is shown on human-computer interaction interface.
For example, as shown in Table 1 and Table 2, when determining N is 3, because of the preceding 3 target public lavatorys to sort according to cost information In, and according to specification information sequence preceding 3 target public lavatorys in exist simultaneously identical target public lavatory three and target public lavatory five, because This on human-computer interaction interface simultaneously displaying target public lavatory three and target public lavatory five information.
In step 209, the top n target public lavatory after sorting according to the target property information that user selects at first is shown Information.
It should be noted that if detecting in the top n target public lavatory after sorting respectively, identical target public lavatory is not present, For example, selecting to be ranked up according to cost information respectively to be ranked up with specification information, N 3.But it sorts according to cost information Preceding 3 target public lavatorys in, and according to specification information sequence preceding 3 target public lavatorys in be not present identical target public lavatory, such as What fruit user selected at first is ranked up according to cost information, then the preceding 3 target public lavatorys that will only sort according to cost information Information be shown on man-machine interface.
Compared with prior art, the intelligent recommendation method for the public lavatory that present embodiment provides, is obtained according to current location information Take the information of target public lavatory, and when the number of the target public lavatory got is greater than one, can prompt user's selection for pair The attribute information that target public lavatory is ranked up, result is ranked up according to the user's choice, and is screened to ranking results, is shown The target public lavatory for meeting user demand is shown to recommend user, thus match the public lavatory recommended more with the demand of user, And target public lavatory is found for user and is provided convenience.It can judge whether the number of the attribute information of user's selection is greater than one, And the different situations of the number according to the attribute information of user's selection, the target public lavatory of acquisition is screened and shown, thus The further satisfaction demand of user.
The third embodiment of the present invention is related to a kind of intelligent recommendation method of public lavatory.Base of the present embodiment in first embodiment It is further improved on plinth, specific improvements are as follows: obtained by the way of timing from cloud server in the present embodiment Public lavatory map is taken, and before the information for obtaining target public lavatory according to current location, the access chain of detection and cloud server Whether road is normal.And divide the information of different situations acquisition target public lavatory according to judging result.
The process of the intelligent recommendation method of public lavatory in the present embodiment is as shown in Figure 3.Specifically, in the present embodiment, Including step 301 to step 310, wherein the step 102 in step 306 to step 310 and first embodiment is big to step 106 It causes, step 304 to step 305 is illustrating to step 101, difference is mainly introduced below, not in present embodiment In detailed description technical detail, reference can be made to the intelligent recommendation method of public lavatory provided by first embodiment, details are not described herein again.
Step 301, public lavatory map periodically is obtained from cloud server.
It wherein, include the information of each public lavatory in public lavatory map, user can be with self-setting timing, such as at interval of 1 point As soon as clock just obtains time public lavatory map from cloud server, or obtains a public lavatory map from server at interval of 5 minutes.This Application embodiment does not limit the specific time of timing.
Step 302, whether detection is normal with the access link of cloud server, if so, thening follow the steps 304, otherwise, holds Row step 303.
Step 303, according to current location and the last public lavatory map obtained, in the letter of local search target public lavatory Breath.
Wherein, public lavatory map is obtained from cloud server due to being timing, so logical with cloud server when detecting In the case where the link exception of road, if user setting be at interval of 5 minutes if from server obtain a public lavatory map, example Such as, when 8:50 gets a public lavatory map, and detect Network Abnormal in 8:54, then according to current location and 8:50 when obtain The public lavatory map got, in the information of local search target public lavatory.
Step 304, current location information is sent to cloud server, for cloud server according to current location information, Target public lavatory is searched for, and reminds user current location information in real time.
Wherein, by the way that current location information is sent to cloud server, and target public lavatory is searched for by cloud server, To reduce the burden of local runtime.
Step 305, the information of the target public lavatory of cloud server feedback is received.
Step 306, judge whether the number of the target public lavatory got is greater than one.If it is determined that the target public lavatory got Number be greater than one, then follow the steps 307, it is no to then follow the steps 308.
Step 307, prompt user selects the attribute information for being ranked up to target public lavatory.
At one in the specific implementation, when the number of the target public lavatory got is 6, mobile terminal can issue prompt letter Breath, the prompt information can prompt for voice prompting or picture, for example, issuing voice prompting " please select the attribute being ranked up Information " after then user hears the voice prompting, can choose the attribute for carrying out target public lavatory sequence;Alternatively, man-machine Display carries out the attribute information option 1,2 and 3 of selection for user on interactive interface.Wherein, 1 indicate " please select specification information into Row sequence ", 2 indicate " cost information please be select to be ranked up ", 3 indicate " ask the current flow of the people information of selection target public lavatory into Row sequence ".Therefore, when user is after hearing voice prompting or seeing the information of picture prompt, so that it may be selected accordingly The operation of attribute information.Certainly, it can also be mentioned using other prompting modes as long as can be played to user in present embodiment The effect shown, all within the scope of protection of this application.
Step 308, pre-determined distance is increased with preset step-length.
It should be noted that when the number for determining the target public lavatory got is less than or equal to one, in current preset Preset step-length is added on the basis of distance, to obtain the new pre-determined distance after increasing, and the new pre-determined distance after increase On the basis of, it re-execute the steps 304.
Step 309, according to user selection target property information and target public lavatory location information, to target public lavatory into Row sequence.
It specifically, can be accordingly according to selected target property information after the attribute information for determining user's selection And the location information of target public lavatory is ranked up.
It, can be suitable with from low to high according to charge information for example, when determining the attribute information that user selects for cost information Ordered pair target public lavatory is ranked up;It, can be according to specification information by height when determining the attribute information that user selects for specification information (level-one is highest size values) is ranked up to target public lavatory to low sequence;When determining the attribute information that user selects for mesh When marking the current flow of the people information of public lavatory, it can be arranged according to the current flow of the people information sequence from low to high of target public lavatory Sequence.And when being ranked up according to cost information, if there is the identical situation of public lavatory cost information, then according to target public lavatory Location information, be ranked up according to target public lavatory distance sequence from the near to the remote;When being ranked up according to specification information, such as There is the identical situation of target public lavatory specification information in fruit, then according to the location information of target public lavatory, according to the distance of target public lavatory Sequence from the near to the remote is ranked up;When being ranked up according to the current flow of the people information of target public lavatory, if there is target The identical situation of the current flow of the people information of public lavatory, then according to the location information of target public lavatory, according to target public lavatory distance by Remote distance is closely arrived to be ranked up.
Step 310, the information of the top n target public lavatory after sequence is shown.
Wherein, N is less than the number of the target public lavatory got.N in the embodiment of the present application is dynamic change.It will arrange The information of top n target public lavatory after sequence, after being shown in human-computer interaction interface.The target public lavatory that user can be selected, in target Cis-position in the sequence of public lavatory is recorded as user and selects cis-position.The user recorded at least twice recently is selected into cis-position, as N Candidate value.In the candidate value of N, value of the maximum value as N is selected, and saves the value of N.
Compared with prior art, the intelligent recommendation method for the public lavatory that present embodiment provides, is obtained according to current location information Take the information of target public lavatory, and when the number of the target public lavatory got is greater than one, can prompt user's selection for pair The attribute information that target public lavatory is ranked up, result is ranked up according to the user's choice, and is screened to ranking results, is shown The target public lavatory for meeting user demand is shown to recommend user, thus match the public lavatory recommended more with the demand of user, Meet the habit that user uses public lavatory.And public lavatory map is obtained from cloud server by the way of timing, therefore when detection In the case where with cloud server access link exception, using the information in local search target public lavatory, avoid due to chain The case where road can not get target public lavatory information extremely generation.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed Core design with process is all in the protection scope of the patent.
Four embodiment of the invention is related to a kind of intelligent recommendation device of public lavatory, as shown in figure 4, including at least one Manage device 501;And the memory 502 with the communication connection of at least one processor 501;Wherein, be stored with can quilt for memory 502 The instruction that at least one processor 501 executes, instruction is executed by least one processor 501, so that at least one processor 501 It is able to carry out the intelligent recommendation method of the public lavatory in above-described embodiment.
In the present embodiment, for processor 501 is with central processing unit (Central Processing Unit, CPU), deposit For reservoir 502 is with readable and writable memory (Random Access Memory, RAM).Processor 501, memory 502 can be with It is connected by bus or other modes, in Fig. 4 for being connected by bus.Memory 502 is used as a kind of non-volatile meter Calculation machine readable storage medium storing program for executing can be used for storing non-volatile software program, non-volatile computer executable program and module, As realized in the embodiment of the present application, the program of the intelligent recommendation method of public lavatory is stored in memory 502.Processor 501 passes through Non-volatile software program, instruction and the module being stored in memory 502 are run, is answered thereby executing the various functions of equipment With and data processing, that is, realize the intelligent recommendation method of above-mentioned public lavatory.
Memory 502 may include storing program area and storage data area, wherein storing program area can store operation system Application program required for system, at least one function;It storage data area can the Save option list etc..In addition, memory can wrap High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other non-volatile solid state memory parts.In some embodiments, it includes relative to processor 501 that memory 502 is optional Remotely located memory, these remote memories can pass through network connection to external equipment.The example of above-mentioned network includes But be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
One or more program module is stored in memory 502, is executed when by one or more processor 501 When, execute the intelligent recommendation method of the public lavatory in above-mentioned any means embodiment.
Method provided by the embodiment of the present application can be performed in the said goods, has the corresponding functional module of execution method and has Beneficial effect, the not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present application.
The 5th embodiment of the application is related to a kind of computer readable storage medium, in the computer readable storage medium It is stored with computer program, which can be realized when being executed by processor involved in any means embodiment of the present invention Public lavatory intelligent recommendation method.
It will be understood by those skilled in the art that implementing the method for the above embodiments is that can pass through Program is completed to instruct relevant hardware, which is stored in a storage medium, including some instructions are used so that one A equipment (can be single-chip microcontroller, chip etc.) or processor (processor) execute each embodiment the method for the application All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (10)

1. a kind of intelligent recommendation method of public lavatory characterized by comprising
The information of target public lavatory is obtained according to current location information, the target public lavatory is to be less than to preset apart from the current location The public lavatory of distance, wherein the information of the target public lavatory includes at least location information and attribute information;
If the number of the target public lavatory got is greater than one, user's selection target category from the attribute information is prompted Property information;
It is public to the target according to the location information of the target property information of user selection and the target public lavatory Lavatory is ranked up;
The information of top n target public lavatory after showing sequence, the N are less than or equal to of the target public lavatory got Number, wherein N is positive integer.
2. the intelligent recommendation method of public lavatory according to claim 1, which is characterized in that in the preceding N shown after sorting After the information of a target public lavatory, further includes:
Determine the target public lavatory of user's selection;
The target public lavatory that the user is selected, the cis-position in the sequence of the target public lavatory are recorded as user's selection Cis-position;
The user recorded at least twice recently is selected into cis-position, the candidate value as the N;
In the candidate value of the N, value of the maximum value as the N is chosen, and save the value of the N.
3. the intelligent recommendation method of public lavatory according to claim 1, which is characterized in that in the preceding N shown after sorting After the information of a target public lavatory, further includes:
If detecting, the user selects more fresh target public lavatory, the information of the target public lavatory after being ranked up described in displaying.
4. the intelligent recommendation method of public lavatory according to claim 2, which is characterized in that it is described according to the user selection The target property information is ranked up the target public lavatory, specifically includes:
If the target property information of user selection is greater than one kind, according to target property information described in each and The location information of the target public lavatory is respectively ranked up the target public lavatory;
The information for showing the top n target public lavatory after sequence, specifically includes:
It detects in the top n target public lavatory after sorting respectively, if there are identical target public lavatorys;
Identical target public lavatory if it exists then shows the information of the identical target public lavatory.
5. the intelligent recommendation method of public lavatory according to claim 4, which is characterized in that further include:
Identical target public lavatory if it does not exist, then after showing the target property information sequence selected at first according to the user Top n target public lavatory information.
6. the intelligent recommendation method of public lavatory according to claim 1, which is characterized in that described to be obtained according to current location information The information for taking target public lavatory, specifically includes:
The current location information is sent to cloud server, for the cloud server according to the current location information, Search for target public lavatory;
Receive the information of the target public lavatory of the cloud server feedback.
7. the intelligent recommendation method of public lavatory according to claim 6, which is characterized in that the attribute information includes: specification The current flow of the people information of information, cost information and target public lavatory;
The information of the target public lavatory for receiving the cloud server feedback, specifically:
It receives the location information of the target public lavatory of cloud server feedback, specification information, cost information and works as forefathers Flow information.
8. the intelligent recommendation method of public lavatory according to claim 6, which is characterized in that further include:
Timing obtains public lavatory map from the cloud server, and the public lavatory map includes the information of each public lavatory;
It is described the current location information is sent to cloud server before, detection and the communication chain of the cloud server Whether road is normal;
If the communication link is normal, then executes and described the current location information is sent to cloud server;If described Communication link is abnormal, then public in local search target according to the current location information and the last public lavatory map obtained The information in lavatory.
9. the intelligent recommendation method of public lavatory according to any one of claim 1 to 8, which is characterized in that further include:
If the number of the target public lavatory got is less than or equal to one, the pre-determined distance is increased with preset step-length;
The information that target public lavatory is obtained according to current location information is re-executed, until the target public lavatory got Number is greater than one.
10. a kind of intelligent recommendation device of public lavatory characterized by comprising at least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that the intelligence that at least one described processor is able to carry out the public lavatory as described in any in claim 1 to 9 pushes away Recommend method.
CN201810714761.1A 2018-06-29 2018-06-29 A kind of intelligent recommendation method and apparatus of public lavatory Pending CN109002511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810714761.1A CN109002511A (en) 2018-06-29 2018-06-29 A kind of intelligent recommendation method and apparatus of public lavatory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810714761.1A CN109002511A (en) 2018-06-29 2018-06-29 A kind of intelligent recommendation method and apparatus of public lavatory

Publications (1)

Publication Number Publication Date
CN109002511A true CN109002511A (en) 2018-12-14

Family

ID=64599034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810714761.1A Pending CN109002511A (en) 2018-06-29 2018-06-29 A kind of intelligent recommendation method and apparatus of public lavatory

Country Status (1)

Country Link
CN (1) CN109002511A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177592A (en) * 2020-01-18 2020-05-19 河南帅臣物联网科技有限责任公司 Intelligent toilet management method and system
CN111198990A (en) * 2020-01-18 2020-05-26 河南帅臣物联网科技有限责任公司 Intelligent toilet guiding method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104634350A (en) * 2013-11-14 2015-05-20 北京四维图新科技股份有限公司 Method and device for inquiring gas station information as well as navigation terminal
CN107092609A (en) * 2016-05-10 2017-08-25 口碑控股有限公司 A kind of information-pushing method and device
CN107368510A (en) * 2017-04-10 2017-11-21 口碑控股有限公司 A kind of shop search ordering method and device
CN107766957A (en) * 2017-10-16 2018-03-06 深圳正品创想科技有限公司 A kind of recommendation method and device of lavatory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104634350A (en) * 2013-11-14 2015-05-20 北京四维图新科技股份有限公司 Method and device for inquiring gas station information as well as navigation terminal
CN107092609A (en) * 2016-05-10 2017-08-25 口碑控股有限公司 A kind of information-pushing method and device
CN107368510A (en) * 2017-04-10 2017-11-21 口碑控股有限公司 A kind of shop search ordering method and device
CN107766957A (en) * 2017-10-16 2018-03-06 深圳正品创想科技有限公司 A kind of recommendation method and device of lavatory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177592A (en) * 2020-01-18 2020-05-19 河南帅臣物联网科技有限责任公司 Intelligent toilet management method and system
CN111198990A (en) * 2020-01-18 2020-05-26 河南帅臣物联网科技有限责任公司 Intelligent toilet guiding method and system

Similar Documents

Publication Publication Date Title
CN104102719B (en) The method for pushing and device of a kind of trace information
CN104123398B (en) A kind of information-pushing method and device
CN108345690B (en) Intelligent question and answer method and system
West et al. Mining missing hyperlinks from human navigation traces: A case study of Wikipedia
CN103488766B (en) application program searching method and device
JP6689515B2 (en) Method and apparatus for identifying the type of user geographic location
CN110442718A (en) Sentence processing method, device and server and storage medium
CN104808932B (en) Route information acquisition method and terminal
CN106705984B (en) Interest point searching method and device
CN106462624A (en) Tile-based geocoder
CN109408710A (en) Search result optimization method, device, system and storage medium
CN110166991A (en) For the method for Positioning Electronic Devices, unit and storage medium
CN111651685A (en) Interest point obtaining method and device, electronic equipment and storage medium
CN110674423A (en) Address positioning method and device, readable storage medium and electronic equipment
CN105606116B (en) A kind of air navigation aid, navigation device and its system of navigation of satisfying the need
CN104160440A (en) Automatic input signal recognition using location based language modeling
CN108073727A (en) The data processing method and device of place search
US7840549B2 (en) Updating retrievability aids of information sets with search terms and folksonomy tags
US8122002B2 (en) Information processing device, information processing method, and program
CN104408099A (en) Searching method and searching device
CN105608113A (en) Method and apparatus for judging POI data in text
CN111708929B (en) Information searching method, device, electronic equipment and storage medium
CN109002511A (en) A kind of intelligent recommendation method and apparatus of public lavatory
CN108268504A (en) A kind of method and apparatus for the region of search for dividing point of interest
CN103488525A (en) Determination of user preference relevant to scene

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181214

RJ01 Rejection of invention patent application after publication