Interaction method, device and equipment of intelligent terminal and computer storage medium

By integrating multiple functions in the smart terminal, such as voice interpretation, music creation, intelligent themes and intelligent dialogue, and interacting with users through corresponding functional interfaces, the problem of single functions of existing devices is solved, improving user experience and flexibility .

CN119110018APending Publication Date: 2024-12-10THE FOURTH PARADIGM BEIJING TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411389576.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The existing small electronic devices have single functions and cannot meet the diverse needs of modern users, resulting in poor user experience.

Method used

Integrate a variety of functions in the smart terminal, such as voice interpretation, music creation, intelligent themes and intelligent dialogue, and interact with users through corresponding functional interfaces to meet users' diverse usage needs.

Benefits of technology

It improves flexibility and intelligence in the interaction process of smart terminals, meets users' diverse usage needs, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110018A_ABST
    Figure CN119110018A_ABST
Patent Text Reader

Abstract

The invention relates to an interaction method, device and equipment for an intelligent terminal and a computer storage medium, and the method comprises the steps: responding to a function selection operation of a user on the intelligent terminal, and determining a target function from a plurality of candidate functions which at least comprise simultaneous interpretation, music creation, an intelligent theme and an intelligent dialogue; displaying a target function interface corresponding to the target function on a display screen of the intelligent terminal; and interacting with a user through the target function interface to realize the target function. According to the method and the device, multiple functions are integrated in the intelligent terminal, and the corresponding function interface is set to interact with the user, so that the user can realize multiple functions through different target function interfaces, various use requirements of the user are met, and the flexibility and the intelligence in the interaction process of the intelligent terminal are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of smart devices, and in particular to an interaction method, device, equipment and computer storage medium of a smart terminal. Background Art

[0002] With the development of science and technology, various small electronic devices have been widely used in daily life, such as speakers, electronic clocks, visual night lights, etc.

[0003] However, each small electronic device can usually only realize a single function. For example, a speaker is a common audio playback device. Users can connect the speaker to the device where the music file is located and play music to obtain a better auditory experience; an electronic clock can connect to the Internet to obtain the current time and display the time in a variety of ways through a display screen.

[0004] With the intelligence of modern life, such electronic devices with single and fixed functions can no longer meet the needs of users, resulting in poor user experience during use. Summary of the invention

[0005] In order to solve the above technical problems, the present disclosure provides an interaction method, device, equipment and computer storage medium of a smart terminal to improve the flexibility and intelligence of the smart terminal during the interaction process.

[0006] In a first aspect, an embodiment of the present disclosure provides an interaction method of a smart terminal, including:

[0007] In response to a function selection operation performed by a user on the smart terminal, a target function is determined from a plurality of candidate functions, wherein the candidate functions at least include simultaneous interpretation, music composition, smart theme, and smart dialogue;

[0008] Displaying a target function interface corresponding to the target function on a display screen of the smart terminal;

[0009] Interact with the user through the target function interface to achieve the target function.

[0010] In a second aspect, an embodiment of the present disclosure provides an interactive device for a smart terminal, including:

[0011] A determination module, configured to determine a target function from a plurality of candidate functions in response to a function selection operation performed by a user on the intelligent terminal, wherein the candidate functions at least include simultaneous interpretation, music composition, intelligent theme, and intelligent dialogue;

[0012] A display module, used to display the target function interface corresponding to the target function on the display screen of the smart terminal;

[0013] The function realization module is used to interact with the user through the target function interface to realize the target function.

[0014] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0015] Memory;

[0016] Processor; and

[0017] Computer programs;

[0018] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect.

[0019] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method described in the first aspect.

[0020] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the interactive method of the intelligent terminal as described above is implemented.

[0021] The interactive method, device, equipment and computer storage medium of the smart terminal provided by the embodiments of the present disclosure integrate multiple functions in the smart terminal and set corresponding functional interfaces to interact with users, so that users can realize multiple functions through different target functional interfaces, meet the diverse usage needs of users, and improve the flexibility and intelligence of the smart terminal in the interactive process. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0024] Figure 1 A flow chart of an interactive method of a smart terminal provided in an embodiment of the present disclosure;

[0025] Figure 2 A schematic diagram showing the switching of a candidate function interface provided in an embodiment of the present disclosure;

[0026] Figure 3A schematic diagram of a function menu interface provided by an embodiment of the present disclosure;

[0027] Figure 4 A schematic diagram of a preset theme homepage provided in an embodiment of the present disclosure;

[0028] Figure 5 A schematic diagram of a simultaneous interpretation process provided by an embodiment of the present disclosure;

[0029] Figure 6 A schematic diagram of a music creation process provided by an embodiment of the present disclosure;

[0030] Figure 7 A schematic diagram of the smart theme function provided by an embodiment of the present disclosure;

[0031] Figure 8 A schematic diagram of an intelligent dialogue function provided by an embodiment of the present disclosure;

[0032] Fig. 9 A schematic diagram of a one-key translation function provided in an embodiment of the present disclosure;

[0033] Fig.10 A schematic diagram of the radio function provided by an embodiment of the present disclosure;

[0034] Fig.11 A schematic diagram of a music playing function provided by an embodiment of the present disclosure;

[0035] Fig.12 A schematic diagram of the structure of an interactive device of a smart terminal provided in an embodiment of the present disclosure;

[0036] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0039] The embodiment of the present disclosure provides an interaction method of an intelligent terminal, which is introduced below in conjunction with a specific embodiment.

[0040] Figure 1The flow chart of the interactive method of the smart terminal provided in the embodiment of the present disclosure. The method can be applied to a smart terminal, which is provided with an interactive display screen and a plurality of physical function keys. The smart terminal can be a variety of electronic devices, such as speakers, electronic clocks, visual lights, robots, etc. The following embodiment takes the display interface of a smart speaker as an example to illustrate the interactive mode of each function.

[0041] It is understandable that the interaction method of the smart terminal provided in the embodiment of the present disclosure can also be applied to other smart terminals.

[0042] Below Figure 1 The interactive method of the intelligent terminal shown is introduced, and the specific steps of the method are as follows:

[0043] S101. In response to a function selection operation performed by a user on the smart terminal, a target function is determined from a plurality of candidate functions, where the candidate functions at least include simultaneous interpretation, music composition, smart theme, and smart dialogue.

[0044] The function selection operation can be implemented through the interactive display screen of the smart terminal, or through the physical function buttons of the smart terminal, or through the interactive display screen of the smart terminal combined with the physical function buttons.

[0045] Optionally, candidate functions also include one-click translation, radio, music playback, etc.

[0046] S102: Displaying a target function interface corresponding to the target function on a display screen of the smart terminal.

[0047] S103: interact with the user through the target function interface to achieve the target function.

[0048] The target function interface is the homepage of the target function. For some functions, the target function can be achieved by interacting with the user through the homepage; for other functions, it is necessary to interact with the user through the homepage and enter other pages of the target function to achieve the target function.

[0049] The disclosed embodiment determines a target function from a plurality of candidate functions in response to a function selection operation performed by a user on the smart terminal, wherein the candidate functions include at least simultaneous interpretation, music composition, smart theme, and smart dialogue; displays a target function interface corresponding to the target function on a display screen of the smart terminal, and interacts with the user through the target function interface to realize the target function; integrates a plurality of functions in the smart terminal, and sets a corresponding function interface to interact with the user, so that the user can realize a plurality of functions through different target function interfaces, thereby meeting the user's diverse usage needs and improving the flexibility and intelligence of the smart terminal in the interaction process.

[0050] In some embodiments, in response to a function selection operation performed by a user on the smart terminal, there are multiple ways to determine the target function from a plurality of candidate functions.

[0051] One possible implementation method is, in response to a user's sliding operation on the display screen, controlling multiple candidate function interfaces to be switched and displayed on the display screen, and the multiple candidate functions correspond one-to-one to the multiple candidate function interfaces; when the user controls any one of the candidate function interfaces to stay on the display screen, determining that the function corresponding to the candidate function interface currently in the display screen is the target function.

[0052] That is, multiple candidate function interfaces are arranged in a preset order, and when the user slides on the display screen a certain number of times, the target function interface among the multiple candidate function interfaces can be adjusted to be displayed on the display screen.

[0053] Figure 2 A schematic diagram of a candidate function interface switching display provided by an embodiment of the present disclosure. Figure 2 As shown in the figure, the candidate function interface currently displayed on the display screen is the simultaneous interpretation interface. When the user swipes left on the display screen, the simultaneous interpretation interface is switched to the one-key translation interface; when the user swipes left on the display screen again, the one-key translation interface is switched to the smart music interface, that is, Figure 2 The AI ​​music interface shown.

[0054] Correspondingly, when the user swipes right on the display screen, the candidate function interfaces are switched in reverse order.

[0055] Another possible implementation method is, in response to the user's operation of the physical function buttons on the smart terminal, displaying a function menu interface on the display screen, wherein the function menu interface includes multiple candidate function controls; when the user selects any one of the candidate function controls, the function corresponding to the selected candidate function control is determined to be the target function.

[0056] The function menu interface has multiple display modes. When the function menu interface is displayed on the display screen, the display mode of the function menu interface is switched in response to the user's menu mode switching operation. The menu mode switching operation can still be implemented through the physical function button on the smart terminal.

[0057] Figure 3A schematic diagram of a function menu interface provided for an embodiment of the present disclosure, showing different display modes, including a nine-square grid mode, a circular page turning mode, and a vertical page turning mode. Optionally, the user can determine one of the multiple display modes as the default display mode according to his or her own preferences, and in response to the user's operation of the physical function keys on the smart terminal, the function menu interface is displayed on the display screen in the default display mode. The user can also switch the display mode by performing corresponding operations on the menu page, such as switching the mode by double-clicking the main key; the user can also switch the mode by setting the view control.

[0058] Another possible implementation is to display a preset theme homepage on the display screen of the smart terminal, wherein the preset theme homepage includes multiple candidate function controls; when the user selects any candidate function control, the function corresponding to the selected candidate function control is determined to be the target function.

[0059] The preset theme homepage can be understood as the desktop page of the smart terminal display screen, which usually includes a desktop wallpaper and a time display.

[0060] At the same time, the preset theme homepage also includes multiple candidate function controls, and the user can set one or more candidate function controls displayed in the preset theme homepage according to his own needs.

[0061] Figure 4 A schematic diagram of a preset theme homepage provided in an embodiment of the present disclosure shows three preset theme homepages, each of which contains a different combination of candidate function controls.

[0062] When the user selects any one of the candidate function controls, it is considered that the user determines the candidate function control as the target function control, and then the target function interface is displayed.

[0063] The disclosed embodiments can determine the target function selected by the user in a variety of ways, further display the target function interface, and improve the flexibility of switching to the target function page.

[0064] The following describes the implementation methods of various target functions in conjunction with specific embodiments.

[0065] In some embodiments, when the target function is simultaneous interpretation, the target function interface is a simultaneous interpretation interface.

[0066] The interacting with the user through the target function interface to achieve the target function includes: displaying a simultaneous interpretation homepage in the simultaneous interpretation interface, wherein the simultaneous interpretation homepage includes a start recording control; in response to the user's operation of the start recording control, starting to record the speech to be translated, and translating the speech to be translated to obtain a real-time translation result; and broadcasting the real-time translation result through the smart terminal.

[0067] Simultaneous interpretation means that the real-time translation results are broadcast while the voice to be translated is recorded.

[0068] Figure 5 The following is a schematic diagram of the simultaneous interpretation process provided by the embodiment of the present disclosure. Figure 5 As shown, the simultaneous interpretation homepage is first displayed, which includes a start recording control and displays a prompt message of "click to start translation".

[0069] When the user operates the start recording control, the voice to be translated begins to be recorded, and the voice to be translated is translated at the same time, and a real-time translation result is obtained and broadcasted.

[0070] After the user operates the start recording control, the start recording control is switched to a playback pause control. Figure 5 As shown, when the user operates the start recording control, the start recording control switches to a broadcast pause control, and the real-time translation result is broadcast at the same time, and the prompt information on the display screen also switches to "Translation broadcasting".

[0071] Optionally, the background image on the simultaneous interpretation homepage is a static tiled image, indicating that recording has not started yet; after the user operates the start recording control, the static spectrum image is switched to a dynamic spectrum image, indicating that recording is in progress.

[0072] Furthermore, in response to the user's operation on the broadcast pause control, the broadcast of the translation result is paused; the broadcast pause control is switched to a start recording control, and an end translation control is displayed; in response to the user's operation on the end translation control, the simultaneous interpretation homepage is displayed.

[0073] If the user needs to pause during simultaneous interpretation, he can pause the voice broadcast by operating the broadcast pause control. Figure 5 As shown, the pause control switches to the start recording control, and the prompt message switches to "Translation broadcast has been paused", and the dynamic spectrum image in the background switches to a static spectrum image. The user can choose to continue the simultaneous interpretation or end the current simultaneous interpretation process.

[0074] Specifically, when the user operates the start recording control, the simultaneous interpretation continues; when the user operates the end translation control, the current simultaneous interpretation process ends and switches to the above-mentioned simultaneous interpretation homepage.

[0075] Optionally, in the process of broadcasting the real-time translation result through the intelligent terminal, in response to a sliding operation of the user on the display screen, the current simultaneous interpretation process is ended and the simultaneous interpretation homepage is displayed.

[0076] Furthermore, in response to the user's sliding operation on the simultaneous interpretation homepage, the simultaneous interpretation function can be exited, the preset theme homepage can be displayed, or the interface of other candidate functions can be switched.

[0077] In addition, the simultaneous interpretation interface can be set with a language selection control, for example, the language selection control can be set to translate from Chinese to English.

[0078] Furthermore, the language can be automatically identified. According to the input language information, the corresponding language category can be identified and translated into the target language required by the user. For example, if the language required by the user is English, the language entered by the user to be translated can be identified in real time. If it is Chinese, it will be translated into English. If English is mixed in the input language, the English will be directly broadcast.

[0079] The embodiments of the present disclosure can realize the simultaneous interpretation function by using the intelligent terminal through simple interactive operations, thereby improving the flexibility of the interactive method of the intelligent terminal.

[0080] In some embodiments, when the target function is music creation, the target function interface is a music creation interface, and the music creation interface includes a start creation control; the interaction with the user through the target function interface to achieve the target function includes: in response to the user's operation of the start creation control, displaying a song description acquisition page and recording a song description voice, and the song description acquisition page includes an end recording control; in response to the user's operation of the end recording control, generating at least one target song according to the information carried in the song description voice; and displaying the playback controls corresponding to each target song in the music creation interface.

[0081] Figure 6 The following is a schematic diagram of the music creation process provided by the embodiment of the present disclosure. Figure 6 As shown, the music creation interface includes controls for starting creation.

[0082] Optionally, the music creation interface also includes a preset song list. Specifically, before the user operates the start creation control, the preset song list is obtained; and the playback controls corresponding to each of the preset songs are displayed in the music creation interface.

[0083] Alternatively, when there is no preset song list, or when the preset song list is empty, a prompt message "No music yet" is displayed.

[0084] When the user operates the start creation control, the music creation interface is switched to the song description acquisition page, and prompt information is displayed to guide the user to speak the song description voice.

[0085] Optionally, a recording countdown is also displayed in the song description acquisition page. When the countdown ends, the recording ends automatically and the song description voice is obtained.

[0086] After generating at least one target song, the playback controls corresponding to each target song are displayed in the music creation interface, for example Figure 6 Song A, Song B, and Song C are shown in the figure.

[0087] The playback control includes a playback status label, and the method further includes: in response to a user operation on any of the playback controls, switching the playback status label of the playback control from a not-played state to a playing state; and displaying a song playback details page corresponding to the playback control.

[0088] by Figure 6 For example, when the user selects the playback control of song A, song A is played and the page for song A's playback details is switched, and the playback status label of song A is switched to the playing status. The song playback details page displays basic information of the song being played, such as the song name, singer name, etc.; it also displays song pause controls, song switching controls, song list controls, etc., for users to control the song playback status.

[0089] When the user operates the song list control or slides on the song play details page, the page where the play control is located is returned. At this time, the song continues to play, but the play status label of the song play control has been switched to the playing state.

[0090] In addition, users can also switch songs through the physical function buttons of the smart terminal, such as switching songs through the volume button of the smart speaker. It should be noted that the operation of switching songs is different from the operation of the physical function key itself. For example, volume adjustment can be achieved by single-clicking the volume button, and songs can be switched by double-clicking the volume button. Double-clicking the volume "+" key switches forward, and double-clicking the volume "-" key switches backward.

[0091] The disclosed embodiment automatically generates corresponding target songs by acquiring song description information in the form of user voice, so that users can create music only through smart terminals, further improving the user experience.

[0092] In some embodiments, when the target function is a smart theme function, the target function interface is a smart theme interface, and the smart theme interface includes a theme description information acquisition control; the interaction with the user through the target function interface to achieve the target function includes: in response to the user's operation on the theme description information acquisition control, displaying a theme description information acquisition page and recording a theme description voice, and the theme description information acquisition page includes an end recording control; in response to the user's operation on the end recording control, generating a target theme according to the theme description information; and applying the target theme to the interface layout of the smart terminal.

[0093] Figure 7 This is a schematic diagram of the smart theme function provided by the embodiment of the present disclosure. Figure 7 As shown, the control for obtaining the theme description information displays a prompt message "Use AI voice to draw beautiful themes" to guide users to operate it.

[0094] Optionally, the smart theme interface also includes a theme style selection control. When the user operates the theme style selection control, multiple theme styles are displayed for the user to choose from, such as Figure 7 The "paper comic style" shown in.

[0095] Optionally, the selection of the above-mentioned theme style can also be implemented on an external device. For example, the smart terminal is a smart speaker, and the smart speaker can be connected to a mobile phone. The theme style can be selected by operating in the APP corresponding to the smart speaker on the mobile phone.

[0096] When the user operates the topic description information acquisition control, the topic description information acquisition page is displayed, and the topic description voice is recorded at the same time. Correspondingly, the topic description information acquisition page displays a countdown to the end of recording and a dynamic spectrum background to remind the user that recording is in progress.

[0097] like Figure 7 As shown, the topic description information acquisition page also displays prompt information "Say the topic you want" to guide the user to describe the target topic, and displays corresponding examples.

[0098] When the user operates the end recording control in the topic description information acquisition page, it means that the user has completed the recording of the topic description voice, and the topic description voice carries the topic description information. Next, the target topic is generated according to the topic description information.

[0099] Before generating the target topic, the user needs to check and confirm the topic description information recognized based on the current topic description speech.

[0100] Specifically, the topic description information is displayed in the smart topic interface in text form and the topic operation controls corresponding to the topic description information, and the topic operation controls include a re-entry control and a start generation control; in response to the user's operation on the start generation control, a target topic is generated according to the topic description information; or, in response to the user's operation on the re-entry control, the topic description information acquisition page is displayed; and the topic description information is re-acquired through the topic description information acquisition page.

[0101] The smart theme interface displays theme description information in text form. If the user agrees to generate a theme based on the displayed theme description information, he or she can operate the start generation control, and the smart terminal will generate the corresponding target theme and display it to the user through the display screen; or, if the user does not want to generate a theme based on the displayed theme description information, he or she can operate the re-entry control, and the theme description information acquisition page will be displayed again, guiding the user to re-record the theme description voice.

[0102] Furthermore, after the target theme is generated, a thumbnail of the target theme and a regeneration control corresponding to the target theme are displayed in the smart theme interface; in response to the user's operation on the regeneration control, the theme is regenerated according to the theme description information.

[0103] like Figure 7 As shown, the smart theme interface also displays the theme application control of the target theme. Users can judge whether the target theme meets their expectations through the thumbnail of the target theme. If it meets their expectations, they can apply it to the interface layout of the smart terminal through the theme application control; if it does not meet their expectations, they can control the smart terminal to generate a new target theme according to the theme description information through the regeneration control.

[0104] Optionally, during the process of regenerating the target theme, a loading icon or progress prompt is displayed in the smart theme interface to inform the user that the target theme is being regenerated, thereby increasing the user's sense of security.

[0105] Specifically, the interface layout includes theme wallpaper, button style, theme font, etc. For example, the preset theme homepage in the above embodiment is a theme wallpaper. The target theme can be applied to part of the interface layout, for example, only the theme wallpaper and theme font are applied.

[0106] Optionally, the target theme applied by the user will be saved and can be switched at any time together with other preset themes. For example, long press on a blank area on the preset theme homepage to enter the theme management interface, and preview multiple candidate themes (including at least the preset theme and the target theme) by sliding, and finally select one of them to apply to the interface layout.

[0107] The disclosed embodiment recognizes theme description information through theme description voice recorded by the user, and then intelligently generates a target theme based on the theme description information, so that the user can freely decorate the interface layout of the content displayed on the smart terminal, thereby improving the flexibility of using the smart terminal.

[0108] In some embodiments, when the target function is an intelligent dialogue function, the target function interface is an intelligent dialogue interface; interacting with the user through the target function interface to achieve the target function includes: obtaining the user's dialogue input voice in response to the user's operation of the intelligent dialogue button; generating a dialogue reply message based on the dialogue input voice; and displaying the dialogue reply message in the intelligent dialogue interface.

[0109] Figure 8 A schematic diagram of an intelligent dialogue function provided by an embodiment of the present disclosure. Figure 8 As shown, the welcome message is displayed by default in the intelligent dialogue interface.

[0110] When the user operates the smart dialogue button, the user's dialogue input voice begins to be obtained. At this time, the dialogue status icon (e.g. Figure 8 The icon at the bottom edge of the smart conversation interface shows the recording status. At the same time, a countdown is also displayed in the smart conversation interface to inform the user that recording is currently in progress.

[0111] The smart dialogue button may be a physical button on the smart terminal or a virtual button in the smart dialogue interface.

[0112] When the user finishes recording or the countdown ends, the smart terminal recognizes the voice input based on the recorded conversation. During the recognition process, a loading dialog box is displayed in the smart conversation interface.

[0113] When the recognition is completed, the loading dialog box is replaced with a dialog box that displays the recognition results in text form, and the AI ​​model is called to generate a conversation reply message based on the input voice and / or recognition results. During the generation process, the loading dialog status icon is displayed to inform the user that the conversation reply message is being generated. Finally, the generated conversation reply message is displayed in the intelligent conversation interface for the user to view.

[0114] Optionally, when displaying the conversation reply message, a voice broadcast is performed simultaneously; or, when the user performs a selection operation on the conversation reply message, a voice broadcast is performed.

[0115] In some embodiments, the candidate functions also include a one-key translation function; when the target function is the one-key translation function, the target function interface is a one-key translation interface, and the one-key translation interface includes a start recording control.

[0116] The interacting with the user through the target function interface to achieve the target function includes: in response to the user's operation on the start recording control, starting to record the speech to be translated; switching the start recording control to a stop recording control; in response to the user's operation on the stop recording control, displaying the translation control corresponding to the speech to be translated; when the user operates the translation control, displaying the translation result of the speech to be translated.

[0117] Fig. 9 A schematic diagram of a one-key translation function provided in an embodiment of the present disclosure. Fig. 9 As shown, the one-click translation interface displays a translation setting item for setting the language of the voice to be translated and the translation result.

[0118] The one-click translation interface also includes controls for starting recording, such as Fig. 9 When the user operates the start recording control, the voice to be translated starts to be recorded. It can be understood that the operation mode for the start recording control can be any preset operation mode, such as Fig. 9 As shown in the long press recording, when the user continues to select the control for more than the preset time, the voice to be translated will start to be recorded.

[0119] After starting to record the voice to be translated, the start recording control will be switched to the stop recording control, and the dynamic spectrum and recording countdown will be displayed to remind the user that recording is in progress. When the user operates the stop recording control, or when the recording countdown ends, the recording of the voice to be translated is completed, and the translation control corresponding to the voice to be translated will be displayed.

[0120] When the user operates the translation control, the intelligent terminal translates the voice to be translated according to the pre-set language, obtains the translation result, and displays the translation result in the one-click translation interface.

[0121] Optionally, a translation control corresponding to the speech to be translated and a cancel translation control are displayed; in response to the user's operation on the cancel translation control, the displayed content in the one-key translation interface is switched to the start recording control.

[0122] If the user needs to cancel the translation of the voice to be translated that has been recorded, the user can cancel the translation through the cancel translation control and return to the one-click recording interface with the start recording control.

[0123] Optionally, the text to be translated corresponding to the voice to be translated and the translation result in text form are displayed in the one-click translation interface, and the translation result is voice broadcast at the same time.

[0124] Optionally, during the one-key translation process, in response to a sliding operation by the user on the display screen, the one-key translation function is exited.

[0125] In some embodiments, the candidate functions also include a radio function; when the target function is a radio function, the target function interface is a radio interface; interacting with the user through the target function interface to achieve the target function includes: displaying the current channel in the radio interface and playing the broadcast audio of the current channel; in response to the user's FM operation on the FM button on the smart terminal, adjusting the current channel according to a preset step size.

[0126] Fig.10 This is a schematic diagram of the radio function provided by the embodiment of the present disclosure. Fig.10 As shown, the current channel is displayed in the radio interface and is in an operable state. Optionally, the current channel can also be used as a start play control. When the user operates it, the broadcast audio of the current channel is played; or, when the user operates the current channel, the control is switched to a start play control. When the user operates the start play control, the broadcast audio of the current channel is played. Correspondingly, when the broadcast audio of the current channel is playing, the start play control is switched to a stop play control. When the user operates the stop play control, the broadcast audio of the current channel is stopped.

[0127] Optionally, the frequency modulation button may be a physical button on the smart terminal. One possible implementation is that the frequency modulation button is a volume key of the smart terminal, and the frequency modulation operation is different from the volume adjustment operation on the volume key. For example, the volume adjustment operation is a single click of the volume key, and the frequency modulation operation is a long press of the volume key or a double click of the volume key.

[0128] Alternatively, the FM button can also be a virtual button in the radio interface. Fig.10 As shown, left and right frequency adjustment buttons are respectively arranged on both sides of the current channel. When the user operates the frequency adjustment button in any direction, the channel is adjusted according to the direction.

[0129] Optionally, a frequency search control is provided in the radio interface, and the method further includes: determining a frequency search mode in response to a user's operation of the frequency search control, the frequency search mode including manual frequency search or automatic frequency search; displaying a frequency search page corresponding to the frequency search mode to assist the user in determining a target channel; replacing the current channel with the target channel, and playing the broadcast audio of the target channel.

[0130] Specifically, Fig.10As shown, when the user selects the automatic frequency search mode, the frequency search page of the automatic frequency search mode is entered. At this time, the smart terminal automatically searches for available target channels, and when the target channel is searched, it will automatically switch to the target channel for playback; when the target channel is not searched, the automatic frequency search is exited, and a prompt message for a preset time is displayed, such as Fig.10 The prompt message "Exited frequency search" will disappear after the preset time, and the radio interface will be displayed again.

[0131] Alternatively, when the user selects the manual frequency search mode, the user enters the frequency search page of the manual frequency search mode, which includes number input keys, and the user can directly input the target channel and then switch to the target channel for playback.

[0132] Optionally, the radio interface includes a channel list entry control, and the method further includes: displaying a preset channel list in response to a user operation on the channel list entry control; when the user selects any of the preset channels, switching the current channel to the preset channel and playing the broadcast audio of the preset channel; or, when the user deletes any of the preset channels, removing the preset channel from the preset channel list.

[0133] The delete operation can be as follows: Fig.10 As shown in FIG. , swiping left on a preset channel displays a delete control, and further in response to a user's operation on the delete control, the preset channel is removed from the preset channel list.

[0134] Optionally, for a target channel searched in the automatic frequency search mode or a target channel input by a user in the manual frequency search mode, the target channel is added to a preset channel list so that the user can directly enter the target channel to listen to the broadcast next time.

[0135] In some embodiments, the candidate functions also include a music playback function; when the target function is a music playback function, the target function interface is a music playback interface, and the interaction with the user through the target function interface to achieve the target function includes: in response to the user's connection mode switching operation, displaying a connection mode switching page in the music playback interface, the connection mode switching page including multiple preset connection modes, the preset connection modes including Bluetooth mode, data line mode, and memory card mode; when the user selects a target connection mode from the multiple preset connection modes, obtaining a music file through the target connection mode; and playing music according to the music file.

[0136] The connection mode switching operation includes a user's touch operation on a blank area of ​​the music playback interface, or a user's operation on a physical button of the smart terminal, or a user's operation on connecting an external device to the smart terminal.

[0137] The preset connection mode is divided into an available state and an unavailable state, and the preset connection mode in the available state is further divided into a selected state and an unselected state. The available state and the unavailable state of the preset connection mode are determined according to the connection status of the external device of the smart terminal.

[0138] Fig.11 This is a schematic diagram of the music playing function provided by the embodiment of the present disclosure. Fig.11 As shown in the figure, the connection mode switching page is displayed in the music playback interface. When the smart terminal is connected to an external device via Bluetooth, and the data cable is not connected and the memory card is not inserted, only the Bluetooth mode is displayed as available, and the data cable mode and the memory card mode are grayed out, indicating that they are unavailable; when the smart terminal is connected to an external device via Bluetooth, and the data cable is connected to the external device and the memory card is inserted, the three preset connection modes are all available, and the user can select the target connection mode, and the corresponding target connection mode will be switched from the unselected state to the selected state.

[0139] Optionally, when the user selects a target connection mode, an icon corresponding to the target connection mode will be displayed in the music playback interface.

[0140] Optionally, when the connection mode switching operation is an operation of the user accessing an external device to the smart terminal, the connection mode is automatically switched according to the external device most recently accessed by the user. For example, the original connection mode of the smart terminal is Bluetooth mode, and when the user inserts a memory card into the card slot of the smart terminal, the smart terminal automatically switches the Bluetooth mode to the memory card mode.

[0141] After the user selects the target connection mode, the smart terminal obtains the playable music files through the target connection mode. Fig.11 As shown, a lyrics viewing control is provided in the music playing interface. When the user operates the lyrics viewing control, the lyrics of the currently playing music are displayed in the music playing interface.

[0142] like Fig.11 As shown, a music list entry control is also provided in the music playing interface. When the user operates the music list entry control, the music files are displayed in the form of a music list.

[0143] Correspondingly, music is played according to the music file, including: in response to a user's selection operation on any target music in the music list, a music playback interface corresponding to the target music is displayed and the target music is played.

[0144] Optionally, the method further includes: in response to a user's deletion operation on any target music in the music list, removing the target music from the music list.

[0145] like Fig.11 As shown, the deletion operation can be to swipe left on the target music in the music list to display the deletion control of the target music, and the deletion operation can be completed based on the user's operation on the deletion control and secondary confirmation.

[0146] Optionally, when playing music, the music playing interface also displays a music playing background. Diversified music playing backgrounds can enhance the fun of the music playing process.

[0147] A possible way to display the music playing background is: generating a music playing background according to the music attribute information of the currently playing music, wherein the music attribute information includes one or more of lyrics, music style, and music purpose; and applying the music playing background to the music playing interface.

[0148] Generate a music playback background based on the lyrics, that is, generate a corresponding static or dynamic background image based on the content described in the lyrics; generate a music playback background based on the music style, that is, generate a music playback background of the corresponding style based on the emotional expression of the music; the purpose of the music is the purpose positioning of the music when it is released. For example, if the music is the theme song of a TV series, the promotional poster of the TV series can be used as the music playback background.

[0149] The music playing background corresponding to the currently playing music may be generated in real time or may be preset, for example, a corresponding relationship between the song and the music playing background may be preset.

[0150] Another possible way to display the music playback background is: in response to the user's music playback background switching operation, display multiple preset music playback backgrounds; based on the user's selection operation of the target playback background among the multiple preset music playback backgrounds, apply the target playback background to the music playback interface.

[0151] A plurality of preset music playing backgrounds are stored in the smart terminal. When the user wants to switch the current music playing background, the user can select a target playing background from the plurality of preset music playing backgrounds according to his / her own preferences for application.

[0152] Another possible way to display the music playback background is: control the external device connected to the smart terminal to display the playback background setting interface; determine the target playback background in response to the user's operation in the playback background setting interface of the external device; obtain the target playback background from the external device; and apply the target playback background to the music playback interface.

[0153] The external device connected to the smart terminal can be other devices connected via Bluetooth or a data cable. When the user wants to change the music playback background, he can select or create a target playback background through the playback background setting interface on the external device, and transmit the target playback background to the smart terminal via Bluetooth or a data cable for application.

[0154] Correspondingly, the background music generated in the smart terminal can also be transmitted to an external device for storage, so that the user can use it directly next time.

[0155] Optionally, in any interface of the music playback function, the start and pause of music playback can be controlled according to the user's operation of the physical buttons of the smart terminal.

[0156] The disclosed embodiments provide a variety of candidate functions for users to choose from as needed, thereby meeting various needs of users in various scenarios in life and effectively improving the user experience.

[0157] Fig.12 The structure diagram of the interactive device of the smart terminal provided in the embodiment of the present disclosure is as follows. The device may be the smart terminal as described in the above embodiment, or it may be a component or assembly in the smart terminal. The interactive device of the smart terminal provided in the embodiment of the present disclosure may execute the processing flow provided in the interactive method embodiment of the smart terminal, such as Fig.12 As shown, the interactive device 120 of the smart terminal includes: a determination module 121, a display module 122, and a function realization module 123. Among them, the determination module 121 is used to respond to the function selection operation performed by the user on the smart terminal, and determine the target function from multiple candidate functions, and the candidate functions at least include simultaneous interpretation, music creation, intelligent theme, and intelligent dialogue; the display module 122 is used to display the target function interface corresponding to the target function on the display screen of the smart terminal; the function realization module 123 is used to interact with the user through the target function interface to realize the target function.

[0158] Optionally, the determination module 121 is used to: in response to a user's sliding operation on the display screen, control multiple candidate function interfaces to be switched and displayed on the display screen, and the multiple candidate functions correspond one-to-one to the multiple candidate function interfaces; when the user controls any candidate function interface to stay on the display screen, determine that the function corresponding to the candidate function interface currently in the display screen is the target function.

[0159] Optionally, the determination module 121 is used to: in response to the user's operation of a physical function button on the smart terminal, display a function menu interface on the display screen, wherein the function menu interface includes multiple candidate function controls; when the user selects any one of the candidate function controls, determine that the function corresponding to the selected candidate function control is the target function.

[0160] Optionally, the determination module 121 is used to: display a preset theme homepage on the display screen of the smart terminal, the preset theme homepage including multiple candidate function controls; when the user selects any candidate function control, determine that the function corresponding to the selected candidate function control is the target function.

