CN117938947A - Service providing method, device, electronic equipment and storage medium - Google Patents

Service providing method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117938947A
CN117938947A CN202311704492.8A CN202311704492A CN117938947A CN 117938947 A CN117938947 A CN 117938947A CN 202311704492 A CN202311704492 A CN 202311704492A CN 117938947 A CN117938947 A CN 117938947A
Authority
CN
China
Prior art keywords
service
target
component
user
page
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.)
Pending
Application number
CN202311704492.8A
Other languages
Chinese (zh)
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.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United 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 Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN202311704492.8A priority Critical patent/CN117938947A/en
Publication of CN117938947A publication Critical patent/CN117938947A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a service providing method, a device, electronic equipment and a storage medium, and relates to the technical field of Internet of things. Wherein the method comprises the following steps: displaying a conversation page; the session page displays session messages related to the target instruction; the target instruction is triggered and generated by a user; acquiring at least one service component associated with the target instruction, and pushing and displaying the service component in the session page; in response to a triggering operation on one of the service components, a service function corresponding to the service component is provided. The application solves the problem of inaccurate service provided by the Internet of things in the related art.

Description

Service providing method, device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of internet of things, in particular to a service providing method, a service providing device, electronic equipment and a storage medium.
Background
In the internet of things, a user can enjoy various service functions, such as device control services, provided by the internet of things by triggering various instructions. However, when the instruction generated by the user trigger is not specific enough, the provided service function may not meet the requirement of the user, for example, when the user experiences the device control service by using the device control instruction, if the cloud end cannot determine the specific device indicated by the device control instruction according to the device control instruction, all devices meeting the description of the device control instruction may be caused to perform the action in response to the device control instruction.
Then, the user has to perform an additional device control operation to correct the erroneous action, for example, when the plurality of devices each perform the action in response to the device control instruction, the user controls the device not to meet the user's desire to stop performing the action through the application provided by the user terminal.
From the above, the problem that the service provided by the internet of things is not accurate enough is needed to be solved.
Disclosure of Invention
The application provides a service providing method, a device, electronic equipment and a storage medium, which can solve the problem that the Internet of things in the related technology is difficult to accurately provide service functions for users. The technical scheme is as follows:
According to an aspect of the present application, there is provided a service providing method, the method comprising: displaying a conversation page; the session page displays session messages related to the target instruction; the target instruction is triggered and generated by a user; acquiring at least one service component associated with the target instruction, and pushing and displaying the service component in the session page; in response to a triggering operation on one of the service components, a service function corresponding to the service component is provided.
According to an aspect of the present application, there is provided a service providing apparatus, the apparatus comprising: the session display module is used for displaying a session page; the session page displays session messages related to the target instruction; the target instruction is triggered and generated by a user; the component display module is used for acquiring at least one service component associated with the target instruction and pushing and displaying the service component in the session page; and the service providing module is used for responding to the triggering operation of one of the service components and providing the service function corresponding to the service component.
In an exemplary embodiment, the component display module is further configured to obtain a corresponding service component based on the target device and/or the target scene indicated by the target instruction, and push the obtained service component to the session page for display.
In an exemplary embodiment, the component display module is further configured to control the target device and/or the target scene to perform a corresponding action according to the target instruction if the number of target devices and/or the target scenes meets a set threshold.
In an exemplary embodiment, the component display module is further configured to determine whether a target device indicated by the target instruction exists in the bound devices; if not, acquiring the recommended service components, and displaying the recommended service components in the session page.
In an exemplary embodiment, the component display module is further configured to obtain a recommendation device; the recommending device is a device which is obtained based on the device work information and accords with the target instruction; and obtaining a corresponding service component based on the target instruction and the recommendation equipment.
In an exemplary embodiment, the service components include a device control component, a scene control component; the service providing module is further configured to, if a control operation for a control entry in a device control component or a scene control component is detected, control a target device or a target scene corresponding to the device control component or the scene control component, and execute an action corresponding to the target instruction; and if the viewing operation aiming at the viewing entrance in the equipment control component or the scene control component is detected, displaying the detail information of the target equipment or the target scene corresponding to the equipment control component or the scene control component.
In an exemplary embodiment, the service component further includes an information pushing component, and the service providing module is further configured to display push information corresponding to the information pushing component if a push viewing operation for a push entry on the information pushing component is detected.
In an exemplary embodiment, the component display module is further configured to obtain a display priority of each of the service components; the display priority is determined based on preference information; and displaying each service component in the session page based on the display priority of each service component.
In an exemplary embodiment, the service providing device is further configured to display a billboard page, where the billboard page displays a wake entry; in response to a wake operation to the wake entry, the session page is displayed with an instruction identification component for obtaining the target instruction.
In an exemplary embodiment, the service providing device is further configured to display a message area on the billboard page if the message alert function is detected to be on; the message area is used for displaying recommended messages; and responding to the view operation of the recommended message in the billboard page, and displaying a page corresponding to the recommended message.
In an exemplary embodiment, the service providing device is further configured to obtain a corpus of the user; and identifying the corpus to obtain the target instruction.
According to one aspect of the application, an electronic device comprises at least one processor and at least one memory, wherein the memory has computer readable instructions stored thereon; the computer readable instructions are executed by one or more of the processors to cause an electronic device to implement a service providing method as described above.
According to one aspect of the present application, a storage medium has stored thereon computer readable instructions that are executed by one or more processors to implement the service providing method as described above.
According to one aspect of the application, a computer program product comprises computer readable instructions stored in a storage medium, one or more processors of an electronic device reading the computer readable instructions from the storage medium, loading and executing the computer readable instructions, causing the electronic device to implement a service providing method as described above.
The technical scheme provided by the application has the beneficial effects that:
In the above technical solution, on the one hand, according to the target instruction triggered by the user, the service component related to the target instruction is displayed in the session page, so as to provide the user with the selection of the service function, thereby avoiding providing the wrong service function; on the other hand, based on the selection trigger of the user on the service component displayed on the session page, the service function corresponding to the service component is provided for the user, so that the provided service function meets the user's expectations, and the experience of the Internet of things of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments of the present application will be briefly described below. It is evident that the drawings in the following description are only some embodiments of the application and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of an implementation environment in accordance with the present application;
FIG. 2 is a flowchart illustrating a service providing method according to an exemplary embodiment;
FIG. 2a is a schematic illustration of a billboard page in accordance with the corresponding embodiment of FIG. 2;
FIG. 2b is a schematic diagram of a session page according to the corresponding embodiment of FIG. 2;
FIG. 2c is a schematic diagram of a specific implementation of generating a recommendation message according to the corresponding embodiment of FIG. 2;
FIG. 2d is a schematic diagram of a session page according to the corresponding embodiment of FIG. 2;
FIG. 3 is a flow chart of step 330 in one embodiment of the corresponding embodiment of FIG. 2;
FIG. 4 is a schematic diagram showing a specific implementation of a service providing method in an application scenario;
FIG. 5 is a schematic diagram showing another implementation of a service providing method in an application scenario;
FIG. 6 is a schematic diagram showing another implementation of a service providing method in an application scenario;
FIG. 7 is a schematic diagram showing another implementation of a service providing method in an application scenario;
FIG. 8 is a schematic diagram showing a specific implementation of one of the service providing methods in an application scenario;
FIG. 9 is a schematic diagram showing a specific implementation of one of the service providing methods in an application scenario;
FIG. 10 is a schematic diagram showing a specific implementation of one of the service providing methods in an application scenario;
Fig. 11 is a block diagram showing a structure of a service providing apparatus according to an exemplary embodiment;
FIG. 12 is a hardware block diagram of a server shown in accordance with an exemplary embodiment;
Fig. 13 is a hardware configuration diagram of a terminal according to an exemplary embodiment;
fig. 14 is a block diagram illustrating a configuration of an electronic device according to an exemplary embodiment.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification of this disclosure, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
As previously described, when the user-generated instructions are not specific enough, the provided service functions may not meet the user's expectations.
At present, most of application programs of manufacturers of the internet of things provide an instruction identification component for users on a session page, the users can trigger generation of instructions by using the instruction identification component, the application programs display corresponding session information on the session page according to the instructions, and meanwhile, the internet of things provides service functions corresponding to the instructions.
However, in the above-mentioned scheme, the session information displayed by the application program on the session page is generally text content and/or card information, which is used for allowing the user to view the current session interaction information and the information of the service function, and if the provided service function does not meet the user's expectations, the user cannot correct the error on the current session page.
For example, if the user triggers the generated instruction to turn on the desk lamp, and if the current desk lamp under the internet of things is more than one, the server receives the instruction and then turns on all the desk lamps under the internet of things, and displays a desk lamp card through a session page of the user terminal, wherein the information included in the desk lamp card can be an equipment icon, an equipment name, a room to which the equipment belongs, and the like. If one of the desk lamps is not wanted to be executed by the user, the user needs to enter a corresponding equipment control page of the desk lamp, and the desk lamp is controlled to be turned off in the equipment control page.
Therefore, if the instruction triggered by the user is not specific enough, not only an incorrect service function is provided for the user, but also the correction steps of the user are very complicated.
From the above, the related art still has the defect that the service provided by the internet of things is not accurate enough.
Therefore, the service providing method provided by the application can effectively improve the accuracy of service providing and avoid providing wrong service functions, and is correspondingly suitable for the service providing device which can be deployed in electronic equipment, such as a notebook computer, a tablet computer, a smart phone, a smart home panel with touch function and the like.
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment related to a service providing method. The implementation environment includes at least a user terminal 110, an intelligent device 130, a server side 170, and a network device, which in fig. 1 includes a gateway 150 and a router 190, which are not limited in this regard.
The user terminal 110 may be considered as a user terminal or a terminal, and may be configured (also understood as installation) with a client associated with the smart device 130, where the user terminal 110 may be an electronic device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, an intelligent control panel, or other devices having display and control functions, which is not limited herein.
The client is associated with the smart device 130, and is essentially that the user registers an account in the client, and configures the smart device 130 in the client, for example, the configuration includes adding a device identifier to the smart device 130, so that when the client is operated in the user terminal 110, functions related to device display, device control, and the like of the smart device 130 can be provided for the user, where the client may be in the form of an application program or a web page, and correspondingly, an interface where the client performs device display may be in the form of a program window or a web page, which is not limited herein.
The intelligent device 130 is disposed in the gateway 150 and communicates with the gateway 150 through its own configured communication module, and is further controlled by the gateway 150. It should be understood that smart device 130 is generally referred to as one of a plurality of smart devices 130, and embodiments of the present application are merely illustrated with smart device 130, i.e., embodiments of the present application are not limited in the number and type of smart devices deployed in gateway 150. In one application scenario, intelligent device 130 accesses gateway 150 via a local area network, thereby being deployed in gateway 150. The process of intelligent device 130 accessing gateway 150 through a local area network includes: a local area network is first established by gateway 150 and intelligent device 130 joins the local area network established by gateway 150 by connecting to gateway 150. Such local area networks include, but are not limited to: ZIGBEE or bluetooth. The intelligent device 130 may be an intelligent printer, an intelligent fax machine, an intelligent camera, an intelligent air conditioner, an intelligent door lock, an intelligent lamp, or a human body sensor, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall-mounted switch, a magic cube controller, a curtain motor, a millimeter wave radar, etc. which are provided with a communication module.
Interaction between user terminal 110 and intelligent device 130 may be accomplished through a local area network, or through a wide area network. In an application scenario, the ue 110 establishes a communication connection between the router 190 and the gateway 150 in a wired or wireless manner, for example, including but not limited to WIFI, so that the ue 110 and the gateway 150 are disposed in the same local area network, and further the ue 110 may implement interaction with the smart device 130 through a local area network path. In another application scenario, the ue 110 establishes a wired or wireless communication connection between the server 170 and the gateway 150, for example, but not limited to, 2G, 3G, 4G, 5G, WIFI, etc., so that the ue 110 and the gateway 150 are deployed in the same wide area network, and further the ue 110 may implement interaction with the smart device 130 through a wide area network path.
The server 170 may be considered as a cloud, a cloud platform, a server, etc., where the server 170 may be a server, a server cluster formed by a plurality of servers, or a cloud computing center formed by a plurality of servers, so as to better provide background services to a large number of user terminals 110. For example, the background services include a device control service, a scene control service, an information push service, and the like.
After acquiring a target instruction generated by triggering a user in an application scene, the server 170 obtains at least one service component associated with the target instruction according to the target instruction, and pushes the service component to the user terminal 110; after the user terminal 110 obtains each service component pushed by the server 170, the service components are displayed in a session page thereof, so that a user can look up the service components through the session page, and select the service components meeting the requirements of the user terminal 110 to perform triggering operation; the user terminal 110 responds to the triggering operation, thereby providing the service function corresponding to the service component for the user, and further greatly improving the accuracy of the provided service function.
Referring to fig. 2, an embodiment of the present application provides a service providing method, which is applicable to an electronic device, and the electronic device may be the user terminal 110 in the implementation environment shown in fig. 1.
In the following method embodiments, for convenience of description, the execution subject of each step of the method is described as an electronic device, but this configuration is not particularly limited.
As shown in fig. 2, the method may include the steps of:
Step 310, a session page is displayed.
The session page displays a session message related to a target instruction, where the target instruction is generated by triggering by a user, and the target instruction may be a query instruction, a device control instruction, and the like, and is not limited herein. The session message is a message generated based on interaction between a user and a user terminal, for example, a dialogue generated by interaction between the user and the user terminal, a target instruction input by the user through the user terminal, and the like.
Regarding the target instruction, the user may trigger the target instruction by voice or may trigger the target instruction by touch, and is not particularly limited herein. In one possible implementation, step 310 may be preceded by the steps of: displaying a billboard page, wherein the billboard page is provided with a wake-up inlet; in response to a wake operation to wake the portal, a session page is displayed that presents an instruction identification component for obtaining the target instruction.
Regarding the billboard page, which is a page for controlling the smart home network, the billboard page displays a wake-up entry and at least one service component, and a user can control the smart home network by using the service component in the billboard page, for example, control each smart device connected in the smart home, control each scene of the smart home network configuration, and the like.
In fig. 2a, a schematic view of a board view is shown in an embodiment, and as shown in fig. 2a, a wake-up entry 2a2 and a plurality of service components are shown in the board view 2a1, where the service components include a weather component, a security component, a plurality of scene control components, and a plurality of device control components.
Specifically, the wake-up operation is used for entering a session page, and the session page is provided with an instruction identification component used for acquiring target instructions, wherein the instruction identification component is used for acquiring the target instructions triggered by a user. The wake-up entry of the wake-up operation may be set in the billboard page, and if the user desires to enter the session page, the wake-up operation may be triggered at the wake-up entry, so as to display the session page, and obtain the target instruction through the instruction identification component in the session page. The target command may be input to the command recognition unit by a text input method, or may be input to the command recognition unit by a voice input method, which is not limited herein.
Regarding the input of a target instruction based on speech, in one possible implementation, a corpus of a user is obtained; and identifying the corpus to obtain a target instruction. The corpus refers to voice materials generated by a user, and further, the corpus can be converted into text materials by utilizing a voice recognition tool so as to obtain a target instruction.
For example, referring back to fig. 2a, as shown in fig. 2a, a wake entry 2a2 is shown in the billboard page 2a1, and when the wake entry is clicked, for the electronic device, a wake operation is detected at the wake entry, and in response to the wake operation, a session page 2b1 is entered, and in fig. 2b, a schematic diagram of an embodiment of entering a session page is shown; as shown in fig. 2b, the session page 2b1 is displayed with an instruction recognition component 2b2 and a plurality of session messages, wherein the instruction recognition component 2b2 is provided with an instruction selection area 2b3 and a voice recognition entrance 2b4, and a user can input a target instruction in a voice form by clicking the voice recognition entrance, or can input the target instruction by selecting the target instruction, so that the user terminal obtains the target instruction.
It will be appreciated that the wake-up entry 2a2 may also be a message window in which message pushing may be performed, for example, a daily talk may be pushed, such as "good weekend", "full of primordial qi on a day, refuel", "small joe listening to say, which is well suited for reading the word in the morning" and so on.
In one embodiment, after the user clicks on the message push, the voice dialog box, i.e., the session page 2b1, may also be opened directly.
Through the process, the user can input the corpus through the voice at the instruction recognition component, so that the electronic equipment can recognize the corpus to obtain the target instruction, and the intelligent equipment can be conveniently controlled, thereby reducing the manual operation of the user and improving the user experience.
It is worth mentioning that the operations triggered by the control portal (e.g. wake-up portal) may also differ in specific form depending on the input components (mouse, touch screen, keyboard) of the electronic device configuration. For example, the operation may be a gesture operation such as clicking or moving the touch screen, and the operation may be a mechanical operation such as clicking, double clicking or dragging the touch screen, and the operation may be a desktop computer configured with a mouse.
The supplementary note is that the message viewing service can be provided for the user in a mode of displaying recommended messages on the billboard page, and in one possible implementation mode, if the message reminding function is detected to be started, a message area is displayed on the billboard page; the message area is used for displaying recommended messages; and responding to the view operation of the recommended message in the billboard page, and displaying the page corresponding to the recommended message.
The message reminding function is used for actively pushing recommended messages for users on the billboard page, if the message reminding function is started, the billboard page can display a message area, and the pushed recommended messages are displayed on the message area, and the recommended messages can be cold-talk messages, such as ' weekend good ', ' full primordial energy ' one-day woolen, oiling ', and the like, and can also be information pushing messages, such as daily life newspaper, recommended scenes, new functional new guidance, and the like.
Of course, the message area can display different recommended messages in a carousel mode, so that a user can acquire more information quickly, and efficiency is improved. Based on the method, different recommended messages can be displayed in the message area in a carousel mode, and further, when the recommended messages are displayed in the message area, a user can check the displayed recommended messages.
Regarding the viewing operation, when the message area displays the recommended message, if the user desires to view the detailed information of the recommended message, the user can display the page corresponding to the recommended message by performing the viewing operation on the recommended message.
Further, different recommended information displayed in the information area may be set as different control entries, that is, different service functions may be implemented by triggering a viewing operation on different recommended information.
In one possible implementation manner, if the recommended information displayed in the message area is a cold talk message, a viewing operation is performed for the cold talk message, and a session page can be entered; if the recommended information displayed in the message area is the information push type message, checking operation is performed on the information push type message, and a page corresponding to the information push type message can be entered.
Wherein, the fringing messages comprise daily fringing which is related to the current time, and different times correspond to different fringing messages, for example, the fringing messages displayed in the morning are "good in the morning" and the fringing messages displayed in the evening are "good in the evening". The purpose of displaying the frivolous message is mainly to shorten the distance from the user and improve the user experience, so that the frivolous message does not comprise special content, and the frivolous message can be set as a wake-up entry, and if the wake-up entry is triggered, a session page is displayed.
The information push type message comprises a message for personalized recommendation for the user, and the main purpose of the information push type message is to help the user find new content and service functions, and then the information push type message can be set as a display entrance of a page corresponding to the recommendation message, and if the display entrance is triggered, the page corresponding to the recommendation message is displayed.
For example, when the recommended message displayed in the message area is "the hottest template is all in this place, please click to view", a view operation is triggered for the recommended message, and in response to the view operation, a template square page of the recommendation automation is displayed.
Regarding the carousel display of the recommended information in the message area, referring to fig. 2c, as shown in fig. 2c, the server generates various kinds of recommended information by using the artificial intelligence service, when one piece of recommended information is generated, the number of times of the current period of the recommended information can be generated is reduced by 1, the number of times of the calling of the recommended information is increased by 1, when the number of times of the calling of the recommended information is greater than or equal to 1, carousel display in the message area will be performed, and if the recommended information is called and displayed in the message area, the number of times of the calling of the recommended information is reduced by 1.
In a possible implementation manner, various recommended messages may be generated based on table 1, as shown in table 1, where the generating precursor of the recommended message includes a trigger time and a push guest group, and if the trigger time and the push guest group of one recommended message are satisfied at the same time, a corresponding recommended message may be generated, and the recommended message is displayed in a message area according to a text portion of table 1.
TABLE 1
For example, the name of the recommended message is an automatic recommendation generation reminder, if the user opens for the first time after seven points a week, and the user belongs to a guest group with the number of the personalized automatic generation items greater than or equal to 1, the server generates an automatic recommendation generation reminder, and displays a recommended message of "xiaoqiao recommended to you [ recommended number ] which is very suitable for your automation scheme in the message area of the billboard page, and can go to and check.
Further, because the number of the generated reminding messages is large, in order to display important reminding messages when each reminding message is displayed in a carousel mode, information acquisition efficiency of a user is improved, the reminding messages can be divided into read, unread, effective and invalid states, and only the effective unread reminding messages are displayed in a carousel mode in a message area. The alert messages that have been read and invalidated need to be able to be displayed in the session page and no longer appear in the message area.
Wherein, the message invalidation means that each message needs to define an validity period, and when the validity period is exceeded, the message is in an invalidation state; the message is read, which may be the user entering the dialog interface, presenting the currently unread card control in the dialog and marking as a read status.
With respect to the validity period of the message, each alert message needs to define a validity period, and when the validity period is exceeded, the message is in a disabled state. The validity period of the reminding message can be determined according to the importance degree of the reminding message, the validity period of the important reminding message is long, on the contrary, the validity period of the unimportant reminding message is short, the importance degree and the validity period of the reminding message can be obtained by analysis of artificial intelligence, and can be set by a user without limitation.
Regarding the message being read, if the user entered the session page and the alert message that is not currently read was presented on the session page, the presented alert message is marked as read.
Through the process, the reminding messages are displayed in the message area in a carousel mode, the reminding messages can be displayed in the message area in a maximized mode, the reminding messages are displayed in the message area according to the rules, the efficiency of obtaining the messages by a user can be improved, and user experience is improved.
Step 330, at least one service component associated with the target instruction is obtained, and the service component is pushed and displayed in the session page.
Wherein, the service component refers to a component providing service functions. It is to be appreciated that different service components can provide different service functions to a user, and further, the target instructions can indicate the service functions desired by the user. Then, based on the service function indicated by the target instruction, the service component associated with the target instruction is obtained.
If the user desires to provide the device control service and/or the scene control service for the user, the target instruction triggered by the user indicates that the user desires to perform the device control and/or the scene control, and in one possible implementation, the corresponding service component is obtained based on the target device and/or the target scene indicated by the target instruction, and the obtained service component is pushed to the session page to be displayed.
Wherein, the target device and/or the target scene refer to the device and/or the scene corresponding to the target instruction. For example, the content of the target instruction is "open air conditioner", a service component capable of controlling the air conditioner is obtained based on "open air conditioner", the service component is pushed to a session page for display, and the user realizes control of the air conditioner by viewing the service component of the session page.
Further, since the target instruction triggered by the user is "open air conditioner", the target instruction may not have a uniquely corresponding target device; for example, a plurality of air conditioners are connected under the internet of things, and then according to a target instruction, which air conditioner the user expects to open cannot be determined, based on the air conditioner, in order to prevent false touch, all target devices meeting the requirement of opening the air conditioner under the internet of things can be searched, service components associated with the searched target devices are pushed to a session page for display, and the user can select the target devices meeting the requirement to realize device control.
For example, fig. 2d shows a schematic diagram of a session page in one embodiment, and as shown in fig. 2d, a plurality of session messages including a recommendation message 2d2, a recommendation message 2d3, and a target instruction 2d4 triggered by a user, and a service component 2d5 and a service component 2d6 corresponding to a target device indicated by the target instruction are shown in the session page 2d 1.
Of course, if the target instruction has a uniquely corresponding target device and/or target scene, then, in consideration of reducing user operations, the action indicated by the target instruction may be directly performed when the target instruction has a uniquely corresponding target device and/or target scene. In one possible implementation, if the number of target devices and/or target scenes meets the set threshold, the target devices and/or target scenes are controlled to execute corresponding actions according to the target instructions. The set threshold may be used to indicate that a unique corresponding target device and/or a target scene exists in the internet of things.
As described above, when the target instruction has a plurality of target devices and/or target scenes, a plurality of service components can be obtained, in order to facilitate the user to quickly locate the desired service components, in one possible implementation manner, the display priority of each service component is obtained; display priority is determined based on the preference information; each service component is displayed in the session page based on the display priority of each service component.
The display priority refers to the display sequence of each service component on the session page, and the higher the display priority of the service component is, the higher the display priority of the service component is on the session page. Further, the display priority may be determined according to preference information, which is information for indicating a preference habit of the user, for example, the preference information may indicate a device usage habit of the device by the user, and may also indicate a scene usage habit of the scene by the user, which is not limited herein.
Regarding preference information, it may be analyzed based on device operational information and/or scene operational information. The device working information comprises a device working history, the scene working information comprises a scene working history, further, preference information about the device can be obtained according to analysis of the device working information, preference information about the scene can be obtained according to the scene working information, for example, the device working information of a user is analyzed, and a usual using mode of the device, namely the preference information, of the user can be obtained.
For example, at 9 am, the target instruction issued by the user to the APP end by voice assistance is "turn on a light", and if many light devices are connected under the internet of things, it is not suitable to include all device names as "lights" and/or push all target devices whose purposes belong to the light devices. Therefore, the lamp device which is not used by the user in the morning can be selected not to be pushed, and the service components corresponding to the pushed lamp devices can be presented in a sequencing mode according to the use frequency of the user in the period.
Through the process, each service component is displayed on the conversation page according to the display priority of each service component, the display position of the service component on the conversation page can accord with the preference habit of the user, the user can quickly position the service component according with the preference habit of the user, the self demand is quickly realized through the service component, the service efficiency is improved, and the user experience is improved.
In response to the trigger operation on one of the service components, a service function corresponding to the service component is provided, step 350.
Wherein the triggering operation is used for enabling the service component to provide the corresponding service function. The control entry of the triggering operation may be set on a service component displayed on the session page, and if the user desires a certain service component to provide a service function corresponding to the certain service component, the triggering operation may be performed on the service component, so as to provide the service function corresponding to the certain service component.
As previously mentioned, different service components may provide different service functions, and in one possible implementation, the service components include a device control component, a scene control component; providing a service function corresponding to one of the service components in response to a trigger operation on the service component, comprising:
And if the control operation aiming at the control entrance in the equipment control component or the scene control component is detected, controlling the target equipment or the target scene corresponding to the equipment control component or the scene control component, and executing the action corresponding to the target instruction.
First, the device control component is a service component for providing a device control service, and the scene control component is a service component for providing a scene control service.
The control operation is used for controlling target equipment or target scenes corresponding to the equipment control component or the scene control component and executing actions corresponding to the target instructions. The control entry of the control operation may be disposed on the device control component or the scene control component, and if the user desires to control the corresponding target scene or the target scene to execute the target instruction, the control operation may be triggered on the control entry of the device control component or the scene control component, so as to control the target device or the target scene to execute the action corresponding to the target instruction.
And if the view operation aiming at the view entrance in the device control component or the scene control component is detected, displaying the detail information of the target device or the target scene corresponding to the device control component or the scene control component.
Wherein the viewing operation is for displaying detailed information of a target device or a target scene corresponding to the device control component or the scene control component. The detailed information is information about the target scene or the target device, and may include information about a specific configuration of the target scene, a name, a location, and the like of the target device. The viewing entrance of the viewing operation can be arranged on the device control component or the scene control component, and if the user desires to view the detailed information of the target device or the target scene corresponding to the device control component or the scene control component, the viewing operation can be triggered on the viewing entrance of the device control component or the scene control component, so that the detailed information of the corresponding target device or the target scene can be viewed.
In another possible implementation manner, the service component further includes an information pushing component, and if a pushing viewing operation for a pushing entry on the information pushing component is detected, pushing information corresponding to the information pushing component is displayed.
The information pushing component is a service component for providing information pushing service, pushing and viewing operation is used for viewing pushing information, and the pushing information is information for actively displaying specific content, notification or information for a user. The push entry of the push viewing operation can be configured on the information push component, and if a user desires to view push information, the push entry on the information recommendation component can be triggered, so that push information corresponding to the information push component is viewed.
Through the process, on one hand, the service components associated with the target instruction are pushed and displayed in the conversation page through the target instruction triggered by the user, so that the service components displayed in the conversation page can meet the requirements of the user; on the other hand, the user can enjoy the service function corresponding to the service component by directly triggering the service component in the session page to push and display, so that the operation steps of the user can be reduced, and the page skip is reduced while the service function is provided, so that the service function is provided more quickly.
Referring to fig. 3, in an exemplary embodiment, step 330 may further include the steps of:
step 410 determines whether there is a target device indicated by the target instruction in the bound devices.
It is first explained that the target instruction may include the target device and its execution action, and the bound device refers to a device under the internet of things. It can be understood that the bound device may have a target device indicated by the target instruction, and if the target device is present, a service component corresponding to the target device may be obtained and presented to the user.
Of course, if the target device indicated by the target instruction does not exist in the bound devices, step 430 may be performed to obtain the recommended service component, and display the recommended service component in the session page.
It can be understood that although the target device indicated by the target instruction does not exist in the currently bound devices, the user does have a requirement for device control, in order to meet the requirement for device control of the user, service components can be recommended to the user, and the user selects the service component meeting the requirement for triggering operation by viewing the recommended service components, so as to realize the requirement for device control.
In one possible implementation, a recommendation device is obtained; the recommendation equipment is equipment obtained by habit excavation based on equipment work information; and obtaining a corresponding service component based on the target instruction and the recommending equipment.
The device work information is information including a device work history, and may include information including a historical work time, a historical work mode, and the like of the device, where the device work information may indicate a device use habit, and the device use habit may indicate a usual usage manner of the device, for example, a device use frequency, an operation manner, device use preferences of different time periods, and the like.
It can be understood that according to the equipment using habit, how, when, how often, etc. the user uses the equipment can be known, so that a recommended equipment conforming to the equipment using habit can be obtained, and a corresponding service component is obtained based on the recommended equipment, so that the service component is displayed for the user, and the user can realize the equipment control requirement thereof through the service component.
It is added that, there are devices for realizing other purposes of the device, such as an intelligent switch, under the internet of things, and if the intelligent switch is connected with the bulb, the intelligent switch can be regarded as a device for controlling the brightness. Thus, if there is no target device indicated by the target instruction in the bound devices. In one possible implementation manner, according to the target device indicated by the target instruction, searching the bound device for a device with the purpose related to the target device; and obtaining a corresponding service component based on the equipment of which the purpose is related to the target equipment.
Where the purpose refers to a specific function the device is used to perform, e.g. brightness control, temperature control, etc.
Under the action of the embodiment, when the target device indicated by the target instruction does not exist in the bound device, the service component can be recommended to the user, or the device with the purpose related to the target device can be searched in the bound device, so that the device control requirement of the user can be better realized, and the user experience is improved.
Fig. 4 is a schematic diagram of another implementation of a service providing method in an application scenario.
As shown in fig. 4, the user triggers the target instruction with voice, via step 701.
Specifically, a user inputs a corpus of "turn on a living room lamp" through an instruction recognition component, and the electronic equipment recognizes the corpus to obtain a target instruction of "turn on the living room lamp".
The number of target devices indicated by the target instruction is confirmed, via step 703.
If the number of target devices meets the set threshold, then the target device is controlled to execute the target instruction, via step 705.
Otherwise, the service component corresponding to the target device indicated by the target instruction is displayed in the session page through step 707.
As described above, the electronic device confirms the number of the connected living room lamps in the current internet of things according to the target instruction of turning on the living room lamps, and if there is only one living room lamp, the electronic device can control the living room lamps to execute the target instruction of turning on the living room lamps.
In contrast, if the number of the living room lamps connected under the current internet of things is not unique, service components corresponding to the living room lamps of the target equipment meeting the indication of the target instruction of turning on the living room lamps under the current internet of things can be displayed in the session page, so that a user can control the living room lamps meeting the expectations to execute actions corresponding to the service components.
In the application scene, when the number of target devices indicated by the target instructions does not meet a set threshold, service components corresponding to the target devices are displayed on a session page, so that a user can control the target devices to execute actions by utilizing the displayed service components, and the target devices are prevented from being executed by mistake.
Fig. 5 is a schematic diagram of a specific implementation of a service providing method in an application scenario.
As shown in fig. 5, the user triggers the target instruction with speech, via step 801.
The number of target devices indicated by the target instruction is confirmed, via step 803.
If the number of target devices meets the set threshold, then the target device is controlled to execute the target instruction, via step 805.
Otherwise, through step 807, the target devices indicated by all the target instructions are controlled to execute the target instructions, and the service components corresponding to the target devices are displayed in the session page.
Taking the target instruction as an example of turning on the living room lamp, the electronic device confirms the number of the living room lamps connected under the current internet of things according to the target instruction of turning on the living room lamp, and if the number of the living room lamps is only one, the living room lamp can be controlled to execute the target instruction of turning on the living room lamp.
If the number of the living room lamps connected under the current Internet of things is not unique, all the living room lamps of the target equipment which accords with the target instruction of turning on the living room lamps under the current Internet of things can be controlled to execute actions.
Specifically, in a message window of the home page of the user terminal APP, daily talk and message push information can be displayed in a carousel mode. The information push type information comprises daily life reports, recommended automation/scenes, new functional new guide and the like. If the user clicks the push information of the template recommendation, the user can directly jump to the template square page of the recommendation automation. If the user clicks the push information of the daily life newspaper, the dialog box page can be directly opened and displayed, the corresponding service card is displayed in the dialog box, and the daily life newspaper page of the current day can be jumped to after clicking the service card. The dialog box can perform voice interaction or perform interaction by inputting text by a user.
In the dialog, if the user parses the entered corpus by speech to get instructions concerning more than one device or scene instruction, then "ask you to control what? "ask you for a device that wants to control which room? "do you query about multiple related scenes, ask what is you want to execute? And prompting information such as' and displaying corresponding equipment cards or scene cards for the user to select or reinitiate the voice instruction. If no executable object is found, the associated card may be recommended. Through the session type interaction, multiple rounds of conversations are performed, so that the recommendation result is more accurate.
If the user only points to specific equipment, service or scene instructions through the instructions obtained by the corpus analysis of voice speaking or typing in the dialog box, including information or state inquiry, single or batch control and the like, the text reply is carried out, and corresponding cards are pushed to be used as supplements. Including information or status queries, single or batch control, etc.
When the analyzed instruction relates to more than one device and cannot be specifically determined, the information of the plurality of alternative devices is screened out for display for the user to select, and the display device control card is pushed according to a preset rule. If the range of the device pointed by the voice command is not unique, device control is not executed first, and cards of all devices conforming to the command in the current family are pushed in a dialog box for selection by a user.
The style of the pushed card can be a service card for uniformly controlling the same equipment type in a space or a room, such as a full house lighting card, and can control full on/full off, brightness, mode, AI scene instructions and the like. The specific determination may be based on control dimensions in the user corpus, e.g., may be based on the space, device type, etc. targeted.
When the number of recommended device cards is large, in order to provide information display content of the interface, the device cards may be classified into two types: the equipment big card (comprising the common status and information of the equipment type, such as name, attribute value and corresponding slide bar control of brightness, color temperature, curtain progress and the like) and the equipment small card (used for showing the equipment name and status information). The method can be specifically shown according to the following strategies: when a single device is matched and the device has a large card style, the large card is preferentially presented, such as: "switch on reading light in study". When more than two devices are matched, a small card is displayed, such as: "all air conditioners in home are turned on". This allows a more intelligent card pushing in the dialog.
For example, as shown in fig. 6, a specific application scenario may be that, for example, a user issues an instruction to turn on a living room air conditioner, and at this time, a control instruction to turn on the living room air conditioner may be executed, and a prompt information of an execution result and a device control component card 602 corresponding to the device, i.e., the living room air conditioner, are displayed in a dialog box. If the user is not satisfied with the temperature or function of the air conditioner, the card can be directly readjusted through the equipment control assembly.
If the instruction relates to batch control of a plurality of devices, as shown in fig. 7, for example, a user sends a control instruction of turning on all lights of a bedroom, and then the control instruction of turning on all lights of the bedroom can be executed, and prompt information of execution results and corresponding device control component cards of the respective bedroom light devices, such as a device control component card 702 corresponding to a desk lamp and a device control component card 702 corresponding to a ceiling lamp, are displayed in a dialog box. If one of the turned-on lamps does not need to be turned on, the user can directly control the corresponding card without thinking about how to describe which lamp needs to be turned off again, because the device is screened out, and the selection range is reduced.
If the user makes or types in speech in a speech frame, including making information or status queries, single or batch controls, etc., involving more than one device or scene instruction, and cannot make any clear what the user wants to control, "find the following device for you, ask what is what? "ask you for a device that wants to control which room? "," how do you query for multiple related scenes, please ask which is performed? And displaying the corresponding equipment card or scene card for the user to click or reinitiate the voice instruction.
As shown in fig. 8, for example, a user sends out a corpus of "inquiring environmental information", analyzes to obtain that there are multiple rooms in the user's home, and when the instruction pointed by the corpus is a fuzzy instruction, then "5 rooms are shared in the home" and environmental information about which room needs to be inquired? "and a corresponding scene card 802 is shown, where the scene card 802 includes a plurality of rooms included under the user account for selection by the user. If the user selects "bedroom", "study" and "next bedroom", the query result information and the environmental scene cards corresponding to the rooms, such as the temperature scene card 804 corresponding to the bedroom and the temperature scene card 806 corresponding to the bedroom, are displayed in the dialog box.
If the information or control instructions being queried involve multiple rooms and a small number of devices are involved (e.g., within 10), all instruction-compliant full-house service cards or cards for each device in the current home are pushed in a voice assistant dialog box. The card ordering mode is to list the same room. For example, if the APP end is said to turn on the desk lamp, but at present, the living room and the bedroom have devices conforming to the desk lamp, or the same room has a plurality of devices conforming to the desk lamp, the process returns: "to find the following devices for you, ask which one wants to control? ", push a plurality of device control cards that conform to" desk lamp ".
If the total number of devices involved is large (more than 10), an enumerated active query may be first made asking the user "what room needs to be queried? And after the user selects the options, providing the corresponding equipment card or scene card of the selected room.
If the scene name is more similar to the device name, the boundary case can be treated as pushing two replies. For example: (1) "to find the following devices for you, ask which one wants to control? ", and the device card is displayed. (2) "ask you which of a plurality of related scenes to execute? ", and the corresponding scene card is presented.
If the user's voice command is related to device control but fails to match a specific device, for example, "help me turn off the air conditioner", but there is no device related to "air conditioner" in the current home, it is queried in the user's home whether there is a device whose usage type can be modified to it but not set as such, for example, some my smart sockets, whose usage type can be set as air conditioner, lamp, water heater, computer, etc. If not, replying that the related equipment is not found; if so, reply "you may want to control: and displaying the corresponding device control component card.
If the user clicks a certain pushed card, triggering and jumping are carried out according to the conventional rules of the equipment card, for example, entering an equipment control detail page when clicking the equipment name, and switching the switch state when clicking a button. If it is a scene card, clicking will execute the scene. If the pushed device/scene card has no content which the user wants to control, no special processing rule is provided for the subsequent operation, but the user can click on encouragement/error correction feedback to evaluate and feed back the reply according to general voice reply evaluation.
Furthermore, the strategy can be combined with intelligent initiative recommendation service to provide Boolean initiative inquiry. For example, as shown in fig. 9, if the user issues a query "bedroom is now hot and unheated? And replying the temperature value and the humidity value measured by the temperature and humidity equipment of the current bedroom, and the corresponding temperature card 902 and humidity card 904, and inquiring about "do the bedroom air conditioner need to be turned on? The "provide" cancel "," ok "buttons. If the user selects to determine, executing a control instruction for opening the air conditioner, and displaying the execution result prompt information and the corresponding equipment control component card 906 for the equipment, namely the "living room air conditioner" in a dialog box.
It will be appreciated that the types of cards recommended by the recommendation strategies described above include, but are not limited to: device status information cards, device control cards, full house service cards, player cards, automation/scene cards, recommended automation/scene template cards, and the like. And may also include some interactive controls such as controls to jump to a specified page, boolean query controls, enumerated single/multiple query controls, edit/save/cancel, etc.
Further, if the user wants to implement the function of configuration automation through the voice assistant, the description can be made using natural language. Specifically, first, through carrying out intention recognition on the corpus input by the user, the intention judgment can be specifically carried out through the speaking of the intention recognition model user, and when the user instruction comprises: "create … … Automation", "newly added … … Automation", "create me with an automated relationship: … … "and the like, the algorithm model is matched and then the instruction is divided into" create automation ".
As shown in fig. 10, for example, by inputting "8 pm every six night, i want to watch a movie, i want to turn on a window curtain, turn down a light" through voice or text, it can be recognized that the user intends to set an automation control scheme for executing a movie mode, and the analytically obtained automation conditions are: "8 o' clock every six night", the actions are: "execute movie mode". At this time, the APP will pre-generate an automation 1002 according to the corpus and intent of the user, push the automation 1002 to the user in a card style, and provide three options: discard, edit, and save.
Specifically, when it is identified that the user intends to "create automation", the model performs slot extraction to extract the automation conditional statement and the automation action statement of the core in the user statement, and takes the "8 pm every week, execute the movie mode" as an example. At this time: "8 th night every week" is a conditional statement, and "execute movie mode" is an action statement.
At this time, the conditional statement and the action statement are further matched, the key information is matched with the current cloud instruction library, and when the key information is matched with the corresponding value, the corresponding result is used as an automatic key part. Finally, combining the obtained automation conditions with the automation actions to generate complete automation data, rendering the complete automation data into a card style by the front end, and providing a selection control for the user to select.
Wherein, the discard finger does not need the automation any more and does not need to be saved in the user data; editing refers to performing secondary editing based on a result generated by the system, such as further supplementing or adjusting an automatic condition or action, clicking an 'editing' button, entering an automatic configuration page in the APP, adjusting the corresponding result to the satisfaction of a user, clicking for storage, and storing the current result by the system, wherein the automatic is not formally created on the user side; saving refers to saving the automation control scheme.
Further, if the user inputs family member query information such as "which family members i have" in the dialog box by voice or text, the number of family members the user currently has is shown in the dialog box, and the configuration entry of "family setting" is shown in the dialog box. By clicking on the configuration entry, the family member configuration page may be entered. And a more convenient operation mode is provided for a user.
In the application scene, after confirming the number of target devices indicated by the target instructions, each target device can be directly controlled to execute actions, the operation of a user can be reduced, each service component is displayed on a session page when the number of target devices does not meet a set threshold, and the service components are quickly utilized to correct the target devices when the actions of the target devices are not in accordance with expectations.
As described with reference to fig. 4 and 5, the service providing method corresponding to fig. 4 is more suitable for the case that the number of target devices indicated by the target instruction is large, and can effectively prevent the target devices from executing the wrong actions. If the number of the target devices is small, the service providing method corresponding to fig. 5 can reduce the operation of the user, and the service providing method corresponding to fig. 5 is more suitable for the situation that the number of the target devices indicated by the target instruction is not large, and even if the target devices execute actions by mistake, the corresponding service components can be positioned quickly and corrected in time.
It should be understood that, although the steps in the flowcharts of fig. 2, 3, 4, and 5 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps of fig. 2, 3, 4,5 may comprise sub-steps or phases that are not necessarily performed at the same time but may be performed at different times, nor does the order of execution of the sub-steps or phases necessarily follow one another, but may be performed alternately or alternately with at least some of the other steps or sub-steps of other steps.
The following is an embodiment of the apparatus of the present application, which may be used to execute the service providing method according to the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to a method embodiment of the service providing method related to the present application.
Referring to fig. 11, in an embodiment of the present application, a service providing apparatus 900 is provided, including but not limited to: a session display module 910, a component display module 930, and a service providing module 950.
The session display module 910 is configured to display a session page; the session page displays session messages related to the target instruction; the target instruction is generated by user trigger.
The component display module 930 is configured to obtain at least one service component associated with the target instruction, and push and display the service component in the session page.
The service providing module 950 is configured to provide a service function corresponding to one of the service components in response to a trigger operation on the service component.
In an exemplary embodiment, the component display module 930 is further configured to obtain a corresponding service component based on the target device and/or the target scene indicated by the target instruction, and push the obtained service component to the session page for display.
In an exemplary embodiment, the component display module 930 is further configured to control the target device and/or the target scene to perform a corresponding action according to the target instruction if the number of target devices and/or the target scenes meets the set threshold.
In an exemplary embodiment, the component display module 930 is further configured to determine whether a target device indicated by the target instruction exists in the bound devices; if not, acquiring the recommended service components, and displaying the recommended service components in the session page.
In an exemplary embodiment, the component display module 930 is further configured to obtain a recommendation device; the recommending device is a device which is obtained based on the device work information and accords with the target instruction; and obtaining a corresponding service component based on the target instruction and the recommending equipment.
In an exemplary embodiment, the service components include a device control component, a scene control component; the service providing module 950 is further configured to, if a control operation for the control portal in the device control component or the scene control component is detected, control a target device or a target scene corresponding to the device control component or the scene control component, and perform an action corresponding to the target instruction; and if the view operation aiming at the view entrance in the device control component or the scene control component is detected, displaying the detail information of the target device or the target scene corresponding to the device control component or the scene control component.
In an exemplary embodiment, the service component further includes an information pushing component, and the service providing module 950 is further configured to display push information corresponding to the information pushing component if a push view operation for a push portal on the information pushing component is detected.
In an exemplary embodiment, the component display module 930 is further configured to obtain a display priority of each service component; display priority is determined based on the preference information; each service component is displayed in the session page based on the display priority of each service component.
In an exemplary embodiment, the service providing apparatus 900 is further configured to display a billboard page, where the billboard page displays a wake entry; in response to a wake operation to wake the portal, a session page is displayed that presents an instruction identification component for obtaining the target instruction.
In an exemplary embodiment, the service providing apparatus 900 is further configured to display a message area on a bulletin board page if the message alert function is detected to be turned on; the message area is used for displaying recommended messages; and responding to the view operation of the recommended message in the billboard page, and displaying the page corresponding to the recommended message.
In an exemplary embodiment, the service providing apparatus 900 is further configured to obtain a corpus of a user; and identifying the corpus to obtain a target instruction.
It should be noted that, in the service providing apparatus provided in the foregoing embodiment, only the division of the functional modules is illustrated in the foregoing description, and in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the service providing apparatus is divided into different functional modules to perform all or part of the functions described above.
In addition, the service providing apparatus and the embodiments of the service providing method provided in the foregoing embodiments belong to the same concept, and the specific manner in which each module performs the operation has been described in detail in the method embodiments, which is not described herein again.
Fig. 12 shows a structural schematic of a server according to an exemplary embodiment. The server is suitable for use at the server side 170 in the implementation environment shown in fig. 1.
It should be noted that this server is only an example adapted to the present application, and should not be construed as providing any limitation on the scope of use of the present application. Nor should the server be construed as necessarily relying on or necessarily having one or more of the components of the exemplary server 2000 illustrated in fig. 12.
The hardware structure of the server 2000 may vary widely depending on the configuration or performance, as shown in fig. 12, the server 2000 includes: a power supply 210, an interface 230, at least one memory 250, and at least one central processing unit (CPU, central Processing Units) 270.
Specifically, the power supply 210 is configured to provide an operating voltage for each hardware device on the server 2000.
The interface 230 includes at least one wired or wireless network interface 231 for interacting with external devices. For example, interactions between user terminal 110 and server side 170 in the implementation environment shown in FIG. 1 are performed.
Of course, in other examples of the adaptation of the present application, the interface 230 may further include at least one serial-parallel conversion interface 233, at least one input-output interface 235, at least one USB interface 237, and the like, as shown in fig. 7, which is not particularly limited herein.
The memory 250 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, where the resources stored include an operating system 251, application programs 253, and data 255, and the storage mode may be transient storage or permanent storage.
The operating system 251 is used for managing and controlling various hardware devices and applications 253 on the server 2000 to implement the operation and processing of the massive data 255 in the memory 250 by the central processor 270, which may be Windows server, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The application 253 is based on computer readable instructions on the operating system 251 to perform at least one specific task, which may include at least one module (not shown in fig. 7), each of which may include computer readable instructions to the server 2000, respectively. For example, the service providing device may be considered as an application 253 deployed on the server 2000.
The data 255 may be a photograph, a picture, or the like stored in the disk, or may be a target instruction or the like, and stored in the memory 250.
The central processor 270 may include one or more of the above processors and is configured to communicate with the memory 250 via at least one communication bus to read computer readable instructions stored in the memory 250, thereby implementing operations and processing of the bulk data 255 in the memory 250. The service providing method is accomplished, for example, by the central processor 270 reading a series of computer readable instructions stored in the memory 250.
Furthermore, the present application can be realized by hardware circuitry or by a combination of hardware circuitry and software, and thus, the implementation of the present application is not limited to any specific hardware circuitry, software, or combination of the two.
Referring to fig. 13, fig. 13 is a schematic diagram illustrating a structure of a terminal according to an exemplary embodiment. The terminal is suitable for use in the user terminal 110 in the implementation environment shown in fig. 1.
It should be noted that the terminal is only an example adapted to the present application and should not be construed as providing any limitation on the scope of use of the present application. Nor should the terminal be construed as necessarily relying on or necessarily having one or more of the components of the exemplary terminal 1100 shown in fig. 13.
As shown in fig. 13, the terminal 1100 includes a memory 101, a memory controller 103, one or more (only one is shown in fig. 13) processors 105, a peripheral interface 107, a radio frequency module 109, a positioning module 111, a camera module 113, an audio module 115, a touch screen 117, and a key module 119. These components communicate with each other via one or more communication buses/signal lines 121.
The memory 101 may be used to store computer readable instructions, such as corresponding computer readable instructions of a service providing method and apparatus according to an exemplary embodiment of the present application, and the processor 105 performs various functions and data processing by reading the computer readable instructions stored in the memory 101, that is, performs the service providing method.
Memory 101, which is the carrier of resource storage, may be random access memory, e.g., high speed random access memory, non-volatile memory, such as one or more magnetic storage devices, flash memory, or other solid state memory. The storage means may be a temporary storage or a permanent storage.
The peripheral interface 107 may include at least one wired or wireless network interface, at least one serial-to-parallel conversion interface, at least one input/output interface, at least one USB interface, etc. for coupling external various input/output devices to the memory 101 and the processor 105 to enable communication with the external various input/output devices.
The radio frequency module 109 is configured to receive and transmit electromagnetic waves, and to implement mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with other devices through a communication network. The communication network may include a cellular telephone network, a wireless local area network, or a metropolitan area network, and may employ various communication standards, protocols, and techniques.
The positioning module 111 is configured to obtain a current geographic location of the terminal 1100. Examples of the positioning module 111 include, but are not limited to, global satellite positioning system (GPS), wireless local area network or mobile communication network based positioning technology.
The camera module 113 is attached to a camera for taking pictures or videos. The photographed pictures or videos may be stored in the memory 101, and may also be transmitted to an upper computer through the rf module 109.
The audio module 115 provides an audio interface to the user, which may include one or more microphone interfaces, one or more speaker interfaces, and one or more earphone interfaces. The interaction of the audio data with other devices is performed through the audio interface. The audio data may be stored in the memory 101 or may be transmitted via the radio frequency module 109.
The touch screen 117 provides an input-output interface between the terminal 1100 and the user. Specifically, the user may perform an input operation, such as a gesture operation of clicking, touching, sliding, etc., through the touch screen 117 to make the terminal 1100 respond to the input operation. The terminal 1100 displays and outputs the output content formed by any one or combination of the text, the picture or the video to the user through the touch screen 117.
The key module 119 includes at least one key to provide an interface for a user to input to the terminal 1100, and the user can cause the terminal 1100 to perform different functions by pressing different keys. For example, the sound adjustment key may allow the user to adjust the volume of sound played by the terminal 1100.
It is to be understood that the structure shown in fig. 13 is merely illustrative, and that terminal 1100 may also include more or fewer components than shown in fig. 13, or have different components than shown in fig. 13. The components shown in fig. 13 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 14, in an embodiment of the present application, an electronic device 4000 is provided, and the electronic device 400 may include: desktop computers, notebook computers, servers, etc.
In fig. 14, the electronic device 4000 includes at least one processor 4001 and at least one memory 4003.
Among other things, data interaction between the processor 4001 and the memory 4003 may be achieved by at least one communication bus 4002. The communication bus 4002 may include a path for transferring data between the processor 4001 and the memory 4003. The communication bus 4002 may be a PCI (PERIPHERAL COMPONENT INTERCONNECT, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus or the like. The communication bus 4002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 14, but not only one bus or one type of bus.
Optionally, the electronic device 4000 may further comprise a transceiver 4004, the transceiver 4004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data, etc. It should be noted that, in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
The Processor 4001 may be a CPU (Central Processing Unit ), general purpose Processor, DSP (DIGITAL SIGNAL Processor, data signal Processor), ASIC (Application SPECIFIC INTEGRATED Circuit), FPGA (Field Programmable GATE ARRAY ) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. The processor 4001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Memory 4003 may be, but is not limited to, ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, EEPROM (ELECTRICALLY ERASABLE PROGRAMMABLE READ ONLY MEMORY ), CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program instructions or code in the form of instructions or data structures and that can be accessed by electronic device 400.
The memory 4003 has computer readable instructions stored thereon, and the processor 4001 can read the computer readable instructions stored in the memory 4003 through the communication bus 4002.
The computer readable instructions are executed by the one or more processors 4001 to implement the service providing method in the above embodiments.
Further, in an embodiment of the present application, there is provided a storage medium having stored thereon computer readable instructions that are executed by one or more processors to implement the service providing method as described above.
In an embodiment of the present application, a computer program product is provided, where the computer program product includes computer readable instructions, where the computer readable instructions are stored in a storage medium, and where one or more processors of an electronic device read the computer readable instructions from the storage medium, load and execute the computer readable instructions, so that the electronic device implements a service providing method as described above.
Compared with the related art, on one hand, according to the target instruction triggered by the user, the service component related to the target instruction is displayed in the session page, so that the selection of the service function is provided for the user, and the wrong service function can be prevented from being provided; on the other hand, based on the selection trigger of the user on the service component displayed on the session page, the service function corresponding to the service component is provided for the user, so that the provided service function meets the user's expectations, and the experience of the Internet of things of the user is improved.
In addition, the method and the device can display each service component on the conversation page according to the display priority of each service component, the display position of the service component on the conversation page can accord with the preference habit of the user, the user can quickly locate the service component which accords with the preference habit of the user, the self demand is quickly realized through the service component, the service efficiency is improved, and the user experience is improved.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present application, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present application, and such modifications and adaptations are intended to be comprehended within the scope of the present application.

Claims (15)

1. A service providing method, comprising:
displaying a conversation page; the session page displays session messages related to the target instruction; the target instruction is triggered and generated by a user;
Acquiring at least one service component associated with the target instruction, and pushing and displaying the service component in the session page;
in response to a triggering operation on one of the service components, a service function corresponding to the service component is provided.
2. The method of claim 1, wherein the retrieving at least one service component associated with the target instruction and pushing the service component in the session page, the method further comprising:
and obtaining a corresponding service component based on the target equipment and/or the target scene indicated by the target instruction, and pushing the obtained service component to the session page for display.
3. The method of claim 2, wherein the target device and/or the target scene indicated by the target instruction obtains a corresponding service component, and pushes the obtained service component to the session page for display, and the method further comprises:
And if the number of the target devices and/or the target scenes meets a set threshold, controlling the target devices and/or the target scenes to execute corresponding actions according to the target instructions.
4. The method of claim 1, wherein the retrieving at least one service component associated with the target instruction and pushing the service component in the session page comprises:
determining whether target equipment indicated by the target instruction exists in the bound equipment;
If not, acquiring the recommended service components, and displaying the recommended service components in the session page.
5. The method of claim 4, wherein the obtaining recommended service component comprises:
Acquiring recommendation equipment; the recommending device is a device which is obtained based on the device work information and accords with the target instruction;
and obtaining a corresponding service component based on the target instruction and the recommendation equipment.
6. The method of claim 4, wherein the retrieving at least one service component associated with the target instruction comprises:
Searching equipment with the purpose related to the target equipment in the bound equipment according to the target equipment indicated by the target instruction;
and obtaining a corresponding service component based on the equipment related to the target equipment for the purpose.
7. The method of claim 1, wherein the service component comprises a device control component, a scenario control component;
The responding to the triggering operation of one service component provides the service function corresponding to the service component, and comprises the following steps:
If the control operation aiming at the control entrance in the equipment control component or the scene control component is detected, controlling target equipment or a target scene corresponding to the equipment control component or the scene control component, and executing an action corresponding to the target instruction;
And if the viewing operation aiming at the viewing entrance in the equipment control component or the scene control component is detected, displaying the detail information of the target equipment or the target scene corresponding to the equipment control component or the scene control component.
8. The method of claim 1, wherein the service component further comprises an information push component comprising:
and if the pushing and viewing operation aiming at the pushing inlet on the information pushing component is detected, displaying pushing information corresponding to the information pushing component.
9. The method of claim 1, wherein the retrieving at least one service component associated with the target instruction and pushing the service component in the session page comprises:
acquiring the display priority of each service component; the display priority is determined based on preference information;
and displaying each service component in the session page based on the display priority of each service component.
10. The method of any of claims 1 to 9, wherein prior to the displaying the session page, the method further comprises:
displaying a billboard page, wherein the billboard page is provided with a wake-up inlet;
In response to a wake operation to the wake entry, the session page is displayed with an instruction identification component for obtaining the target instruction.
11. The method of claim 10, wherein the display billboard page, the method further comprising:
If the message reminding function is detected to be started, a message area is displayed on the billboard page; the message area is used for displaying recommended messages;
and responding to the view operation of the recommended message in the billboard page, and displaying a page corresponding to the recommended message.
12. The method of claim 1, wherein the retrieving at least one service component associated with the target instruction and prior to pushing the service component for display in the session page, the method comprises:
acquiring the corpus of the user;
and identifying the corpus to obtain the target instruction.
13. A service providing apparatus, comprising:
The session display module is used for displaying a session page; the session page displays session messages related to the target instruction; the target instruction is triggered and generated by a user;
The component display module is used for acquiring at least one service component associated with the target instruction and pushing and displaying the service component in the session page;
and the service providing module is used for responding to the triggering operation of one of the service components and providing the service function corresponding to the service component.
14. An electronic device, comprising: at least one processor, and at least one memory, wherein,
The memory has computer readable instructions stored thereon;
The computer readable instructions are executed by one or more of the processors to cause an electronic device to implement the service providing method of any of claims 1 to 12.
15. A storage medium having stored thereon computer readable instructions, the computer readable instructions being executable by one or more processors to implement the service providing method of any of claims 1 to 12.
CN202311704492.8A 2023-12-12 2023-12-12 Service providing method, device, electronic equipment and storage medium Pending CN117938947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311704492.8A CN117938947A (en) 2023-12-12 2023-12-12 Service providing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311704492.8A CN117938947A (en) 2023-12-12 2023-12-12 Service providing method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117938947A true CN117938947A (en) 2024-04-26

Family

ID=90767559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311704492.8A Pending CN117938947A (en) 2023-12-12 2023-12-12 Service providing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117938947A (en)

Similar Documents

Publication Publication Date Title
JP7198861B2 (en) Intelligent assistant for home automation
CN108092861B (en) Configuration method for realizing equipment linkage, equipment linkage control method and device
CN109379261B (en) Control method, device, system, equipment and storage medium of intelligent equipment
US10699707B2 (en) Processing voice commands based on device topology
CN110235087B (en) Method and terminal for realizing voice control
CN103200329A (en) Voice control method, mobile terminal device and voice control system
CN111367188B (en) Control method and device for intelligent home, electronic equipment and computer storage medium
US10627789B2 (en) User device, driving method of user device, apparatus for providing service and driving method of apparatus for providing service
CN117092926B (en) Equipment control method and electronic equipment
CN116719969B (en) Intelligent home interaction data analysis method and system based on Internet of things
WO2023202678A1 (en) Device control method and apparatus, electronic device, and storage medium
CN117938947A (en) Service providing method, device, electronic equipment and storage medium
CN112448869A (en) Naming method and system of intelligent household equipment and computer equipment
CN112929751B (en) System, method and terminal for determining action execution
CN118295263A (en) Method and device for generating scene control scheme, electronic equipment and storage medium
CN112540582A (en) Data processing method and device for intelligent control panel, medium and electronic equipment
CN116304320A (en) Spatial template recommendation method and device, electronic equipment and storage medium
WO2017084595A1 (en) Resource matching method and device
WO2023174429A1 (en) Intelligent-device control method and electronic device
CN116647593A (en) Intelligent service pushing method and device, electronic equipment and storage medium
WO2023221995A1 (en) Intelligent device control method and electronic device
CN114791860A (en) Novel application subscription method, device and medium
CN116225281A (en) Method and device for recommending billboard page, electronic equipment and storage medium
CN110925935A (en) Timing control method and device, storage medium and computer equipment
CN116319236A (en) Space configuration method, device, terminal equipment and storage medium

Legal Events

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