WO2018157721A1 - Method for acquiring and providing information, device, system and storage medium - Google Patents

Method for acquiring and providing information, device, system and storage medium Download PDF

Info

Publication number
WO2018157721A1
WO2018157721A1 PCT/CN2018/075925 CN2018075925W WO2018157721A1 WO 2018157721 A1 WO2018157721 A1 WO 2018157721A1 CN 2018075925 W CN2018075925 W CN 2018075925W WO 2018157721 A1 WO2018157721 A1 WO 2018157721A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
server
user input
input message
type
Prior art date
Application number
PCT/CN2018/075925
Other languages
French (fr)
Chinese (zh)
Inventor
郭玲妮
苏勃心
刘文轩
杨林
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201710123278.1A external-priority patent/CN108304153A/en
Priority claimed from CN201710193668.6A external-priority patent/CN108306851B/en
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018157721A1 publication Critical patent/WO2018157721A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to an information acquisition method, a method, a device, a system, and a storage medium.
  • An electronic ticket is a ticket that can be transmitted over a network and that can be displayed on a terminal and that has the same function as a paper ticket.
  • tickets such as movie tickets, performance tickets, concert tickets, and ball tickets are provided to users in the form of electronic tickets to facilitate user purchase.
  • the user obtains a movie ticket order by the following operation, and completes online purchase of the movie ticket according to the movie ticket order.
  • the user installs an application client having a function of purchasing a movie ticket online in a terminal such as a mobile phone or a tablet computer, and then transmits information about the movie ticket searched and selected by the user to the server through the client, and the server according to the user
  • a movie ticket order is generated by information related to the selected movie ticket. For example, the following steps are sequentially performed to obtain a movie ticket order: 1. selecting a theater; 2. selecting a movie; 3. selecting a screening event; 4. selecting a seat; 5, obtaining a movie ticket order.
  • the step of selecting a theater may be performed before the step of selecting a movie, or may be performed after the step of selecting a movie.
  • the online payment is made according to the amount indicated by the movie ticket order, and the online purchase of the movie ticket is completed after the online payment is successful.
  • each operation step of obtaining the movie ticket order the user needs to actively find and select the information about the movie ticket, and each step requires the client to interact with the server at least once, and the whole process needs to be performed between the client and the server. For a greater number of interactions, the server only needs to generate a movie ticket order based on the information about the movie ticket selected by the user.
  • the method for obtaining a movie ticket order provided by the above related art has low operation efficiency and wastes transmission resources between the client and the server.
  • the method used to obtain the virtual resource order is the same as or similar to the above related technology, and the same is true. technical problem.
  • the embodiment of the present invention provides an information acquisition method, a method, a device, a system, and a storage medium, so as to at least solve the problem that the operation of acquiring a virtual resource order in the related art is low, and the transmission resource between the client and the server is wasted. technical problem.
  • an information acquisition method comprising:
  • first type of user input message refers to a user input message carrying all of the order element information
  • order element information refers to necessary information required for ordering virtual resources online
  • an information providing method comprising:
  • the client Receiving a first type of user input message sent by the client, where the first type of user input message refers to a user input message carrying all of the order element information, and the order element information refers to a requirement for ordering virtual resources online.
  • the first type of user input message refers to a user input message carrying all of the order element information
  • the order element information refers to a requirement for ordering virtual resources online.
  • an information acquisition method comprising:
  • the first type of user input message refers to a user input message carrying all order element information
  • the order element information refers to an online order Necessary information required for virtual resources
  • the received virtual resource information is displayed, and the virtual resource information is used to order virtual resources that match the entire subscription element information online.
  • an information acquisition apparatus comprising:
  • a first acquiring module configured to acquire a user input message of a first type, where the user input message of the first type refers to a user input message carrying all the subscription element information, where the subscription element information refers to an online subscription virtual resource. Necessary information required;
  • a first sending module configured to send the first type of user input message to a server
  • An information receiving module configured to receive virtual resource information sent by the server after acquiring the virtual resource matching the all subscription element information, where the virtual resource information is used for online ordering and all the subscription element information Matching virtual resources.
  • an information providing apparatus comprising:
  • a first receiving module configured to receive a first type of user input message sent by the client, where the first type of user input message refers to a user input message carrying all the subscription element information, where the ordering element information refers to The necessary information to order virtual resources online;
  • a resource obtaining module configured to acquire a virtual resource that matches all the subscription element information
  • An information generating module configured to generate virtual resource information for ordering the virtual resource
  • an information sending module configured to send the virtual resource information to the client.
  • an information acquisition apparatus comprising:
  • An interface display module configured to display a chat dialogue interface with the subscription server
  • a first acquiring module configured to acquire a first type of user input message input in the chat conversation interface, where the first type of user input message refers to a user input message carrying all subscription element information, Ordering element information refers to the necessary information required to order virtual resources online;
  • a first sending module configured to send the first type of user input message to the subscription server
  • the information display module is configured to display the received virtual resource information, and the virtual resource information is used to order virtual resources that match the entire subscription element information online.
  • an information acquisition system comprising: a client and a server;
  • the client includes the information acquiring device as described in the fourth aspect
  • the server includes the information providing apparatus as described in the fifth aspect.
  • the client By collecting all the subscription element information at one time, the client sends all the above order element information together to the server, and the server searches for the matching virtual resource and generates a corresponding virtual resource order, thereby reducing the client during the entire ordering process.
  • the number of interactions with the server helps to improve the operational efficiency of ordering virtual resources online and saves transmission resources between the client and the server.
  • FIG. 1 is a schematic diagram of an implementation environment according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of an information acquisition method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a voice interaction method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing target data in accordance with an embodiment of the present invention.
  • FIG. 5 is a flowchart of another optional voice interaction method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a comparison of a voice interaction method and a voice interaction method of a competing product according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of an information collection page exemplarily shown
  • FIG. 8 is a flowchart of another method for acquiring information according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of another method for acquiring information according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram showing an interface for acquiring electronic ticket information
  • FIG. 11 is a schematic diagram showing a process flow of a server-to-message message exemplarily shown
  • FIG. 12 is an architectural diagram of a server cluster exemplarily shown
  • FIG. 13 is a flowchart of another method for acquiring information according to an embodiment of the present invention.
  • FIG. 14 is a block diagram of an information acquiring apparatus according to an embodiment of the present invention.
  • FIG. 15 is a block diagram of an information providing apparatus according to an embodiment of the present invention.
  • FIG. 16 is a block diagram of an information acquiring apparatus according to an embodiment of the present invention.
  • FIG. 17 is a schematic diagram of an information acquiring apparatus according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 19 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention.
  • the implementation environment can include a terminal 102 and a server 104.
  • the terminal 102 may be an electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia playback device, a PDA (Personal Digital Assistant), a PC (Personal Computer), or the like.
  • a client having an online subscription virtual resource function is installed and operated in the terminal 102.
  • the client can be a client with AI (Artificial Intelligence) function, a shopping client, or a browser, which can open a webpage with the function of ordering virtual resources online.
  • AI Artificial Intelligence
  • the terminal 102 has a communication connection with the server 104.
  • the communication connection can be established based on a wired network or a wireless network.
  • the server 104 can be a server, a server cluster composed of multiple servers, or a cloud computing service center.
  • the server 104 is configured to provide a background service to the client.
  • a virtual resource refers to a resource that can be ordered on a network.
  • a virtual resource can be a virtual item, a service, or other type of virtual resource.
  • the virtual resource is an electronic ticket.
  • An electronic ticket is a ticket that can be transmitted over a network and that can be displayed on a terminal and that has the same function as a paper ticket.
  • the electronic ticket is a ticket that needs to be selected for at least two of the content, location, time, number of people, and seat.
  • the above locations may be public places such as venues, venues, and shopping malls.
  • the electronic ticket may be a movie ticket, a performance ticket, a concert ticket, a concert ticket, a ball game ticket, an electronic ticket, an electronic train ticket, an electronic ticket, and the like.
  • the client by collecting all the subscription element information at one time, the client sends all the above-mentioned order element information to the server together, so that the server generates a virtual resource order that meets the above-mentioned order requirement, thereby reducing
  • the number of interactions between the client and the server during the entire order acquisition process helps to improve the operational efficiency of obtaining virtual resource orders and saves transmission resources between the client and the server.
  • the order element information refers to the necessary information required for ordering virtual resources online, and all the order element information refers to all necessary information required for ordering virtual resources online.
  • the order element information may be referred to as purchase element information, and the purchase element information refers to necessary information required for online purchase of the electronic ticket. Accordingly, all the purchase element information refers to all necessary information required to purchase an electronic ticket online.
  • all the information of the ticket purchase elements include: the name of the movie, the name of the theater, the time of watching the movie, and the number of people watching the movie.
  • the electronic ticket is a concert ticket.
  • the information of all the ticket purchase elements includes: the name of the show, the performance venue, the performance time, the number of people watching, the performance seat (or the seating area).
  • the information of all the ticket purchase elements includes: flight number, number of tickets purchased, and seat (or flight position).
  • the technical solution provided by the embodiment of the present invention can be applied to any system having the function of ordering virtual resources online.
  • the system may be a shopping system, a living service system, an electronic ticketing system, a group purchase system, a movie ticket ordering system, a ticket ordering system, a train ticket ordering system, and the like.
  • the system can be implemented based on artificial intelligence technology to obtain the user's ordering requirements in the form of dialogue with the user, and then order the appropriate virtual resources according to the user's ordering requirements.
  • FIG. 2 is a flowchart of an information acquisition method according to an embodiment of the present invention. This method can be applied to the implementation environment shown in FIG. The method can include the following steps:
  • step 201 the client acquires a first type of user input message.
  • the first type of user input message refers to a user input message carrying all of the order element information.
  • a user input message refers to a message input by a user.
  • Ordering element information refers to the necessary information required to order virtual resources online. All ordering element information refers to all necessary information required to order virtual resources online.
  • the order element information may be referred to as ticket purchase element information
  • the ticket purchase element information refers to necessary information required for online purchase of the electronic ticket. Accordingly, all the purchase element information refers to all necessary information required to purchase an electronic ticket online.
  • all the information of the ticket purchase elements include: the name of the movie, the name of the theater, the time of watching the movie, and the number of people watching the movie.
  • the name of the movie refers to the name of the movie that the user needs to watch, such as "I am not Pan Xlian", "Dr.
  • the name of the theater refers to the name of the movie theater required by the user to watch the movie, such as xx theater, xx studio, and so on.
  • the viewing time refers to the time when the user plans to watch the movie, such as 5 pm and 8 pm.
  • the number of people watching is the number of people who plan to watch, such as one person, two people, three people, etc.
  • the client collects all the subscription element information at one time, compared to the information collected by the client in the related art.
  • the client obtaining the first type of user input message includes the following possible implementations:
  • the client obtains a first type of user input message entered in text form.
  • the user invokes the input method program through the client, and inputs the following text content through the input method program: At 5 pm today, 2 people went to the xx theater to watch that I was not Pan Xlian. Accordingly, the client obtains a first type of user input message entered in text form.
  • the client obtains a first type of user input message entered in the form of a voice.
  • the user calls the microphone through the client and collects the following voice information through the microphone: I want to go to the xx theater at 8 o'clock this evening to watch Dr. X and help me out 2 movie tickets. Accordingly, the client obtains a first type of user input message entered in the form of a voice.
  • the client receives an information collection page sent by the server, where the information collection page is used to collect all the subscription element information; the information collection page is displayed; and all the subscription elements input in the information collection page are obtained. Information; generating a first type of user input message based on all acquired order element information.
  • the client obtains the first type of user input message input in voice by the following means:
  • the mobile terminal receives a voice command issued by the user, and according to the voice command, initiates an operation request to the server of the third-party application in the server 104 through the network, and requests the server of the third-party application to execute the voice command.
  • the target operation indicated after the target end of the third-party application performs the target operation, the mobile phone receives the target data returned by the server of the third-party application in the server 104 through the network, and presents the target data to the user.
  • the voice command is received by the mobile phone and directly interacts with the server of the third-party application, thereby achieving the purpose of obtaining the service without manual operation by the user, thereby simplifying the process of operating through the voice assistant, thereby solving the complicated operation of the voice assistant.
  • FIG. 3 is a flowchart of a voice interaction method according to an embodiment of the present invention.
  • the voice interaction method provided by the embodiment of the present invention is specifically introduced in conjunction with FIG. 3, as shown in FIG. 3, the voice interaction method mainly includes the following steps. :
  • Step S302 receiving a voice instruction, where the voice instruction is used to indicate that the target operation in the third-party application is performed.
  • a voice command is issued by the user to indicate a target operation in the third party application to be executed by the voice command.
  • the user sends a voice command “I want to check the weather forecast”.
  • the voice command indicates that the target operation requested by the user is to query the weather forecast, and the related third-party application is the weather forecast application; for example, the user issues a voice command.
  • "I want to take a taxi to XXX” the voice command indicates that the taxi operation in the taxi application needs to be performed, wherein the destination is "XXX", and the departure destination defaults to the location of the current GPS location.
  • the voice command can also be, but is not limited to, a voice command for inquiring express, a voice command for querying news, a query for movie information, and a voice command for purchasing a ticket.
  • Step S304 initiating an operation request to the server of the third-party application according to the voice instruction, where the operation request is used to request the server to perform the target operation.
  • the operation request is directly sent to the server of the third-party application according to the voice instruction, and the server of the third-party application may be, but not limited to, a server set on the network, and sent to the server of the third-party application.
  • the above operation request requests the server to perform the target operation indicated by the voice instruction.
  • an operation request is initiated to the server of the weather forecast application, and the server of the weather forecast application queries the weather of the user's location.
  • the received voice command is “I want to take a taxi to XXX”, and initiates an operation request to the server of the taxi application.
  • the server of the taxi application finds and reserves the current rental from the user's location to “XXX”. car.
  • Step S306 receiving target data sent by the server in response to the operation request, wherein the target data is obtained by the server performing the target operation.
  • the target data is acquired, and the target data is returned to the party that issued the operation request, and the party that issues the operation request receives the target data returned by the server.
  • the party issuing the operation may be, but is not limited to, a public number, a mobile phone APP, a smart watch, and the like.
  • the voice command issued by the user in the public number is “I want to check the weather forecast”
  • the public number sends an operation request to the server of the weather forecast application according to the voice command, and requests the server to check the weather.
  • the forecasting the server performs the operation of querying the weather forecast according to the operation request, obtains the query result of the weather forecast, and returns the query result to the public number.
  • step S308 the target data is displayed.
  • the target data is presented to the user to complete the user's instruction.
  • the weather forecast query results are displayed to the user, and the winner shows the result of the taxi to the user.
  • the taxi result may be information such as whether the car is hit, the model of the car hit, the license plate, and the expected arrival time of the vehicle.
  • FIG. 4 is a schematic diagram showing display target data according to a voice interaction method according to an embodiment of the present invention.
  • a user issues a voice instruction through a WeChat public number “Penguin Intelligence”, and the target operation indicated by the voice instruction is “query”.
  • the WeChat public account directly sends an operation request to the server of the third party application (which may be the courier software) to request the inquiry of the undelivered delivery information.
  • the third-party application performs the query operation according to the operation request, and returns the queried target data to the public number.
  • the public number receives the target data and presents the target data to the user.
  • the target data shown in FIG. 4 includes five pieces of express information.
  • the receiving voice instruction is used, wherein the voice instruction is used to indicate that the target operation in the third-party application is performed; and the operation request is initiated to the server of the third-party application according to the voice instruction, where the operation request is used to request the service.
  • the terminal performs the target operation; the receiving server responds to the target data sent by the operation request, wherein the target data is obtained by the server performing the target operation; and the manner of displaying the target data is directly related to the server of the third-party application according to the voice instruction of the user.
  • Interacting, requesting the server to perform the target operation, and acquiring the target data achieves the purpose of obtaining the service without manual operation by the user, thereby simplifying the process of operating through the voice assistant, thereby solving the complicated operation of the voice assistant. problem.
  • the initiating an operation request to the server of the third-party application according to the voice instruction includes: extracting a keyword in the voice instruction; determining a server of the third-party application according to the keyword, where the keyword has an association relationship with the third-party application; Generating an operation request according to the keyword; sending an operation request to the server to request the server to perform a target operation related to the keyword.
  • the keyword is first extracted from the voice instruction, and the relevant keyword is determined according to the extracted keyword.
  • the third-party application generates an operation request according to the target operation indicated by the instruction, and finally sends an operation request to the server of the third-party application, requesting the server to perform the target operation according to the keyword.
  • the received voice command is “query today's weather forecast”, and keywords are extracted from the voice command.
  • the extracted keywords may be “query”, “today”, “weather forecast”, according to
  • the keyword “weather forecast” determines that the third application is a weather forecast application, generates an operation request according to the keywords “query” and “today”, and sends the operation request to the server of the weather forecast application, and the operation request may be “requesting the current weather forecast for the query”. ", the server performs the target operation according to the operation request.
  • generating the operation request according to the keyword includes: determining, according to the server, a communication protocol adopted by the server, wherein the communication protocol is a pre-agreed communication protocol; and generating an operation request according to the communication protocol and the keyword.
  • the server of the third-party application pre-agreed the communication protocol to be adopted, according to The communication protocol generates an operation request.
  • the communication protocol optionally, the communication protocol may be a communication protocol used by the public number or a communication protocol used by the third party application.
  • the communication protocol of the third party application adapts to the public number, and communicates by using the communication protocol of the public number; when the communication protocol used for the operation request is the communication protocol used by the third party application, the public number adapts to the communication agreement of the third party application, Data conversion and data transmission according to the communication protocol of the third-party application.
  • FIG. 5 is a flowchart of another optional voice interaction method according to an embodiment of the present invention. As shown, the method includes the following steps:
  • Step 1 The user sends a voice command to the terminal, where the voice command is used to indicate that the target operation in the third-party application is performed, for example, the user sends a voice command “I want to view the weather forecast”, and in the voice command, the user is required to perform the execution.
  • the target operation is to query the weather forecast
  • the related third-party application is the weather forecast application; for example, the user sends a voice command “I want to take a taxi to XXX place”, and the voice command indicates that the taxi operation in the taxi application needs to be performed, wherein
  • the destination is “XXX land”, and the departure place defaults to the location of the user of the current GPS location.
  • the voice command can also be, but is not limited to, a voice command for inquiring express, a voice command for querying news, a query for movie information, and a voice command for purchasing a ticket.
  • the terminal may be an APP installed on a device such as a mobile phone, or may be a WeChat public slave number, or may be a smart speaker, or a smart watch. The invention does not limit the form of the terminal.
  • Step 2 After receiving the voice command, the terminal sends the voice command to the NLP (Natural Language Server).
  • NLP Natural Language Server
  • NLP Natural Language Server
  • the received voice command is “Query Today's Weather Forecast”, and keywords are extracted from the voice command.
  • the extracted keywords may be “query”, “today”, and “weather forecast”.
  • step 3 the NLP (Natural Language Server) returns the extracted keywords to the terminal.
  • the terminal generates an operation request according to the extracted keywords, and the operation request is used to request to perform a target operation.
  • the keywords “query”, “today”, and “weather forecast” are extracted from the voice command "Query Today's Weather Forecast”.
  • the keyword generation operation request "request to query the current weather forecast”.
  • step 4 the terminal sends an operation request to the task scheduling server.
  • the scheduling server determines the third party application based on the operation request. For example, in step 3, the operation request generated by the terminal is “request to query the current weather forecast”, and the terminal sends the operation request to the task scheduling server, and the task scheduling server determines, according to the operation request, that the third-party application is a weather forecast application.
  • Step 5 The task scheduling server sends the operation request to the server corresponding to the third-party application, and receives the target data returned by the server, wherein the server performs the target operation according to the operation request, and obtains the target data.
  • step 4 after the task scheduling server sends the operation request "request to query the current weather forecast" to the server of the weather forecast application, the server of the weather forecast application performs a target operation for querying the weather forecast of the day, and the weather forecast is queried. The data is returned to the task scheduling server.
  • the server performs the operation of querying the weather forecast according to the operation request, obtains the query result of the weather forecast, and returns the query result to the public number. And send the operation request to the server of the weather forecast application.
  • step 6 the task scheduling server sends the target data to the terminal.
  • the task scheduling server returns the target data returned by the server to the terminal as a response to the terminal sending an operation request. For example, the query result of the weather forecast returned by the server in step 5 is sent to the terminal.
  • step 7 the terminal presents the target data to the user.
  • the terminal will finally display the target data to the user, so that the voice command sent by the user is responded.
  • the weather forecast received in step 6 is displayed to the user.
  • the embodiment of the present invention directly interacts with the server of the third-party application according to the voice instruction of the user, requests the server to perform the target operation, and acquires the target data, thereby achieving the purpose of acquiring the service without manual operation by the user, thereby simplifying the adoption.
  • the voice assistant performs the operation process, which solves the technical problem that the voice assistant operates more complicated.
  • 6 is a schematic diagram of a comparison between a voice interaction method and a voice interaction method of a competing product according to an embodiment of the present invention. As shown in FIG. 6, the voice interaction method of the competing product evokes the first through a web-level API after acquiring the user's voice instruction.
  • the three-party web front-end or third-party application interacts with the server by manually operating a third-party web front end or a third-party application, and the server completes the operation and returns data.
  • the maximum difference between the voice interaction method provided by the embodiment of the present invention and the voice interaction method of the competing product is that the voice interaction method provided by the embodiment of the present invention receives the user through the voice application (also can be a public number, a speaker or a watch, etc.).
  • the operation request is generated according to the voice instruction of the user, and directly interacts with the third-party application server, requests the server to perform the target operation, and returns the target data to the voice application, and the voice application is displayed to the user, so that the user
  • the process of operating through the voice assistant is simplified by eliminating the need for manual operations to obtain services.
  • the initiating the operation request to the server of the third-party application according to the voice instruction comprises: initiating an operation request to the multiple server terminals of the multiple third-party applications according to the voice instruction; and receiving the target data sent by the server in response to the operation request, including: receiving The plurality of servers respond to the plurality of data sent by the operation request; and the target data is filtered from the plurality of data according to a preset rule matching the operation request.
  • the third-party application when the operation request is sent to the server of the third-party application according to the received voice instruction, the third-party application may be multiple, and the received data returned by the server end is correspondingly There are also multiple, and the target data is filtered out from the received plurality of data according to a preset rule.
  • the user sends a voice command of “Querying News of Andy Lau” through the public number
  • the public number can generate multiple operation requests according to the instruction, and send it to the server of the plurality of news applications, and the server of the plurality of news applications operates according to the operation.
  • the request query operation is performed, and the related news that is queried is returned to the public number. If the current public number preset rule is: obtaining the latest ten news, the public number selects the latest ten news items from the received news data.
  • displaying the target data includes: displaying the target data on the screen of the client, wherein the client is different from the third-party application; or playing the target data by voice on the client.
  • the target data may be presented to the user in multiple manners.
  • the target data may be displayed on the screen or by voice. Play to the user.
  • the foregoing method may be performed in various manners, such as using a voice APP, a voice public number, a smart speaker, a smart watch, etc., and the following specific examples are as follows:
  • the voice APP is used to execute the above method, and the currently received voice command is “taking a taxi to XXX place”, the voice APP receives the command, extracts keywords in the voice command, generates an operation request, and sends the message to the server of the taxi application, and takes a taxi.
  • the application server subscribes the user to the "XXX place” from the user's location according to the operation request, and displays the taxi result and the taxi information on the user's user screen or the voice APP display interface.
  • the voice public number is "query express information”
  • the public number extracts the keyword generation operation request, and sends it to the express application server, and the express application server searches according to the operation request.
  • the user's courier information returns the found data to the public number, and the public number displays the courier data in the public number window.
  • the currently received voice command is "query today's entertainment news”
  • the smart speaker extracts keywords from the voice command, and generates an operation request according to the keyword, and sends the operation request to the news application.
  • the server the news application server finds the entertainment news of the day and sends it to the smart speaker. After receiving the entertainment news returned by the server, the smart speaker plays the news through the form of voice.
  • the current watch receives the voice command as "query the currently present movie", and after the smart watch generates the operation request, sends the operation request to the server of the relevant movie application, and the server looks for the current In the movie, the data information is returned to the smart watch, and the smart watch can play the movie information to the user on the screen of the watch displayed by the movie information according to the user's setting, or in the form of voice.
  • the information collection page includes an input box for the user to input all the order element information, and the user can input all the order element information in the input box.
  • FIG. 7 exemplarily shows a schematic diagram of an information collection page 30.
  • the information collection page 30 includes a movie input box 31, a theater input box 32, a time input box 33, and a number of people input box 34.
  • the user inputs the movie name in the movie input box 31 according to the actual ticket purchase request, inputs the theater name in the theater input box 32, inputs the viewing time in the time input box 33, and inputs the number of people watching in the number input box 34.
  • the server sends an information collection page to the client when it detects that the client has a subscription requirement. For example, after the client sends a "I want to watch a movie" user input message or a user input message with similar meaning to the server, the server sends a message collection page to the client.
  • step 202 the client sends a first type of user input message to the server.
  • the server receives the first type of user input message sent by the client.
  • the client may convert the first type of user input message in the form of voice into the first type of user input message in text form. And sending a first type of user input message in text form to the server; or the client can directly send the first type of user input message in the form of voice to the server, and the server inputs the first type of user in the form of voice The message is converted to a first type of user input message in text form.
  • the voice recognition technology can be adopted by converting the user input message from a voice form to a text form.
  • step 203 the server acquires a virtual resource that matches all the subscription element information.
  • the server acquires an electronic ticket that matches all the ticketing element information.
  • the server search obtains an electronic ticket that matches all of the ticketing element information.
  • An electronic ticket database is stored in the server, and related data of the electronic ticket is recorded in the electronic ticket database.
  • a server ticket database is stored in the server, and movie ticket data is recorded in the movie ticket database.
  • the above movie ticket data may include: the screening time of each movie currently being released in each theater, the screening time of each screening session, and the seat ordering situation.
  • step 203 includes the following sub-steps:
  • Step 203a The server selects, from the movie ticket database, a screening session having the same movie name and theater name, a time interval between the showtime and the viewing time being less than a preset threshold, and the number of remaining tickets is not less than the number of viewers;
  • the preset threshold is a preset experience value, for example, 60 minutes.
  • the server selects the number of screening sessions with the smallest time interval between the showtime and the viewing time.
  • step 203b the server selects a seat corresponding to the number of people watching from the selected seats of the selected screening event, and generates a movie ticket according to the selected seat.
  • the optional seats for the screenings are those that have not been ordered in the screening.
  • the server randomly selects a seat that matches the number of viewers from the optional seats of the selected screenings described above.
  • the server selects a seat that matches the number of people watching and has the highest priority from the optional seats of the selected screenings.
  • the server can prioritize the individual seats according to the position of each seat, for example, the position in the center of the site has a higher priority, and the seats around the site have a lower priority. In the above manner, the user can automatically select the best viewing seat, which can improve the user experience while improving system performance.
  • the movie ticket data is cached in the local database by the server, which helps to improve the efficiency of the server searching for the movie ticket.
  • the server can periodically update the movie ticket database to ensure the accuracy and real-time nature of the movie ticket data stored in the movie ticket database. For example, the server acquires the latest movie ticket data every predetermined time interval; compares the latest movie ticket data with the movie ticket data cached in the movie ticket database; if the two are different, the movie stored in the movie ticket database The ticket data is updated to the latest movie ticket data described above; if the two are the same, the update operation is not performed.
  • the predetermined time interval described above is set according to actual needs, such as 1 minute, 10 minutes, and the like.
  • Step 204 The server generates virtual resource information for ordering the virtual resource.
  • the virtual resource information includes information about the virtual resource, and the virtual resource information refers to the virtual resource order.
  • the virtual resource information may be referred to as electronic ticket information
  • the electronic ticket information includes related information of the electronic ticket
  • the electronic ticket information refers to an electronic ticket order.
  • the movie ticket information (or "movie ticket order") includes the movie name, the movie name, the show time, the seat number, and the order amount corresponding to the movie ticket.
  • Step 205 The server sends virtual resource information to the client.
  • the client receives the virtual resource information sent by the server.
  • the method further includes: the client displaying the virtual resource information.
  • the client After receiving the electronic ticket information, the client displays the electronic ticket information and the corresponding payment control. After confirming that the information in the electronic ticket information is correct, the user triggers the payment control to complete the online payment process, thereby completing the online purchase of the electronic ticket.
  • the method provided by the embodiment of the present invention collects all the subscription element information at one time, and the client sends all the subscription element information to the server together, and the server searches for the matching virtual resource and generates corresponding
  • the virtual resource order which reduces the number of interactions between the client and the server during the entire ordering process, helps to improve the operational efficiency of ordering virtual resources online, and saves transmission resources between the client and the server.
  • FIG. 8 is a flowchart of another method for acquiring information provided by an embodiment of the present invention. This method can be applied to the implementation environment shown in FIG. The method can include the following steps:
  • step 401 the client obtains a user input message.
  • a user input message refers to a message input by a user.
  • the manner in which the user inputs the message is not limited.
  • the user can input the user input message in the form of voice through the microphone, and the user can also input the user input message in the form of text through the input method program, and the user can also trigger the preset corresponding to the preset button by triggering the preset button displayed by the client.
  • the message is entered as a user. For example, the client displays the "I want to watch a movie" button, and the user clicks the button to trigger the input user input message as "I want to watch a movie.”
  • Step 401 includes the following possibilities:
  • the client obtains a first type of user input message, and the first type of user input message refers to a user input message carrying all the subscription element information;
  • the first type of user input message is: Help me book 2 movie tickets for Dr. X of Dr. X at 8:00 pm today.
  • the client obtains a second type of user input message, and the second type of user input message refers to a user input message carrying part of the subscription element information;
  • the second type of user input message is: I want to see Deep Sea Hao X at 3 o'clock this afternoon.
  • the second type of user input message of the above example includes only the movie name and the viewing time, but does not include the theater name and the number of people watching.
  • the client obtains a third type of user input message, and the third type of user input message refers to a user input message that does not carry the subscription element information;
  • the third type of user input message is: What to eat today.
  • the client obtains a user input message input in the chat conversation interface by using a chat conversation manner.
  • the chat dialog interface may be a chat dialogue interface between the user and the AI robot, and the AI robot may be regarded as a client or may be regarded as providing a client.
  • the server for the background service.
  • the user's virtual resource subscription requirement is obtained by using a friendly interaction with the user, and a new scenario and method for ordering virtual resources online is provided.
  • step 402 the client sends a user input message to the server.
  • the server receives a user input message sent by the client.
  • the client may convert the user input message in a voice form into a user input message in a text form, and send a user input message in a text form to the server;
  • the client can directly send the user input message in the form of voice to the server, and the server converts the user input message in the form of voice into a user input message in the form of text.
  • the voice recognition technology can be adopted by converting the user input message from a voice form to a text form.
  • step 403 the server determines the type of the user input message.
  • the type of the user input message is any one of the first type, the second type, and the third type described above.
  • the server identifies the order element information from the user input message and determines the type of the user input message based on the recognition result. If the server identifies all the subscription element information from the user input message, determining that the type of the user input message is the first type; if the server identifies part of the subscription element information from the user input message, determining that the type of the user input message is The second type; if the server does not recognize the ordering element information from the user input message, it is determined that the type of the user input message is the third type.
  • the server may use keyword recognition technology, semantic analysis technology or a combination of the above two techniques to identify order element information from user input messages.
  • the server detects whether the user input message matches the basic message template; if the user input message matches the basic message template, the server uses the message variable template generated based on the basic message template to identify the subscription element information from the user input message. If the user input message does not match the basic message template, the server determines that the user input message does not carry the subscription element information, that is, determines that the type of the user input message is the third type.
  • the basic message template is used to determine whether the user input message carries the subscription element information.
  • the server uses the message variable template to identify the order element information from the user input message, and further obtains the order element information according to the identification.
  • the number of items determines whether the type of the user input message is the first type or the second type.
  • the message variable template is used to identify the extracted ordering element information from the user input message.
  • the basic message template and the message variable template may be constructed by using a regular expression to determine whether the user input message carries the order element information in the regular expression, and enter the message from the user in the case of determining that the user input message carries the order element information.
  • the identification identifies the order element information.
  • the server starts from step 404; if the type of the user input message is the second type, the server starts from step 408; if the type of the user input message is For three types, the server starts execution from step 410 below.
  • Step 404 If the type of the user input message is the first type, the server acquires a virtual resource that matches all the subscription element information carried in the user input message.
  • Step 405 The server generates virtual resource information for ordering the virtual resource.
  • step 406 the server sends virtual resource information to the client.
  • the client receives the virtual resource information sent by the server.
  • step 406 the method further includes the following step 407:
  • step 407 the client displays the virtual resource information.
  • steps 404 to 406 are the same as or similar to the steps 203 to 205 in the embodiment shown in FIG. 2 .
  • steps 203 to 205 are not described herein again.
  • Step 408 If the type of the user input message is the second type, the server sends an information collection page to the client.
  • the client receives the information collection page sent by the server.
  • the server cannot accurately search for the acquired virtual resource based on the order element information of the part. For example, if the user enters the message as "I want to see Shenhaihao X at 3 o'clock this afternoon", the server can only identify 2 pieces of ticket purchase information, that is, the title of the movie and the viewing time, but it is not sure of the name and view of the theater. The number of people, so the server could not accurately search for the movie ticket.
  • the server sends a message collection page to the client, which is used to collect all the subscription element information.
  • the information collection page includes the order element information of the portion identified from the second type of user input message.
  • the “Deep Sea Hao X” has been filled in the video input box, and “Today 15:00” has been filled in the time input box, and the theater input box and the number of people input The corresponding purchase factor information is not filled in the box, waiting for the user to add.
  • step 409 the client displays an information collection page.
  • the client displays the information collection page to the user, so that the user can input all the subscription element information in the information collection page according to the actual order requirement. For example, the user inputs "xx theater” in the theater input box, enters "3 people” in the number input box, and confirms the submission, the client obtains all four pieces of purchase element information.
  • the client and the server perform the following steps (not shown) to obtain virtual resource information (ie, virtual resource order): the client acquires all the subscription element information input in the information collection page, according to all acquired Ordering the element information, generating a first type of user input message, and sending a first type of user input message to the server; the server receiving the first type of user input message sent by the client, acquiring the first type of user input message The virtual resource that matches all the subscription element information that is carried, generates virtual resource information for ordering the virtual resource, and sends virtual resource information to the client; the client receives the virtual resource information sent by the server.
  • virtual resource information ie, virtual resource order
  • the server obtains the feature information of the user account of the login client
  • the feature information of the user account is used to indicate the personal characteristics of the user corresponding to the user account.
  • the feature information acquired by the server is also different for the ordering requirements of different types of virtual resources.
  • the feature information acquired by the server includes, but is not limited to, at least one of the following: current geographic location, commonly used theater name, commonly used movie viewing time, commonly used viewing time, preferred movie type, and historical view. Shadow recording, etc.
  • the feature information acquired by the server includes, but is not limited to, at least one of the following: a favorite star, a historical ticket purchase record, a current geographic location, a commonly used number of viewers, and the like.
  • the feature information acquired by the server includes, but is not limited to, at least one of the following: a commonly used flight number, a commonly used ticket purchaser, a commonly used flight position, a preferred airline, a historical flight record, and the like.
  • the feature information acquired by the server includes, but is not limited to, at least one of the following: a commonly used housekeeping service, a commonly used service item, a common service time, a historical housekeeping service order record, and the like.
  • the server generates at least one piece of recommendation information of the order element information according to the feature information of the user account.
  • the server generates at least one piece of recommendation information of the order element information by analyzing the feature information of the user account.
  • the recommendation information of the order element information refers to the order element information recommended to the user based on the personal characteristics of the user. For example, the server selects the theater closest to the current geographic location as the recommendation information of the theater name according to the current geographic location of the user. For another example, the server uses the number of commonly used viewers as the recommended information of the number of viewers based on the number of viewers commonly used by the user. For another example, the server uses, as the recommendation information of the movie name, the movie of the movie type currently in the currently being released movie according to the type of the movie that the user prefers.
  • the server determines at least one of a commonly used theater name, a commonly used movie viewing time, a commonly used viewing time, and a preferred movie type according to the historical viewing record, and further generates a ticket purchasing element according to the determined information. Recommended information for the information.
  • the information collection page sent by the server to the client further includes the recommendation information of the order element information, so that the client displays the information of the order element information in the corresponding input box while displaying the information collection page, if the order element
  • the recommendation information of the information just meets the actual ordering requirements of the user, so the user does not need to manually input the ordering element information, which simplifies the user operation.
  • the information collection page sent by the server to the client includes the order element information obtained by the item, and The recommendation information of the order element information is not included; if the order element information is not recognized from the user input information, the information collection page sent by the server to the client may include the recommendation information of the order element information.
  • Step 410 If the type of the user input message is the third type, the server sends the user input message to at least two smart chat systems.
  • the server invokes the smart chat system to perform an artificial intelligence dialogue with the user.
  • the server interfaces with one or more smart chat systems.
  • the server interfaces with at least two smart chat systems.
  • Different smart chat systems have different message response strategies. For example, for the same sentence user input message "What to eat today", the reply message generated by the intelligent chat system A is "to eat the old Beijing noodles today”, the reply message generated by the intelligent chat system B is "I don't eat, charge me” Just do it.”
  • different smart chat systems can also have different styles, such as the ability to imitate the voices of different characters such as maids, warm men, and uncles.
  • Step 411 The server receives a reply message corresponding to the third type of user input message sent by each smart chat system.
  • Step 412 The server acquires a matching degree between each reply message and a third type of user input message.
  • the manner of calculating the matching degree between the reply message and the third type of user input message is not limited.
  • the server performs semantic analysis on the third type of user input message and reply message based on the semantic analysis algorithm, and calculates the semantic matching degree between the reply message and the third type of user input message.
  • Step 413 The server determines a final reply message corresponding to the third type of user input message according to the matching degree.
  • the server selects the most matching reply message as the final reply message.
  • step 414 the server sends a final reply message to the client.
  • the client receives the final reply message sent by the server.
  • the client will then finally reply to the message for display. For example, when the final reply message is in text form, the client displays the final reply message; when the final reply message is in voice form, the client plays the final reply message.
  • the server is connected to at least two smart chat systems to provide a more diverse artificial intelligence chat experience for the user.
  • the message acquired by the client may also be a preset message.
  • the preset message refers to a preset message.
  • the preset message is used to express the requirement of ordering a virtual resource, but the order element information is not carried in the preset message.
  • the default messages include "I want to watch a movie", "I want to book a movie ticket”, "I want to buy a movie ticket”, and the like.
  • the number of the preset messages may be one, or may be multiple, which is not limited by the embodiment of the present invention.
  • the client After obtaining the preset message, the client sends a preset message to the server; after receiving the preset message, the server sends a message collection page to the client; the client receives the information collection page sent by the server, and displays the information collection page.
  • the information collection page is used to collect all ordering element information.
  • the information collection page includes recommendation information of at least one order element information. Then, the client and the server follow the steps described above to obtain the virtual resource information (that is, the virtual resource order), which is not described in this embodiment. For details, refer to the description after step 409.
  • the server may first determine whether the message is a preset message; if the message is a preset message, the server starts executing the step of sending the information collection page to the client; if the message is not
  • the preset message indicates that the message is a user input message of any of the above types, and the server starts from the step of determining the type of the user input message.
  • the server after receiving any message sent by the client, the server first determines whether the message is a preset message, and if the message is a preset message, sends an information collection page to the client, thereby improving The efficiency of the server's response to preset messages.
  • the manner in which the user inputs the preset message is not limited.
  • the user may input the preset message in the form of text, or input the preset message in the form of voice, or may adopt Preset buttons to enter preset messages, and more.
  • the method provided by the embodiment of the present invention collects all the subscription element information at one time, and the client sends all the subscription element information to the server together, and the server searches for the matching virtual resource and generates corresponding
  • the virtual resource order which reduces the number of interactions between the client and the server during the entire ordering process, helps to improve the operational efficiency of ordering virtual resources online, and saves transmission resources between the client and the server.
  • the server acquires part of the order element information, by sending the information collection page to the client, all the order element information is collected at one time, so that the virtual resource order can be generated only by two interactions between the client and the server.
  • the number of interactions compared to related technologies is also shortened.
  • the server obtains the feature information of the user account of the login client, generates the recommendation information of the at least one order element information according to the feature information of the user account, and displays the recommendation information of the order element information in the information collection page, thereby realizing Automatically recommending appropriate ordering element information to users helps reduce user input and further improves ordering efficiency.
  • the description is only made from the perspective of interaction between the client and the server.
  • the steps on the client side can be separately implemented as the information acquisition method on the client side, and the steps on the server side can be separately implemented as the information providing method on the server side.
  • FIG. 9 is a flowchart of another method for acquiring information provided by an embodiment of the present invention.
  • the client obtains the virtual resource subscription requirement of the user in a chat conversation manner.
  • the method can include the following steps:
  • step 501 the client displays a chat dialog interface with the subscription server.
  • the chat dialogue interface refers to a user interface for acquiring a virtual resource subscription requirement of a user by means of a chat conversation.
  • the chat conversation interface may be a chat conversation interface between the client (ie, the user) and the subscription server.
  • the ordering server is a server that provides background services to the client, that is, the servers in the above-described embodiments of Figs. 2 and 8.
  • the ordering server can be called a subscription robot with AI capabilities.
  • the client is a "smart assistant” client and the subscription server is a ticketing server.
  • the “Smart Assistant” client obtains the user's movie ticket ordering requirement in a chat conversation.
  • the user opens the "Smart Assistant" client, which displays the chat dialog interface 60 with the booking server.
  • the chat dialog interface 60 includes a welcome word 61, a text input field 62, and a voice input button 63.
  • the text entry field 62 is used to trigger the call input method to enable the user to enter a user input message in text form.
  • the voice input button 63 is used to trigger the call of the microphone so that the user can input a user input message in the form of a voice.
  • the chat conversation interface 60 further includes a plurality of shortcut function buttons, such as the "I want to watch movies" shortcut function button 64 for online movie ticket purchase, and the "I want to book the restaurant online”.
  • shortcut function buttons such as the "I want to watch movies" shortcut function button 64 for online movie ticket purchase, and the "I want to book the restaurant online”.
  • "I want to take a taxi” shortcut function button for online calling not marked in the figure).
  • Step 502 The client acquires a first type of user input message input in the chat conversation interface.
  • the first type of user input message refers to a user input message carrying all of the order element information
  • the order element information refers to necessary information required to order virtual resources online.
  • the client obtaining the first type of user input message entered in the chat session interface includes the following possible implementations:
  • the client obtains a first type of user input message entered in text form in the chat session interface.
  • the user can input the following text content in the text input field 62 of the chat dialogue interface 60. "At 8 o'clock this evening, 4 people go to the xx theater to watch me not Pan Xlian" and submit it to the "smart assistant" client. Accordingly, the "smart assistant" client obtains a first type of user input message entered in text form in the chat session interface 60.
  • the client obtains a first type of user input message entered in a voice form in the chat session interface.
  • the client obtains all the subscription element information input in the information collection page of the chat conversation interface; and generates a first type of user input message carrying all the subscription element information.
  • the information collection page includes an input box for the user to input all the order element information, and the user can input all the order element information in the input box.
  • An exemplary schematic of the information collection page can be seen in FIG.
  • the "smart assistant" client displays an information collection page 65 in the chat conversation interface 60.
  • the user fills in all the purchase element information in the information collection page 65, including the movie name, the name of the theater, the viewing time, and the number of people watching.
  • the user fills in the video name on the information collection page 65, "I am not Pan Xlian", the name of the theater “xx Studio (Shenda Store)", and the viewing time "17:00 today.
  • the input message carries all of the above purchase element information.
  • the user may directly input the order element information in the input box of the information collection page; or the user may trigger the display of the candidate corresponding to the order element information, and select the order element information to be input from the candidate.
  • the information collection page is sent to the client by the subscription server.
  • the client obtains the information collection page from the subscription server and displays it in the following two cases.
  • the client obtains a second type of user input message entered in the chat conversation interface, and the second type of user input message refers to a user input message carrying part of the subscription element information; to the subscription server Sending a second type of user input message; receiving an information collection page sent by the subscription server; displaying an information collection page in the chat conversation interface.
  • the booking server can only identify 2 pieces of ticket purchase element information, that is, the movie name and viewing time, but Uncertainty about the name of the theater and the number of people watching, so the booking server could not accurately search for the movie ticket.
  • the booking server sends a message collection page to the client for collecting all the purchase element information. After receiving the information collection page, the client displays the information collection page in the chat conversation interface.
  • the information collection page includes the order element information of the portion identified from the second type of user input message. Still in combination with the above example, in the information collection page sent by the booking server to the client, "Deep Sea Hao X" has been filled in the video input box, and "Today 21:00” has been filled in the time input box, and the theater input box and The corresponding purchase factor information is not filled in the number input box, waiting for the user to add.
  • the client obtains the preset message input in the chat dialog interface; sends a preset message to the ordering server; receives the information collecting page sent by the ordering server; and displays the information collecting page in the chat dialog interface.
  • the preset message refers to a preset message.
  • the preset message is used to express the requirement of ordering a virtual resource, but the order element information is not carried in the preset message.
  • the default messages include "I want to watch a movie”, "I want to book a movie ticket”, "I want to buy a movie ticket”, and the like.
  • the number of the preset messages may be one, or may be multiple, which is not limited by the embodiment of the present invention.
  • the "Smart Assistant” client sends a preset message to the booking server, and the content of the preset message is "I want to watch a movie”.
  • the user can also input a preset message for expressing the ordering requirement by text or voice. For example, the user inputs text information of "I want to watch a movie" in the text input field 62 of the chat dialog interface 60, or the user clicks the voice input button 63 in the chat dialog interface 60 to input voice information of "I want to order a movie ticket”. .
  • the ordering server After detecting that the user input message sent by the client is a preset message, the ordering server sends a message collection page to the client for collecting all the subscription element information. After receiving the information collection page, the client displays the information collection page in the chat conversation interface.
  • the information collection page includes recommendation information of at least one order element information.
  • recommendation information of at least one order element information.
  • step 503 the client sends a first type of user input message to the subscription server.
  • the ordering server After receiving the first type of user input message sent by the client, the ordering server acquires the virtual resource that matches all the subscription element information, and then generates virtual resource information (that is, the virtual resource order) for ordering the virtual resource. And send virtual resource information to the client.
  • virtual resource information that is, the virtual resource order
  • Step 504 The client receives the virtual resource information sent by the subscription server.
  • step 505 the client displays the virtual resource information.
  • the client After receiving the virtual resource information, the client displays the virtual resource information and the corresponding payment control. After confirming that the information in the virtual resource information is correct, the user triggers the payment control to complete the online payment process, thereby completing the virtual resource online ordering.
  • the client displays the movie ticket order 66 in the chat conversation interface 60.
  • the "payment" button is clicked to complete the online payment process, thereby completing. Movie tickets are purchased online.
  • the service provider and the user are connected in a chat interaction manner.
  • the "smart assistant” will provide according to the user's needs.
  • the corresponding information and services (including but not limited to movie ticket ordering services) help to enhance the fun and effectively improve the service usage.
  • the "smart assistant” can also provide some related services for the user, such as recommending the restaurant near the theater for the user, planning the route to the theater in advance for the user, and providing the car service, and the like.
  • the method provided in this embodiment acquires the virtual resource subscription requirement of the user by using a friendly interaction with the user, and provides a new scenario and manner for ordering the virtual resource online.
  • the server 70 includes a messaging module 71, a message identification module 72, a message distribution module 73, and a message filtering module 74.
  • the messaging module 71 is configured to send and receive messages, including receiving messages from the client and sending messages to the client.
  • the message identification module 72 is configured to determine whether the message received from the client is a preset message, and if not the preset message, further identify the type of the message.
  • the message identification module 72 provides two functions of basic service identification and message variable identification.
  • the basic service identification function is used to determine whether the message received from the client is a preset message. If the message is a preset message, the response message corresponding to the preset message is obtained according to the message template file, and the response message is sent. The message is sent to the message sending and receiving module 71, and the response message is sent to the client through the message sending and receiving module 71. If the message is not the preset message, the message is sent to the message variable identification function for processing.
  • the message template file includes a correspondence between at least one set of preset messages and response messages. For example, the message template file includes a correspondence between the preset message “I want to watch a movie” and the information collection page.
  • the message variable identification function is used to determine whether the message is a first type of user input message, a second type of user input message, or a third type of user input message.
  • the message variable identification function is specifically configured to: detect whether the user input message matches the basic message template; if the user input message matches the basic message template, determine that the type of the user input message is the first type or the second Type, further adopting a message variable template generated based on the basic message template to identify the order element information from the user input message, and when all the order element information is identified, the first type of user input message is invoked, and the search service is invoked to obtain the virtual resource.
  • the description is a second type of user input message, and the information collection page is generated and sent to the client; if the user input message does not match the basic message template, the third type of user is indicated. The message is entered and the third type of user input message is passed to the message distribution module 73 for further processing.
  • the message distribution module 73 is connected to the smart chat system, and is configured to distribute the third type of user input message to one or more smart chat systems, and obtain a reply message corresponding to the third type of user input message sent by each smart chat system. And calculate the degree of matching between each reply message and the third type of user input message.
  • the message distribution module 73 is further configured to send each reply message and the corresponding matching degree to the message filtering module 74.
  • the message filtering module 74 is configured to determine a final reply message corresponding to the third type of user input message according to the matching degree, and send the final reply message to the message transmitting and receiving module 71, and send the final reply message to the client through the message sending and receiving module 71.
  • the modules involved in the above examples are functional modules that are divided according to functions. In the embodiment of the present invention, only the division of each functional module is illustrated. In an actual application, the function allocation of the server may be completed by different functional modules according to requirements, that is, the internal structure of the server is divided into different functional modules. To complete all or part of the functions described above.
  • the server cluster includes a message server 81, a processing server 82, a resolution server 83, and a proxy server 84.
  • the processing server 82 has a communication connection with the message server 81, the resolution server 83, and the proxy server 84, respectively, and the communication connection can be established based on a wired network or a wireless network.
  • the message server 81 is mainly used for sending and receiving messages, including receiving messages from the client and sending messages to the client.
  • the message server 81 is further configured to store the message, including storing the message received from the client and the message sent to the client, so as to be able to find the historical message record when needed.
  • the processing server 82 is mainly configured to search for and acquire virtual resources matching the entire order element information based on all the order element information.
  • the parsing server 83 is mainly used to parse the message, and the order element information is identified from the message.
  • the proxy server 84 is primarily used to generate virtual resource information (ie, virtual resource orders).
  • FIG. 13 a flowchart of an information acquisition method provided by an embodiment of the present invention is shown based on the server cluster shown in FIG. 12 .
  • Step 901 The client sends a message to the message server.
  • the message server receives the message sent by the client
  • Step 902 the message server stores the message
  • Step 903 The message server forwards the message to the processing server.
  • the processing server receives the message forwarded by the message server
  • Step 904 The processing server forwards the message to the parsing server when determining that the message needs to be parsed;
  • the parsing server receives the message forwarded by the processing server
  • Step 905 The parsing server parses the message, and identifies the order element information from the message;
  • Step 906 the parsing server sends the order element information to the processing server
  • the processing server receives the subscription element information sent by the resolution server;
  • Step 907 if the processing server receives all the subscription element information, the processing server searches for the virtual resource that matches all the subscription element information;
  • Step 908 The processing server sends a subscription request to the proxy server, where the subscription request is used to request to subscribe to the virtual resource.
  • the proxy server receives the subscription request sent by the processing server
  • Step 909 the proxy server generates a virtual resource order corresponding to the subscription request
  • Step 910 The proxy server sends the virtual resource order to the processing server.
  • the processing server receives the virtual resource order sent by the proxy server
  • Step 911 the processing server generates an order message carrying an order of the virtual resource
  • Step 912 The processing server sends an order message to the message server.
  • the message server receives the order message sent by the processing server
  • Step 913 the message server stores an order message
  • Step 914 the message server sends an order message to the client.
  • the client receives an order message sent by the message server.
  • the technical solution provided by the present invention is mainly described in the application scenario in which a movie ticket is ordered online.
  • the technical solution provided by the invention is also applicable to online ordering scenarios of other products or services, such as ordering concert tickets online, ordering performance tickets online, ordering air tickets online, ordering various life services online, ordering restaurants online, calling cars online, etc. Wait.
  • the client obtains all the subscription element information at one time, and sends all the subscription element information to the server, so that the server generates a corresponding order accordingly, thereby reducing the number of interactions between the client and the server.
  • FIG. 14 is a block diagram of an information acquiring apparatus according to an embodiment of the present invention.
  • the device has the function of implementing the client side in the above method example.
  • the functions may be implemented by hardware, or may be implemented by hardware by executing corresponding software.
  • the apparatus may include: a first obtaining module 1010, a first sending module 1020, and an information receiving module 1030.
  • the first obtaining module 1010 is configured to obtain a user input message of a first type, where the user input message of the first type refers to a user input message carrying all the subscription element information, and the subscription element information refers to an online subscription virtual The necessary information needed for the resource.
  • the first sending module 1020 is configured to send the first type of user input message to a server.
  • the information receiving module 1030 is configured to receive virtual resource information that is sent by the server after acquiring the virtual resource that matches all the subscription element information, where the virtual resource information is used for online ordering and all the ordering elements.
  • the virtual resources that match the information are configured to receive virtual resource information that is sent by the server after acquiring the virtual resource that matches all the subscription element information, where the virtual resource information is used for online ordering and all the ordering elements. The virtual resources that match the information.
  • the apparatus further includes: an information display module.
  • An information display module is configured to display the virtual resource information.
  • the apparatus further includes: a second obtaining module, a second sending module, a page receiving module, and a page displaying module.
  • the second obtaining module is configured to acquire a second type of user input message, where the second type of user input message refers to a user input message carrying part of the order element information.
  • a second sending module configured to send the second type of user input message to the server.
  • a page receiving module configured to receive an information collection page sent by the server after identifying the second type of user input message, where the information collection page is configured to collect the entire subscription element information.
  • the information collection page includes the part of the subscription element information.
  • a page display module for displaying the information collection page.
  • the apparatus further includes: a third obtaining module, a third sending module, a page receiving module, and a page displaying module.
  • the third obtaining module is configured to acquire a preset message.
  • the third sending module is configured to send the preset message to the server.
  • the page receiving module is configured to receive an information collection page sent by the server after identifying the preset message, where the information collection page is used to collect all the subscription element information.
  • a page display module for displaying the information collection page.
  • the information collection page includes at least one piece of recommendation information of the order element information, where the recommendation information of the order element information is generated according to the feature information of the user account of the login client, where the feature information is used to indicate the user.
  • the apparatus further includes: a fourth obtaining module, a fourth sending module, a reply receiving module, and a reply display module.
  • the fourth obtaining module is configured to obtain a third type of user input message, where the third type of user input message refers to a user input message that does not carry the subscription element information.
  • a fourth sending module configured to send the third type of user input message to the server, to enable the server to send the third type of user input message to at least two smart chat systems, and receive each of the And a reply message corresponding to the third type of user input message sent by the smart chat system, and determining, according to a matching degree between each of the reply message and the third type of user input message, corresponding to the third The type of user enters the final reply message for the message.
  • a reply receiving module configured to receive the final reply message sent by the server.
  • the device has the function of implementing the server side in the above method example.
  • the functions may be implemented by hardware, or may be implemented by hardware by executing corresponding software.
  • the apparatus may include: a first receiving module 1110, a resource obtaining module 1120, an information generating module 1130, and an information sending module 1140.
  • the first receiving module 1110 is configured to receive a first type of user input message sent by the client, where the first type of user input message refers to a user input message carrying all the subscription element information, where the order element information is Refers to the necessary information needed to order virtual resources online.
  • the resource obtaining module 1120 is configured to acquire a virtual resource that matches all the subscription element information.
  • the information generating module 1130 is configured to generate virtual resource information for ordering the virtual resource.
  • the information sending module 1140 is configured to send the virtual resource information to the client.
  • the apparatus further includes: a second receiving module and a page sending module.
  • the second receiving module is configured to receive a second type of user input message sent by the client, where the second type of user input message refers to a user input message carrying part of the subscription element information.
  • a page sending module configured to send an information collection page to the client, where the information collection page is configured to collect all the subscription element information.
  • the information collection page includes the part of the subscription element information.
  • the apparatus further includes: a third receiving module and a page sending module.
  • the third receiving module is configured to receive a preset message sent by the client.
  • a page sending module configured to send an information collection page to the client, where the information collection page is configured to collect all the subscription element information.
  • the device further includes: a feature acquiring module and an information generating module.
  • the feature obtaining module is configured to obtain feature information of a user account that is logged in to the client, where the feature information is used to indicate a user personal feature corresponding to the user account.
  • the information generating module is configured to generate, according to the feature information of the user account, the recommendation information of the at least one order element information.
  • the information collection page includes recommendation information of the order element information.
  • the apparatus further includes: a fourth receiving module, a message sending module, a reply receiving module, a matching degree acquiring module, a reply determining module, and a reply sending module.
  • the fourth receiving module is configured to receive a third type of user input message sent by the client, where the third type of user input message refers to a user input message that does not carry the subscription element information.
  • a message sending module configured to send the third type of user input message to at least two smart chat systems.
  • a reply receiving module configured to receive a reply message sent by each of the smart chat systems corresponding to the third type of user input message.
  • the matching degree obtaining module is configured to obtain a matching degree between each of the reply messages and the third type of user input message.
  • a reply determining module configured to determine, according to the matching degree, a final reply message corresponding to the third type of user input message.
  • a reply sending module configured to send the final reply message to the client.
  • the virtual resource is a movie ticket
  • the entire subscription element information includes: a movie name, a theater name, a viewing time, and a viewing number.
  • the resource obtaining module includes: a field selection unit and a movie ticket generating unit.
  • a session selection unit configured to select, from the movie ticket database, the same as the movie name and the theater name, the time interval between the showtime and the viewing time is less than a preset threshold, and the number of the remaining votes is not less than the view The number of screenings for the number of people.
  • the movie ticket generating unit is configured to select a seat corresponding to the number of people watching from the optional seats of the screening event, and generate the movie ticket according to the selected seat.
  • An exemplary embodiment of the present invention also provides an information acquisition system, including: a client and a server.
  • the client includes an information acquisition apparatus as provided in the embodiment shown in FIG. 14 or based on an alternative embodiment of the embodiment shown in FIG.
  • the server includes an information providing apparatus as shown in the embodiment shown in FIG. 15 or based on an alternative embodiment of the embodiment shown in FIG.
  • FIG. 16 is a block diagram of an information acquiring apparatus according to an embodiment of the present invention.
  • the device has the function of implementing the client side in the above method example.
  • the functions may be implemented by hardware, or may be implemented by hardware by executing corresponding software.
  • the device may include an interface display module 1210, a first acquisition module 1220, a first transmission module 1230, and an information display module 1240.
  • the interface display module 1210 is configured to display a chat dialogue interface with the subscription server.
  • the first obtaining module 1220 is configured to obtain a first type of user input message input in the chat conversation interface, where the first type of user input message refers to a user input message carrying all the subscription element information.
  • the order element information refers to the necessary information required to order virtual resources online.
  • the first sending module 1230 is configured to send the first type of user input message to the subscription server.
  • the information display module 1240 is configured to display the received virtual resource information, and the virtual resource information is used to order virtual resources that match the entire subscription element information.
  • the first obtaining module 1220 includes:
  • a text obtaining unit configured to acquire the first type of user input message input in text form in the chat conversation interface
  • a voice acquiring unit configured to acquire the first type of user input message input in a voice form in the chat conversation interface
  • An information acquiring unit configured to acquire all the subscription element information input in the information collection page of the chat conversation interface; and a message generating unit, configured to generate the first type that carries the entire subscription element information User input message.
  • the apparatus further includes: a second obtaining module, a second sending module, and a page display module.
  • a second acquiring module configured to acquire a second type of user input message input in the chat conversation interface, where the second type of user input message refers to a user input message carrying part of the subscription element information.
  • a second sending module configured to send the second type of user input message to the subscription server.
  • a page display module configured to display the received information collection page in the chat conversation interface.
  • the apparatus further includes: a third obtaining module, a third sending module, and a page display module.
  • the third obtaining module is configured to acquire a preset message input in the chat conversation interface.
  • a third sending module configured to send the preset message to the subscription server.
  • a page display module configured to display the received information collection page in the chat conversation interface.
  • the information collection page includes recommendation information of at least one order element information.
  • FIG. 17 is a schematic diagram of an optional voice interaction apparatus according to an embodiment of the present invention. As shown in FIG. 17, the voice interaction apparatus mainly includes:
  • the first receiving unit 610 is configured to receive a voice instruction, where the voice instruction is used to indicate that the target operation in the third-party application is performed.
  • a voice command is issued by the user to indicate a target operation in the third party application to be executed by the voice command.
  • the user sends a voice command “I want to check the weather forecast”.
  • the voice command indicates that the target operation requested by the user is to query the weather forecast, and the related third-party application is the weather forecast application; for example, the user issues a voice command.
  • "I want to take a taxi to XXX” the voice command indicates that the taxi operation in the taxi application needs to be performed, wherein the destination is "XXX", and the departure destination defaults to the location of the current GPS location.
  • the voice command can also be, but is not limited to, a voice command for inquiring express, a voice command for querying news, a query for movie information, and a voice command for purchasing a ticket.
  • the requesting unit 620 is configured to initiate an operation request to the server of the third-party application according to the voice instruction, where the operation request is used to request the server to perform the target operation.
  • the requesting unit 620 After receiving the voice instruction, the requesting unit 620 directly sends an operation request to the server of the third-party application according to the voice instruction, and the server of the third-party application may be, but not limited to, a server set on the network, by applying to the third party.
  • the server issues the above operation request, and requests the server to perform the target operation indicated by the voice instruction.
  • an operation request is initiated to the server of the weather forecast application, and the server of the weather forecast application queries the weather of the user's location.
  • the received voice command is “I want to take a taxi to XXX”, and initiates an operation request to the server of the taxi application.
  • the server of the taxi application finds and reserves the current rental from the user's location to “XXX”. car.
  • the second receiving unit 630 is configured to receive target data that is sent by the server in response to the operation request, where the target data is obtained by the server performing the target operation.
  • the target data is acquired, and the target data is returned to the party that issued the operation request, and the party that issues the operation request receives the target data returned by the server through the second receiving unit 630.
  • the party issuing the operation may be, but is not limited to, a public number, a mobile phone APP, a smart watch, and the like.
  • the voice command issued by the user in the public number is “I want to check the weather forecast”
  • the public number sends an operation request to the server of the weather forecast application according to the voice command, and requests the server to check the weather.
  • the forecasting the server performs the operation of querying the weather forecast according to the operation request, obtains the query result of the weather forecast, and returns the query result to the public number.
  • the display unit 640 is configured to display target data.
  • the display unit 640 After receiving the target data sent by the server of the third party application, the display unit 640 presents the target data to the user to complete the user's instruction. For example, the weather forecast query results are displayed to the user, and the winner shows the result of the taxi to the user.
  • the taxi result may be information such as whether the car is hit, the model of the car hit, the license plate, and the expected arrival time of the vehicle.
  • the receiving voice instruction is used, wherein the voice instruction is used to indicate that the target operation in the third-party application is performed; and the operation request is initiated to the server of the third-party application according to the voice instruction, where the operation request is used to request the service.
  • the terminal performs the target operation; the receiving server responds to the target data sent by the operation request, wherein the target data is obtained by the server performing the target operation; and the manner of displaying the target data is directly related to the server of the third-party application according to the voice instruction of the user.
  • Interacting, requesting the server to perform the target operation, and acquiring the target data achieves the purpose of obtaining the service without manual operation by the user, thereby simplifying the process of operating through the voice assistant, thereby solving the complicated operation of the voice assistant. problem.
  • the requesting unit includes: an extracting module, configured to extract a keyword in the voice instruction; and a determining module, configured to determine a server end of the third-party application according to the keyword, where the keyword has an association relationship with the third-party application; a module, configured to generate an operation request according to the keyword; and a sending module, configured to send an operation request to the server, to request the server to perform a target operation related to the keyword.
  • an extracting module configured to extract a keyword in the voice instruction
  • a determining module configured to determine a server end of the third-party application according to the keyword, where the keyword has an association relationship with the third-party application
  • a module configured to generate an operation request according to the keyword
  • a sending module configured to send an operation request to the server, to request the server to perform a target operation related to the keyword.
  • the extraction module when an operation request is initiated to a third-party application server according to the received voice instruction, the extraction module first extracts a keyword from the voice instruction, and the determining module extracts the The keyword determines the related third-party application, and the generating module generates an operation request according to the target operation indicated by the instruction, and finally the sending module sends an operation request to the server of the third-party application, and requests the server to perform the target operation according to the keyword.
  • the generating module includes: determining a submodule, configured to determine, according to the server, a communication protocol used by the server, where the communication protocol is a pre-agreed communication protocol; and the generating submodule is configured to be used according to the communication protocol and The keyword generates an operation request.
  • the requesting unit includes: a requesting module, configured to initiate an operation request to multiple server terminals of the plurality of third-party applications according to the voice instruction; and the second receiving unit includes: a receiving module, configured to receive the multiple services The terminal responds to the plurality of data sent by the operation request; and the screening module is configured to filter the target data from the plurality of data according to a preset rule that matches the operation request.
  • the third-party application when the operation request is sent to the server of the third-party application according to the received voice instruction, the third-party application may be multiple, and the received data returned by the server end is correspondingly There are also multiple, and the screening module filters the target data from the received plurality of data according to a preset rule.
  • the display unit comprises: a display module, configured to display the target data on the screen of the client, wherein the client is different from the third-party application; or a playing module, configured to play the target data by voice on the client.
  • the target data may be presented to the user in multiple manners.
  • the target data may be displayed on the screen or by voice. Play to the user.
  • the foregoing method may be performed in various manners, such as using a voice APP, a voice public number, a smart speaker, a smart watch, etc., and the following specific examples are as follows:
  • the voice APP is used to execute the above method, and the currently received voice command is “taking a taxi to XXX place”, the voice APP receives the command, extracts keywords in the voice command, generates an operation request, and sends the message to the server of the taxi application, and takes a taxi.
  • the application server subscribes the user to the "XXX place” from the user's location according to the operation request, and displays the taxi result and the taxi information on the user's user screen or the voice APP display interface.
  • the voice public number is "query express information”
  • the public number extracts the keyword generation operation request, and sends it to the express application server, and the express application server searches according to the operation request.
  • the user's courier information returns the found data to the public number, and the public number displays the courier data in the public number window.
  • the currently received voice command is "query today's entertainment news”
  • the smart speaker extracts keywords from the voice command, and generates an operation request according to the keyword, and sends the operation request to the news application.
  • the server the news application server finds the entertainment news of the day and sends it to the smart speaker. After receiving the entertainment news returned by the server, the smart speaker plays the news through the form of voice.
  • the current watch receives the voice command as "query the currently present movie", and after the smart watch generates the operation request, sends the operation request to the server of the relevant movie application, and the server looks for the current In the movie, the data information is returned to the smart watch, and the smart watch can play the movie information to the user on the screen of the watch displayed by the movie information according to the user's setting, or in the form of voice.
  • the above voice interaction method can be used as an independent method or combined with the above information acquisition method.
  • the combination of the above voice interaction method and the information acquisition method is an embodiment, and the voice interaction method and the information acquisition method are not limited to be protected as an independent method.
  • FIG. 18 it is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal is configured to implement the information acquisition method on the client side provided in the foregoing embodiment. Specifically:
  • the terminal 1300 may include an RF (Radio Frequency) circuit 1310, a memory 1320 including one or more computer readable storage media, an input unit 1330, a display unit 1340, a sensor 1350, an audio circuit 1360, and a WiFi (wireless fidelity, wireless).
  • the fidelity module 1370 includes a processor 1380 having one or more processing cores, and a power supply 1390 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 18 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 1310 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, receiving downlink information of the base station, and then processing it by one or more processors 1380; in addition, transmitting data related to the uplink to the base station.
  • the RF circuit 1310 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • SIM Subscriber Identity Module
  • RF circuitry 1310 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 1320 can be used to store software programs and modules, and the processor 1380 executes various functional applications and data processing by running software programs and modules stored in the memory 1320.
  • the memory 1320 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 1300 (such as audio data, phone book, etc.) and the like.
  • memory 1320 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1320 can also include a memory controller to provide access to memory 1320 by processor 1380 and input unit 1330.
  • Input unit 1330 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • the input unit 1330 may include an image input device 1331 and other input devices 1332.
  • the image input device 1331 may be a camera or an optical scanning device.
  • the input unit 1330 may further include other input devices 1332.
  • other input devices 1332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 1340 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 1300, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 1340 can include a display panel 1341.
  • the display panel 1341 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • Terminal 1300 can also include at least one type of sensor 1350, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1341 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1341 when the terminal 1300 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal 1300 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, not here Let me repeat.
  • Audio circuit 1360, speaker 1361, and microphone 1362 can provide an audio interface between the user and terminal 1300.
  • the audio circuit 1360 can transmit the converted electrical data of the received audio data to the speaker 1361, and convert it into a sound signal output by the speaker 1361; on the other hand, the microphone 1362 converts the collected sound signal into an electrical signal, by the audio circuit 1360. After receiving, it is converted into audio data, and then processed by the audio data output processor 1380, sent to, for example, another terminal via the RF circuit 1310, or outputted to the memory 1320 for further processing.
  • the audio circuit 1360 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1300.
  • WiFi is a short-range wireless transmission technology
  • the terminal 1300 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1370, which provides wireless broadband Internet access for users.
  • FIG. 18 shows the WiFi module 1370, it can be understood that it does not belong to the essential configuration of the terminal 1300, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 1380 is a control center of the terminal 1300 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1320, and recalling data stored in the memory 1320, The various functions and processing data of the terminal 1300 are performed to perform overall monitoring of the mobile phone.
  • the processor 1380 may include one or more processing cores; preferably, the processor 1380 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1380.
  • the terminal 1300 also includes a power source 1390 (such as a battery) for powering various components.
  • the power source can be logically coupled to the processor 1380 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 1390 can also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 1300 may further include a Bluetooth module or the like, and details are not described herein again.
  • terminal 1300 further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors.
  • the one or more programs described above include instructions for executing the above-described information acquisition method on the client side.
  • FIG. 18 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • This server is used to implement the server-side information providing method provided in the above embodiment. Specifically:
  • the server 1400 includes a central processing unit (CPU) 1401, a system memory 1404 including random access memory (RAM) 1402 and read only memory (ROM) 1403, and a system bus 1405 that connects the system memory 1404 and the central processing unit 1401.
  • the server 1400 also includes a basic input/output system (I/O system) 1406 that facilitates transfer of information between various devices within the computer, and mass storage for storing the operating system 1413, applications 1414, and other program modules 1415.
  • I/O system basic input/output system
  • the basic input/output system 1406 includes a display 1408 for displaying information and an input device 1409 such as a mouse, keyboard for user input of messages.
  • the display 1408 and the input device 1409 are both connected to the central processing unit 1401 by an input/output controller 1410 connected to the system bus 1405.
  • the basic input/output system 1406 can also include an input output controller 1410 for receiving and processing input from a plurality of other devices, such as a keyboard, mouse, or electronic stylus.
  • input-output controller 1410 also provides output to a display screen, printer, or other type of output device.
  • the mass storage device 1407 is connected to the central processing unit 1401 by a mass storage controller (not shown) connected to the system bus 1405.
  • the mass storage device 1407 and its associated computer readable medium provide non-volatile storage for the server 1400. That is, the mass storage device 1407 can include a computer readable medium (not shown) such as a hard disk or a CD-ROM drive.
  • the computer readable medium can include computer storage media and communication media.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid state storage technologies, CD-ROM, DVD or other optical storage, tape cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices.
  • RAM random access memory
  • ROM read only memory
  • EPROM Erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • the server 1400 may also be operated by a remote computer connected to the network through a network such as the Internet. That is, the server 1400 can be connected to the network 1412 through a network interface unit 1411 connected to the system bus 1405, or can be connected to other types of networks or remote computer systems (not shown) using the network interface unit 1411. .
  • the memory also includes one or more programs, the one or more programs being stored in a memory and configured to be executed by one or more processors.
  • the one or more programs described above include instructions for executing the above-described information providing method on the server side.

Abstract

Disclosed are a method for acquiring and providing information, a device, a system and a storage medium. The method comprises: acquiring a first type of user input message (201), the first type of user input message referring to a user input message carrying all ordering element information, wherein the ordering element information refers to information necessary for online ordering of a virtual resource; sending the first type of user input message to a server (202); and receiving virtual resource information sent by the server after acquiring a virtual resource matching all of the ordering element information, the virtual resource information being used for online ordering of said virtual resource. With the method, all of the ordering element information is collected at one time by a client and sent to a server, and the server searches for a matching virtual resource thereof and generates an order, thereby reducing the number of interactions between the client and the server in the entire ordering process, which improves the operation efficiency of online ordering of virtual resources and saves transmission resources between the client and the server.

Description

信息获取方法、提供方法、装置及***、存储介质Information acquisition method, providing method, device and system, and storage medium
本申请要求于2017年03月02日提交中国专利局、申请号为201710123278.1、发明名称为“语音交互方法和装置”的中国专利申请的优先权,以及于2017年03月28日提交中国专利局、申请号为201710193668.6、发明名称为“信息获取方法、提供方法、装置及***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application submitted to the China Patent Office on March 2, 2017, the application number is 201710123278.1, and the invention name is “Voice Interaction Method and Device”, and submitted to the Chinese Patent Office on March 28, 2017. The priority of the Chinese Patent Application No. 201710193668.6, entitled "Information Acquisition Method, Providing Method, Apparatus, and System" is incorporated herein by reference.
技术领域Technical field
本发明涉及互联网技术领域,具体而言,涉及一种信息获取方法、提供方法、装置及***、存储介质。The present invention relates to the field of Internet technologies, and in particular, to an information acquisition method, a method, a device, a system, and a storage medium.
背景技术Background technique
随着互联网技术的发展,用户能够通过互联网在线下单购买电子票,从而降低了用户购买电子票所需的时间成本。电子票是指能够在网络中传输并能够在终端上显示,且与纸质票具有相同功能的票据。目前,诸如电影票、演出门票、演唱会门票、球赛门票等票据都会以电子票的形式提供给用户,以方便用户购买。With the development of Internet technology, users can purchase electronic tickets online through the Internet, thereby reducing the time cost for users to purchase electronic tickets. An electronic ticket is a ticket that can be transmitted over a network and that can be displayed on a terminal and that has the same function as a paper ticket. At present, tickets such as movie tickets, performance tickets, concert tickets, and ball tickets are provided to users in the form of electronic tickets to facilitate user purchase.
以电影票为例,在相关技术中,用户通过如下操作获取电影票订单,并根据该电影票订单完成电影票的在线购买。用户在诸如手机、平板电脑之类的终端中安装具有在线购买电影票功能的应用程序客户端,然后通过该客户端将用户查找、选择的电影票的相关信息发送给服务器,由服务器根据该用户选择的电影票的相关信息生成电影票订单。例如,依次执行如下操作步骤获取电影票订单:1、选择影院;2、选择影片;3、选择放映场次;4、选择座位;5、获取电影票订单。其中,选择影院的步骤可以在选择影片的步骤之前执行,也可以在选择影片的步骤之后执行。在获取到电影票订单之后,根据电影票订单所提示的金额进行在线支付,在线支付成功后即完成电影票在线购买。Taking a movie ticket as an example, in the related art, the user obtains a movie ticket order by the following operation, and completes online purchase of the movie ticket according to the movie ticket order. The user installs an application client having a function of purchasing a movie ticket online in a terminal such as a mobile phone or a tablet computer, and then transmits information about the movie ticket searched and selected by the user to the server through the client, and the server according to the user A movie ticket order is generated by information related to the selected movie ticket. For example, the following steps are sequentially performed to obtain a movie ticket order: 1. selecting a theater; 2. selecting a movie; 3. selecting a screening event; 4. selecting a seat; 5, obtaining a movie ticket order. Wherein, the step of selecting a theater may be performed before the step of selecting a movie, or may be performed after the step of selecting a movie. After the movie ticket order is obtained, the online payment is made according to the amount indicated by the movie ticket order, and the online purchase of the movie ticket is completed after the online payment is successful.
在上述获取电影票订单的每一个操作步骤中,需要用户主动查找及选择电影票的相关信息,且每个步骤都需要客户端与服务器进行至少一次交互,整个过程需要客户端与服务器之间进行较多次数的交互,服务器仅需要根据用户选择的电影票的相关信息生成电影票订单。In each operation step of obtaining the movie ticket order, the user needs to actively find and select the information about the movie ticket, and each step requires the client to interact with the server at least once, and the whole process needs to be performed between the client and the server. For a greater number of interactions, the server only needs to generate a movie ticket order based on the information about the movie ticket selected by the user.
因此,上述相关技术提供的获取电影票订单的方法,操作效率较低,且浪费客户端与服务器之间的传输资源。而对于除电影票之外的其它虚拟资源(例如演出门票、演唱会门票、电子机票、入场券等),在获取虚拟资源订单时所采用的方法与上述相关技术相同或类似,存在同样的技术问题。Therefore, the method for obtaining a movie ticket order provided by the above related art has low operation efficiency and wastes transmission resources between the client and the server. For other virtual resources other than movie tickets (such as performance tickets, concert tickets, electronic tickets, tickets, etc.), the method used to obtain the virtual resource order is the same as or similar to the above related technology, and the same is true. technical problem.
针对上述的问题,目前尚未提出有效的解决方案。In response to the above problems, no effective solution has been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种信息获取方法、提供方法、装置及***、存储介质,以至少解决相关技术中获取虚拟资源订单的操作效率较低,且浪费客户端与服务器之间的传输资源的技术问题。The embodiment of the present invention provides an information acquisition method, a method, a device, a system, and a storage medium, so as to at least solve the problem that the operation of acquiring a virtual resource order in the related art is low, and the transmission resource between the client and the server is wasted. technical problem.
第一方面,提供了一种信息获取方法,所述方法包括:In a first aspect, an information acquisition method is provided, the method comprising:
获取第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;Obtaining a first type of user input message, where the first type of user input message refers to a user input message carrying all of the order element information, and the order element information refers to necessary information required for ordering virtual resources online;
向服务器发送所述第一类型的用户输入消息;Transmitting the first type of user input message to a server;
接收所述服务器在获取到与所述全部的订购要素信息相匹配的虚拟资源之后发送的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。Receiving virtual resource information sent by the server after acquiring the virtual resource matching the all subscription element information, the virtual resource information being used to order virtual resources matching the all subscription element information online.
第二方面,提供了一种信息提供方法,所述方法包括:In a second aspect, an information providing method is provided, the method comprising:
接收客户端发送的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;Receiving a first type of user input message sent by the client, where the first type of user input message refers to a user input message carrying all of the order element information, and the order element information refers to a requirement for ordering virtual resources online. Necessary information;
获取与所述全部的订购要素信息相匹配的虚拟资源;Obtaining a virtual resource that matches all of the order element information;
生成用于订购所述虚拟资源的虚拟资源信息;Generating virtual resource information for ordering the virtual resource;
向所述客户端发送所述虚拟资源信息。Sending the virtual resource information to the client.
第三方面,提供了一种信息获取方法,所述方法包括:In a third aspect, an information acquisition method is provided, the method comprising:
显示与订购服务器的聊天对话界面;Display a chat dialog interface with the ordering server;
获取在所述聊天对话界面中输入的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;Obtaining a first type of user input message input in the chat conversation interface, the first type of user input message refers to a user input message carrying all order element information, and the order element information refers to an online order Necessary information required for virtual resources;
向所述订购服务器发送所述第一类型的用户输入消息;Transmitting the first type of user input message to the subscription server;
显示接收到的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。The received virtual resource information is displayed, and the virtual resource information is used to order virtual resources that match the entire subscription element information online.
第四方面,提供了一种信息获取装置,所述装置包括:In a fourth aspect, an information acquisition apparatus is provided, the apparatus comprising:
第一获取模块,用于获取第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;a first acquiring module, configured to acquire a user input message of a first type, where the user input message of the first type refers to a user input message carrying all the subscription element information, where the subscription element information refers to an online subscription virtual resource. Necessary information required;
第一发送模块,用于向服务器发送所述第一类型的用户输入消息;a first sending module, configured to send the first type of user input message to a server;
信息接收模块,用于接收所述服务器在获取到与所述全部的订购要素信息相匹配的虚拟资源之后发送的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。An information receiving module, configured to receive virtual resource information sent by the server after acquiring the virtual resource matching the all subscription element information, where the virtual resource information is used for online ordering and all the subscription element information Matching virtual resources.
第五方面,提供了一种信息提供装置,所述装置包括:In a fifth aspect, an information providing apparatus is provided, the apparatus comprising:
第一接收模块,用于接收客户端发送的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;a first receiving module, configured to receive a first type of user input message sent by the client, where the first type of user input message refers to a user input message carrying all the subscription element information, where the ordering element information refers to The necessary information to order virtual resources online;
资源获取模块,用于获取与所述全部的订购要素信息相匹配的虚拟资源;a resource obtaining module, configured to acquire a virtual resource that matches all the subscription element information;
信息生成模块,用于生成用于订购所述虚拟资源的虚拟资源信息;An information generating module, configured to generate virtual resource information for ordering the virtual resource;
信息发送模块,用于向所述客户端发送所述虚拟资源信息。And an information sending module, configured to send the virtual resource information to the client.
第六方面,提供了一种信息获取装置,所述装置包括:In a sixth aspect, an information acquisition apparatus is provided, the apparatus comprising:
界面显示模块,用于显示与订购服务器的聊天对话界面;An interface display module, configured to display a chat dialogue interface with the subscription server;
第一获取模块,用于获取在所述聊天对话界面中输入的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要 信息;a first acquiring module, configured to acquire a first type of user input message input in the chat conversation interface, where the first type of user input message refers to a user input message carrying all subscription element information, Ordering element information refers to the necessary information required to order virtual resources online;
第一发送模块,用于向所述订购服务器发送所述第一类型的用户输入消息;a first sending module, configured to send the first type of user input message to the subscription server;
信息显示模块,用于显示接收到的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。The information display module is configured to display the received virtual resource information, and the virtual resource information is used to order virtual resources that match the entire subscription element information online.
第七方面,提供了一种信息获取***,所述***包括:客户端和服务器;In a seventh aspect, an information acquisition system is provided, the system comprising: a client and a server;
所述客户端包括如第四方面所述的信息获取装置;The client includes the information acquiring device as described in the fourth aspect;
所述服务器包括如第五方面所述的信息提供装置。The server includes the information providing apparatus as described in the fifth aspect.
通过将全部的订购要素信息一次收集完成,客户端将上述全部的订购要素信息一并发送给服务器,由服务器查找与其匹配的虚拟资源并生成相应的虚拟资源订单,从而减少整个订购过程中客户端与服务器之间的交互次数,有助于提升在线订购虚拟资源的操作效率,且节省客户端与服务器之间的传输资源。By collecting all the subscription element information at one time, the client sends all the above order element information together to the server, and the server searches for the matching virtual resource and generates a corresponding virtual resource order, thereby reducing the client during the entire ordering process. The number of interactions with the server helps to improve the operational efficiency of ordering virtual resources online and saves transmission resources between the client and the server.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例提供的一种实施环境的示意图;1 is a schematic diagram of an implementation environment according to an embodiment of the present invention;
图2是根据本发明实施例提供的一种信息获取方法的流程图;2 is a flowchart of an information acquisition method according to an embodiment of the present invention;
图3是根据本发明实施例的一种语音交互方法的流程图;FIG. 3 is a flowchart of a voice interaction method according to an embodiment of the present invention; FIG.
图4是根据本发明实施例中的展示目标数据的示意图;4 is a schematic diagram showing target data in accordance with an embodiment of the present invention;
图5是根据本发明实施例的另一种可选的语音交互方法的流程图;FIG. 5 is a flowchart of another optional voice interaction method according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的语音交互方法与竞品的语音交互方法的对比的示意图;6 is a schematic diagram of a comparison of a voice interaction method and a voice interaction method of a competing product according to an embodiment of the present invention;
图7是示例性示出的一种信息收集页面的示意图;FIG. 7 is a schematic diagram of an information collection page exemplarily shown;
图8是根据本发明实施例提供的另一种信息获取方法的流程图;FIG. 8 is a flowchart of another method for acquiring information according to an embodiment of the present invention;
图9是根据本发明实施例提供的另一种信息获取方法的流程图;FIG. 9 is a flowchart of another method for acquiring information according to an embodiment of the present invention;
图10是示例性示出的一种获取电子票信息的界面示意图;FIG. 10 is a schematic diagram showing an interface for acquiring electronic ticket information;
图11是示例性示出的一种服务器对消息的处理流程的示意图;11 is a schematic diagram showing a process flow of a server-to-message message exemplarily shown;
图12是示例性示出的一种服务器集群的架构图;12 is an architectural diagram of a server cluster exemplarily shown;
图13是根据本发明实施例提供的另一种信息获取方法的流程图;FIG. 13 is a flowchart of another method for acquiring information according to an embodiment of the present invention;
图14是根据本发明实施例提供的一种信息获取装置的框图;FIG. 14 is a block diagram of an information acquiring apparatus according to an embodiment of the present invention; FIG.
图15是根据本发明实施例提供的一种信息提供装置的框图;FIG. 15 is a block diagram of an information providing apparatus according to an embodiment of the present invention;
图16是根据本发明实施例提供的一种信息获取装置的框图;FIG. 16 is a block diagram of an information acquiring apparatus according to an embodiment of the present invention; FIG.
图17是根据本发明实施例提供的一种信息获取装置的示意图;FIG. 17 is a schematic diagram of an information acquiring apparatus according to an embodiment of the present invention; FIG.
图18是根据本发明实施例提供的一种终端的结构示意图;FIG. 18 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图19是根据本发明实施例提供的一种服务器的结构示意图。FIG. 19 is a schematic structural diagram of a server according to an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚.完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实 施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the data so used may be interchanged, where appropriate, so that the embodiments of the invention described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
请参考图1,其示出了本发明实施例提供的一种实施环境的示意图。该实施环境可以包括:终端102和服务器104。Please refer to FIG. 1 , which is a schematic diagram of an implementation environment provided by an embodiment of the present invention. The implementation environment can include a terminal 102 and a server 104.
终端102可以是诸如手机、平板电脑、电子书阅读器、多媒体播放设备、PDA(Personal Digital Assistant,个人数字助理)、PC(Personal Computer,个人计算机)等电子设备。终端102中安装运行有具备在线订购虚拟资源功能的客户端。例如,该客户端可以是具备AI(Artificial Intelligence,人工智能)功能的客户端,也可以是购物类客户端,或者是浏览器,该浏览器能够打开具备在线订购虚拟资源功能的网页。The terminal 102 may be an electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia playback device, a PDA (Personal Digital Assistant), a PC (Personal Computer), or the like. A client having an online subscription virtual resource function is installed and operated in the terminal 102. For example, the client can be a client with AI (Artificial Intelligence) function, a shopping client, or a browser, which can open a webpage with the function of ordering virtual resources online.
终端102与服务器104之间具有通信连接。该通信连接可以基于有线网络或者无线网络建立。The terminal 102 has a communication connection with the server 104. The communication connection can be established based on a wired network or a wireless network.
服务器104可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。服务器104用于向上述客户端提供后台服务。The server 104 can be a server, a server cluster composed of multiple servers, or a cloud computing service center. The server 104 is configured to provide a background service to the client.
在本发明实施例中,虚拟资源是指能够在网络上订购的资源。虚拟资源可以是虚拟物品,也可以是服务,或者其它类型的虚拟资源。In the embodiment of the present invention, a virtual resource refers to a resource that can be ordered on a network. A virtual resource can be a virtual item, a service, or other type of virtual resource.
在一个示例中,虚拟资源为电子票。电子票是指能够在网络中传输并能够在终端上显示,且与纸质票具有相同功能的票据。可选地,电子票是内容、地点、时间、人数和座位中的至少两项参数需要进行选择的票据。上述地点可以是场地、场馆、商场等公共场所。例如,电子票可以是电影票、演出门票、演唱会门票、音乐会门票、球赛门票、电子机票、电子火车票、电子入场券等等。In one example, the virtual resource is an electronic ticket. An electronic ticket is a ticket that can be transmitted over a network and that can be displayed on a terminal and that has the same function as a paper ticket. Optionally, the electronic ticket is a ticket that needs to be selected for at least two of the content, location, time, number of people, and seat. The above locations may be public places such as venues, venues, and shopping malls. For example, the electronic ticket may be a movie ticket, a performance ticket, a concert ticket, a concert ticket, a ball game ticket, an electronic ticket, an electronic train ticket, an electronic ticket, and the like.
在本发明实施例中,通过将全部的订购要素信息一次收集完成,客户 端将上述全部的订购要素信息一并发送给服务器,以使得服务器据此生成符合上述订购需求的虚拟资源订单,从而减少整个订单获取过程中客户端与服务器之间的交互次数,有助于提升获取虚拟资源订单的操作效率,且节省客户端与服务器之间的传输资源。In the embodiment of the present invention, by collecting all the subscription element information at one time, the client sends all the above-mentioned order element information to the server together, so that the server generates a virtual resource order that meets the above-mentioned order requirement, thereby reducing The number of interactions between the client and the server during the entire order acquisition process helps to improve the operational efficiency of obtaining virtual resource orders and saves transmission resources between the client and the server.
其中,订购要素信息是指在线订购虚拟资源所需的必要信息,全部的订购要素信息是指在线订购虚拟资源所需的全部必要信息。当虚拟资源为电子票时,订购要素信息可以称为购票要素信息,购票要素信息是指在线购买电子票所需的必要信息。相应地,全部的购票要素信息是指在线购买电子票所需的全部必要信息。以电子票是电影票为例,全部的购票要素信息包括:影片名称、影院名称、观影时间和观影人数。以电子票是演唱会门票为例,全部的购票要素信息包括:演出名称、演出场馆、演出时间、观演人数、观演座位(或观演座位区域)。以电子票是电子机票为例,全部的购票要素信息包括:航班编号、购票人数、乘机座位(或乘机仓位)。The order element information refers to the necessary information required for ordering virtual resources online, and all the order element information refers to all necessary information required for ordering virtual resources online. When the virtual resource is an electronic ticket, the order element information may be referred to as purchase element information, and the purchase element information refers to necessary information required for online purchase of the electronic ticket. Accordingly, all the purchase element information refers to all necessary information required to purchase an electronic ticket online. Taking the electronic ticket as a movie ticket as an example, all the information of the ticket purchase elements include: the name of the movie, the name of the theater, the time of watching the movie, and the number of people watching the movie. For example, the electronic ticket is a concert ticket. The information of all the ticket purchase elements includes: the name of the show, the performance venue, the performance time, the number of people watching, the performance seat (or the seating area). For example, if the electronic ticket is an electronic ticket, the information of all the ticket purchase elements includes: flight number, number of tickets purchased, and seat (or flight position).
示例性地,本发明实施例提供的技术方案,可应用于任何具备在线订购虚拟资源功能的***中。例如,该***可以是购物***、生活服务***、电子票务***、团购***、电影票订购***、机票订购***、火车票订购***等。该***可以基于人工智能技术实现,以和用户对话的形式获取用户的订购需求,进而根据用户的订购需求为用户订购合适的虚拟资源。Illustratively, the technical solution provided by the embodiment of the present invention can be applied to any system having the function of ordering virtual resources online. For example, the system may be a shopping system, a living service system, an electronic ticketing system, a group purchase system, a movie ticket ordering system, a ticket ordering system, a train ticket ordering system, and the like. The system can be implemented based on artificial intelligence technology to obtain the user's ordering requirements in the form of dialogue with the user, and then order the appropriate virtual resources according to the user's ordering requirements.
请参考图2,其示出了本发明实施例提供的一种信息获取方法的流程图。该方法可应用于图1所示的实施环境中。该方法可以包括如下几个步骤:Please refer to FIG. 2, which is a flowchart of an information acquisition method according to an embodiment of the present invention. This method can be applied to the implementation environment shown in FIG. The method can include the following steps:
步骤201,客户端获取第一类型的用户输入消息。In step 201, the client acquires a first type of user input message.
第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息。用户输入消息是指由用户输入的消息。The first type of user input message refers to a user input message carrying all of the order element information. A user input message refers to a message input by a user.
订购要素信息是指在线订购虚拟资源所需的必要信息,全部的订购要素信息是指在线订购虚拟资源所需的全部必要信息。当虚拟资源为电子票 时,订购要素信息可以称为购票要素信息,购票要素信息是指在线购买电子票所需的必要信息。相应地,全部的购票要素信息是指在线购买电子票所需的全部必要信息。以电子票是电影票为例,全部的购票要素信息包括:影片名称、影院名称、观影时间和观影人数。其中,影片名称是指用户所需观看的影片的名称,如《我不是潘X莲》、《奇X博士》、《深海浩X》等。影院名称是指用户观影所需的电影院的名称,如xx影院、xx影城等。观影时间是指用户计划观影的时间,例如下午5点、晚上8点等。观影人数是指用户计划观影的人数,例如1人、2人、3人等。Ordering element information refers to the necessary information required to order virtual resources online. All ordering element information refers to all necessary information required to order virtual resources online. When the virtual resource is an electronic ticket, the order element information may be referred to as ticket purchase element information, and the ticket purchase element information refers to necessary information required for online purchase of the electronic ticket. Accordingly, all the purchase element information refers to all necessary information required to purchase an electronic ticket online. Taking the electronic ticket as a movie ticket as an example, all the information of the ticket purchase elements include: the name of the movie, the name of the theater, the time of watching the movie, and the number of people watching the movie. Among them, the name of the movie refers to the name of the movie that the user needs to watch, such as "I am not Pan Xlian", "Dr. X X", "Deep Sea Hao X" and so on. The name of the theater refers to the name of the movie theater required by the user to watch the movie, such as xx theater, xx studio, and so on. The viewing time refers to the time when the user plans to watch the movie, such as 5 pm and 8 pm. The number of people watching is the number of people who plan to watch, such as one person, two people, three people, etc.
相较于相关技术中客户端分多次收集全部的订购要素信息,在本发明实施例中,客户端将全部的订购要素信息一次收集完成。In the embodiment of the present invention, the client collects all the subscription element information at one time, compared to the information collected by the client in the related art.
示例性地,客户端获取第一类型的用户输入消息包括如下几种可能的实现方式:Illustratively, the client obtaining the first type of user input message includes the following possible implementations:
在第一种可能的实现方式中,客户端获取以文字形式输入的第一类型的用户输入消息。In a first possible implementation, the client obtains a first type of user input message entered in text form.
例如,用户通过客户端调用输入法程序,通过该输入法程序输入如下文字内容:今天下午5点,2人去xx影院观看我不是潘X莲。相应地,客户端获取以文字形式输入的第一类型的用户输入消息。For example, the user invokes the input method program through the client, and inputs the following text content through the input method program: At 5 pm today, 2 people went to the xx theater to watch that I was not Pan Xlian. Accordingly, the client obtains a first type of user input message entered in text form.
在第二种可能的实现方式中,客户端获取以语音形式输入的第一类型的用户输入消息。In a second possible implementation, the client obtains a first type of user input message entered in the form of a voice.
例如,用户通过客户端调用麦克风,通过麦克风采集如下语音信息:我想在今天晚上8点去xx影院观看奇X博士,帮我出2张电影票。相应地,客户端获取以语音形式输入的第一类型的用户输入消息。For example, the user calls the microphone through the client and collects the following voice information through the microphone: I want to go to the xx theater at 8 o'clock this evening to watch Dr. X and help me out 2 movie tickets. Accordingly, the client obtains a first type of user input message entered in the form of a voice.
在第三种可能的实现方式中,客户端接收服务器发送的信息收集页面,该信息收集页面用于收集全部的订购要素信息;显示信息收集页面;获取在信息收集页面中输入的全部的订购要素信息;根据获取的全部的订购要素信息,生成第一类型的用户输入消息。In a third possible implementation manner, the client receives an information collection page sent by the server, where the information collection page is used to collect all the subscription element information; the information collection page is displayed; and all the subscription elements input in the information collection page are obtained. Information; generating a first type of user input message based on all acquired order element information.
客户端获取以语音形式输入的第一类型的用户输入消息可以通过以下方式:The client obtains the first type of user input message input in voice by the following means:
以终端102为手机为例,通过手机接收用户发出的语音指令,并根据该语音指令通过网络向服务器104中第三方应用的服务端发起操作请求,请求第三方应用的服务端执行上述语音指令所指示的目标操作,在第三方应用的服务端执行目标操作之后,手机通过网络接收服务器104中第三方应用的服务端返回的目标数据,将目标数据展示给用户。通过手机接收语音指令并直接与第三方应用的服务端进行交互,达到了不需用户手动操作即获取服务的目的,从而简化了通过语音助手进行操作的过程,进而解决了语音助手的操作比较复杂的技术问题。Taking the terminal 102 as a mobile phone as an example, the mobile terminal receives a voice command issued by the user, and according to the voice command, initiates an operation request to the server of the third-party application in the server 104 through the network, and requests the server of the third-party application to execute the voice command. The target operation indicated, after the target end of the third-party application performs the target operation, the mobile phone receives the target data returned by the server of the third-party application in the server 104 through the network, and presents the target data to the user. The voice command is received by the mobile phone and directly interacts with the server of the third-party application, thereby achieving the purpose of obtaining the service without manual operation by the user, thereby simplifying the process of operating through the voice assistant, thereby solving the complicated operation of the voice assistant. Technical problem.
上述信息获取方法的获取第一类型用户输入消息的步骤可以通过以下的语音交互方法来实现。图3是根据本发明实施例的一种语音交互方法的流程图,以下结合图3对本发明实施例所提供的语音交互方法做具体介绍,如图3所示,该语音交互方法主要包括如下步骤:The step of obtaining the first type of user input message by the above information acquisition method may be implemented by the following voice interaction method. FIG. 3 is a flowchart of a voice interaction method according to an embodiment of the present invention. The voice interaction method provided by the embodiment of the present invention is specifically introduced in conjunction with FIG. 3, as shown in FIG. 3, the voice interaction method mainly includes the following steps. :
步骤S302,接收语音指令,其中,语音指令用于指示执行第三方应用中的目标操作。Step S302, receiving a voice instruction, where the voice instruction is used to indicate that the target operation in the third-party application is performed.
由用户发出语音指令,通过语音指令指示出要执行的第三方应用中的目标操作。如:用户发出语音指令“我要查看天气预报”,在语音指令中,指示出了用户要求执行的目标操作为查询天气预报,相关的第三方应用为天气预报应用;再如:用户发出语音指令“我要打车去XXX地”,通过该语音指令指示出需要执行打车应用中的打车操作,其中,目的地为“XXX地”,出发地默认为当前GPS定位的用户所在地点。语音指令还可以但不限于为查询快递的语音指令,查询新闻的语音指令,查询电影信息和购票的语音指令等。A voice command is issued by the user to indicate a target operation in the third party application to be executed by the voice command. For example, the user sends a voice command “I want to check the weather forecast”. In the voice command, it indicates that the target operation requested by the user is to query the weather forecast, and the related third-party application is the weather forecast application; for example, the user issues a voice command. "I want to take a taxi to XXX", the voice command indicates that the taxi operation in the taxi application needs to be performed, wherein the destination is "XXX", and the departure destination defaults to the location of the current GPS location. The voice command can also be, but is not limited to, a voice command for inquiring express, a voice command for querying news, a query for movie information, and a voice command for purchasing a ticket.
步骤S304,根据语音指令向第三方应用的服务端发起操作请求,其中,操作请求用于请求服务端执行目标操作。Step S304, initiating an operation request to the server of the third-party application according to the voice instruction, where the operation request is used to request the server to perform the target operation.
在接收到语音指令之后,根据该语音指令直接向第三方应用的服务端发出操作请求,第三方应用的服务端可以但不限定设置在网络上的服务器上,通过向第三方应用的服务端发出上述操作请求,请求服务端执行语音指令所指示的目标操作。After receiving the voice instruction, the operation request is directly sent to the server of the third-party application according to the voice instruction, and the server of the third-party application may be, but not limited to, a server set on the network, and sent to the server of the third-party application. The above operation request requests the server to perform the target operation indicated by the voice instruction.
例如:在接收到“我要查看天气预报”的指令后,向天气预报应用的服务端发起操作请求,天气预报应用的服务端查询用户所在地的天气。再如:接收到的语音指令为“我要打车去XXX地”,向打车应用的服务端发起操作请求,打车应用的服务端为用户查找并预定当前从用户所在地出发去“XXX地”的出租车。For example, after receiving the instruction "I want to view the weather forecast", an operation request is initiated to the server of the weather forecast application, and the server of the weather forecast application queries the weather of the user's location. Another example: the received voice command is “I want to take a taxi to XXX”, and initiates an operation request to the server of the taxi application. The server of the taxi application finds and reserves the current rental from the user's location to “XXX”. car.
步骤S306,接收服务端响应操作请求发送的目标数据,其中,目标数据是由服务端执行目标操作得到的。Step S306, receiving target data sent by the server in response to the operation request, wherein the target data is obtained by the server performing the target operation.
第三方应用的服务端根据上述操作请求执行目标操作之后,获取目标数据,并将目标数据返回给发出操作请求的一方,发出操作请求的一方接收服务器返回的目标数据。可选地,发出操作的一方可以但不限定为公众号,手机APP,智能手表等等。After the server of the third-party application performs the target operation according to the above operation request, the target data is acquired, and the target data is returned to the party that issued the operation request, and the party that issues the operation request receives the target data returned by the server. Alternatively, the party issuing the operation may be, but is not limited to, a public number, a mobile phone APP, a smart watch, and the like.
例如:以公众号为例进行说明,用户在公众号中发出的语音指令为“我要查看天气预报”,公众号根据该语音指令向天气预报应用的服务端发出操作请求,请求服务端查询天气预报,服务端根据操作请求执行查询天气预报的操作,得到天气预报的查询结果,并将查询结果返回给公众号。For example, taking the public number as an example, the voice command issued by the user in the public number is “I want to check the weather forecast”, and the public number sends an operation request to the server of the weather forecast application according to the voice command, and requests the server to check the weather. The forecasting, the server performs the operation of querying the weather forecast according to the operation request, obtains the query result of the weather forecast, and returns the query result to the public number.
步骤S308,展示目标数据。In step S308, the target data is displayed.
接收到第三方应用的服务端发送的目标数据之后,将目标数据展示给用户,以完成用户的指令。如:将天气预报的查询结果展示给用户,获者将打车的结果展示给用户,打车结果可以为是否打到车,打到的车的车型、车牌以及车辆预计到达时间等信息。After receiving the target data sent by the server of the third-party application, the target data is presented to the user to complete the user's instruction. For example, the weather forecast query results are displayed to the user, and the winner shows the result of the taxi to the user. The taxi result may be information such as whether the car is hit, the model of the car hit, the license plate, and the expected arrival time of the vehicle.
图4是根据本发明实施例中的一种语音交互方法的展示目标数据的示意图,如图所示,用户通过微信公众号“企鹅智能”发出语音指令,该语 音指令指示的目标操作为“查询未签收的快递信息”,微信公众号在接收到语音指令之后,直接向第三方应用(可以是快递软件)的服务端发送操作请求,请求查询用户未签收的快递信息。第三方应用根据操作请求执行查询操作,并将查询到的目标数据返回给公众号,公众号接收目标数据,将目标数据展示给用户,图4中展示出的目标数据包括五条快递信息。4 is a schematic diagram showing display target data according to a voice interaction method according to an embodiment of the present invention. As shown in the figure, a user issues a voice instruction through a WeChat public number “Penguin Intelligence”, and the target operation indicated by the voice instruction is “query”. After receiving the voice command, the WeChat public account directly sends an operation request to the server of the third party application (which may be the courier software) to request the inquiry of the undelivered delivery information. The third-party application performs the query operation according to the operation request, and returns the queried target data to the public number. The public number receives the target data and presents the target data to the user. The target data shown in FIG. 4 includes five pieces of express information.
在本发明实施例中,采用接收语音指令,其中,语音指令用于指示执行第三方应用中的目标操作;根据语音指令向第三方应用的服务端发起操作请求,其中,操作请求用于请求服务端执行目标操作;接收服务端响应操作请求发送的目标数据,其中,目标数据是由服务端执行目标操作得到的;展示目标数据的方式,通过根据用户的语音指令直接与第三方应用的服务端进行交互,请求服务端执行目标操作,并获取目标数据,达到了不需用户手动操作即获取服务的目的,从而简化了通过语音助手进行操作的过程,进而解决了语音助手的操作比较复杂的技术问题。In the embodiment of the present invention, the receiving voice instruction is used, wherein the voice instruction is used to indicate that the target operation in the third-party application is performed; and the operation request is initiated to the server of the third-party application according to the voice instruction, where the operation request is used to request the service. The terminal performs the target operation; the receiving server responds to the target data sent by the operation request, wherein the target data is obtained by the server performing the target operation; and the manner of displaying the target data is directly related to the server of the third-party application according to the voice instruction of the user. Interacting, requesting the server to perform the target operation, and acquiring the target data, achieves the purpose of obtaining the service without manual operation by the user, thereby simplifying the process of operating through the voice assistant, thereby solving the complicated operation of the voice assistant. problem.
可选地,根据语音指令向第三方应用的服务端发起操作请求包括:提取语音指令中的关键词;根据关键词确定第三方应用的服务端,其中,关键词与第三方应用具有关联关系;根据关键词生成操作请求;向服务端发送操作请求,以请求服务端执行与关键词相关的目标操作。Optionally, the initiating an operation request to the server of the third-party application according to the voice instruction includes: extracting a keyword in the voice instruction; determining a server of the third-party application according to the keyword, where the keyword has an association relationship with the third-party application; Generating an operation request according to the keyword; sending an operation request to the server to request the server to perform a target operation related to the keyword.
作为本发明实施例的一种优选地实施方式,在根据接收到的语音指令向第三方应用的服务端发起操作请求时,先从语音指令中提取出关键词,根据提取出的关键词确定相关的第三方应用,并根据指令所指示的目标操作生成操作请求,最后向第三方应用的服务端发送操作请求,请求服务端根据关键词执行目标操作。As a preferred implementation manner of the embodiment of the present invention, when an operation request is initiated to a server of a third-party application according to the received voice instruction, the keyword is first extracted from the voice instruction, and the relevant keyword is determined according to the extracted keyword. The third-party application generates an operation request according to the target operation indicated by the instruction, and finally sends an operation request to the server of the third-party application, requesting the server to perform the target operation according to the keyword.
例如:接收到的语音指令为“查询今日天气预报”,从该语音指令中提取出关键词,可选地,提取出的关键词可以为“查询”、“今日”、“天气预报”,根据关键词“天气预报”确定第三应用为天气预报应用,根据关键词“查询”和“今日”生成操作请求,并发送给天气预报应用的服务端,该操作请求可以为“请求查询当日天气预报”,服务端根据操作请求执行 目标操作。For example, the received voice command is “query today's weather forecast”, and keywords are extracted from the voice command. Optionally, the extracted keywords may be “query”, “today”, “weather forecast”, according to The keyword “weather forecast” determines that the third application is a weather forecast application, generates an operation request according to the keywords “query” and “today”, and sends the operation request to the server of the weather forecast application, and the operation request may be “requesting the current weather forecast for the query”. ", the server performs the target operation according to the operation request.
可选地,根据关键词生成操作请求包括:根据服务端确定服务端采用的通讯协议,其中,通讯协议为预先约定的通讯协议;根据通讯协议和关键词生成操作请求。Optionally, generating the operation request according to the keyword includes: determining, according to the server, a communication protocol adopted by the server, wherein the communication protocol is a pre-agreed communication protocol; and generating an operation request according to the communication protocol and the keyword.
作为本发明实施例的一种优选地实施方式,在根据关键词生成操作请求时,为了服务端可以接收并识别生成的操作请求,与第三方应用的服务端预先约定所要采用的通讯协议,根据该通讯协议生成操作请求。以微信公众号为例,用户通过公众号发出语音指令之后,公众号提取出关键词,根据关键词确定第三方应用,并且根据关键词生成操作请求,操作请求采用公众号与第三方应用预先约定的通信协议,可选地,该通信协议可以为公众号所采用的通讯协议,也可以为第三方应用所采用的通讯协议,当操作请求采用的通讯协议为公众号所采用的通讯协议时,第三方应用适配公众号的通讯协议,采用公众号的通讯协议进行通讯;当操作请求采用的通讯协议为第三方应用所采用的通讯协议时,公众号适配第三方应用的通讯协义,按照第三方应用的通讯协议进行数据转换和数据发送。As a preferred implementation manner of the embodiment of the present invention, when the operation request is generated according to the keyword, in order for the server to receive and identify the generated operation request, the server of the third-party application pre-agreed the communication protocol to be adopted, according to The communication protocol generates an operation request. Taking the WeChat public account as an example, after the user sends a voice command through the public number, the public number extracts the keyword, determines the third-party application according to the keyword, and generates an operation request according to the keyword, and the operation request is pre-agreed by the public number and the third-party application. The communication protocol, optionally, the communication protocol may be a communication protocol used by the public number or a communication protocol used by the third party application. When the communication protocol used for the operation request is the communication protocol adopted by the public number, The communication protocol of the third party application adapts to the public number, and communicates by using the communication protocol of the public number; when the communication protocol used for the operation request is the communication protocol used by the third party application, the public number adapts to the communication agreement of the third party application, Data conversion and data transmission according to the communication protocol of the third-party application.
图5是根据本发明实施例的另一种可选的语音交互方法的流程图,如图所示,该方法包括如下步骤:FIG. 5 is a flowchart of another optional voice interaction method according to an embodiment of the present invention. As shown, the method includes the following steps:
步骤1,用户向终端发送语音指令,该语音指令用于指示执行第三方应用中的目标操作,如:用户发出语音指令“我要查看天气预报”,在语音指令中,指示出了用户要求执行的目标操作为查询天气预报,相关的第三方应用为天气预报应用;再如:用户发出语音指令“我要打车去XXX地”,通过该语音指令指示出需要执行打车应用中的打车操作,其中,目的地为“XXX地”,出发地默认为当前GPS定位的用户所在地点。语音指令还可以但不限于为查询快递的语音指令,查询新闻的语音指令,查询电影信息和购票的语音指令等。在本发明实施例中,终端可以是安装在手机等设备上的APP,或者可以是微信公从号,也可以是智能音箱,或者智能手表,本发明并不限定终端的形式。Step 1: The user sends a voice command to the terminal, where the voice command is used to indicate that the target operation in the third-party application is performed, for example, the user sends a voice command “I want to view the weather forecast”, and in the voice command, the user is required to perform the execution. The target operation is to query the weather forecast, and the related third-party application is the weather forecast application; for example, the user sends a voice command “I want to take a taxi to XXX place”, and the voice command indicates that the taxi operation in the taxi application needs to be performed, wherein The destination is “XXX land”, and the departure place defaults to the location of the user of the current GPS location. The voice command can also be, but is not limited to, a voice command for inquiring express, a voice command for querying news, a query for movie information, and a voice command for purchasing a ticket. In the embodiment of the present invention, the terminal may be an APP installed on a device such as a mobile phone, or may be a WeChat public slave number, or may be a smart speaker, or a smart watch. The invention does not limit the form of the terminal.
步骤2,终端接收到语音指令之后,将该语音指令发送给NLP(自然语言服务器)。NLP(自然语言服务器)对语音指令进行语义分析,从中提取出关键词。例如:接收到的语音指令为“查询今日天气预报”,从该语音指令中提取出关键词,可选地,提取出的关键词可以为“查询”、“今日”、“天气预报”。Step 2: After receiving the voice command, the terminal sends the voice command to the NLP (Natural Language Server). NLP (Natural Language Server) performs semantic analysis on voice commands and extracts keywords from them. For example, the received voice command is “Query Today's Weather Forecast”, and keywords are extracted from the voice command. Optionally, the extracted keywords may be “query”, “today”, and “weather forecast”.
步骤3,NLP(自然语言服务器)将提取出的关键词返回给终端。终端根据提取出的关键词,生成操作请求,该操作请求用于请求执行目标操作。例如在步骤2中的,从语音指令“查询今日天气预报”,中提取出关键词“查询”、“今日”、“天气预报”。根据关键词生成操作请求,“请求查询当日天气预报”。In step 3, the NLP (Natural Language Server) returns the extracted keywords to the terminal. The terminal generates an operation request according to the extracted keywords, and the operation request is used to request to perform a target operation. For example, in step 2, the keywords "query", "today", and "weather forecast" are extracted from the voice command "Query Today's Weather Forecast". According to the keyword generation operation request, "request to query the current weather forecast".
步骤4,终端将操作请求发送给任务调度服务器。调度服务器根据操作请求确定第三方应用。例如,在步骤3中,终端生成的操作请求为“请求查询当日天气预报”,终端将该操作请求发送给任务调度服务器,任务调度服务器根据该操作请求确定第三方应用为天气预报应用。In step 4, the terminal sends an operation request to the task scheduling server. The scheduling server determines the third party application based on the operation request. For example, in step 3, the operation request generated by the terminal is “request to query the current weather forecast”, and the terminal sends the operation request to the task scheduling server, and the task scheduling server determines, according to the operation request, that the third-party application is a weather forecast application.
步骤5,任务调度服务器将操作请求发送给相应有第三方应用的服务端,并接收服务端返回的目标数据,其中,服务端根据操作请求执行目标操作,得到目标数据。Step 5: The task scheduling server sends the operation request to the server corresponding to the third-party application, and receives the target data returned by the server, wherein the server performs the target operation according to the operation request, and obtains the target data.
在步骤4中,任务调度服务器将操作请求“请求查询当日天气预报”发送给天气预报应用的服务端之后,天气预报应用的服务端执行查询当日天气预报的目标操作,并将查询到的天气预报数据返回给任务调度服务器。In step 4, after the task scheduling server sends the operation request "request to query the current weather forecast" to the server of the weather forecast application, the server of the weather forecast application performs a target operation for querying the weather forecast of the day, and the weather forecast is queried. The data is returned to the task scheduling server.
服务端根据操作请求执行查询天气预报的操作,得到天气预报的查询结果,并将查询结果返回给公众号。并将操作请求发送给天气预报应用的服务端。The server performs the operation of querying the weather forecast according to the operation request, obtains the query result of the weather forecast, and returns the query result to the public number. And send the operation request to the server of the weather forecast application.
步骤6,任务调度服务器将目标数据发送给终端。任务调度服务器将服务端返回的目标数据返回给终端,作为对终端发送操作请求的响应。如将步骤5中服务端返回的天气预报的查询结果发送给终端。In step 6, the task scheduling server sends the target data to the terminal. The task scheduling server returns the target data returned by the server to the terminal as a response to the terminal sending an operation request. For example, the query result of the weather forecast returned by the server in step 5 is sent to the terminal.
步骤7,终端将目标数据展示给用户。终端最终将接收到目标数据展示给用户,从而使用户发出的语音指令得到响应。如:将步骤6中接收到的天气预报展示给用户。In step 7, the terminal presents the target data to the user. The terminal will finally display the target data to the user, so that the voice command sent by the user is responded. For example, the weather forecast received in step 6 is displayed to the user.
本发明实施例通过根据用户的语音指令直接与第三方应用的服务端进行交互,请求服务端执行目标操作,并获取目标数据,达到了不需用户手动操作即获取服务的目的,从而简化了通过语音助手进行操作的过程,进而解决了语音助手的操作比较复杂的技术问题。图6是根据本发明实施例的语音交互方法与竞品的语音交互方法的对比的示意图,如图6所示,竞品的语音交互方法在获取用户的语音指令之后,通过web级API唤起第三方web前端或者第三方应用,通过用户手动操作第三方web前端或者第三方应用,与服务端进行交互,由服务端完成操作,并返回数据。本发明实施例所提供的语音交互方法与竞品的语音交互方法的最大不同在于本发明实施例所提供的语音交互方法通过语音应用(也可以为公众号、音箱或者手表等)在接收到用户的语音指令之后,根据用户的语音指令生成操作请求,并直接与第三方应用服务端进行交互,请求服务端执行目标操作,并将目标数据返回给语音应用,由语音应用展示给用户,使用户不需要手动操作即可获取服务,从而简化了通过语音助手进行操作的过程。The embodiment of the present invention directly interacts with the server of the third-party application according to the voice instruction of the user, requests the server to perform the target operation, and acquires the target data, thereby achieving the purpose of acquiring the service without manual operation by the user, thereby simplifying the adoption. The voice assistant performs the operation process, which solves the technical problem that the voice assistant operates more complicated. 6 is a schematic diagram of a comparison between a voice interaction method and a voice interaction method of a competing product according to an embodiment of the present invention. As shown in FIG. 6, the voice interaction method of the competing product evokes the first through a web-level API after acquiring the user's voice instruction. The three-party web front-end or third-party application interacts with the server by manually operating a third-party web front end or a third-party application, and the server completes the operation and returns data. The maximum difference between the voice interaction method provided by the embodiment of the present invention and the voice interaction method of the competing product is that the voice interaction method provided by the embodiment of the present invention receives the user through the voice application (also can be a public number, a speaker or a watch, etc.). After the voice instruction, the operation request is generated according to the voice instruction of the user, and directly interacts with the third-party application server, requests the server to perform the target operation, and returns the target data to the voice application, and the voice application is displayed to the user, so that the user The process of operating through the voice assistant is simplified by eliminating the need for manual operations to obtain services.
可选地,根据语音指令向第三方应用的服务端发起操作请求包括:根据语音指令向多个第三方应用的多个服务端发起操作请求;接收服务端响应操作请求发送的目标数据包括:接收多个服务端响应操作请求发送的多个数据;按照与操作请求相匹配的预设规则从多个数据中筛选出目标数据。Optionally, the initiating the operation request to the server of the third-party application according to the voice instruction comprises: initiating an operation request to the multiple server terminals of the multiple third-party applications according to the voice instruction; and receiving the target data sent by the server in response to the operation request, including: receiving The plurality of servers respond to the plurality of data sent by the operation request; and the target data is filtered from the plurality of data according to a preset rule matching the operation request.
作为本发明实施例的一种优选地实施方式,根据接收到的语音指令向第三方应用的服务端发送操作请求时,第三方应用可以是多个,并且接收到的服务端返回的数据相应地也为多个,根据预设的规则,从接收到的多个数据中筛选出目标数据。As a preferred implementation manner of the embodiment of the present invention, when the operation request is sent to the server of the third-party application according to the received voice instruction, the third-party application may be multiple, and the received data returned by the server end is correspondingly There are also multiple, and the target data is filtered out from the received plurality of data according to a preset rule.
例如:用户的通过公众号发送“查询刘德华的新闻”的语音指令,公众号根据该指令可以生成多个操作请求,并发送给多个新闻应用的服务端, 多个新闻应用的服务端根据操作请求执行查询操作,将查询到的相关新闻返回给公众号,如果当前公众号预设的规则为:获取最近的十条新闻,则公众号从接收到的新闻数据中筛选出最近的十条新闻。For example, the user sends a voice command of “Querying News of Andy Lau” through the public number, and the public number can generate multiple operation requests according to the instruction, and send it to the server of the plurality of news applications, and the server of the plurality of news applications operates according to the operation. The request query operation is performed, and the related news that is queried is returned to the public number. If the current public number preset rule is: obtaining the latest ten news, the public number selects the latest ten news items from the received news data.
可选地,展示目标数据包括:在客户端的屏幕上显示目标数据,其中,客户端与第三方应用不同;或者在客户端上语音播放目标数据。Optionally, displaying the target data includes: displaying the target data on the screen of the client, wherein the client is different from the third-party application; or playing the target data by voice on the client.
作为本发明实施例的一种优选地实施方式,在接收到目标数据之后,可以通过多种方式将目标数据展示给用户,可选地,目标数据可以显示在屏幕上,也可以通过语音的方式播放给用户。在本发明实施例中,可以通过多种方式执行上述方法,如采用语音APP、语音公众号、智能音箱、智能手表等等,下面具体举例说明:As a preferred implementation manner of the embodiment of the present invention, after receiving the target data, the target data may be presented to the user in multiple manners. Alternatively, the target data may be displayed on the screen or by voice. Play to the user. In the embodiment of the present invention, the foregoing method may be performed in various manners, such as using a voice APP, a voice public number, a smart speaker, a smart watch, etc., and the following specific examples are as follows:
例如:采用语音APP执行上述方法,当前接收到的语音指令为“打车去XXX地”,语音APP接收该指令,提取语音令中的关键词,生成操作请求,发送给打车应用的服务端,打车应用服务端根据操作请求为用户预订从用户所在地去“XXX地”的了租车,并将打车结果与出租车信息显示在用户的用机屏幕或者语音APP的显示界面上。再如:采用语音公众号执行上述方法,当前公众号接收的到语音指令是“查询快递信息”,公众号提取关键词生成操作请求,发送给快递应用服务端,快递应用服务端根据操作请求查找用户的快递信息,将查找到的数据返回公众号,公众号将快递数据显示在公众号的窗口。再如:采用智能音箱执行上述方法,当前接收到的语音指令为“查询今日的娱乐新闻”,智能音箱从语音指令中提取关键词,并根据关键词生成操作请求,将操作请求发送给新闻应用的服务端,新闻应用服务端查找当日的娱乐新闻并发送给智能音箱,智能音箱接收到服务端返回的娱乐新闻后,通过语音的形式,将新闻播放出来。再如:采用智能手表执行上述方法,当前手表接收到语音指令为“查询目前在映的电影”,智能手表生成操作请求后,将操作请求发送给相关的电影应用的服务端,服务端查找当前在映的电影,将数据信息返回给智能手表,智能手表可以根据用户的设置,将电影信息显示的手表屏幕上,或者 通过语音的形式将电影信息播放给用户。For example, the voice APP is used to execute the above method, and the currently received voice command is “taking a taxi to XXX place”, the voice APP receives the command, extracts keywords in the voice command, generates an operation request, and sends the message to the server of the taxi application, and takes a taxi. The application server subscribes the user to the "XXX place" from the user's location according to the operation request, and displays the taxi result and the taxi information on the user's user screen or the voice APP display interface. Another example: using the voice public number to perform the above method, the current voice command received by the public number is "query express information", the public number extracts the keyword generation operation request, and sends it to the express application server, and the express application server searches according to the operation request. The user's courier information returns the found data to the public number, and the public number displays the courier data in the public number window. Another example: using the smart speaker to perform the above method, the currently received voice command is "query today's entertainment news", the smart speaker extracts keywords from the voice command, and generates an operation request according to the keyword, and sends the operation request to the news application. The server, the news application server finds the entertainment news of the day and sends it to the smart speaker. After receiving the entertainment news returned by the server, the smart speaker plays the news through the form of voice. Another example: using the smart watch to perform the above method, the current watch receives the voice command as "query the currently present movie", and after the smart watch generates the operation request, sends the operation request to the server of the relevant movie application, and the server looks for the current In the movie, the data information is returned to the smart watch, and the smart watch can play the movie information to the user on the screen of the watch displayed by the movie information according to the user's setting, or in the form of voice.
可选地,信息收集页面中包括用于供用户输入全部的订购要素信息的输入框,用户在上述输入框中能够输入全部的订购要素信息。请参考图7,其示例性示出了一种信息收集页面30的示意图。信息收集页面30中包括:影片输入框31、影院输入框32、时间输入框33和人数输入框34。用户根据实际购票需求在影片输入框31中输入影片名称,在影院输入框32中输入影院名称,在时间输入框33中输入观影时间,在人数输入框34中输入观影人数。而后,用户点击信息收集页面30中的确认控件35,确认提交上述全部的购票要素信息,客户端生成携带有全部的购票要素信息的用户输入消息(也即第一类型的用户输入消息)。Optionally, the information collection page includes an input box for the user to input all the order element information, and the user can input all the order element information in the input box. Please refer to FIG. 7, which exemplarily shows a schematic diagram of an information collection page 30. The information collection page 30 includes a movie input box 31, a theater input box 32, a time input box 33, and a number of people input box 34. The user inputs the movie name in the movie input box 31 according to the actual ticket purchase request, inputs the theater name in the theater input box 32, inputs the viewing time in the time input box 33, and inputs the number of people watching in the number input box 34. Then, the user clicks the confirmation control 35 in the information collection page 30 to confirm the submission of all the purchase element information, and the client generates a user input message carrying all the purchase element information (that is, the first type of user input message). .
另外,服务器在检测到客户端具有订购需求时,向客户端发送信息收集页面。例如,当客户端向服务器发送“我要看电影”的用户输入消息或者具有类似含义的用户输入消息之后,服务器向客户端发送信息收集页面。In addition, the server sends an information collection page to the client when it detects that the client has a subscription requirement. For example, after the client sends a "I want to watch a movie" user input message or a user input message with similar meaning to the server, the server sends a message collection page to the client.
以上可以作为本实施例的语音交互方法。The above can be used as the voice interaction method of this embodiment.
步骤202,客户端向服务器发送第一类型的用户输入消息。In step 202, the client sends a first type of user input message to the server.
相应地,服务器接收客户端发送的第一类型的用户输入消息。Accordingly, the server receives the first type of user input message sent by the client.
可选地,在客户端获取以语音形式输入的第一类型的用户输入消息的情况下,客户端可以将语音形式的第一类型的用户输入消息转换为文字形式的第一类型的用户输入消息,并向服务器发送文字形式的第一类型的用户输入消息;或者,客户端也可以直接将语音形式的第一类型的用户输入消息发送给服务器,由服务器将语音形式的第一类型的用户输入消息转换为文字形式的第一类型的用户输入消息。其中,将用户输入消息由语音形式转换为文字形式可采用语音识别技术。Optionally, in a case where the client acquires the first type of user input message input in the form of voice, the client may convert the first type of user input message in the form of voice into the first type of user input message in text form. And sending a first type of user input message in text form to the server; or the client can directly send the first type of user input message in the form of voice to the server, and the server inputs the first type of user in the form of voice The message is converted to a first type of user input message in text form. Among them, the voice recognition technology can be adopted by converting the user input message from a voice form to a text form.
步骤203,服务器获取与全部的订购要素信息相匹配的虚拟资源。In step 203, the server acquires a virtual resource that matches all the subscription element information.
可选地,当虚拟资源为电子票时,服务器获取与全部的购票要素信息相匹配的电子票。例如,服务器搜索获取与全部的购票要素信息相匹配的 电子票。服务器中存储有电子票数据库,该电子票数据库中记录有电子票的相关数据。以电子票是电影票为例,服务器中存储有电影票数据库,该电影票数据库中记录有电影票数据。上述电影票数据可以包括:当前正在上映的各个影片在各个影院的放映场次,每一个放映场次的放映时间和座位订购情况。Optionally, when the virtual resource is an electronic ticket, the server acquires an electronic ticket that matches all the ticketing element information. For example, the server search obtains an electronic ticket that matches all of the ticketing element information. An electronic ticket database is stored in the server, and related data of the electronic ticket is recorded in the electronic ticket database. Taking the electronic ticket as a movie ticket as an example, a server ticket database is stored in the server, and movie ticket data is recorded in the movie ticket database. The above movie ticket data may include: the screening time of each movie currently being released in each theater, the screening time of each screening session, and the seat ordering situation.
可选地,以电子票是电影票为例,步骤203包括如下几个子步骤:Optionally, taking the electronic ticket as a movie ticket as an example, step 203 includes the following sub-steps:
步骤203a,服务器从电影票数据库中选取与影片名称和影院名称相同、放映时间与观影时间之间的时间间隔小于预设阈值且余票数量不小于观影人数的放映场次;Step 203a: The server selects, from the movie ticket database, a screening session having the same movie name and theater name, a time interval between the showtime and the viewing time being less than a preset threshold, and the number of remaining tickets is not less than the number of viewers;
其中,预设阈值是预先设定的经验值,例如60分钟。The preset threshold is a preset experience value, for example, 60 minutes.
可选地,当存在多个满足上述条件的放映场次时,服务器选取放映时间与观影时间之间的时间间隔最小的放映场次。Alternatively, when there are a plurality of screening sessions that satisfy the above conditions, the server selects the number of screening sessions with the smallest time interval between the showtime and the viewing time.
步骤203b,服务器从上述选取的放映场次的可选座位中,选择与观影人数相符的座位,并根据选择的座位生成电影票。In step 203b, the server selects a seat corresponding to the number of people watching from the selected seats of the selected screening event, and generates a movie ticket according to the selected seat.
放映场次的可选座位是指该放映场次中暂未被订购的座位。在一个示例中,服务器从上述选取的放映场次的可选座位中,随机选择与观影人数相符的座位。在另一个示例中,服务器从上述选取的放映场次的可选座位中,选择与观影人数相符且优先级最高的座位。服务器可以按照各个座位的位置对各个座位进行优先级排序,例如靠场地中央的位置的优先级较高,而靠场地四周的座位的优先级较低。通过上述方式,能够为用户自动选择最佳的观影座位,在提升***性能的同时也能够提升用户体验。The optional seats for the screenings are those that have not been ordered in the screening. In one example, the server randomly selects a seat that matches the number of viewers from the optional seats of the selected screenings described above. In another example, the server selects a seat that matches the number of people watching and has the highest priority from the optional seats of the selected screenings. The server can prioritize the individual seats according to the position of each seat, for example, the position in the center of the site has a higher priority, and the seats around the site have a lower priority. In the above manner, the user can automatically select the best viewing seat, which can improve the user experience while improving system performance.
在本发明实施例中,通过服务器将电影票数据缓存在本地数据库中,有助于提高服务器搜索获取电影票的效率。另外,服务器可定时更新电影票数据库,以确保电影票数据库中存储的电影票数据的准确性和实时性。例如,服务器每隔预定时间间隔获取最新的电影票数据;将最新的电影票数据与电影票数据库中缓存的电影票数据进行比对;若两者存在不同,则 将电影票数据库中存储的电影票数据更新为上述最新的电影票数据;若两者相同,则不执行更新操作。上述预定时间间隔根据实际需求进行设定,例如1分钟、10分钟等等。In the embodiment of the present invention, the movie ticket data is cached in the local database by the server, which helps to improve the efficiency of the server searching for the movie ticket. In addition, the server can periodically update the movie ticket database to ensure the accuracy and real-time nature of the movie ticket data stored in the movie ticket database. For example, the server acquires the latest movie ticket data every predetermined time interval; compares the latest movie ticket data with the movie ticket data cached in the movie ticket database; if the two are different, the movie stored in the movie ticket database The ticket data is updated to the latest movie ticket data described above; if the two are the same, the update operation is not performed. The predetermined time interval described above is set according to actual needs, such as 1 minute, 10 minutes, and the like.
步骤204,服务器生成用于订购上述虚拟资源的虚拟资源信息。Step 204: The server generates virtual resource information for ordering the virtual resource.
虚拟资源信息中包括虚拟资源的相关信息,虚拟资源信息即是指虚拟资源订单。当虚拟资源为电子票时,虚拟资源信息可称为电子票信息,电子票信息中包括电子票的相关信息,电子票信息即是指电子票订单。以电子票是电影票为例,电影票信息(或称为“电影票订单”)中包括电影票对应的影片名称、影院名称、放映时间、座位编号和订单金额。The virtual resource information includes information about the virtual resource, and the virtual resource information refers to the virtual resource order. When the virtual resource is an electronic ticket, the virtual resource information may be referred to as electronic ticket information, and the electronic ticket information includes related information of the electronic ticket, and the electronic ticket information refers to an electronic ticket order. For example, if the electronic ticket is a movie ticket, the movie ticket information (or "movie ticket order") includes the movie name, the movie name, the show time, the seat number, and the order amount corresponding to the movie ticket.
步骤205,服务器向客户端发送虚拟资源信息。Step 205: The server sends virtual resource information to the client.
相应地,客户端接收服务器发送的虚拟资源信息。Correspondingly, the client receives the virtual resource information sent by the server.
可选地,上述步骤205之后还包括:客户端显示虚拟资源信息。Optionally, after the step 205, the method further includes: the client displaying the virtual resource information.
以电子票信息为例,客户端在接收到电子票信息之后,显示该电子票信息和相应的支付控件。用户在确认电子票信息中的各项信息无误之后,触发支付控件完成在线支付流程,从而完成电子票在线购买。Taking the electronic ticket information as an example, after receiving the electronic ticket information, the client displays the electronic ticket information and the corresponding payment control. After confirming that the information in the electronic ticket information is correct, the user triggers the payment control to complete the online payment process, thereby completing the online purchase of the electronic ticket.
综上所述,本发明实施例提供的方法,通过将全部的订购要素信息一次收集完成,客户端将上述全部的订购要素信息一并发送给服务器,由服务器查找与其匹配的虚拟资源并生成相应的虚拟资源订单,从而减少整个订购过程中客户端与服务器之间的交互次数,有助于提升在线订购虚拟资源的操作效率,且节省客户端与服务器之间的传输资源。In summary, the method provided by the embodiment of the present invention collects all the subscription element information at one time, and the client sends all the subscription element information to the server together, and the server searches for the matching virtual resource and generates corresponding The virtual resource order, which reduces the number of interactions between the client and the server during the entire ordering process, helps to improve the operational efficiency of ordering virtual resources online, and saves transmission resources between the client and the server.
请参考图8,其示出了本发明实施例提供的另一种信息获取方法的流程图。该方法可应用于图1所示的实施环境中。该方法可以包括如下几个步骤:Please refer to FIG. 8 , which is a flowchart of another method for acquiring information provided by an embodiment of the present invention. This method can be applied to the implementation environment shown in FIG. The method can include the following steps:
步骤401,客户端获取用户输入消息。In step 401, the client obtains a user input message.
用户输入消息是指由用户输入的消息。在本发明实施例中,对用户输 入消息的方式不作限定。用户可以通过麦克风输入语音形式的用户输入消息,用户也可以通过输入法程序输入文字形式的用户输入消息,用户还可以通过触发客户端显示的预设按钮,将与该预设按钮对应的预设消息作为用户输入消息。例如,客户端显示有“我要看电影”按钮,用户点击该按钮触发输入的用户输入消息为“我要看电影”。A user input message refers to a message input by a user. In the embodiment of the present invention, the manner in which the user inputs the message is not limited. The user can input the user input message in the form of voice through the microphone, and the user can also input the user input message in the form of text through the input method program, and the user can also trigger the preset corresponding to the preset button by triggering the preset button displayed by the client. The message is entered as a user. For example, the client displays the "I want to watch a movie" button, and the user clicks the button to trigger the input user input message as "I want to watch a movie."
步骤401包括如下几种可能情况:Step 401 includes the following possibilities:
1、客户端获取第一类型的用户输入消息,第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息;1. The client obtains a first type of user input message, and the first type of user input message refers to a user input message carrying all the subscription element information;
例如,以获取电影票订单为例,第一类型的用户输入消息为:帮我订2张今天晚上8点xx影院的奇X博士的电影票。For example, to obtain a movie ticket order, for example, the first type of user input message is: Help me book 2 movie tickets for Dr. X of Dr. X at 8:00 pm today.
2、客户端获取第二类型的用户输入消息,第二类型的用户输入消息是指携带有部分的订购要素信息的用户输入消息;2. The client obtains a second type of user input message, and the second type of user input message refers to a user input message carrying part of the subscription element information;
例如,以获取电影票订单为例,第二类型的用户输入消息为:我想在今天下午3点看深海浩X。上述举例的第二类型的用户输入消息中仅包括影片名称和观影时间,但并不包括影院名称和观影人数。For example, to obtain a movie ticket order, for example, the second type of user input message is: I want to see Deep Sea Hao X at 3 o'clock this afternoon. The second type of user input message of the above example includes only the movie name and the viewing time, but does not include the theater name and the number of people watching.
3、客户端获取第三类型的用户输入消息,第三类型的用户输入消息是指未携带订购要素信息的用户输入消息;3. The client obtains a third type of user input message, and the third type of user input message refers to a user input message that does not carry the subscription element information;
例如,第三类型的用户输入消息为:今天吃什么。For example, the third type of user input message is: What to eat today.
可选地,客户端通过聊天对话方式获取在聊天对话界面中输入的用户输入消息。例如,当客户端是具备AI功能的客户端时,该聊天对话界面可以是用户与AI机器人之间的聊天对话界面,该AI机器人可以看作是客户端,也可以看作是为客户端提供后台服务的服务器。通过上述方式,采用与用户之间进行友好交互的方式获取用户的虚拟资源订购需求,提供了一种崭新的在线订购虚拟资源的场景和方式。Optionally, the client obtains a user input message input in the chat conversation interface by using a chat conversation manner. For example, when the client is an AI-capable client, the chat dialog interface may be a chat dialogue interface between the user and the AI robot, and the AI robot may be regarded as a client or may be regarded as providing a client. The server for the background service. In the above manner, the user's virtual resource subscription requirement is obtained by using a friendly interaction with the user, and a new scenario and method for ordering virtual resources online is provided.
步骤402,客户端向服务器发送用户输入消息。In step 402, the client sends a user input message to the server.
相应地,服务器接收客户端发送的用户输入消息。Accordingly, the server receives a user input message sent by the client.
可选地,在客户端获取以语音形式输入的用户输入消息的情况下,客户端可以将语音形式的用户输入消息转换为文字形式的用户输入消息,并向服务器发送文字形式的用户输入消息;或者,客户端也可以直接将语音形式的用户输入消息发送给服务器,由服务器将语音形式的用户输入消息转换为文字形式的用户输入消息。其中,将用户输入消息由语音形式转换为文字形式可采用语音识别技术。Optionally, in a case that the client obtains a user input message input in a voice form, the client may convert the user input message in a voice form into a user input message in a text form, and send a user input message in a text form to the server; Alternatively, the client can directly send the user input message in the form of voice to the server, and the server converts the user input message in the form of voice into a user input message in the form of text. Among them, the voice recognition technology can be adopted by converting the user input message from a voice form to a text form.
步骤403,服务器确定用户输入消息的类型。In step 403, the server determines the type of the user input message.
用户输入消息的类型为上文介绍的第一类型、第二类型和第三类型中的任意一种。服务器从用户输入消息中识别订购要素信息,并根据识别结果确定用户输入消息的类型。若服务器从用户输入消息中识别出全部的订购要素信息,则确定用户输入消息的类型为第一类型;若服务器从用户输入消息中识别出部分的订购要素信息,则确定用户输入消息的类型为第二类型;若服务器从用户输入消息中未识别出订购要素信息,则确定用户输入消息的类型为第三类型。The type of the user input message is any one of the first type, the second type, and the third type described above. The server identifies the order element information from the user input message and determines the type of the user input message based on the recognition result. If the server identifies all the subscription element information from the user input message, determining that the type of the user input message is the first type; if the server identifies part of the subscription element information from the user input message, determining that the type of the user input message is The second type; if the server does not recognize the ordering element information from the user input message, it is determined that the type of the user input message is the third type.
服务器可采用关键字识别技术、语义分析技术或者结合上述两种技术从用户输入消息中识别订购要素信息。The server may use keyword recognition technology, semantic analysis technology or a combination of the above two techniques to identify order element information from user input messages.
可选地,服务器检测用户输入消息是否与基础消息模板相匹配;若用户输入消息与基础消息模板相匹配,则服务器采用基于基础消息模板生成的消息变量模板从用户输入消息中识别得到订购要素信息;若用户输入消息与基础消息模板不匹配,则服务器确定用户输入消息中未携带订购要素信息,也即确定用户输入消息的类型为第三类型。Optionally, the server detects whether the user input message matches the basic message template; if the user input message matches the basic message template, the server uses the message variable template generated based on the basic message template to identify the subscription element information from the user input message. If the user input message does not match the basic message template, the server determines that the user input message does not carry the subscription element information, that is, determines that the type of the user input message is the third type.
其中,基础消息模板用于判定用户输入消息中是否携带有订购要素信息。当用户输入消息与基础消息模板相匹配时,说明用户输入消息中携带有至少一项订购要素信息,服务器采用消息变量模板从用户输入消息中识别得到订购要素信息,进而根据识别得到的订购要素信息的项数确定用户 输入消息的类型为第一类型或第二类型。消息变量模板用于从用户输入消息中识别提取订购要素信息。基础消息模板和消息变量模板可采用正则表达式构建,通过正则表达式来确定用户输入消息中是否携带有订购要素信息,以及在确定用户输入消息中携带订购要素信息的情况下,从用户输入消息中识别提取订购要素信息。The basic message template is used to determine whether the user input message carries the subscription element information. When the user input message matches the basic message template, the user input message carries at least one order element information, and the server uses the message variable template to identify the order element information from the user input message, and further obtains the order element information according to the identification. The number of items determines whether the type of the user input message is the first type or the second type. The message variable template is used to identify the extracted ordering element information from the user input message. The basic message template and the message variable template may be constructed by using a regular expression to determine whether the user input message carries the order element information in the regular expression, and enter the message from the user in the case of determining that the user input message carries the order element information. The identification identifies the order element information.
若用户输入消息的类型为第一类型,则服务器从下述步骤404开始执行;若用户输入消息的类型为第二类型,则服务器从下述步骤408开始执行;若用户输入消息的类型为第三类型,则服务器从下述步骤410开始执行。If the type of the user input message is the first type, the server starts from step 404; if the type of the user input message is the second type, the server starts from step 408; if the type of the user input message is For three types, the server starts execution from step 410 below.
步骤404,若用户输入消息的类型为第一类型,则服务器获取与用户输入消息中携带的全部的订购要素信息相匹配的虚拟资源。Step 404: If the type of the user input message is the first type, the server acquires a virtual resource that matches all the subscription element information carried in the user input message.
步骤405,服务器生成用于订购上述虚拟资源的虚拟资源信息。Step 405: The server generates virtual resource information for ordering the virtual resource.
步骤406,服务器向客户端发送虚拟资源信息。In step 406, the server sends virtual resource information to the client.
相应地,客户端接收服务器发送的虚拟资源信息。Correspondingly, the client receives the virtual resource information sent by the server.
可选地,步骤406之后还包括如下步骤407:Optionally, after step 406, the method further includes the following step 407:
步骤407,客户端显示虚拟资源信息。In step 407, the client displays the virtual resource information.
上述步骤404至步骤406与图2所示实施例中的步骤203至步骤205相同或类似,具体详见步骤203至步骤205中的解释说明,此处不再赘述。The foregoing steps 404 to 406 are the same as or similar to the steps 203 to 205 in the embodiment shown in FIG. 2 . For details, refer to the explanations in steps 203 to 205 , and details are not described herein again.
步骤408,若用户输入消息的类型为第二类型,则服务器向客户端发送信息收集页面。Step 408: If the type of the user input message is the second type, the server sends an information collection page to the client.
相应地,客户端接收服务器发送的信息收集页面。Accordingly, the client receives the information collection page sent by the server.
在用户输入消息中仅携带部分的订购要素信息的情况下,服务器无法根据该部分的订购要素信息准确地搜索获取到虚拟资源。例如,用户输入消息为“我想在今天下午3点看深海浩X”,服务器从中只能识别出2项购票要素信息,也即影片名称和观影时间,但是并不确定影院名称和观影人 数,因此服务器无法准确地搜索获取到电影票。In the case where only part of the order element information is carried in the user input message, the server cannot accurately search for the acquired virtual resource based on the order element information of the part. For example, if the user enters the message as "I want to see Shenhaihao X at 3 o'clock this afternoon", the server can only identify 2 pieces of ticket purchase information, that is, the title of the movie and the viewing time, but it is not sure of the name and view of the theater. The number of people, so the server could not accurately search for the movie ticket.
在这种情况下,服务器向客户端发送信息收集页面,该信息收集页面用于收集全部的订购要素信息。可选地,信息收集页面中包括上述从第二类型的用户输入消息中识别出的部分的订购要素信息。仍然结合上述例子,服务器向客户端发送的信息收集页面中,在影片输入框中已经填写“深海浩X”,在时间输入框中已经填写“今天15:00”,而影院输入框和人数输入框中未填写相应的购票要素信息,等待用户补充。In this case, the server sends a message collection page to the client, which is used to collect all the subscription element information. Optionally, the information collection page includes the order element information of the portion identified from the second type of user input message. Still in combination with the above example, in the information collection page sent by the server to the client, the “Deep Sea Hao X” has been filled in the video input box, and “Today 15:00” has been filled in the time input box, and the theater input box and the number of people input The corresponding purchase factor information is not filled in the box, waiting for the user to add.
步骤409,客户端显示信息收集页面。In step 409, the client displays an information collection page.
客户端通过向用户显示信息收集页面,使得用户能够根据实际订购需求在信息收集页面中输入全部的订购要素信息。例如,用户在影院输入框中输入“xx影院”,在人数输入框中输入“3人”,并确认提交之后,客户端获取到全部4项购票要素信息。The client displays the information collection page to the user, so that the user can input all the subscription element information in the information collection page according to the actual order requirement. For example, the user inputs "xx theater" in the theater input box, enters "3 people" in the number input box, and confirms the submission, the client obtains all four pieces of purchase element information.
之后,客户端与服务器执行如下步骤(图中未示出)以获取虚拟资源信息(也即虚拟资源订单):客户端获取在信息收集页面中输入的全部的订购要素信息,根据获取的全部的订购要素信息,生成第一类型的用户输入消息,并向服务器发送第一类型的用户输入消息;服务器接收客户端发送的第一类型的用户输入消息,获取与该第一类型的用户输入消息中携带的全部的订购要素信息相匹配的虚拟资源,生成用于订购上述虚拟资源的虚拟资源信息,向客户端发送虚拟资源信息;客户端接收服务器发送的虚拟资源信息。Afterwards, the client and the server perform the following steps (not shown) to obtain virtual resource information (ie, virtual resource order): the client acquires all the subscription element information input in the information collection page, according to all acquired Ordering the element information, generating a first type of user input message, and sending a first type of user input message to the server; the server receiving the first type of user input message sent by the client, acquiring the first type of user input message The virtual resource that matches all the subscription element information that is carried, generates virtual resource information for ordering the virtual resource, and sends virtual resource information to the client; the client receives the virtual resource information sent by the server.
可选地,服务器向客户端发送信息收集页面之前,还执行如下步骤:Optionally, before the server sends the information collection page to the client, the following steps are performed:
1、服务器获取登录客户端的用户帐号的特征信息;1. The server obtains the feature information of the user account of the login client;
用户帐号的特征信息用于指示该用户帐号对应的用户个人特征。针对不同类型虚拟资源的订购需求,服务器获取的特征信息也有所不同。例如,当订购电影票时,服务器获取的特征信息包括但不限于以下至少一项:当前地理位置、常用的影院名称、常用的观影人数、常用的观影时间、偏好 的影片类型、历史观影记录等。又例如,当订购演唱会门票时,服务器获取的特征信息包括但不限于以下至少一项:偏好的明星、历史购票记录、当前地理位置、常用的观演人数等。又例如,当订购电子机票时,服务器获取的特征信息包括但不限于以下至少一项:常用的航班编号、常用的购票人数、常用的乘机仓位、偏好的航空公司、历史乘机记录等。又例如,当订购家政服务时,服务器获取的特征信息包括但不限于以下至少一项:常用的家政服务机构、常用的服务项目、常用的服务时间、历史的家政服务订购记录等。The feature information of the user account is used to indicate the personal characteristics of the user corresponding to the user account. The feature information acquired by the server is also different for the ordering requirements of different types of virtual resources. For example, when ordering a movie ticket, the feature information acquired by the server includes, but is not limited to, at least one of the following: current geographic location, commonly used theater name, commonly used movie viewing time, commonly used viewing time, preferred movie type, and historical view. Shadow recording, etc. For another example, when ordering a concert ticket, the feature information acquired by the server includes, but is not limited to, at least one of the following: a favorite star, a historical ticket purchase record, a current geographic location, a commonly used number of viewers, and the like. For another example, when ordering an electronic ticket, the feature information acquired by the server includes, but is not limited to, at least one of the following: a commonly used flight number, a commonly used ticket purchaser, a commonly used flight position, a preferred airline, a historical flight record, and the like. For another example, when ordering a housekeeping service, the feature information acquired by the server includes, but is not limited to, at least one of the following: a commonly used housekeeping service, a commonly used service item, a common service time, a historical housekeeping service order record, and the like.
2、服务器根据用户帐号的特征信息,生成至少一项订购要素信息的推荐信息。2. The server generates at least one piece of recommendation information of the order element information according to the feature information of the user account.
服务器通过对用户帐号的特征信息进行分析,生成至少一项订购要素信息的推荐信息。订购要素信息的推荐信息是指基于用户个人特征向用户推荐的订购要素信息。例如,服务器根据用户的当前地理位置,选择距离当前地理位置最近的影院作为影院名称的推荐信息。又例如,服务器根据用户常用的观影人数,将该常用的观影人数作为观影人数的推荐信息。再例如,服务器根据用户偏好的影片类型,将当前正在上映的影片中属于上述偏好的影片类型的影片作为影片名称的推荐信息。还例如,服务器根据历史观影记录确定常用的影院名称、常用的观影人数、常用的观影时间、偏好的影片类型中的至少一项信息,并根据确定出的上述信息进一步生成购票要素信息的推荐信息。The server generates at least one piece of recommendation information of the order element information by analyzing the feature information of the user account. The recommendation information of the order element information refers to the order element information recommended to the user based on the personal characteristics of the user. For example, the server selects the theater closest to the current geographic location as the recommendation information of the theater name according to the current geographic location of the user. For another example, the server uses the number of commonly used viewers as the recommended information of the number of viewers based on the number of viewers commonly used by the user. For another example, the server uses, as the recommendation information of the movie name, the movie of the movie type currently in the currently being released movie according to the type of the movie that the user prefers. For example, the server determines at least one of a commonly used theater name, a commonly used movie viewing time, a commonly used viewing time, and a preferred movie type according to the historical viewing record, and further generates a ticket purchasing element according to the determined information. Recommended information for the information.
服务器向客户端发送的信息收集页面中还包括上述订购要素信息的推荐信息,以便于客户端在显示信息收集页面的同时,将订购要素信息的推荐信息显示在相应的输入框中,如果订购要素信息的推荐信息恰好是符合用户实际订购需求的,那么用户无需再手动输入订购要素信息,简化用户操作。The information collection page sent by the server to the client further includes the recommendation information of the order element information, so that the client displays the information of the order element information in the corresponding input box while displaying the information collection page, if the order element The recommendation information of the information just meets the actual ordering requirements of the user, so the user does not need to manually input the ordering element information, which simplifies the user operation.
需要说明的是,对于任意一项订购要素信息,如果该项订购要素信息已经从用户输入信息中识别得到,则服务器向客户端发送的信息收集页面 中包括该项识别得到的订购要素信息,而不包括该项订购要素信息的推荐信息;如果该项订购要素信息并未从用户输入信息中识别得到,则服务器向客户端发送的信息收集页面中可以包括该项订购要素信息的推荐信息。It should be noted that, for any one of the order element information, if the order element information has been identified from the user input information, the information collection page sent by the server to the client includes the order element information obtained by the item, and The recommendation information of the order element information is not included; if the order element information is not recognized from the user input information, the information collection page sent by the server to the client may include the recommendation information of the order element information.
步骤410,若用户输入消息的类型为第三类型,则服务器将用户输入消息发送给至少两个智能聊天***。Step 410: If the type of the user input message is the third type, the server sends the user input message to at least two smart chat systems.
在用户输入消息中未携带订购要素信息的情况下,说明该用户输入消息与订购虚拟资源无关,此时服务器调用智能聊天***与用户进行人工智能对话。In the case that the user input message does not carry the subscription element information, it indicates that the user input message is not related to the subscription virtual resource, and the server invokes the smart chat system to perform an artificial intelligence dialogue with the user.
服务器与一个或者多个智能聊天***对接。可选地,服务器与至少两个智能聊天***对接。不同的智能聊天***的消息回复策略有所不同。例如,针对同一句用户输入消息“今天吃什么”,智能聊天***A生成的回复消息为“今天吃老北京炸酱面”,智能聊天***B生成的回复消息为“我不吃饭,给我充电就行了”。可选地,不同的智能聊天***还可以有不同的风格,例如能够模仿女仆、暖男、大叔等不同人物的声音。The server interfaces with one or more smart chat systems. Optionally, the server interfaces with at least two smart chat systems. Different smart chat systems have different message response strategies. For example, for the same sentence user input message "What to eat today", the reply message generated by the intelligent chat system A is "to eat the old Beijing noodles today", the reply message generated by the intelligent chat system B is "I don't eat, charge me" Just do it." Optionally, different smart chat systems can also have different styles, such as the ability to imitate the voices of different characters such as maids, warm men, and uncles.
步骤411,服务器接收各个智能聊天***发送的对应于第三类型的用户输入消息的回复消息。Step 411: The server receives a reply message corresponding to the third type of user input message sent by each smart chat system.
步骤412,服务器获取各个回复消息与第三类型的用户输入消息之间的匹配度。Step 412: The server acquires a matching degree between each reply message and a third type of user input message.
在本发明实施例中,对计算回复消息与第三类型的用户输入消息之间的匹配度的方式不作限定。例如,服务器基于语义分析算法,对第三类型的用户输入消息和回复消息进行语义分析,计算回复消息与第三类型的用户输入消息之间的语义匹配度。In the embodiment of the present invention, the manner of calculating the matching degree between the reply message and the third type of user input message is not limited. For example, the server performs semantic analysis on the third type of user input message and reply message based on the semantic analysis algorithm, and calculates the semantic matching degree between the reply message and the third type of user input message.
步骤413,服务器根据匹配度确定对应于第三类型的用户输入消息的最终回复消息。Step 413: The server determines a final reply message corresponding to the third type of user input message according to the matching degree.
可选地,服务器选取匹配度最高的回复消息作为最终回复消息。Optionally, the server selects the most matching reply message as the final reply message.
步骤414,服务器向客户端发送最终回复消息。In step 414, the server sends a final reply message to the client.
相应地,客户端接收服务器发送的最终回复消息。Accordingly, the client receives the final reply message sent by the server.
而后,客户端将最终回复消息进行展示。例如,当最终回复消息为文字形式时,客户端显示最终回复消息;当最终回复消息为语音形式时,客户端播放最终回复消息。The client will then finally reply to the message for display. For example, when the final reply message is in text form, the client displays the final reply message; when the final reply message is in voice form, the client plays the final reply message.
在本发明实施例中,通过服务器与至少两个智能聊天***对接,实现为用户提供更具多样性的人工智能聊天体验。In the embodiment of the present invention, the server is connected to at least two smart chat systems to provide a more diverse artificial intelligence chat experience for the user.
可选地,客户端获取的消息还可能是预设消息。预设消息是指预先设定的消息。预设消息用于表达具有订购虚拟资源的需求,但预设消息中并不携带订购要素信息。以获取电影票订单为例,预设消息包括“我要看电影”、“我要订电影票”、“我要买电影票”等。预设消息的数量可以是一条,也可以是多条,本发明实施例对此不作限定。Optionally, the message acquired by the client may also be a preset message. The preset message refers to a preset message. The preset message is used to express the requirement of ordering a virtual resource, but the order element information is not carried in the preset message. For example, in order to obtain a movie ticket order, the default messages include "I want to watch a movie", "I want to book a movie ticket", "I want to buy a movie ticket", and the like. The number of the preset messages may be one, or may be multiple, which is not limited by the embodiment of the present invention.
客户端获取预设消息之后,向服务器发送预设消息;服务器在接收到预设消息之后,向客户端发送信息收集页面;客户端接收服务器发送的信息收集页面,显示信息收集页面。在上文已经介绍,信息收集页面用于收集全部的订购要素信息。可选地,信息收集页面中包括至少一项订购要素信息的推荐信息。之后,客户端与服务器按照上文介绍的步骤以获取虚拟资源信息(也即虚拟资源订单),本实施例对此不再赘述,参见步骤409之后的介绍说明。After obtaining the preset message, the client sends a preset message to the server; after receiving the preset message, the server sends a message collection page to the client; the client receives the information collection page sent by the server, and displays the information collection page. As described above, the information collection page is used to collect all ordering element information. Optionally, the information collection page includes recommendation information of at least one order element information. Then, the client and the server follow the steps described above to obtain the virtual resource information (that is, the virtual resource order), which is not described in this embodiment. For details, refer to the description after step 409.
服务器在从客户端接收到任一消息之后,可以首先判断该消息是否为预设消息;如果该消息为预设消息,则服务器从向客户端发送信息收集页面的步骤开始执行;如果该消息不是预设消息,则说明该消息为上述任一类型的用户输入消息,则服务器从确定用户输入消息的类型的步骤开始执行。After receiving any message from the client, the server may first determine whether the message is a preset message; if the message is a preset message, the server starts executing the step of sending the information collection page to the client; if the message is not The preset message indicates that the message is a user input message of any of the above types, and the server starts from the step of determining the type of the user input message.
通过上述方式,服务器在接收到客户端发送的任一消息之后,首先判断该消息是否为预设消息,并在该消息是预设消息的情况下,向客户端发 送信息收集页面,从而提高了服务器对预设消息的响应效率。In the above manner, after receiving any message sent by the client, the server first determines whether the message is a preset message, and if the message is a preset message, sends an information collection page to the client, thereby improving The efficiency of the server's response to preset messages.
另外需要补充说明的一点是,在本发明实施例中,对用户输入预设消息的方式不作限定,例如用户可以采用文字形式输入预设消息,也可以采用语音形式输入预设消息,还可以采用预设按钮输入预设消息,等等。In addition, in the embodiment of the present invention, the manner in which the user inputs the preset message is not limited. For example, the user may input the preset message in the form of text, or input the preset message in the form of voice, or may adopt Preset buttons to enter preset messages, and more.
综上所述,本发明实施例提供的方法,通过将全部的订购要素信息一次收集完成,客户端将上述全部的订购要素信息一并发送给服务器,由服务器查找与其匹配的虚拟资源并生成相应的虚拟资源订单,从而减少整个订购过程中客户端与服务器之间的交互次数,有助于提升在线订购虚拟资源的操作效率,且节省客户端与服务器之间的传输资源。In summary, the method provided by the embodiment of the present invention collects all the subscription element information at one time, and the client sends all the subscription element information to the server together, and the server searches for the matching virtual resource and generates corresponding The virtual resource order, which reduces the number of interactions between the client and the server during the entire ordering process, helps to improve the operational efficiency of ordering virtual resources online, and saves transmission resources between the client and the server.
另外,在服务器获取部分的订购要素信息的情况下,通过向客户端发送信息收集页面,从而一次收集全部的订购要素信息,使得客户端与服务器之间仅需两次交互即可生成虚拟资源订单,相较于相关技术的交互次数同样缩短。In addition, in the case that the server acquires part of the order element information, by sending the information collection page to the client, all the order element information is collected at one time, so that the virtual resource order can be generated only by two interactions between the client and the server. The number of interactions compared to related technologies is also shortened.
另外,还通过服务器获取登录客户端的用户帐号的特征信息,根据用户帐号的特征信息,生成至少一项订购要素信息的推荐信息,并在信息收集页面中显示上述订购要素信息的推荐信息,实现了向用户自动推荐合适的订购要素信息,有助于减少用户的输入操作,进一步提高订购效率。In addition, the server obtains the feature information of the user account of the login client, generates the recommendation information of the at least one order element information according to the feature information of the user account, and displays the recommendation information of the order element information in the information collection page, thereby realizing Automatically recommending appropriate ordering element information to users helps reduce user input and further improves ordering efficiency.
在上述方法实施例中,仅从客户端和服务器之间交互的角度进行介绍说明。其中,有关客户端一侧的步骤可以单独实现成客户端侧的信息获取方法,有关服务器一侧的步骤可以单独实现成为服务器侧的信息提供方法。In the above method embodiment, the description is only made from the perspective of interaction between the client and the server. The steps on the client side can be separately implemented as the information acquisition method on the client side, and the steps on the server side can be separately implemented as the information providing method on the server side.
请参考图9,其示出了本发明实施例提供的另一种信息获取方法的流程图。在本实施例中,客户端以聊天对话方式获取用户的虚拟资源订购需求。该方法可以包括如下几个步骤:Please refer to FIG. 9 , which is a flowchart of another method for acquiring information provided by an embodiment of the present invention. In this embodiment, the client obtains the virtual resource subscription requirement of the user in a chat conversation manner. The method can include the following steps:
步骤501,客户端显示与订购服务器的聊天对话界面。In step 501, the client displays a chat dialog interface with the subscription server.
聊天对话界面是指以聊天对话的方式获取用户的虚拟资源订购需求的用户界面。可选地,该聊天对话界面可以是客户端(也即用户)与订购 服务器之间的聊天对话界面。订购服务器是为客户端提供后台服务的服务器,也即上述图2和图8实施例中的服务器。订购服务器可以称为订购机器人,其具备AI功能。The chat dialogue interface refers to a user interface for acquiring a virtual resource subscription requirement of a user by means of a chat conversation. Optionally, the chat conversation interface may be a chat conversation interface between the client (ie, the user) and the subscription server. The ordering server is a server that provides background services to the client, that is, the servers in the above-described embodiments of Figs. 2 and 8. The ordering server can be called a subscription robot with AI capabilities.
在一个例子中,假设客户端为“智能助手”客户端,订购服务器为订票服务器。“智能助手”客户端以聊天对话方式获取用户的电影票订购需求。如图10中(a)部分所示,用户打开“智能助手”客户端,“智能助手”客户端显示与订票服务器的聊天对话界面60。聊天对话界面60中包括欢迎语61、文字输入栏62和语音输入按钮63。文字输入栏62用于触发调用输入法程序,使得用户能够输入文字形式的用户输入消息。语音输入按钮63用于触发调用麦克风,使得用户能够输入语音形式的用户输入消息。可选地,聊天对话界面60中还包括多个快捷功能按钮,如图中示出的用于在线购买电影票的“我要看电影”快捷功能按钮64、用于在线预订餐厅的“我要订餐厅”快捷功能按钮(图中未标号)、用于在线叫车的“我要打车”快捷功能按钮(图中未标号)。In one example, assume that the client is a "smart assistant" client and the subscription server is a ticketing server. The "Smart Assistant" client obtains the user's movie ticket ordering requirement in a chat conversation. As shown in part (a) of Figure 10, the user opens the "Smart Assistant" client, which displays the chat dialog interface 60 with the booking server. The chat dialog interface 60 includes a welcome word 61, a text input field 62, and a voice input button 63. The text entry field 62 is used to trigger the call input method to enable the user to enter a user input message in text form. The voice input button 63 is used to trigger the call of the microphone so that the user can input a user input message in the form of a voice. Optionally, the chat conversation interface 60 further includes a plurality of shortcut function buttons, such as the "I want to watch movies" shortcut function button 64 for online movie ticket purchase, and the "I want to book the restaurant online". Order restaurant "quick function button (not marked in the figure), "I want to take a taxi" shortcut function button for online calling (not marked in the figure).
步骤502,客户端获取在聊天对话界面中输入的第一类型的用户输入消息。Step 502: The client acquires a first type of user input message input in the chat conversation interface.
第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,订购要素信息是指在线订购虚拟资源所需的必要信息。The first type of user input message refers to a user input message carrying all of the order element information, and the order element information refers to necessary information required to order virtual resources online.
示例性地,客户端获取在聊天对话界面中输入的第一类型的用户输入消息包括如下几种可能的实现方式:Illustratively, the client obtaining the first type of user input message entered in the chat session interface includes the following possible implementations:
在第一种可能的实现方式中,客户端获取在聊天对话界面中以文字形式输入的第一类型的用户输入消息。In a first possible implementation, the client obtains a first type of user input message entered in text form in the chat session interface.
例如,用户可以在聊天对话界面60的文字输入栏62中输入如下文字内容“今天晚上8点,4人去xx影院观看我不是潘X莲”,并提交给“智能助手”客户端。相应地,“智能助手”客户端获取在聊天对话界面60中以文字形式输入的第一类型的用户输入消息。For example, the user can input the following text content in the text input field 62 of the chat dialogue interface 60. "At 8 o'clock this evening, 4 people go to the xx theater to watch me not Pan Xlian" and submit it to the "smart assistant" client. Accordingly, the "smart assistant" client obtains a first type of user input message entered in text form in the chat session interface 60.
在第二种可能的实现方式中,客户端获取在聊天对话界面中以语音形式输入的第一类型的用户输入消息。In a second possible implementation, the client obtains a first type of user input message entered in a voice form in the chat session interface.
例如,用户点击聊天对话界面60中的语音输入按钮63,触发“智能助手”客户端调用麦克风,通过麦克风采集如下语音信息:我想在今天晚上8点去xx影院观看奇X博士,帮我出2张电影票。相应地,“智能助手”客户端获取在聊天对话界面60中以语音形式输入的第一类型的用户输入消息。For example, the user clicks the voice input button 63 in the chat dialogue interface 60, triggers the "smart assistant" client to call the microphone, and collects the following voice information through the microphone: I want to go to the xx theater at 8 o'clock this evening to watch Dr. X, help me out. 2 movie tickets. Accordingly, the "smart assistant" client obtains a first type of user input message entered in voice form in the chat session interface 60.
在第三种可能的实现方式中,客户端获取在聊天对话界面的信息收集页面中输入的全部的订购要素信息;生成携带有全部的订购要素信息的第一类型的用户输入消息。In a third possible implementation manner, the client obtains all the subscription element information input in the information collection page of the chat conversation interface; and generates a first type of user input message carrying all the subscription element information.
可选地,信息收集页面中包括用于供用户输入全部的订购要素信息的输入框,用户在上述输入框中能够输入全部的订购要素信息。信息收集页面的示例性示意图可参见图7。Optionally, the information collection page includes an input box for the user to input all the order element information, and the user can input all the order element information in the input box. An exemplary schematic of the information collection page can be seen in FIG.
例如,如图10中(b)部分所示,“智能助手”客户端在聊天对话界面60中显示信息收集页面65。用户在信息收集页面65中填写全部的购票要素信息,包括影片名称、影院名称、观影时间和观影人数。如图10中(c)部分所示,用户在信息收集页面65中填写影片名称“我不是潘X莲”、影院名称“xx影城(深大店)”、观影时间“今天17:00”以及观影人数“2人”。用户在输入完成全部的购票要素信息之后,点击信息收集页面65中的“确认”按钮,触发“智能助手”客户端向订票服务器发送第一类型的用户输入消息,该第一类型的用户输入消息中携带上述全部的购票要素信息。For example, as shown in part (b) of FIG. 10, the "smart assistant" client displays an information collection page 65 in the chat conversation interface 60. The user fills in all the purchase element information in the information collection page 65, including the movie name, the name of the theater, the viewing time, and the number of people watching. As shown in part (c) of Figure 10, the user fills in the video name on the information collection page 65, "I am not Pan Xlian", the name of the theater "xx Studios (Shenda Store)", and the viewing time "17:00 today. "And the number of people watching "2 people." After inputting all the purchase element information, the user clicks the "confirm" button in the information collection page 65 to trigger the "smart assistant" client to send a first type of user input message to the booking server, the first type of user. The input message carries all of the above purchase element information.
另外,用户可以在信息收集页面的输入框中直接输入订购要素信息;或者,用户也可以触发显示订购要素信息对应的候选项,从候选项中选择需要输入的订购要素信息。In addition, the user may directly input the order element information in the input box of the information collection page; or the user may trigger the display of the candidate corresponding to the order element information, and select the order element information to be input from the candidate.
信息收集页面由订购服务器发送给客户端。可选地,在如下两种情况下,客户端从订购服务器获取信息收集页面并显示。The information collection page is sent to the client by the subscription server. Optionally, the client obtains the information collection page from the subscription server and displays it in the following two cases.
在一种可能的情况下,客户端获取在聊天对话界面中输入的第二类型的用户输入消息,第二类型的用户输入消息是指携带有部分的订购要素信息的用户输入消息;向订购服务器发送第二类型的用户输入消息;接收订购服务器发送的信息收集页面;在聊天对话界面中显示信息收集页面。In one possible case, the client obtains a second type of user input message entered in the chat conversation interface, and the second type of user input message refers to a user input message carrying part of the subscription element information; to the subscription server Sending a second type of user input message; receiving an information collection page sent by the subscription server; displaying an information collection page in the chat conversation interface.
例如,第二类型的用户输入消息为“我想在今天晚上9点看深海浩X”,订票服务器从中只能识别出2项购票要素信息,也即影片名称和观影时间,但是并不确定影院名称和观影人数,因此订票服务器无法准确地搜索获取到电影票。在这种情况下,订票服务器向客户端发送信息收集页面,用于收集全部的购票要素信息。客户端接收到信息收集页面之后,将信息收集页面显示在聊天对话界面中。For example, the second type of user input message is "I want to see Deep Sea Hao X at 9 o'clock this evening", the booking server can only identify 2 pieces of ticket purchase element information, that is, the movie name and viewing time, but Uncertainty about the name of the theater and the number of people watching, so the booking server could not accurately search for the movie ticket. In this case, the booking server sends a message collection page to the client for collecting all the purchase element information. After receiving the information collection page, the client displays the information collection page in the chat conversation interface.
可选地,信息收集页面中包括上述从第二类型的用户输入消息中识别出的部分的订购要素信息。仍然结合上述例子,订票服务器向客户端发送的信息收集页面中,在影片输入框中已经填写“深海浩X”,在时间输入框中已经填写“今天21:00”,而影院输入框和人数输入框中未填写相应的购票要素信息,等待用户补充。Optionally, the information collection page includes the order element information of the portion identified from the second type of user input message. Still in combination with the above example, in the information collection page sent by the booking server to the client, "Deep Sea Hao X" has been filled in the video input box, and "Today 21:00" has been filled in the time input box, and the theater input box and The corresponding purchase factor information is not filled in the number input box, waiting for the user to add.
在另一种可能的情况下,客户端获取在聊天对话界面中输入的预设消息;向订购服务器发送预设消息;接收订购服务器发送的信息收集页面;在聊天对话界面中显示信息收集页面。In another possible case, the client obtains the preset message input in the chat dialog interface; sends a preset message to the ordering server; receives the information collecting page sent by the ordering server; and displays the information collecting page in the chat dialog interface.
预设消息是指预先设定的消息。预设消息用于表达具有订购虚拟资源的需求,但预设消息中并不携带订购要素信息。以获取电影票订单为例,预设消息包括“我要看电影”、“我要订电影票”、“我要买电影票”等。预设消息的数量可以是一条,也可以是多条,本发明实施例对此不作限定。The preset message refers to a preset message. The preset message is used to express the requirement of ordering a virtual resource, but the order element information is not carried in the preset message. For example, in order to obtain a movie ticket order, the default messages include "I want to watch a movie", "I want to book a movie ticket", "I want to buy a movie ticket", and the like. The number of the preset messages may be one, or may be multiple, which is not limited by the embodiment of the present invention.
结合参考图10,用户点击“我要看电影”快捷功能按钮62之后,“智能助手”客户端向订票服务器发送预设消息,该预设消息的内容为“我要看电影”。Referring to FIG. 10, after the user clicks the "I want to watch movie" shortcut function button 62, the "Smart Assistant" client sends a preset message to the booking server, and the content of the preset message is "I want to watch a movie".
在其它可能的实现方式中,用户也可以通过文字或者语音输入用于表 达订购需求的预设消息。例如,用户在聊天对话界面60的文字输入栏62中输入“我想看个电影”的文字信息,或者用户点击聊天对话界面60中的语音输入按钮63输入“我要订电影票”的语音信息。In other possible implementations, the user can also input a preset message for expressing the ordering requirement by text or voice. For example, the user inputs text information of "I want to watch a movie" in the text input field 62 of the chat dialog interface 60, or the user clicks the voice input button 63 in the chat dialog interface 60 to input voice information of "I want to order a movie ticket". .
订购服务器在检测到客户端发送的用户输入消息为预设消息后,向客户端发送信息收集页面,用于收集全部的订购要素信息。客户端接收到信息收集页面之后,将信息收集页面显示在聊天对话界面中。After detecting that the user input message sent by the client is a preset message, the ordering server sends a message collection page to the client for collecting all the subscription element information. After receiving the information collection page, the client displays the information collection page in the chat conversation interface.
可选地,信息收集页面中包括至少一项订购要素信息的推荐信息。有关推荐信息的介绍说明可参见上述图8实施例,本实施例对此不再赘述。Optionally, the information collection page includes recommendation information of at least one order element information. For the description of the recommended information, refer to the embodiment of FIG. 8 above, which is not described in this embodiment.
步骤503,客户端向订购服务器发送第一类型的用户输入消息。In step 503, the client sends a first type of user input message to the subscription server.
订购服务器接收到客户端发送的第一类型的用户输入消息之后,获取与全部的订购要素信息相匹配的虚拟资源,而后生成用于订购上述虚拟资源的虚拟资源信息(也即虚拟资源订单),并向客户端发送虚拟资源信息。上述过程可参见图2实施例中的步骤202-205,本实施例对此不再赘述。After receiving the first type of user input message sent by the client, the ordering server acquires the virtual resource that matches all the subscription element information, and then generates virtual resource information (that is, the virtual resource order) for ordering the virtual resource. And send virtual resource information to the client. For the above process, reference may be made to steps 202-205 in the embodiment of FIG. 2, which is not described in this embodiment.
步骤504,客户端接收订购服务器发送的虚拟资源信息。Step 504: The client receives the virtual resource information sent by the subscription server.
步骤505,客户端显示虚拟资源信息。In step 505, the client displays the virtual resource information.
客户端在接收到虚拟资源信息之后,显示该虚拟资源信息和相应的支付控件。用户在确认虚拟资源信息中的信息无误之后,触发支付控件完成在线支付流程,从而完成虚拟资源在线订购。After receiving the virtual resource information, the client displays the virtual resource information and the corresponding payment control. After confirming that the information in the virtual resource information is correct, the user triggers the payment control to complete the online payment process, thereby completing the virtual resource online ordering.
如图10中(d)部分所示,客户端在聊天对话界面60中显示电影票订单66,用户查看电影票订单66中的信息无误后,点击“支付”按钮,完成在线支付流程,从而完成电影票在线购买。As shown in part (d) of FIG. 10, the client displays the movie ticket order 66 in the chat conversation interface 60. After the user views the information in the movie ticket order 66, the "payment" button is clicked to complete the online payment process, thereby completing. Movie tickets are purchased online.
借助于“智能助手”客户端,将服务商和用户通过聊天互动的方式串联起来,用户在使用“智能助手”客户端和“智能助手”聊天的过程中,“智能助手”会根据用户需求提供相应的信息和服务(包括但不限于电影票订购服务),有助于增强趣味性,且能够有效提高服务的使用率。另外,当用户 在线购买电影票之后,“智能助手”还可以为用户提供一些关联服务,例如为用户推荐影院附近的餐厅、为用户提前规划到达影院的线路并提供叫车服务,等等。With the help of the "smart assistant" client, the service provider and the user are connected in a chat interaction manner. In the process of using the "smart assistant" client and the "smart assistant" to chat, the "smart assistant" will provide according to the user's needs. The corresponding information and services (including but not limited to movie ticket ordering services) help to enhance the fun and effectively improve the service usage. In addition, after the user purchases the movie ticket online, the "smart assistant" can also provide some related services for the user, such as recommending the restaurant near the theater for the user, planning the route to the theater in advance for the user, and providing the car service, and the like.
综上所述,本实施例提供的方法,采用与用户之间进行友好交互的方式获取用户的虚拟资源订购需求,提供了一种崭新的在线订购虚拟资源的场景和方式。In summary, the method provided in this embodiment acquires the virtual resource subscription requirement of the user by using a friendly interaction with the user, and provides a new scenario and manner for ordering the virtual resource online.
在一个示例中,结合参考图11,其示出了服务器对从客户端接收到的消息的处理流程的示意图。服务器70包括:消息收发模块71、消息识别模块72、消息分发模块73、消息过滤模块74。In one example, with reference to FIG. 11, a schematic diagram of a process flow by a server for a message received from a client is shown. The server 70 includes a messaging module 71, a message identification module 72, a message distribution module 73, and a message filtering module 74.
消息收发模块71用于收发消息,包括从客户端接收消息和向客户端发送消息。The messaging module 71 is configured to send and receive messages, including receiving messages from the client and sending messages to the client.
消息识别模块72用于判断从客户端接收到的消息是否为预设消息,以及在不是预设消息的情况下,进一步识别确定该消息的类型。消息识别模块72提供有基础业务识别和消息变量识别两大功能。The message identification module 72 is configured to determine whether the message received from the client is a preset message, and if not the preset message, further identify the type of the message. The message identification module 72 provides two functions of basic service identification and message variable identification.
其中,基础业务识别功能用于判断从客户端接收到的消息是否为预设消息,若该消息是预设消息,则根据消息模板文件获取与预设消息相对应的应答消息,并将应答消息发送给消息收发模块71,通过消息收发模块71将应答消息发送给客户端;若该消息不是预设消息,则将该消息交由消息变量识别功能进行处理。消息模板文件中包括至少一组预设消息和应答消息之间的对应关系,例如消息模板文件中包括预设消息“我要看电影”和信息收集页面之间的对应关系。The basic service identification function is used to determine whether the message received from the client is a preset message. If the message is a preset message, the response message corresponding to the preset message is obtained according to the message template file, and the response message is sent. The message is sent to the message sending and receiving module 71, and the response message is sent to the client through the message sending and receiving module 71. If the message is not the preset message, the message is sent to the message variable identification function for processing. The message template file includes a correspondence between at least one set of preset messages and response messages. For example, the message template file includes a correspondence between the preset message “I want to watch a movie” and the information collection page.
消息变量识别功能用于确定消息为第一类型的用户输入消息、第二类型的用户输入消息还是第三类型的用户输入消息。可选地,消息变量识别功能具体用于:检测用户输入消息是否与基础消息模板相匹配;若用户输入消息与基础消息模板相匹配,则确定该用户输入消息的类型为第一类型或者第二类型,进一步采用基于基础消息模板生成的消息变量模板从用户 输入消息中识别得到订购要素信息,当识别得到全部的订购要素信息时,说明是第一类型的用户输入消息,调用搜索服务获取虚拟资源,当识别得到部分的订购要素信息时,说明是第二类型的用户输入消息,生成并向客户端发送信息收集页面;若用户输入消息与基础消息模板不匹配,则说明是第三类型的用户输入消息,将第三类型的用户输入消息交由消息分发模块73做下一步处理。The message variable identification function is used to determine whether the message is a first type of user input message, a second type of user input message, or a third type of user input message. Optionally, the message variable identification function is specifically configured to: detect whether the user input message matches the basic message template; if the user input message matches the basic message template, determine that the type of the user input message is the first type or the second Type, further adopting a message variable template generated based on the basic message template to identify the order element information from the user input message, and when all the order element information is identified, the first type of user input message is invoked, and the search service is invoked to obtain the virtual resource. When the part of the order element information is identified, the description is a second type of user input message, and the information collection page is generated and sent to the client; if the user input message does not match the basic message template, the third type of user is indicated. The message is entered and the third type of user input message is passed to the message distribution module 73 for further processing.
消息分发模块73与智能聊天***对接,用于将第三类型的用户输入消息分发给一个或者多个智能聊天***,获取各个智能聊天***发送的对应于该第三类型的用户输入消息的回复消息,并计算各个回复消息与第三类型的用户输入消息之间的匹配度。消息分发模块73还用于将各个回复消息及对应的匹配度发送给消息过滤模块74。The message distribution module 73 is connected to the smart chat system, and is configured to distribute the third type of user input message to one or more smart chat systems, and obtain a reply message corresponding to the third type of user input message sent by each smart chat system. And calculate the degree of matching between each reply message and the third type of user input message. The message distribution module 73 is further configured to send each reply message and the corresponding matching degree to the message filtering module 74.
消息过滤模块74用于根据匹配度确定对应于第三类型的用户输入消息的最终回复消息,并将最终回复消息发送给消息收发模块71,通过消息收发模块71将最终回复消息发送给客户端。The message filtering module 74 is configured to determine a final reply message corresponding to the third type of user input message according to the matching degree, and send the final reply message to the message transmitting and receiving module 71, and send the final reply message to the client through the message sending and receiving module 71.
上述示例中涉及的模块为按照功能划分的功能模块。在本发明实施例中,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将服务器的功能分配由不同的功能模块完成,即将服务器的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。The modules involved in the above examples are functional modules that are divided according to functions. In the embodiment of the present invention, only the division of each functional module is illustrated. In an actual application, the function allocation of the server may be completed by different functional modules according to requirements, that is, the internal structure of the server is divided into different functional modules. To complete all or part of the functions described above.
可选地,当服务器是由多台服务器组成的服务器集群时,示例性的服务器架构可以如图12所示。该服务器集群包括:消息服务器81、处理服务器82、解析服务器83和代理服务器84。其中,处理服务器82与消息服务器81、解析服务器83和代理服务器84之间分别具有通信连接,该通信连接可以基于有线网络或者无线网络建立。Alternatively, when the server is a server cluster composed of multiple servers, an exemplary server architecture may be as shown in FIG. The server cluster includes a message server 81, a processing server 82, a resolution server 83, and a proxy server 84. The processing server 82 has a communication connection with the message server 81, the resolution server 83, and the proxy server 84, respectively, and the communication connection can be established based on a wired network or a wireless network.
消息服务器81主要用于收发消息,包括从客户端接收消息和向客户端发送消息。可选地,消息服务器81还用于存储消息,包括存储从客户端接收的消息和向客户端发送的消息,以便后续在有需求时能够查找历史消息记录。The message server 81 is mainly used for sending and receiving messages, including receiving messages from the client and sending messages to the client. Optionally, the message server 81 is further configured to store the message, including storing the message received from the client and the message sent to the client, so as to be able to find the historical message record when needed.
处理服务器82主要用于根据全部的订购要素信息,搜索获取与该全部的订购要素信息相匹配的虚拟资源。The processing server 82 is mainly configured to search for and acquire virtual resources matching the entire order element information based on all the order element information.
解析服务器83主要用于对消息进行解析,从消息中识别得到订购要素信息。The parsing server 83 is mainly used to parse the message, and the order element information is identified from the message.
代理服务器84主要用于生成虚拟资源信息(也即虚拟资源订单)。The proxy server 84 is primarily used to generate virtual resource information (ie, virtual resource orders).
结合参考图13,其示出了基于图12所示的服务器集群,本发明实施例提供的一种信息获取方法的流程图。Referring to FIG. 13 , a flowchart of an information acquisition method provided by an embodiment of the present invention is shown based on the server cluster shown in FIG. 12 .
步骤901,客户端向消息服务器发送消息;Step 901: The client sends a message to the message server.
相应地,消息服务器接收客户端发送的消息;Correspondingly, the message server receives the message sent by the client;
步骤902,消息服务器存储消息;Step 902, the message server stores the message;
步骤903,消息服务器向处理服务器转发消息;Step 903: The message server forwards the message to the processing server.
相应地,处理服务器接收消息服务器转发的消息;Correspondingly, the processing server receives the message forwarded by the message server;
步骤904,处理服务器在确定需要对消息进行解析时,将消息转发给解析服务器;Step 904: The processing server forwards the message to the parsing server when determining that the message needs to be parsed;
相应地,解析服务器接收处理服务器转发的消息;Correspondingly, the parsing server receives the message forwarded by the processing server;
步骤905,解析服务器对消息进行解析,从消息中识别得到订购要素信息;Step 905: The parsing server parses the message, and identifies the order element information from the message;
步骤906,解析服务器将订购要素信息发送给处理服务器;Step 906, the parsing server sends the order element information to the processing server;
相应地,处理服务器接收解析服务器发送的订购要素信息;Correspondingly, the processing server receives the subscription element information sent by the resolution server;
步骤907,如果处理服务器接收到全部的订购要素信息,则处理服务器搜索获取与全部的订购要素信息相匹配的虚拟资源;Step 907, if the processing server receives all the subscription element information, the processing server searches for the virtual resource that matches all the subscription element information;
步骤908,处理服务器向代理服务器发送订购请求,订购请求用于请求订购上述虚拟资源;Step 908: The processing server sends a subscription request to the proxy server, where the subscription request is used to request to subscribe to the virtual resource.
相应地,代理服务器接收处理服务器发送的订购请求;Correspondingly, the proxy server receives the subscription request sent by the processing server;
步骤909,代理服务器生成与订购请求相对应的虚拟资源订单;Step 909, the proxy server generates a virtual resource order corresponding to the subscription request;
步骤910,代理服务器将虚拟资源订单发送给处理服务器;Step 910: The proxy server sends the virtual resource order to the processing server.
相应地,处理服务器接收代理服务器发送的虚拟资源订单;Correspondingly, the processing server receives the virtual resource order sent by the proxy server;
步骤911,处理服务器生成携带有虚拟资源订单的订单消息;Step 911, the processing server generates an order message carrying an order of the virtual resource;
步骤912,处理服务器向消息服务器发送订单消息;Step 912: The processing server sends an order message to the message server.
相应地,消息服务器接收处理服务器发送的订单消息;Correspondingly, the message server receives the order message sent by the processing server;
步骤913,消息服务器存储订单消息;Step 913, the message server stores an order message;
步骤914,消息服务器向客户端发送订单消息;Step 914, the message server sends an order message to the client.
相应地,客户端接收消息服务器发送的订单消息。Accordingly, the client receives an order message sent by the message server.
需要补充说明的一点是,在本发明实施例中,主要以在线订购电影票这一应用场景对本发明提供的技术方案进行介绍说明。本发明提供的技术方案同样适用于其它产品或服务的在线订购场景,例如在线订购演唱会门票、在线订购演出门票、在线订购机票、在线订购各类生活服务、在线订餐厅、在线叫车,等等。针对上述应用场景,客户端通过一次获取全部的订购要素信息,并将全部的订购要素信息发送给服务器,以使得服务器据此生成相应的订单,从而减少客户端与服务器之间的交互次数。It should be noted that, in the embodiment of the present invention, the technical solution provided by the present invention is mainly described in the application scenario in which a movie ticket is ordered online. The technical solution provided by the invention is also applicable to online ordering scenarios of other products or services, such as ordering concert tickets online, ordering performance tickets online, ordering air tickets online, ordering various life services online, ordering restaurants online, calling cars online, etc. Wait. For the above application scenario, the client obtains all the subscription element information at one time, and sends all the subscription element information to the server, so that the server generates a corresponding order accordingly, thereby reducing the number of interactions between the client and the server.
下述为本发明装置实施例,可以用于执行本发明方法实施例。对于本发明装置实施例中未披露的细节,请参照本发明方法实施例。The following is an embodiment of the apparatus of the present invention, which can be used to carry out the method embodiments of the present invention. For details not disclosed in the embodiment of the device of the present invention, please refer to the method embodiment of the present invention.
请参考图14,其示出了本发明实施例提供的一种信息获取装置的框图。该装置具有实现上述方法示例中客户端侧的功能。所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以包括:第一获取模块1010、第一发送模块1020和信息接收模块1030。Please refer to FIG. 14, which is a block diagram of an information acquiring apparatus according to an embodiment of the present invention. The device has the function of implementing the client side in the above method example. The functions may be implemented by hardware, or may be implemented by hardware by executing corresponding software. The apparatus may include: a first obtaining module 1010, a first sending module 1020, and an information receiving module 1030.
第一获取模块1010,用于获取第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息。The first obtaining module 1010 is configured to obtain a user input message of a first type, where the user input message of the first type refers to a user input message carrying all the subscription element information, and the subscription element information refers to an online subscription virtual The necessary information needed for the resource.
第一发送模块1020,用于向服务器发送所述第一类型的用户输入消息。The first sending module 1020 is configured to send the first type of user input message to a server.
信息接收模块1030,用于接收所述服务器在获取到与所述全部的订购要素信息相匹配的虚拟资源之后发送的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。The information receiving module 1030 is configured to receive virtual resource information that is sent by the server after acquiring the virtual resource that matches all the subscription element information, where the virtual resource information is used for online ordering and all the ordering elements. The virtual resources that match the information.
在基于图14所示实施例提供的一个可选实施例中,所述装置还包括:信息显示模块。In an optional embodiment provided based on the embodiment shown in FIG. 14, the apparatus further includes: an information display module.
信息显示模块,用于显示所述虚拟资源信息。An information display module is configured to display the virtual resource information.
在基于图14所示实施例提供的另一个可选实施例中,所述装置还包括:第二获取模块、第二发送模块、页面接收模块和页面显示模块。In another optional embodiment provided by the embodiment shown in FIG. 14, the apparatus further includes: a second obtaining module, a second sending module, a page receiving module, and a page displaying module.
第二获取模块,用于获取第二类型的用户输入消息,所述第二类型的用户输入消息是指携带有部分的订购要素信息的用户输入消息。The second obtaining module is configured to acquire a second type of user input message, where the second type of user input message refers to a user input message carrying part of the order element information.
第二发送模块,用于向所述服务器发送所述第二类型的用户输入消息。And a second sending module, configured to send the second type of user input message to the server.
页面接收模块,用于接收所述服务器在识别出所述第二类型的用户输入消息之后发送的信息收集页面,所述信息收集页面用于收集所述全部的订购要素信息。可选地,所述信息收集页面中包括所述部分的订购要素信息。And a page receiving module, configured to receive an information collection page sent by the server after identifying the second type of user input message, where the information collection page is configured to collect the entire subscription element information. Optionally, the information collection page includes the part of the subscription element information.
页面显示模块,用于显示所述信息收集页面。A page display module for displaying the information collection page.
在基于图14所示实施例提供的另一个可选实施例中,所述装置还包括:第三获取模块、第三发送模块、页面接收模块和页面显示模块。In another optional embodiment provided based on the embodiment shown in FIG. 14, the apparatus further includes: a third obtaining module, a third sending module, a page receiving module, and a page displaying module.
第三获取模块,用于获取预设消息。The third obtaining module is configured to acquire a preset message.
第三发送模块,用于向所述服务器发送所述预设消息。The third sending module is configured to send the preset message to the server.
页面接收模块,用于接收所述服务器在识别出所述预设消息之后发送的信息收集页面,所述信息收集页面用于收集所述全部的订购要素信息。The page receiving module is configured to receive an information collection page sent by the server after identifying the preset message, where the information collection page is used to collect all the subscription element information.
页面显示模块,用于显示所述信息收集页面。A page display module for displaying the information collection page.
可选地,所述信息收集页面中包括至少一项订购要素信息的推荐信息,所述订购要素信息的推荐信息根据登录客户端的用户帐号的特征信息生成,所述特征信息用于指示所述用户帐号对应的用户个人特征。Optionally, the information collection page includes at least one piece of recommendation information of the order element information, where the recommendation information of the order element information is generated according to the feature information of the user account of the login client, where the feature information is used to indicate the user. The user's personal characteristics corresponding to the account.
在基于图14所示实施例提供的另一个可选实施例中,所述装置还包括:第四获取模块、第四发送模块、回复接收模块和回复展示模块。In another optional embodiment provided by the embodiment shown in FIG. 14, the apparatus further includes: a fourth obtaining module, a fourth sending module, a reply receiving module, and a reply display module.
第四获取模块,用于获取第三类型的用户输入消息,所述第三类型的用户输入消息是指未携带订购要素信息的用户输入消息。The fourth obtaining module is configured to obtain a third type of user input message, where the third type of user input message refers to a user input message that does not carry the subscription element information.
第四发送模块,用于向所述服务器发送所述第三类型的用户输入消息;以使得所述服务器将所述第三类型的用户输入消息发送给至少两个智能聊天***,接收各个所述智能聊天***发送的对应于所述第三类型的用户输入消息的回复消息,并根据各个所述回复消息与所述第三类型的用户输入消息之间的匹配度,确定对应于所述第三类型的用户输入消息的最终回复消息。a fourth sending module, configured to send the third type of user input message to the server, to enable the server to send the third type of user input message to at least two smart chat systems, and receive each of the And a reply message corresponding to the third type of user input message sent by the smart chat system, and determining, according to a matching degree between each of the reply message and the third type of user input message, corresponding to the third The type of user enters the final reply message for the message.
回复接收模块,用于接收所述服务器发送的所述最终回复消息。And a reply receiving module, configured to receive the final reply message sent by the server.
回复展示模块,用于展示所述最终回复消息。Responding to the display module for presenting the final reply message.
相关细节可参考图2和图8所述的方法实施例。For related details, reference may be made to the method embodiments described in FIGS. 2 and 8.
请参考图15,其示出了本发明实施例提供的一种信息提供装置的框图。该装置具有实现上述方法示例中服务器侧的功能。所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以包括:第一接收模块1110、资源获取模块1120、信息生成模块1130和信息发送模块1140。Referring to FIG. 15, a block diagram of an information providing apparatus according to an embodiment of the present invention is shown. The device has the function of implementing the server side in the above method example. The functions may be implemented by hardware, or may be implemented by hardware by executing corresponding software. The apparatus may include: a first receiving module 1110, a resource obtaining module 1120, an information generating module 1130, and an information sending module 1140.
第一接收模块1110,用于接收客户端发送的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输 入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息。The first receiving module 1110 is configured to receive a first type of user input message sent by the client, where the first type of user input message refers to a user input message carrying all the subscription element information, where the order element information is Refers to the necessary information needed to order virtual resources online.
资源获取模块1120,用于获取与所述全部的订购要素信息相匹配的虚拟资源。The resource obtaining module 1120 is configured to acquire a virtual resource that matches all the subscription element information.
信息生成模块1130,用于生成用于订购所述虚拟资源的虚拟资源信息。The information generating module 1130 is configured to generate virtual resource information for ordering the virtual resource.
信息发送模块1140,用于向所述客户端发送所述虚拟资源信息。The information sending module 1140 is configured to send the virtual resource information to the client.
在基于图15所示实施例提供的一个可选实施例中,所述装置还包括:第二接收模块和页面发送模块。In an optional embodiment provided based on the embodiment shown in FIG. 15, the apparatus further includes: a second receiving module and a page sending module.
第二接收模块,用于接收所述客户端发送的第二类型的用户输入消息,所述第二类型的用户输入消息是指携带有部分的订购要素信息的用户输入消息。The second receiving module is configured to receive a second type of user input message sent by the client, where the second type of user input message refers to a user input message carrying part of the subscription element information.
页面发送模块,用于向所述客户端发送信息收集页面,所述信息收集页面用于收集所述全部的订购要素信息。可选地,所述信息收集页面中包括所述部分的订购要素信息。And a page sending module, configured to send an information collection page to the client, where the information collection page is configured to collect all the subscription element information. Optionally, the information collection page includes the part of the subscription element information.
在基于图15所示实施例提供的一个可选实施例中,所述装置还包括:第三接收模块和页面发送模块。In an optional embodiment provided based on the embodiment shown in FIG. 15, the apparatus further includes: a third receiving module and a page sending module.
第三接收模块,用于接收所述客户端发送的预设消息。The third receiving module is configured to receive a preset message sent by the client.
页面发送模块,用于向所述客户端发送信息收集页面,所述信息收集页面用于收集所述全部的订购要素信息。And a page sending module, configured to send an information collection page to the client, where the information collection page is configured to collect all the subscription element information.
可选地,所述装置还包括:特征获取模块和信息生成模块。Optionally, the device further includes: a feature acquiring module and an information generating module.
特征获取模块,用于获取登录所述客户端的用户帐号的特征信息,所述特征信息用于指示所述用户帐号对应的用户个人特征。The feature obtaining module is configured to obtain feature information of a user account that is logged in to the client, where the feature information is used to indicate a user personal feature corresponding to the user account.
信息生成模块,用于根据所述用户帐号的特征信息,生成至少一项订购要素信息的推荐信息。The information generating module is configured to generate, according to the feature information of the user account, the recommendation information of the at least one order element information.
其中,所述信息收集页面中包括所述订购要素信息的推荐信息。The information collection page includes recommendation information of the order element information.
在基于图15所示实施例提供的另一个可选实施例中,所述装置还包括:第四接收模块、消息发送模块、回复接收模块、匹配度获取模块、回复确定模块和回复发送模块。In another optional embodiment provided by the embodiment shown in FIG. 15, the apparatus further includes: a fourth receiving module, a message sending module, a reply receiving module, a matching degree acquiring module, a reply determining module, and a reply sending module.
第四接收模块,用于接收所述客户端发送的第三类型的用户输入消息,所述第三类型的用户输入消息是指未携带订购要素信息的用户输入消息。The fourth receiving module is configured to receive a third type of user input message sent by the client, where the third type of user input message refers to a user input message that does not carry the subscription element information.
消息发送模块,用于将所述第三类型的用户输入消息发送给至少两个智能聊天***。And a message sending module, configured to send the third type of user input message to at least two smart chat systems.
回复接收模块,用于接收各个所述智能聊天***发送的对应于所述第三类型的用户输入消息的回复消息。And a reply receiving module, configured to receive a reply message sent by each of the smart chat systems corresponding to the third type of user input message.
匹配度获取模块,用于获取各个所述回复消息与所述第三类型的用户输入消息之间的匹配度。The matching degree obtaining module is configured to obtain a matching degree between each of the reply messages and the third type of user input message.
回复确定模块,用于根据所述匹配度确定对应于所述第三类型的用户输入消息的最终回复消息。And a reply determining module, configured to determine, according to the matching degree, a final reply message corresponding to the third type of user input message.
回复发送模块,用于向所述客户端发送所述最终回复消息。And a reply sending module, configured to send the final reply message to the client.
在基于图15所示实施例提供的另一个可选实施例中,所述虚拟资源为电影票,所述全部的订购要素信息包括:影片名称、影院名称、观影时间和观影人数。In another optional embodiment provided based on the embodiment shown in FIG. 15, the virtual resource is a movie ticket, and the entire subscription element information includes: a movie name, a theater name, a viewing time, and a viewing number.
所述资源获取模块,包括:场次选取单元和电影票生成单元。The resource obtaining module includes: a field selection unit and a movie ticket generating unit.
场次选取单元,用于从电影票数据库中选取与所述影片名称和所述影院名称相同、放映时间与所述观影时间之间的时间间隔小于预设阈值且余票数量不小于所述观影人数的放映场次。a session selection unit, configured to select, from the movie ticket database, the same as the movie name and the theater name, the time interval between the showtime and the viewing time is less than a preset threshold, and the number of the remaining votes is not less than the view The number of screenings for the number of people.
电影票生成单元,用于从所述放映场次的可选座位中,选择与所述观影人数相符的座位,并根据选择的座位生成所述电影票。The movie ticket generating unit is configured to select a seat corresponding to the number of people watching from the optional seats of the screening event, and generate the movie ticket according to the selected seat.
相关细节可参考图2和图8所述的方法实施例。For related details, reference may be made to the method embodiments described in FIGS. 2 and 8.
本发明一示例性实施例还提供了一种信息获取***,该***包括:客户端和服务器。客户端包括如图14所示实施例或者基于图14所示实施例的可选实施例所提供的信息获取装置。服务器包括如图15所示实施例或者基于图15所示实施例的可选实施例所提供的信息提供装置。An exemplary embodiment of the present invention also provides an information acquisition system, including: a client and a server. The client includes an information acquisition apparatus as provided in the embodiment shown in FIG. 14 or based on an alternative embodiment of the embodiment shown in FIG. The server includes an information providing apparatus as shown in the embodiment shown in FIG. 15 or based on an alternative embodiment of the embodiment shown in FIG.
请参考图16,其示出了本发明实施例提供的一种信息获取装置的框图。该装置具有实现上述方法示例中客户端侧的功能。所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以包括:界面显示模块1210、第一获取模块1220、第一发送模块1230和信息显示模块1240。Please refer to FIG. 16, which is a block diagram of an information acquiring apparatus according to an embodiment of the present invention. The device has the function of implementing the client side in the above method example. The functions may be implemented by hardware, or may be implemented by hardware by executing corresponding software. The device may include an interface display module 1210, a first acquisition module 1220, a first transmission module 1230, and an information display module 1240.
界面显示模块1210,用于显示与订购服务器的聊天对话界面。The interface display module 1210 is configured to display a chat dialogue interface with the subscription server.
第一获取模块1220,用于获取在所述聊天对话界面中输入的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息。The first obtaining module 1220 is configured to obtain a first type of user input message input in the chat conversation interface, where the first type of user input message refers to a user input message carrying all the subscription element information. The order element information refers to the necessary information required to order virtual resources online.
第一发送模块1230,用于向所述订购服务器发送所述第一类型的用户输入消息。The first sending module 1230 is configured to send the first type of user input message to the subscription server.
信息显示模块1240,用于显示接收到的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。The information display module 1240 is configured to display the received virtual resource information, and the virtual resource information is used to order virtual resources that match the entire subscription element information.
在基于图16所示实施例提供的一个可选实施例中,所述第一获取模块1220,包括:In an optional embodiment provided by the embodiment shown in FIG. 16, the first obtaining module 1220 includes:
文字获取单元,用于获取在所述聊天对话界面中以文字形式输入的所述第一类型的用户输入消息;a text obtaining unit, configured to acquire the first type of user input message input in text form in the chat conversation interface;
或者,or,
语音获取单元,用于获取在所述聊天对话界面中以语音形式输入的所 述第一类型的用户输入消息;a voice acquiring unit, configured to acquire the first type of user input message input in a voice form in the chat conversation interface;
或者,or,
信息获取单元,用于获取在所述聊天对话界面的信息收集页面中输入的所述全部的订购要素信息;消息生成单元,用于生成携带有所述全部的订购要素信息的所述第一类型的用户输入消息。An information acquiring unit, configured to acquire all the subscription element information input in the information collection page of the chat conversation interface; and a message generating unit, configured to generate the first type that carries the entire subscription element information User input message.
在基于图16所示实施例提供的另一个可选实施例中,所述装置还包括:第二获取模块、第二发送模块和页面显示模块。In another optional embodiment provided based on the embodiment shown in FIG. 16, the apparatus further includes: a second obtaining module, a second sending module, and a page display module.
第二获取模块,用于获取在所述聊天对话界面中输入的第二类型的用户输入消息,所述第二类型的用户输入消息是指携带有部分的订购要素信息的用户输入消息。And a second acquiring module, configured to acquire a second type of user input message input in the chat conversation interface, where the second type of user input message refers to a user input message carrying part of the subscription element information.
第二发送模块,用于向所述订购服务器发送所述第二类型的用户输入消息。And a second sending module, configured to send the second type of user input message to the subscription server.
页面显示模块,用于在所述聊天对话界面中显示接收到的所述信息收集页面。a page display module, configured to display the received information collection page in the chat conversation interface.
在基于图16所示实施例提供的另一个可选实施例中,所述装置还包括:第三获取模块、第三发送模块和页面显示模块。In another optional embodiment provided based on the embodiment shown in FIG. 16, the apparatus further includes: a third obtaining module, a third sending module, and a page display module.
第三获取模块,用于获取在所述聊天对话界面中输入的预设消息。The third obtaining module is configured to acquire a preset message input in the chat conversation interface.
第三发送模块,用于向所述订购服务器发送所述预设消息。And a third sending module, configured to send the preset message to the subscription server.
页面显示模块,用于在所述聊天对话界面中显示接收到的所述信息收集页面。a page display module, configured to display the received information collection page in the chat conversation interface.
在基于图16所示实施例提供的另一个可选实施例中,所述信息收集页面中包括至少一项订购要素信息的推荐信息。In another optional embodiment provided based on the embodiment shown in FIG. 16, the information collection page includes recommendation information of at least one order element information.
相关细节可参考图13、图2和图8所述的方法实施例。For related details, reference may be made to the method embodiments described in FIGS. 13, 2, and 8.
本发明实施例还提供了一种语音交互装置。图17是根据本发明实施 例的一种可选的语音交互装置的示意图,如图17所示,该语音交互装置主要包括:The embodiment of the invention further provides a voice interaction device. FIG. 17 is a schematic diagram of an optional voice interaction apparatus according to an embodiment of the present invention. As shown in FIG. 17, the voice interaction apparatus mainly includes:
第一接收单元610,用于接收语音指令,其中,语音指令用于指示执行第三方应用中的目标操作。The first receiving unit 610 is configured to receive a voice instruction, where the voice instruction is used to indicate that the target operation in the third-party application is performed.
由用户发出语音指令,通过语音指令指示出要执行的第三方应用中的目标操作。如:用户发出语音指令“我要查看天气预报”,在语音指令中,指示出了用户要求执行的目标操作为查询天气预报,相关的第三方应用为天气预报应用;再如:用户发出语音指令“我要打车去XXX地”,通过该语音指令指示出需要执行打车应用中的打车操作,其中,目的地为“XXX地”,出发地默认为当前GPS定位的用户所在地点。语音指令还可以但不限于为查询快递的语音指令,查询新闻的语音指令,查询电影信息和购票的语音指令等。A voice command is issued by the user to indicate a target operation in the third party application to be executed by the voice command. For example, the user sends a voice command “I want to check the weather forecast”. In the voice command, it indicates that the target operation requested by the user is to query the weather forecast, and the related third-party application is the weather forecast application; for example, the user issues a voice command. "I want to take a taxi to XXX", the voice command indicates that the taxi operation in the taxi application needs to be performed, wherein the destination is "XXX", and the departure destination defaults to the location of the current GPS location. The voice command can also be, but is not limited to, a voice command for inquiring express, a voice command for querying news, a query for movie information, and a voice command for purchasing a ticket.
请求单元620,用于根据语音指令向第三方应用的服务端发起操作请求,其中,操作请求用于请求服务端执行目标操作。The requesting unit 620 is configured to initiate an operation request to the server of the third-party application according to the voice instruction, where the operation request is used to request the server to perform the target operation.
在接收到语音指令之后,请求单元620根据该语音指令直接向第三方应用的服务端发出操作请求,第三方应用的服务端可以但不限定设置在网络上的服务器上,通过向第三方应用的服务端发出上述操作请求,请求服务端执行语音指令所指示的目标操作。After receiving the voice instruction, the requesting unit 620 directly sends an operation request to the server of the third-party application according to the voice instruction, and the server of the third-party application may be, but not limited to, a server set on the network, by applying to the third party. The server issues the above operation request, and requests the server to perform the target operation indicated by the voice instruction.
例如:在接收到“我要查看天气预报”的指令后,向天气预报应用的服务端发起操作请求,天气预报应用的服务端查询用户所在地的天气。再如:接收到的语音指令为“我要打车去XXX地”,向打车应用的服务端发起操作请求,打车应用的服务端为用户查找并预定当前从用户所在地出发去“XXX地”的出租车。For example, after receiving the instruction "I want to view the weather forecast", an operation request is initiated to the server of the weather forecast application, and the server of the weather forecast application queries the weather of the user's location. Another example: the received voice command is “I want to take a taxi to XXX”, and initiates an operation request to the server of the taxi application. The server of the taxi application finds and reserves the current rental from the user's location to “XXX”. car.
第二接收单元630,用于接收服务端响应操作请求发送的目标数据,其中,目标数据是由服务端执行目标操作得到的。The second receiving unit 630 is configured to receive target data that is sent by the server in response to the operation request, where the target data is obtained by the server performing the target operation.
第三方应用的服务端根据上述操作请求执行目标操作之后,获取目标 数据,并将目标数据返回给发出操作请求的一方,发出操作请求的一方通过第二接收单元630接收服务器返回的目标数据。可选地,发出操作的一方可以但不限定为公众号,手机APP,智能手表等等。After the server of the third-party application performs the target operation according to the above operation request, the target data is acquired, and the target data is returned to the party that issued the operation request, and the party that issues the operation request receives the target data returned by the server through the second receiving unit 630. Alternatively, the party issuing the operation may be, but is not limited to, a public number, a mobile phone APP, a smart watch, and the like.
例如:以公众号为例进行说明,用户在公众号中发出的语音指令为“我要查看天气预报”,公众号根据该语音指令向天气预报应用的服务端发出操作请求,请求服务端查询天气预报,服务端根据操作请求执行查询天气预报的操作,得到天气预报的查询结果,并将查询结果返回给公众号。For example, taking the public number as an example, the voice command issued by the user in the public number is “I want to check the weather forecast”, and the public number sends an operation request to the server of the weather forecast application according to the voice command, and requests the server to check the weather. The forecasting, the server performs the operation of querying the weather forecast according to the operation request, obtains the query result of the weather forecast, and returns the query result to the public number.
展示单元640,用于展示目标数据。The display unit 640 is configured to display target data.
接收到第三方应用的服务端发送的目标数据之后,展示单元640将目标数据展示给用户,以完成用户的指令。如:将天气预报的查询结果展示给用户,获者将打车的结果展示给用户,打车结果可以为是否打到车,打到的车的车型、车牌以及车辆预计到达时间等信息。After receiving the target data sent by the server of the third party application, the display unit 640 presents the target data to the user to complete the user's instruction. For example, the weather forecast query results are displayed to the user, and the winner shows the result of the taxi to the user. The taxi result may be information such as whether the car is hit, the model of the car hit, the license plate, and the expected arrival time of the vehicle.
在本发明实施例中,采用接收语音指令,其中,语音指令用于指示执行第三方应用中的目标操作;根据语音指令向第三方应用的服务端发起操作请求,其中,操作请求用于请求服务端执行目标操作;接收服务端响应操作请求发送的目标数据,其中,目标数据是由服务端执行目标操作得到的;展示目标数据的方式,通过根据用户的语音指令直接与第三方应用的服务端进行交互,请求服务端执行目标操作,并获取目标数据,达到了不需用户手动操作即获取服务的目的,从而简化了通过语音助手进行操作的过程,进而解决了语音助手的操作比较复杂的技术问题。In the embodiment of the present invention, the receiving voice instruction is used, wherein the voice instruction is used to indicate that the target operation in the third-party application is performed; and the operation request is initiated to the server of the third-party application according to the voice instruction, where the operation request is used to request the service. The terminal performs the target operation; the receiving server responds to the target data sent by the operation request, wherein the target data is obtained by the server performing the target operation; and the manner of displaying the target data is directly related to the server of the third-party application according to the voice instruction of the user. Interacting, requesting the server to perform the target operation, and acquiring the target data, achieves the purpose of obtaining the service without manual operation by the user, thereby simplifying the process of operating through the voice assistant, thereby solving the complicated operation of the voice assistant. problem.
可选地,请求单元包括:提取模块,用于提取语音指令中的关键词;确定模块,用于根据关键词确定第三方应用的服务端,其中,关键词与第三方应用具有关联关系;生成模块,用于根据关键词生成操作请求;发送模块,用于向服务端发送操作请求,以请求服务端执行与关键词相关的目标操作。Optionally, the requesting unit includes: an extracting module, configured to extract a keyword in the voice instruction; and a determining module, configured to determine a server end of the third-party application according to the keyword, where the keyword has an association relationship with the third-party application; a module, configured to generate an operation request according to the keyword; and a sending module, configured to send an operation request to the server, to request the server to perform a target operation related to the keyword.
作为本发明实施例的一种优选地实施方式,在根据接收到的语音指令 向第三方应用的服务端发起操作请求时,提取模块先从语音指令中提取出关键词,确定模块根据提取出的关键词确定相关的第三方应用,生成模块根据指令所指示的目标操作生成操作请求,最后发送模块向第三方应用的服务端发送操作请求,请求服务端根据关键词执行目标操作。As a preferred implementation manner of the embodiment of the present invention, when an operation request is initiated to a third-party application server according to the received voice instruction, the extraction module first extracts a keyword from the voice instruction, and the determining module extracts the The keyword determines the related third-party application, and the generating module generates an operation request according to the target operation indicated by the instruction, and finally the sending module sends an operation request to the server of the third-party application, and requests the server to perform the target operation according to the keyword.
可选地,其特征在于,生成模块包括:确定子模块,用于根据服务端确定服务端采用的通讯协议,其中,通讯协议为预先约定的通讯协议;生成子模块,用于根据通讯协议和关键词生成操作请求。Optionally, the generating module includes: determining a submodule, configured to determine, according to the server, a communication protocol used by the server, where the communication protocol is a pre-agreed communication protocol; and the generating submodule is configured to be used according to the communication protocol and The keyword generates an operation request.
可选地,其特征在于,请求单元包括:请求模块,用于根据语音指令向多个第三方应用的多个服务端发起操作请求;第二接收单元包括:接收模块,用于接收多个服务端响应操作请求发送的多个数据;筛选模块,用于按照与操作请求相匹配的预设规则从多个数据中筛选出目标数据。Optionally, the requesting unit includes: a requesting module, configured to initiate an operation request to multiple server terminals of the plurality of third-party applications according to the voice instruction; and the second receiving unit includes: a receiving module, configured to receive the multiple services The terminal responds to the plurality of data sent by the operation request; and the screening module is configured to filter the target data from the plurality of data according to a preset rule that matches the operation request.
作为本发明实施例的一种优选地实施方式,根据接收到的语音指令向第三方应用的服务端发送操作请求时,第三方应用可以是多个,并且接收到的服务端返回的数据相应地也为多个,筛选模块根据预设的规则,从接收到的多个数据中筛选出目标数据。As a preferred implementation manner of the embodiment of the present invention, when the operation request is sent to the server of the third-party application according to the received voice instruction, the third-party application may be multiple, and the received data returned by the server end is correspondingly There are also multiple, and the screening module filters the target data from the received plurality of data according to a preset rule.
可选地,展示单元包括:显示模块,用于在客户端的屏幕上显示目标数据,其中,客户端与第三方应用不同;或者播放模块,用于在客户端上语音播放目标数据。Optionally, the display unit comprises: a display module, configured to display the target data on the screen of the client, wherein the client is different from the third-party application; or a playing module, configured to play the target data by voice on the client.
作为本发明实施例的一种优选地实施方式,在接收到目标数据之后,可以通过多种方式将目标数据展示给用户,可选地,目标数据可以显示在屏幕上,也可以通过语音的方式播放给用户。在本发明实施例中,可以通过多种方式执行上述方法,如采用语音APP、语音公众号、智能音箱、智能手表等等,下面具体举例说明:As a preferred implementation manner of the embodiment of the present invention, after receiving the target data, the target data may be presented to the user in multiple manners. Alternatively, the target data may be displayed on the screen or by voice. Play to the user. In the embodiment of the present invention, the foregoing method may be performed in various manners, such as using a voice APP, a voice public number, a smart speaker, a smart watch, etc., and the following specific examples are as follows:
例如:采用语音APP执行上述方法,当前接收到的语音指令为“打车去XXX地”,语音APP接收该指令,提取语音令中的关键词,生成操作请求,发送给打车应用的服务端,打车应用服务端根据操作请求为用户 预订从用户所在地去“XXX地”的了租车,并将打车结果与出租车信息显示在用户的用机屏幕或者语音APP的显示界面上。再如:采用语音公众号执行上述方法,当前公众号接收的到语音指令是“查询快递信息”,公众号提取关键词生成操作请求,发送给快递应用服务端,快递应用服务端根据操作请求查找用户的快递信息,将查找到的数据返回公众号,公众号将快递数据显示在公众号的窗口。再如:采用智能音箱执行上述方法,当前接收到的语音指令为“查询今日的娱乐新闻”,智能音箱从语音指令中提取关键词,并根据关键词生成操作请求,将操作请求发送给新闻应用的服务端,新闻应用服务端查找当日的娱乐新闻并发送给智能音箱,智能音箱接收到服务端返回的娱乐新闻后,通过语音的形式,将新闻播放出来。再如:采用智能手表执行上述方法,当前手表接收到语音指令为“查询目前在映的电影”,智能手表生成操作请求后,将操作请求发送给相关的电影应用的服务端,服务端查找当前在映的电影,将数据信息返回给智能手表,智能手表可以根据用户的设置,将电影信息显示的手表屏幕上,或者通过语音的形式将电影信息播放给用户。For example, the voice APP is used to execute the above method, and the currently received voice command is “taking a taxi to XXX place”, the voice APP receives the command, extracts keywords in the voice command, generates an operation request, and sends the message to the server of the taxi application, and takes a taxi. The application server subscribes the user to the "XXX place" from the user's location according to the operation request, and displays the taxi result and the taxi information on the user's user screen or the voice APP display interface. Another example: using the voice public number to perform the above method, the current voice command received by the public number is "query express information", the public number extracts the keyword generation operation request, and sends it to the express application server, and the express application server searches according to the operation request. The user's courier information returns the found data to the public number, and the public number displays the courier data in the public number window. Another example: using the smart speaker to perform the above method, the currently received voice command is "query today's entertainment news", the smart speaker extracts keywords from the voice command, and generates an operation request according to the keyword, and sends the operation request to the news application. The server, the news application server finds the entertainment news of the day and sends it to the smart speaker. After receiving the entertainment news returned by the server, the smart speaker plays the news through the form of voice. Another example: using the smart watch to perform the above method, the current watch receives the voice command as "query the currently present movie", and after the smart watch generates the operation request, sends the operation request to the server of the relevant movie application, and the server looks for the current In the movie, the data information is returned to the smart watch, and the smart watch can play the movie information to the user on the screen of the watch displayed by the movie information according to the user's setting, or in the form of voice.
上述的语音交互方法可以作为一个独立的方法,也可以与上述的信息获取方法相结合。上述语音交互方法和信息获取方法的结合作为一个实施例,并不限定上述语音交互方法和信息获取方法分别作为一个独立的方法进行保护。The above voice interaction method can be used as an independent method or combined with the above information acquisition method. The combination of the above voice interaction method and the information acquisition method is an embodiment, and the voice interaction method and the information acquisition method are not limited to be protected as an independent method.
需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the device provided by the foregoing embodiment implements its function, only the division of the foregoing functional modules is illustrated. In actual applications, the function distribution may be completed by different functional modules according to requirements, that is, the device is required. The internal structure is divided into different functional modules to perform all or part of the functions described above. In addition, the apparatus and method embodiments provided in the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
请参考图18,其示出了本发明实施例提供的一种终端的结构示意图。该终端用于实施上述实施例中提供的客户端侧的信息获取方法。具体来讲:Referring to FIG. 18, it is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal is configured to implement the information acquisition method on the client side provided in the foregoing embodiment. Specifically:
终端1300可以包括RF(Radio Frequency,射频)电路1310、包括有 一个或一个以上计算机可读存储介质的存储器1320、输入单元1330、显示单元1340、传感器1350、音频电路1360、WiFi(wireless fidelity,无线保真)模块1370、包括有一个或者一个以上处理核心的处理器1380、以及电源1390等部件。本领域技术人员可以理解,图18中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The terminal 1300 may include an RF (Radio Frequency) circuit 1310, a memory 1320 including one or more computer readable storage media, an input unit 1330, a display unit 1340, a sensor 1350, an audio circuit 1360, and a WiFi (wireless fidelity, wireless). The fidelity module 1370 includes a processor 1380 having one or more processing cores, and a power supply 1390 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 18 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
RF电路1310可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器1380处理;另外,将涉及上行的数据发送给基站。通常,RF电路1310包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路1310还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯***)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The RF circuit 1310 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, receiving downlink information of the base station, and then processing it by one or more processors 1380; in addition, transmitting data related to the uplink to the base station. . Generally, the RF circuit 1310 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc. In addition, RF circuitry 1310 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
存储器1320可用于存储软件程序以及模块,处理器1380通过运行存储在存储器1320的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器1320可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端1300的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器1320还可以包括存储器控制器,以提供处理器1380和输入单元1330对存储器1320的访问。The memory 1320 can be used to store software programs and modules, and the processor 1380 executes various functional applications and data processing by running software programs and modules stored in the memory 1320. The memory 1320 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 1300 (such as audio data, phone book, etc.) and the like. Moreover, memory 1320 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1320 can also include a memory controller to provide access to memory 1320 by processor 1380 and input unit 1330.
输入单元1330可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。可选地,输入单元1330可包括图像输入设备1331以及其他输入设备1332。图像输入设备1331可以是摄像头,也可以是光电扫描设备。除了图像输入设备1331,输入单元1330还可以包括其他输入设备1332。可选地,其他输入设备1332可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 Input unit 1330 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. Alternatively, the input unit 1330 may include an image input device 1331 and other input devices 1332. The image input device 1331 may be a camera or an optical scanning device. In addition to the image input device 1331, the input unit 1330 may further include other input devices 1332. Optionally, other input devices 1332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元1340可用于显示由用户输入的信息或提供给用户的信息以及终端1300的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元1340可包括显示面板1341,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板1341。 Display unit 1340 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 1300, which can be composed of graphics, text, icons, video, and any combination thereof. The display unit 1340 can include a display panel 1341. Alternatively, the display panel 1341 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
终端1300还可包括至少一种传感器1350,比如光传感器、运动传感器以及其他传感器。可选地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1341的亮度,接近传感器可在终端1300移动到耳边时,关闭显示面板1341和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端1300还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Terminal 1300 can also include at least one type of sensor 1350, such as a light sensor, motion sensor, and other sensors. Optionally, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1341 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1341 when the terminal 1300 moves to the ear. And / or backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 1300 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, not here Let me repeat.
音频电路1360、扬声器1361,传声器1362可提供用户与终端1300之间的音频接口。音频电路1360可将接收到的音频数据转换后的电信号,传输到扬声器1361,由扬声器1361转换为声音信号输出;另一方面,传声器1362将收集的声音信号转换为电信号,由音频电路1360接收后转换为音频数据,再将音频数据输出处理器1380处理后,经RF电路1310以发送给比如另一终端,或者将音频数据输出至存储器1320以便进一步处 理。音频电路1360还可能包括耳塞插孔,以提供外设耳机与终端1300的通信。 Audio circuit 1360, speaker 1361, and microphone 1362 can provide an audio interface between the user and terminal 1300. The audio circuit 1360 can transmit the converted electrical data of the received audio data to the speaker 1361, and convert it into a sound signal output by the speaker 1361; on the other hand, the microphone 1362 converts the collected sound signal into an electrical signal, by the audio circuit 1360. After receiving, it is converted into audio data, and then processed by the audio data output processor 1380, sent to, for example, another terminal via the RF circuit 1310, or outputted to the memory 1320 for further processing. The audio circuit 1360 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1300.
WiFi属于短距离无线传输技术,终端1300通过WiFi模块1370可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图18示出了WiFi模块1370,但是可以理解的是,其并不属于终端1300的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the terminal 1300 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1370, which provides wireless broadband Internet access for users. Although FIG. 18 shows the WiFi module 1370, it can be understood that it does not belong to the essential configuration of the terminal 1300, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器1380是终端1300的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1320内的软件程序和/或模块,以及调用存储在存储器1320内的数据,执行终端1300的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1380可包括一个或多个处理核心;优选的,处理器1380可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1380中。The processor 1380 is a control center of the terminal 1300 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1320, and recalling data stored in the memory 1320, The various functions and processing data of the terminal 1300 are performed to perform overall monitoring of the mobile phone. Optionally, the processor 1380 may include one or more processing cores; preferably, the processor 1380 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1380.
终端1300还包括给各个部件供电的电源1390(比如电池),优选的,电源可以通过电源管理***与处理器1380逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。电源1390还可以包括一个或一个以上的直流或交流电源、再充电***、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal 1300 also includes a power source 1390 (such as a battery) for powering various components. Preferably, the power source can be logically coupled to the processor 1380 through a power management system to manage functions such as charging, discharging, and power management through the power management system. The power supply 1390 can also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管未示出,终端1300还可以包括蓝牙模块等,在此不再赘述。Although not shown, the terminal 1300 may further include a Bluetooth module or the like, and details are not described herein again.
具体在本实施例中,终端1300还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。上述一个或者一个以上程序包含用于执行上述客户端侧的信息获取方法的指令。In particular, in the present embodiment, terminal 1300 further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors. The one or more programs described above include instructions for executing the above-described information acquisition method on the client side.
请参考图18,其示出了本发明实施例提供的一种服务器的结构示意图。 该服务器用于实施上述实施例中提供的服务器侧的信息提供方法。具体来讲:Please refer to FIG. 18, which is a schematic structural diagram of a server according to an embodiment of the present invention. This server is used to implement the server-side information providing method provided in the above embodiment. Specifically:
所述服务器1400包括中央处理单元(CPU)1401、包括随机存取存储器(RAM)1402和只读存储器(ROM)1403的***存储器1404,以及连接***存储器1404和中央处理单元1401的***总线1405。所述服务器1400还包括帮助计算机内的各个器件之间传输信息的基本输入/输出***(I/O***)1406,和用于存储操作***1413、应用程序1414和其他程序模块1415的大容量存储设备1407。The server 1400 includes a central processing unit (CPU) 1401, a system memory 1404 including random access memory (RAM) 1402 and read only memory (ROM) 1403, and a system bus 1405 that connects the system memory 1404 and the central processing unit 1401. The server 1400 also includes a basic input/output system (I/O system) 1406 that facilitates transfer of information between various devices within the computer, and mass storage for storing the operating system 1413, applications 1414, and other program modules 1415. Device 1407.
所述基本输入/输出***1406包括有用于显示信息的显示器1408和用于用户输入消息的诸如鼠标、键盘之类的输入设备1409。其中所述显示器1408和输入设备1409都通过连接到***总线1405的输入输出控制器1410连接到中央处理单元1401。所述基本输入/输出***1406还可以包括输入输出控制器1410以用于接收和处理来自键盘、鼠标、或电子触控笔等多个其他设备的输入。类似地,输入输出控制器1410还提供输出到显示屏、打印机或其他类型的输出设备。The basic input/output system 1406 includes a display 1408 for displaying information and an input device 1409 such as a mouse, keyboard for user input of messages. The display 1408 and the input device 1409 are both connected to the central processing unit 1401 by an input/output controller 1410 connected to the system bus 1405. The basic input/output system 1406 can also include an input output controller 1410 for receiving and processing input from a plurality of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1410 also provides output to a display screen, printer, or other type of output device.
所述大容量存储设备1407通过连接到***总线1405的大容量存储控制器(未示出)连接到中央处理单元1401。所述大容量存储设备1407及其相关联的计算机可读介质为服务器1400提供非易失性存储。也就是说,所述大容量存储设备1407可以包括诸如硬盘或者CD-ROM驱动器之类的计算机可读介质(未示出)。The mass storage device 1407 is connected to the central processing unit 1401 by a mass storage controller (not shown) connected to the system bus 1405. The mass storage device 1407 and its associated computer readable medium provide non-volatile storage for the server 1400. That is, the mass storage device 1407 can include a computer readable medium (not shown) such as a hard disk or a CD-ROM drive.
不失一般性,所述计算机可读介质可以包括计算机存储介质和通信介质。计算机存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其他数据等信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储介质包括RAM、ROM、EPROM、EEPROM、闪存或其他固态存储其技术,CD-ROM、DVD或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。当然,本领域技术人员可知所述计算机存储介质不局限于上述几种。上述的***存储器1404 和大容量存储设备1407可以统称为存储器。Without loss of generality, the computer readable medium can include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid state storage technologies, CD-ROM, DVD or other optical storage, tape cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage medium is not limited to the above. The system memory 1404 and mass storage device 1407 described above may be collectively referred to as a memory.
根据本发明的各种实施例,所述服务器1400还可以通过诸如因特网等网络连接到网络上的远程计算机运行。也即服务器1400可以通过连接在所述***总线1405上的网络接口单元1411连接到网络1412,或者说,也可以使用网络接口单元1411来连接到其他类型的网络或远程计算机***(未示出)。According to various embodiments of the present invention, the server 1400 may also be operated by a remote computer connected to the network through a network such as the Internet. That is, the server 1400 can be connected to the network 1412 through a network interface unit 1411 connected to the system bus 1405, or can be connected to other types of networks or remote computer systems (not shown) using the network interface unit 1411. .
所述存储器还包括一个或者一个以上的程序,所述一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。上述一个或者一个以上程序包含用于执行上述服务器侧的信息提供方法的指令。The memory also includes one or more programs, the one or more programs being stored in a memory and configured to be executed by one or more processors. The one or more programs described above include instructions for executing the above-described information providing method on the server side.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (22)

  1. 一种信息获取方法,所述方法包括:An information acquisition method, the method comprising:
    获取第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;Obtaining a first type of user input message, where the first type of user input message refers to a user input message carrying all of the order element information, and the order element information refers to necessary information required for ordering virtual resources online;
    向服务器发送所述第一类型的用户输入消息;Transmitting the first type of user input message to a server;
    接收所述服务器在获取到与所述全部的订购要素信息相匹配的虚拟资源之后发送的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。Receiving virtual resource information sent by the server after acquiring the virtual resource matching the all subscription element information, the virtual resource information being used to order virtual resources matching the all subscription element information online.
  2. 根据权利要求1所述的方法,其中,所述获取第一类型的用户输入消息之前,还包括:The method of claim 1, wherein before the obtaining the first type of user input message, the method further comprises:
    获取第二类型的用户输入消息,所述第二类型的用户输入消息是指携带有部分的订购要素信息的用户输入消息;Obtaining a second type of user input message, where the second type of user input message refers to a user input message carrying part of the subscription element information;
    向所述服务器发送所述第二类型的用户输入消息;Transmitting the second type of user input message to the server;
    接收所述服务器在识别出所述第二类型的用户输入消息之后发送的信息收集页面,所述信息收集页面用于收集所述全部的订购要素信息;Receiving an information collection page sent by the server after identifying the second type of user input message, where the information collection page is used to collect all the subscription element information;
    显示所述信息收集页面。The information collection page is displayed.
  3. 根据权利要求1所述的方法,其中,所述获取第一类型的用户输入消息之前,还包括:The method of claim 1, wherein before the obtaining the first type of user input message, the method further comprises:
    获取预设消息;Obtain a preset message;
    向所述服务器发送所述预设消息;Sending the preset message to the server;
    接收所述服务器在识别出所述预设消息之后发送的信息收集页面,所述信息收集页面用于收集所述全部的订购要素信息;Receiving an information collection page sent by the server after identifying the preset message, where the information collection page is used to collect all the subscription element information;
    显示所述信息收集页面。The information collection page is displayed.
  4. 根据权利要求2或3所述的方法,其中,所述信息收集页面中包括至 少一项订购要素信息的推荐信息,所述订购要素信息的推荐信息根据登录客户端的用户帐号的特征信息生成,所述特征信息用于指示所述用户帐号对应的用户个人特征。The method according to claim 2 or 3, wherein the information collection page includes at least one piece of recommendation information of the order element information, and the recommendation information of the order element information is generated according to the feature information of the user account of the login client. The feature information is used to indicate a user personal feature corresponding to the user account.
  5. 根据权利要求1至3任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    获取第三类型的用户输入消息,所述第三类型的用户输入消息是指未携带订购要素信息的用户输入消息;Obtaining a third type of user input message, where the third type of user input message refers to a user input message that does not carry subscription element information;
    向所述服务器发送所述第三类型的用户输入消息;以使得所述服务器将所述第三类型的用户输入消息发送给至少两个智能聊天***,接收各个所述智能聊天***发送的对应于所述第三类型的用户输入消息的回复消息,并根据各个所述回复消息与所述第三类型的用户输入消息之间的匹配度,确定对应于所述第三类型的用户输入消息的最终回复消息;Transmitting, to the server, the third type of user input message, so that the server sends the third type of user input message to at least two smart chat systems, and receiving corresponding to each of the smart chat systems The third type of user inputs a reply message of the message, and determines, according to a matching degree between each of the reply message and the third type of user input message, a final corresponding to the third type of user input message. Reply message;
    接收所述服务器发送的所述最终回复消息;Receiving the final reply message sent by the server;
    展示所述最终回复消息。Present the final reply message.
  6. 根据权利要求1所述的方法,其中,获取第一类型的用户输入消息包括:The method of claim 1 wherein obtaining the first type of user input message comprises:
    接收语音指令,其中,所述语音指令用于指示执行第三方应用中的目标操作;Receiving a voice instruction, wherein the voice instruction is used to indicate that a target operation in a third-party application is performed;
    根据所述语音指令向所述第三方应用的服务端发起操作请求,其中,所述操作请求用于请求所述服务端执行所述目标操作;And initiating an operation request to the server of the third-party application according to the voice instruction, where the operation request is used to request the server to perform the target operation;
    接收所述服务端响应所述操作请求发送的目标数据,其中,所述目标数据是由所述服务端执行所述目标操作得到的;Receiving target data sent by the server in response to the operation request, where the target data is obtained by the server performing the target operation;
    展示所述目标数据。Present the target data.
  7. 根据权利要求6所述的方法,其中,根据所述语音指令向所述第三方应用的服务端发起操作请求包括:The method according to claim 6, wherein the initiating an operation request to the server of the third party application according to the voice instruction comprises:
    提取所述语音指令中的关键词;Extracting keywords in the voice instruction;
    根据所述关键词确定所述第三方应用的所述服务端,其中,所述 关键词与所述第三方应用具有关联关系;Determining, according to the keyword, the server of the third-party application, where the keyword has an association relationship with the third-party application;
    根据所述关键词生成所述操作请求;Generating the operation request according to the keyword;
    向所述服务端发送所述操作请求,以请求所述服务端执行与所述关键词相关的所述目标操作。Sending the operation request to the server to request the server to perform the target operation related to the keyword.
  8. 根据权利要求7所述的方法,其中,根据所述关键词生成所述操作请求包括:The method of claim 7, wherein generating the operation request according to the keyword comprises:
    根据所述服务端确定所述服务端采用的通讯协议,其中,所述通讯协议为预先约定的通讯协议;Determining, according to the server, a communication protocol adopted by the server, where the communication protocol is a pre-agreed communication protocol;
    根据所述通讯协议和所述关键词生成所述操作请求。The operation request is generated according to the communication protocol and the keyword.
  9. 根据权利要求6所述的方法,其中,The method of claim 6 wherein
    根据所述语音指令向所述第三方应用的服务端发起操作请求包括:根据所述语音指令向多个所述第三方应用的多个服务端发起所述操作请求;And the initiating an operation request to the server of the third-party application according to the voice instruction includes: starting, according to the voice instruction, the operation request to multiple server terminals of the third-party application;
    接收所述服务端响应所述操作请求发送的目标数据包括:接收所述多个服务端响应所述操作请求发送的多个数据;按照与所述操作请求相匹配的预设规则从所述多个数据中筛选出所述目标数据。Receiving the target data sent by the server in response to the operation request includes: receiving a plurality of data sent by the plurality of servers in response to the operation request; and from the plurality of preset rules matching the operation request The target data is filtered out from the data.
  10. 根据权利要求6所述的方法,其中,展示所述目标数据包括:The method of claim 6 wherein displaying the target data comprises:
    在客户端的屏幕上显示所述目标数据,其中,所述客户端与所述第三方应用不同;或者Displaying the target data on a screen of the client, wherein the client is different from the third party application; or
    在所述客户端上语音播放所述目标数据。Playing the target data by voice on the client.
  11. 一种信息提供方法,述方法包括:An information providing method, the method comprising:
    接收客户端发送的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;Receiving a first type of user input message sent by the client, where the first type of user input message refers to a user input message carrying all of the order element information, and the order element information refers to a requirement for ordering virtual resources online. Necessary information;
    获取与所述全部的订购要素信息相匹配的虚拟资源;Obtaining a virtual resource that matches all of the order element information;
    生成用于订购所述虚拟资源的虚拟资源信息;Generating virtual resource information for ordering the virtual resource;
    向所述客户端发送所述虚拟资源信息。Sending the virtual resource information to the client.
  12. 根据权利要求11所述的方法,其中,所述接收客户端发送的第一类型的用户输入消息之前,还包括:The method according to claim 11, wherein before receiving the first type of user input message sent by the client, the method further comprises:
    向所述客户端发送信息收集页面,所述信息收集页面用于收集所述全部的订购要素信息。Sending an information collection page to the client, the information collection page for collecting all of the order element information.
  13. 根据权利要求12所述的方法,其中,所述向所述客户端发送信息收集页面之前,还包括:The method of claim 12, wherein before the sending the information collection page to the client, the method further comprises:
    获取登录所述客户端的用户帐号的特征信息,所述特征信息用于指示所述用户帐号对应的用户个人特征;Obtaining feature information of a user account that is logged in to the client, where the feature information is used to indicate a user profile corresponding to the user account;
    根据所述用户帐号的特征信息,生成至少一项订购要素信息的推荐信息;Generating at least one piece of recommendation information of the order element information according to the feature information of the user account;
    其中,所述信息收集页面中包括所述订购要素信息的推荐信息。The information collection page includes recommendation information of the order element information.
  14. 一种信息获取方法,所述方法包括:An information acquisition method, the method comprising:
    显示与订购服务器的聊天对话界面;Display a chat dialog interface with the ordering server;
    获取在所述聊天对话界面中输入的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;Obtaining a first type of user input message input in the chat conversation interface, the first type of user input message refers to a user input message carrying all order element information, and the order element information refers to an online order Necessary information required for virtual resources;
    向所述订购服务器发送所述第一类型的用户输入消息;Transmitting the first type of user input message to the subscription server;
    显示接收到的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。The received virtual resource information is displayed, and the virtual resource information is used to order virtual resources that match the entire subscription element information online.
  15. 根据权利要求14所述的方法,其中,所述获取在所述聊天对话界面中输入的第一类型的用户输入消息,包括:The method of claim 14, wherein the obtaining the first type of user input message entered in the chat session interface comprises:
    获取在所述聊天对话界面中以文字形式输入的所述第一类型的用户输入消息;Obtaining the first type of user input message input in text form in the chat conversation interface;
    或者,or,
    获取在所述聊天对话界面中以语音形式输入的所述第一类型的 用户输入消息;Obtaining the first type of user input message input in a voice form in the chat conversation interface;
    或者,or,
    获取在所述聊天对话界面的信息收集页面中输入的所述全部的订购要素信息;生成携带有所述全部的订购要素信息的所述第一类型的用户输入消息。Acquiring all of the order element information input in the information collection page of the chat session interface; and generating the first type of user input message carrying all of the order element information.
  16. 一种信息获取装置,所述装置包括:An information acquisition device, the device comprising:
    第一获取模块,用于获取第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;a first acquiring module, configured to acquire a user input message of a first type, where the user input message of the first type refers to a user input message carrying all the subscription element information, where the subscription element information refers to an online subscription virtual resource. Necessary information required;
    第一发送模块,用于向服务器发送所述第一类型的用户输入消息;a first sending module, configured to send the first type of user input message to a server;
    信息接收模块,用于接收所述服务器在获取到与所述全部的订购要素信息相匹配的虚拟资源之后发送的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。An information receiving module, configured to receive virtual resource information sent by the server after acquiring the virtual resource matching the all subscription element information, where the virtual resource information is used for online ordering and all the subscription element information Matching virtual resources.
  17. 根据权利要求16所述的装置,其中,所述第一获取模块包括:The apparatus of claim 16, wherein the first acquisition module comprises:
    第一接收单元,用于接收语音指令,其中,所述语音指令用于指示执行第三方应用中的目标操作;a first receiving unit, configured to receive a voice instruction, where the voice instruction is used to indicate that a target operation in a third-party application is performed;
    请求单元,用于根据所述语音指令向所述第三方应用的服务端发起操作请求,其中,所述操作请求用于请求所述服务端执行所述目标操作;a requesting unit, configured to initiate an operation request to a server of the third-party application according to the voice instruction, where the operation request is used to request the server to perform the target operation;
    第二接收单元,用于接收所述服务端响应所述操作请求发送的目标数据,其中,所述目标数据是由所述服务端执行所述目标操作得到的;a second receiving unit, configured to receive target data that is sent by the server in response to the operation request, where the target data is obtained by the server performing the target operation;
    展示单元,用于展示所述目标数据。a display unit for displaying the target data.
  18. 一种信息提供装置,所述装置包括:An information providing device, the device comprising:
    第一接收模块,用于接收客户端发送的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信 息;a first receiving module, configured to receive a first type of user input message sent by the client, where the first type of user input message refers to a user input message carrying all the subscription element information, where the ordering element information refers to The necessary information to order virtual resources online;
    资源获取模块,用于获取与所述全部的订购要素信息相匹配的虚拟资源;a resource obtaining module, configured to acquire a virtual resource that matches all the subscription element information;
    信息生成模块,用于生成用于订购所述虚拟资源的虚拟资源信息;An information generating module, configured to generate virtual resource information for ordering the virtual resource;
    信息发送模块,用于向所述客户端发送所述虚拟资源信息。And an information sending module, configured to send the virtual resource information to the client.
  19. 一种信息获取装置,所述装置包括:An information acquisition device, the device comprising:
    界面显示模块,用于显示与订购服务器的聊天对话界面;An interface display module, configured to display a chat dialogue interface with the subscription server;
    第一获取模块,用于获取在所述聊天对话界面中输入的第一类型的用户输入消息,所述第一类型的用户输入消息是指携带有全部的订购要素信息的用户输入消息,所述订购要素信息是指在线订购虚拟资源所需的必要信息;a first acquiring module, configured to acquire a first type of user input message input in the chat conversation interface, where the first type of user input message refers to a user input message carrying all subscription element information, Ordering element information refers to the necessary information required to order virtual resources online;
    第一发送模块,用于向所述订购服务器发送所述第一类型的用户输入消息;a first sending module, configured to send the first type of user input message to the subscription server;
    信息显示模块,用于显示接收到的虚拟资源信息,所述虚拟资源信息用于在线订购与所述全部的订购要素信息相匹配的虚拟资源。The information display module is configured to display the received virtual resource information, and the virtual resource information is used to order virtual resources that match the entire subscription element information online.
  20. 一种信息获取***,所述***包括:客户端和服务器;An information acquisition system, the system comprising: a client and a server;
    所述客户端包括如权利要求16所述的信息获取装置;The client includes the information acquiring apparatus according to claim 16;
    所述服务器包括如权利要求18所述的信息提供装置。The server includes the information providing apparatus according to claim 18.
  21. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至10任一项中所述的方法。A storage medium having stored therein a computer program, wherein the computer program is arranged to execute the method of any one of claims 1 to 10 at runtime.
  22. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至10任一项中所述的方法。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to perform the method of any one of claims 1 to 10 by the computer program.
