CN110377195A - The method and apparatus for showing interactive function - Google Patents

The method and apparatus for showing interactive function Download PDF

Info

Publication number
CN110377195A
CN110377195A CN201910637121.XA CN201910637121A CN110377195A CN 110377195 A CN110377195 A CN 110377195A CN 201910637121 A CN201910637121 A CN 201910637121A CN 110377195 A CN110377195 A CN 110377195A
Authority
CN
China
Prior art keywords
function
interactive
scene
current
interactive function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910637121.XA
Other languages
Chinese (zh)
Other versions
CN110377195B (en
Inventor
牛露云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910637121.XA priority Critical patent/CN110377195B/en
Publication of CN110377195A publication Critical patent/CN110377195A/en
Application granted granted Critical
Publication of CN110377195B publication Critical patent/CN110377195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses a kind of method and apparatus for showing interactive function, belong to Internet technical field.The described method includes: obtaining the current function scene of destination application;According to current function scene, at least one corresponding interactive function of current function scene is determined;Show at least one interactive function.The application is used, even if the display space in application program is limited, but is still able to show different interactive functions under different function scene, provides more selections preferably for user.The mode of triggering execution interactive function is more flexible in the embodiment of the present application.

Description

The method and apparatus for showing interactive function
Technical field
This application involves Internet technical field, in particular to a kind of method and apparatus for showing interactive function.
Background technique
In recent years with the continuous improvement of handset capability, the function of the interaction of application program is also more and more abundant.Interaction Function refers to that triggering application program by operations such as click, sliding, voices executes a certain processing.
Exhibitions is shown with fixed key on the multiple positions of fixation in the application, and fixed key is executed for triggering Corresponding interactive function.
During realizing the application, the inventor finds that the existing technology has at least the following problems: in application program Display space is limited, and fixed several keys can only be arranged.The kind of the interactive function of unlatching can be triggered by the several keys of fixation Class is limited, and user can only select in the corresponding interactive function of the several keys of fixation.Triggering executes the mode of interactive function It is not flexible.
Summary of the invention
The embodiment of the present application provides a kind of method and apparatus for showing interactive function, is able to solve waste user time Problem.The technical solution is as follows:
On the one hand, a kind of method for showing interactive function is provided, the method is applied to terminal, which comprises
Obtain the current function scene of destination application;
According to the current function scene, at least one corresponding interactive function of the current function scene is determined;
Show at least one described interactive function.
It is optionally, described to obtain the current function scene of destination application, comprising:
When detecting preset trigger event, the current function scene of the destination application is determined;
It is described according to the current function scene, determine at least one corresponding interaction function of the current function scene It can, comprising:
According to the current function scene, the corresponding all interactive functions of the current function scene are determined;
In all interactive functions, at least one corresponding interactive function of the trigger event is determined.
Optionally, it is more than preset duration threshold that the trigger event, which includes the duration that is not changed of position of the terminal, Value, it is described in all interactive functions, determine at least one corresponding interactive function of the trigger event, comprising:
In all interactive functions, determine duration that the position of the terminal is not changed it is corresponding at least one Interactive function.
Optionally, the trigger event includes that the travel speed of the terminal is less than pre-set velocity threshold value, the acquisition mesh Mark the current function scene of application program, comprising:
According to the travel speed of the terminal, the current function scene of destination application is determined;
It is described in all interactive functions, determine at least one corresponding interactive function of the trigger event, comprising:
In all interactive functions, at least one corresponding interactive function of the travel speed of the terminal is determined.
Optionally, the trigger event includes acquiring the information of user's input, and the information of the acquisition user input includes Text information or voice messaging, it is described in all interactive functions, determine the trigger event it is corresponding at least one Interactive function, comprising:
Determine at least one keyword in the information of the acquisition user input;
According at least one described keyword, at least one interactive function is determined in all interactive functions.
Optionally, before at least one keyword in the information for determining the acquisition user input, the method is also Include:
Determine the information recognition failures to the acquisition user input.
Optionally, the trigger event includes:
Start the destination application;Or,
The function of tonic chord of current function scene is finished.
Optionally, after showing at least one described interactive function, the method also includes:
When detecting that switching shows instruction, according to the current function scene, determine at least one for switching exhibition The interactive function shown, wherein at least one described interactive function for being used to switch displaying is that the current function scene is corresponding At least one interactive function described in have shown that in addition to interactive function;
At least one is used to switch the interactive function shown described in showing.
Optionally, the method also includes:
Obtain auxiliary information, wherein the auxiliary information includes the current position of current time, the terminal, described Account attributes information, the operation behavior of the current logon account of the destination application of the current logon account of destination application It is one or more in attribute information and the current navigation routine information of the destination application;
It is described according to the current function scene, determine at least one corresponding interaction function of the current function scene It can, comprising:
According to the current function scene, the corresponding all interactive functions of the current function scene are determined;
The corresponding auxiliary information condition of each interactive function according to the pre-stored data, and the auxiliary information obtained, described In all interactive functions, at least one for determining that corresponding auxiliary information condition matches with the auxiliary information of acquisition interacts function Energy.
Optionally, described according to the current function scene, determine the current function scene corresponding at least one A interactive function, comprising:
Interactive function inquiry request is sent to server, wherein described work as is carried in the interactive function inquiry request Preceding function scene, the interactive function inquiry request are used to indicate the server according to the current function scene, really Determine at least one corresponding interactive function of the current function scene;
Receive at least one described interactive function that the server is sent.
Optionally, at least one interactive function described in the displaying, comprising:
Obtain the corresponding interactive function triggering mode information of each interactive function;
Respectively to each interactive function triggering mode information, carries out voice broadcast and/or shown.
Optionally, at least one interactive function described in the displaying, comprising:
Obtain the corresponding interactive function triggering mode information of each interactive function, wherein the interactive function triggering mode Information is operational controls;
In the interface of the destination application, each operational controls are loaded respectively.
On the other hand, a kind of method for showing interactive function is provided, the method is applied to server, the method packet It includes:
Receive the interactive function inquiry request that terminal is sent, wherein carry in the interactive function inquiry request described The current function scene of the destination application of terminal;
According to the current function scene, at least one corresponding interactive function of the current function scene is determined;
At least one described interactive function is sent to the terminal, wherein at least one described interactive function is used to indicate The terminal is shown at least one described interactive function.
In another aspect, providing a kind of device for showing interactive function, described device includes:
Module is obtained, is configured as obtaining the current function scene of destination application;
Determining module is configured as determining that the current function scene is corresponding according to the current function scene At least one interactive function;
Display module is configured as showing at least one described interactive function.
Optionally, the acquisition module, is configured as when detecting preset trigger event, determines the target application The current function scene of program;
The determining module is configured as determining the current function scene pair according to the current function scene All interactive functions answered;In all interactive functions, at least one corresponding interactive function of the trigger event is determined.
Optionally, it is more than preset duration threshold that the trigger event, which includes the duration that is not changed of position of the terminal, Value, the determining module are configured as:
In all interactive functions, determine duration that the position of the terminal is not changed it is corresponding at least one Interactive function.
Optionally, the trigger event includes that the travel speed of the terminal is less than pre-set velocity threshold value, the acquisition mould Block is configured as the travel speed according to the terminal, determines the current function scene of destination application;
The determining module is configured as in all interactive functions, determines that the travel speed of the terminal is corresponding At least one interactive function.
Optionally, the trigger event includes acquiring the information of user's input, and the information of the acquisition user input includes Text information or voice messaging, the determining module, are configured as:
Determine at least one keyword in the information of the acquisition user input;
According at least one described keyword, at least one interactive function is determined in all interactive functions.
Optionally, the determining module, is also configured to
Determine the information recognition failures to the acquisition user input.
Optionally, the trigger event includes:
Start the destination application;Or,
The function of tonic chord of current function scene is finished.
Optionally, the determining module is additionally configured to when detecting that switching shows instruction, according to the current function Can scene, determine at least one for switch show interactive function, wherein it is described at least one be used for switch displaying interaction Function is, the interactive function in addition to corresponding at least one interactive function described in have shown that of the current function scene;
The display module, be additionally configured to show it is described at least one be used to switch the interactive function of displaying.
Optionally, described device further include:
Module is obtained, is configured as obtaining auxiliary information, wherein the auxiliary information includes current time, the end Hold current position, the account attributes information of the current logon account of the destination application, the destination application current It is one or more in the current navigation routine information of the operation behavior attribute information and the destination application of logon account;
The determining module is configured as determining the current function scene pair according to the current function scene All interactive functions answered;The corresponding auxiliary information condition of each interactive function according to the pre-stored data, and the auxiliary letter obtained Breath, in all interactive functions, determines the auxiliary information of corresponding auxiliary information condition and acquisition matches at least one A interactive function.
Optionally, the determining module, is configured as:
Interactive function inquiry request is sent to server, wherein described work as is carried in the interactive function inquiry request Preceding function scene, the interactive function inquiry request are used to indicate the server according to the current function scene, really Determine at least one corresponding interactive function of the current function scene;Receive at least one described friendship that the server is sent Mutual function.
Optionally, the display module, is configured as:
Obtain the corresponding interactive function triggering mode information of each interactive function;
Respectively to each interactive function triggering mode information, carries out voice broadcast and/or shown.
Optionally, the display module, is configured as:
Obtain the corresponding interactive function triggering mode information of each interactive function, wherein the interactive function triggering mode Information is operational controls;
In the interface of the destination application, each operational controls are loaded respectively.
In another aspect, providing a kind of device for showing interactive function, described device includes:
Receiving module is configured as receiving the interactive function inquiry request that terminal is sent, wherein the interactive function inquiry The current function scene of the destination application of the terminal is carried in request;
Determining module is configured as determining that the current function scene is corresponding according to the current function scene At least one interactive function;
Sending module is configured as sending at least one described interactive function to the terminal, wherein it is described at least one Interactive function is used to indicate the terminal and is shown at least one described interactive function.
In another aspect, providing a kind of system for showing interactive function, the system comprises terminal and servers, in which:
The terminal, for obtaining the current function scene of destination application;According to current function scene, determination is worked as At least one corresponding interactive function of preceding function scene;Show at least one interactive function;
The server, for receiving the interactive function inquiry request of terminal transmission, wherein in interactive function inquiry request Carry the current function scene of the destination application of terminal;According to current function scene, current function scene is determined At least one corresponding interactive function;At least one interactive function is sent to terminal.
In another aspect, providing a kind of computer equipment, the computer equipment includes processor and memory, the storage At least one instruction is stored in device, described instruction is loaded by the processor and executed to realize that as described above show interacts Operation performed by the method for function.
In another aspect, providing a kind of computer readable storage medium, at least one instruction is stored in the storage medium, Described instruction is loaded as processor and is executed to realize operation performed by the method as described above for showing interactive function.
Technical solution provided by the embodiments of the present application has the benefit that
It, can be based on current when user's operation application program operates under certain function scene in the embodiment of the present application Function scene is the suitable interactive function of user's selection, and shows that corresponding interactive function selects to need interaction to be used for user Function.Terminal can be the suitable interactive function of user's selection according to current function scene, and function scene difference is then selected Interactive function it is different.In this way, even if the display space in application program is limited, but be still able under different function scene It shows different interactive functions, provides more selections preferably for user.Triggering executes interaction function in the embodiment of the present application The mode of energy is more flexible.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic diagram of implementation environment provided by the embodiments of the present application;
Fig. 2 is the method flow diagram provided by the embodiments of the present application for showing interactive function;
Fig. 3 is the schematic diagram of application program provided by the embodiments of the present application;
Fig. 4 is the schematic diagram of application program provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of combination various dimensions auxiliary information screening interactive function provided by the embodiments of the present application;
Fig. 6 is the schematic diagram of application program provided by the embodiments of the present application;
Fig. 7 is the method flow diagram provided by the embodiments of the present application for showing interactive function;
Fig. 8 is the method flow diagram provided by the embodiments of the present application for showing interactive function;
Fig. 9 is the method flow diagram provided by the embodiments of the present application for showing interactive function;
Figure 10 is the apparatus structure schematic diagram provided by the embodiments of the present application for showing interactive function;
Figure 11 is the apparatus structure schematic diagram provided by the embodiments of the present application for showing interactive function;
Figure 12 is terminal structure schematic diagram provided by the embodiments of the present application;
Figure 13 is server architecture schematic diagram provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Fig. 1 is a kind of schematic diagram of implementation environment provided by the embodiments of the present application.Referring to Fig. 1, displaying provided by the present application The method of interactive function can be realized jointly by terminal and server.Terminal can run destination application, and terminal has Communication function, can access internet, and terminal can be mobile phone, tablet computer, intelligent wearable device, desktop computer, notes This computer etc..Server can be the background server of destination application, and server can be established with terminal and be communicated.The service Device can be an individual server and be also possible to a server group, and if it is individual server, which can be with All processing being responsible in following proposal, if it is server group, under the different server in server group can be responsible for respectively The different disposal in scheme is stated, the specific distribution condition that handles can be arbitrarily arranged according to actual needs by technical staff, herein It repeats no more.
Destination application can be any application, can have a variety of different function scenes, for example, map is answered With program, play-back application, reading application program etc..Function scene is application program when running a certain function that it has Locating scene, for example, application program is map application, correspondingly, function scene may include ride function scene, step Row function scene, function of driving scene and public transport function scene etc., alternatively, application program is play-back application, correspondingly, function Energy scene may include music playback function scene, video playback capability scene, broadcast capability scene etc., alternatively, application program To read application program, function scene may include text display function scene, voice broadcast application scenarios etc..The application is implemented For example using destination application as map application, function scene includes ride function scene, walking-function scene, function of driving Scene and public transport function scene, carry out the detailed description of scheme, other situations are similar therewith, and this embodiment is not repeated.
During terminal operating destination application, when destination application is under certain function scene, The scheme of the application can play a role, for the suitable interactive function of user's push.For example, user is using map application journey Sequence ride when navigate, and prompting user, he can inquire the calorie to burn in this ride himself.
Fig. 2 is the flow chart of terminal side in a kind of method for showing interactive function provided by the embodiments of the present application.Referring to figure 2, which includes:
Step 201, the current function scene of destination application is obtained.
Wherein, current function scene is the corresponding field of the current desired function of terminal that destination application can identify Scape.
The present embodiment is by taking destination application is map application as an example, correspondingly, function scene can be function of riding One of energy scene, walking-function scene, function of driving scene and public transport function scene.With function of riding in following explanation It is described in detail for scene, other situations are similar therewith, repeat no more.
It in an implementation, can be different function scene setting scene identity, scene identity in order to distinguish different function scene It is the unique identification of function scene, can be preset by technical staff, and be recorded in destination application.
User is during using terminal, it is desirable to consult a map or navigate, user can start in terminal at this time Map application (i.e. destination application).Can have the function of interactive voice in destination application.Target application After program is opened, map interface can be shown first.User goes somewhere, to can use target if it is intended to cycling at this time It rides in application program the function of navigation.The mode that user opens the function for navigation of riding can be varied.For example, mode One, user can click the option of " route " in the map interface of destination application, then click the option of " riding ", into One step inputs beginning and end, then clicks and starts to navigate.In another example mode two, user may cycle at this time, both hands hand Handlebar is held, sight faces front, and it is inconvenient to see the mobile phone, navigation of riding can be opened in a manner of by voice input at this time, is used Family can input voice " I will ride ", and destination application can reply user " good, you want where ride ", such as Fig. 3 institute Showing, user can continue to input voice " long-range garden ", destination application reply " it is good, riding for long-range garden is found for you Scheme ", as shown in figure 4, the destination application that sets out at this time carries out navigation processing, it is " long-range as starting point using the current position of terminal Garden " is terminal, searches route, and navigate.
Based on the example of above two mode, user has had been switched on the function for navigation of riding, currently, destination application Function scene of riding, the available function scene current to destination application of terminal are come into.
Step 202, according to current function scene, at least one corresponding interactive function of current function scene is determined.
In an implementation, can multiple interactive functions locally be stored in advance in terminal, and current function field is determined in terminal , can be directly in local pre-stored multiple interactive functions after scape, determination is suitable at least the one of current function scene A interactive function.
The technical staff on destination application backstage can summarize all interactive functions of destination application, And corresponding interactive function mark is distributed for each interactive function.Moreover, technical staff can analyze each interactive function be suitable for Function scene, for example, some interactive function is the calorie inquiring user and consuming in ride, this interactive function is suitable for Function scene be to ride function scene, alternatively, some interactive function is the neighbouring gas station of inquiry, this interactive function is suitable for Function scene be to drive function scene.Interactive function can be mapped by technical staff with suitable function scene, right The recording interactive Function Identification and scene identity answered, establish the corresponding relationship of recording interactive Function Identification and scene identity.This is right Should be related to can be stored in the form of mapping table.Each interactive function can correspond to one or more scenes, each scene One or more interactive functions can also be corresponded to.Under normal circumstances, each scene is corresponding with a large amount of interactive function, such as table 1 It is shown:
Table 1
Scene identity Interactive function mark
The scene identity of function of riding scene A、B、C……
The scene identity of walking-function scene H、I、J……
The scene identity of function of driving scene O、P、Q……
The scene identity of public transport function scene U、V、W……
After terminal gets destination application current function scene, the scene can be searched in mapping table Corresponding interactive function.
In addition to those mentioned earlier, if multiple interactive functions locally be not stored in advance in terminal, server can be allowed auxiliary It helps and determines current at least one corresponding interactive function of function scene.Optionally, step 202 may include: to send out to server Deliver mutual functional inquiry request, wherein current function scene is carried in interactive function inquiry request, interactive function inquiry is asked It asks, is used to indicate server according to current function scene, determines at least one corresponding interactive function of current function scene. Receive at least one interactive function that server is sent.
In an implementation, server can determine corresponding at least one interactive function of current function scene based on terminal Identical mode determines at least one corresponding interactive function of current function scene based on current function scene.Specific clothes Business device determines the identical mode of at least one corresponding interactive function of current function scene, and it is really settled to may refer to terminal side The description of preceding at least one corresponding interactive function of function scene, details are not described herein.It should be noted that terminal can be It is local to obtain the current function scene of destination application, so that server can be answered by the target that carries that terminal is sent With the interactive function inquiry request of the current function scene of program, come assist determining current function scene it is corresponding at least one Interactive function, and at least one interactive function determined is returned into terminal.
Optionally, the method that the embodiment of the present disclosure provides can also include: acquisition auxiliary information, wherein auxiliary information packet Include account attributes information, the target application journey of the current position of current time, terminal, the current logon account of destination application One or more in the current navigation routine information of the operation behavior attribute information and destination application of the current logon account of sequence ?;Step 202 may include: to determine the corresponding all interactive functions of current function scene according to current function scene;Root According to the corresponding auxiliary information condition of pre-stored each interactive function, and the auxiliary information obtained, in all interactive functions, Determine at least one interactive function that the auxiliary information of corresponding auxiliary information condition and acquisition matches.
In an implementation, each function scene can be corresponding with multiple interactive functions, therefore determine in terminal current After function scene, the corresponding all interactive functions of current function scene can be determined according to current function scene.It is subsequent Terminal can also filter out some interactive functions in all interactive functions and be shown according to other information.In disclosure reality It applies in example, several based on the auxiliary information got, the mode of screening interactive function in all interactive functions is provided.
Mode one
It can be identified with auxiliary informations such as binding time, positions to screen interactive function, corresponding processing may is that acquisition is auxiliary Supplementary information;The corresponding relationship of scene identity according to the pre-stored data and interactive function mark, determines the field of current function scene The corresponding all interactive function marks of scape mark;Corresponding auxiliary information item is identified based on pre-stored each interactive function Part, and the auxiliary information obtained determine the auxiliary of corresponding auxiliary information condition and acquisition in above-mentioned all interactive functions mark At least one interactive function mark that supplementary information matches.
Wherein, auxiliary information includes the current position of current time, terminal, the current logon account of destination application The operation behavior attribute information and destination application of the current logon account of account attributes information, destination application are current to lead It is one or more in boat route information.
Account attributes information can be the essential attributes information such as name, age, gender.Operation behavior attribute information can be Some Behavior preferences of user, for example, user often browses the relevant information of automobile, then his operation behavior attribute information can To include liking vehicle, user often buys photographic goods, then his operation behavior attribute information may include liking projection, uses The admission ticket of shuttlecock venue is often ordered at family, then his operation behavior attribute information may include liking playing badminton.
In an implementation, technical staff can also carry out other points in addition to analyzing the suitable function scene of each interactive function Analysis.
On the one hand, can analyze each interactive function suitable time, this suitable time can be the period, this Period can be from different divisions only, for example, morning, noon, afternoon, evening, this is a kind of division mode, in another example, Red-letter day, holiday, working day, this is a kind of division mode again.And then the time that can be suitable for by each interactive function, it is respectively set For the time conditions in the auxiliary information condition of each interactive function.
On the other hand, it can analyze the suitable position of each interactive function, this suitable position can be the band of position. And then the position that can be suitable for by each interactive function, it is respectively set to the position in the auxiliary information condition of each interactive function Condition.
In another aspect, can analyze the suitable account attributes information of each interactive function, for example, interactive function is suitble to male Or women, is suitble to any age bracket.And then the customer attribute information that can be suitable for by each interactive function, it is respectively set to every Account attributes condition in the auxiliary information condition of a interactive function.
In another aspect, can analyze the suitable operation behavior attribute information of each interactive function, for example, interactive function is suitble to Like the user of vehicle.And then the operation behavior attribute information that can be suitable for by each interactive function, it is respectively set to each interaction Operation behavior attribute conditions in the auxiliary information condition of function.
In another aspect, can analyze the suitable route type of each interactive function, some interactive functions are suitble to common route, Some interactive functions are suitble to strange route.And then the route type that can be suitable for by each interactive function, it is respectively set to each Route conditions in the auxiliary information condition of interactive function.
As it can be seen that the corresponding auxiliary information condition of interactive function may include time conditions, locality condition, account attributes item It is part, operation behavior attribute conditions, one or more in route conditions.Technical staff passes through after above-mentioned analysis, so that it may establish The corresponding auxiliary information condition of each interactive function, storage corresponding with interactive function mark.
After terminal gets destination application current function scene, the scene can be searched in mapping table Corresponding all interactive functions.In addition the available above-mentioned auxiliary information of terminal.Then, it for these interactive functions, obtains one by one Take the corresponding auxiliary information condition of each interactive function.One auxiliary information condition of every acquisition, by the auxiliary information condition with it is upper All auxiliary informations for stating acquisition are compared, and if there is an auxiliary information and auxiliary information condition mismatch, then filter out This corresponding interactive function of auxiliary information condition.Finally will filter remaining interactive function as screening after interactive function, Or the interactive function of certain amount is chosen in filtering remaining interactive function as the interactive function after screening.Fig. 5 is provided A kind of signal of the auxiliary information screening interactive function of combination various dimensions.
Mode two
Interactive function mark can be chosen by the way of random or poll, corresponding processing may is that basis is deposited in advance The corresponding relationship of scene identity and the interactive function mark of storage, determines the corresponding all friendships of the scene identity of current function scene Mutual Function Identification;Herein in all interactive function marks, at least one interactive function mark is randomly selected, alternatively, passing through poll Mode chooses at least one interactive function mark.
In an implementation, after server gets the scene identity of the current function scene of destination application, server The corresponding all interactive function marks of the scene identity can be searched in mapping table.Then, all interactive functions herein In mark, the interactive function mark of preset number is randomly selected, as the interactive function mark fed back to terminal, alternatively, herein In all interactive function marks, by polling mode, the interactive function mark of preset number is chosen, as the friendship fed back to terminal Mutual Function Identification.
Step 203, at least one interactive function is shown.
In an implementation, terminal is after determining at least one corresponding interactive function of current function scene, at least One interactive function is shown.User can according to demand, at least one interactive function of displaying selection need using Target interactive function.If a terminal detects that when to the triggering command of any interactive function at least one interactive function, Any interactive function can be executed.
Optionally, step 203 may include: to obtain the corresponding interactive function triggering mode information of each interactive function;Point It is other to each interactive function triggering mode information, carry out voice broadcast and/or shown.Alternatively, obtaining each interactive function Corresponding interactive function triggering mode information, wherein interactive function triggering mode information is operational controls;In destination application Interface in, load each operational controls respectively.
In an implementation, the technical staff of development goal application program can be when exploitation designs each interactive function Interactive function triggering mode information is arranged in interactive function and function executes code, and technical staff can be each interactive function Distribute interactive function mark.Then, interactive function is identified corresponding with interactive function triggering mode information and function execution code Be stored in destination application.After terminal determines current function scene corresponding at least one interactive function, Destination application can search each interactive function and identify corresponding interactive function triggering mode information.In turn, respectively to every A interactive function triggering mode information carries out voice broadcast or is shown, to complete the displaying of interactive function.
Interactive function triggering mode information is used for the triggering of interactive function, in form can be varied, is shown below Two kinds of relatively common forms.
Form one
Interactive function triggering mode information is text information, correspondingly, terminal can carry out voice broadcast to text information And/or it is shown.
In an implementation, after terminal determines current function scene corresponding at least one interactive function, target is answered It can be identified based on interactive function with program, search the interactive function triggering mode information of text information form.Then target is answered Voice broadcast can be carried out to text information with program, firstly, destination application can broadcast some signal languages, for example, " existing Problem can be proposed to me at you ", then, destination application can continue to identify each interactive function corresponding Text information is broadcasted one by one.
Alternatively, destination application can show that each interactive function identifies corresponding text information, such as Fig. 6 in interface It is shown, while destination application can show some suggestive information, tell user that can propose following problems, such as scheme In " ding-dong suggest ".When showing these contents, destination application can open new interface, show in interface Show, alternatively, can also show above content in the window in the upper layer display window at current interface, window can be using not Transparent mode is shown, can also show that the shape of window can be arbitrarily arranged using translucent mode, such as chat bubble Shape.
Optionally, voice broadcast can also be carried out to text information while display text information.In this way, can be more preferable Prompt user.
Form two
Interactive function triggering mode information is operational controls, in the interface of destination application, loads operational controls.
In an implementation, after terminal determines current function scene corresponding at least one interactive function, target is answered It can be identified based on interactive function with program, search corresponding interactive controls.Interactive controls can be loaded and be answered in target by terminal With in the interface of program, can show some indicative information with markers application program, tell user can with clicking operation these Interactive controls.When loading these interactive controls and display reminding information, destination application can open new interface, Loaded and shown in interface, alternatively, can also in the upper layer display window at current interface, carry out in the window load and It has been shown that, window can be shown by the way of opaque, can also show that the shape of window can appoint using translucent mode Meaning setting, such as chat bubble shape.In addition, form two can also be used in combination with form one.
Optionally, after the aforesaid operations that are finished, user can trigger phase based on interactive function triggering mode information The interactive function answered, the processing of corresponding terminal can be such that work as and receive through the triggering of interactive function triggering mode information When interactive instruction, the corresponding function treatment of interactive instruction is executed.
In an implementation, by taking speech trigger as an example, user is asked obtaining the several of destination application suggestion shown in fig. 6 After topic, it can choose one and putd question to, input corresponding voice data to terminal, such as " I how long ridden ".Work as terminal After the voice data for receiving user's input, voice data is identified, identifies corresponding text information, then will be identified To text information match comparing with the interactive function triggering mode information of each interactive function of above-mentioned storage, if looked for The text information obtained to some interactive function triggering mode information with identification matches, then obtains the interactive function triggering mode The corresponding function of information executes code, executes the function and executes code.
It, can be based on current when user's operation application program operates under certain function scene in the embodiment of the present application Function scene is the suitable interactive function of user's selection, and shows that corresponding interactive function selects to need interaction to be used for user Function.Terminal can be the suitable interactive function of user's selection according to current function scene, and function scene difference is then selected Interactive function it is different.In this way, even if the display space in application program is limited, but be still able under different function scene It shows different interactive functions, provides more selections preferably for user.Triggering executes interaction function in the embodiment of the present application The mode of energy is more flexible.
Fig. 7 is the flow chart of terminal side in a kind of method for showing interactive function provided by the embodiments of the present application.Referring to figure 7, which includes:
Step 701, when detecting preset trigger event, the current function scene of destination application is determined.
Wherein, current function scene is the corresponding field of the current desired function of terminal that destination application can identify Scape.
In an implementation, whether destination application can constantly detect preset trigger condition under some function scene Meet.The trigger condition obtains current function scene for triggering destination application.It can be pre- in destination application One or more trigger conditions are first recorded, under some function scene, as long as meeting any trigger condition, so that it may trigger target Application program obtains current function scene.Several possible trigger conditions are described below:
Condition one
The processing of step 701 can be such that when starting destination application, determine the current function of destination application The scene of scene.
In an implementation, by taking the process of above-mentioned navigation of riding as an example, when user triggers the function for navigation of riding, target application Program starts function scene of riding, and can trigger destination application at this time and obtain current function scene, that is, function of riding field Scape.
Condition two
The processing of step 701 can be such that when the function of tonic chord of current function scene is finished, and determine target application journey The scene of the current function scene of sequence.
In an implementation, by taking the process of above-mentioned navigation of riding as an example, after navigation terminates, target application journey can be triggered Sequence obtains next function scene, such as walking-function scene.
Condition three
When the processing of step 701 can be such that the duration not being changed when the position of terminal is more than preset duration threshold value, Determine the scene of the current function scene of destination application.
In an implementation, it is suitable for showing interactive function when the position of terminal persistently stops at a certain place, can determines mesh Mark the scene of the current function scene of application program.
Condition four
The processing of step 701 can be such that when the travel speed of terminal is less than pre-set velocity threshold value, according to the row of terminal Speed is sailed, determines the current function scene of destination application.
In an implementation, First Speed threshold value and second speed threshold value can be set, First Speed threshold value is greater than second speed Threshold value can determine that the current function scene of destination application is when the travel speed of terminal is less than second speed threshold value Walking-function scene can determine mesh when the travel speed of terminal is greater than second speed threshold value and is less than First Speed threshold value The current function scene of mark application program is function scene of riding.
Condition five
The processing of step 701 can be such that when the information of terminal acquisition user's input, determine that destination application is current Function scene scene.
Wherein, the information of acquisition user input includes text information or voice messaging.
In an implementation, when the information of terminal acquisition user's input, it is suitable for showing interactive function, can determines target application The scene of the current function scene of program.
In addition to above-mentioned five kinds are triggered, there are also the trigger condition that much can be used, the present embodiment is not enumerated.
Step 702, according to current function scene, the corresponding all interactive functions of current function scene are determined.
In an implementation, each function scene can be corresponding with multiple interactive functions, therefore determine in terminal current After function scene, the corresponding all interactive functions of current function scene can be determined according to current function scene.It is subsequent Terminal can also filter out some interactive functions in all interactive functions and be shown according to other information.
Step 703, in all interactive functions, at least one corresponding interactive function of trigger event is determined.
In an implementation, terminal can filter out some interactive function according to current function scene in all interactive functions It can be carried out displaying.
Optionally, when the duration that the position of terminal is not changed is more than preset duration threshold value, target application journey is determined The scene of the current function scene of sequence.According to current function scene, the corresponding all interactive function of current function scene are determined Energy.In all interactive functions, at least one corresponding interactive function of duration that the position of terminal is not changed is determined.
In an implementation, if the duration that the position of terminal is not changed is more than preset duration threshold value, the use of the terminal Family may stopped a Duan Shichang in a certain place, for example, the user may become green light from red light in waiting traffic lights. In these cases, the scene of the current function scene of determining destination application can be triggered, and according to current function Scene determines the corresponding all interactive functions of current function scene.Then terminal can be in all interactive functions, according to end The duration that the position at end is not changed determines at least one corresponding interactive function.Terminal can according to user's waiting time, In all interactive functions, at least one interactive function corresponding with waiting time is filtered out.For example, if user wait when It is long, it can recommend to expect to use the longer interactive function of duration for user, if the when length that user waits, can be user Recommend the estimated interactive function shorter using duration.
Optionally, according to the traveling of terminal speed, the current function scene of destination application is determined.According to current function Scene determines the corresponding all interactive functions of current function scene.In all interactive functions, the travel speed of terminal is determined At least one corresponding interactive function.
In an implementation, the current function scene of destination application can be determined according to the traveling of terminal speed, it then can be with According to current function scene, the corresponding all interactive functions of current function scene are determined.All interactive functions can be pressed It is divided according to travel speed, in this way after determining the travel speed of terminal, can be determined eventually in all interactive functions At least one corresponding interactive function of the travel speed at end.For example, after determining the travel speed of terminal, it is possible to determine that when Preceding function scene is walking-function scene, the interactive function of some suitable walking-function scenes can be recommended (such as to work as user Its walking step number statistical function).Alternatively, after determining the travel speed of terminal, it is possible to determine that current function scene is Function of riding scene, can for user recommend it is some be suitable for ride function scene interactive function (as the same day ride kilometer statistics Function).
Optionally, when the information of terminal acquisition user's input, the field of the current function scene of destination application is determined Scape.At least one keyword in the information of acquisition user's input is determined, according at least one keyword, in all interactive functions At least one interactive function of middle determination.
In an implementation, the information of user's input can be acquired, if the information of input is voice messaging, can identify use The information of family input, converts text information for voice messaging, determines at least one keyword in text information.Target application Program for user ride navigation during, user can input voice, and triggering terminal performs corresponding processing, example Such as, user can input voice " me is helped to check neighbouring dining room ", and destination application then will do it meal after identifying voice Room inquiry, and show to user as a result, alternatively, user can input voice " me is helped to consult the weather of following 1 hour ", mesh Mark application program can then inquire the weather of subsequent 1 hour by server, and right rear line broadcasts result.Language is carried out in user Sound input after, terminal will do it speech recognition, the speech recognition can give server progress, can also by terminal oneself into Row.
A keywords database can be set, determine in text information and keywords database in include keyword match to A few keyword.All interactive functions can also be divided according to keyword, in this way can according at least one keyword, At least one interactive function is determined in all interactive functions.For example, keyword is " statistics step number ", then " statistics step can be determined The corresponding interactive function of number " is " same day walking step number statistical function ".
Optionally, before at least one keyword in the information for determining acquisition user's input, the embodiment of the present disclosure is mentioned The method of confession can also comprise determining that the information recognition failures to acquisition user's input.
In an implementation, if the information of input is voice messaging, the information of user's input can be identified, by voice messaging It is converted into text information.In speech recognition, it is possible to it will appear a kind of situation, since the voice of input is not clear enough, or Noise is too many, or since equipment recognition capability is limited, causes to voice data recognition failures.At this point it is possible to will identify Vocabulary out is determined as at least one keyword, then still can be according at least one keyword, in all interactive functions Determine at least one interactive function.In this way, the efficiency for determining at least one interactive function can be improved, avoid making user's repetition defeated Enter.
Step 704, at least one interactive function is shown.
In an implementation, terminal is after determining at least one corresponding interactive function of current function scene, at least One interactive function is shown.User can according to demand, at least one interactive function of displaying selection need using Target interactive function.If a terminal detects that when to the triggering command of any interactive function at least one interactive function, Any interactive function can be executed.
Optionally, after showing at least one interactive function, the method that the embodiment of the present disclosure provides can also include: to work as When detecting that switching shows instruction, according to current function scene, determine that at least one is used to switch the interactive function shown, In, it is that current function scene is corresponding except at least one friendship having shown that at least one, which is used to switch the interactive function shown, Interactive function except mutual function;Show at least one for switching the interactive function shown.
In an implementation, if there is no user to need at least one interactive function of current presentation, or there is no user Interested, user can click preset switching key.Terminal can detecte the switching exhibition triggered by switching key Show instruction.When detecting that switching shows instruction, according to current function scene, determine at least one for switching the friendship shown Mutual function can then switch one group of new interactive function and be shown, that is, show at least one for switching the interaction shown Function.
It, can be based on current when user's operation application program operates under certain function scene in the embodiment of the present application Function scene is the suitable interactive function of user's selection, and shows that corresponding interactive function selects to need interaction to be used for user Function.Terminal can be the suitable interactive function of user's selection according to current function scene, and function scene difference is then selected Interactive function it is different.In this way, even if the display space in application program is limited, but be still able under different function scene It shows different interactive functions, provides more selections preferably for user.Triggering executes interaction function in the embodiment of the present application The mode of energy is more flexible.
Fig. 8 is the flow chart of server side in a kind of method for showing interactive function provided by the embodiments of the present application.Referring to Fig. 8, the embodiment include:
Step 801, the interactive function inquiry request that terminal is sent is received.
Wherein, the current function scene of the destination application of terminal is carried in interactive function inquiry request.
Step 802, according to current function scene, at least one corresponding interactive function of current function scene is determined.
Wherein, current function scene is the corresponding field of the current desired function of terminal that destination application can identify Scape.
Optionally, step 802 may include: to determine the corresponding institute of current function scene according to current function scene There is interactive function;In all interactive functions, at least one corresponding interactive function of trigger event is determined.
Optionally, it is more than preset duration threshold value that trigger event, which includes the duration that is not changed of position of terminal, all In interactive function, the step of determining trigger event corresponding at least one interactive function may include: in all interactive functions, Determine at least one corresponding interactive function of duration that the position of terminal is not changed.
Optionally, trigger event includes that the travel speed of terminal is less than pre-set velocity threshold value, in terminal according to the row of terminal Speed is sailed, after determining the current function scene of destination application, server determines trigger event in all interactive functions The step of at least one corresponding interactive function may include: to determine that the travel speed of terminal is corresponding in all interactive functions At least one interactive function.
Optionally, trigger event includes acquiring the information of user's input, and the information of acquisition user's input includes text information Or voice messaging, in all interactive functions, the step of determining trigger event corresponding at least one interactive function, be can wrap It includes: determining at least one keyword in the information of acquisition user's input;According at least one keyword, in all interactive functions At least one interactive function of middle determination.
Optionally, before at least one keyword in the information for determining acquisition user's input, the embodiment of the present disclosure is mentioned The method of confession can also comprise determining that the information recognition failures to acquisition user's input.
Optionally, trigger event can also include starting destination application;Or, the function of tonic chord of current function scene executes It finishes.
Optionally, the method that the embodiment of the present disclosure provides can also include: acquisition auxiliary information, wherein auxiliary information packet Include account attributes information, the target application journey of the current position of current time, terminal, the current logon account of destination application One or more in the current navigation routine information of the operation behavior attribute information and destination application of the current logon account of sequence ?;Step 802 may include: to determine the corresponding all interactive functions of current function scene according to current function scene;Root According to the corresponding auxiliary information condition of pre-stored each interactive function, and the auxiliary information obtained, in all interactive functions, Determine at least one interactive function that the auxiliary information of corresponding auxiliary information condition and acquisition matches.
Server can determine the identical side of corresponding at least one interactive function of current function scene based on terminal Formula determines at least one corresponding interactive function of current function scene based on current function scene.Specific service device determines The identical mode of at least one corresponding interactive function of current function scene may refer to terminal side settled preceding function really The description of at least one corresponding interactive function of scene, details are not described herein.It should be noted that terminal can be in local acquisition The current function scene of destination application, so that server can be worked as by the destination application that carries that terminal is sent The interactive function inquiry request of preceding function scene, to assist determining at least one corresponding interaction function of current function scene Can, and at least one interactive function determined is returned into terminal.
Step 803, at least one interactive function is sent to terminal.
Wherein, at least one interactive function is used to indicate terminal and is shown at least one interactive function.
In an implementation, after server determines at least one interactive function, can by least one interactive function it After be sent to terminal, terminal can receive at least one interactive function of server transmission, and then terminal can show at least one A interactive function.
It, can be based on current when user's operation application program operates under certain function scene in the embodiment of the present application Function scene is the suitable interactive function of user's selection, and shows that corresponding interactive function selects to need interaction to be used for user Function.Terminal can be the suitable interactive function of user's selection according to current function scene, and function scene difference is then selected Interactive function it is different.In this way, even if the display space in application program is limited, but be still able under different function scene It shows different interactive functions, provides more selections preferably for user.Triggering executes interaction function in the embodiment of the present application The mode of energy is more flexible.
Fig. 9 is the flow chart of terminal and server in a kind of method for showing interactive function provided by the embodiments of the present application. Referring to Fig. 9, which includes:
Step 901, terminal obtains the current function scene of destination application.
Wherein, the current function scene of the destination application of terminal is carried in interactive function inquiry request.
Step 902, terminal to server sends interactive function inquiry request.
Wherein, current function scene, interactive function inquiry request are carried in interactive function inquiry request.
Step 903, the interactive function inquiry request that server receiving terminal is sent.
Step 904, server determines at least one the corresponding interaction of current function scene according to current function scene Function.
Step 905, server sends at least one interactive function to terminal.
Step 906, terminal receives at least one interactive function that server is sent.
Step 907, at least one interactive function of terminal display.
It, can be based on current when user's operation application program operates under certain function scene in the embodiment of the present application Function scene is the suitable interactive function of user's selection, and shows that corresponding interactive function selects to need interaction to be used for user Function.Terminal can be the suitable interactive function of user's selection according to current function scene, and function scene difference is then selected Interactive function it is different.In this way, even if the display space in application program is limited, but be still able under different function scene It shows different interactive functions, provides more selections preferably for user.Triggering executes interaction function in the embodiment of the present application The mode of energy is more flexible.
The embodiment of the present application provides a kind of device for showing interactive function, which can be the end in above-described embodiment End, as shown in Figure 10, described device includes:
Module 1001 is obtained, is configured as obtaining the current function scene of destination application;
Determining module 1002 is configured as determining the current function scene pair according to the current function scene At least one interactive function answered;
Display module 1003 is configured as showing at least one described interactive function.
Optionally, the acquisition module 1001, is configured as when detecting preset trigger event, determines the target The current function scene of application program;
The determining module 1002 is configured as determining the current function field according to the current function scene The corresponding all interactive functions of scape;In all interactive functions, at least one corresponding interaction of the trigger event is determined Function.
Optionally, it is more than preset duration threshold that the trigger event, which includes the duration that is not changed of position of the terminal, Value, the determining module 1002 are configured as:
In all interactive functions, determine duration that the position of the terminal is not changed it is corresponding at least one Interactive function.
Optionally, the trigger event includes that the travel speed of the terminal is less than pre-set velocity threshold value, the acquisition mould Block 1001 is configured as the travel speed according to the terminal, determines the current function scene of destination application;
The determining module 1002 is configured as in all interactive functions, determines the travel speed of the terminal At least one corresponding interactive function.
Optionally, the trigger event includes acquiring the information of user's input, and the information of the acquisition user input includes Text information or voice messaging, the determining module 1002, are configured as:
Determine at least one keyword in the information of the acquisition user input;
According at least one described keyword, at least one interactive function is determined in all interactive functions.
Optionally, the determining module 1002, is also configured to
Determine the information recognition failures to the acquisition user input.
Optionally, the trigger event includes:
Start the destination application;Or,
The function of tonic chord of current function scene is finished.
Optionally, the determining module 1002 is additionally configured to when detecting that switching shows instruction, according to described current Function scene, determine at least one for switch show interactive function, wherein it is described at least one be used for switch displaying Interactive function is, the interaction function in addition to corresponding at least one interactive function described in have shown that of the current function scene Energy;
The display module 1003, be additionally configured to show it is described at least one be used to switch the interactive function of displaying.
Optionally, described device further include:
Module 1001 is obtained, is configured as obtaining auxiliary information, wherein the auxiliary information includes current time, institute State the current position of terminal, the account attributes information of the current logon account of the destination application, the destination application One in the current navigation routine information of the operation behavior attribute information and the destination application of current logon account or It is multinomial;
The determining module 1002 is configured as determining the current function field according to the current function scene The corresponding all interactive functions of scape;The corresponding auxiliary information condition of each interactive function according to the pre-stored data, and obtain auxiliary Supplementary information, in all interactive functions, determine the auxiliary information of corresponding auxiliary information condition and acquisition match to A few interactive function.
Optionally, the determining module 1002, is configured as:
Interactive function inquiry request is sent to server, wherein described work as is carried in the interactive function inquiry request Preceding function scene, the interactive function inquiry request are used to indicate the server according to the current function scene, really Determine at least one corresponding interactive function of the current function scene;Receive at least one described friendship that the server is sent Mutual function.
Optionally, the display module 1003, is configured as:
Obtain the corresponding interactive function triggering mode information of each interactive function;
Respectively to each interactive function triggering mode information, carries out voice broadcast and/or shown.
Optionally, the display module 1003, is configured as:
Obtain the corresponding interactive function triggering mode information of each interactive function, wherein the interactive function triggering mode Information is operational controls;
In the interface of the destination application, each operational controls are loaded respectively.
The embodiment of the present application also provides a kind of device for showing interactive function, which can be the clothes in above-described embodiment Business device, as shown in figure 11, described device includes:
Receiving module 1301 is configured as receiving the interactive function inquiry request that terminal is sent, wherein the interactive function The current function scene of the destination application of the terminal is carried in inquiry request;
Determining module 1302 is configured as determining the current function scene pair according to the current function scene At least one interactive function answered;
Sending module 1303 is configured as sending at least one described interactive function to the terminal, wherein it is described at least One interactive function is used to indicate the terminal and is shown at least one described interactive function.
It should be understood that it is provided by the above embodiment show interactive function device when showing interactive function, only with The division progress of above-mentioned each functional module can according to need and for example, in practical application by above-mentioned function distribution by not Same functional module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above Or partial function.In addition, the device provided by the above embodiment for showing interactive function and the method for showing interactive function are implemented Example belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
The another exemplary embodiment of the disclosure provides a kind of system for showing interactive function, the system comprises terminal and Server.
The terminal, for obtaining the current function scene of destination application;According to current function scene, determination is worked as At least one corresponding interactive function of preceding function scene;Show at least one interactive function.
The server, for receiving the interactive function inquiry request of terminal transmission, wherein in interactive function inquiry request Carry the current function scene of the destination application of terminal;According to current function scene, current function scene is determined At least one corresponding interactive function;At least one interactive function is sent to terminal.
About the system in above-described embodiment, the concrete mode that wherein terminal, server execute operation is somebody's turn to do related It is described in detail in the embodiment of method, no detailed explanation will be given here.
Figure 12 shows the structural block diagram of the terminal 1100 of one exemplary embodiment of the application offer.The terminal 1100 can To 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 1100 is also Other titles such as user equipment, portable terminal, laptop terminal, terminal console may be referred to as.
In general, terminal 1100 includes: processor 1101 and memory 1102.
Processor 1101 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 1101 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 1101 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 1101 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 1101 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 1102 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1102 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 1102 can Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1101 for realizing this Shen Please in embodiment of the method provide displaying interactive function method.
In some embodiments, terminal 1100 is also optional includes: peripheral device interface 1103 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 1101, memory 1102 and peripheral device interface 1103.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1103.Specifically, peripheral equipment includes: In radio circuit 1104, touch display screen 1105, camera 1106, voicefrequency circuit 1107, positioning component 1108 and power supply 1109 At least one.
Peripheral device interface 1103 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 1101 and memory 1102.In some embodiments, processor 1101, memory 1102 and periphery Equipment interface 1103 is integrated on same chip or circuit board;In some other embodiments, processor 1101, memory 1102 and peripheral device interface 1103 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1104 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1104 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1104 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1104 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 1104 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio frequency electrical Road 1104 can also include NFC (Near Field Communication, wireless near field communication) related circuit, the application This is not limited.
Display screen 1105 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.When display screen 1105 is touch display screen, display screen 1105 also there is acquisition to exist The ability of the touch signal on the surface or surface of display screen 1105.The touch signal can be used as control signal and be input to place Reason device 1101 is handled.At this point, display screen 1105 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1105 can be one, and the front panel of terminal 1100 is arranged;Another In a little embodiments, display screen 1105 can be at least two, be separately positioned on the different surfaces of terminal 1100 or in foldover design; In still other embodiments, display screen 1105 can be flexible display screen, is arranged on the curved surface of terminal 1100 or folds On face.Even, display screen 1105 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1105 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1106 is for acquiring image or video.Optionally, CCD camera assembly 1106 includes 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.? In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As 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 Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle Shooting function.In some embodiments, CCD camera assembly 1106 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp 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 Light compensation under different-colour.
Voicefrequency circuit 1107 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 1101 and handled, or be input to radio circuit 1104 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 1100 to be multiple. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1101 or radio frequency will to be come from The electric signal of circuit 1104 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1107 may be used also To include earphone jack.
Positioning component 1108 is used for the current geographic position of positioning terminal 1100, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1108 can be the GPS (Global based on the U.S. Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union The positioning component of Galileo system.
Power supply 1109 is used to be powered for the various components in terminal 1100.Power supply 1109 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1109 includes rechargeable battery, which can support wired Charging or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1100 further includes having one or more sensors 1110.One or more sensing Device 1110 includes but is not limited to: acceleration transducer 1111, gyro sensor 1112, pressure sensor 1113, fingerprint sensing Device 1114, optical sensor 1115 and proximity sensor 1116.
Acceleration transducer 1111 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1100 Size.For example, acceleration transducer 1111 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1101 acceleration of gravity signals that can be acquired according to acceleration transducer 1111, control touch display screen 1105 with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 1111 can be also used for game or the exercise data of user Acquisition.
Gyro sensor 1112 can detecte body direction and the rotational angle of terminal 1100, gyro sensor 1112 Acquisition user can be cooperateed with to act the 3D of terminal 1100 with acceleration transducer 1111.Processor 1101 is according to gyro sensors The data that device 1112 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1105 in terminal 1100 can be set in pressure sensor 1113.When When the side frame of terminal 1100 is arranged in pressure sensor 1113, user can detecte to the gripping signal of terminal 1100, by Reason device 1101 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1113 acquires.Work as pressure sensor 1113 when being arranged in the lower layer of touch display screen 1105, is grasped by processor 1101 according to pressure of the user to touch display screen 1105 Make, realization controls the operability control on the interface UI.Operability control include button control, scroll bar control, At least one of icon control, menu control.
Fingerprint sensor 1114 is used to acquire the fingerprint of user, is collected by processor 1101 according to fingerprint sensor 1114 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1114 according to the identity of collected fingerprint recognition user.Knowing Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1101, which grasps Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1114 can be set Set the front, the back side or side of terminal 1100.When being provided with physical button or manufacturer Logo in terminal 1100, fingerprint sensor 1114 can integrate with physical button or manufacturer Logo.
Optical sensor 1115 is for acquiring ambient light intensity.In one embodiment, processor 1101 can be according to light The ambient light intensity that sensor 1115 acquires is learned, the display brightness of touch display screen 1105 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 1105 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1105 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1101 can also be acquired according to optical sensor 1115, is moved The acquisition parameters of state adjustment CCD camera assembly 1106.
Proximity sensor 1116, also referred to as range sensor are generally arranged at the front panel of terminal 1100.Proximity sensor 1116 for acquiring the distance between the front of user Yu terminal 1100.In one embodiment, when proximity sensor 1116 is examined When measuring the distance between the front of user and terminal 1100 and gradually becoming smaller, by processor 1101 control touch display screen 1105 from Bright screen state is switched to breath screen state;When proximity sensor 1116 detect the distance between front of user and terminal 1100 by When gradual change is big, touch display screen 1105 is controlled by processor 1101 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1100 of structure shown in Figure 12 Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
Figure 13 is a kind of structural schematic diagram of server provided by the embodiments of the present application, the server 1200 can because of configuration or Performance is different and generates bigger difference, may include one or more processors (central processing Units, CPU) 1201 and one or more memory 1202, wherein at least one is stored in the memory 1202 Item instruction, at least one instruction are loaded by the processor 1201 and are executed to realize that above-mentioned each embodiment of the method provides Method.Certainly, which can also have the components such as wired or wireless network interface, keyboard and input/output interface, To carry out input and output, which can also include other for realizing the component of functions of the equipments, and this will not be repeated here.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, the memory for example including instruction, Above-metioned instruction can be executed by the processor in terminal to complete the method for showing interactive function in following embodiments.For example, described Computer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage Equipment etc..
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 the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (15)

1. a kind of method for showing interactive function, which is characterized in that the method is applied to terminal, which comprises
Obtain the current function scene of destination application;
According to the current function scene, at least one corresponding interactive function of the current function scene is determined;
Show at least one described interactive function.
2. the method according to claim 1, wherein described obtain the current function scene of destination application, Include:
When detecting preset trigger event, the current function scene of the destination application is determined;
It is described that at least one corresponding interactive function of the current function scene is determined according to the current function scene, Include:
According to the current function scene, the corresponding all interactive functions of the current function scene are determined;
In all interactive functions, at least one corresponding interactive function of the trigger event is determined.
3. according to the method described in claim 2, it is characterized in that, the position that the trigger event includes the terminal does not carry out The duration of variation is more than preset duration threshold value, described in all interactive functions, determines that the trigger event is corresponding extremely A few interactive function, comprising:
In all interactive functions, at least one corresponding interaction of duration that the position of the terminal is not changed is determined Function.
4. according to the method described in claim 2, it is characterized in that, the trigger event include the terminal travel speed it is small It is described to obtain the current function scene of destination application in pre-set velocity threshold value, comprising:
According to the travel speed of the terminal, the current function scene of destination application is determined;
It is described in all interactive functions, determine at least one corresponding interactive function of the trigger event, comprising:
In all interactive functions, at least one corresponding interactive function of the travel speed of the terminal is determined.
5. according to the method described in claim 2, it is characterized in that, the trigger event include acquire user input information, The information of the acquisition user input includes text information or voice messaging, described in all interactive functions, determination At least one corresponding interactive function of the trigger event, comprising:
Determine at least one keyword in the information of the acquisition user input;
According at least one described keyword, at least one interactive function is determined in all interactive functions.
6. according to the method described in claim 5, it is characterized in that, in the information for determining the acquisition user input at least Before one keyword, the method also includes:
Determine the information recognition failures to the acquisition user input.
7. according to the method described in claim 2, it is characterized in that, the trigger event includes:
Start the destination application;Or,
The function of tonic chord of current function scene is finished.
8. described the method according to claim 1, wherein after showing at least one described interactive function Method further include:
When detecting that switching shows instruction, according to the current function scene, determine at least one for switching displaying Interactive function, wherein at least one described interactive function for being used to switch displaying, which is that the current function scene is corresponding, to be removed Interactive function except at least one the described interactive function having shown that;
At least one is used to switch the interactive function shown described in showing.
9. the method according to claim 1, wherein the method also includes:
Obtain auxiliary information, wherein the auxiliary information includes the current position of current time, the terminal, the target The operation behavior attribute of the account attributes information of the current logon account of application program, the current logon account of the destination application It is one or more in information and the current navigation routine information of the destination application;
It is described that at least one corresponding interactive function of the current function scene is determined according to the current function scene, Include:
According to the current function scene, the corresponding all interactive functions of the current function scene are determined;
The corresponding auxiliary information condition of each interactive function according to the pre-stored data, and the auxiliary information obtained, described all In interactive function, at least one interactive function that the auxiliary information of corresponding auxiliary information condition and acquisition matches is determined.
10. the method according to claim 1, wherein described according to the current function scene, determine described in At least one corresponding interactive function of current function scene, comprising:
Interactive function inquiry request is sent to server, wherein is carried in the interactive function inquiry request described current Function scene, the interactive function inquiry request are used to indicate the server according to the current function scene, determine institute State at least one corresponding interactive function of current function scene;
Receive at least one described interactive function that the server is sent.
11. -10 any method according to claim 1, which is characterized in that at least one interaction function described in the displaying It can, comprising:
Obtain the corresponding interactive function triggering mode information of each interactive function;
Respectively to each interactive function triggering mode information, carries out voice broadcast and/or shown.
12. -10 any method according to claim 1, which is characterized in that at least one interaction function described in the displaying It can, comprising:
Obtain the corresponding interactive function triggering mode information of each interactive function, wherein the interactive function triggering mode information For operational controls;
In the interface of the destination application, each operational controls are loaded respectively.
13. a kind of method for showing interactive function, which is characterized in that the method is applied to server, which comprises
Receive the interactive function inquiry request that terminal is sent, wherein carry the terminal in the interactive function inquiry request The current function scene of destination application;
According to the current function scene, at least one corresponding interactive function of the current function scene is determined;
At least one described interactive function is sent to the terminal, wherein at least one described interactive function is used to indicate described Terminal is shown at least one described interactive function.
14. a kind of device for showing interactive function, which is characterized in that described device includes:
Module is obtained, is configured as obtaining the current function scene of destination application;
Determining module is configured as determining that the current function scene is corresponding at least according to the current function scene One interactive function;
Display module is configured as showing at least one described interactive function.
15. a kind of device for showing interactive function, which is characterized in that described device includes:
Receiving module is configured as receiving the interactive function inquiry request that terminal is sent, wherein the interactive function inquiry request In carry the current function scene of destination application of the terminal;
Determining module is configured as determining that the current function scene is corresponding at least according to the current function scene One interactive function;
Sending module is configured as sending at least one described interactive function to the terminal, wherein at least one described interaction Function is used to indicate the terminal and is shown at least one described interactive function.
CN201910637121.XA 2019-07-15 2019-07-15 Method and device for displaying interaction function Active CN110377195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910637121.XA CN110377195B (en) 2019-07-15 2019-07-15 Method and device for displaying interaction function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910637121.XA CN110377195B (en) 2019-07-15 2019-07-15 Method and device for displaying interaction function

Publications (2)

Publication Number Publication Date
CN110377195A true CN110377195A (en) 2019-10-25
CN110377195B CN110377195B (en) 2022-09-30

Family

ID=68253243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910637121.XA Active CN110377195B (en) 2019-07-15 2019-07-15 Method and device for displaying interaction function

Country Status (1)

Country Link
CN (1) CN110377195B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552794A (en) * 2020-05-13 2020-08-18 海信电子科技(武汉)有限公司 Prompt language generation method, device, equipment and storage medium
CN112165514A (en) * 2020-09-16 2021-01-01 中电信用服务有限公司 System and method for determining display content
CN112738778A (en) * 2020-12-24 2021-04-30 北京搜狗科技发展有限公司 Recommendation method and earphone device
CN112863478A (en) * 2020-12-30 2021-05-28 东风汽车有限公司 Chat interaction display method in driving process, electronic equipment and storage medium
CN114625471A (en) * 2022-03-30 2022-06-14 阿里巴巴(中国)有限公司 Display method and device of functional component
WO2022193257A1 (en) * 2021-03-18 2022-09-22 深圳传音控股股份有限公司 Intelligent interaction method, terminal, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731510A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Method and device for displaying mobile terminal operation control in concentrated mode
CN107203318A (en) * 2017-05-23 2017-09-26 珠海市魅族科技有限公司 The open method and device of a kind of application program
CN107948393A (en) * 2016-10-13 2018-04-20 阿里巴巴集团控股有限公司 Application operating method, apparatus, terminal device and operating system based on scene
CN108363733A (en) * 2018-01-17 2018-08-03 阿里巴巴集团控股有限公司 Content recommendation method and device
KR20190043703A (en) * 2017-10-19 2019-04-29 김도후 Mobile terminal capable of fast battery charging and method for controlling of the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731510A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Method and device for displaying mobile terminal operation control in concentrated mode
CN107948393A (en) * 2016-10-13 2018-04-20 阿里巴巴集团控股有限公司 Application operating method, apparatus, terminal device and operating system based on scene
CN107203318A (en) * 2017-05-23 2017-09-26 珠海市魅族科技有限公司 The open method and device of a kind of application program
KR20190043703A (en) * 2017-10-19 2019-04-29 김도후 Mobile terminal capable of fast battery charging and method for controlling of the same
CN108363733A (en) * 2018-01-17 2018-08-03 阿里巴巴集团控股有限公司 Content recommendation method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552794A (en) * 2020-05-13 2020-08-18 海信电子科技(武汉)有限公司 Prompt language generation method, device, equipment and storage medium
CN111552794B (en) * 2020-05-13 2023-09-19 海信电子科技(武汉)有限公司 Prompt generation method, device, equipment and storage medium
CN112165514A (en) * 2020-09-16 2021-01-01 中电信用服务有限公司 System and method for determining display content
CN112165514B (en) * 2020-09-16 2023-11-03 中电信用服务有限公司 System and method for determining display content
CN112738778A (en) * 2020-12-24 2021-04-30 北京搜狗科技发展有限公司 Recommendation method and earphone device
CN112863478A (en) * 2020-12-30 2021-05-28 东风汽车有限公司 Chat interaction display method in driving process, electronic equipment and storage medium
WO2022193257A1 (en) * 2021-03-18 2022-09-22 深圳传音控股股份有限公司 Intelligent interaction method, terminal, and storage medium
CN114625471A (en) * 2022-03-30 2022-06-14 阿里巴巴(中国)有限公司 Display method and device of functional component

Also Published As

Publication number Publication date
CN110377195B (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN110377195A (en) The method and apparatus for showing interactive function
CN110377365A (en) The method and apparatus for showing small routine
CN110267055A (en) Recommend the methods, devices and systems of direct broadcasting room
CN110379430A (en) Voice-based cartoon display method, device, computer equipment and storage medium
CN110334352A (en) Guidance information display methods, device, terminal and storage medium
CN110278461A (en) Information recommendation interface display method, device, car-mounted terminal and storage medium
CN109327608A (en) Method, terminal, server and the system that song is shared
CN108717432A (en) resource query method and device
CN110378525A (en) Plan of travel determines method, apparatus, equipment and storage medium
CN110399570B (en) Geographic object recommendation method, device and storage medium
CN109657236A (en) Guidance information acquisition methods, device, electronic device and storage medium
CN110248236A (en) Video broadcasting method, device, terminal and storage medium
CN110341627A (en) The method and apparatus for controlling interior behavior
CN109068160A (en) The methods, devices and systems of inking video
CN109922356A (en) Video recommendation method, device and computer readable storage medium
CN109346111A (en) Data processing method, device, terminal and storage medium
CN110377200A (en) Sharing data generation method, device and storage medium
CN109525568A (en) Requesting songs method and device
CN110377784A (en) Sing single update method, device, terminal and storage medium
CN110267054A (en) A kind of method and device for recommending direct broadcasting room
CN110266982A (en) The method and system of song is provided in recorded video
CN109917988A (en) Choose content display method, device, terminal and computer readable storage medium
CN113297510B (en) Information display method, device, equipment and storage medium
CN110099360A (en) Voice message processing method and device
CN110349559A (en) Carry out audio synthetic method, device, system, equipment and storage medium

Legal Events

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