Summary of the invention
The embodiment of the invention provides a kind of information processing method, device, storage medium and equipment is calculated, can solve phase
Need user that the problem for causing information processing efficiency lower is manually operated in the technology of pass.The technical solution is as follows:
In a first aspect, providing a kind of information processing method, which comprises
Obtain multiple participles that target message to be processed includes;
The intention labels that the target message is determined according to the multiple participle, according to the intention labels it is determining with it is described
The associated target application of target message;
The corresponding target participle of the target application is sent to the target application, the target participle is from described
It is acquired in multiple participles.
Optionally, the mode of the intention labels that the target message is determined according to the multiple participle, including it is following
Any one of at least:
According to the multiple participle, the intention labels of the target message are determined from participle label corresponding relationship, it is described
Participle label corresponding relationship is used to describe the corresponding relationship between participle and intention labels;
According to position of the participle each in the multiple participle in the target message, from template label corresponding relationship
The intention labels of the target message are matched, the template label corresponding relationship is for describing between message template and intention labels
Corresponding relationship;
The multiple participle is input in the Model of Target Recognition, exports the target by invocation target identification model
The intention labels of message, the Model of Target Recognition are used to determine the meaning of the message according to multiple participles that any message includes
Icon label.
It is optionally, described according to intention labels determination and the associated target application of the target message, comprising:
According to the intention labels, determine that corresponding application, the label application are corresponded to from label application corresponding relationship
Relationship is used to describe the corresponding relationship between intention labels and application;
When the quantity of identified application is multiple, according to the historical context of each application in identified multiple applications
Probability determines the target application from the multiple application.
Optionally, after the corresponding target participle to the target application transmission target application, further includes:
Detect whether to meet the trigger condition for executing in the target application and segmenting associated event with the target;
If meeting the trigger condition, is executed in the target application and segment associated event with the target.
Optionally, described execute in the target application segments associated event with the target, comprising:
Event is sent to the target application to execute instruction, and is closed with executing in the target application with target participle
The event of connection, wherein the event, which executes instruction, is used to indicate the target application execution and the associated thing of target participle
Part.
Optionally, the trigger condition includes following at least any one:
Active user's behavior is related to applicating category belonging to the target application, and active user's behavior refers to and institute
State the behavior of user corresponding to the associated terminal of target application;
Current time is earlier than the time pointed by target participle and time interval between the two meets the predetermined time
Threshold value;
Network pointed by the network type being currently accessed with the associated terminal of the target application and target participle
Type is identical.
It is optionally, described to send the corresponding target participle of the target application to the target application, comprising:
When the pointed information of target participle is related to a variety of event types, determines and the target application is needed to hold
The type identification of capable event;
The type identification of the target application corresponding target participle and identified event is sent to the target application.
Second aspect, provides a kind of information processing unit, and described device includes:
Obtain module, the multiple participles for including for obtaining target message to be processed;
Determining module, for determining the intention labels of the target message according to the multiple participle, according to the intention
Label determination and the associated target application of the target message;
Sending module, for sending the corresponding target participle of the target application, the target point to the target application
Word is acquired from the multiple participle.
Optionally, the determining module is for executing following at least any one:
According to the multiple participle, the intention labels of the target message are determined from participle label corresponding relationship, it is described
Participle label corresponding relationship is used to describe the corresponding relationship between participle and intention labels;
According to position of the participle each in the multiple participle in the target message, from template label corresponding relationship
The intention labels of the target message are matched, the template label corresponding relationship is for describing between message template and intention labels
Corresponding relationship;
The multiple participle is input in the Model of Target Recognition, exports the target by invocation target identification model
The intention labels of message, the Model of Target Recognition are used to determine the meaning of the message according to multiple participles that any message includes
Icon label.
Optionally, the determining module is used for:
According to the intention labels, determine that corresponding application, the label application are corresponded to from label application corresponding relationship
Relationship is used to describe the corresponding relationship between intention labels and application;
When the quantity of identified application is multiple, according to the historical context of each application in identified multiple applications
Probability determines the target application from the multiple application.
Optionally, described device further include:
Detection module segments associated event with the target for detecting whether meeting and executing in the target application
Trigger condition;
Execution module, for executing in the target application and being segmented with the target when meeting the trigger condition
Associated event.
Optionally, the execution module is used for:
Event is sent to the target application to execute instruction, and is closed with executing in the target application with target participle
The event of connection, wherein the event, which executes instruction, is used to indicate the target application execution and the associated thing of target participle
Part.
Optionally, the trigger condition includes following at least any one:
Active user's behavior is related to applicating category belonging to the target application, and active user's behavior refers to and institute
State the behavior of user corresponding to the associated terminal of target application;
Current time is earlier than the time pointed by target participle and time interval between the two meets the predetermined time
Threshold value;
Network pointed by the network type being currently accessed with the associated terminal of the target application and target participle
Type is identical.
Optionally, the sending module is used for:
When the pointed information of target participle is related to a variety of event types, determines and the target application is needed to hold
The type identification of capable event;
The type identification of the target application corresponding target participle and identified event is sent to the target application.
The third aspect provides a kind of computer readable storage medium, is stored on the computer readable storage medium
Instruction, realizes information processing method described in above-mentioned first aspect when described instruction is executed by processor.
Fourth aspect provides a kind of computer program product comprising instruction, when run on a computer, so that
Computer executes information processing method described in above-mentioned first aspect.
5th aspect, provides a kind of calculating equipment, comprising:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of places
Reason device executes information processing method described in above-mentioned first aspect.
Technical solution provided in an embodiment of the present invention has the benefit that
Multiple participles that target message to be processed includes are obtained, need the target participle which being sent to determine
Using according to multiple intention labels for segmenting the determining target message, and according to the determination of identified intention labels and the mesh
Mark the target application of message relating.Later, the corresponding target participle of the target application can be sent to the target application, namely
It is that the embodiment of the present invention is manually operated without user, target participle can be sent to relevant target application automatically, improved
Convenience is operated, to improve information processing efficiency.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Before describing in detail to information processing method provided in an embodiment of the present invention, first the embodiment of the present invention is related to
And application scenarios and implementation environment simply introduced.
Firstly, simply being introduced application scenarios involved in the embodiment of the present invention.
In communication process, user may need for some contents in message to be added in certain application, for example, chat
When receive message " tomorrow morning at 10 partly arrives the place xx and has a dinner party ", which may be added in memorandum by user, this
Outside, user will may also add information such as " 10 thirty of tomorrow " in alarm clock application, be mentioned with will pass through alarm clock application setting quarter-bell
It wakes up.However, at present information can only be added manually in the application by user, cause to operate relatively complicated.For this purpose, the present invention is implemented
Example provides a kind of information processing method, and this method can obtain some information in message automatically, and be sent to relevant answer
In, user's manual operation is avoided the need for, the convenience of operation is improved.Its specific implementation refers to shown in following Fig. 2 and Fig. 3
Embodiment.
Next, simply being introduced implementation environment involved in the embodiment of the present invention.
Information processing method provided by the embodiment of the present invention can be executed by terminal, can also by cloud server Lai
It executes, is also possible to the two and matches execution.Here to implementation ring by taking the information processing method is executed by cloud server as an example
Border is briefly described, referring to FIG. 1, the Fig. 1 is a kind of schematic diagram of implementation environment shown according to an exemplary embodiment,
It mainly include terminal 110 and cloud server 120 in the implementation environment, it can be between the terminal 110 and the cloud server 120
It is communicated by network implementations.Multiple applications can be installed in the terminal 110.Herein, it should be noted that in specific embodiment
In, using can be application platform, application workable for the various installations i.e. without downloading is summarized thereon, so that using being somebody's turn to do
Application required for the user of platform can directly open it is unloaded without installing, and " be finished and walk ", so that using should
Application required for the user of platform can directly open it can also be a certain function of the realization for being installed on terminal without installation
APP.
Further, in some embodiments, in the implementation environment can also include vehicle device equipment 130, the terminal 110,
Cloud server 120 and vehicle device equipment 130 can carry out interacting message each other.
In some embodiments, above-mentioned terminal can be any one can with user by keyboard, touch tablet, touch screen,
One or more modes such as remote controler, interactive voice or handwriting equipment carry out the electronic product of human-computer interaction, for example, PC, mobile phone,
Smart phone, PDA, wearable device, palm PC PPC, wearable device, tablet computer, intelligent vehicle device, smart television, intelligence
Energy speaker etc..In practical applications, when terminal, which is, can carry out the electronic product of interactive voice with user, can carry thereon/
The client that can be identified, parse, understand, handle and respond the natural language instructions of user and export response results is installed
Hold (can be APP form), be also possible to the client be only capable of to user input natural language instructions carry out speech recognition but
Need corresponding server that the natural language instructions are parsed, understood, handled and responded with the natural language instructions of user simultaneously
Response results return client is exported.
Fig. 2 is a kind of flow chart of information processing method shown according to an exemplary embodiment, the information processing method
May include the following steps:
Step 201: obtaining multiple participles that target message to be processed includes.
Step 202: the intention labels of the target message are determined according to the multiple participle, it is true according to the intention labels
The fixed and associated target application of the target message.
Step 203: Xiang Suoshu target application sends the corresponding target participle of the target application, the target participle be from
It is acquired in the multiple participle.
In embodiments of the present invention, multiple participles that target message to be processed includes are obtained, in order to determine that needs should
Which application target participle is sent to, according to multiple intention labels for segmenting the determining target message, and according to identified
Intention labels determination and the associated target application of the target message.Later, the target application pair can be sent to the target application
The target participle answered that is to say, the embodiment of the present invention is manually operated without user, target participle can be sent to correlation automatically
Target application, operation convenience is improved, to improve information processing efficiency.
Optionally, the mode of the intention labels that the target message is determined according to the multiple participle, including it is following
Any one of at least:
According to the multiple participle, the intention labels of the target message are determined from participle label corresponding relationship, it is described
Participle label corresponding relationship is used to describe the corresponding relationship between participle and intention labels;
According to position of the participle each in the multiple participle in the target message, from template label corresponding relationship
The intention labels of the target message are matched, the template label corresponding relationship is for describing between message template and intention labels
Corresponding relationship;
The multiple participle is input in the Model of Target Recognition, exports the target by invocation target identification model
The intention labels of message, the Model of Target Recognition are used to determine the meaning of the message according to multiple participles that any message includes
Icon label.
It is optionally, described according to intention labels determination and the associated target application of the target message, comprising:
According to the intention labels, determine that corresponding application, the label application are corresponded to from label application corresponding relationship
Relationship is used to describe the corresponding relationship between intention labels and application;
When the quantity of identified application is multiple, according to the historical context of each application in identified multiple applications
Probability determines the target application from the multiple application.
Optionally, after the corresponding target participle to the target application transmission target application, further includes:
Detect whether to meet the trigger condition for executing in the target application and segmenting associated event with the target;
If meeting the trigger condition, is executed in the target application and segment associated event with the target.
Optionally, described execute in the target application segments associated event with the target, comprising:
Event is sent to the target application to execute instruction, and is closed with executing in the target application with target participle
The event of connection, wherein the event, which executes instruction, is used to indicate the target application execution and the associated thing of target participle
Part.
Optionally, the trigger condition includes following at least any one:
Active user's behavior is related to applicating category belonging to the target application, and active user's behavior refers to and institute
State the behavior of user corresponding to the associated terminal of target application;
Current time is earlier than the time pointed by target participle and time interval between the two meets the predetermined time
Threshold value;
Network pointed by the network type being currently accessed with the associated terminal of the target application and target participle
Type is identical.
It is optionally, described to send the corresponding target participle of the target application to the target application, comprising:
When the pointed information of target participle is related to a variety of event types, determines and the target application is needed to hold
The type identification of capable event;
The type identification of the target application corresponding target participle and identified event is sent to the target application.
All the above alternatives, can form alternative embodiment of the invention according to any combination, and the present invention is real
It applies example and this is no longer repeated one by one.
Fig. 3 is a kind of flow chart of the information processing method shown according to another exemplary embodiment, and the present embodiment is with this
Information processing method is applied to be illustrated in above-mentioned Fig. 1 the embodiment described environment, which can wrap
Include following several realization steps:
Step 301: obtaining multiple participles that target message to be processed includes.
Wherein, which can be terminal from the message that receive of communication opposite end, or terminal is to communication pair
The message sent is held, it is not limited in the embodiment of the present invention.
In some embodiments, the specific implementation process for obtaining multiple participles that target message to be processed includes can wrap
Include: terminal carries out cutting processing to the target message, obtains multiple participle, and later, which is sent to multiple participle
Cloud server, in this way, cloud server obtains multiple participles that the target message includes.Further, which can be
When receiving message processing directives, cutting processing is carried out to the target message.
In further embodiments, the specific implementation process for multiple participles that above-mentioned acquisition target message to be processed includes
It can also include: that the target message is sent to the cloud server by terminal, the target message is carried out by the cloud server
Cutting processing, obtains multiple participle.Further, which can be when receiving above- mentioned information process instruction, and obtaining should
Target message, and the target message is sent should be to cloud server.
Wherein, above- mentioned information process instruction can be triggered by user, which can be by specified operation triggering, this is specified
Operation may include clicking operation, slide, shake operation etc., it is not limited in the embodiment of the present invention.
For example, in one possible implementation, the application for being used for transmission the target message can be provided at information
Option is managed, when user wants to handle the target message, the information processing option can be clicked to trigger at the information
Reason instruction.
It should be noted that when the target message is speech message, it, can be with before carrying out cutting to the target message
Speech message is converted into text message, later, cutting processing is carried out based on text message.
For example, when the target message is " our 8 squares Dian xx tomorrow evening appointment ", which is segmented
After processing, obtained multiple participles may include: ' we ', ' tomorrow ', ' evening ', ' 8 points ', ' ', ' square xx ', ' about
Meeting '.
Step 302: according to multiple intention labels for segmenting the determining target message.
In some embodiments, some target participles may be related to multiple applications, for example, when target participle is " xx meal
When shop ", relevant application may include navigation application, address list, shopping application, at this point, in order to determination it is subsequent need by
Which application target participle is sent to, and needs to combine other participles in the target message at target participle place, establishes language
Border determines the intention of the target message.Wherein, which can be used to indicate that the intention of the target message.For example, should
Context may include following several situations: 1, going to the restaurant xx tomorrow morning;2,8:00 tomorrow morning goes to the restaurant XX to have a meal;3, tomorrow
8 a.m. orders the meal in the restaurant XX.
In some embodiments, it can wrap according to the specific implementation of multiple intention labels for segmenting and determining the target message
Include at least any one in following several implementations:
The first implementation: according to multiple participle, the meaning of the target message is determined from participle label corresponding relationship
Icon label, the participle label corresponding relationship are used to describe the corresponding relationship between participle and intention labels.
It that is to say, can store participle label corresponding relationship in the cloud server, at this point it is possible to from the participle label
The corresponding intention labels of multiple participle are inquired in corresponding relationship, and the intention labels inquired are determined as to the meaning of target message
Icon label.
Second of implementation: according to position of the participle each in multiple participle in the target message, from template mark
The intention labels of the target message are matched in label corresponding relationship, the template label corresponding relationship is for describing message template and being intended to
Corresponding relationship between label.
In some embodiments, when there are multiple message, and each message in multiple message includes multiple point
When word, different according to positional relationship of multiple participles in each message, meaning expressed by each message may be also different.
For this purpose, template label corresponding relationship is stored in the cloud server in this kind of implementation, in the corresponding pass of the template label
There is the corresponding relationship between message template and intention labels in system, wherein the position of multiple participles is closed in each message template
System is different.At this point, cloud server can be according to the positional relationship between participle each in multiple participle, from template label
The intention labels of the target message are matched in corresponding relationship.
The third implementation: multiple participle is input in the Model of Target Recognition by invocation target identification model, defeated
The intention labels of the target message out, the Model of Target Recognition are used to determine the message according to multiple participles that any message includes
Intention labels.
Since the Model of Target Recognition is for determining the intention labels of the message according to multiple participles that any message includes,
Therefore, after the multiple participles for obtain after cutting to target message being input to the Model of Target Recognition, the target identification mould
Formula may recognize that the corresponding intention labels of the target message.
Further, it before stating Model of Target Recognition in use, needs to obtain the Model of Target Recognition by training,
In a kind of possible implementation, multiple groups word training sample and the corresponding intention labels of every group of word training sample, base are obtained
In multiple groups word training sample intention labels corresponding with every group of word training sample, treats trained identification model and carry out
Training, obtains the Model of Target Recognition.
Wherein, identification model that should be to be trained can be CNN (Convolutional Neural Networks, convolution mind
Through network) model etc., the embodiment of the present invention is not construed as limiting this.
In addition, it is necessary to explanation, it is above-mentioned be only with using any implementation in three kinds of implementations, according to
It is illustrated for multiple intention labels for segmenting the determining target message.In some embodiments, three kinds of implementations
It can reside in same database, at this point, priority can also be respectively set for above-mentioned three kinds of implementations, and according to set
The priority set successively uses corresponding implementation, according to multiple intention labels for segmenting the determining target message.
For example, when the priority of the first above-mentioned implementation is higher than the priority of second of implementation, second real
It, can be more according to this first according to the first implementation when the priority of existing mode is higher than the priority of the third implementation
A participle inquires the intention labels of the target message, when not inquiring, according still further to second of implementation, according to multiple point
Word inquires the intention labels of the target message, when not inquiring also, according still further to the third implementation, according to multiple participle
Inquire the intention labels of the target message.
Step 303: according to intention labels determination and the associated target application of the target message.
In one possible implementation, according to intention labels determination and the associated target application of the target message
Specific implementation may include: that corresponding application, the label application are determined from label application corresponding relationship according to the intention labels
Corresponding relationship is used to describe the corresponding relationship between intention labels and application.When the quantity of identified application is multiple, root
According to the historical context probability of each application in identified multiple applications, the target application is determined from multiple application.
For example, continue by taking above-mentioned example as an example, when determining the corresponding intention labels of the target message is " going to the restaurant xx ",
It can determine that with the associated target application of the target message be navigation application, that is, need to navigate and go to the restaurant xx;When determining the target
When the corresponding intention labels of message are " going to have a meal ", it can determine that with the associated target application of the target message be address list, i.e.,
It needs to make a phone call to make a reservation in advance;When determining the corresponding intention labels of the target message is " ordering take-away ", it can determine and be somebody's turn to do
The associated target application of target message is shopping application, that is, needs to order take-away.
Further, when a determining only corresponding application from label application corresponding relationship according to the intention labels
When, directly the application is determined as and the associated target application of the target message.In further embodiments, when according to the intention
Label from label application corresponding relationship determine have it is multiple corresponding in application, can according in multiple application it is each application with
Historical context probability between the intention labels selects an application as target application from multiple application.Wherein, each
Historical context probability refers to the intention labels and corresponding each associated probability of applicating history.
In one possible implementation, according to the historical context probability of each application in identified multiple applications,
Specific implementation from the target application determining in multiple application may include: that maximum historical context is selected from multiple application
The corresponding application of probability, and the application of selection is determined as and the associated target application of the target message.It that is to say, from multiple
Select the maximum application of relevance as target application in.
It should be noted that it is above-mentioned be only with when the quantity of identified application is multiple from identified multiple applications
It is middle to select an application as being illustrated for target application.In some embodiments, when the quantity of identified application is
When multiple, it can also regard identified multiple applications as target application, it is not limited in the embodiment of the present invention.
Step 304: sending the corresponding target participle of the target application to the target application, target participle is from multiple
It is acquired in participle.
Here, the corresponding target participle of target application refers to the application attribute of the participle attribute and target application of target participle
Such as function, applicating category is adapted, for example, it is assumed that the participle attribute of target participle is place, then corresponding target is answered
With for navigation application etc., it is assumed that the participle attribute of target participle is the time, then corresponding target application is calendar application etc..
In an implementation, can be obtained from multiple participle need to be sent to target application target participle, one kind can
In the implementation of energy, the realization process that target participle is obtained from multiple participle may include: the multiple participle of identification
In each participle the target participle for belonging to default participle attribute is obtained from multiple participle and according to recognition result.
Wherein, which can be configured according to actual needs, and for example, which can wrap
Include time participle attribute, place participle attribute etc..
Different according to pre-set default participle attribute, the means identified to multiple participle are also different, namely
It is that cloud server can select corresponding means of identification according to pre-set default participle attribute to identify multiple point
Word.For example, in one possible implementation, when the default participle attribute includes time participle attribute and place participle attribute
When, name entity recognition method can be respectively adopted and template matching recognition methods identifies multiple participle, with identification
Belong to the target participle of time participle attribute and place participle attribute in multiple participle out.Wherein, entity recognition method is named
It can be used for identifying the target participle for belonging to time participle attribute, template matching recognition methods, which can be used for identifying, belongs to ground
The target participle of point participle attribute.
Continue by taking above-mentioned example as an example, to ' we ', ' tomorrow ', ' evening ', ' 8 points ', ' ', ' square xx ', ' appointment '
After each participle in this multiple participle is identified, available target participle includes: ' tomorrow ', ' evening ', ' 8 points ' and
' square xx '.Wherein, ' tomorrow ', ' evening ' and ' 8 points ' time participle attribute is belonged to, ' square xx ' belongs to place participle and belongs to
Property, thus the target participle ' tomorrow ', ' evening ' and ' 8 points that time participle attribute will be belonged to ' it is sent to matched target and answers
With such as calendar application, so that calendar application will belong to place participle and belong in " 8 points of tomorrow evening " this time alarm user
Property target participle ' square xx ' be sent to matched target application such as navigation application so that navigation application with
Self-navigation is to " square xx " under the conditions of family is equal into the car.
In one possible implementation, cloud server can send target participle by structural data,
I.e. the target can be segmented the form for being packaged into structural data by the cloud server, and the target application hair into the terminal
Send the structural data including target participle.
Here, multiple participles that the present invention includes by obtaining target message to be processed, in order to which determination is needed the mesh
Which application mark participle is sent to, according to multiple intention labels for segmenting the determining target message, and according to identified meaning
The determination of icon label and the associated target application of the target message.Later, it is corresponding that the target application can be sent to the target application
Target participle, that is to say, the embodiment of the present invention without user be manually operated, can automatically by target segment be sent to it is relevant
Target application improves operation convenience, to improve information processing efficiency.
In some embodiments, which also can indicate that the target application is segmented according to the target and establishes association
Event.I.e. when the pointed information of target participle is related to a variety of event types, determines and the target application is needed to execute
Event type identification, the type of the target application corresponding target participle and identified event is sent to the target application
Mark.Wherein, the type mark is used for a kind of type of event of unique identification.
It for example, include target position when the target segments pointed information, and application type belonging to the target application
When for navigation application, the distance between current location and the target position are determined, according to this distance, lead for target application selection
Boat type sends the type identification of the target application corresponding target participle and navigation to the target application.
It can be appreciated that navigation application may include a variety of navigation types at present, for example, which includes driving to navigate
With walking navigation etc..Navigation routine is established according to target position for the ease of target application, which can be according to working as
The distance between front position and the target position select navigation type for the target application.Wherein, current location can be according to end
Present position is held to determine.
Further, selecting the specific implementation of navigation type according to this distance for the target application may include: when should be away from
It when from being greater than pre-determined distance threshold value, driving to navigate for target application selection, when the distance is less than the pre-determined distance threshold value, being
The target application selects walking navigation.
Wherein, which can also be taken by user's customized setting according to actual needs by the cloud
Business device default setting, it is not limited in the embodiment of the present invention.
When the distance is greater than pre-determined distance threshold value, illustrate that the distance between current location and target position are distant, needs
It drives to reach, therefore, the navigation type for the navigation that can drive for target application selection, in order to which target application is according to target
Position and navigation type determine navigation routine of driving.When the distance is less than pre-determined distance threshold value, illustrate current location and target
The distance between position is closer, can be reached with walking, therefore, the navigation type of walking navigation can be selected for the target application
Type, in order to which target application determines walking navigation route according to target position and navigation type.
It for another example, include restaurant when the target segments pointed information, and application type belonging to the target application is purchase
Object according to history in application, order probability, the selection target taste from various tastes, and the target is segmented and the target taste
Type identification be sent to the target application.
The targets such as restaurant, take-away, tomorrow morning participle may be mentioned during communication chat, in chat messages, and
The target application is to take out APP, at this point it is possible to order probability according to the history of user, maximum history is selected from various tastes
The corresponding taste of probability of ordering, obtains target taste, and later, the type identification of the target taste and target participle are sent together
The target application is given, in order to which the target application can recommend restaurant according to the type identification of the target taste for user automatically
Title etc..
It should be noted that it is above-mentioned be only using by cloud server as target application select to need to be implemented the type of event for
Example is illustrated, in another embodiment, the event type that can also be needed to be implemented by the target application default choice, and for example,
Target application can segment pointed target position default setting according to target and drive navigation routine.For another example, when target segments
When to be directed toward time and the target application be alarm clock application, which can be set reminder events, can such as mention previous hour into
Row clock alarming etc..
Here, the present invention is segmented by not only sending the corresponding target of the target application to target application, but also send
The type identification of identified event so that target application execute segment associated event with target when, in combination with thing
The type identification of part carries out, and further improves target application and is automatically performed the intelligence for segmenting the function of associated event with target
Change degree, improves user satisfaction, and the user experience is improved.
Further, the present invention, which also can detect whether to meet to execute in the target application, segments associated thing with the target
The trigger condition of part executes in the target application if meeting the trigger condition and segments associated event with the target.Here,
It executes to segment associated event with target and refer to based on target application in target application and execute and target segments associated thing
Part.
Wherein, which includes following at least any one:
The first situation: active user's behavior is related to applicating category belonging to the target application, the current user behavior
Refer to the behavior with user corresponding to the associated terminal of the target application.
For example, associated with the target application when detecting if applicating category belonging to the target application is navigation application
User corresponding to terminal into the car when, determine meet in the target application execute with the target segments associated event
Trigger condition.It is executed instruction at this point it is possible to send navigation to the target application, which, which executes instruction, is used to indicate the target and answers
It is navigated with according to navigation routine of driving, which is by the target application according to the target position and driving to lead
What the type identification of boat determined.
Further, whether into the car user can be judged according to the connection of the terminal and vehicle device equipment, example
Such as, it when terminal is close to vehicle, can be connect automatically with vehicle device equipment, and identified navigation routine of driving is sent to the vehicle
Machine equipment.Further, which can send navigation routine of driving to the cloud server, and cloud server is come
Say, when receive vehicle device equipment transmission drive navigation routine when, can determine that terminal is connect with vehicle device equipment, so that it is determined that expire
Foot executes the trigger condition that associated event is segmented with the target in the target application.
Second situation: the time interval of current time earlier than the time pointed by target participle and between the two is full
Sufficient scheduled time threshold value.
Wherein, which can be by user's customized setting according to actual needs, can also be by cloud service
Device default setting, the embodiment of the present invention are not construed as limiting this.
For example, which can be 1 hour, i.e., when the target, which segments, is directed toward the time, answer in such as schedule
With etc target application in, 1 hour can be shifted to an earlier date, the schedule of user is reminded.Therefore, when detecting current
Between distance target participle pointed time phase difference 1 hour when, can determine that satisfaction executes and the mesh in the target application
Mark segments the trigger condition of associated event.
The third situation: pointed by the network type being currently accessed with the associated terminal of the target application and target participle
Network type it is identical.
In some embodiments, which can be video playing application, and target participle is directed toward downloading xx video,
Due to needing biggish flow when foradownloaded video, it can be by the way that the trigger condition be arranged come can be with when limiting foradownloaded video
The network type used.It for example, can when the network type being currently accessed with the associated terminal of the target application is wireless network
The trigger condition that associated event is segmented with the target is executed in the target application to determine to meet.
Further, when a triggering condition is met, thing relevant to target participle can be executed automatically by target application
Part.In addition, in some embodiments, it is also possible to indicating that the target application executes correlation function by cloud server, i.e., at this
It may include: to send event to the target application to hold that the specific implementation for segmenting associated event with the target is executed in target application
Row instruction segments associated event with the target to execute in the target application, wherein the event, which executes instruction, to be used to indicate
The target application, which is executed, segments associated event with the target.
For example, when detecting that terminal is connect with vehicle device equipment, illustrate that user prepares to drive into the car, at this point it is possible to
It sends navigation to target application to execute instruction, so that the target application starts to navigate according to navigation routine of driving.Further, when
When detecting that user leaves car and enters the room, the navigation that can will drive is switched to walking navigation.For example, when detecting and the mesh
When the terminal and vehicle device equipment for marking association disconnect, illustrate that user leaves car, at this point it is possible to the navigation switching that will drive
For walking navigation.
Here, the present invention segments associated event with the target by detecting whether to meet to execute in the target application
Trigger condition executes in the target application if meeting the trigger condition and segments associated event with the target, and a more step improves
Target application is automatically performed the intelligence degree that the function of associated event is segmented with target, improves user satisfaction, mentions
User experience is risen.
Fig. 4 is a kind of structural schematic diagram of massaging device shown according to an exemplary embodiment, the information processing unit
It being implemented in combination with by software, hardware or both.The information processing unit may include:
Obtain module 410, the multiple participles for including for obtaining target message to be processed;
Determining module 420, for determining the intention labels of the target message according to the multiple participle, according to the meaning
The determination of icon label and the associated target application of the target message;
Sending module 430, for sending the corresponding target participle of the target application, the target to the target application
Participle is acquired from the multiple participle.
Optionally, the determining module 420 is for executing following at least any one:
According to the multiple participle, the intention labels of the target message are determined from participle label corresponding relationship, it is described
Participle label corresponding relationship is used to describe the corresponding relationship between participle and intention labels;
According to position of the participle each in the multiple participle in the target message, from template label corresponding relationship
The intention labels of the target message are matched, the template label corresponding relationship is for describing between message template and intention labels
Corresponding relationship;
The multiple participle is input in the Model of Target Recognition, exports the target by invocation target identification model
The intention labels of message, the Model of Target Recognition are used to determine the meaning of the message according to multiple participles that any message includes
Icon label.
Optionally, the determining module 420 is used for:
According to the intention labels, determine that corresponding application, the label application are corresponded to from label application corresponding relationship
Relationship is used to describe the corresponding relationship between intention labels and application;
When the quantity of identified application is multiple, according to the historical context of each application in identified multiple applications
Probability determines the target application from the multiple application.
Optionally, described device further include:
Detection module segments associated event with the target for detecting whether meeting and executing in the target application
Trigger condition;
Execution module, for executing in the target application and being segmented with the target when meeting the trigger condition
Associated event.
Optionally, the execution module is used for:
Event is sent to the target application to execute instruction, and is closed with executing in the target application with target participle
The event of connection, wherein the event, which executes instruction, is used to indicate the target application execution and the associated thing of target participle
Part.
Optionally, the trigger condition includes following at least any one:
Active user's behavior is related to applicating category belonging to the target application, and active user's behavior refers to and institute
State the behavior of user corresponding to the associated terminal of target application;
Current time is earlier than the time pointed by target participle and time interval between the two meets the predetermined time
Threshold value;
Network pointed by the network type being currently accessed with the associated terminal of the target application and target participle
Type is identical.
Optionally, the sending module 430 is used for:
When the pointed information of target participle is related to a variety of event types, determines and the target application is needed to hold
The type identification of capable event;
The type identification of the target application corresponding target participle and identified event is sent to the target application.
In embodiments of the present invention, multiple participles that target message to be processed includes are obtained, in order to determine that needs should
Which application target participle is sent to, according to multiple intention labels for segmenting the determining target message, and according to identified
Intention labels determination and the associated target application of the target message.Later, the target application pair can be sent to the target application
The target participle answered that is to say, the embodiment of the present invention is manually operated without user, target participle can be sent to correlation automatically
Target application, operation convenience is improved, to improve information processing efficiency.
It should be understood that information processing unit provided by the above embodiment is when realizing information processing method, only more than
The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference
Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or
Person's partial function.In addition, information processing unit provided by the above embodiment and information processing method embodiment belong to same design,
Its specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Fig. 5 shows the structural block diagram of the terminal 500 of an illustrative embodiment of the invention offer.The terminal 500 can be with
Be: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III,
Dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer
IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 500 be also possible to by
Referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, terminal 500 includes: processor 501 and memory 502.
Processor 501 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 501 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 501 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 501 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 501 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 502 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 502 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 502 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 501 for realizing this Shen
Please in embodiment of the method provide information processing method.
In some embodiments, terminal 500 is also optional includes: peripheral device interface 503 and at least one peripheral equipment.
It can be connected by bus or signal wire between processor 501, memory 502 and peripheral device interface 503.Each peripheral equipment
It can be connected by bus, signal wire or circuit board with peripheral device interface 503.Specifically, peripheral equipment includes: radio circuit
504, at least one of touch display screen 505, camera 506, voicefrequency circuit 507, positioning component 508 and power supply 509.
Peripheral device interface 503 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 501 and memory 502.In some embodiments, processor 501, memory 502 and peripheral equipment
Interface 503 is integrated on same chip or circuit board;In some other embodiments, processor 501, memory 502 and outer
Any one or two in peripheral equipment interface 503 can realize on individual chip or circuit board, the present embodiment to this not
It is limited.
Radio circuit 504 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates
Frequency circuit 504 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 504 turns electric signal
It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 504 wraps
It includes: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip
Group, user identity module card etc..Radio circuit 504 can be carried out by least one wireless communication protocol with other terminals
Communication.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G,
4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, it penetrates
Frequency circuit 504 can also include NFC (Near Field Communication, wireless near field communication) related circuit, this
Application is not limited this.
Display screen 505 is for showing UI (User Interface, user interface).The UI may include figure, text, figure
Mark, video and its their any combination.When display screen 505 is touch display screen, display screen 505 also there is acquisition to show
The ability of the touch signal on the surface or surface of screen 505.The touch signal can be used as control signal and be input to processor
501 are handled.At this point, display screen 505 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or
Soft keyboard.In some embodiments, display screen 505 can be one, and the front panel of terminal 500 is arranged;In other embodiments
In, display screen 505 can be at least two, be separately positioned on the different surfaces of terminal 500 or in foldover design;In still other reality
It applies in example, display screen 505 can be flexible display screen, be arranged on the curved surface of terminal 500 or on fold plane.Even, it shows
Display screen 505 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 505 can use LCD (Liquid
Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode)
Etc. materials preparation.
CCD camera assembly 506 is for acquiring image or video.Optionally, CCD camera assembly 506 include front camera and
Rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.One
In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively
Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle
Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are clapped
Camera shooting function.In some embodiments, CCD camera assembly 506 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp,
It is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for not
With the light compensation under colour temperature.
Voicefrequency circuit 507 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and will
Sound wave, which is converted to electric signal and is input to processor 501, to be handled, or is input to radio circuit 504 to realize voice communication.
For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 500 to be multiple.Mike
Wind can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 501 or radio circuit will to be come from
504 electric signal is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When
When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications
Number the sound wave that the mankind do not hear is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 507 can also include
Earphone jack.
Positioning component 508 is used for the current geographic position of positioning terminal 500, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 508 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group
Part.
Power supply 509 is used to be powered for the various components in terminal 500.Power supply 509 can be alternating current, direct current,
Disposable battery or rechargeable battery.When power supply 509 includes rechargeable battery, which can be wired charging electricity
Pond or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is by wireless
The battery of coil charges.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 500 further includes having one or more sensors 510.The one or more sensors
510 include but is not limited to: acceleration transducer 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514,
Optical sensor 515 and proximity sensor 516.
The acceleration that acceleration transducer 511 can detecte in three reference axis of the coordinate system established with terminal 500 is big
It is small.For example, acceleration transducer 511 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 501 can
With the acceleration of gravity signal acquired according to acceleration transducer 511, touch display screen 505 is controlled with transverse views or longitudinal view
Figure carries out the display of user interface.Acceleration transducer 511 can be also used for the acquisition of game or the exercise data of user.
Gyro sensor 512 can detecte body direction and the rotational angle of terminal 500, and gyro sensor 512 can
To cooperate with acquisition user to act the 3D of terminal 500 with acceleration transducer 511.Processor 501 is according to gyro sensor 512
Following function may be implemented in the data of acquisition: when action induction (for example changing UI according to the tilt operation of user), shooting
Image stabilization, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 505 in terminal 500 can be set in pressure sensor 513.Work as pressure
When the side frame of terminal 500 is arranged in sensor 513, user can detecte to the gripping signal of terminal 500, by processor 501
Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 513 acquires.When the setting of pressure sensor 513 exists
When the lower layer of touch display screen 505, the pressure operation of touch display screen 505 is realized to UI circle according to user by processor 501
Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu
At least one of control.
Fingerprint sensor 514 is used to acquire the fingerprint of user, collected according to fingerprint sensor 514 by processor 501
The identity of fingerprint recognition user, alternatively, by fingerprint sensor 514 according to the identity of collected fingerprint recognition user.It is identifying
When the identity of user is trusted identity out, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 501
Include solution lock screen, check encryption information, downloading software, payment and change setting etc..Terminal can be set in fingerprint sensor 514
500 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 500, fingerprint sensor 514 can be with
It is integrated with physical button or manufacturer Logo.
Optical sensor 515 is for acquiring ambient light intensity.In one embodiment, processor 501 can be according to optics
The ambient light intensity that sensor 515 acquires controls the display brightness of touch display screen 505.Specifically, when ambient light intensity is higher
When, the display brightness of touch display screen 505 is turned up;When ambient light intensity is lower, the display for turning down touch display screen 505 is bright
Degree.In another embodiment, the ambient light intensity that processor 501 can also be acquired according to optical sensor 515, dynamic adjust
The acquisition parameters of CCD camera assembly 506.
Proximity sensor 516, also referred to as range sensor are generally arranged at the front panel of terminal 500.Proximity sensor 516
For acquiring the distance between the front of user Yu terminal 500.In one embodiment, when proximity sensor 516 detects use
When family and the distance between the front of terminal 500 gradually become smaller, touch display screen 505 is controlled from bright screen state by processor 501
It is switched to breath screen state;When proximity sensor 516 detects user and the distance between the front of terminal 500 becomes larger,
Touch display screen 505 is controlled by processor 501 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal 500 of structure shown in Fig. 5, can wrap
It includes than illustrating more or fewer components, perhaps combine certain components or is arranged using different components.
The embodiment of the present application also provides a kind of non-transitorycomputer readable storage mediums, when in the storage medium
When instruction is executed by the processor of mobile terminal, so that mobile terminal is able to carry out above- mentioned information processing method.
The embodiment of the present application also provides a kind of computer program products comprising instruction, when it runs on computers
When, so that computer executes above- mentioned information processing method.
Fig. 6 is a kind of server architecture schematic diagram of information processing unit shown according to an exemplary embodiment.The clothes
Business device can be the server in background server cluster.Specifically:
Server 600 includes central processing unit (CPU) 601 including random access memory (RAM) 602 and read-only deposits
The system storage 604 of reservoir (ROM) 603, and the system bus of connection system storage 604 and central processing unit 601
605.Server 600 further includes the basic input/output (I/O that information is transmitted between each device helped in computer
System) 606, and for the mass-memory unit of storage program area 613, application program 614 and other program modules 615
607。
Basic input/output 606 includes display 608 for showing information and inputs information for user
The input equipment 609 of such as mouse, keyboard etc.Wherein display 608 and input equipment 609 are all by being connected to system bus
605 input and output controller 610 is connected to central processing unit 601.Basic input/output 606 can also include defeated
Enter o controller 610 for receiving and handling from the defeated of multiple other equipment such as keyboard, mouse or electronic touch pen
Enter.Similarly, input and output controller 610 also provides output to display screen, printer or other kinds of output equipment.
Mass-memory unit 607 is connected by being connected to the bulk memory controller (not shown) of system bus 605
To central processing unit 601.Mass-memory unit 607 and its associated computer-readable medium are that server 600 provides
Non-volatile memories.That is, mass-memory unit 607 may include such as hard disk or CD-ROM drive etc
Computer-readable medium (not shown).
Without loss of generality, computer-readable medium may include computer storage media and communication media.Computer storage
Medium includes any of the information such as computer readable instructions, data structure, program module or other data for storage
The volatile and non-volatile of method or technique realization, removable and irremovable medium.Computer storage medium include RAM,
ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, cassette, magnetic
Band, disk storage or other magnetic storage devices.Certainly, skilled person will appreciate that computer storage medium is not limited to
It states several.Above-mentioned system storage 604 and mass-memory unit 607 may be collectively referred to as memory.
According to the various embodiments of the application, server 600 can also pass through the network connections such as internet to network
On remote computer operation.Namely server 600 can be by the Network Interface Unit 611 that is connected on system bus 605
It is connected to network 612, in other words, Network Interface Unit 611 can be used also to be connected to other kinds of network or long-range meter
Calculation machine system (not shown).
Above-mentioned memory further includes one, and perhaps more than one program one or more than one program are stored in storage
In device, it is configured to be executed by CPU.The one or more programs include for carrying out letter provided by the embodiments of the present application
Cease the instruction of processing method.
The embodiment of the present application also provides a kind of non-transitorycomputer readable storage mediums, when in the storage medium
When instruction is executed by the processor of mobile terminal, so that mobile terminal is able to carry out above- mentioned information processing method.
The embodiment of the present application also provides a kind of computer program products comprising instruction, when it runs on computers
When, so that computer executes above- mentioned information processing method.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.