CN114201639B - Task-based intelligent scene recommendation method and device, storage medium and electronic equipment - Google Patents

Task-based intelligent scene recommendation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114201639B
CN114201639B CN202210139859.5A CN202210139859A CN114201639B CN 114201639 B CN114201639 B CN 114201639B CN 202210139859 A CN202210139859 A CN 202210139859A CN 114201639 B CN114201639 B CN 114201639B
Authority
CN
China
Prior art keywords
schedule
target scene
task
field
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210139859.5A
Other languages
Chinese (zh)
Other versions
CN114201639A (en
Inventor
曾德钧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Airsmart Technology Co Ltd
Original Assignee
Shenzhen Airsmart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Airsmart Technology Co Ltd filed Critical Shenzhen Airsmart Technology Co Ltd
Priority to CN202210139859.5A priority Critical patent/CN114201639B/en
Publication of CN114201639A publication Critical patent/CN114201639A/en
Application granted granted Critical
Publication of CN114201639B publication Critical patent/CN114201639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/687Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/1093Calendar-based scheduling for persons or groups

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a task-based intelligent scene recommendation method and device, a storage medium and electronic equipment. The method comprises the following steps: acquiring a task schedule of a user, wherein the task schedule comprises schedule content and schedule time periods; determining a first target scene song list matched with the schedule content according to the schedule content; setting a timing task according to the first target scene song list and the schedule time period; when the current time reaches the starting time point of the schedule time period, the timing task is executed to play the target song in the first target scene song list. The invention solves the technical problem that proper songs cannot be played regularly according to the task schedule of the user.

Description

Task-based intelligent scene recommendation method and device, storage medium and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a task-based intelligent scene recommendation method and device, a storage medium and electronic equipment.
Background
Along with the continuous development of society, the daily diversification of people's life, music has also become the inseparable existence in people's life. Therefore, proper music and rhythm are introduced at proper time, so that the excitation degree of cerebral cortex can be improved, the fatigue can be relieved, and the emotion can be improved. However, in the prior art, the playing device is extremely dependent on the mobile phone, music needs to be played manually, appropriate music cannot be automatically played at regular time according to a task schedule, and the mental requirements of people due to the rise of living standard cannot be completely met.
Disclosure of Invention
The embodiment of the invention provides a task-based intelligent scene recommendation method, a task-based intelligent scene recommendation device, a storage medium and electronic equipment, and at least solves the technical problem that proper songs cannot be played regularly according to a task schedule of a user.
According to an aspect of an embodiment of the present invention, a task-based intelligent scene recommendation method is provided, including: acquiring a task schedule of a user, wherein the task schedule comprises schedule content and schedule time periods; determining a first target scene song list matched with the schedule content according to the schedule content; setting a timing task according to the first target scene song list and the schedule time period; and when the current time reaches the starting time point of the schedule time period, executing the timing task to play the target song in the first target scene song list.
According to another aspect of the embodiments of the present invention, there is provided a task-based intelligent scene recommendation apparatus, including: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a task schedule of a user, and the task schedule comprises schedule content and schedule time periods; the determining module is used for determining a first target scene song list matched with the schedule content according to the schedule content; the setting module is used for setting a timing task according to the first target scene song list and the schedule time period; and the execution module is used for executing the timing task to play the target song in the first target scene song list when the current time reaches the starting time point of the schedule time period.
As an optional example, the determining module includes: the acquisition unit is used for acquiring the number of people participating in the task schedule from the schedule content; a first determining unit, configured to determine, according to the schedule content, a geographic location for performing the task schedule; and the second determining unit is used for determining the first target scene singing list according to the number of people and the geographic position.
As an optional example, the obtaining unit includes: the identifying subunit is used for identifying each field in the schedule content; a statistics subunit, configured to, if a field is identified as a first field, increase a value of statistics data by 1, where an initial value of the statistics data is zero, and a format of the first field is a name format; and the first processing subunit is used for taking the numerical value of the statistical data as the number of people in the task schedule after identifying the schedule content.
As an alternative example, the first determining unit includes: identifying each field in the schedule content; and the second processing subunit is configured to, when one field is identified as a second field, use the longitude and latitude corresponding to the identified second field as the geographic location, where a format of the second field is a format of a geographic location name.
As an optional example, the second determining unit includes: the first determining subunit is used for determining a first target scene song single group matched with the number of people according to the number of people; the second determining subunit is used for determining a second target scene song single group matched with the geographic position according to the geographic position; a third determining subunit, configured to determine the first target scene song list according to the first target scene song single group and the second target scene song single group, where the first target scene song list belongs to both the first target scene song single group and the second target scene song single group.
As an optional example, the apparatus further includes: and the cache module is used for caching all songs in the first target scene song list to the playing equipment.
As an optional example, the apparatus further includes: and the playing module is used for playing the target song in the second target scene song list when the current time reaches the starting time point of the schedule time period under the condition that the task schedule is associated with the second target scene song list by the user.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is executed by a processor to perform the above task-based intelligent scene recommendation method.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores therein a computer program, and the processor is configured to execute the above task-based intelligent scene recommendation method through the computer program.
In the embodiment of the invention, the task schedule of a user is obtained, wherein the task schedule comprises schedule content and schedule time periods; determining a first target scene song list matched with the schedule content according to the schedule content; setting a timing task according to the first target scene song list and the schedule time period; in the method, the target scene song list matched with the schedule content in the task schedule is determined according to the schedule content in the task schedule, and the timing task of the target scene song list is automatically played when the schedule time in the task schedule is up, so that the aim of automatically playing the song matched with the task schedule when the schedule time in the task schedule is started is fulfilled, and the technical problem that the proper song cannot be regularly played according to the task schedule of a user is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow diagram of an alternative method for tasking intelligent scene recommendation in accordance with embodiments of the invention;
FIG. 2 is a block diagram of an alternative tasking intelligent scene recommendation method according to an embodiment of the invention;
FIG. 3 is a schematic structural diagram of an alternative tasking intelligent scene recommender according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to a first aspect of the embodiments of the present invention, there is provided a task-based intelligent scene recommendation method, optionally as shown in fig. 1, the method includes:
s102, acquiring a task schedule of a user, wherein the task schedule comprises schedule content and schedule time periods;
s104, determining a first target scene song list matched with the schedule content according to the schedule content;
s106, setting a timing task according to the first target scene song list and the schedule time period;
and S108, when the current time reaches the starting time point of the schedule time period, executing a timing task to play the target song in the first target scene song list.
Optionally, in this embodiment, the task schedule is an activity to be performed in a future time slot by a user including day schedule content and a schedule time slot, and may be between 13 in 1 month 1 year 2022 and 14 in 1 month 1 year 2022 in Shenzhen gulf park, liuji, and Sun, the schedule content is between 13 in 1 month 1 year 2022 and 13 in 1 month 1 year 2022 to 14 in 1 month 1 year 2022 in the Shenzhen gulf park, liuji, and Sun, and the schedule time slot includes a start time point of the schedule time slot and an end time point of the schedule time slot, and then the start time point of the schedule time slot is 13 in 1 month 1 year 2022 and the end time point of the schedule time slot is 14 in 1 month 1 year 2022. The timed task is to perform a certain task at a set time, and may be to play a song at 1, 2, and 9 of 2022, that is, to start playing the song when the time reaches 1, 2, and 9 of 2022. The target scene singing list is a corresponding and matched singing list under different scenes, and can be a multi-person party singing list, a single-person sports singing list and a sleeping singing list.
Optionally, in this embodiment, a schedule time period and schedule content in a task schedule set by a user are obtained, for example, when the schedule content is a picnic at shenzhen bay park and zhangyi, liu, and grand together, and the schedule time period is from 1 month 1 day 13 in 2022 year to 1 month 1 day 14 in 2022 year, a target scene song sheet matched with the task schedule is determined according to the schedule content at zhangyi, liu, and grand together, for example, when the target scene song sheet is determined to be a multi-person picnic song sheet, a timed task of playing the multi-person party rendezvous song sheet at 1 month 1 day 13 in 2022 year is set according to the target scene song sheet and the schedule time period from 1 month 1 day 13 in 2022 year to 1 month 1 day 14 in 2022 year, and all songs in the multi-person picnic song sheet in the target scene song sheet start time at 1 month 1 day 13 in 2022 year in the start time point of time reaching the multi-person schedule time period.
Optionally, in this embodiment, in the above method, the target scene song list matched with the schedule content in the task schedule is determined according to the schedule content in the task schedule, and the timed task of automatically playing the target scene song list is set when the time reaches the schedule time in the task schedule, so that the purpose of automatically playing the song matched with the task schedule when the schedule time of the task schedule starts is achieved, and the technical problem that the proper song cannot be timely played according to the task schedule of the user is solved.
As an alternative example, determining a first target scene song list matching the schedule content according to the schedule content includes:
acquiring the number of people participating in the task schedule from the schedule content;
determining the geographic position of a task schedule according to the schedule content;
and determining the first target scene song list according to the number of people and the geographic position.
Optionally, in this embodiment, the number of people who acquire the schedule for participating in the task from the calendar content in the Shenzhen bay park, liu and grandchild together picnic is 3, the geographic position where the task schedule is performed is determined to be the Shenzhen bay park according to the calendar content in the Shenzhen bay park, liu and grandchild together picnic, and the first target scene song list matched with the Shenzhen bay park is determined to be the multi-person seaside picnic song list according to the number of people who participate in the task schedule 3 and the geographic position of the Shenzhen bay park for performing the task schedule.
In this embodiment, the correspondence between the number of persons and the song list may be preset. Different numbers of people can correspond to different song lists. For example, if the number of persons is more than 3, the corresponding song list can be set to be a relatively hot song list. The number of people is less than or equal to two, and the corresponding song list can be set to be softer and quieter. The type of the song list may be various, and the songs under each type of the song list are consistent with the type of the song list.
As an alternative example, obtaining the number of people participating in the task schedule from the schedule content comprises:
identifying each field in the calendar content;
in the case that one field is identified as a first field, increasing the value of the statistical data by 1, wherein the initial value of the statistical data is zero, and the format of the first field is a name format;
and after the schedule content is identified, taking the numerical value of the statistical data as the number of people in the task schedule.
Optionally, in this embodiment, the first field is a name of a person who participates in the task schedule, and may be zhang. Identifying each field of the schedule content in Shenzhen Bay park, liu and grand together picnic, increasing the value of the statistical data from an initial value of 0 to 1 when one field is identified as the name of the person participating in the mission schedule in the first field, increasing the value of the statistical data from 1 to 2 when one field is identified as the name of the person participating in the mission schedule in the first field, increasing the value of the statistical data from 2 to 3 when one field is identified as the name of the person participating in the mission schedule in the first field, and finally taking the value of the statistical data of 3 as the number of persons participating in the mission schedule.
The above-mentioned personal name format may be a surname + first name format. The name may be 1-2 words in length. If surname is recognized and followed by 1-2 letters, surname + followed by letters can be determined as a first name. If the followed characters exceed 2, for example, zhangguanli is worn and three characters are followed after Zhangguanli, the Zhangguanli is identified not to be the first name, and the statistical field is 0. If the field is the crown, the plum is worn, a character is connected to the back of the field, a character is connected to the back of the plum, and the crown and the plum are recognized as two names. The statistic was 2. The name format may also be a string of multiple letters, such as an english name.
As an alternative example, determining the geographic location for a task schedule based on the schedule content includes:
identifying each field in the calendar content;
and under the condition that one field is identified as a second field, taking the longitude and latitude corresponding to the identified second field as the geographic position, wherein the format of the second field is the format of the name of the geographic position.
Optionally, in this embodiment, the second field is a name of a geographic location, which may be beijing stone hills park, shanghai outer beach. Identifying each field of the calendar content in Shenzhen gulf park, liu, grand mother picnic, shenzhen gulf park, yan Lu, liu, grand mother picnic, and with one field Shenzhen gulf park identified as the name of the second field geographic location, identifying as the geographic location the longitude and latitude N22 ° 38'17.54 ' east longitude E114 ° 05'52.35 corresponding to the identified second field Shenzhen gulf park. If a geographic location name corresponds to a range, the latitude and longitude of the center of the range may be used as the geographic location corresponding to the geographic location name.
As an alternative example, determining the first target scene song list based on the number of persons and the geographic location comprises:
determining a first target scene song single group matched with the number of people according to the number of people;
determining a second target scene song single group matched with the geographic position according to the geographic position;
and determining a first target scene singing list according to the first target scene singing group and the second scene singing group, wherein the first target scene singing list belongs to the first target scene singing group and the second target scene singing group at the same time.
Optionally, in the present embodiment, a first target scene song single group matching the number of persons is determined according to the number of persons 3, the first target scene song single group includes one to more scene song sheets, a second target scene song single group matching the geographical position is determined according to the geographical position north latitude N22 ° 38'17.54 ' east longitude E114 ° 05'52.35, the second target scene song single group includes one to more scene song sheets, and the same scene song sheet of the first target scene song single group and the second target scene song single group is determined as the first target scene song sheet.
As an optional example, the method further includes:
and caching all songs in the first target scene song list to the playing equipment.
Optionally, in this embodiment, all songs in the determined first target scene song list are cached in the memory of the playback device. After the user determines the task schedule, the song list of the first target scene is determined according to the task schedule, and then the songs in the song list are cached. It may also be cached close to the start point of the schedule period in the task schedule.
As an optional example, the method further includes:
in the case where the task schedule is associated with the second target scene song list by the user, when the current time reaches the start time point of the schedule time period, the target song within the second target scene song list is played.
Optionally, in this embodiment, in the event that a picnic has been set by the user to be associated with the second scene song at Shenzhen bay park by 2022 year 1 month 1 day 13 to 2022 year 1 month 1 day 14, all songs within the second scene song list begin to play when the time reaches the start time point of the schedule time period 2022 year 1 month 1 day 13. That is, if the user has set the second scene list corresponding to the schedule, it is the song in the second scene list that is played when the start time point of the schedule period is reached. Also cached before playing is the song in the second scene song list.
The application provides a task-based intelligent scene recommendation method, which is described by combining an example, wherein an algorithm module schematic diagram is shown in fig. 2, and the specific implementation flow is as follows:
1. the user creates or introduces a task schedule, the user can automatically or manually introduce a calendar schedule carried by the system into the mobile phone APP, or the task schedule is created in a self-defined mode of the mobile phone APP (including but not limited to schedule name, schedule time, year, month, day, schedule content, schedule address, option filling, associated song list, option filling and the like), the mobile phone APP immediately synchronizes schedule information to the cloud server, the user can set a plurality of schedules at the same time, and the schedule time can be repeated;
2. the server matches the task scene song list, disassembles the keywords of the task schedule content, deduces the user label, matches the scene song list, and directly pushes the appointed song list if the user associates the schedule, and pushes the appointed song list as a timing task to the sound equipment.
The description is made in connection with an example:
1. a user creates or introduces a task schedule through a mobile phone APP, wherein the schedule name is 'wild camping', the time is '12 months, 1 st, 15' in 2021 year, schedule content 'and Zhang, liu and grand together go to wild camping in a Shenzhen bay park', and 'Shenzhen bay park' is positioned;
2. the server matches the scene task song list:
obtaining labels (such as ' camping in the wild ', ' camping with Zhang, liu and grand together ' to camping in Shenzhen bay park ' according to the task schedule name and the task schedule content dismantling keywords, and deducing the labels ' outdoor ', ' camping ', ' multi-person ' and playing ') according to the labels ' camping in the wild ', ' Zhang and Gong ', liu and grand ' from the dismantling into ' camping in the wild ', ' camping ', ' Tong ', ' Zhang and Gong ';
the labels "12 months", "winter", "afternoon" are inferred from the schedule time "12 months, 1 days, 1 day, 15 in 2021";
the inferred label "Shenzhen" "seaside" "first line city" is positioned according to the schedule "Shenzhen bay park";
after the tags are gathered, a batch of scene singing lists are recorded in a cloud server according to matching of the tags and are associated with a user identification number, an acoustic equipment identification number and a task schedule identification number, and head singing lists in the batch of scene singing lists are cached in acoustic equipment and are played regularly.
3. The audio equipment executes the playing task at regular time, and when the time reaches 30 of 12 months, 1 days and 15 days in 2021 years of task schedule time, the playing task is executed, and the playing can be carried out without connecting a mobile phone.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiments of the present application, there is also provided a task-based intelligent scene recommendation apparatus, as shown in fig. 3, including:
an obtaining module 302, configured to obtain a task schedule of a user, where the task schedule includes schedule content and schedule time periods;
a determining module 304, configured to determine, according to the schedule content, a first target scene song list matching with the schedule content;
a setting module 306 for setting a timing task according to the first target scene song list and the schedule time period;
the executing module 308 is configured to execute the timing task to play the target song in the first target scene song list when the current time reaches the starting time point of the schedule time period.
Optionally, in this embodiment, the task schedule is an activity to be performed in a future time slot by a user including day schedule content and a schedule time slot, and may be between 13 in 1 month 1 year 2022 and 14 in 1 month 1 year 2022 in Shenzhen gulf park, liuji, and Sun, the schedule content is between 13 in 1 month 1 year 2022 and 13 in 1 month 1 year 2022 to 14 in 1 month 1 year 2022 in the Shenzhen gulf park, liuji, and Sun, and the schedule time slot includes a start time point of the schedule time slot and an end time point of the schedule time slot, and then the start time point of the schedule time slot is 13 in 1 month 1 year 2022 and the end time point of the schedule time slot is 14 in 1 month 1 year 2022. The timed task is to perform some task at a set time, and may be to play a song at 1 month 2 day 9 of 2022, i.e., to start playing the song when the time reaches 1 month 2 day 9 of 2022. The target scene song list is a song list which is correspondingly matched under different scenes, and can be a multi-person party song list, a single-person sports song list and a sleeping song list.
Optionally, in this embodiment, a schedule time period and schedule content in the task schedule set by the user are obtained, for example, when the schedule content is from 1 month 1 day 13 in 2022 to 1 month 1 day 14 in 2022 in Shenzhen gulf park, from Zhao, liu, and Sunzhen together, a target scene song sheet matching the task schedule is determined according to the schedule content in Zhazhen gulf park, from Liu, and from 1 month 1 day 13 in 2022 in Sunzo, for example, the target scene song sheet is determined to be a multi-person picnic song sheet, a timed task of playing the multi-person picnic song sheet is set to be played at 13 days 1 month 1 in 2022 in accordance with the target scene song sheet and the schedule time period from 13 days 1 month 1 in 2022 month 1 day 13 in 2022, and all songs in the multi-person picnic song sheet start at 13 days 1 month in 2022 in the start time point when the time reaches 13 days 1 month in the multi-person schedule time period.
Optionally, in this embodiment, in the above method, the target scene song list matched with the schedule content in the task schedule is determined according to the schedule content in the task schedule, and the timed task of automatically playing the target scene song list is set when the time reaches the schedule time in the task schedule, so that the purpose of automatically playing the song matched with the task schedule when the schedule time of the task schedule starts is achieved, and the technical problem that the proper song cannot be timely played according to the task schedule of the user is solved.
As an alternative example, the determining module comprises:
the acquisition unit is used for acquiring the number of people participating in the task schedule from the schedule content;
the first determining unit is used for determining the geographic position of the task schedule according to the schedule content;
and the second determining unit is used for determining the first target scene song list according to the number of people and the geographic position.
Optionally, in this embodiment, the number of people who acquire the schedule for participating in the task from the calendar content in the Shenzhen bay park, liu and grandchild together picnic is 3, the geographic position where the task schedule is performed is determined to be the Shenzhen bay park according to the calendar content in the Shenzhen bay park, liu and grandchild together picnic, and the first target scene song list matched with the Shenzhen bay park is determined to be the multi-person seaside picnic song list according to the number of people who participate in the task schedule 3 and the geographic position of the Shenzhen bay park for performing the task schedule.
In this embodiment, the correspondence between the number of persons and the song list may be preset. Different numbers of people can correspond to different song lists. For example, if the number of people is more than 3, the corresponding song list can be set to be a relatively hot song list. The number of people is less than or equal to two, and the corresponding song list can be set to be softer and quieter. The type of the menu can be various, and the songs under each type of the menu are consistent with the type of the menu.
As an alternative example, the acquiring unit includes:
the identifying subunit is used for identifying each field in the schedule content;
the statistical subunit is used for increasing the value of the statistical data by 1 under the condition that one field is identified as a first field, wherein the initial value of the statistical data is zero, and the format of the first field is a name format;
and the first processing subunit is used for taking the numerical value of the statistical data as the number of people in the task schedule after identifying the schedule content.
Optionally, in this embodiment, the first field is a name of a person who participates in the task schedule, and may be one of zhuang and liu. Identifying each field of the schedule content in Shenzhen Bay park, liu and grand together picnic, increasing the value of the statistical data from an initial value of 0 to 1 when one field is identified as the name of the person participating in the mission schedule in the first field, increasing the value of the statistical data from 1 to 2 when one field is identified as the name of the person participating in the mission schedule in the first field, increasing the value of the statistical data from 2 to 3 when one field is identified as the name of the person participating in the mission schedule in the first field, and finally taking the value of the statistical data of 3 as the number of persons participating in the mission schedule.
The above-mentioned personal name format may be a surname + first name format. The name may be 1-2 words in length. If surname is recognized and followed by 1-2 letters, surname + followed by letters can be determined as a first name. If the followed characters exceed 2, for example, zhangguanli is worn and three characters are followed after Zhangguanli, the Zhangguanli is identified not to be the first name, and the statistical field is 0. If the field is the crown opening, the plum is worn, the back of the field is connected with a character, the back of the plum is connected with a character, and the crown opening and the plum are identified as two names. The statistic was 2. The name format may also be a string of multiple letters, such as an english name.
As an alternative example, the first determination unit includes:
identifying each field in the calendar content; and the second processing subunit is used for taking the longitude and latitude corresponding to the identified second field as the geographic position under the condition that one field is identified as the second field, wherein the format of the second field is the format of the name of the geographic position.
Optionally, in this embodiment, the second field is a name of a geographic location, which may be beijing stone hills park, shanghai outer beach. Identifying each field of the calendar content in Shenzhen gulf park, liu, grand mother picnic, shenzhen gulf park, yan Lu, liu, grand mother picnic, and with one field Shenzhen gulf park identified as the name of the second field geographic location, identifying as the geographic location the longitude and latitude N22 ° 38'17.54 ' east longitude E114 ° 05'52.35 corresponding to the identified second field Shenzhen gulf park. If a geographic location name corresponds to a range, the latitude and longitude of the center of the range may be used as the geographic location corresponding to the geographic location name.
As an alternative example, the second determination unit includes:
the first determining subunit is used for determining a first target scene song single group matched with the number of people according to the number of people;
the second determining subunit is used for determining a second target scene song single group matched with the geographic position according to the geographic position;
and the third determining subunit is used for determining the first target scene song list according to the first target scene song single group and the second scene song single group, wherein the first target scene song list belongs to the first target scene song single group and the second target scene song single group simultaneously.
Optionally, in the present embodiment, a first target scene song single group matching the number of persons is determined according to the number of persons 3, the first target scene song single group includes one to more scene song sheets, a second target scene song single group matching the geographical position is determined according to the geographical position north latitude N22 ° 38'17.54 ' east longitude E114 ° 05'52.35, the second target scene song single group includes one to more scene song sheets, and the same scene song sheet of the first target scene song single group and the second target scene song single group is determined as the first target scene song sheet.
As an optional example, the apparatus further includes:
and the cache module is used for caching all songs in the first target scene song list to the playing equipment.
Optionally, in this embodiment, all songs in the determined first target scene song list are cached in the memory of the playing device. After the user determines the task schedule, the song list of the first target scene is determined according to the task schedule, and then the songs in the song list are cached. It may also be cached close to the start point of the schedule period in the task schedule.
As an optional example, the apparatus further includes:
and the playing module is used for playing the target song in the second target scene song list when the current time reaches the starting time point of the schedule time period under the condition that the task schedule is associated with the second target scene song list by the user.
Optionally, in this embodiment, in the event that a picnic has been set by the user to be associated with the second scene song at Shenzhen bay park by 2022 year 1 month 1 day 13 to 2022 year 1 month 1 day 14, all songs within the second scene song list begin to play when the time reaches the start time point of the schedule time period 2022 year 1 month 1 day 13. That is, if the user has set the second scene list corresponding to the schedule, it is the song in the second scene list that is played when the start time point of the schedule period is reached. Also cached before playing are songs in the second scene song list.
For other examples of this embodiment, please refer to the above examples, which are not described herein.
Fig. 4 is a block diagram of an alternative electronic device according to an embodiment of the present application, as shown in fig. 4, including a processor 402, a communication interface 404, a memory 406, and a communication bus 408, where the processor 402, the communication interface 404, and the memory 406 communicate with each other via the communication bus 408, where,
a memory 406 for storing a computer program;
the processor 402, when executing the computer program stored in the memory 406, performs the following steps:
acquiring a task schedule of a user, wherein the task schedule comprises schedule content and schedule time periods;
determining a first target scene song list matched with the schedule content according to the schedule content;
setting a timing task according to the first target scene song list and the schedule time period;
when the current time reaches the starting time point of the schedule time slot, the timing task is executed to play the target song in the first target scene song list.
Alternatively, in the present embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but that does not indicate only one bus or one type of bus. The communication interface is used for communication between the electronic equipment and other equipment.
The memory may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
As an example, the memory 406 may include, but is not limited to, the obtaining module 302, the determining module 304, the setting module 306, and the executing module 308 of the task-based intelligent scene recommending apparatus. In addition, the module may further include, but is not limited to, other module units in the processing apparatus of the request, which is not described in this example again.
The processor may be a general-purpose processor, and may include but is not limited to: a CPU (Central Processing Unit), NP (Network Processor), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Optionally, for a specific example in this embodiment, reference may be made to the example described in the foregoing embodiment, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 4 is only an illustration, and the device for implementing the task-based intelligent scene recommendation method may be a terminal device, and the terminal device may be a terminal device such as a smart phone (e.g., an Android Mobile phone, an iOS Mobile phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 4 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 4, or have a different configuration than shown in FIG. 4.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
According to still another aspect of embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is executed by a processor to perform the steps of the above task-based intelligent scene recommendation method.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be essentially or partially contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be implemented in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (5)

1. A task-based intelligent scene recommendation method is characterized by comprising the following steps:
acquiring a task schedule of a user, wherein the task schedule comprises schedule content and schedule time periods;
determining a first target scene song list matched with the schedule content according to the schedule content, wherein the first target scene song list comprises the following steps: identifying each field in the calendar content; increasing the value of statistical data by 1 when one field is identified as a first field, wherein the initial value of the statistical data is zero, and the format of the first field is a name format; determining that the first field is identified under the condition that 1 or 2 characters are identified after the surname, determining that the first field is not identified under the condition that more than two characters are identified after the surname, and taking the numerical value of the statistical data as the number of people in the task schedule after identifying the content of the schedule;
determining the geographic position for performing the task schedule according to the schedule content, comprising: identifying each field in the calendar content; when one field is identified as a second field, taking the longitude and latitude corresponding to the identified second field as the geographic position, wherein the format of the second field is the format of the name of the geographic position;
determining the first target scene song list according to the number of people and the geographic location, comprising: the determining the first target scene song list according to the number of people and the geographic location comprises: determining a first target scene song single group matched with the number of people according to the number of people; determining a second target scene song single group matched with the geographic position according to the geographic position; determining the first target scene song list according to the first target scene song single group and the second target scene song single group, wherein the first target scene song list belongs to the first target scene song single group and the second target scene song single group simultaneously;
after the first target scene song list is determined, forbidding to cache the first target scene song list, and caching all songs in the first target scene song list to a playing device before the initial time point of a schedule time period;
setting a timing task according to the first target scene song list and the schedule time period;
and when the current time reaches the starting time point of the schedule time period, executing the timing task to play the target song in the first target scene song list.
2. The method of claim 1, further comprising:
and under the condition that the task schedule is associated with a second target scene song list by the user, when the current time reaches the starting time point of the schedule time period, playing the target song in the second target scene song list.
3. A task-based intelligent scene recommender, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a task schedule of a user, and the task schedule comprises schedule content and schedule time periods;
the determining module is used for determining a first target scene song list matched with the schedule content according to the schedule content, and comprises: identifying each field in the calendar content; increasing the value of statistical data by 1 when one field is identified as a first field, wherein the initial value of the statistical data is zero, and the format of the first field is a name format; determining to identify the first field under the condition that 1 or 2 characters are connected after the surname is identified, determining not to identify the first field under the condition that more than two characters are connected after the surname is identified, and taking the numerical value of the statistical data as the number of people in the task schedule after the schedule content is identified; determining the geographic position for performing the task schedule according to the schedule content, comprising: identifying each field in the calendar content; when one field is identified as a second field, taking the longitude and latitude corresponding to the second field obtained by identification as the geographic position, wherein the format of the second field is the format of the name of the geographic position;
determining the first target scene song list according to the number of people and the geographic position, comprising: the determining the first target scene song list according to the number of people and the geographic location comprises: determining a first target scene song single group matched with the number of people according to the number of people; determining a second target scene song single group matched with the geographic position according to the geographic position; determining the first target scene song list according to the first target scene song single group and the second target scene song single group, wherein the first target scene song list belongs to the first target scene song single group and the second target scene song single group simultaneously;
after the first target scene song list is determined, forbidding to cache the first target scene song list, and caching all songs in the first target scene song list to a playing device before the initial time point of a schedule time period;
the setting module is used for setting a timing task according to the first target scene song list and the schedule time period;
and the execution module is used for executing the timing task to play the target song in the first target scene song list when the current time reaches the starting time point of the schedule time period.
4. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 2.
5. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 2 by means of the computer program.
CN202210139859.5A 2022-02-16 2022-02-16 Task-based intelligent scene recommendation method and device, storage medium and electronic equipment Active CN114201639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210139859.5A CN114201639B (en) 2022-02-16 2022-02-16 Task-based intelligent scene recommendation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210139859.5A CN114201639B (en) 2022-02-16 2022-02-16 Task-based intelligent scene recommendation method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114201639A CN114201639A (en) 2022-03-18
CN114201639B true CN114201639B (en) 2022-10-28

Family

ID=80659014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210139859.5A Active CN114201639B (en) 2022-02-16 2022-02-16 Task-based intelligent scene recommendation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114201639B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011100182A (en) * 2009-11-04 2011-05-19 Nec Corp Recommendation information distribution system, server, portable terminal, recommendation information distribution method, program thereof, and recording medium
CN108804538A (en) * 2018-05-06 2018-11-13 深圳市保千里电子有限公司 Music based on the period recommends method
CN110941774A (en) * 2019-12-05 2020-03-31 深圳前海达闼云端智能科技有限公司 Service recommendation method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924918B (en) * 2010-02-11 2013-07-31 宇龙计算机通信科技(深圳)有限公司 Method for broadcasting program by using terminal and terminal
CN107911428A (en) * 2017-11-03 2018-04-13 维沃移动通信有限公司 A kind of song method for pushing, device and mobile terminal
CN112905834B (en) * 2021-04-01 2022-08-02 杭州网易云音乐科技有限公司 Song list management method, medium, device and computing equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011100182A (en) * 2009-11-04 2011-05-19 Nec Corp Recommendation information distribution system, server, portable terminal, recommendation information distribution method, program thereof, and recording medium
CN108804538A (en) * 2018-05-06 2018-11-13 深圳市保千里电子有限公司 Music based on the period recommends method
CN110941774A (en) * 2019-12-05 2020-03-31 深圳前海达闼云端智能科技有限公司 Service recommendation method

Also Published As

Publication number Publication date
CN114201639A (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN105872830B (en) Interactive approach and device in direct broadcast band
US20190121823A1 (en) Communication Terminal, Communication Method, Program, And Communication System.
CN103731338B (en) Speech processing means and speech processing method
US10171617B2 (en) Communication system that support review of usage details for a communication service
EP2919198B1 (en) Image processing device, image processing method, and program
CN113779416B (en) Information recommendation method and device, electronic equipment and computer-readable storage medium
US20150296031A1 (en) Communication terminal, information processing device, communication method, information processing method, program, and communication system
CN110089124A (en) Intelligence is default
WO2013100904A1 (en) Method, device, and system for generating and analyzing digital readable media consumption data
US20100257030A1 (en) Method and system for conducting a contest
CN104065831A (en) Mobile terminal alarm clock implementation method and device
CN114201639B (en) Task-based intelligent scene recommendation method and device, storage medium and electronic equipment
JP2012209724A (en) Playlist creation apparatus, playlist creation method and playlist creating program
CN109584392A (en) Information output method, device and electronic equipment
CN111460322A (en) Data processing method, device, equipment and readable storage medium
CN112015972A (en) Information recommendation method and device, electronic equipment and storage medium
JP6966752B1 (en) Artist management system and server equipment
CN109255593A (en) Schedule executes method, apparatus, equipment and computer readable storage medium
Hooper Chinese youth: The nineties generation
CN114117115B (en) Multi-terminal linkage intelligent playing method and device, storage medium and electronic equipment
CN114417050B (en) Intelligent caching method and device, storage medium and electronic equipment
JP6767250B2 (en) Distribution device, distribution control program, distribution control method and distribution system
CN114564611B (en) Music playing method, device and system for music treatment
CN102707981B (en) A kind of methods, devices and systems that show information
CN109994000B (en) Reading accompanying method, electronic equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant