WO2021051874A1 - Information pushing method and related device - Google Patents

Information pushing method and related device Download PDF

Info

Publication number
WO2021051874A1
WO2021051874A1 PCT/CN2020/093582 CN2020093582W WO2021051874A1 WO 2021051874 A1 WO2021051874 A1 WO 2021051874A1 CN 2020093582 W CN2020093582 W CN 2020093582W WO 2021051874 A1 WO2021051874 A1 WO 2021051874A1
Authority
WO
WIPO (PCT)
Prior art keywords
field
public welfare
welfare activity
information
occupation
Prior art date
Application number
PCT/CN2020/093582
Other languages
French (fr)
Chinese (zh)
Inventor
尚延良
钟凯
洪宇明
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021051874A1 publication Critical patent/WO2021051874A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Definitions

  • This application relates to the field of computer technology, and in particular to an information push method and related devices.
  • the embodiments of the present application provide an information pushing method and related devices, and implementing the embodiments of the present application is conducive to the accurate pushing of information.
  • the first aspect of the embodiments of the present application provides an information push method, including:
  • N is a positive integer
  • the second aspect of the embodiments of the present application provides an information push device, including:
  • Processing module used to obtain user's professional information
  • the processing module is configured to call a field analysis algorithm to process the occupation information to obtain multiple fields;
  • the processing module is configured to match the multiple fields with an occupation field corpus to obtain at least one occupation field;
  • the processing module is configured to search for N public welfare activity information matching the at least one occupation field from a database, where N is a positive integer;
  • the sending module is used to send a push message carrying the N public welfare activity information to the terminal.
  • the third aspect of the embodiments of the present application provides an electronic device for pushing information, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, and Instructions that are generated to be executed by the processor to perform the following steps:
  • the fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the stored computer program is executed by the processor to implement the following steps:
  • the occupation information of the user is obtained; the field analysis processing is performed on the occupation information to obtain a plurality of fields; the plurality of fields are matched with the occupation field corpus to obtain at least one occupation field; At least one occupation field queries N public welfare activity information from the database, realizes the acquisition of public welfare activity information based on occupation information, and finally pushes the public welfare activity information to the terminal, so as to realize the push of public welfare activity information strongly related to their professional information based on the user's professional information , Realize the accurate push of information, and improve the enthusiasm and interest of users to participate.
  • this application is also applicable to smart communities, which promotes the construction of smart cities by realizing accurate information push.
  • FIG. 1A is a schematic structural diagram of a communication system provided by an embodiment of this application.
  • FIG. 1B is a schematic structural diagram of a server provided by an embodiment of this application.
  • FIG. 2 is a schematic flowchart of an information pushing method provided by an embodiment of the application
  • FIG. 3 is a schematic flowchart of another information pushing method provided by an embodiment of the application.
  • FIG. 4A is a schematic flowchart of another information pushing method provided by an embodiment of this application.
  • 4B is a schematic diagram of a night time period setting interface provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a server structure of a hardware operating environment involved in an embodiment of the application.
  • FIG. 1A is a schematic structural diagram of a communication system provided by an embodiment of the application.
  • the communication system may include a server 110 and a terminal 120 that are interconnected through a network.
  • the server 110 can implement all the functions mentioned in the embodiments of the present application, but is not limited to all the functions mentioned in the embodiments of the present application.
  • the terminal 120 can implement all the functions mentioned in the embodiments of the present application, but is not limited to all the functions mentioned in the embodiments of the present application.
  • FIG. 1B is a schematic structural diagram of a server 110 as an example of an embodiment of the application.
  • the server 110 may include: a processing module 111, a sending module 112, and the like.
  • the processing module 111 is used to obtain the professional information of the user;
  • the occupation information may include, for example, occupation name, job content, occupation skills, and so on.
  • the professional information is: lawyer, responsible for civil cases, has worked for 5 years, has experience in handling various civil cases, and is very familiar with the laws and regulations corresponding to various civil cases.
  • the processing module 111 is configured to obtain a field analysis dictionary, wherein the field analysis dictionary includes at least one field; is used to determine the field with the largest field length in the at least one field to obtain the first field; A first field length corresponding to a field and a preset sequence divide the occupation information into a plurality of second fields; the plurality of second fields are matched with the at least one field to obtain the plurality of fields.
  • the multiple second fields include F second fields, where F is a positive integer, and the multiple second fields are matched with the at least one field to obtain the multiple fields
  • the processing module 111 is specifically used for
  • Step S3 Match the i-th second field with each of the at least one field to determine whether there is a field that matches the i-th second field in the at least one field, and if so, Step S4 is executed, if not, step S5 is executed;
  • S4 Store the field that matches the i-th second field among the at least one field in a field table
  • step S5 Decrease one field unit from the i-th second field in the reverse order of the preset order, so as to reduce each of the i-th second field and the at least one field by one field unit.
  • step S6 is performed, such as If not, go to step S7;
  • S6 Store a field in the at least one field that matches the i-th second field minus one field unit in the field table;
  • the processing module 111 is configured to perform field analysis processing on the occupation information to obtain multiple fields;
  • the professional information is: lawyer, responsible for civil cases, has worked for 5 years, has experience in handling various civil cases, and is very familiar with the laws and regulations corresponding to various civil cases.
  • the multiple fields are: lawyer, responsible, civil, case, already, work, 5 years, possessed, various, civil, case, of, handling experience, right, various, civil, case, correspondence, of, legal Regulations, very, familiar.
  • the processing module 111 is configured to match the multiple fields with an occupation field corpus to obtain at least one occupation field;
  • the occupation field corpus includes multiple occupation fields.
  • the processing module 111 is configured to search for N public welfare activity information matching the at least one occupation field from the database, where N is a positive integer;
  • N can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
  • the public welfare activity information includes the content of the public welfare activity, the start time of the public welfare activity, the end time of the public welfare activity, the number of people required for the public welfare activity, the location of the public welfare activity, the recruitment requirements for public welfare activity personnel, etc.
  • the recruitment requirements for public welfare activity personnel may include, for example:
  • the public welfare activity information is: 10 volunteers who need to be engaged in hairdressing work from 9 am to 11 am on June 30, 2019, go to xx nursing home to help elderly people trim their hair. Every volunteer is required to bring haircut tools, and every volunteer must have experience in haircutting.
  • at least one occupation field included in the public welfare activity information may be, for example, haircut.
  • the at least one occupation field includes, for example, a hairdresser. Therefore, the public welfare activity information matches the at least one occupation field.
  • the sending module 112 is configured to send a push message carrying the N public welfare activity information to the terminal.
  • the terminal may be, for example, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a MID, or other terminal devices.
  • the processing module 111 is configured to obtain the push time; determine whether the push time is the update time of the server; if the push time is the update time of the server, determine whether the update time of the server falls within a preset The range of the night time period; if the update time of the server falls within the range of the preset night time period, the update time of the server is used as a reference, and the push time is delayed according to the preset delay period to obtain the first push time ; Obtain the system time of the server every preset time;
  • the sending module 112 is configured to send the push message to the terminal when the system time of the server matches the first push time.
  • the processing module 111 is further configured to, if the push time is not the update time of the server, extract N public welfare activity start times and N public welfare activity end times in the N public welfare activity information; from Acquiring the first start time of the first public welfare activity with the earliest start time of the public welfare activity among the N public welfare activity start times;
  • the sending module 112 is further configured to send the push message to the terminal before the end of the first public welfare activity based on the start time of the first public welfare activity, wherein the first public welfare activity ends The time corresponds to the start time of the first public welfare activity.
  • the processing module 111 is further configured to obtain the interest tag of the user; to search the database for L public welfare activity information matching the interest tag, where L is a positive integer; to determine the The L pieces of public welfare activity information are associated with the L pieces of public welfare activity points stored in the database, and the L pieces of public welfare activity information correspond to the L pieces of public welfare activity points one-to-one; the public interest activity points are selected from the L pieces of public welfare activity points The highest number one public welfare activity information;
  • the sending module 112 is further configured to carry the push message of the first public welfare activity information to the terminal.
  • the processing module 111 when searching for L public interest activity information matching the interest tag from the database, is configured to obtain synonyms and synonyms corresponding to the interest tag to obtain the interest tag Set; each interest tag in the interest tag set is matched with the occupation field corpus to obtain a plurality of occupation fields, wherein the occupation field corpus includes each occupation field in the plurality of occupation fields Correspondence with at least one interest tag; searching for L public welfare activity information matching the multiple occupation fields from the database.
  • the processing module 111 is further configured to obtain the user's participation record of public welfare activities; determine the number of times the user participates in the public welfare activities according to the record of participation in the public welfare activities; compare the number of participations with the preset participation The number of times is compared to determine whether the number of participations is lower than the preset number of participations; if the number of participations is lower than the preset number of participations, the public welfare reward function is called to generate second public welfare activity information containing public welfare reward information ;
  • the sending module 112 is further configured to send a push message carrying the second public welfare activity information to the terminal.
  • the processing module 111 is further configured to determine the occupation category to which the occupation information belongs if the number of participation times is not less than the preset number of participation times; Corresponding K public welfare activity information, where K is a positive integer; determine the K public welfare activity points stored in the database in association with the K public welfare activity information; select public welfare activity points from the K public welfare activity points The highest third public welfare activity points; obtain the third public welfare activity information corresponding to the third public welfare activity points;
  • the sending module 112 is further configured to send a push message carrying the third public welfare activity information to the terminal.
  • module architecture of the server 110 is not limited to the above examples.
  • Figure 2 is a schematic flowchart of an information push method provided by an embodiment of the present application. This method may include but is not limited to the following steps:
  • the server obtains the professional information of the user
  • the occupation information may include, for example, occupation name, job content, occupation skills, and so on.
  • the professional information is: lawyer, responsible for civil cases, has worked for 5 years, has experience in handling various civil cases, and is very familiar with the laws and regulations corresponding to various civil cases.
  • the server performs field analysis processing on the occupation information to obtain multiple fields.
  • the professional information is: lawyer, responsible for civil cases, has worked for 5 years, has experience in handling various civil cases, and is very familiar with the laws and regulations corresponding to various civil cases.
  • the multiple fields are: lawyer, responsible, civil, case, already, work, 5 years, possessed, various, civil, case, of, handling experience, right, various, civil, case, correspondence, of, legal Regulations, very, familiar.
  • the server matches the multiple fields with an occupation field corpus to obtain at least one occupation field.
  • the occupation field corpus includes multiple occupation fields.
  • the server searches the database for N public welfare activity information matching the at least one occupation field, where N is a positive integer;
  • N can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
  • the public welfare activity information includes the content of the public welfare activity, the start time of the public welfare activity, the end time of the public welfare activity, the number of people required for the public welfare activity, the location of the public welfare activity, the recruitment requirements for public welfare activity personnel, etc.
  • the recruitment requirements for public welfare activity personnel may include, for example:
  • the public welfare activity information is: 10 volunteers who need to be engaged in hairdressing work from 9 am to 11 am on June 30, 2019, go to xx nursing home to help elderly people trim their hair. Every volunteer is required to bring haircut tools, and every volunteer must have experience in haircutting.
  • at least one occupation field included in the public welfare activity information may be, for example, haircut.
  • the at least one occupation field includes, for example, a hairdresser. Therefore, the public welfare activity information matches the at least one occupation field.
  • the terminal may be, for example, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a MID, or other terminal devices.
  • the occupation information of the user is obtained; the field analysis processing is performed on the occupation information to obtain multiple fields; the multiple fields are matched with the occupation field corpus to obtain at least one occupation field; At least one occupation field queries N public welfare activity information from the database, realizes the acquisition of public welfare activity information based on occupation information, and finally pushes the public welfare activity information to the terminal, so as to realize the push of public welfare activity information strongly related to their professional information based on the user's professional information , Realize the accurate push of information, and improve the enthusiasm and interest of users to participate.
  • this application is also applicable to smart communities, which promotes the construction of smart cities by realizing accurate information push.
  • the method further includes: obtaining an interest tag of the user; searching for L public welfare activity information matching the interest tag from the database, Where L is a positive integer; determine the L public welfare activity points stored in the database in association with the L public welfare activity information, and the L public welfare activity information corresponds to the L public welfare activity points in a one-to-one correspondence; The L pieces of public welfare activity points select the first public welfare activity information with the highest public welfare activity points; and the push message of the first public welfare activity information is carried to the terminal.
  • the user's interest tag may be: swimming, haircut, flower growing, singing, dancing, calligraphy, etc.
  • L can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
  • each of the L public welfare activity points is different.
  • the public welfare activity information is: 10 volunteers who need to know how to swim from 10 am to 11 am on July 30, 2019, go to the xx swimming pool to be responsible for lifeguard work. If the interest tag of a certain user is swimming, then the public interest activity information matches the interest tag.
  • the user’s interest tag is acquired; the L public interest activity information matching the interest tag is searched from the database; the L public interest activity information is determined to be stored in the associated association.
  • the L public welfare activity information corresponds to the L public welfare activity points one-to-one; the first public welfare activity information with the highest public welfare activity points is selected from the L public welfare activity points;
  • the terminal carries the push message of the first public welfare activity information, so as to push the public welfare activity information strongly related to the interest tag of the user based on the interest tag of the user, and realize the accurate push of the information.
  • the information of public welfare activities with the highest points for public welfare activities is pushed to users, which improves users' enthusiasm and interest in participating.
  • the public welfare activity information includes: 10 volunteers are required to go to the xx swimming pool to be responsible for lifeguard work from 10 to 11 on July 30, 2019. Then, if swimming is used as an index condition, it may not be possible to obtain relevant public welfare activity information from the database. Therefore, the searching from the database for L public welfare activity information that matches the interest tag includes: obtaining synonyms and synonyms corresponding to the interest tag to obtain a collection of interest tags; and adding the interest tag to the collection of interest tags. Each interest tag of is matched with the occupation field corpus to obtain multiple occupation fields, where the occupation field corpus includes a correspondence between each occupation field in the multiple occupation fields and at least one interest tag; Find L public welfare activity information matching the multiple occupation fields from the database.
  • the interest tag set is obtained by obtaining synonyms and synonyms corresponding to the interest tag; each interest tag in the interest tag set is matched with the occupation field corpus to Obtain a plurality of occupation fields, wherein the occupation field corpus includes the correspondence between each occupation field in the plurality of occupation fields and at least one interest tag; and search the database for L matching the plurality of occupation fields Public welfare activity information, thereby avoiding the situation where information on public welfare activities cannot be obtained based on interest tags.
  • the method further includes: obtaining a record of participation in public welfare activities of the user; and determining the user's participation in public welfare activities based on the record of participation in public welfare activities.
  • the number of participations compare the number of participations with the preset number of participations to determine whether the number of participations is lower than the preset number of participations; if the number of participations is lower than the preset number of participations, call public welfare rewards
  • the function generates second public welfare activity information including public welfare reward information; and sends a push message carrying the second public welfare activity information to the terminal.
  • the user's participation record of public welfare activities is obtained; the number of participation of the user in the public welfare activities is determined according to the record of participation in public welfare activities; the number of participations is compared with the preset number of participations To determine whether the number of participations is lower than the preset number of participations; if the number of participations is lower than the preset number of participations, call the public welfare reward function to generate second public welfare activity information containing public welfare reward information; The terminal sends a push message carrying the second public welfare activity information, so that when the number of participations is lower than the preset number of participations, the public welfare activity information including the public welfare reward information is pushed to the user, and the user's participation enthusiasm is improved.
  • the method further includes: if the number of participations is not less than the preset participation The number of times, the occupation category to which the occupation information belongs is determined; the K public welfare activity information corresponding to the occupation category is obtained from the database, where K is a positive integer; it is determined that the K public welfare activity information is stored in association with K public welfare activity points in the database; select the third public welfare activity points with the highest public welfare activity points from the K public welfare activity points; obtain the third public welfare activity information corresponding to the third public welfare activity points; The terminal sends a push message carrying the third public welfare activity information.
  • K can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
  • occupational categories may include, for example, the heads of state agencies, party organizations, enterprises and institutions, professional and technical personnel, clerks and related personnel, business and service personnel, and agricultural, forestry, animal husbandry, fish, and water conservancy personnel. Production and transportation equipment operators and related personnel, soldiers or others.
  • the occupation category to which the occupation information belongs is determined; and K corresponding to the occupation category is obtained from the database.
  • Public welfare activity information determine the K public welfare activity points stored in the database in association with the K public welfare activity information; select the third public welfare activity point with the highest public welfare activity points from the K public welfare activity points; The third public welfare activity information corresponding to the third public welfare activity points; sending a push message carrying the third public welfare activity information to the terminal, so as to realize the acquisition of public welfare activity information based on occupational category, and improve the accurate push of information.
  • the information of public welfare activities with the highest points of public welfare activities will be pushed to users to improve users' enthusiasm and interest in participating.
  • the method further includes: displaying a public welfare activity display interface, and the public welfare
  • the activity display interface includes a plurality of public welfare activity information display boxes, each of which displays a plurality of public welfare activity information; obtains multiple access rates of the user to the multiple public welfare activity information display boxes; The access rate is matched with the preset access rate to determine whether there are multiple first access rates higher than the preset access rate among the multiple access rates; if any of the multiple access rates is higher than all
  • the multiple first access rates of the preset access rate then obtain multiple public welfare activity information from the multiple first public welfare activity information display boxes corresponding to the multiple first access rates, and send the carrying information to the terminal Describes multiple push messages of public welfare activity information.
  • each public welfare activity information display box displays multiple public welfare activity information, and the occupation information corresponding to each public welfare activity information belongs to the same occupation type.
  • the public welfare activity display interface includes a plurality of public welfare activity information display boxes, and each public welfare activity information display box displays multiple public welfare activity information; Multiple access rates of the multiple public welfare activity information display boxes; matching the multiple access rates with preset access rates to determine whether there are multiple access rates higher than the preset access rates among the multiple access rates First access rate; if there are multiple first access rates higher than the preset access rate among the multiple access rates, the multiple first public welfare activity information corresponding to the multiple first access rates Acquire multiple public welfare activity information in the display box, and send a push message carrying the multiple public welfare activity information to the terminal.
  • the access rate is used to obtain multiple public welfare activities information, and to push users with high access rate information on public welfare activities, so as to increase the enthusiasm of users to participate, and to achieve accurate information push.
  • said acquiring said user access to said multiple The multiple access rates of the public welfare activity information display box include: obtaining the access record of the user visiting the public welfare activity display interface; extracting the user’s access to the multiple public welfare activity information display boxes from the access record
  • Each public welfare activity information display box includes multiple visit rates corresponding to multiple public welfare activities information to obtain multiple sets of visit rates; determine multiple total visit rates corresponding to each set of visit rates in the multiple sets of visit rates; The multiple total access rates are set as multiple access rates of the multiple public interest activity information display boxes.
  • each group of access rates in the multiple groups of access rates includes multiple access rates corresponding to multiple public welfare activity information included in each public interest activity information display frame. Further, each of the multiple total access rates is the sum of multiple access rates corresponding to the multiple public welfare activity information included in each public interest activity information display frame.
  • the public welfare activity information display box 1 includes 10 public welfare activity information.
  • the access rate of 3 public welfare activity information is 10%, and the access rate of the rest is 2%;
  • the public welfare activity information display box 2 includes 3 The access rates of pieces of public welfare activity information and 3 pieces of public welfare activity information are 20%, 12%, and 1% respectively;
  • the public interest activity information display box 3 includes 5 pieces of public welfare activity information, and the access rate of 5 pieces of public welfare activity information is 10%, 2%, 11%, 3% and 1%.
  • the visit rate corresponding to public welfare activity information display box 1 is 44%
  • the visit rate corresponding to public welfare activity information display box 2 is 53%
  • the visit rate corresponding to public welfare activity information display box 3 is 27%.
  • the access record of the user's access to the public welfare activity display interface is obtained; the user's access to each public welfare activity in the plurality of public welfare activity information display boxes is extracted from the access record Multiple access rates corresponding to multiple public welfare activity information included in the information display box to obtain multiple groups of access rates; determine multiple total access rates corresponding to each group of access rates in the multiple groups of access rates; The access rate is set to multiple access rates of the multiple public welfare activity information display boxes, so as to realize accurate statistics of the access rate and avoid data distortion.
  • the method further includes: if If there are no multiple first access rates higher than the preset access rate among the multiple access rates, the multiple access rates are sorted in the order of the access rate from high to low to obtain the multiple access rates.
  • the second access rate corresponding to the highest access rate among the access rates; determine the second public welfare activity information display box corresponding to the second access rate; obtain multiple public welfare activity information from the second public welfare activity information display box, And sending a push message carrying the multiple public welfare activity information to the terminal.
  • the access rate is sorted to obtain the second access rate corresponding to the highest access rate among the plurality of access rates; determine the second public welfare activity information display box corresponding to the second access rate; from the second public welfare activity information Acquire multiple public welfare activity information in the display box, and send a push message carrying the multiple public welfare activity information to the terminal.
  • the access rate is used to obtain multiple public welfare activities information, and to push users with high access rate information on public welfare activities, so as to increase the enthusiasm of users to participate, and to achieve accurate information push.
  • FIG. 3 is a schematic flowchart of an information push method provided by an example of an embodiment of the present application. This method may include but is not limited to the following steps:
  • a server obtains a field analysis dictionary, where the field analysis dictionary includes at least one field;
  • the server determines the field with the largest field length among the at least one field to obtain the first field.
  • the server divides the occupation information into multiple second fields according to the length of the first field corresponding to the first field and a preset order.
  • the preset order may be, for example, from left to right, or from right to left.
  • the field analysis dictionary includes: lawyer, responsible, civil, case, already, work, 5 years, possessed, various types, civil, case, and handling experience. Then, the field with the largest field length is the processing experience. If the professional information is: a lawyer, responsible for civil cases, has worked for 5 years, and has experience in handling various civil cases. Further, in practice, the occupation information obtained by the server does not include punctuation marks. If the occupational information is segmented in the order from left to right, multiple second fields include: attorney responsible, civil case, already worked, 5 years of experience, various types of civil and case handling and handling experience. If the occupational information is segmented in the order from right to left, multiple second fields include: attorney responsible, responsible for civil cases, work, 5 years of work, preparation of various civil and affair cases, and handling experience.
  • the server matches the multiple second fields with the at least one field to obtain the multiple fields.
  • the field analysis dictionary is acquired, wherein the field analysis dictionary includes at least one field; the field with the largest field length in the at least one field is determined to obtain the first field; The first field length corresponding to the field and the preset order divide the occupation information into a plurality of second fields; the plurality of second fields are matched with the at least one field to obtain the plurality of fields, by The field with the largest field length and the preset order segment the occupational information, which reduces the amount of subsequent matching data and improves the matching efficiency.
  • the multiple second fields include F second fields, where F is a positive integer, and the multiple second fields are combined with the at least one field Matching to obtain the multiple fields includes:
  • Step S3 Match the i-th second field with each of the at least one field to determine whether there is a field that matches the i-th second field in the at least one field, and if so, Step S4 is executed, if not, step S5 is executed;
  • S4 Store the field that matches the i-th second field among the at least one field in a field table
  • step S5 Decrease one field unit from the i-th second field in the reverse order of the preset order, so as to reduce each of the i-th second field and the at least one field by one field unit.
  • step S6 is performed, such as If not, go to step S7;
  • S6 Store a field in the at least one field that matches the i-th second field minus one field unit in the field table;
  • F can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
  • i can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
  • the field analysis dictionary includes: lawyer, responsible, civil, case, already, work, 5 years, possessed, various types, civil, case, and handling experience. Then, the field with the largest field length is the processing experience. If the occupation information is segmented in the order from left to right, the multiple second fields obtained include: the lawyer is responsible. Furthermore, if the lawyer's responsibility does not exist in the field analysis dictionary, the "responsibility" is reduced in the order from right to left, that is, the "lawyer's responsibility” becomes “the lawyer's responsibility", which still does not exist. Then the "ren” is reduced in the order from right to left, that is, “lawyer's negative” becomes “lawyer", then "lawyer” exists in the field analysis dictionary. At the same time, the remaining “responsible” are also in the field resolution dictionary. Therefore, the last multiple fields include attorney and responsible.
  • FIG. 4A is a schematic flowchart of yet another information push method provided by an embodiment of the present application. This method may include, but is not limited to, the following steps:
  • the server obtains the push time
  • the push time is the time for sending a push message to the terminal.
  • the server determines whether the push time is the update time of the server.
  • the push time is 9:30 am on June 30, 2019, and the server update time is 1:30 pm on June 30, 2019, it can be found that the push time is not the update time of the server.
  • the update time of the server is the internal update time of the server. For example, if the server needs to update a new service, then an update time will be selected, for example, update the server at 1:30 pm on June 30, 2019.
  • the method further includes: if the push time is not the update time of the server, extracting N public welfare activity start times and N public welfare activity information from the N public welfare activity information The end time of the public welfare activity; the start time of the first public welfare activity with the earliest start time of the public welfare activity is obtained from the start times of the N public welfare activities; based on the start time of the first public welfare activity, before the end of the first public welfare activity end time , Sending the push message to the terminal, wherein the end time of the first public welfare activity corresponds to the start time of the first public welfare activity.
  • N public welfare activity start times and N public welfare activity end times from the N public welfare activity information are extracted; Acquire the first public welfare activity start time with the earliest public welfare activity start time from the public welfare activity start time; based on the first public welfare activity start time, send the push message to the terminal before the end of the first public welfare activity end time , wherein the end time of the first public welfare activity corresponds to the start time of the first public welfare activity, which realizes the push of public welfare activities based on the time of the public welfare activity, prevents users from missing the time for the public welfare activity, and improves user experience.
  • the server determines whether the update time of the server falls within the range of a preset night time period.
  • the push time is the update time of the server
  • the update time of the server is 1:30 pm
  • the preset night time range is after 12 pm to 4:30 pm
  • the range of the preset night time period can be set by the administrator, or can be configured in the configuration file of the server.
  • Fig. 4B is a schematic diagram of a night time period setting interface provided by an embodiment of the present application.
  • the night time period setting interface includes a night time period input box and a night time period confirmation button.
  • the server displays a night time recommendation list on the night time setting interface.
  • the night time recommendation list includes multiple recommended night time ranges.
  • the administrator can enter the night time range in the night time input box, or select the recommended night time range in the night time recommendation list.
  • the recommended night time range will be displayed in the night time input box.
  • the server can detect the confirmation instruction; when the confirmation instruction is detected, the server obtains the night time range from the night time input box to set the night time range as the preset Set the range of night time.
  • the night time period recommendation list includes multiple ranges of recommended night time periods, and the range of each recommended night time period can be accurate to seconds or even milliseconds.
  • the method further includes: if the update time of the server does not fall within the range of the preset night time period, sending the push message to the terminal.
  • the server uses the update time of the server as a reference and delays the push time according to the preset delay period to obtain the first push time;
  • the preset delay period can be set by the administrator or can be configured in the configuration file of the server.
  • the server obtains the system time of the server every preset time.
  • the preset time can be set by the administrator or can be configured in the configuration file of the server.
  • the preset time may be: 10 minutes, 30 minutes, 1 hour, 1 hour and 5 minutes, and so on.
  • the server sends the push message to the terminal when the system time of the server matches the first push time.
  • whether the push time is the update time of the server is determined in a gradual manner, and whether the update time of the server falls within the range of the preset night time period, so as to determine the time period when the terminal sends the push message.
  • FIG. 5 is a schematic diagram of a server structure of a hardware operating environment involved in an embodiment of the application.
  • the server of the hardware operating environment involved in the embodiment of the present application may include:
  • the processor 501 is, for example, a CPU.
  • the memory 502 optionally, the memory may be a high-speed RAM memory, or a stable memory, such as a disk memory.
  • the communication interface 503 is used to implement connection and communication between the processor 501 and the memory 502.
  • FIG. 5 does not constitute a limitation to it, and may include more or less components than those shown in the figure, or a combination of certain components, or different component arrangements.
  • the memory 502 may include an operating system, a network communication module, and one or more programs.
  • the operating system is a program that manages and controls server hardware and software resources, one or more programs, and the operation of other software or programs.
  • the network communication module is used to implement communication between various components in the storage 502 and communication with other hardware and software in the server.
  • the processor 501 is configured to execute one or more programs stored in the memory 502 to implement the following steps: obtain the user's occupation information; perform field analysis processing on the occupation information to obtain multiple fields ; Match the multiple fields with the occupation field corpus to obtain at least one occupation field; search the database for N public welfare activity information that matches the at least one occupation field, where N is a positive integer; send the carry to the terminal Push messages of the N public welfare activity information.
  • This application also provides an information push electronic device, which includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, and The instructions are generated to be executed by the processor to perform the following steps: obtain the user's occupation information; perform field analysis processing on the occupation information to obtain a plurality of fields; and match the plurality of fields with the occupation field corpus to Obtain at least one occupation field; search for N public welfare activity information matching the at least one occupation field from the database, where N is a positive integer; and send a push message carrying the N public welfare activity information to the terminal.
  • the processor when performing field analysis processing on the occupation information to obtain a plurality of fields, is configured to obtain a field analysis dictionary, wherein the field analysis dictionary includes at least one field; and it is determined that the at least The field with the largest field length in one field is used to obtain the first field; the occupation information is divided into a plurality of second fields according to the first field length corresponding to the first field and a preset order; The field is matched with the at least one field to obtain the multiple fields.
  • the multiple second fields include F second fields, where F is a positive integer, and when the multiple second fields are matched with the at least one field to obtain the multiple fields ,
  • Step S3 Match the i-th second field with each of the at least one field to determine whether there is a field that matches the i-th second field in the at least one field, and if so, Step S4 is executed, if not, step S5 is executed;
  • S4 Store the field that matches the i-th second field among the at least one field in a field table
  • step S5 Decrease one field unit from the i-th second field in the reverse order of the preset order, so as to reduce each of the i-th second field and the at least one field by one field unit.
  • step S6 is performed, such as If not, go to step S7;
  • S6 Store a field in the at least one field that matches the i-th second field minus one field unit in the field table;
  • the processor when sending a push message carrying the N public welfare activity information to the terminal, is configured to obtain the push time; determine whether the push time is the update time of the server; if the push time is The update time of the server determines whether the update time of the server falls within the range of the preset night time period; if the update time of the server falls within the range of the preset night time period, the update time of the server Based on time, the push time is delayed according to a preset delay period to obtain the first push time; the system time of the server is acquired every preset time; when the system time of the server matches the first push time , Sending the push message to the terminal through the communication interface.
  • the processor is further configured to, if the push time is not the update time of the server, extract N public welfare activity start times and N public welfare activity end times in the N public welfare activity information; Obtain the first public welfare activity start time with the earliest public welfare activity start time among the N public welfare activity start times; using the start time of the first public welfare activity as a benchmark, before the end time of the first public welfare activity ends, send a message to The terminal sends the push message, wherein the end time of the first public welfare activity corresponds to the start time of the first public welfare activity.
  • the processor is further configured to obtain the interest tag of the user; search for L public welfare activity information matching the interest tag from the database, where L is a positive integer; and determine the L Pieces of public welfare activity information are associated with the L pieces of public welfare activity points stored in the database, and the L pieces of public welfare activity information correspond to the L pieces of public welfare activity points in a one-to-one correspondence; from the L pieces of public welfare activity points, the highest point is selected for the public welfare activity
  • the first public welfare activity information; the push message of the first public welfare activity information is carried to the terminal through the communication interface.
  • the processor when searching for L public welfare activity information matching the interest tag from the database, is configured to obtain synonyms and synonyms corresponding to the interest tag to obtain an interest tag set;
  • Each interest tag in the interest tag set is matched with the occupation field corpus to obtain a plurality of occupation fields, wherein the occupation field corpus includes each occupation field in the plurality of occupation fields and at least Correspondence of an interest tag; searching for L public welfare activity information matching the multiple occupation fields from the database.
  • the processor is further configured to obtain a record of participation in public welfare activities of the user; determine the number of times the user participates in public welfare activities according to the record of participation in public welfare activities; and compare the number of participations with a preset number of participations Make a comparison to determine whether the number of participations is lower than the preset number of participations; if the number of participations is lower than the preset number of participations, call the public welfare reward function to generate second public welfare activity information including public welfare reward information; Sending a push message carrying the second public welfare activity information to the terminal through the communication interface.
  • the processor is further configured to, if the number of participations is not less than the preset number of participations, determine the occupation category to which the occupation information belongs; obtain from the database corresponding to the occupation category K public welfare activity information in, where K is a positive integer; determine the K public welfare activity points stored in the database in association with the K public welfare activity information; select the highest public welfare activity points from the K public welfare activity points The third public welfare activity points; obtain the third public welfare activity information corresponding to the third public welfare activity points; send a push message carrying the third public welfare activity information to the terminal through the communication interface.
  • the present application also provides a computer-readable storage medium for storing a computer program, and the stored computer program is executed by the processor to implement the following steps: obtaining occupational information of a user; Field analysis processing is performed on the occupation information to obtain multiple fields; the multiple fields are matched with the occupation field corpus to obtain at least one occupation field; N public welfare activities matching the at least one occupation field are searched from the database Information, where N is a positive integer; a push message carrying the N public welfare activity information is sent to the terminal.
  • N is a positive integer
  • a push message carrying the N public welfare activity information is sent to the terminal.
  • the computer-readable storage medium may be non-volatile or volatile.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical or other forms.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules.
  • the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage
  • the medium includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code .

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An information pushing method and a related device, relating to data analysis. The method comprises: obtaining occupational information of a user (201); performing field analysis on the occupational information to obtain multiple fields (202); matching the multiple fields with an occupational field corpus to obtain at least one occupational field (203); searching a database for N pieces of public welfare activity information matching the at least one occupational field (204), wherein N is a positive integer; and sending, to a terminal, a push message carrying the N pieces of public welfare activity information (205). The method is beneficial to accurate information pushing, and the method is applicable to smart communities, thereby promoting the construction of smart cities.

Description

一种信息推送方法和相关装置Information pushing method and related device
本申请要求于 20190916日提交中国专利局、申请号为 2019108699252、发明名称为 “一种信息推送方法和相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。 This application claims the September 16, 2019 filed Chinese Patent Application No. 2019108699252, entitled priority to "an information delivery method and associated apparatus" of the Chinese Patent Application, the entire content of which is incorporated by reference in the present application in.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种信息推送方法和相关装置。This application relates to the field of computer technology, and in particular to an information push method and related devices.
背景技术Background technique
随着互联网技术的快速发展,公益活动与互联网的结合也越来越来深入,也涌现了一大批公益平台。现如今,在公益平台报名参加公益活动成为现在的新潮流。With the rapid development of Internet technology, the combination of public welfare activities and the Internet has become more and more in-depth, and a large number of public welfare platforms have also emerged. Nowadays, signing up for public welfare activities on public welfare platforms has become a new trend now.
然而,在使用现有的公益平台时,发明人发现目前的公益平台在向用户推送公益活动时,无法实现信息的准确推送。However, when using the existing public welfare platform, the inventor found that the current public welfare platform cannot achieve accurate information push when pushing public welfare activities to users.
发明内容Summary of the invention
本申请实施例提供了一种信息推送方法和相关装置,实施本申请实施例,有利于实现信息的准确推送。The embodiments of the present application provide an information pushing method and related devices, and implementing the embodiments of the present application is conducive to the accurate pushing of information.
本申请实施例第一方面提供了一种信息推送方法,包括:The first aspect of the embodiments of the present application provides an information push method, including:
获取用户的职业信息;Obtain user's professional information;
对所述职业信息进行字段解析处理以得到多个字段;Perform field analysis processing on the occupation information to obtain multiple fields;
将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;Matching the multiple fields with an occupation field corpus to obtain at least one occupation field;
从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;Find N public welfare activity information matching the at least one occupation field from the database, where N is a positive integer;
向终端发送携带所述N个公益活动信息的推送消息。Send a push message carrying the information of the N public welfare activities to the terminal.
本申请实施例第二方面提供了一种信息推送装置,包括:The second aspect of the embodiments of the present application provides an information push device, including:
处理模块,用于获取用户的职业信息;Processing module, used to obtain user's professional information;
所述处理模块,用于调用字段解析算法对所述职业信息进行处理以得到多个字段;The processing module is configured to call a field analysis algorithm to process the occupation information to obtain multiple fields;
所述处理模块,用于将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;The processing module is configured to match the multiple fields with an occupation field corpus to obtain at least one occupation field;
所述处理模块,用于从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;The processing module is configured to search for N public welfare activity information matching the at least one occupation field from a database, where N is a positive integer;
发送模块,用于向终端发送携带所述N个公益活动信息的推送消息。The sending module is used to send a push message carrying the N public welfare activity information to the terminal.
本申请实施例第三方面提供了一种信息推送的电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被生成由所述处理器执行,以执行以下步骤的指令:The third aspect of the embodiments of the present application provides an electronic device for pushing information, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, and Instructions that are generated to be executed by the processor to perform the following steps:
获取用户的职业信息;对所述职业信息进行字段解析处理以得到多个字段;将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;向终端发送携带所述N个公益活动信息的推送消息。Obtain the occupation information of the user; perform field analysis processing on the occupation information to obtain multiple fields; match the multiple fields with the occupation field corpus to obtain at least one occupation field; search for the at least one occupation field from the database N pieces of public welfare activity information matching the fields, where N is a positive integer; sending a push message carrying the N pieces of public welfare activity information to the terminal.
本申请实施例第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述存储计算机程序被所述处理器执行,以实现以下步骤:The fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the stored computer program is executed by the processor to implement the following steps:
获取用户的职业信息;对所述职业信息进行字段解析处理以得到多个字段;将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;向终端发送携带所述N个公益活动信息的推送消息。Obtain the occupation information of the user; perform field analysis processing on the occupation information to obtain multiple fields; match the multiple fields with the occupation field corpus to obtain at least one occupation field; search for the at least one occupation field from the database N pieces of public welfare activity information matching the fields, where N is a positive integer; sending a push message carrying the N pieces of public welfare activity information to the terminal.
可以看出,上述技术方案中,获取用户的职业信息;对所述职业信息进行字段解析处理以得到多个字段;将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段; 实现至少一个职业字段从数据库中查询N个公益活动信息,实现基于职业信息来获取公益活动信息,最后将公益活动信息推送给终端,从而实现基于用户的职业信息推送与其职业信息强相关的公益活动信息,实现信息的准确推送,提高用户参与积极性和趣味性。另外,本申请还适用于智慧社区,通过实现准确推送信息,从而推动智慧城市的建设。It can be seen that in the above technical solution, the occupation information of the user is obtained; the field analysis processing is performed on the occupation information to obtain a plurality of fields; the plurality of fields are matched with the occupation field corpus to obtain at least one occupation field; At least one occupation field queries N public welfare activity information from the database, realizes the acquisition of public welfare activity information based on occupation information, and finally pushes the public welfare activity information to the terminal, so as to realize the push of public welfare activity information strongly related to their professional information based on the user's professional information , Realize the accurate push of information, and improve the enthusiasm and interest of users to participate. In addition, this application is also applicable to smart communities, which promotes the construction of smart cities by realizing accurate information push.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
其中:among them:
图1A为本申请实施例提供的一种通信系统的结构示意图;FIG. 1A is a schematic structural diagram of a communication system provided by an embodiment of this application;
图1B为本申请实施例提供的一种服务器的结构示意图;FIG. 1B is a schematic structural diagram of a server provided by an embodiment of this application;
图2为本申请实施例提供的一种信息推送方法的流程示意图;FIG. 2 is a schematic flowchart of an information pushing method provided by an embodiment of the application;
图3为本申请实施例提供的又一种信息推送方法的流程示意图;FIG. 3 is a schematic flowchart of another information pushing method provided by an embodiment of the application;
图4A为本申请实施例提供的又一种信息推送方法的流程示意图;FIG. 4A is a schematic flowchart of another information pushing method provided by an embodiment of this application;
图4B是本申请一个实施例提供的一种夜间时段设置界面的示意图;4B is a schematic diagram of a night time period setting interface provided by an embodiment of the present application;
图5为本申请的实施例涉及的硬件运行环境的服务器结构示意图。FIG. 5 is a schematic diagram of a server structure of a hardware operating environment involved in an embodiment of the application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
以下分别进行详细说明。Detailed descriptions are given below.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first" and "second" in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent in these processes, methods, products or equipment.
首先,参见图1A,图1A为本申请的一个实施例提供的一种通信系统的结构示意图,通信系统可包括通过网络互联的服务器110和终端120等。服务器110可实现本申请实施例提及的所有功能,但不限于本申请实施例提及的所有功能。终端120可实现本申请实施例提及的所有功能,但不限于本申请实施例提及的所有功能。First, referring to FIG. 1A, FIG. 1A is a schematic structural diagram of a communication system provided by an embodiment of the application. The communication system may include a server 110 and a terminal 120 that are interconnected through a network. The server 110 can implement all the functions mentioned in the embodiments of the present application, but is not limited to all the functions mentioned in the embodiments of the present application. The terminal 120 can implement all the functions mentioned in the embodiments of the present application, but is not limited to all the functions mentioned in the embodiments of the present application.
参见图1B,图1B为本申请的一个实施例举例的一种服务器110的结构示意图,服务器110可以包括:处理模块111和发送模块112等。Referring to FIG. 1B, FIG. 1B is a schematic structural diagram of a server 110 as an example of an embodiment of the application. The server 110 may include: a processing module 111, a sending module 112, and the like.
处理模块111,用于获取用户的职业信息;The processing module 111 is used to obtain the professional information of the user;
其中,职业信息例如可以包括:职业名称、工作内容、职业技能等。Among them, the occupation information may include, for example, occupation name, job content, occupation skills, and so on.
举例来说,职业信息为:律师,负责民事案件,已经工作5年,具备各类民事案件的处理经验,对各类民事案件对应的法律法规非常熟悉。For example, the professional information is: lawyer, responsible for civil cases, has worked for 5 years, has experience in handling various civil cases, and is very familiar with the laws and regulations corresponding to various civil cases.
可选的,所述对所述职业信息进行字段解析处理以得到多个字段时,Optionally, when the field analysis processing is performed on the occupation information to obtain multiple fields,
所述处理模块111,用于获取字段解析词典,其中,所述字段解析词典中包括至少一个字段;用于确定所述至少一个字段中字段长度最大的字段以得到第一字段;按照所述第一字段对应的第一字段长度和预设顺序将所述职业信息切分成多个第二字段;将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。The processing module 111 is configured to obtain a field analysis dictionary, wherein the field analysis dictionary includes at least one field; is used to determine the field with the largest field length in the at least one field to obtain the first field; A first field length corresponding to a field and a preset sequence divide the occupation information into a plurality of second fields; the plurality of second fields are matched with the at least one field to obtain the plurality of fields.
可选的,所述多个第二字段包括F个第二字段,其中,F为正整数,所述将所述多个 第二字段与所述至少一个字段进行匹配以得到所述多个字段时,所述处理模块111,具体用于Optionally, the multiple second fields include F second fields, where F is a positive integer, and the multiple second fields are matched with the at least one field to obtain the multiple fields When, the processing module 111 is specifically used for
S1:将i设置为初始值为1的整数;S1: Set i to an integer with an initial value of 1;
S2:获取所述F个第二字段中的第i个第二字段;S2: Obtain the i-th second field among the F second fields;
S3:将所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与所述第i个第二字段匹配的字段,若是,则执行步骤S4,如否,则执行步骤S5;S3: Match the i-th second field with each of the at least one field to determine whether there is a field that matches the i-th second field in the at least one field, and if so, Step S4 is executed, if not, step S5 is executed;
S4:将所述至少一个字段中与所述第i个第二字段匹配的字段存储在字段表中;S4: Store the field that matches the i-th second field among the at least one field in a field table;
S5:按照所述预设顺序相反的顺序从所述第i个第二字段中减少一个字段单元,以将减少一个字段单元的所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与减少一个字段单元的所述第i个第二字段匹配的字段,其中,所述字段单元包括词,若是,则执行步骤S6,如否,则执行步骤S7;S5: Decrease one field unit from the i-th second field in the reverse order of the preset order, so as to reduce each of the i-th second field and the at least one field by one field unit. To determine whether there is a field that matches the i-th second field minus one field unit in the at least one field, where the field unit includes a word, and if so, step S6 is performed, such as If not, go to step S7;
S6:将所述至少一个字段中与减少一个字段单元的所述第i个第二字段匹配的字段存储在所述字段表中;S6: Store a field in the at least one field that matches the i-th second field minus one field unit in the field table;
S7:继续按照所述预设顺序相反的顺序从减少一个字段单元的所述第i个第二字段中减少一个字段单元,以得到所述第i个第二字段中剩余的第二字段,并确定所述至少一个字段中是否存在与剩余的第二字段匹配的字段,直到所述第i个第二字段中只剩余一个字段单元为止;S7: Continue to reduce one field unit from the i-th second field reduced by one field unit in the reverse order of the preset order to obtain the remaining second fields in the i-th second field, and Determining whether there is a field matching the remaining second field in the at least one field, until only one field unit remains in the i-th second field;
S8:将(i+1)赋值给i,返回步骤S2;S8: Assign (i+1) to i and return to step S2;
S9:从所述字段表中提取所有的字段以得到所述多个字段;S9: Extract all fields from the field table to obtain the multiple fields;
S10:结束将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。S10: End the matching of the multiple second fields with the at least one field to obtain the multiple fields.
处理模块111,用于对所述职业信息进行字段解析处理以得到多个字段;The processing module 111 is configured to perform field analysis processing on the occupation information to obtain multiple fields;
举例来说,职业信息为:律师,负责民事案件,已经工作5年,具备各类民事案件的处理经验,对各类民事案件对应的法律法规非常熟悉。那么,多个字段为:律师、负责、民事、案件、已经、工作、5年、具备、各类、民事、案件、的、处理经验、对、各类、民事、案件、对应、的、法律法规、非常、熟悉。For example, the professional information is: lawyer, responsible for civil cases, has worked for 5 years, has experience in handling various civil cases, and is very familiar with the laws and regulations corresponding to various civil cases. Then, the multiple fields are: lawyer, responsible, civil, case, already, work, 5 years, possessed, various, civil, case, of, handling experience, right, various, civil, case, correspondence, of, legal Regulations, very, familiar.
处理模块111,用于将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;The processing module 111 is configured to match the multiple fields with an occupation field corpus to obtain at least one occupation field;
其中,职业字段语料库包括多个职业字段。Among them, the occupation field corpus includes multiple occupation fields.
处理模块111,用于从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;The processing module 111 is configured to search for N public welfare activity information matching the at least one occupation field from the database, where N is a positive integer;
其中,N例如可等于1、2、3、5、6、11、13、20或其他值。Wherein, N can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
其中,公益活动信息包括公益活动内容、公益活动开始时间、公益活动结束时间、公益活动人数要求、公益活动地点、公益活动人员招募要求等。进一步的,公益活动人员招募要求例如可以包括:Among them, the public welfare activity information includes the content of the public welfare activity, the start time of the public welfare activity, the end time of the public welfare activity, the number of people required for the public welfare activity, the location of the public welfare activity, the recruitment requirements for public welfare activity personnel, etc. Further, the recruitment requirements for public welfare activity personnel may include, for example:
举例来说,公益活动信息例如为:在2019年6月30日9点至11点需要从事理发工作的10名志愿者前往xx敬老院帮助老人们修剪头发。要求每名志愿者携带理发工具,每名志愿者要具备理发经验。那么,该公益活动信息中至少包括的一个职业字段例如可以为:理发。进一步的,至少一个职业字段例如包括理发师。因此,该公益活动信息与该至少一个职业字段匹配。For example, the public welfare activity information is: 10 volunteers who need to be engaged in hairdressing work from 9 am to 11 am on June 30, 2019, go to xx nursing home to help elderly people trim their hair. Every volunteer is required to bring haircut tools, and every volunteer must have experience in haircutting. Then, at least one occupation field included in the public welfare activity information may be, for example, haircut. Further, the at least one occupation field includes, for example, a hairdresser. Therefore, the public welfare activity information matches the at least one occupation field.
发送模块112,用于向终端发送携带所述N个公益活动信息的推送消息。The sending module 112 is configured to send a push message carrying the N public welfare activity information to the terminal.
其中,终端例如可以是手机、平板电脑、笔记本电脑、掌上电脑、MID或其他终端设备。Among them, the terminal may be, for example, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a MID, or other terminal devices.
可选的,所述向终端发送携带所述N个公益活动信息的推送消息时,Optionally, when the push message carrying the N public welfare activity information is sent to the terminal,
所述处理模块111,用于获取推送时间;确定所述推送时间是否为服务器的更新时间;若所述推送时间是所述服务器的更新时间,则确定所述服务器的更新时间是否落入预设夜间时段的范围;若所述服务器的更新时间落入所述预设夜间时段的范围,则以所述服务器的更新时间为基准,按照预设延迟时段延迟所述推送时间以得到第一推送时间;每间隔预设时间获取所述服务器的系统时间;The processing module 111 is configured to obtain the push time; determine whether the push time is the update time of the server; if the push time is the update time of the server, determine whether the update time of the server falls within a preset The range of the night time period; if the update time of the server falls within the range of the preset night time period, the update time of the server is used as a reference, and the push time is delayed according to the preset delay period to obtain the first push time ; Obtain the system time of the server every preset time;
所述发送模块112,用于在所述服务器的系统时间与所述第一推送时间匹配时,向所述终端发送所述推送消息。The sending module 112 is configured to send the push message to the terminal when the system time of the server matches the first push time.
可选的,所述处理模块111,还用于若所述推送时间不是所述服务器的更新时间,则提取N个公益活动信息中的N个公益活动开始时间和N个公益活动结束时间;从所述N个公益活动开始时间中获取公益活动开始时间最早的第一公益活动开始时间;Optionally, the processing module 111 is further configured to, if the push time is not the update time of the server, extract N public welfare activity start times and N public welfare activity end times in the N public welfare activity information; from Acquiring the first start time of the first public welfare activity with the earliest start time of the public welfare activity among the N public welfare activity start times;
所述发送模块112,还用于以所述第一公益活动开始时间为基准,在第一公益活动结束时间结束之前,向所述终端发送所述推送消息,其中,所述第一公益活动结束时间与所述第一公益活动开始时间对应。The sending module 112 is further configured to send the push message to the terminal before the end of the first public welfare activity based on the start time of the first public welfare activity, wherein the first public welfare activity ends The time corresponds to the start time of the first public welfare activity.
可选的,所述处理模块111,还用于获取所述用户的兴趣标签;从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息,其中,L为正整数;确定所述L个公益活动信息关联存储在所述数据库中的L个公益活动积分,所述L个公益活动信息与所述L条公益活动积分一一对应;从所述L条公益活动积分选取公益活动积分最高的第一公益活动信息;Optionally, the processing module 111 is further configured to obtain the interest tag of the user; to search the database for L public welfare activity information matching the interest tag, where L is a positive integer; to determine the The L pieces of public welfare activity information are associated with the L pieces of public welfare activity points stored in the database, and the L pieces of public welfare activity information correspond to the L pieces of public welfare activity points one-to-one; the public interest activity points are selected from the L pieces of public welfare activity points The highest number one public welfare activity information;
所述发送模块112,还用于向所述终端携带所述第一公益活动信息的推送消息。The sending module 112 is further configured to carry the push message of the first public welfare activity information to the terminal.
可选的,所述从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息时,所述处理模块111,用于获取与所述兴趣标签对应的同义词、近义词,以得到兴趣标签集合;将所述兴趣标签集合中的每个兴趣标签与所述职业字段语料库进行匹配,以得到多个职业字段,其中,所述职业字段语料库包括所述多个职业字段中的每个职业字段与至少一个兴趣标签的对应关系;从所述数据库中查找与所述多个职业字段匹配的L个公益活动信息。Optionally, when searching for L public interest activity information matching the interest tag from the database, the processing module 111 is configured to obtain synonyms and synonyms corresponding to the interest tag to obtain the interest tag Set; each interest tag in the interest tag set is matched with the occupation field corpus to obtain a plurality of occupation fields, wherein the occupation field corpus includes each occupation field in the plurality of occupation fields Correspondence with at least one interest tag; searching for L public welfare activity information matching the multiple occupation fields from the database.
可选的,所述处理模块111,还用于获取所述用户的公益活动参与记录;根据所述公益活动参与记录确定所述用户参与公益活动的参与次数;将所述参与次数与预设参与次数进行对比,以确定所述参与次数是否低于所述预设参与次数;若所述参与次数低于所述预设参与次数,则调用公益奖励函数生成包含公益奖励信息的第二公益活动信息;Optionally, the processing module 111 is further configured to obtain the user's participation record of public welfare activities; determine the number of times the user participates in the public welfare activities according to the record of participation in the public welfare activities; compare the number of participations with the preset participation The number of times is compared to determine whether the number of participations is lower than the preset number of participations; if the number of participations is lower than the preset number of participations, the public welfare reward function is called to generate second public welfare activity information containing public welfare reward information ;
所述发送模块112,还用于向所述终端发送携带所述第二公益活动信息的推送消息。The sending module 112 is further configured to send a push message carrying the second public welfare activity information to the terminal.
可选的,所述处理模块111,还用于若所述参与次数不低于所述预设参与次数,则确定所述职业信息所属的职业类别;从所述数据库中获取与所述职业类别对应的K个公益活动信息,其中,K为正整数;确定所述K个公益活动信息关联存储在所述数据库中的K个公益活动积分;从所述K个公益活动积分中选取公益活动积分最高的第三公益活动积分;获取与所述第三公益活动积分对应的第三公益活动信息;Optionally, the processing module 111 is further configured to determine the occupation category to which the occupation information belongs if the number of participation times is not less than the preset number of participation times; Corresponding K public welfare activity information, where K is a positive integer; determine the K public welfare activity points stored in the database in association with the K public welfare activity information; select public welfare activity points from the K public welfare activity points The highest third public welfare activity points; obtain the third public welfare activity information corresponding to the third public welfare activity points;
所述发送模块112,还用于向所述终端发送携带所述第三公益活动信息的推送消息。The sending module 112 is further configured to send a push message carrying the third public welfare activity information to the terminal.
当然,服务器110的模块架构并不限于上述举例。Of course, the module architecture of the server 110 is not limited to the above examples.
本申请实施例的技术方案可以基于图1A举例所示架构的通信系统或其形变架构来具体实施。The technical solutions of the embodiments of the present application may be implemented specifically based on the communication system of the architecture illustrated in FIG. 1A or its deformed architecture.
参见图2,图2是本申请一个实施例提供的一种信息推送方法的流程示意图,这种方法可包括但不限于如下步骤:Refer to Figure 2. Figure 2 is a schematic flowchart of an information push method provided by an embodiment of the present application. This method may include but is not limited to the following steps:
201、服务器获取用户的职业信息;201. The server obtains the professional information of the user;
其中,职业信息例如可以包括:职业名称、工作内容、职业技能等。Among them, the occupation information may include, for example, occupation name, job content, occupation skills, and so on.
举例来说,职业信息为:律师,负责民事案件,已经工作5年,具备各类民事案件的处理经验,对各类民事案件对应的法律法规非常熟悉。For example, the professional information is: lawyer, responsible for civil cases, has worked for 5 years, has experience in handling various civil cases, and is very familiar with the laws and regulations corresponding to various civil cases.
202、服务器对所述职业信息进行字段解析处理以得到多个字段;202. The server performs field analysis processing on the occupation information to obtain multiple fields.
举例来说,职业信息为:律师,负责民事案件,已经工作5年,具备各类民事案件的处理经验,对各类民事案件对应的法律法规非常熟悉。那么,多个字段为:律师、负责、民事、案件、已经、工作、5年、具备、各类、民事、案件、的、处理经验、对、各类、民事、案件、对应、的、法律法规、非常、熟悉。For example, the professional information is: lawyer, responsible for civil cases, has worked for 5 years, has experience in handling various civil cases, and is very familiar with the laws and regulations corresponding to various civil cases. Then, the multiple fields are: lawyer, responsible, civil, case, already, work, 5 years, possessed, various, civil, case, of, handling experience, right, various, civil, case, correspondence, of, legal Regulations, very, familiar.
203、服务器将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;203. The server matches the multiple fields with an occupation field corpus to obtain at least one occupation field.
其中,职业字段语料库包括多个职业字段。Among them, the occupation field corpus includes multiple occupation fields.
204、服务器从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;204. The server searches the database for N public welfare activity information matching the at least one occupation field, where N is a positive integer;
其中,N例如可等于1、2、3、5、6、11、13、20或其他值。Wherein, N can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
其中,公益活动信息包括公益活动内容、公益活动开始时间、公益活动结束时间、公益活动人数要求、公益活动地点、公益活动人员招募要求等。进一步的,公益活动人员招募要求例如可以包括:Among them, the public welfare activity information includes the content of the public welfare activity, the start time of the public welfare activity, the end time of the public welfare activity, the number of people required for the public welfare activity, the location of the public welfare activity, the recruitment requirements for public welfare activity personnel, etc. Further, the recruitment requirements for public welfare activity personnel may include, for example:
举例来说,公益活动信息例如为:在2019年6月30日9点至11点需要从事理发工作的10名志愿者前往xx敬老院帮助老人们修剪头发。要求每名志愿者携带理发工具,每名志愿者要具备理发经验。那么,该公益活动信息中至少包括的一个职业字段例如可以为:理发。进一步的,至少一个职业字段例如包括理发师。因此,该公益活动信息与该至少一个职业字段匹配。For example, the public welfare activity information is: 10 volunteers who need to be engaged in hairdressing work from 9 am to 11 am on June 30, 2019, go to xx nursing home to help elderly people trim their hair. Every volunteer is required to bring haircut tools, and every volunteer must have experience in haircutting. Then, at least one occupation field included in the public welfare activity information may be, for example, haircut. Further, the at least one occupation field includes, for example, a hairdresser. Therefore, the public welfare activity information matches the at least one occupation field.
205、向终端发送携带所述N个公益活动信息的推送消息。205. Send a push message carrying the N public welfare activity information to the terminal.
其中,终端例如可以是手机、平板电脑、笔记本电脑、掌上电脑、MID或其他终端设备。Among them, the terminal may be, for example, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a MID, or other terminal devices.
可以看出,上述技术方案中,获取用户的职业信息;对所述职业信息进行字段解析处理以得到多个字段;将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;实现至少一个职业字段从数据库中查询N个公益活动信息,实现基于职业信息来获取公益活动信息,最后将公益活动信息推送给终端,从而实现基于用户的职业信息推送与其职业信息强相关的公益活动信息,实现信息的准确推送,提高用户参与积极性和趣味性。另外,本申请还适用于智慧社区,通过实现准确推送信息,从而推动智慧城市的建设。It can be seen that in the above technical solution, the occupation information of the user is obtained; the field analysis processing is performed on the occupation information to obtain multiple fields; the multiple fields are matched with the occupation field corpus to obtain at least one occupation field; At least one occupation field queries N public welfare activity information from the database, realizes the acquisition of public welfare activity information based on occupation information, and finally pushes the public welfare activity information to the terminal, so as to realize the push of public welfare activity information strongly related to their professional information based on the user's professional information , Realize the accurate push of information, and improve the enthusiasm and interest of users to participate. In addition, this application is also applicable to smart communities, which promotes the construction of smart cities by realizing accurate information push.
可选的,第一方面,在一种可能的实施方式中,所述方法还包括:获取所述用户的兴趣标签;从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息,其中,L为正整数;确定所述L个公益活动信息关联存储在所述数据库中的L个公益活动积分,所述L个公益活动信息与所述L条公益活动积分一一对应;从所述L条公益活动积分选取公益活动积分最高的第一公益活动信息;向所述终端携带所述第一公益活动信息的推送消息。Optionally, in the first aspect, in a possible implementation manner, the method further includes: obtaining an interest tag of the user; searching for L public welfare activity information matching the interest tag from the database, Where L is a positive integer; determine the L public welfare activity points stored in the database in association with the L public welfare activity information, and the L public welfare activity information corresponds to the L public welfare activity points in a one-to-one correspondence; The L pieces of public welfare activity points select the first public welfare activity information with the highest public welfare activity points; and the push message of the first public welfare activity information is carried to the terminal.
举例来说,用户的兴趣标签例如可以是:游泳、理发、养花、唱歌、跳舞、书法等。For example, the user's interest tag may be: swimming, haircut, flower growing, singing, dancing, calligraphy, etc.
其中,L例如可等于1、2、3、5、6、11、13、20或其他值。Wherein, L can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
其中,L个公益活动积分中的每个公益活动积分都不同。Among them, each of the L public welfare activity points is different.
举例来说,公益活动信息例如为:在2019年7月30日10点至11点需要会游泳的10名志愿者前往xx游泳馆负责救生员工作。如果,某个用户的兴趣标签是游泳,那么,该公益活动信息与该兴趣标签匹配。For example, the public welfare activity information is: 10 volunteers who need to know how to swim from 10 am to 11 am on July 30, 2019, go to the xx swimming pool to be responsible for lifeguard work. If the interest tag of a certain user is swimming, then the public interest activity information matches the interest tag.
可以看出,上述技术方案中,通过获取所述用户的兴趣标签;从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息;确定所述L个公益活动信息关联存储在所述数据库中的L个公益活动积分,所述L个公益活动信息与所述L条公益活动积分一一对应;从所述L条公益活动积分选取公益活动积分最高的第一公益活动信息;向所述终端携带所述第一公益活动信息的推送消息,从而实现基于用户的兴趣标签推送与其兴趣标签强相关的公益活动信息,实现信息的准确推送。同时,公益活动积分最高的公益活动信息推送给用户,提高用户参与积极性和趣味性。It can be seen that in the above technical solution, the user’s interest tag is acquired; the L public interest activity information matching the interest tag is searched from the database; the L public interest activity information is determined to be stored in the associated association. There are L public welfare activity points in the database, the L public welfare activity information corresponds to the L public welfare activity points one-to-one; the first public welfare activity information with the highest public welfare activity points is selected from the L public welfare activity points; The terminal carries the push message of the first public welfare activity information, so as to push the public welfare activity information strongly related to the interest tag of the user based on the interest tag of the user, and realize the accurate push of the information. At the same time, the information of public welfare activities with the highest points for public welfare activities is pushed to users, which improves users' enthusiasm and interest in participating.
在某些情况下,如果用户的兴趣标签是游泳,但是,公益活动信息包括:在2019年7月30日10点至11点需要10名志愿者前往xx游泳馆负责救生员工作。那么,如果以游泳作为索引条件,可能无法从数据库中获取到相关的公益活动信息。因此,所述从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息,包括:获取与所述兴趣标签对应的同义词、近义词,以得到兴趣标签集合;将所述兴趣标签集合中的每个兴趣标签与所述职业字段语料库进行匹配,以得到多个职业字段,其中,所述职业字段语料库包括所述多个职业字段中的每个职业字段与至少一个兴趣标签的对应关系;从所述数据库中查找与所述多个职业字段匹配的L个公益活动信息。In some cases, if the user’s interest tag is swimming, however, the public welfare activity information includes: 10 volunteers are required to go to the xx swimming pool to be responsible for lifeguard work from 10 to 11 on July 30, 2019. Then, if swimming is used as an index condition, it may not be possible to obtain relevant public welfare activity information from the database. Therefore, the searching from the database for L public welfare activity information that matches the interest tag includes: obtaining synonyms and synonyms corresponding to the interest tag to obtain a collection of interest tags; and adding the interest tag to the collection of interest tags. Each interest tag of is matched with the occupation field corpus to obtain multiple occupation fields, where the occupation field corpus includes a correspondence between each occupation field in the multiple occupation fields and at least one interest tag; Find L public welfare activity information matching the multiple occupation fields from the database.
可以看出,上述技术方案中,通过获取与所述兴趣标签对应的同义词、近义词,以得到兴趣标签集合;将所述兴趣标签集合中的每个兴趣标签与所述职业字段语料库进行匹配,以得到多个职业字段,其中,所述职业字段语料库包括所述多个职业字段中的每个职业字段与至少一个兴趣标签的对应关系;从数据库中查找与所述多个职业字段匹配的L个公益活动信息,从而避免了依据兴趣标签无法获取公益活动信息的情况。It can be seen that in the above technical solution, the interest tag set is obtained by obtaining synonyms and synonyms corresponding to the interest tag; each interest tag in the interest tag set is matched with the occupation field corpus to Obtain a plurality of occupation fields, wherein the occupation field corpus includes the correspondence between each occupation field in the plurality of occupation fields and at least one interest tag; and search the database for L matching the plurality of occupation fields Public welfare activity information, thereby avoiding the situation where information on public welfare activities cannot be obtained based on interest tags.
可选的,基于第一方面,在第一种可能的实施方式中,所述方法还包括:获取所述用户的公益活动参与记录;根据所述公益活动参与记录确定所述用户参与公益活动的参与次数;将所述参与次数与预设参与次数进行对比,以确定所述参与次数是否低于所述预设参与次数;若所述参与次数低于所述预设参与次数,则调用公益奖励函数生成包含公益奖励信息的第二公益活动信息;向所述终端发送携带所述第二公益活动信息的推送消息。Optionally, based on the first aspect, in a first possible implementation manner, the method further includes: obtaining a record of participation in public welfare activities of the user; and determining the user's participation in public welfare activities based on the record of participation in public welfare activities. The number of participations; compare the number of participations with the preset number of participations to determine whether the number of participations is lower than the preset number of participations; if the number of participations is lower than the preset number of participations, call public welfare rewards The function generates second public welfare activity information including public welfare reward information; and sends a push message carrying the second public welfare activity information to the terminal.
可以看出,上述技术方案中,获取所述用户的公益活动参与记录;根据所述公益活动参与记录确定所述用户参与公益活动的参与次数;将所述参与次数与预设参与次数进行对比,以确定所述参与次数是否低于所述预设参与次数;若所述参与次数低于所述预设参与次数,则调用公益奖励函数生成包含公益奖励信息的第二公益活动信息;向所述终端发送携带所述第二公益活动信息的推送消息,实现参与次数低于预设参与次数时将包含公益奖励信息的公益活动信息推送给用户,提高用户参与积极性。It can be seen that, in the above technical solution, the user's participation record of public welfare activities is obtained; the number of participation of the user in the public welfare activities is determined according to the record of participation in public welfare activities; the number of participations is compared with the preset number of participations To determine whether the number of participations is lower than the preset number of participations; if the number of participations is lower than the preset number of participations, call the public welfare reward function to generate second public welfare activity information containing public welfare reward information; The terminal sends a push message carrying the second public welfare activity information, so that when the number of participations is lower than the preset number of participations, the public welfare activity information including the public welfare reward information is pushed to the user, and the user's participation enthusiasm is improved.
可选的,基于第一方面或第一方面的第一种可能的实施方式,在第二种可能的实施方式中,所述方法还包括:若所述参与次数不低于所述预设参与次数,则确定所述职业信息所属的职业类别;从所述数据库中获取与所述职业类别对应的K个公益活动信息,其中,K为正整数;确定所述K个公益活动信息关联存储在所述数据库中的K个公益活动积分;从所述K个公益活动积分中选取公益活动积分最高的第三公益活动积分;获取与所述第三公益活动积分对应的第三公益活动信息;向所述终端发送携带所述第三公益活动信息的推送消息。Optionally, based on the first aspect or the first possible implementation manner of the first aspect, in the second possible implementation manner, the method further includes: if the number of participations is not less than the preset participation The number of times, the occupation category to which the occupation information belongs is determined; the K public welfare activity information corresponding to the occupation category is obtained from the database, where K is a positive integer; it is determined that the K public welfare activity information is stored in association with K public welfare activity points in the database; select the third public welfare activity points with the highest public welfare activity points from the K public welfare activity points; obtain the third public welfare activity information corresponding to the third public welfare activity points; The terminal sends a push message carrying the third public welfare activity information.
其中,K例如可等于1、2、3、5、6、11、13、20或其他值。Wherein, K can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
其中,职业类别例如可以包括:国家机关、党群组织、企事业单位的负责人,专业技术人员、办事人员和有关人员,商业、服务业人员,农、林、牧、鱼、水利业人员,生产、运输设备操作人员及有关人员,军人或其他。Among them, occupational categories may include, for example, the heads of state agencies, party organizations, enterprises and institutions, professional and technical personnel, clerks and related personnel, business and service personnel, and agricultural, forestry, animal husbandry, fish, and water conservancy personnel. Production and transportation equipment operators and related personnel, soldiers or others.
可以看出,上述技术方案中,若所述参与次数不低于所述预设参与次数,则确定所述职业信息所属的职业类别;从所述数据库中获取与所述职业类别对应的K个公益活动信息;确定所述K个公益活动信息关联存储在所述数据库中的K个公益活动积分;从所述K个公益活动积分中选取公益活动积分最高的第三公益活动积分;获取与所述第三公益活动积分对应的第三公益活动信息;向所述终端发送携带所述第三公益活动信息的推送消息,实现基于职业类别获取公益活动信息,提高了信息的准确推送。同时,将公益活动积分最高的公益活动信息推送给用户,提高用户参与积极性和趣味性。It can be seen that, in the above technical solution, if the number of participations is not less than the preset number of participations, the occupation category to which the occupation information belongs is determined; and K corresponding to the occupation category is obtained from the database. Public welfare activity information; determine the K public welfare activity points stored in the database in association with the K public welfare activity information; select the third public welfare activity point with the highest public welfare activity points from the K public welfare activity points; The third public welfare activity information corresponding to the third public welfare activity points; sending a push message carrying the third public welfare activity information to the terminal, so as to realize the acquisition of public welfare activity information based on occupational category, and improve the accurate push of information. At the same time, the information of public welfare activities with the highest points of public welfare activities will be pushed to users to improve users' enthusiasm and interest in participating.
可选的,基于第一方面或第一方面的第一种或第二种可能的实施方式,在第三种可能的实施方式中,所述方法还包括:显示公益活动展示界面,所述公益活动展示界面包括多 个公益活动信息展示框,每个公益活动信息展示框显示多个公益活动信息;获取所述用户访问所述多个公益活动信息展示框的多个访问率;将所述多个访问率与预设访问率进行匹配,以确定所述多个访问率中是否存在高于所述预设访问率的多个第一访问率;若所述多个访问率中存在高于所述预设访问率的多个第一访问率,则从所述多个第一访问率对应的多个第一公益活动信息展示框中获取多个公益活动信息,以及向所述终端发送携带所述多个公益活动信息的推送消息。Optionally, based on the first aspect or the first or second possible implementation manner of the first aspect, in a third possible implementation manner, the method further includes: displaying a public welfare activity display interface, and the public welfare The activity display interface includes a plurality of public welfare activity information display boxes, each of which displays a plurality of public welfare activity information; obtains multiple access rates of the user to the multiple public welfare activity information display boxes; The access rate is matched with the preset access rate to determine whether there are multiple first access rates higher than the preset access rate among the multiple access rates; if any of the multiple access rates is higher than all The multiple first access rates of the preset access rate, then obtain multiple public welfare activity information from the multiple first public welfare activity information display boxes corresponding to the multiple first access rates, and send the carrying information to the terminal Describes multiple push messages of public welfare activity information.
其中,每个公益活动信息展示框显示多个公益活动信息,每个公益活动信息对应的职业信息属于同一职业类型。Among them, each public welfare activity information display box displays multiple public welfare activity information, and the occupation information corresponding to each public welfare activity information belongs to the same occupation type.
可以看出,上述技术方案中,显示公益活动展示界面,所述公益活动展示界面包括多个公益活动信息展示框,每个公益活动信息展示框显示多个公益活动信息;获取所述用户访问所述多个公益活动信息展示框的多个访问率;将所述多个访问率与预设访问率进行匹配,以确定所述多个访问率中是否存在高于所述预设访问率的多个第一访问率;若所述多个访问率中存在高于所述预设访问率的多个第一访问率,则从所述多个第一访问率对应的多个第一公益活动信息展示框中获取多个公益活动信息,以及向所述终端发送携带所述多个公益活动信息的推送消息。通过访问率来获取多个公益活动信息,并向用户推送访问率高的公益活动信息,提高用户参与积极性,也实现了信息的准确推送。It can be seen that in the above technical solution, a public welfare activity display interface is displayed. The public welfare activity display interface includes a plurality of public welfare activity information display boxes, and each public welfare activity information display box displays multiple public welfare activity information; Multiple access rates of the multiple public welfare activity information display boxes; matching the multiple access rates with preset access rates to determine whether there are multiple access rates higher than the preset access rates among the multiple access rates First access rate; if there are multiple first access rates higher than the preset access rate among the multiple access rates, the multiple first public welfare activity information corresponding to the multiple first access rates Acquire multiple public welfare activity information in the display box, and send a push message carrying the multiple public welfare activity information to the terminal. The access rate is used to obtain multiple public welfare activities information, and to push users with high access rate information on public welfare activities, so as to increase the enthusiasm of users to participate, and to achieve accurate information push.
可选的,基于第一方面或第一方面的第一种或第二种或第三种可能的实施方式,在第四种可能的实施方式中,所述获取所述用户访问所述多个公益活动信息展示框的多个访问率,包括:获取所述用户访问所述公益活动展示界面的访问记录;从所述访问记录中提取所述用户访问所述多个公益活动信息展示框中的每个公益活动信息展示框包括的多个公益活动信息对应的多个访问率,以得到多组访问率;确定所述多组访问率中每组访问率对应的多个总访问率;将所述多个总访问率设置为所述多个公益活动信息展示框的多个访问率。Optionally, based on the first aspect or the first or second or third possible implementation manner of the first aspect, in a fourth possible implementation manner, said acquiring said user access to said multiple The multiple access rates of the public welfare activity information display box include: obtaining the access record of the user visiting the public welfare activity display interface; extracting the user’s access to the multiple public welfare activity information display boxes from the access record Each public welfare activity information display box includes multiple visit rates corresponding to multiple public welfare activities information to obtain multiple sets of visit rates; determine multiple total visit rates corresponding to each set of visit rates in the multiple sets of visit rates; The multiple total access rates are set as multiple access rates of the multiple public interest activity information display boxes.
其中,多组访问率中每组访问率包括每个公益活动信息展示框包括的多个公益活动信息对应的多个访问率。进一步的,多个总访问率中的每个总访问率为每个公益活动信息展示框包括的多个公益活动信息对应的多个访问率的总和。Wherein, each group of access rates in the multiple groups of access rates includes multiple access rates corresponding to multiple public welfare activity information included in each public interest activity information display frame. Further, each of the multiple total access rates is the sum of multiple access rates corresponding to the multiple public welfare activity information included in each public interest activity information display frame.
举例来说,公益活动信息展示框有3个。公益活动信息展示框1包括10条公益活动信息,10条公益活动信息中有3条公益活动信息的访问率都是10%,其余的访问率都是2%;公益活动信息展示框2包括3条公益活动信息,3条公益活动信息的访问率分别是20%、12%和1%;公益活动信息展示框3包括5条公益活动信息,5条公益活动信息的访问率分别是10%、2%、11%、3%和1%。那么,公益活动信息展示框1对应的访问率为44%,公益活动信息展示框2对应的访问率为53%,公益活动信息展示框3对应的访问率为27%。For example, there are 3 display boxes for public welfare activity information. The public welfare activity information display box 1 includes 10 public welfare activity information. Among the 10 public welfare activity information, the access rate of 3 public welfare activity information is 10%, and the access rate of the rest is 2%; the public welfare activity information display box 2 includes 3 The access rates of pieces of public welfare activity information and 3 pieces of public welfare activity information are 20%, 12%, and 1% respectively; the public interest activity information display box 3 includes 5 pieces of public welfare activity information, and the access rate of 5 pieces of public welfare activity information is 10%, 2%, 11%, 3% and 1%. Then, the visit rate corresponding to public welfare activity information display box 1 is 44%, the visit rate corresponding to public welfare activity information display box 2 is 53%, and the visit rate corresponding to public welfare activity information display box 3 is 27%.
可以看出,上述技术方案中,获取所述用户访问所述公益活动展示界面的访问记录;从所述访问记录中提取所述用户访问所述多个公益活动信息展示框中的每个公益活动信息展示框包括的多个公益活动信息对应的多个访问率,以得到多组访问率;确定所述多组访问率中每组访问率对应的多个总访问率;将所述多个总访问率设置为所述多个公益活动信息展示框的多个访问率,实现对访问率的准确统计,避免了数据的失真性。It can be seen that in the above technical solution, the access record of the user's access to the public welfare activity display interface is obtained; the user's access to each public welfare activity in the plurality of public welfare activity information display boxes is extracted from the access record Multiple access rates corresponding to multiple public welfare activity information included in the information display box to obtain multiple groups of access rates; determine multiple total access rates corresponding to each group of access rates in the multiple groups of access rates; The access rate is set to multiple access rates of the multiple public welfare activity information display boxes, so as to realize accurate statistics of the access rate and avoid data distortion.
可选的,基于第一方面或第一方面的第一种或第二种或第三种或第四种可能的实施方式,在第五种可能的实施方式中,所述方法还包括:若所述多个访问率中不存在高于所述预设访问率的多个第一访问率,则按照访问率从高到低的顺序对所述多个访问率进行排序,以获取所述多个访问率中访问率最高对应的第二访问率;确定与所述第二访问率对应的第二公益活动信息展示框;从所述第二公益活动信息展示框中获取多个公益活动信息,以及向所述终端发送携带所述多个公益活动信息的推送消息。Optionally, based on the first aspect or the first or second or third or fourth possible implementation manner of the first aspect, in the fifth possible implementation manner, the method further includes: if If there are no multiple first access rates higher than the preset access rate among the multiple access rates, the multiple access rates are sorted in the order of the access rate from high to low to obtain the multiple access rates. The second access rate corresponding to the highest access rate among the access rates; determine the second public welfare activity information display box corresponding to the second access rate; obtain multiple public welfare activity information from the second public welfare activity information display box, And sending a push message carrying the multiple public welfare activity information to the terminal.
可以看出,上述技术方案中,若所述多个访问率中不存在高于所述预设访问率的多个第一访问率,则按照访问率从高到低的顺序对所述多个访问率进行排序,以获取所述多个 访问率中访问率最高对应的第二访问率;确定与所述第二访问率对应的第二公益活动信息展示框;从所述第二公益活动信息展示框中获取多个公益活动信息,以及向所述终端发送携带所述多个公益活动信息的推送消息。通过访问率来获取多个公益活动信息,并向用户推送访问率高的公益活动信息,提高用户参与积极性,也实现了信息的准确推送。It can be seen that, in the above technical solution, if there are no multiple first access rates higher than the preset access rate among the multiple access rates, then the multiple access rates will be processed in descending order of the access rates. The access rate is sorted to obtain the second access rate corresponding to the highest access rate among the plurality of access rates; determine the second public welfare activity information display box corresponding to the second access rate; from the second public welfare activity information Acquire multiple public welfare activity information in the display box, and send a push message carrying the multiple public welfare activity information to the terminal. The access rate is used to obtain multiple public welfare activities information, and to push users with high access rate information on public welfare activities, so as to increase the enthusiasm of users to participate, and to achieve accurate information push.
下面对从所述对所述职业信息进行字段解析处理以得到多个字段的这一过程进行具体举例说明。The process of obtaining multiple fields from the field parsing process on the occupation information will be described in specific examples below.
参见图3,图3是本申请的实施例举例提供的一种信息推送方法的流程示意图,这种方法可包括但不限于如下步骤:Referring to FIG. 3, FIG. 3 is a schematic flowchart of an information push method provided by an example of an embodiment of the present application. This method may include but is not limited to the following steps:
301、服务器获取字段解析词典,其中,所述字段解析词典中包括至少一个字段;301. A server obtains a field analysis dictionary, where the field analysis dictionary includes at least one field;
302、服务器确定所述至少一个字段中字段长度最大的字段以得到第一字段;302. The server determines the field with the largest field length among the at least one field to obtain the first field.
303、服务器按照所述第一字段对应的第一字段长度和预设顺序将所述职业信息切分成多个第二字段;303. The server divides the occupation information into multiple second fields according to the length of the first field corresponding to the first field and a preset order.
其中,预设顺序例如可以是从左往右的顺序,也可以是从右往左的顺序。Among them, the preset order may be, for example, from left to right, or from right to left.
举例来说,字段解析词典包括:律师、负责、民事、案件、已经、工作、5年、具备、各类、民事、案件、的、处理经验。那么,字段长度最大的字段为处理经验。如果,职业信息为:律师,负责民事案件,已经工作5年,具备各类民事案件的处理经验。进一步的,在实际上,服务器获取的职业信息中不包括标点符号。若按照从左往右的顺序切分该职业信息,多个第二字段包括:律师负责、民事案件、已经工作、5年具备、各类民事、案件的处、理经验。若按照从右往左的顺序切分该职业信息,多个第二字段包括:律师负、责民事案、件已经工、作5年具、备各类民、事案件的、处理经验。For example, the field analysis dictionary includes: lawyer, responsible, civil, case, already, work, 5 years, possessed, various types, civil, case, and handling experience. Then, the field with the largest field length is the processing experience. If the professional information is: a lawyer, responsible for civil cases, has worked for 5 years, and has experience in handling various civil cases. Further, in practice, the occupation information obtained by the server does not include punctuation marks. If the occupational information is segmented in the order from left to right, multiple second fields include: attorney responsible, civil case, already worked, 5 years of experience, various types of civil and case handling and handling experience. If the occupational information is segmented in the order from right to left, multiple second fields include: attorney responsible, responsible for civil cases, work, 5 years of work, preparation of various civil and affair cases, and handling experience.
304、服务器将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。304. The server matches the multiple second fields with the at least one field to obtain the multiple fields.
可以看出,上述技术方案中,获取字段解析词典,其中,所述字段解析词典中包括至少一个字段;确定所述至少一个字段中字段长度最大的字段以得到第一字段;按照所述第一字段对应的第一字段长度和预设顺序将所述职业信息切分成多个第二字段;将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段,通过按照字段长度最大的字段和预设顺序切分职业信息,减少了后续的匹配数据量,提高了匹配效率。It can be seen that in the above technical solution, the field analysis dictionary is acquired, wherein the field analysis dictionary includes at least one field; the field with the largest field length in the at least one field is determined to obtain the first field; The first field length corresponding to the field and the preset order divide the occupation information into a plurality of second fields; the plurality of second fields are matched with the at least one field to obtain the plurality of fields, by The field with the largest field length and the preset order segment the occupational information, which reduces the amount of subsequent matching data and improves the matching efficiency.
可选的,在一种可能的实施方式中,所述多个第二字段包括F个第二字段,其中,F为正整数,所述将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段,包括:Optionally, in a possible implementation manner, the multiple second fields include F second fields, where F is a positive integer, and the multiple second fields are combined with the at least one field Matching to obtain the multiple fields includes:
S1:将i设置为初始值为1的整数;S1: Set i to an integer with an initial value of 1;
S2:获取所述F个第二字段中的第i个第二字段;S2: Obtain the i-th second field among the F second fields;
S3:将所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与所述第i个第二字段匹配的字段,若是,则执行步骤S4,如否,则执行步骤S5;S3: Match the i-th second field with each of the at least one field to determine whether there is a field that matches the i-th second field in the at least one field, and if so, Step S4 is executed, if not, step S5 is executed;
S4:将所述至少一个字段中与所述第i个第二字段匹配的字段存储在字段表中;S4: Store the field that matches the i-th second field among the at least one field in a field table;
S5:按照所述预设顺序相反的顺序从所述第i个第二字段中减少一个字段单元,以将减少一个字段单元的所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与减少一个字段单元的所述第i个第二字段匹配的字段,其中,所述字段单元包括词,若是,则执行步骤S6,如否,则执行步骤S7;S5: Decrease one field unit from the i-th second field in the reverse order of the preset order, so as to reduce each of the i-th second field and the at least one field by one field unit. To determine whether there is a field that matches the i-th second field minus one field unit in the at least one field, where the field unit includes a word, and if so, step S6 is performed, such as If not, go to step S7;
S6:将所述至少一个字段中与减少一个字段单元的所述第i个第二字段匹配的字段存储在所述字段表中;S6: Store a field in the at least one field that matches the i-th second field minus one field unit in the field table;
S7:继续按照所述预设顺序相反的顺序从减少一个字段单元的所述第i个第二字段中减少一个字段单元,以得到所述第i个第二字段中剩余的第二字段,并确定所述至少一个字段中是否存在与剩余的第二字段匹配的字段,直到所述第i个第二字段中只剩余一个字 段单元为止;S7: Continue to reduce one field unit from the i-th second field reduced by one field unit in the reverse order of the preset order to obtain the remaining second fields in the i-th second field, and Determining whether there is a field matching the remaining second field in the at least one field, until only one field unit remains in the i-th second field;
S8:将(i+1)赋值给i,返回步骤S2;S8: Assign (i+1) to i and return to step S2;
S9:从所述字段表中提取所有的字段以得到所述多个字段;S9: Extract all fields from the field table to obtain the multiple fields;
S10:结束将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。S10: End the matching of the multiple second fields with the at least one field to obtain the multiple fields.
其中,F例如可等于1、2、3、5、6、11、13、20或其他值。Wherein, F can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
其中,i例如可等于1、2、3、5、6、11、13、20或其他值。Wherein, i can be equal to 1, 2, 3, 5, 6, 11, 13, 20 or other values, for example.
举例来说,字段解析词典包括:律师、负责、民事、案件、已经、工作、5年、具备、各类、民事、案件、的、处理经验。那么,字段长度最大的字段为处理经验。若按照从左往右的顺序切分职业信息得到的多个第二字段包括:律师负责。进一步的,律师负责在字段解析词典中不存在,则按照从右向左的顺序减少“责”,即“律师负责”变为“律师负”,依旧不存在。则按照从右向左的顺序减少“任”,即“律师负”变为“律师”,那么,字段解析词典中存在“律师”。同时,剩下的“负责”也在字段解析词典中。因此,最后的多个字段包括律师和负责。For example, the field analysis dictionary includes: lawyer, responsible, civil, case, already, work, 5 years, possessed, various types, civil, case, and handling experience. Then, the field with the largest field length is the processing experience. If the occupation information is segmented in the order from left to right, the multiple second fields obtained include: the lawyer is responsible. Furthermore, if the lawyer's responsibility does not exist in the field analysis dictionary, the "responsibility" is reduced in the order from right to left, that is, the "lawyer's responsibility" becomes "the lawyer's responsibility", which still does not exist. Then the "ren" is reduced in the order from right to left, that is, "lawyer's negative" becomes "lawyer", then "lawyer" exists in the field analysis dictionary. At the same time, the remaining "responsible" are also in the field resolution dictionary. Therefore, the last multiple fields include attorney and responsible.
可以看出,上述技术方案中,实现了对中文字段的准确分词,为后续从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息做准备。It can be seen that, in the above technical solution, accurate word segmentation of Chinese fields is realized, and preparations for subsequent search for N public welfare activity information matching the at least one occupation field from the database.
下面对向终端发送携带所述N个公益活动信息的推送消息的这一过程进行具体举例说明。The process of sending the push message carrying the information of the N public welfare activities to the terminal will be described with specific examples below.
参见图4A,图4A是本申请一个实施例提供的又一种信息推送方法的流程示意图,这种方法可包括但不限于如下步骤:Referring to FIG. 4A, FIG. 4A is a schematic flowchart of yet another information push method provided by an embodiment of the present application. This method may include, but is not limited to, the following steps:
401、服务器获取推送时间;401. The server obtains the push time;
其中,推送时间为向终端发送推送消息的时间。Among them, the push time is the time for sending a push message to the terminal.
402、服务器确定所述推送时间是否为服务器的更新时间;402. The server determines whether the push time is the update time of the server.
举例来说,推送时间例如是2019年6月30日上午9点30分,服务器的更新时间为2019年6月30日晚上1点30分,那么可以发现,推送时间并不是服务器的更新时间。For example, if the push time is 9:30 am on June 30, 2019, and the server update time is 1:30 pm on June 30, 2019, it can be found that the push time is not the update time of the server.
其中,服务器的更新时间为服务器内部更新的时间。举例来说,服务器需要更新新的服务,那么会选择一个更新时间,比如在2019年6月30日晚上1点30分更新服务器。Among them, the update time of the server is the internal update time of the server. For example, if the server needs to update a new service, then an update time will be selected, for example, update the server at 1:30 pm on June 30, 2019.
可选的,在一种可能的实施方式中,所述方法还包括:若所述推送时间不是所述服务器的更新时间,则提取N个公益活动信息中的N个公益活动开始时间和N个公益活动结束时间;从所述N个公益活动开始时间中获取公益活动开始时间最早的第一公益活动开始时间;以所述第一公益活动开始时间为基准,在第一公益活动结束时间结束之前,向所述终端发送所述推送消息,其中,所述第一公益活动结束时间与所述第一公益活动开始时间对应。Optionally, in a possible implementation manner, the method further includes: if the push time is not the update time of the server, extracting N public welfare activity start times and N public welfare activity information from the N public welfare activity information The end time of the public welfare activity; the start time of the first public welfare activity with the earliest start time of the public welfare activity is obtained from the start times of the N public welfare activities; based on the start time of the first public welfare activity, before the end of the first public welfare activity end time , Sending the push message to the terminal, wherein the end time of the first public welfare activity corresponds to the start time of the first public welfare activity.
可以看出,上述技术方案中,若所述推送时间不是所述服务器的更新时间,则提取N个公益活动信息中的N个公益活动开始时间和N个公益活动结束时间;从所述N个公益活动开始时间中获取公益活动开始时间最早的第一公益活动开始时间;以所述第一公益活动开始时间为基准,在第一公益活动结束时间结束之前,向所述终端发送所述推送消息,其中,所述第一公益活动结束时间与所述第一公益活动开始时间对应,实现了基于公益活动时间进行公益活动的推送,避免用户错过公益活动开展时间,提高用户体验。It can be seen that, in the above technical solution, if the push time is not the update time of the server, then N public welfare activity start times and N public welfare activity end times from the N public welfare activity information are extracted; Acquire the first public welfare activity start time with the earliest public welfare activity start time from the public welfare activity start time; based on the first public welfare activity start time, send the push message to the terminal before the end of the first public welfare activity end time , Wherein the end time of the first public welfare activity corresponds to the start time of the first public welfare activity, which realizes the push of public welfare activities based on the time of the public welfare activity, prevents users from missing the time for the public welfare activity, and improves user experience.
403、若所述推送时间是所述服务器的更新时间,服务器则确定所述服务器的更新时间是否落入预设夜间时段的范围;403. If the push time is the update time of the server, the server determines whether the update time of the server falls within the range of a preset night time period.
举例来说,在推送时间是服务器的更新时间时,服务器的更新时间为晚上1点30分,而预设夜间时段的范围为晚上12点后到晚上4点30,那么,可以看出,服务器的更新时间是在预设夜间时段的范围内的。For example, when the push time is the update time of the server, the update time of the server is 1:30 pm, and the preset night time range is after 12 pm to 4:30 pm, then it can be seen that the server The update time of is within the preset night time period.
其中,预设夜间时段的范围可以由管理员设置,也可以配置在服务器的配置文件中。Among them, the range of the preset night time period can be set by the administrator, or can be configured in the configuration file of the server.
进一步,服务器显示夜间时段设置界面,其中,图4B是本申请一个实施例提供的一种夜间时段设置界面的示意图,夜间时段设置界面包括夜间时段输入框和夜间时段确认按钮。Further, the server displays a night time period setting interface, where Fig. 4B is a schematic diagram of a night time period setting interface provided by an embodiment of the present application. The night time period setting interface includes a night time period input box and a night time period confirmation button.
当管理员在夜间时段设置界面的夜间时段输入框输入夜间时段时,服务器在夜间时段设置界面上显示夜间时段推荐列表,夜间时段推荐列表包括多个推荐夜间时段的范围。管理员可以在夜间时段输入框输入夜间时段的范围,也可以在夜间时段推荐列表中选择推荐夜间时段的范围。当管理员从夜间时段推荐列表上选择推荐夜间时段的范围时,推荐夜间时段的范围会显示在夜间时段输入框中。在管理员对夜间时段确认按钮进行确认操作时,服务器可以检测到确认指令;在检测到确认指令时,服务器从夜间时段输入框中获取夜间时段的范围,以将该夜间时段的范围设置为预设夜间时段的范围。When the administrator enters the night time in the night time input box on the night time setting interface, the server displays a night time recommendation list on the night time setting interface. The night time recommendation list includes multiple recommended night time ranges. The administrator can enter the night time range in the night time input box, or select the recommended night time range in the night time recommendation list. When the administrator selects the recommended night time range from the night time recommendation list, the recommended night time range will be displayed in the night time input box. When the administrator confirms the night time period confirmation button, the server can detect the confirmation instruction; when the confirmation instruction is detected, the server obtains the night time range from the night time input box to set the night time range as the preset Set the range of night time.
进一步的,夜间时段推荐列表包括多个推荐夜间时段的范围,每个推荐夜间时段的范围可以精确到秒、甚至是毫秒。Further, the night time period recommendation list includes multiple ranges of recommended night time periods, and the range of each recommended night time period can be accurate to seconds or even milliseconds.
可选的,在一种可能的实施方式中,所述方法还包括:若所述服务器的更新时间未落入所述预设夜间时段的范围,则向所述终端发送所述推送消息。Optionally, in a possible implementation manner, the method further includes: if the update time of the server does not fall within the range of the preset night time period, sending the push message to the terminal.
404、若所述服务器的更新时间落入所述预设夜间时段的范围,服务器则以所述服务器的更新时间为基准,按照预设延迟时段延迟所述推送时间以得到第一推送时间;404. If the update time of the server falls within the range of the preset night time period, the server uses the update time of the server as a reference and delays the push time according to the preset delay period to obtain the first push time;
其中,预设延迟时段可以由管理员设置,也可以配置在服务器的配置文件中。Among them, the preset delay period can be set by the administrator or can be configured in the configuration file of the server.
405、服务器每间隔预设时间获取所述服务器的系统时间;405. The server obtains the system time of the server every preset time.
其中,预设时间可以由管理员设置,也可以配置在服务器的配置文件中。Among them, the preset time can be set by the administrator or can be configured in the configuration file of the server.
举例来说,预设时间例如可以是:10分钟、30分钟、1小时、1小时5分等等。For example, the preset time may be: 10 minutes, 30 minutes, 1 hour, 1 hour and 5 minutes, and so on.
406、服务器在所述服务器的系统时间与所述第一推送时间匹配时,向所述终端发送所述推送消息。406. The server sends the push message to the terminal when the system time of the server matches the first push time.
可以看出,上述技术方案中,通过循序渐进的方式判断推送时间是否为服务器的更新时间,服务器的更新时间是否落入预设夜间时段的范围,从而确定在什么时间段终端发送推送消息。通过避开服务器更新时间向终端发送推送消息,也避开预设夜间时段的范围向终端发送推送消息,从而避免由于服务器更新导致的无法从数据库中查找与职业信息匹配的N个公益活动信息的因素,也避免在预设夜间时段的范围向终端发送推送消息,提升用户体验。It can be seen that in the above technical solution, whether the push time is the update time of the server is determined in a gradual manner, and whether the update time of the server falls within the range of the preset night time period, so as to determine the time period when the terminal sends the push message. By avoiding the server update time to send push messages to the terminal, and also avoiding the preset night time period to send push messages to the terminal, so as to avoid the inability to find N public welfare activity information matching professional information in the database due to server update It also avoids sending push messages to the terminal within the preset night time period to improve user experience.
参见图5,图5为本申请的实施例涉及的硬件运行环境的服务器结构示意图。其中,如图5所示,本申请的实施例涉及的硬件运行环境的服务器可以包括:Referring to FIG. 5, FIG. 5 is a schematic diagram of a server structure of a hardware operating environment involved in an embodiment of the application. Wherein, as shown in FIG. 5, the server of the hardware operating environment involved in the embodiment of the present application may include:
处理器501,例如CPU。The processor 501 is, for example, a CPU.
存储器502,可选的,存储器可以为高速RAM存储器,也可以是稳定的存储器,例如磁盘存储器。The memory 502, optionally, the memory may be a high-speed RAM memory, or a stable memory, such as a disk memory.
通信接口503,用于实现处理器501和存储器502之间的连接通信。The communication interface 503 is used to implement connection and communication between the processor 501 and the memory 502.
本领域技术人员可以理解,图5中示出的服务器的结构并不构成对其的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the server shown in FIG. 5 does not constitute a limitation to it, and may include more or less components than those shown in the figure, or a combination of certain components, or different component arrangements.
如图5所示,存储器502中可以包括操作系统、网络通信模块以及一个或多个程序。操作系统是管理和控制服务器硬件和软件资源的程序,一个或多个程序以及其他软件或程序的运行。网络通信模块用于实现存储器502内部各组件之间的通信,以及与服务器内部其他硬件和软件之间通信。As shown in FIG. 5, the memory 502 may include an operating system, a network communication module, and one or more programs. The operating system is a program that manages and controls server hardware and software resources, one or more programs, and the operation of other software or programs. The network communication module is used to implement communication between various components in the storage 502 and communication with other hardware and software in the server.
在图5所示的服务器中,处理器501用于执行存储器502中存储的一个或多个程序,实现以下步骤:获取用户的职业信息;对所述职业信息进行字段解析处理以得到多个字段;将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;向终端发送携带所述N个公益活动信息的推送消息。In the server shown in FIG. 5, the processor 501 is configured to execute one or more programs stored in the memory 502 to implement the following steps: obtain the user's occupation information; perform field analysis processing on the occupation information to obtain multiple fields ; Match the multiple fields with the occupation field corpus to obtain at least one occupation field; search the database for N public welfare activity information that matches the at least one occupation field, where N is a positive integer; send the carry to the terminal Push messages of the N public welfare activity information.
本申请涉及的服务器的具体实施可参见上述信息推送方法的各实施例,在此不做赘述。For the specific implementation of the server involved in the present application, please refer to the embodiments of the above-mentioned information pushing method, which will not be repeated here.
本申请还提供了一种一种信息推送的电子设备,其中,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被生成由所述处理器执行,以执行以下步骤的指令:获取用户的职业信息;对所述职业信息进行字段解析处理以得到多个字段;将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;向终端发送携带所述N个公益活动信息的推送消息。This application also provides an information push electronic device, which includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, and The instructions are generated to be executed by the processor to perform the following steps: obtain the user's occupation information; perform field analysis processing on the occupation information to obtain a plurality of fields; and match the plurality of fields with the occupation field corpus to Obtain at least one occupation field; search for N public welfare activity information matching the at least one occupation field from the database, where N is a positive integer; and send a push message carrying the N public welfare activity information to the terminal.
可选的,在对所述职业信息进行字段解析处理以得到多个字段时,所述处理器,用于获取字段解析词典,其中,所述字段解析词典中包括至少一个字段;确定所述至少一个字段中字段长度最大的字段以得到第一字段;按照所述第一字段对应的第一字段长度和预设顺序将所述职业信息切分成多个第二字段;将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。Optionally, when performing field analysis processing on the occupation information to obtain a plurality of fields, the processor is configured to obtain a field analysis dictionary, wherein the field analysis dictionary includes at least one field; and it is determined that the at least The field with the largest field length in one field is used to obtain the first field; the occupation information is divided into a plurality of second fields according to the first field length corresponding to the first field and a preset order; The field is matched with the at least one field to obtain the multiple fields.
可选的,所述多个第二字段包括F个第二字段,其中,F为正整数,在将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段时,所述处理器,用于Optionally, the multiple second fields include F second fields, where F is a positive integer, and when the multiple second fields are matched with the at least one field to obtain the multiple fields , The processor for
S1:将i设置为初始值为1的整数;S1: Set i to an integer with an initial value of 1;
S2:获取所述F个第二字段中的第i个第二字段;S2: Obtain the i-th second field among the F second fields;
S3:将所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与所述第i个第二字段匹配的字段,若是,则执行步骤S4,如否,则执行步骤S5;S3: Match the i-th second field with each of the at least one field to determine whether there is a field that matches the i-th second field in the at least one field, and if so, Step S4 is executed, if not, step S5 is executed;
S4:将所述至少一个字段中与所述第i个第二字段匹配的字段存储在字段表中;S4: Store the field that matches the i-th second field among the at least one field in a field table;
S5:按照所述预设顺序相反的顺序从所述第i个第二字段中减少一个字段单元,以将减少一个字段单元的所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与减少一个字段单元的所述第i个第二字段匹配的字段,其中,所述字段单元包括词,若是,则执行步骤S6,如否,则执行步骤S7;S5: Decrease one field unit from the i-th second field in the reverse order of the preset order, so as to reduce each of the i-th second field and the at least one field by one field unit. To determine whether there is a field that matches the i-th second field minus one field unit in the at least one field, where the field unit includes a word, and if so, step S6 is performed, such as If not, go to step S7;
S6:将所述至少一个字段中与减少一个字段单元的所述第i个第二字段匹配的字段存储在所述字段表中;S6: Store a field in the at least one field that matches the i-th second field minus one field unit in the field table;
S7:继续按照所述预设顺序相反的顺序从减少一个字段单元的所述第i个第二字段中减少一个字段单元,以得到所述第i个第二字段中剩余的第二字段,并确定所述至少一个字段中是否存在与剩余的第二字段匹配的字段,直到所述第i个第二字段中只剩余一个字段单元为止;S7: Continue to reduce one field unit from the i-th second field reduced by one field unit in the reverse order of the preset order to obtain the remaining second fields in the i-th second field, and Determining whether there is a field matching the remaining second field in the at least one field, until only one field unit remains in the i-th second field;
S8:将(i+1)赋值给i,返回步骤S2;S8: Assign (i+1) to i and return to step S2;
S9:从所述字段表中提取所有的字段以得到所述多个字段;S9: Extract all fields from the field table to obtain the multiple fields;
S10:结束将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。S10: End the matching of the multiple second fields with the at least one field to obtain the multiple fields.
可选的,在向终端发送携带所述N个公益活动信息的推送消息时,所述处理器,用于获取推送时间;确定所述推送时间是否为服务器的更新时间;若所述推送时间是所述服务器的更新时间,则确定所述服务器的更新时间是否落入预设夜间时段的范围;若所述服务器的更新时间落入所述预设夜间时段的范围,则以所述服务器的更新时间为基准,按照预设延迟时段延迟所述推送时间以得到第一推送时间;每间隔预设时间获取所述服务器的系统时间;在所述服务器的系统时间与所述第一推送时间匹配时,通过所述通信接口向所述终端发送所述推送消息。Optionally, when sending a push message carrying the N public welfare activity information to the terminal, the processor is configured to obtain the push time; determine whether the push time is the update time of the server; if the push time is The update time of the server determines whether the update time of the server falls within the range of the preset night time period; if the update time of the server falls within the range of the preset night time period, the update time of the server Based on time, the push time is delayed according to a preset delay period to obtain the first push time; the system time of the server is acquired every preset time; when the system time of the server matches the first push time , Sending the push message to the terminal through the communication interface.
可选的,所述处理器,还用于若所述推送时间不是所述服务器的更新时间,则提取N个公益活动信息中的N个公益活动开始时间和N个公益活动结束时间;从所述N个公益活动开始时间中获取公益活动开始时间最早的第一公益活动开始时间;以所述第一公益活动开始时间为基准,在第一公益活动结束时间结束之前,通过所述通信接口向所述终端发送 所述推送消息,其中,所述第一公益活动结束时间与所述第一公益活动开始时间对应。Optionally, the processor is further configured to, if the push time is not the update time of the server, extract N public welfare activity start times and N public welfare activity end times in the N public welfare activity information; Obtain the first public welfare activity start time with the earliest public welfare activity start time among the N public welfare activity start times; using the start time of the first public welfare activity as a benchmark, before the end time of the first public welfare activity ends, send a message to The terminal sends the push message, wherein the end time of the first public welfare activity corresponds to the start time of the first public welfare activity.
可选的,所述处理器,还用于获取所述用户的兴趣标签;从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息,其中,L为正整数;确定所述L个公益活动信息关联存储在所述数据库中的L个公益活动积分,所述L个公益活动信息与所述L条公益活动积分一一对应;从所述L条公益活动积分选取公益活动积分最高的第一公益活动信息;通过所述通信接口向所述终端携带所述第一公益活动信息的推送消息。Optionally, the processor is further configured to obtain the interest tag of the user; search for L public welfare activity information matching the interest tag from the database, where L is a positive integer; and determine the L Pieces of public welfare activity information are associated with the L pieces of public welfare activity points stored in the database, and the L pieces of public welfare activity information correspond to the L pieces of public welfare activity points in a one-to-one correspondence; from the L pieces of public welfare activity points, the highest point is selected for the public welfare activity The first public welfare activity information; the push message of the first public welfare activity information is carried to the terminal through the communication interface.
可选的,在从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息时,所述处理器,用于获取与所述兴趣标签对应的同义词、近义词,以得到兴趣标签集合;将所述兴趣标签集合中的每个兴趣标签与所述职业字段语料库进行匹配,以得到多个职业字段,其中,所述职业字段语料库包括所述多个职业字段中的每个职业字段与至少一个兴趣标签的对应关系;从所述数据库中查找与所述多个职业字段匹配的L个公益活动信息。Optionally, when searching for L public welfare activity information matching the interest tag from the database, the processor is configured to obtain synonyms and synonyms corresponding to the interest tag to obtain an interest tag set; Each interest tag in the interest tag set is matched with the occupation field corpus to obtain a plurality of occupation fields, wherein the occupation field corpus includes each occupation field in the plurality of occupation fields and at least Correspondence of an interest tag; searching for L public welfare activity information matching the multiple occupation fields from the database.
可选的,所述处理器,还用于获取所述用户的公益活动参与记录;根据所述公益活动参与记录确定所述用户参与公益活动的参与次数;将所述参与次数与预设参与次数进行对比,以确定所述参与次数是否低于所述预设参与次数;若所述参与次数低于所述预设参与次数,则调用公益奖励函数生成包含公益奖励信息的第二公益活动信息;通过所述通信接口向所述终端发送携带所述第二公益活动信息的推送消息。Optionally, the processor is further configured to obtain a record of participation in public welfare activities of the user; determine the number of times the user participates in public welfare activities according to the record of participation in public welfare activities; and compare the number of participations with a preset number of participations Make a comparison to determine whether the number of participations is lower than the preset number of participations; if the number of participations is lower than the preset number of participations, call the public welfare reward function to generate second public welfare activity information including public welfare reward information; Sending a push message carrying the second public welfare activity information to the terminal through the communication interface.
可选的,所述处理器,还用于若所述参与次数不低于所述预设参与次数,则确定所述职业信息所属的职业类别;从所述数据库中获取与所述职业类别对应的K个公益活动信息,其中,K为正整数;确定所述K个公益活动信息关联存储在所述数据库中的K个公益活动积分;从所述K个公益活动积分中选取公益活动积分最高的第三公益活动积分;获取与所述第三公益活动积分对应的第三公益活动信息;通过所述通信接口向所述终端发送携带所述第三公益活动信息的推送消息。Optionally, the processor is further configured to, if the number of participations is not less than the preset number of participations, determine the occupation category to which the occupation information belongs; obtain from the database corresponding to the occupation category K public welfare activity information in, where K is a positive integer; determine the K public welfare activity points stored in the database in association with the K public welfare activity information; select the highest public welfare activity points from the K public welfare activity points The third public welfare activity points; obtain the third public welfare activity information corresponding to the third public welfare activity points; send a push message carrying the third public welfare activity information to the terminal through the communication interface.
本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述存储计算机程序被所述处理器执行,以实现以下步骤:获取用户的职业信息;对所述职业信息进行字段解析处理以得到多个字段;将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;向终端发送携带所述N个公益活动信息的推送消息。本申请涉及的计算机可读存储介质的具体实施可参见上述信息推送方法的各实施例,在此不做赘述。The present application also provides a computer-readable storage medium for storing a computer program, and the stored computer program is executed by the processor to implement the following steps: obtaining occupational information of a user; Field analysis processing is performed on the occupation information to obtain multiple fields; the multiple fields are matched with the occupation field corpus to obtain at least one occupation field; N public welfare activities matching the at least one occupation field are searched from the database Information, where N is a positive integer; a push message carrying the N public welfare activity information is sent to the terminal. For the specific implementation of the computer-readable storage medium involved in the present application, please refer to each embodiment of the above-mentioned information pushing method, which will not be repeated here.
另外,所述计算机可读存储介质可以是非易失性,也可以是易失性。In addition, the computer-readable storage medium may be non-volatile or volatile.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应所述知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应所述知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that this application is not subject to the described sequence of actions. Limitation, because according to this application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应所述理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性或者其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的 部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software function modules.
所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者所述技术方案的全部或部分可以以软件产品的形式体现出来,所述计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage The medium includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code .