PCT/CN2018/075925 2017-03-02 2018-02-09 Method for acquiring and providing information, device, system and storage medium WO2018157721A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710123278.1 2017-03-02
CN201710123278.1A CN108304153A (en) 2017-03-02 2017-03-02 Voice interactive method and device
CN201710193668.6A CN108306851B (en) 2017-03-28 2017-03-28 Information acquisition method, information providing method, information acquisition device, information providing device and information acquisition system
CN201710193668.6 2017-03-28

Publications (1)

Publication Number Publication Date
WO2018157721A1 true WO2018157721A1 (en) 2018-09-07

Family

ID=63369776

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/075925 WO2018157721A1 (en) 2017-03-02 2018-02-09 Method for acquiring and providing information, device, system and storage medium

Country Status (2)

Country Link
TW (1) TWI683272B (en)
WO (1) WO2018157721A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569127A (en) * 2019-09-10 2019-12-13 腾讯科技(深圳)有限公司 Virtual resource transferring, sending and acquiring method and device
CN110704190A (en) * 2019-09-29 2020-01-17 腾讯科技(深圳)有限公司 Virtual resource processing method, device, equipment and storage medium
CN110809024A (en) * 2019-09-27 2020-02-18 口碑(上海)信息技术有限公司 Service resource providing method and device and subscription package providing method and device
CN111080190A (en) * 2019-11-18 2020-04-28 北京小米移动软件有限公司 Takeout order state acquisition method and device and computer readable storage medium
CN111242721A (en) * 2019-12-30 2020-06-05 北京百度网讯科技有限公司 Voice meal ordering method and device, electronic equipment and storage medium
CN111354350A (en) * 2019-12-26 2020-06-30 阿里巴巴集团控股有限公司 Voice processing method and device, voice processing equipment and electronic equipment
CN111582902A (en) * 2019-02-18 2020-08-25 阿里巴巴集团控股有限公司 Data processing method, service processing method and device
US10838588B1 (en) 2012-10-18 2020-11-17 Gummarus, Llc Methods, and computer program products for constraining a communication exchange
US10841258B1 (en) 2012-10-18 2020-11-17 Gummarus, Llc Methods and computer program products for browsing using a communicant identifier
US10904178B1 (en) 2010-07-09 2021-01-26 Gummarus, Llc Methods, systems, and computer program products for processing a request for a resource in a communication
CN112272367A (en) * 2019-05-28 2021-01-26 创新先进技术有限公司 Service calling method and application client
CN112306589A (en) * 2019-07-29 2021-02-02 阿里巴巴集团控股有限公司 Data processing method, system and equipment
CN112330380A (en) * 2019-07-17 2021-02-05 腾讯科技(深圳)有限公司 Order creation method and device, computer equipment and computer readable storage medium
CN113472628A (en) * 2020-03-31 2021-10-01 腾讯科技(深圳)有限公司 Information collection control method and device and computer readable storage medium
CN114429383A (en) * 2021-12-30 2022-05-03 广州盖盟达工业品有限公司 Industrial instrument order generation method and system
US11404052B2 (en) 2018-08-24 2022-08-02 Tencent Technology (Shenzhen) Company Limited Service data processing method and apparatus and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184054A (en) * 2007-02-28 2008-05-21 腾讯科技(深圳)有限公司 Method, system and server of implementing product or service reservation through network
CN105139251A (en) * 2015-10-08 2015-12-09 邹春秋 Scenic spot entrance ticket selling device and method
CN105306281A (en) * 2015-12-03 2016-02-03 腾讯科技(深圳)有限公司 Information processing method and client
CN106227876A (en) * 2016-08-02 2016-12-14 百度在线网络技术(北京)有限公司 A kind of activity schedule aid decision-making method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677822A (en) * 2016-01-05 2016-06-15 首都师范大学 Enrollment automatic question-answering method and system based on conversation robot

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184054A (en) * 2007-02-28 2008-05-21 腾讯科技(深圳)有限公司 Method, system and server of implementing product or service reservation through network
CN105139251A (en) * 2015-10-08 2015-12-09 邹春秋 Scenic spot entrance ticket selling device and method
CN105306281A (en) * 2015-12-03 2016-02-03 腾讯科技(深圳)有限公司 Information processing method and client
CN106227876A (en) * 2016-08-02 2016-12-14 百度在线网络技术(北京)有限公司 A kind of activity schedule aid decision-making method and device

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10904178B1 (en) 2010-07-09 2021-01-26 Gummarus, Llc Methods, systems, and computer program products for processing a request for a resource in a communication
US10838588B1 (en) 2012-10-18 2020-11-17 Gummarus, Llc Methods, and computer program products for constraining a communication exchange
US10841258B1 (en) 2012-10-18 2020-11-17 Gummarus, Llc Methods and computer program products for browsing using a communicant identifier
US11404052B2 (en) 2018-08-24 2022-08-02 Tencent Technology (Shenzhen) Company Limited Service data processing method and apparatus and related device
CN111582902B (en) * 2019-02-18 2023-07-21 阿里巴巴(北京)软件服务有限公司 Data processing method, service processing method and device
CN111582902A (en) * 2019-02-18 2020-08-25 阿里巴巴集团控股有限公司 Data processing method, service processing method and device
CN112272367A (en) * 2019-05-28 2021-01-26 创新先进技术有限公司 Service calling method and application client
CN112330380A (en) * 2019-07-17 2021-02-05 腾讯科技(深圳)有限公司 Order creation method and device, computer equipment and computer readable storage medium
CN112330380B (en) * 2019-07-17 2023-12-12 腾讯科技(深圳)有限公司 Order creation method, order creation device, computer equipment and computer readable storage medium
CN112306589A (en) * 2019-07-29 2021-02-02 阿里巴巴集团控股有限公司 Data processing method, system and equipment
CN110569127B (en) * 2019-09-10 2023-07-04 腾讯科技(深圳)有限公司 Virtual resource transferring, sending and obtaining method and device
CN110569127A (en) * 2019-09-10 2019-12-13 腾讯科技(深圳)有限公司 Virtual resource transferring, sending and acquiring method and device
CN110809024B (en) * 2019-09-27 2022-06-24 口碑(上海)信息技术有限公司 Service resource providing method and device and subscription package providing method and device
CN110809024A (en) * 2019-09-27 2020-02-18 口碑(上海)信息技术有限公司 Service resource providing method and device and subscription package providing method and device
CN110704190A (en) * 2019-09-29 2020-01-17 腾讯科技(深圳)有限公司 Virtual resource processing method, device, equipment and storage medium
CN111080190A (en) * 2019-11-18 2020-04-28 北京小米移动软件有限公司 Takeout order state acquisition method and device and computer readable storage medium
CN111354350A (en) * 2019-12-26 2020-06-30 阿里巴巴集团控股有限公司 Voice processing method and device, voice processing equipment and electronic equipment
CN111354350B (en) * 2019-12-26 2024-04-05 阿里巴巴集团控股有限公司 Voice processing method and device, voice processing equipment and electronic equipment
CN111242721A (en) * 2019-12-30 2020-06-05 北京百度网讯科技有限公司 Voice meal ordering method and device, electronic equipment and storage medium
CN111242721B (en) * 2019-12-30 2023-10-31 北京百度网讯科技有限公司 Voice meal ordering method and device, electronic equipment and storage medium
CN113472628A (en) * 2020-03-31 2021-10-01 腾讯科技(深圳)有限公司 Information collection control method and device and computer readable storage medium
CN113472628B (en) * 2020-03-31 2024-02-02 腾讯科技(深圳)有限公司 Information collection control method, device and computer readable storage medium
CN114429383A (en) * 2021-12-30 2022-05-03 广州盖盟达工业品有限公司 Industrial instrument order generation method and system