[0161] Optionally, when the target function is simultaneous interpretation, the target function interface is a simultaneous interpretation interface; the function implementation module 123 includes a simultaneous interpretation unit 1231, which is used to: display a simultaneous interpretation homepage in the simultaneous interpretation interface, and the simultaneous interpretation homepage includes a start recording control; in response to a user's operation of the start recording control, start recording the voice to be translated, and translate the voice to be translated to obtain a real-time translation result; and broadcast the real-time translation result through the smart terminal.

[0162] Optionally, the simultaneous interpretation unit 1231 is also used to: switch the start recording control to a broadcast pause control; in response to a user's operation on the broadcast pause control, pause the broadcast of the translation result; switch the broadcast pause control to a start recording control and display an end translation control; in response to a user's operation on the end translation control, display the simultaneous interpretation homepage.

[0163] Optionally, the simultaneous interpretation homepage further includes a static spectrum image, and the simultaneous interpretation unit 1231 is further configured to switch the static spectrum image to a dynamic spectrum image.

[0164] Optionally, the simultaneous interpretation unit 1231 is further used to: in the process of broadcasting the real-time translation result through the smart terminal, in response to a sliding operation of the user on the display screen, end the current simultaneous interpretation process and display the simultaneous interpretation homepage.

[0165] Optionally, when the target function is music creation, the target function interface is a music creation interface, and the music creation interface includes a start creation control; the function implementation module 123 includes a music creation unit 1232, which is used to: in response to a user's operation on the start creation control, display a song description acquisition page and record a song description voice, and the song description acquisition page includes an end recording control; in response to a user's operation on the end recording control, generate at least one target song according to the information carried in the song description voice; and display the playback controls corresponding to each target song in the music creation interface.

[0166] Optionally, the music creation unit 1232 is also used to: obtain a preset song list; and display the playback controls corresponding to each of the preset songs in the music creation interface.

[0167] Optionally, the playback control includes a playback status label, and the music creation unit 1232 is further used to: in response to a user operation on any of the playback controls, switch the playback status label of the playback control from a not-played state to a playing state; and display the song playback details page corresponding to the playback control.

[0168] Optionally, the music creation unit 1232 is also used to return to the page where the playback controls are located when the user slides on the song playback details page.

[0169] Optionally, when the target function is a smart theme function, the target function interface is a smart theme interface, and the smart theme interface includes a theme description information acquisition control; the function implementation module 123 includes a smart theme unit 1233, which is used to: in response to a user's operation on the theme description information acquisition control, display a theme description information acquisition page and record a theme description voice, and the theme description information acquisition page includes an end recording control; in response to a user's operation on the end recording control, generate a target theme according to the theme description information; and apply the target theme to the interface layout of the smart terminal.

[0170] Optionally, after the target theme is generated from the theme description information, the smart theme unit 1233 is also used to: display a thumbnail of the target theme and a regeneration control corresponding to the target theme in the smart theme interface; and regenerate the theme according to the theme description information in response to a user's operation on the regeneration control.

[0171] Optionally, the smart theme unit 1233 is also used to: display the theme description information in text form and theme operation controls corresponding to the theme description information in the smart theme interface, the theme operation controls including a re-entry control and a start generation control; generate a target theme according to the theme description information in response to a user's operation on the start generation control; or, display the theme description information acquisition page in response to a user's operation on the re-entry control; and re-acquire the theme description information through the theme description information acquisition page.

[0172] Optionally, when the target function is an intelligent dialogue function, the target function interface is an intelligent dialogue interface; the function implementation module 123 includes an intelligent dialogue unit 1234, which is used to: obtain the user's dialogue input voice in response to the user's operation of the intelligent dialogue button; generate a dialogue reply message according to the dialogue input voice; and display the dialogue reply message in the intelligent dialogue interface.

[0173] Optionally, the candidate function also includes a one-key translation function; when the target function is the one-key translation function, the target function interface is a one-key translation interface, and the one-key translation interface includes a start recording control, and the function implementation module 123 includes a one-key translation unit 1235, which is used to: start recording the speech to be translated in response to the user's operation on the start recording control; switch the start recording control to a stop recording control; in response to the user's operation on the stop recording control, display the translation control corresponding to the speech to be translated; when the user operates the translation control, display the translation result of the speech to be translated.

[0174] Optionally, the one-key translation unit 1235 is further used to: display a cancel translation control corresponding to the speech to be translated; and in response to a user operation on the cancel translation control, switch the display content in the one-key translation interface to the start recording control.

[0175] Optionally, the candidate functions also include a radio function; when the target function is a radio function, the target function interface is a radio interface; the function implementation module 123 includes a radio unit 1236, which is used to: display the current channel in the radio interface and play the broadcast audio of the current channel; in response to the user's FM operation on the FM button on the smart terminal, adjust the current channel according to a preset step size.

[0176] Optionally, the frequency modulation button is a volume key of the smart terminal, and the frequency modulation operation is different from a volume adjustment operation on the volume key.

[0177] Optionally, the radio interface includes a frequency search control, and the radio unit 1236 is further used to: determine a frequency search mode in response to a user's operation of the frequency search control, the frequency search mode including manual frequency search or automatic frequency search; display a frequency search page corresponding to the frequency search mode to assist the user in determining a target channel; replace the current channel with the target channel, and play the broadcast audio of the target channel.

[0178] Optionally, the radio interface includes a channel list entry control, and the radio unit 1236 is further used to: display a preset channel list in response to a user operation on the channel list entry control; when the user selects any of the preset channels, switch the current channel to the preset channel and play the broadcast audio of the preset channel; or, when the user deletes any of the preset channels, remove the preset channel from the preset channel list.

[0179] Optionally, the candidate functions also include a music playback function; when the target function is the music playback function, the target function interface is a radio interface; the function implementation module 123 includes a music playback unit 1237, which is used to: in response to a user's connection mode switching operation, display a connection mode switching page in the music playback interface, the connection mode switching page including multiple preset connection modes, the preset connection modes including Bluetooth mode, data line mode, and memory card mode; when the user selects a target connection mode from the multiple preset connection modes, obtain a music file through the target connection mode; and play music according to the music file.