Claims (20)

  1. 一种信息推送方法,其中,包括:An information push method, which includes:
    获取用户的职业信息;Obtain user's professional information;
    对所述职业信息进行字段解析处理以得到多个字段;Perform field analysis processing on the occupation information to obtain multiple fields;
    将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;Matching the multiple fields with an occupation field corpus to obtain at least one occupation field;
    从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;Find N public welfare activity information matching the at least one occupation field from the database, where N is a positive integer;
    向终端发送携带所述N个公益活动信息的推送消息。Send a push message carrying the information of the N public welfare activities to the terminal.
  2. 根据权利要求1所述的方法,其中,所述对所述职业信息进行字段解析处理以得到多个字段,包括:The method according to claim 1, wherein said performing field analysis processing on the occupation information to obtain a plurality of fields comprises:
    获取字段解析词典,其中,所述字段解析词典中包括至少一个字段;Acquiring a field analysis dictionary, where the field analysis dictionary includes at least one field;
    确定所述至少一个字段中字段长度最大的字段以得到第一字段;Determining the field with the largest field length in the at least one field to obtain the first field;
    按照所述第一字段对应的第一字段长度和预设顺序将所述职业信息切分成多个第二字段;Dividing the occupation information into a plurality of second fields according to the length of the first field corresponding to the first field and a preset order;
    将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。Matching the plurality of second fields with the at least one field to obtain the plurality of fields.
  3. 根据权利要求2所述的方法,其中,所述多个第二字段包括F个第二字段,其中,F为正整数,所述将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段,包括:The method according to claim 2, wherein the plurality of second fields comprise F second fields, wherein F is a positive integer, and the plurality of second fields are matched with the at least one field To obtain the multiple fields, including:
    S1:将i设置为初始值为1的整数;S1: Set i to an integer with an initial value of 1;
    S2:获取所述F个第二字段中的第i个第二字段;S2: Obtain the i-th second field among the F second fields;
    S3:将所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与所述第i个第二字段匹配的字段,若是,则执行步骤S4,如否,则执行步骤S5;S3: Match the i-th second field with each of the at least one field to determine whether there is a field that matches the i-th second field in the at least one field, and if so, Step S4 is executed, if not, step S5 is executed;
    S4:将所述至少一个字段中与所述第i个第二字段匹配的字段存储在字段表中;S4: Store the field that matches the i-th second field among the at least one field in a field table;
    S5:按照所述预设顺序相反的顺序从所述第i个第二字段中减少一个字段单元,以将减少一个字段单元的所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与减少一个字段单元的所述第i个第二字段匹配的字段,其中,所述字段单元包括词,若是,则执行步骤S6,如否,则执行步骤S7;S5: Decrease one field unit from the i-th second field in the reverse order of the preset order, so as to reduce each of the i-th second field and the at least one field by one field unit. To determine whether there is a field that matches the i-th second field minus one field unit in the at least one field, where the field unit includes a word, and if so, step S6 is performed, such as If not, go to step S7;
    S6:将所述至少一个字段中与减少一个字段单元的所述第i个第二字段匹配的字段存储在所述字段表中;S6: Store a field in the at least one field that matches the i-th second field minus one field unit in the field table;
    S7:继续按照所述预设顺序相反的顺序从减少一个字段单元的所述第i个第二字段中减少一个字段单元,以得到所述第i个第二字段中剩余的第二字段,并确定所述至少一个字段中是否存在与剩余的第二字段匹配的字段,直到所述第i个第二字段中只剩余一个字段单元为止;S7: Continue to reduce one field unit from the i-th second field reduced by one field unit in the reverse order of the preset order to obtain the remaining second fields in the i-th second field, and Determining whether there is a field matching the remaining second field in the at least one field, until only one field unit remains in the i-th second field;
    S8:将(i+1)赋值给i,返回步骤S2;S8: Assign (i+1) to i and return to step S2;
    S9:从所述字段表中提取所有的字段以得到所述多个字段;S9: Extract all fields from the field table to obtain the multiple fields;
    S10:结束将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。S10: End the matching of the multiple second fields with the at least one field to obtain the multiple fields.
  4. 根据权利要求1所述的方法,其中,所述向终端发送携带所述N个公益活动信息的推送消息,包括:The method according to claim 1, wherein said sending a push message carrying information of said N public welfare activities to a terminal comprises:
    获取推送时间;Get the push time;
    确定所述推送时间是否为服务器的更新时间;Determine whether the push time is the update time of the server;
    若所述推送时间是所述服务器的更新时间,则确定所述服务器的更新时间是否落入预设夜间时段的范围;If the push time is the update time of the server, determining whether the update time of the server falls within the range of a preset night time period;
    若所述服务器的更新时间落入所述预设夜间时段的范围,则以所述服务器的更新时间 为基准,按照预设延迟时段延迟所述推送时间以得到第一推送时间;If the update time of the server falls within the range of the preset night time period, use the update time of the server as a reference, and delay the push time according to the preset delay time period to obtain the first push time;
    每间隔预设时间获取所述服务器的系统时间;Acquiring the system time of the server every preset time;
    在所述服务器的系统时间与所述第一推送时间匹配时,向所述终端发送所述推送消息。When the system time of the server matches the first push time, the push message is sent to the terminal.
  5. 根据权利要求4所述的方法,其中,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    若所述推送时间不是所述服务器的更新时间,则提取N个公益活动信息中的N个公益活动开始时间和N个公益活动结束时间;If the push time is not the update time of the server, extract N public welfare activity start times and N public welfare activity end times in the N public welfare activity information;
    从所述N个公益活动开始时间中获取公益活动开始时间最早的第一公益活动开始时间;Obtain the first public welfare activity start time with the earliest public welfare activity start time from the N public welfare activity start times;
    以所述第一公益活动开始时间为基准,在第一公益活动结束时间结束之前,向所述终端发送所述推送消息,其中,所述第一公益活动结束时间与所述第一公益活动开始时间对应。Based on the start time of the first public welfare activity, the push message is sent to the terminal before the end time of the first public welfare activity ends, wherein the end time of the first public welfare activity is the same as the start of the first public welfare activity Time corresponds.
  6. 根据权利要求1-5任意一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1-5, wherein the method further comprises:
    获取所述用户的兴趣标签;Acquiring the interest tag of the user;
    从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息,其中,L为正整数;Search for L public welfare activity information matching the interest tag from the database, where L is a positive integer;
    确定所述L个公益活动信息关联存储在所述数据库中的L个公益活动积分,所述L个公益活动信息与所述L条公益活动积分一一对应;Determining that the L pieces of public welfare activity information are associated with the L pieces of public welfare activity points stored in the database, and the L pieces of public welfare activity information are in a one-to-one correspondence with the L pieces of public welfare activity points;
    从所述L条公益活动积分选取公益活动积分最高的第一公益活动信息;Select the first public welfare activity information with the highest public welfare activity points from the L pieces of public welfare activity points;
    向所述终端携带所述第一公益活动信息的推送消息。Carrying the push message of the first public welfare activity information to the terminal.
  7. 根据权利要求6所述的方法,其中,所述从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息,包括:The method according to claim 6, wherein said searching from said database for L pieces of public welfare activity information matching said interest tag comprises:
    获取与所述兴趣标签对应的同义词、近义词,以得到兴趣标签集合;Acquiring synonyms and synonyms corresponding to the interest tag to obtain an interest tag set;
    将所述兴趣标签集合中的每个兴趣标签与所述职业字段语料库进行匹配,以得到多个职业字段,其中,所述职业字段语料库包括所述多个职业字段中的每个职业字段与至少一个兴趣标签的对应关系;Each interest tag in the interest tag set is matched with the occupation field corpus to obtain a plurality of occupation fields, wherein the occupation field corpus includes each occupation field in the plurality of occupation fields and at least Correspondence of an interest tag;
    从所述数据库中查找与所述多个职业字段匹配的L个公益活动信息。Find L public welfare activity information matching the multiple occupation fields from the database.
  8. 根据权利要求7所述的方法,其中,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    获取所述用户的公益活动参与记录;Obtaining records of participation in public welfare activities of the user;
    根据所述公益活动参与记录确定所述用户参与公益活动的参与次数;Determine the number of times the user participates in the public welfare activity according to the record of participation in the public welfare activity;
    将所述参与次数与预设参与次数进行对比,以确定所述参与次数是否低于所述预设参与次数;Comparing the number of participations with the preset number of participations to determine whether the number of participations is lower than the preset number of participations;
    若所述参与次数低于所述预设参与次数,则调用公益奖励函数生成包含公益奖励信息的第二公益活动信息;If the number of participations is lower than the preset number of participations, calling the public welfare reward function to generate second public welfare activity information including public welfare reward information;
    向所述终端发送携带所述第二公益活动信息的推送消息。Sending a push message carrying the second public welfare activity information to the terminal.
  9. 根据权利要求8所述的方法,其中,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    若所述参与次数不低于所述预设参与次数,则确定所述职业信息所属的职业类别;If the number of participation times is not less than the preset number of participation times, determine the occupation category to which the occupation information belongs;
    从所述数据库中获取与所述职业类别对应的K个公益活动信息,其中,K为正整数;Acquire K public welfare activity information corresponding to the occupation category from the database, where K is a positive integer;
    确定所述K个公益活动信息关联存储在所述数据库中的K个公益活动积分;Determining the K public welfare activity points stored in the database in association with the K public welfare activity information;
    从所述K个公益活动积分中选取公益活动积分最高的第三公益活动积分;Select the third public welfare activity point with the highest public welfare activity points from the K public welfare activity points;
    获取与所述第三公益活动积分对应的第三公益活动信息;Acquiring third public welfare activity information corresponding to the third public welfare activity points;
    向所述终端发送携带所述第三公益活动信息的推送消息。Sending a push message carrying the third public welfare activity information to the terminal.
  10. 一种信息推送的装置,其中,包括:A device for pushing information, including:
    处理模块,用于获取用户的职业信息;Processing module, used to obtain user's professional information;
    所述处理模块,用于调用字段解析算法对所述职业信息进行处理以得到多个字段;The processing module is configured to call a field analysis algorithm to process the occupation information to obtain multiple fields;
    所述处理模块,用于将所述多个字段与职业字段语料库进行匹配以得到至少一个职业 字段;The processing module is configured to match the multiple fields with an occupation field corpus to obtain at least one occupation field;
    所述处理模块,用于从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;The processing module is configured to search for N public welfare activity information matching the at least one occupation field from a database, where N is a positive integer;
    发送模块,用于向终端发送携带所述N个公益活动信息的推送消息。The sending module is used to send a push message carrying the N public welfare activity information to the terminal.
  11. 一种信息推送的电子设备,其中,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被生成由所述处理器执行,以执行以下步骤的指令:An electronic device for pushing information, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are generated by the processor Execute the instructions to perform the following steps:
    获取用户的职业信息;对所述职业信息进行字段解析处理以得到多个字段;将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;向终端发送携带所述N个公益活动信息的推送消息。Obtain the occupation information of the user; perform field analysis processing on the occupation information to obtain multiple fields; match the multiple fields with the occupation field corpus to obtain at least one occupation field; search for the at least one occupation field from the database N pieces of public welfare activity information matching the fields, where N is a positive integer; sending a push message carrying the N pieces of public welfare activity information to the terminal.
  12. 根据权利要求11所述的设备,其中,在对所述职业信息进行字段解析处理以得到多个字段时,所述处理器,用于获取字段解析词典,其中,所述字段解析词典中包括至少一个字段;确定所述至少一个字段中字段长度最大的字段以得到第一字段;按照所述第一字段对应的第一字段长度和预设顺序将所述职业信息切分成多个第二字段;将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。The device according to claim 11, wherein, when performing field analysis processing on the occupation information to obtain a plurality of fields, the processor is configured to obtain a field analysis dictionary, wherein the field analysis dictionary includes at least One field; determining the field with the largest field length in the at least one field to obtain the first field; dividing the occupation information into a plurality of second fields according to the first field length corresponding to the first field and a preset order; Matching the plurality of second fields with the at least one field to obtain the plurality of fields.
  13. 根据权利要求12所述的设备,其中,所述多个第二字段包括F个第二字段,其中,F为正整数,在将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段时,所述处理器,用于The device according to claim 12, wherein the plurality of second fields comprise F second fields, wherein F is a positive integer, and the plurality of second fields are matched with the at least one field to When the multiple fields are obtained, the processor is configured to
    S1:将i设置为初始值为1的整数;S1: Set i to an integer with an initial value of 1;
    S2:获取所述F个第二字段中的第i个第二字段;S2: Obtain the i-th second field among the F second fields;
    S3:将所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与所述第i个第二字段匹配的字段,若是,则执行步骤S4,如否,则执行步骤S5;S3: Match the i-th second field with each of the at least one field to determine whether there is a field that matches the i-th second field in the at least one field, and if so, Step S4 is executed, if not, step S5 is executed;
    S4:将所述至少一个字段中与所述第i个第二字段匹配的字段存储在字段表中;S4: Store the field that matches the i-th second field among the at least one field in a field table;
    S5:按照所述预设顺序相反的顺序从所述第i个第二字段中减少一个字段单元,以将减少一个字段单元的所述第i个第二字段与所述至少一个字段中的每个字段进行匹配,以确定所述至少一个字段中是否存在与减少一个字段单元的所述第i个第二字段匹配的字段,其中,所述字段单元包括词,若是,则执行步骤S6,如否,则执行步骤S7;S5: Decrease one field unit from the i-th second field in the reverse order of the preset order, so as to reduce each of the i-th second field and the at least one field by one field unit. To determine whether there is a field that matches the i-th second field minus one field unit in the at least one field, where the field unit includes a word, and if so, step S6 is performed, such as If not, go to step S7;
    S6:将所述至少一个字段中与减少一个字段单元的所述第i个第二字段匹配的字段存储在所述字段表中;S6: Store a field in the at least one field that matches the i-th second field minus one field unit in the field table;
    S7:继续按照所述预设顺序相反的顺序从减少一个字段单元的所述第i个第二字段中减少一个字段单元,以得到所述第i个第二字段中剩余的第二字段,并确定所述至少一个字段中是否存在与剩余的第二字段匹配的字段,直到所述第i个第二字段中只剩余一个字段单元为止;S7: Continue to reduce one field unit from the i-th second field reduced by one field unit in the reverse order of the preset order to obtain the remaining second fields in the i-th second field, and Determining whether there is a field matching the remaining second field in the at least one field, until only one field unit remains in the i-th second field;
    S8:将(i+1)赋值给i,返回步骤S2;S8: Assign (i+1) to i and return to step S2;
    S9:从所述字段表中提取所有的字段以得到所述多个字段;S9: Extract all fields from the field table to obtain the multiple fields;
    S10:结束将所述多个第二字段与所述至少一个字段进行匹配以得到所述多个字段。S10: End the matching of the multiple second fields with the at least one field to obtain the multiple fields.
  14. 根据权利要求11所述的设备,其中,在向终端发送携带所述N个公益活动信息的推送消息时,所述处理器,用于获取推送时间;确定所述推送时间是否为服务器的更新时间;若所述推送时间是所述服务器的更新时间,则确定所述服务器的更新时间是否落入预设夜间时段的范围;若所述服务器的更新时间落入所述预设夜间时段的范围,则以所述服务器的更新时间为基准,按照预设延迟时段延迟所述推送时间以得到第一推送时间;每间隔预设时间获取所述服务器的系统时间;在所述服务器的系统时间与所述第一推送时间 匹配时,通过所述通信接口向所述终端发送所述推送消息。The device according to claim 11, wherein, when sending a push message carrying the N public welfare activity information to the terminal, the processor is configured to obtain a push time; and determine whether the push time is an update time of the server If the push time is the update time of the server, it is determined whether the update time of the server falls within the range of the preset night time period; if the update time of the server falls within the range of the preset night time period, Then, based on the update time of the server, the push time is delayed according to a preset delay period to obtain the first push time; the system time of the server is acquired at each preset time interval; When the first push time matches, the push message is sent to the terminal through the communication interface.
  15. 根据权利要求14所述的设备,其中,所述处理器,还用于若所述推送时间不是所述服务器的更新时间,则提取N个公益活动信息中的N个公益活动开始时间和N个公益活动结束时间;从所述N个公益活动开始时间中获取公益活动开始时间最早的第一公益活动开始时间;以所述第一公益活动开始时间为基准,在第一公益活动结束时间结束之前,通过所述通信接口向所述终端发送所述推送消息,其中,所述第一公益活动结束时间与所述第一公益活动开始时间对应。The device according to claim 14, wherein the processor is further configured to, if the push time is not the update time of the server, extract N public welfare activity start times and N public welfare activity start times among the N public welfare activity information. The end time of the public welfare activity; the start time of the first public welfare activity with the earliest start time of the public welfare activity is obtained from the start times of the N public welfare activities; based on the start time of the first public welfare activity, before the end of the first public welfare activity end time , Sending the push message to the terminal through the communication interface, wherein the end time of the first public welfare activity corresponds to the start time of the first public welfare activity.
  16. 根据权利要求11-15任意一项所述的设备,其中,所述处理器,还用于获取所述用户的兴趣标签;从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息,其中,L为正整数;确定所述L个公益活动信息关联存储在所述数据库中的L个公益活动积分,所述L个公益活动信息与所述L条公益活动积分一一对应;从所述L条公益活动积分选取公益活动积分最高的第一公益活动信息;通过所述通信接口向所述终端携带所述第一公益活动信息的推送消息。The device according to any one of claims 11-15, wherein the processor is further configured to obtain an interest tag of the user; and search the database for L public welfare activity information matching the interest tag , Where L is a positive integer; determine the L public welfare activity points stored in the database in association with the L public welfare activity information, and the L public welfare activity information corresponds to the L public welfare activity points one-to-one; from The L pieces of public welfare activity points select the first public welfare activity information with the highest public welfare activity points; and the push message of the first public welfare activity information is carried to the terminal through the communication interface.
  17. 根据权利要求16所述的设备,其中,在从所述数据库中查找与所述兴趣标签匹配的L个公益活动信息时,所述处理器,用于获取与所述兴趣标签对应的同义词、近义词,以得到兴趣标签集合;将所述兴趣标签集合中的每个兴趣标签与所述职业字段语料库进行匹配,以得到多个职业字段,其中,所述职业字段语料库包括所述多个职业字段中的每个职业字段与至少一个兴趣标签的对应关系;The device according to claim 16, wherein, when searching for L public welfare activity information matching the interest tag from the database, the processor is configured to obtain synonyms and synonyms corresponding to the interest tag , To obtain an interest tag set; match each interest tag in the interest tag set with the occupation field corpus to obtain a plurality of occupation fields, wherein the occupation field corpus includes the plurality of occupation fields Correspondence between each occupation field of and at least one interest tag;
    从所述数据库中查找与所述多个职业字段匹配的L个公益活动信息。Find L public welfare activity information matching the multiple occupation fields from the database.
  18. 根据权利要求17所述的设备,其中,所述处理器,还用于The device according to claim 17, wherein the processor is also used for
    获取所述用户的公益活动参与记录;根据所述公益活动参与记录确定所述用户参与公益活动的参与次数;将所述参与次数与预设参与次数进行对比,以确定所述参与次数是否低于所述预设参与次数;若所述参与次数低于所述预设参与次数,则调用公益奖励函数生成包含公益奖励信息的第二公益活动信息;通过所述通信接口向所述终端发送携带所述第二公益活动信息的推送消息。Obtain the participation record of the user's public welfare activities; determine the number of participation of the user in the public welfare activities according to the participation record of the public welfare activities; compare the number of participations with the preset number of participations to determine whether the number of participations is less than The preset number of participations; if the number of participations is lower than the preset number of participations, call the public welfare reward function to generate second public welfare activity information containing public welfare reward information; send the carrying information to the terminal through the communication interface State the push message of the second public welfare activity information.
  19. 根据权利要求18所述的设备,其中,所述处理器,还用于若所述参与次数不低于所述预设参与次数,则确定所述职业信息所属的职业类别;从所述数据库中获取与所述职业类别对应的K个公益活动信息,其中,K为正整数;确定所述K个公益活动信息关联存储在所述数据库中的K个公益活动积分;从所述K个公益活动积分中选取公益活动积分最高的第三公益活动积分;获取与所述第三公益活动积分对应的第三公益活动信息;通过所述通信接口向所述终端发送携带所述第三公益活动信息的推送消息。The device according to claim 18, wherein the processor is further configured to determine the occupation category to which the occupation information belongs if the number of participations is not less than the preset number of participations; from the database Obtain K public welfare activity information corresponding to the occupation category, where K is a positive integer; determine the K public welfare activity points stored in the database in association with the K public welfare activity information; The third public welfare activity points with the highest public welfare activity points are selected from the points; the third public welfare activity information corresponding to the third public welfare activity points is obtained; the information carrying the third public welfare activity information is sent to the terminal through the communication interface forward news.
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质用于存储计算机程序,所述存储计算机程序被所述处理器执行,以实现以下步骤:获取用户的职业信息;对所述职业信息进行字段解析处理以得到多个字段;将所述多个字段与职业字段语料库进行匹配以得到至少一个职业字段;从数据库中查找与所述至少一个职业字段匹配的N个公益活动信息,其中,N为正整数;向终端发送携带所述N个公益活动信息的推送消息。A computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the stored computer program is executed by the processor to implement the following steps: obtaining occupational information of a user; The information is subjected to field analysis processing to obtain multiple fields; the multiple fields are matched with the occupation field corpus to obtain at least one occupation field; the database is searched for N public welfare activity information matching the at least one occupation field, wherein , N is a positive integer; a push message carrying the N public welfare activity information is sent to the terminal.
PCT/CN2020/093582 2019-09-16 2020-05-30 Information pushing method and related device WO2021051874A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910869925.2 2019-09-16
CN201910869925.2A CN110737828A (en) 2019-09-16 2019-09-16 information pushing method and related device