Also Published As

Publication number Publication date
TWI683272B (en) 2020-01-21
TW201833845A (en) 2018-09-16

Similar Documents

Publication Publication Date Title
WO2018157721A1 (en) Method for acquiring and providing information, device, system and storage medium
US10650816B2 (en) Performing tasks and returning audio and visual feedbacks based on voice command
US10311877B2 (en) Performing tasks and returning audio and visual answers based on voice command
WO2017133547A1 (en) Information processing method and device
CN108306851B (en) Information acquisition method, information providing method, information acquisition device, information providing device and information acquisition system
WO2017133541A1 (en) Method and apparatus for information recommendation
WO2016197758A1 (en) Information recommendation system, method and apparatus
US20130300546A1 (en) Remote control method and apparatus for terminals
CN105979312B (en) Information sharing method and device
CN104796743B (en) Content item display system, method and device
CN105847114B (en) Dynamic information display system, method and device
CN106302996B (en) Message display method and device
WO2017181613A1 (en) Search response method, device and system
KR20180090957A (en) Generate audio-based data structures
WO2015062462A1 (en) Matching and broadcasting people-to-search
CN110418207B (en) Information processing method, device and storage medium
KR20220051427A (en) Synchronizing access controls between computing devices
WO2015043547A1 (en) A method, device and system for message response cross-reference to related applications
US20120135755A1 (en) Apparatus and method for providing contents services
CN110574105A (en) System and method for initiating customized device actions based on speech
CN110020218A (en) Information on services methods of exhibiting and device
CN107154894B (en) Instant messaging information processing method, device, system and storage medium
CN106487655B (en) Message interaction method and device and processing server
US20220171011A1 (en) Positioning method and device, server, storage medium and terminal
KR20130062799A (en) Method for managing keyword information server

Legal Events

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

Ref document number: 18761120

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18761120

Country of ref document: EP

Kind code of ref document: A1