CN114201639A - 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
CN114201639A
CN114201639A CN202210139859.5A CN202210139859A CN114201639A CN 114201639 A CN114201639 A CN 114201639A CN 202210139859 A CN202210139859 A CN 202210139859A CN 114201639 A CN114201639 A CN 114201639A
Authority
CN
China
Prior art keywords
schedule
task
target scene
song list
song
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.)
Granted
Application number
CN202210139859.5A
Other languages
Chinese (zh)
Other versions
CN114201639B (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 acquiring 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 a geographic location for performing the task schedule according to the schedule content; 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 increase a value of statistics data by 1 if a field is identified as a first field, 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; and a third determining subunit, configured to determine the first target scene song list according to the first target scene song list and the second target scene song list, where the first target scene song list belongs to both the first target scene song list and the second target scene song list.
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 a computer program, and the processor is configured to execute the 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 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 up is fulfilled, and the technical problem that the proper song cannot be timely 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, 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 a day schedule content and a schedule time slot, and may be from 1/13/2022 to 1/14/2022 in shenzhen gulf park, liu and grandchild together, the schedule content is from 1/13/2022/1/14/2022/1/3/1/14/shenzhen gulf park, liu and grandchild together, 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/1/2022/1/14/1/13/1/2022/1/14/1/2/1/14/1/20/2/1/14/1/2/1/14/2/1/2/1/2/one/. 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 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, the schedule time period and the schedule content in the task schedule set by the user are obtained, if the schedule content is a picnic together with Zhang, Liu and Sun, in Shenzhen Bay park, the schedule time period is from 13 at 1 month and 1 day of 2022 to 14 at 1 month and 1 day of 2022, determining a target scene song list matched with the task schedule according to the picnic of the schedule contents in Zhang, Liu and Sun of Shenzhen bay park, if the target scene song list is determined to be a multi-person picnic song list, in the time period from 13 hours at 1 month and 1 day of 2022 years to 14 hours at 1 month and 1 day of 2022 years according to the target scene song list and the multi-person picnic song list and schedule, a timed task of playing the multi-party song list at 1 month and 1 day 13 in 2022 is set, all songs in the target scene menu multi-person picnic menu begin to play when the time reaches the start time point 2022 year 1 month 1 day 13 of the schedule 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 includes:
identifying each field in the calendar content;
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 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 postword exceeds 2, for example, Zhangguanli is worn, and three words are connected after Zhang of surname, the Zhangguanli is recognized 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, 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 geographic position name.
Optionally, in this embodiment, the second field is a name of a geographic location, which may be beijing stone hills park, shanghai outer beach. And identifying each field of the calendar content in Shenzhen bay park Zhang, Liu and grand together picnic, and taking the longitude and latitude N22 DEG 38 ' 17.54 ' east longitude E114 DEG 05 ' 52.35 corresponding to the identified second field Shenzhen bay park as the geographic position under the condition that one field of the Shenzhen bay park is identified as the name of the second field geographic position. If a geographic location name corresponds to a range, the latitude and longitude of the center of the range may be taken 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 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.
Alternatively, 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 a plurality of 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 a plurality of 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 by the user with the second target scene song list, 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, a schematic diagram of an algorithm module 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:30 ' in 2021 year, ' the schedule content ' is ' wild camping in Shenzhen bay park with Zhang, Liu and Sun, 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, 12: 30 in 2021";
according to the schedule positioning 'Shenzhen bay park' deducing labels 'Shenzhen', 'seaside' and 'front-line city';
after the tags are gathered, a batch of scene singing lists are matched according to the tags and recorded in a cloud server, 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 the acoustic equipment and are played at regular time.
3. The sound equipment executes the playing task at regular time, and when the time reaches the task schedule time 2021, 12, month, 1, 15:30, 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 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 menu 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 a day schedule content and a schedule time slot, and may be from 1/13/2022 to 1/14/2022 in shenzhen gulf park, liu and grandchild together, the schedule content is from 1/13/2022/1/14/2022/1/3/1/14/shenzhen gulf park, liu and grandchild together, 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/1/2022/1/14/1/13/1/2022/1/14/1/2/1/14/1/20/2/1/14/1/2/1/14/2/1/2/1/2/one/. 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 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, the schedule time period and the schedule content in the task schedule set by the user are obtained, if the schedule content is a picnic together with Zhang, Liu and Sun, in Shenzhen Bay park, the schedule time period is from 13 at 1 month and 1 day of 2022 to 14 at 1 month and 1 day of 2022, determining a target scene song list matched with the task schedule according to the picnic of the schedule contents in Zhang, Liu and Sun of Shenzhen bay park, if the target scene song list is determined to be a multi-person picnic song list, in the time period from 13 hours at 1 month and 1 day of 2022 years to 14 hours at 1 month and 1 day of 2022 years according to the target scene song list and the multi-person picnic song list and schedule, a timed task of playing the multi-party song list at 1 month and 1 day 13 in 2022 is set, all songs in the target scene menu multi-person picnic menu begin to play when the time reaches the start time point 2022 year 1 month 1 day 13 of the schedule 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 acquiring 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 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, 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 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 postword exceeds 2, for example, Zhangguanli is worn, and three words are connected after Zhang of surname, the Zhangguanli is recognized 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. And identifying each field of the calendar content in Shenzhen bay park Zhang, Liu and grand together picnic, and taking the longitude and latitude N22 DEG 38 ' 17.54 ' east longitude E114 DEG 05 ' 52.35 corresponding to the identified second field Shenzhen bay park as the geographic position under the condition that one field of the Shenzhen bay park is identified as the name of the second field geographic position. If a geographic location name corresponds to a range, the latitude and longitude of the center of the range may be taken 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.
Alternatively, 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 a plurality of 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 a plurality of 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 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 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 is the song 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 period, the timing task is executed to play the target song in the first target scene song list.
Alternatively, in this 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 this 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), an 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, the specific examples in this embodiment may refer to the examples described in the above embodiments, 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 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 phone, an iOS phone, etc.), a tablet computer, a palm 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 merely for description and do not represent the merits 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 embodied in the form of 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, 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 manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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 can be realized in a form of hardware, and can also be realized in a 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 (10)

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;
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, wherein said determining a first target scene song list from the calendar content that matches the calendar content comprises:
acquiring the number of people participating in the task schedule from the schedule content;
determining the geographic position for executing the 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.
3. The method of claim 2, wherein obtaining the number of people participating in the task schedule from the schedule content 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;
and after the schedule content is identified, taking the numerical value of the statistical data as the number of people in the task schedule.
4. The method of claim 2, wherein determining the geographic location for performing the task schedule based on the schedule content comprises:
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 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.
5. The method of claim 2, wherein said determining the first target scene song list based on 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;
and 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.
6. The method according to any one of claims 1 to 5, further comprising:
and caching all songs in the first target scene song list to a playing device.
7. The method according to any one of claims 1 to 5, 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.
8. 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;
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.
9. 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 7.
10. 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 7 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 true CN114201639A (en) 2022-03-18
CN114201639B 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 (6)

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

Patent Citations (6)

* 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
CN101924918A (en) * 2010-02-11 2010-12-22 宇龙计算机通信科技(深圳)有限公司 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
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
CN112905834A (en) * 2021-04-01 2021-06-04 杭州网易云音乐科技有限公司 Song list management method, medium, device and computing equipment

Also Published As

Publication number Publication date
CN114201639B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
CN103731338B (en) Speech processing means and speech processing method
US10255360B2 (en) Communication terminal, communication method, program, and communication system
US10171617B2 (en) Communication system that support review of usage details for a communication service
CN103919537A (en) Emotion record, analysis and guidance system and implementation method thereof
CA2838925A1 (en) Data accumulation system
US9646196B2 (en) Image processing device, image processing method, and program
CN106611447A (en) Work attendance method and apparatus
CN109388446A (en) A kind of information processing method, device and storage medium
CN104769589A (en) Communication terminal, information processing device, communication method, information processing method, program, and communication system
CN113779416A (en) Information recommendation method and device, electronic equipment and computer-readable storage medium
CN110089124A (en) Intelligence is default
CN103646169B (en) The based reminding method and device of a kind of game
JP4584125B2 (en) Information bulletin apparatus and program
WO2013100904A1 (en) Method, device, and system for generating and analyzing digital readable media consumption data
US20100257030A1 (en) Method and system for conducting a contest
CN114201639B (en) Task-based intelligent scene recommendation method and device, storage medium and electronic equipment
US20060003744A1 (en) Method for providing a cellular phone or a portable terminal with news or other information
CN109584392A (en) Information output method, device and electronic equipment
CN112015972A (en) Information recommendation method and device, electronic equipment and storage medium
CN106842964A (en) Customization System and method
CN113144599B (en) Virtual character changing method, device, computer equipment and storage medium
CN105868090A (en) Terminal operation record management method and apparatus
JP6063697B2 (en) Apparatus, method and program for image display
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

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