[0180] Optionally, the music playback unit 1237 is also used to: generate a music playback background according to music attribute information of the currently played music, the music attribute information including one or more of lyrics, music style, and music purpose; and apply the music playback background to the music playback interface.

[0181] Optionally, the music playback unit 1237 is also used to: display multiple preset music playback backgrounds in response to the user's music playback background switching operation; and apply the target playback background to the music playback interface according to the user's selection operation of the target playback background among the multiple preset music playback backgrounds.

[0182] Optionally, the music playback unit 1237 is also used to: control the external device connected to the smart terminal to display the playback background setting interface; determine the target playback background in response to the user's operation in the playback background setting interface of the external device; obtain the target playback background from the external device; and apply the target playback background to the music playback interface.

[0183] Fig.12The interactive device of the smart terminal in the illustrated embodiment can be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar and will not be described in detail here.

[0184] Fig.13 The electronic device provided in the embodiment of the present disclosure may be the device to be upgraded as described in the above embodiment. The electronic device provided in the embodiment of the present disclosure may execute the processing flow provided in the embodiment of the interactive method of the smart terminal, such as Fig.13 As shown, the electronic device 130 includes: a memory 131, a processor 132, a computer program and a communication interface 133; wherein the computer program is stored in the memory 131 and is configured so that the processor 132 executes the above-mentioned intelligent terminal interaction method.

[0185] In addition, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the interaction method of the smart terminal described in the above embodiment.

[0186] In addition, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the above-mentioned intelligent terminal interaction method is implemented.

[0187] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0188] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An interactive method for an intelligent terminal, characterized in that: The method comprises: In response to a function selection operation performed by a user on the smart terminal, a target function is determined from a plurality of candidate functions, wherein the candidate functions at least include simultaneous interpretation, music composition, smart theme, and smart dialogue; Displaying a target function interface corresponding to the target function on a display screen of the smart terminal; Interact with the user through the target function interface to achieve the target function.

2. The method according to claim 1, characterized in that When the target function is simultaneous interpretation, the target function interface is a simultaneous interpretation interface; The interacting with the user through the target function interface to achieve the target function includes: Displaying a simultaneous interpretation homepage in the simultaneous interpretation interface, wherein the simultaneous interpretation homepage includes a start recording control; In response to the user's operation on the start recording control, the voice to be translated is recorded, and the voice to be translated is translated to obtain a real-time translation result; The real-time translation result is broadcasted through the intelligent terminal.

3. The method according to claim 1, characterized in that When the target function is music creation, the target function interface is a music creation interface, and the music creation interface includes a start creation control; The interacting with the user through the target function interface to achieve the target function includes: In response to the user's operation on the start creation control, displaying a song description acquisition page and recording a song description voice, wherein the song description acquisition page includes an end recording control; In response to the user's operation on the end recording control, generating at least one target song according to the information carried in the song description voice; The playback controls corresponding to each target song are displayed in the music creation interface.

4. The method according to claim 1, characterized in that: When the target function is a smart theme function, the target function interface is a smart theme interface, and the smart theme interface includes a theme description information acquisition control; The interacting with the user through the target function interface to achieve the target function includes: In response to the user's operation on the topic description information acquisition control, displaying a topic description information acquisition page and recording a topic description voice, wherein the topic description information acquisition page includes an end recording control, and the topic description voice carries the topic description information; In response to a user operation on the end recording control, generating a target topic according to the topic description information; Apply the target theme to the interface layout of the smart terminal.

5. The method according to claim 1, characterized in that When the target function is an intelligent dialogue function, the target function interface is an intelligent dialogue interface; The interacting with the user through the target function interface to achieve the target function includes: In response to the user's operation on the intelligent dialogue button, obtaining the user's dialogue input voice; generating a dialogue reply message according to the dialogue input voice; The conversation reply message is displayed in the intelligent conversation interface.

6. The method according to claim 1, characterized in that The candidate functions also include a one-key translation function; when the target function is the one-key translation function, the target function interface is a one-key translation interface, and the one-key translation interface includes a start recording control, The interacting with the user through the target function interface to achieve the target function includes: In response to the user's operation on the start recording control, starting to record the speech to be translated; Switching the start recording control to a stop recording control; In response to the user's operation on the stop recording control, displaying a translation control corresponding to the speech to be translated; When the user operates the translation control, the translation result of the speech to be translated is displayed.

7. The method according to claim 1, characterized in that The candidate functions also include a radio function; when the target function is a radio function, the target function interface is a radio interface; The interacting with the user through the target function interface to achieve the target function includes: Displaying the current channel in the radio interface and playing the broadcast audio of the current channel; In response to a user's frequency adjustment operation on a frequency adjustment button on the smart terminal, the current channel is adjusted according to a preset step size.

8. The method according to claim 1, characterized in that The candidate functions also include a music playing function; when the target function is the music playing function, the target function interface is a music playing interface, The interacting with the user through the target function interface to achieve the target function includes: In response to the user's connection mode switching operation, displaying a connection mode switching page in the music playback interface, the connection mode switching page including multiple preset connection modes, the preset connection modes including Bluetooth mode, data line mode, and memory card mode; When the user selects a target connection mode from among the plurality of preset connection modes, the music file is acquired through the target connection mode; Music is played according to the music file.

9. The method according to claim 8, characterized in that The method further comprises: Control the external device connected to the smart terminal to display the playback background setting interface; In response to a user's operation in a playback background setting interface of an external device, determining a target playback background; Acquire the target playback background from the external device; Apply the target playback background to the music playback interface.

10. An interactive device for a smart terminal, characterized in that: The device comprises: A determination module, configured to determine a target function from a plurality of candidate functions in response to a function selection operation performed by a user on the intelligent terminal, wherein the candidate functions at least include simultaneous interpretation, music composition, intelligent theme, and intelligent dialogue; A display module, used to display the target function interface corresponding to the target function on the display screen of the smart terminal; The function realization module is used to interact with the user through the target function interface to realize the target function.