Publications (1)

Publication Number Publication Date
WO2021051874A1 true WO2021051874A1 (en) 2021-03-25

Family

ID=69267997

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/093582 WO2021051874A1 (en) 2019-09-16 2020-05-30 Information pushing method and related device

Country Status (2)

Country Link
CN (1) CN110737828A (en)
WO (1) WO2021051874A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737828A (en) * 2019-09-16 2020-01-31 平安科技(深圳)有限公司 information pushing method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169327A (en) * 2006-10-25 2008-04-30 高德软件有限公司 Information searching device
CN103810544A (en) * 2012-11-06 2014-05-21 金蝶软件(中国)有限公司 Method and correlative apparatus for acquiring skill label
CN104767811A (en) * 2015-04-03 2015-07-08 北京奇虎科技有限公司 Information recommending method and device
US20170041257A1 (en) * 2014-04-16 2017-02-09 Huawei Technologies Co., Ltd. Information Processing Method, Apparatus and System Based on Instant Messaging
CN107995098A (en) * 2017-11-24 2018-05-04 福建中金在线信息科技有限公司 Information-pushing method and device
CN110737828A (en) * 2019-09-16 2020-01-31 平安科技(深圳)有限公司 information pushing method and related device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156262A (en) * 2015-04-28 2016-11-23 天脉聚源(北京)科技有限公司 A kind of search information processing method and system
CN106484858B (en) * 2016-10-09 2019-12-06 腾讯科技(北京)有限公司 hot content pushing method and device
CN106453055A (en) * 2016-10-28 2017-02-22 努比亚技术有限公司 Method and apparatus for pushing information through user behaviors, and terminal
CN106998274A (en) * 2016-12-12 2017-08-01 深圳大宇无限科技有限公司 Application message method for pushing and device
CN106959858B (en) * 2017-03-29 2021-06-15 联想(北京)有限公司 Information processing method and device
CN107332879B (en) * 2017-06-05 2020-02-07 Oppo广东移动通信有限公司 Information pushing method, mobile terminal and storage medium
CN107943775A (en) * 2017-11-24 2018-04-20 泰康保险集团股份有限公司 Method, apparatus, storage medium and the electronic equipment of message push
CN109981719A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Information processing method and its system, computer system and computer readable medium
CN109271420B (en) * 2018-09-03 2023-07-11 深圳平安医疗健康科技服务有限公司 Information pushing method, device, computer equipment and storage medium
CN109544209A (en) * 2018-10-22 2019-03-29 中国平安人寿保险股份有限公司 Virtual interests bonusing method, device and computer equipment and storage medium
CN109828771A (en) * 2019-01-18 2019-05-31 深圳壹账通智能科技有限公司 File push method, apparatus, computer equipment and storage medium
CN110225204A (en) * 2019-06-25 2019-09-10 北京金山安全软件有限公司 Information pushing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169327A (en) * 2006-10-25 2008-04-30 高德软件有限公司 Information searching device
CN103810544A (en) * 2012-11-06 2014-05-21 金蝶软件(中国)有限公司 Method and correlative apparatus for acquiring skill label
US20170041257A1 (en) * 2014-04-16 2017-02-09 Huawei Technologies Co., Ltd. Information Processing Method, Apparatus and System Based on Instant Messaging
CN104767811A (en) * 2015-04-03 2015-07-08 北京奇虎科技有限公司 Information recommending method and device
CN107995098A (en) * 2017-11-24 2018-05-04 福建中金在线信息科技有限公司 Information-pushing method and device
CN110737828A (en) * 2019-09-16 2020-01-31 平安科技(深圳)有限公司 information pushing method and related device

Also Published As

Publication number Publication date
CN110737828A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
US10726063B2 (en) Topic profile query creation
CN108763502A (en) Information recommendation method and system
US11410087B2 (en) Dynamic query response with metadata
KR20160055930A (en) Systems and methods for actively composing content for use in continuous social communication
CN101496003A (en) Compatibility scoring of users in a social network
CN107330020B (en) User entity analysis method based on structure and attribute similarity
CN109918656B (en) Live broadcast hotspot acquisition method and device, server and storage medium
WO2019223398A1 (en) Makeup plan recommendation method and apparatus, cloud device, and electronic device
CN111177559A (en) Text travel service recommendation method and device, electronic equipment and storage medium
CN110516057B (en) Petition question answering method and device
CN112291423A (en) Intelligent response processing method and device for communication call, electronic equipment and storage medium
WO2021051874A1 (en) Information pushing method and related device
CN110737845A (en) method, computer storage medium and system for realizing information analysis
CN103678624A (en) Searching method, searching server, and searching request executing method and terminal
CN109992325B (en) Information display method, information display apparatus, storage medium, and electronic apparatus
CN108304570B (en) Processing method and display method of search results, server and client
CN114186024A (en) Recommendation method and device
CN110427620B (en) Service quality optimization management system based on community system
CN111160699A (en) Expert recommendation method and system
CN111177549A (en) Client recommendation method suitable for export-type cross-border trade
WO2015180306A1 (en) Method and device for querying instant message, and computer storage medium
CN114443727A (en) Human vein data processing method, device, equipment and storage medium
CN111367942B (en) Address book retrieval method and device
WO2021051943A1 (en) Information pushing method and related apparatus
CN104168354B (en) Contact person information processing method, device and mobile terminal based on immediate communication tool

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20866844

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20866844

Country of ref document: EP

Kind code of ref document: A1