CN111709704B - User matching method, terminal and storage medium - Google Patents
User matching method, terminal and storage medium Download PDFInfo
- Publication number
- CN111709704B CN111709704B CN202010494708.2A CN202010494708A CN111709704B CN 111709704 B CN111709704 B CN 111709704B CN 202010494708 A CN202010494708 A CN 202010494708A CN 111709704 B CN111709704 B CN 111709704B
- Authority
- CN
- China
- Prior art keywords
- user
- latitude
- longitude
- preset
- factor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/105—Human resources
- G06Q10/1053—Employment or hiring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Abstract
The invention provides a user matching method, a terminal and a storage medium, which comprises the steps of obtaining the longitude and latitude of a first user and a second user, judging whether the longitude and latitude of the second user is in accordance with a first preset range, if so, judging whether a first preset factor of the second user is in accordance with a second preset factor of the first user, and if so, matching the first user according to the comprehensive matching score of the second user from low to high in a sequence. Compared with the prior art, the method and the device have the advantages that the second users are screened through the first preset range and the second preset factor, the second users are sequentially ranked and matched to the first users from good to bad through the comprehensive matching scores, the accurate matching between the first users and the second users is achieved, the time spent by the first users for selecting the second users one by one is reduced, and the time cost for the first users for selecting the second users is effectively reduced.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a user matching method, a terminal, and a storage medium.
Background
As is known, location finding is generally performed by using an object on the body of the user. Among them, the most common method is to use a mobile terminal (mobile phone) to perform positioning search for the mobile terminal holder. At present, positioning and searching are widely applied in daily life, and convenience is brought to life of people. For example, people can directly complete the positioning when filling in the address information by opening the mobile terminal, without manually typing, which is convenient and fast, and according to the positioning of the mobile terminal and the industry experience of filling in the mobile terminal, etc.
For example, the back-end server matches the enterprise or the individual user with the appropriate job seeker by adopting a forward matching mode. The forward matching mode means that the rear-end server lists all job seekers on the positions preset in the system, and then screens out job seekers according with the distance according to the preset distance of an enterprise or an individual user through positioning and searching, and then the enterprise or the individual user manually screens the characteristic attributes of the posts according to the screened job seekers until the appropriate job seekers are screened out, so that the forward matching mode only can screen generalized industries, and the attribute characteristics and other characteristics of the job seekers on the posts cannot be accurately matched with the enterprise or the individual user.
Thus, there is a need for improvement and development of the prior art.
Disclosure of Invention
In order to solve the defects and shortcomings of the prior art, the invention provides a user matching method, a terminal and a storage medium, which are used for solving the problem that the user matching in the prior art is not accurate.
The technical scheme adopted by the invention is as follows:
in one aspect, the present invention provides a user matching method, including:
acquiring longitude and latitude of a first user and a second user, wherein the first user is matched with the second user;
judging whether the longitude and latitude of the second user are in a first preset range, wherein the first preset range is a circle formed by taking the longitude and latitude of the first user as the center of the circle and taking a first preset value as the radius; if the longitude and latitude of the second user are in the range taking the first preset value as the radius, the second user can know the longitude and latitude of the second user
Judging whether a first preset factor of the second user accords with a second preset factor of the first user, wherein the first preset factor and the second preset factor both comprise a post and an attribute factor contained in the post; if the first preset factor of the second user is in accordance with the second preset factor of the first user, then
According to the low-to-high ordering of the comprehensive matching scores of the second users, the second users are matched with the first users; wherein the composite match score is given by the formula X = (b-a)/2 n-1 Calculating, wherein X is the comprehensive matching score; b is a distance, which is the distance between the first user and the second user; n is a clear code value, and the clear code value refers to an average value between the goodness of the second user and the saturation of the idle time; a refers to the offset, which refers to the product of the distance and the net code value.
Specifically, the net code value is between 0 and 1.
Preferably, the user matching method further includes, before the obtaining of the longitude and latitude of the first user and the second user, obtaining the longitude and latitude of the second user
Receiving first user information and second user information, wherein the first user information comprises longitude and latitude of a first user, a first preset range and a second preset factor, and the second user information comprises longitude and latitude of a second user and the first preset factor.
Preferably, the user matching method further includes, after the second user information is matched to the first user, matching the second user information with the first user information
And locking the longitude and latitude of the first user and the longitude and latitude of the second user.
Preferably, the user matching method further includes, in the process of determining whether the longitude and latitude of the second user are within the first preset range
And if the longitude and latitude of the second user are in the range taking the first preset value as the radius, not matching the second user with the first user.
Preferably, the user matching method further includes, in the process of determining whether the first preset factor of the second user meets the second preset factor of the first user, determining whether the first preset factor of the second user meets the second preset factor of the first user
And if the first preset factor of the second user does not accord with the second preset factor of the first user, not matching the second user with the first user.
In another aspect, the present invention further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the user matching method when executing the computer program.
In yet another aspect, the present invention further provides a computer-readable storage medium, which stores a computer program, which when executed by a processor implements the steps of the user matching method as described above.
The invention has the beneficial effects that: compared with the prior art, the method and the device have the advantages that the longitude and latitude of the first user and the longitude and latitude of the second user are obtained, whether the longitude and latitude of the second user is in the first preset range or not is judged, the second user is primarily screened, whether the first preset factor of the second user is in the second preset factor of the first user or not is judged, the second user is further screened, the second user is sequentially ranked and matched to the first user from superior to inferior through comprehensive matching scores, accurate matching between the first user and the second user is achieved, the first user spends a large amount of time to select the second user one by one, and the time cost of the first user for selecting the second user is effectively reduced.
Drawings
FIG. 1 is a flow chart of a user matching method of the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific examples.
Referring to fig. 1, the present invention provides a user matching method, which includes the steps of
The user matching method comprises the following steps:
s1, acquiring longitude and latitude of a first user and a second user, wherein the first user is matched with the second user;
specifically, before the step, the user matching method further comprises the step of receiving first user information and second user information input by the first user and the second user in the mobile terminal through the user port. The first user information comprises the longitude and latitude of a first user, a first preset range and a second preset factor, and the second user information comprises the longitude and latitude of a second user and the first preset factor. The longitude and latitude of the first user and the longitude and latitude of the second user can be directly obtained through positioning in the mobile terminal. The mobile terminal can be a smart phone, a tablet and a computer.
And S2, judging whether the longitude and latitude of the second user are in accordance with a first preset range.
The first preset range is a circle formed by taking the longitude and latitude of the first user as the center of the circle and taking a first preset value as the radius.
And if the longitude and latitude of the second user are in the range taking the first preset value as the radius, the step S3 is carried out.
In addition, if the longitude and latitude of the second user are in the range taking the first preset value as the radius, the second user is not matched with the first user, namely the second user which does not meet the requirement is removed. Therefore, the preliminary screening of the second user is realized.
And S3, judging whether a first preset factor of the second user accords with a second preset factor of the first user, wherein the first preset factor and the second preset factor respectively comprise a post and an attribute factor contained in the post.
And if the first preset factor of the second user meets the second preset factor of the first user, executing the step S4.
In addition, if the first preset factor of the second user meets the second preset factor of the first user, the second user is not matched with the first user, namely the second user which does not meet the requirement is removed. Thereby, further screening of the second user is achieved.
And S4, matching the second user with the first user according to the low-to-high sequence of the comprehensive matching scores.
Wherein the composite match score is given by the formula X = (b-a)/2 n-1 Calculating, wherein X is the comprehensive matching score, and b is a distance which is the distance between the first user and the second user; n is a net code value, the net code value is an average value between the goodness of the second user and the saturation of the free time, a is an offset, and the offset is a product of the distance and the net code value.
In particular, the net code value is between 0 and 1, i.e. 2 n-1 The value range of (1) is 0.5-1, and the distance between the first user and the second user can be calculated by using AMaputils. CalmulateLineDistance (LatLng startLatlng, latLng endLatlng).
The comprehensive matching score is used for reducing the influence strength of the distance between the first user and the second user or the independent net code value on the matching between the accountant and the recruitment unit, so that the net code value is mutually limited with the distance between the first user and the second user, and finally the second user is matched to the first user from a good to a bad sequence, so that the accurate matching between the first user and the second user is realized, the first user is effectively prevented from spending a large amount of time to select the second user one by one, and the time cost of the first user for selecting the second user is effectively reduced.
According to the method, assuming that the first user is a recruitment unit, the recruitment unit needs to recruit a part-time accountant, and the second user is an accountant for example, the user matching method comprises the following steps:
information from the recruiter and the accountant is received.
The recruitment unit (the first user) inputs basic information and recruitment requirements at a user port through the mobile terminal, and the basic information and the recruitment requirements comprise the geographic position (longitude and latitude of the first user) of the recruitment unit, the distance (a first preset range) between a participant and an accountant, a specific field (a second preset factor), a free time period of a required accountant and the like, and the fields which the accountant is adept at, such as tax consultation, marketing planning and the like. The accountant (the second user) needs to input the geographical location (the longitude and latitude of the second user), the field good at himself (the first preset factor), the free time, the field good at himself such as tax consultation and marketing planning, etc. through the mobile terminal at the user port. It should be noted that, the saturation of the spare time mentioned in the method is how much time of the spare time of the staff member is available for the part-time, for example, the saturation of the spare time is 4/6 to 50% when the spare time of the staff member is 6 hours, and 4 hours of the spare time of the staff member are available for the part-time.
And directly acquiring the longitude and latitude of the recruitment unit and the accountant according to the information of the accountant which is recorded into the system.
And then, judging whether the accountant is in the first preset range of the recruitment unit or not according to the distance (namely the first preset range) from the accountant to the recruitment unit to the accountant.
Assuming that the first preset value range is 1110 kilometers, namely, the difference between a recruitment unit and an accountant is about 11 longitudes and 11 latitudes, namely, the longitudes and the latitudes of the recruitment unit are respectively added to or subtracted from 11, assuming that the longitudes and the latitudes of the recruitment unit are (0, 0), the longitude of the first preset range of the recruitment unit is between intervals (-11, 11), and the latitude is between intervals (-11, 11), and then, when the longitude or the latitude of the accountant is not in the interval or the longitude and the latitude of the accountant are not both in the interval, the accountant is removed; when the longitude and latitude of the accountant are both within the above-mentioned interval, then
Judging whether the field (namely, the first preset characteristic) favored by the accountant is consistent with the specific field (namely, the second preset characteristic) favored by the accountant recruited by the recruiting unit, and if not, rejecting the accountant; if so, then
And sorting and matching to the recruitment unit from low to high according to the comprehensive matching score of the accountant.
For example, the distance between the recruitment unit and the two accountants is 10km and 15km respectively, and when the net code value is not changed, the denominator is 2 km n-1 And the constant value of b-a is increased as the distance between the two is increased, namely the distance between the two and the recruitment unit is larger, and the comprehensive matching score of the accountant is larger. And will 2 n-1 The value of the code is limited to be between 0.5 and 1, so that the matching influence strength of the clear code value and the distance between the accountant and the recruitment unit on the clear code value and the distance between the accountant and the recruitment unit are consistent, the clear code value and the distance between the accountant and the recruitment unit are limited, the complete code value and the distance between the accountant and the recruitment unit can be finally matched to the recruitment unit with the best overall strength, a large amount of time spent by the recruitment unit for selecting the accountants one by one is reduced, and the time cost of recruitment is effectively reduced.
It should be noted that, when the accountant finds the accountant for the part time, the method is consistent with the above method, and the details are not repeated herein.
In addition, in the invention, after the second user information is matched with the first user, the user matching method also comprises the step of locking the longitude and latitude of the first user and the longitude and latitude of the second user, so that the information leakage of the first user and the second user is prevented.
In an exemplary embodiment, the present invention further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the user matching method when executing the computer program.
In an exemplary embodiment, the present invention further provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the user matching method as described above.
The above examples of the present invention are merely examples for clearly illustrating the present invention and are not intended to limit the embodiments of the present invention. And obvious changes and modifications which are within the spirit of the invention are covered by the appended claims.
Claims (8)
1. A user matching method is characterized by comprising the following steps:
acquiring longitude and latitude of a first user and a second user, wherein the first user is matched with the second user;
judging whether the longitude and latitude of the second user are in a first preset range, wherein the first preset range is a circle formed by taking the longitude and latitude of the first user as the center of the circle and taking a first preset value as the radius; if the longitude and latitude of the second user are in the range taking the first preset value as the radius, the longitude and latitude of the second user are within the range
Judging whether a first preset factor of the second user accords with a second preset factor of the first user, wherein the first preset factor and the second preset factor both comprise a post and an attribute factor contained in the post; if the first preset factor of the second user is in accordance with the second preset factor of the first user, then
According to the low-to-high sequence of the comprehensive matching scores of the second users, the comprehensive matching scores are matched with the first users; wherein the composite match score is given by the formula X = (b-a)/2 n-1 Calculating, wherein X is the comprehensive matching score; b is a distance, which refers to the distance between the first user and the second user; n is a clear code value, and the clear code value refers to an average value between the goodness of the second user and the saturation of the idle time; a refers to the offset, which is the product of the distance and the net code value.
2. The user matching method according to claim 1, wherein the net code value is between 0 and 1.
3. The user matching method according to claim 1 or 2, wherein the user matching method further comprises the step of obtaining the longitude and latitude of the first user and the second user before the step of obtaining the longitude and latitude of the first user and the second user
Receiving first user information and second user information, wherein the first user information comprises longitude and latitude of a first user, a first preset range and a second preset factor, and the second user information comprises longitude and latitude of a second user and the first preset factor.
4. The user matching method according to claim 3, further comprising matching the second user information to the first user
And locking the longitude and latitude of the first user and the longitude and latitude of the second user.
5. The user matching method according to claim 4, wherein the user matching method further comprises determining whether the latitude and longitude of the second user are within a first predetermined range
And if the longitude and latitude of the second user are in the range taking the first preset value as the radius, the second user is not matched with the first user.
6. The user matching method according to claim 5, wherein said user matching method further comprises, in said process of determining whether a first predetermined factor of a second user matches a second predetermined factor of the first user, determining whether the first predetermined factor of the second user matches the second predetermined factor of the first user
And if the first preset factor of the second user does not accord with the second preset factor of the first user, not matching the second user with the first user.
7. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: the processor, when executing the computer program, performs the steps of the user matching method as claimed in any of claims 1-6.
8. A computer-readable storage medium storing a computer program, characterized in that: the computer program realizing the steps of the user matching method as claimed in any one of claims 1-6 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010494708.2A CN111709704B (en) | 2020-06-03 | 2020-06-03 | User matching method, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010494708.2A CN111709704B (en) | 2020-06-03 | 2020-06-03 | User matching method, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111709704A CN111709704A (en) | 2020-09-25 |
CN111709704B true CN111709704B (en) | 2023-04-07 |
Family
ID=72539220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010494708.2A Active CN111709704B (en) | 2020-06-03 | 2020-06-03 | User matching method, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111709704B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096791A (en) * | 2010-07-09 | 2013-05-08 | 圣文森特医院(墨尔本)有限公司 | Non-invasive measurement of blood oxygen saturation |
CN109015788A (en) * | 2018-07-27 | 2018-12-18 | 江西美宝利实业有限公司 | A kind of non-woven cloth cutting machine |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120109720A1 (en) * | 2010-10-27 | 2012-05-03 | Brandon James Kibby | Intelligent location system |
EP2824649A1 (en) * | 2013-07-12 | 2015-01-14 | GN Store Nord A/S | Audio based learning system comprising a portable terminal connected to an audio unit and plurality of zones |
-
2020
- 2020-06-03 CN CN202010494708.2A patent/CN111709704B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096791A (en) * | 2010-07-09 | 2013-05-08 | 圣文森特医院(墨尔本)有限公司 | Non-invasive measurement of blood oxygen saturation |
CN105769214A (en) * | 2010-07-09 | 2016-07-20 | 圣文森特医院(墨尔本)有限公司 | Non-invasive measurement of blood oxygen saturation |
CN109015788A (en) * | 2018-07-27 | 2018-12-18 | 江西美宝利实业有限公司 | A kind of non-woven cloth cutting machine |
Also Published As
Publication number | Publication date |
---|---|
CN111709704A (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20120215795A1 (en) | System and Method For Intelligent Job Hunt | |
EP3471374A1 (en) | Method and device for identifying type of geographic location at where user is located | |
US20130315042A1 (en) | Geo-normalization of Calendar Items | |
CN107563579A (en) | Vehicles management method and server | |
CN112801740A (en) | Energy site recommendation method based on user preference, storage medium and electronic equipment | |
CN111861296A (en) | Piece collecting task allocation method and device, piece collecting system, equipment and medium | |
CN110968791A (en) | Data processing method, device and equipment for goods source route and storage medium | |
US20200193362A1 (en) | Presentation device and presentation method | |
KR20170086354A (en) | System for Seek and Offer of Job of Real Time Auto Matching Service and Method thereof | |
CN111708929A (en) | Information searching method and device, electronic equipment and storage medium | |
CN110083677B (en) | Contact person searching method, device, equipment and storage medium | |
CN111709704B (en) | User matching method, terminal and storage medium | |
CN102855554A (en) | Classifying method and device for e-mail | |
CN110990519A (en) | Vehicle fault diagnosis method and device, electronic equipment and storage medium | |
US11734311B1 (en) | Determining additional features for a task entry based on a user habit | |
CN113434687A (en) | Automatic resume finding method, automatic recruitment system and computer storage medium | |
CN109919225B (en) | Method for identifying user interest points based on space-time data | |
CN112035676A (en) | User operation behavior knowledge graph construction method and device | |
CN111881369A (en) | Method and system for detecting accuracy of recommended boarding point name | |
CN108694625A (en) | Equity preference predictor method, device and server | |
JP5795653B2 (en) | Attribute identification system, attribute identification method, and computer program | |
US20160073228A1 (en) | System and method for generating expected geolocations of mobile computing devices | |
JP6247364B2 (en) | Attribute identification system, attribute identification method, and program | |
CN112528138A (en) | Community activity information accurate recommendation method, terminal device and readable storage medium | |
US20130110826A1 (en) | Method for searching contacts, electronic apparatus, and storage medium using the method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |