CN110121004A - Card template establishment method, card display methods and device - Google Patents

Card template establishment method, card display methods and device Download PDF

Info

Publication number
CN110121004A
CN110121004A CN201910267186.XA CN201910267186A CN110121004A CN 110121004 A CN110121004 A CN 110121004A CN 201910267186 A CN201910267186 A CN 201910267186A CN 110121004 A CN110121004 A CN 110121004A
Authority
CN
China
Prior art keywords
card
template
target
assemblies
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910267186.XA
Other languages
Chinese (zh)
Inventor
熊磊
董梦楠
侯婉瑾
马炜棋
谭杰夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Intelligent Technology Co Ltd
Original Assignee
Beijing Xiaomi Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Intelligent Technology Co Ltd filed Critical Beijing Xiaomi Intelligent Technology Co Ltd
Priority to CN201910267186.XA priority Critical patent/CN110121004A/en
Publication of CN110121004A publication Critical patent/CN110121004A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/40Electronic components, circuits, software, systems or apparatus used in telephone systems using speech recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/56Details of telephonic subscriber devices including a user help function
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/74Details of telephonic subscriber devices with voice recognition means

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure is directed to a kind of card template establishment method, card display methods and devices.The card display methods includes: acquisition voice messaging;The voice messaging is sent to server;Wherein, the server is used to determine the target card data of corresponding display in target card and the target card according to the semantic information of parsing, and feeds back;Corresponding target card data in the target card and the target card is shown.The card diversification that the technical solution shows terminal, improves user experience.

Description

Card template establishment method, card display methods and device
Technical field
This disclosure relates to card field of display technology more particularly to a kind of card template establishment method, card display methods And device.
Background technique
With the fast development of mobile terminal and Internet technology, currently, most of mobile terminal all supports voice assistant, Voice assistant is a intelligent application, has and realizes voice control by the interactive voices mode such as Intelligent dialogue and instant question and answer The functions such as system, information inquiry, it is deep to be liked by users.Currently, voice assistant is usually with card form in mobile terminal It is shown.
In the related technology, when needing using voice assistant, the voice assistant for opening mobile terminal is spoken, so that mobile Terminal obtains card data corresponding with user speech, then shows card data in card when receiving user speech On.
Summary of the invention
To overcome the problems in correlation technique, the embodiment of the present disclosure provides a kind of card template establishment method, card Display methods and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of card template establishment method is provided, comprising:
Receive the creation instruction of card template;
The console edited to card template to be created is provided;
It is instructed in response to received card edit model, the card template to be created is edited, is created The card template to be created.
The technical scheme provided by this disclosed embodiment can include the following benefits: receive developer's input When the creation instruction of card template, the console edited to card template to be created is provided, so that developer is in console pair Card template to be created is edited, and obtains card template to be created, realization can configure card template, so that card template Diversification, compared with the prior art can only provide the corresponding card of limited technical ability, the technical ability provided is diversified.
In one embodiment, after reception card template creation instruction, further includes:
It receives for selecting the card stencil-chosen for having created card template to instruct;
Determine the card template of creation selected;
The card edit model for having created card template is instructed in response to received, has created card mould to described Plate is edited, and edited card template is determined as to the card template of creation.
In one embodiment, for target card data is provided in a static manner the case where, the card edit model The edit operation being used to indicate is instructed to include the modification to following at least one element, add or delete: card template name, card Piece template description information, card assemblies, the card data of the corresponding display of card assemblies, the composition information of card assemblies;
The case where for target card data is provided in a dynamic fashion, the card edit model instructs the volume being used to indicate Operation is collected to include the modification to following at least one element, add or delete: card template name, card template description information, Card assemblies, the composition information of card assemblies, the variable name in card assemblies.
According to the second aspect of an embodiment of the present disclosure, a kind of card display methods is provided, comprising:
Receive the voice messaging that terminal is sent;
The target number of cards of corresponding display in target card and the target card is determined according to the semantic information of parsing According to;
The target card data of corresponding display in the target card and the target card is fed back to the terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits: the voice that terminal inputs user Information is sent to server, corresponds to so that server will determine in target card and target card according to the semantic information of parsing The target card data of display, and target card and corresponding target card data are shown, it can only be mentioned with the prior art It is compared for the corresponding card of limited technical ability, the corresponding target card of the semantic information can be determined by the semantic information of parsing, And show different target card datas by different target cards, so that the card multiplicity that terminal is shown Change, improves user experience.
It in one embodiment, is the mode of dynamic acquisition for target card data, it is true according to the semantic information of parsing Set the goal the target card data of corresponding display in card and the target card, comprising:
The card template and target card data of target card are determined according to the semantic information of parsing;
According to the corresponding relationship of the card assemblies and target card data that include in the card template, card assemblies are determined The target card data of middle corresponding display.
In one embodiment, the card template further includes following one or more elements: card template name, card Template description information, card assemblies composition information, card assemblies internal variable name;
Wherein, the card assemblies internal variable name is used to indicate the shown card of corresponding card assemblies card assemblies corresponding with this The corresponding relationship of sheet data.
In one embodiment, it is closed according to the card assemblies for including in the card template are corresponding with target card data System determines the target card data of corresponding display in card assemblies, comprising:
The target card data is parsed according to card assemblies internal variable name, is determined in the target card data The variate-value of corresponding card assemblies internal variable name;
Variate-value is determined as to the target card data of card assemblies corresponding to corresponding card assemblies internal variable name.
According to the third aspect of an embodiment of the present disclosure, a kind of card display methods is provided, comprising:
Obtain voice messaging;
The voice messaging is sent to server;
Wherein, the server is right in target card and the target card for being determined according to the semantic information of parsing The target card data that should be shown, and feed back;
Corresponding target card data in the target card and the target card is shown.
The technical scheme provided by this disclosed embodiment can include the following benefits: the voice that terminal inputs user Information is sent to server, corresponds to so that server will determine in target card and target card according to the semantic information of parsing The target card data of display, and target card and corresponding target card data are shown, it can only be mentioned with the prior art It is compared for the corresponding card of limited technical ability, the corresponding target card of the semantic information can be determined by the semantic information of parsing, And show different target card datas by different target cards, so that the card multiplicity that terminal is shown Change, improves user experience.
According to a fourth aspect of embodiments of the present disclosure, a kind of card template creating device is provided, comprising:
Receiving module, for receiving the creation instruction of card template;
Output module, for providing the console edited to card template to be created;
Editor module compiles the card template to be created for instructing in response to received card edit model Volume, the card template to be created created.
In one embodiment, further includes: determining module;
The receiving module is also used to receive for selecting the card stencil-chosen for having created card template to instruct;
The determining module, for determining the card template of creation selected;
The editor module is also used to refer to the card edit model for having created card template in response to received It enables, the card template that created is edited, and edited card template is determined as to the card template of creation.
In one embodiment, for target card data is provided in a static manner the case where, the card edit model The edit operation being used to indicate is instructed to include the modification to following at least one element, add or delete: card template name, card Piece template description information, card assemblies, the card data of the corresponding display of card assemblies, the composition information of card assemblies;
The case where for target card data is provided in a dynamic fashion, the card edit model instructs the volume being used to indicate Operation is collected to include the modification to following at least one element, add or delete: card template name, card template description information, Card assemblies, the composition information of card assemblies, the variable name in card assemblies.
According to a fifth aspect of the embodiments of the present disclosure, a kind of card display device is provided, comprising:
Receiving module, for receiving the voice messaging of terminal transmission;
Determining module determines corresponding display in target card and the target card for the semantic information according to parsing Target card data;
Sending module, for feeding back the mesh of corresponding display in the target card and the target card to the terminal Mark card data.
In one embodiment, the determining module includes that the first determining submodule and second determine submodule;
Described first determines submodule, and the card template and mesh of target card are determined for the semantic information according to parsing Mark card data;
Described second determines submodule, for according to the card assemblies and target card data for including in the card template Corresponding relationship, determine in card assemblies the target card data of corresponding display.
In one embodiment, the card template further includes following one or more elements: card template name, card Template description information, card assemblies composition information, card assemblies internal variable name;
Wherein, the card assemblies internal variable name is used to indicate the shown card of corresponding card assemblies card assemblies corresponding with this The corresponding relationship of sheet data.
In one embodiment, the determining module further includes that third determines that submodule and the 4th determines submodule;
The third determines submodule, for being solved according to card assemblies internal variable name to the target card data Analysis, determines the variate-value that card assemblies internal variable name is corresponded in the target card data;
Described 4th determines submodule, for variate-value to be determined as card sets corresponding to corresponding card assemblies internal variable name The target card data of part.
According to a sixth aspect of an embodiment of the present disclosure, a kind of card display device is provided, comprising:
Module is obtained, for obtaining voice messaging;
Sending module, for the voice messaging to be sent to server;
Wherein, the server is right in target card and the target card for being determined according to the semantic information of parsing The target card data that should be shown, and feed back;
Display module, for showing corresponding target card data in the target card and the target card Show.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of card template creating device is provided, comprising:
First processor;
For storing the first memory of first processor executable instruction;
Wherein, the third processor is configured as:
Receive the creation instruction of card template;
The console edited to card template to be created is provided;
It is instructed in response to received card edit model, the card template to be created is edited, is created The card template to be created.
According to the eighth aspect of the embodiment of the present disclosure, a kind of card display device is provided, comprising:
Second processor;
For storing the second memory of second processor executable instruction;
Wherein, the second processor is configured as:
Receive the voice messaging that terminal is sent;
The target number of cards of corresponding display in target card and the target card is determined according to the semantic information of parsing According to;
The target card data of corresponding display in the target card and the target card is fed back to the terminal.
According to the 9th of the embodiment of the present disclosure the aspect, a kind of card display device is provided, comprising:
Third processor;
For storing the third memory of third processor-executable instruction;
Wherein, the third processor is configured as:
Obtain voice messaging;
The voice messaging is sent to server;
Wherein, the server is right in target card and the target card for being determined according to the semantic information of parsing The target card data that should be shown, and feed back;
Corresponding target card data in the target card and the target card is shown.
According to the tenth of the embodiment of the present disclosure the aspect, a kind of computer readable storage medium is provided, calculating is stored thereon with Machine instruction, when which is executed by processor the step of realization first aspect any embodiment the method.
On the one hand according to the tenth of the embodiment of the present disclosure the, a kind of computer readable storage medium is provided, meter is stored thereon with Calculation machine instruction, when which is executed by processor the step of realization second aspect any embodiment the method.
According to the 12nd of the embodiment of the present disclosure the aspect, a kind of computer readable storage medium is provided, meter is stored thereon with Calculation machine instruction, when which is executed by processor the step of realization third aspect any embodiment the method.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart of card display methods shown according to an exemplary embodiment.
Fig. 2 is card display schematic diagram shown according to an exemplary embodiment.
Fig. 3 a is the flow chart of card template establishment method shown according to an exemplary embodiment.
Fig. 3 b is the flow chart of card template establishment method shown according to an exemplary embodiment.
Fig. 4 is the schematic diagram at card template creation shown according to an exemplary embodiment interface.
Fig. 5 is the schematic diagram of the card template of creation shown according to an exemplary embodiment.
Fig. 6 is the flow chart of card display methods shown according to an exemplary embodiment.
Fig. 7 is the interaction figure of card display methods shown according to an exemplary embodiment.
Fig. 8 a is the structural schematic diagram of card template creating device shown according to an exemplary embodiment.
Fig. 8 b is the structural schematic diagram of card template creating device shown according to an exemplary embodiment.
Fig. 9 a is the structural schematic diagram of card display device shown according to an exemplary embodiment.
Fig. 9 b is the structural schematic diagram of card display device shown according to an exemplary embodiment.
Fig. 9 c is the structural schematic diagram of card display device shown according to an exemplary embodiment.
Figure 10 is the structural schematic diagram of card display device shown according to an exemplary embodiment.
Figure 11 is the structural schematic diagram of card template creating device shown according to an exemplary embodiment.
Figure 12 is the structural schematic diagram of card display device shown according to an exemplary embodiment.
Figure 13 is the structural block diagram of card display device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The technical solution that the embodiment of the present disclosure provides is related to terminal, computer and server, which can make for user The equipment such as mobile phone, tablet computer, laptop, computer are that the computers such as desktop computer or laptop are set Standby, the embodiment of the present disclosure does not limit this.In the related technology, when needing using voice assistant, the voice of mobile terminal is opened Assistant speaks, so that mobile terminal when receiving user speech, obtains card data corresponding with user speech, then Card data is shown on fixed card assemblies.But the technical ability of voice assistant usually all by the developer of voice assistant into Row exploitation, the technical ability of exploitation is limited, if introducing third party is voice assistant Develop ability, third party needs for skill development Corresponding card, then the pattern of card, style etc. may be different, and when terminal show from the card of different third parties exploitation shows Show interface also bad unification, therefore, the card that different third parties are developed is applied to poor user experience when same voice assistant, and And it is big for the respective display interface resource cost of different third parties exploitation.
The embodiment of the present disclosure provides card display methods, and the executing subject for implementing this method has terminal, computer kimonos Business device.The embodiment of the present disclosure arranges three sets of embodiments according to the difference of method subject of implementation, as described below:
Server side
Fig. 1 is a kind of flow chart of card display methods shown according to an exemplary embodiment, and this method is applied to clothes It is engaged in device, as shown in Figure 1, the card display methods includes the following steps 101 to step 103:
In a step 101, the voice messaging that terminal is sent is received.
In a step 102, corresponding display in target card and the target card is determined according to the semantic information of parsing Target card data.
Optionally, when server receives the voice messaging of terminal transmission, voice messaging is subjected to semantic analysis, is obtained Then the corresponding semantic information of voice messaging extracts keyword from the corresponding semantic information of voice messaging, true according to keyword Set the goal the identification information of card, such as: target card name, further according to target card identification information in pre-stored card Target card image corresponding with the identification information of target card is searched in piece, so that it is determined that the identification information pair with target card The target card assemblies answered.
Further, card image may include card template and card data, and target card data can be with static state Mode or dynamical fashion are provided to user terminal.
Illustratively, pre-stored card template may include card template name and card assemblies, for example, such as 1 institute of table Show, the pre-stored card template of server includes weather card template, poem card template and menu card template, wherein Weather card template includes weather card name, card assemblies 1, card assemblies 2 and card assemblies 3;Poem card template includes Poem card name, card assemblies 1, card assemblies 4 and card assemblies 5;Menu card template includes menu card name, card Component 1, card assemblies 2, when the semantic information that server parses is " how pork braised in brown sauce is cooked ", the keyword therefrom extracted is Pork braised in brown sauce, it is determined that the entitled menu card of object card piece, to search corresponding with entitled menu card mesh in table 1 Card is marked, obtaining target card is menu card template, and then obtains the corresponding card assemblies 1 of menu card template and card sets Part 2.
Herein, the card assemblies of different numbers can may be different types of card for the card assemblies of same type Component.
Table 1
The case where providing in a static manner for card data, can be according to component each in card template and card data Corresponding relationship directly determines the card data of the corresponding display of each component in card template, without dynamic acquisition.When implementation, Target card mould corresponding with target card name can be searched in pre-stored card template according to target card name Plate, and then get target card assemblies and target card data, and by target card data, corresponding with target card data Target card assemblies are sent directly to terminal, so that terminal shows target card data on corresponding target card assemblies.
As shown in table 2, card assemblies and the corresponding card of each card assemblies in card template has been stored in advance in server Data, for example, poem card template, corresponding data are poem content, poem author, poem paraphrase, the corresponding card of poem content Piece component 1, poem author correspond to card assemblies 4, and poem paraphrase corresponds to card assemblies 5;Menu card template, corresponding data are Menu title and menu content, menu title correspond to card assemblies 1, and menu content corresponds to card assemblies 2.
Table 2
By taking poem card module as an example, due to the content of poem be it is fixed, can be provided, that is, be existed in a static manner After determining the information such as component and the component typesetting that poem card template is included, according to each component and target card data it Between corresponding relationship, directly determine out the content (i.e. corresponding card data) of the corresponding display of each component.It is obtained receiving user After the voice messaging for taking poem card, which is parsed, keyword is obtained according to the semantic information being resolved to For certain poem, then can directly acquire the corresponding card template of the poem, include in the card template component, component typesetting, And the data of the corresponding display of each component, it feeds back to user terminal and is shown.
For another example, when the semantic information that server receives is " how pork braised in brown sauce is cooked ", then the keyword extracted is braised in soy sauce Then meat determines the entitled menu card of object card piece, then searched and pork braised in brown sauce title in table 1 according to target card name Corresponding target card assemblies, and according to the corresponding relationship between target card assemblies in table 2 and corresponding display content, it can obtain Pork braised in brown sauce title corresponds to card assemblies 1 out, and pork braised in brown sauce specific practice content corresponds to card assemblies 2.(static mode in the present embodiment The card data of offer can also be provided in a dynamic fashion, be configured according to actual needs, and which is not described herein again).
In addition, card template can also include following one or more elements: card template description information, card assemblies row Version information.Card template description information is to further describe to card template, for example, card template name is weather card mould Plate, card template description information can be a weather card templates for this;Card assemblies composition information is institute in target card There are the information such as display order, the display position of card assemblies.
In addition, card template name is closed with the corresponding of the corresponding relationship of card assemblies, card assemblies and corresponding card data System is not necessarily stored with the form of table, is only citing here.
Optionally, if card data is not stored in advance in server, target card data can be in a dynamic fashion to user Terminal provides, and server determines the target of corresponding display in target card and the target card according to the semantic information of parsing The step of card data includes:
Step 1: determining the card template and target card data of target card according to the semantic information of parsing;
Step 2: being determined according to the corresponding relationship of the card assemblies and target card data that include in the card template The target card data of corresponding display in card assemblies.
Exemplary, book server determines target card name according to semantic information first, then in card as shown in Table 1 The card template with the matched target card of target card name is searched in template, and semantic information is sent to data server (data server and book server may be same physical server, be not intended to limit herein), so that data server is connecing When receiving semantic information, corresponding target card data is obtained according to semantic information, and will acquire corresponding with semantic information Target card data is sent to book server, so that book server gets the corresponding target card data of semantic information.
When getting target card data, target card data is parsed, according to card assemblies in card template With the corresponding relationship of target card data, the target number of cards of the corresponding display of each card assemblies in card template can be determined According to, then feed back to terminal.
In addition, the card template can also include following one or more elements: card template name, card template are retouched State information, card assemblies composition information, card assemblies internal variable name;Card template description information be to card template name into The description of one step, for example, card template name is weather card template, card template description information can be a weather card for this Piece template;Card assemblies composition information is the information such as display order, display position of all card assemblies in target card.
The card assemblies internal variable name is used to indicate number of cards shown by corresponding card assemblies card assemblies corresponding with this According to corresponding relationship, that is to say, that the corresponding relationship of the card assemblies for including in card template and target card data is to pass through What the mode of card assemblies internal variable name was realized.
Specifically, can parse according to card assemblies internal variable name to the target card data, the mesh is determined The variate-value of card assemblies internal variable name is corresponded in mark card data.
Variate-value is determined as to the target card data of card assemblies corresponding to corresponding card assemblies internal variable name.
It as shown in table 3, is card assemblies internal variable name, corresponding card sets in card template by taking weather card template as an example The corresponding relationship of part and shown card data is relatively suitble to due to the data that weather data is real-time change using dynamic State mode is provided.So, the target card data of acquisition is weather data, specifically includes clear to cloudy, gentle breeze, temperature is 5 DEG C to 18 DEG C, it is suitble to outdoor sports etc..
Weather data is parsed according to card assemblies internal variable name, it is known that clear to cloudy, gentle breeze is the change of variable name 1 Magnitude then corresponds to card assemblies 1, and will characterize the clear to cloudy of state of weather, and gentle breeze is determined as the target card of card assemblies 1 Data;Known to temperature be 5 DEG C to 18 DEG C be variable name 2 variate-value, then correspond to card assemblies 2, and will characterization weather temperature Temperature is 5 DEG C to the 18 DEG C target card datas for being determined as card assemblies 2;Know the variate-value for being suitble to outdoor sports to be variable 3, Card assemblies 3 are then corresponded to, and the suitable outdoor sports for characterizing weather points for attention are determined as to the target number of cards of card assemblies 3 According to final weather card displayed on the terminals can be as shown in Figure 2.
Table 3
It should be noted that server can also determine semantic type according to semantic information, and determined according to semantic type Target card name can then determine that semantic type is song, then will for example, semantic information is certain lyrics in song Target card name is determined as song card.
Further, above-mentioned data server may be certain app server, it is assumed that be parsed according to user voice data Certain app title and the app need service to be offered, it is seen that user needs the app to provide the service, then can service to app Device obtains service data, and parses to service data, obtains the corresponding target card data of each component of target card template, To user feedback.
Further more, target card data can be read-only data, checked for user, is also possible to the number for user's operation According to, such as: link, audio broadcast interface, video playing interface etc..
In addition, card assemblies and the corresponding relationship of card assemblies internal variable name not necessarily use the form of table to store, here only It is citing.
In step 103, Xiang Suoshu terminal feeds back the mesh of corresponding display in the target card and the target card Mark card data.
Developer side:
Fig. 3 a is a kind of flow chart of card template establishment method shown according to an exemplary embodiment, this method application Computer in developer side, as shown in Figure 3a, the card template establishment method include the following steps 301a to step 303a:
In step 301a, the creation instruction of card template is received.
Exemplary, developer opens the creation link of card template, display creation card template button, exploitation on computers Person clicks creation card template button, then computer gets the creation instruction of card template.
In step 302a, the console edited to card template to be created is provided.
Exemplary, computer is when getting the creation instruction of card template, the console of display card template creation, also It is card template creation interface.
In step 303a, is instructed in response to received card edit model, the card template to be created is compiled Volume, the card template to be created created.
Wherein, for target card data is provided in a static manner the case where, the card edit model instruction is for referring to The edit operation shown includes the modification to following at least one element, adds or deletes: card template name, the description of card template Information, card assemblies, the card data of the corresponding display of card assemblies, the composition information of card assemblies;
The case where for target card data is provided in a dynamic fashion, the card edit model instructs the volume being used to indicate Operation is collected to include the modification to following at least one element, add or delete: card template name, card template description information, Card assemblies, the composition information of card assemblies, the variable name in card assemblies.
It should be noted that the embodiment of the present application can be applied to for voice assistant Develop ability.It is more due to that may have A third party be voice assistant develop different technical ability (such as: weather show technical ability, requesting songs technical ability, order service technical ability, Navigation Service technical ability etc.), and the possible style disunity of card of different developer's creations, so that user experience is bad.This Shen Please embodiment can be provided for developer card template creation interface, that is, different types of component, type-setting mode etc. are provided so that The card template of creation has unified card template style, so that developer while developing new technical ability, can be that this is new Technical ability designs card template, and shows that new technical ability to user with unified style, improves user experience.But also card is shown Interface is unified, does not need to develop card display interface for each third party, has saved system resource.
It is exemplary, the specific creation content of card template is shown on card template creation interface, developer can be according to need The corresponding content of selection is sought, when edit operation includes addition card template name, computer receives developer in card template The card template name inputted in name input field, that is, computer get card template name.
It should be noted that developer after input card template name, can also modify to card template name, Receive the instruction of the deletion card template name of developer's input, the card that then will be inputted in card template name input field Piece template name is deleted, and allows a developer to input new card template name in card template name input field, also It is that computer gets new card template name.
When edit operation includes addition card template description information, computer receives developer and describes to believe in card template The description information inputted in breath input field, that is, computer get card template description information.
It should be noted that developer is after input card template description information, it can also be to card template description information It modifies, i.e. the instruction of the deletion card template description information of reception developer input, then will describe to believe in card template The description information inputted in breath input field is deleted, and allows a developer to input newly in card template description information input field Card template description information, that is, computer get new card template description information.
When edit operation includes addition card assemblies, developer clicks card assemblies and adds key, so that computer is aobvious Show the card assemblies that can be added, then developer selects to need card assemblies to be added in the card assemblies of display, then Addition key is clicked, so that computer gets addition instruction, then adds corresponding card assemblies.
Developer can also delete the card assemblies added, card of the developer in addition after adding card assemblies Card assemblies to be deleted are selected in component, then select corresponding delete button, so that computer gets deletion card sets Part instruction, then deletes corresponding card assemblies.
When edit operation includes adding the composition information of card assemblies, different card assemblies are may be selected successively in developer Addition, to obtain the composition information of card assemblies.
When edit operation includes modifying the composition information of card assemblies, developer can select in the card assemblies added Card assemblies to be dragged are selected, the card assemblies with dragging are then dragged to desired location, so that computer gets band and drags The dragging position command of dynamic card assemblies, then realizes to card the dragging with dragging card assemblies according to this instruction execution The modification of the composition information of piece component.
When edit operation includes adding the variable name at least one card assemblies, computer receives developer a certain The title of the variable name inputted in the input field of component internal variable name, that is, computer get the name of this component internal variable name Claim.
It should be noted that developer is after the title of input module internal variable name, it can also be to component internal variable name Title is modified, i.e. the instruction of the title of the deletion component internal variable name of reception developer input, then will be become in component The title for measuring the component internal variable name inputted in the input field of name is deleted, and the input in component internal variable name is allowed a developer to The title of new component internal variable name is inputted in column, that is, computer gets the title of new component internal variable name.
When edit operation includes adding the card data of the corresponding display of card assemblies, computer receives developer in card The card data inputted in the corresponding card data input field of component, that is, computer get the corresponding display of card assemblies Card data.
It should be noted that developer is after the card data of the corresponding display of input card component, it can also be to number of cards According to modifying, i.e. the instruction of the deletion card data of reception developer input then will be in the corresponding number of cards of card assemblies It deletes, allows a developer to defeated in the corresponding card data input field of card assemblies according to the card data inputted in input field Enter new card data, that is, computer gets the card data of the corresponding display of new card assemblies.
As shown in Figure 4, it can be seen that card template name and three kinds of cards are had in the creation for the card template for including in Fig. 4 Piece component type, three kinds of card assemblies types are respectively the first card assemblies type, second of card assemblies class from top to bottom Type and the third card assemblies type, wherein the first card assemblies type is the following figure above, i.e., text is added above picture Message part;Second of card assemblies type is that small figure adds text, i.e., picture is contracted to pre-set dimension, then on the right side of picture Text information parts are added in side and lower section;The third card assemblies type hereafter, i.e., adds text for upper figure below picture Message part, developer can voluntarily choice cards component type according to demand, the input card in card template name input field Then template name adds card assemblies, it is assumed that have card template name and the third card in the creation that developer needs Component type then adds card template name in the corresponding input field of card template name, and clicks the third card assemblies The corresponding addition button of type, ultimately generates card template as shown in Figure 5;In addition, being opened when obtaining card template to be created Originator can choose whether to save card template to be created, if selection saves card template to be created, by generation to Creation card template is stored in the storage region that card template is stored in advance, and realizes the update to card template;If selection Card template to be created is not saved, then the card template to be created of generation can be shown, allow a developer to preview Card template to be created.
It should be noted that developer can add a card sets according to actual needs when creating a card template Part or multiple card assemblies, the embodiment of the present disclosure are not construed as limiting this.
Fig. 3 b is a kind of flow chart of card template establishment method shown according to an exemplary embodiment, this method application In computer, as shown in Figure 3b, which includes the following steps 301b to step 304b:
In step 301b, the creation instruction of card template is received.
In step 302b, receive for selecting the card stencil-chosen for having created card template to instruct.
Exemplary, computer, can be defeated in response to the creation instruction of card template when receiving the creation instruction of card template Created card template options with selection out and selection forbidden to create the interfaces of card template options, so as to developer according to Actual demand chooses whether selection and has created card template, when developer, which clicks selection, has created card template options, then counts Calculation machine is got for selecting the card stencil-chosen for having created card template to instruct.
In step 303b, the card template of creation selected is determined.
Exemplary, computer is then shown when getting for selecting to have created the card stencil-chosen instruction of card template Show and call interface, selects the card of creation template to be edited in card template from pre-stored created and show.
In step 304b, the card edit model for having created card template is instructed in response to received, to institute It states and has created card template and edited, and edited card template is determined as to the card template of creation.
Wherein, for target card data is provided in a static manner the case where, the card edit model instruction is for referring to The edit operation shown includes the modification to following at least one element, adds or deletes: card template name, the description of card template Information, card assemblies, the card data of the corresponding display of card assemblies, the composition information of card assemblies;
The case where for target card data is provided in a dynamic fashion, the card edit model instructs the volume being used to indicate Operation is collected to include the modification to following at least one element, add or delete: card template name, card template description information, Card assemblies, the composition information of card assemblies, the variable name in card assemblies.
It is exemplary, the particular content that card template is shown in card template is created, developer can select according to demand Corresponding content is edited, and when edit operation includes modification card template name, computer receives deleting for developer's input Except the instruction of card template name, then the card template name inputted in card template name input field is deleted, so that Developer can input new card template name in card template name input field, that is, computer gets new card Piece template name.
When edit operation includes modification card template description information, computer receives the deletion card mould of developer's input Then the instruction of plate description information deletes the description information inputted in card template description information input field, so that exploitation Person can input new card template description information in card template description information input field, that is, computer is got newly Card template description information.
When edit operation includes addition card assemblies, developer clicks card assemblies and adds key, so that computer is aobvious Show the card assemblies that can be added, then developer selects to need card assemblies to be added in the card assemblies of display, then Addition key is clicked, so that computer gets addition instruction, then adds corresponding card assemblies.
Developer can also delete the card assemblies added, card of the developer in addition after adding card assemblies Card assemblies to be deleted are selected in component, then select corresponding delete button, so that computer gets deletion card sets Part instruction, then deletes corresponding card assemblies.
When edit operation includes modifying the composition information of card assemblies, developer can select in the card assemblies added Card assemblies to be dragged are selected, the card assemblies with dragging are then dragged to desired location, so that computer gets band and drags The dragging position command of dynamic card assemblies, then realizes to card the dragging with dragging card assemblies according to this instruction execution The modification of the composition information of piece component.
When edit operation includes modifying the variable name at least one card assemblies, computer receives developer's input Delete the instruction of the title of component internal variable name, the component internal variable name that then will be inputted in the input field of component internal variable name Title delete, allow a developer to the title that new component internal variable name is inputted in the input field of component internal variable name, The namely computer title that gets new component internal variable name.
In addition, developer can choose whether that the card template of creation will be saved in the card template created, if Selection saves the card template of creation, then the card template of creation is stored in the storage region that card template is stored in advance, Realize the update to card template;If selection does not save the card template of creation, the card template of creation can be shown Show, allows a developer to the card template of preview creation.
When edit operation includes modifying the card data of the corresponding display of card assemblies, computer receives developer's input The instruction of card data is deleted, then deletes the card data inputted in the corresponding card data input field of card assemblies, It allows a developer to input new card data in the corresponding card data input field of card assemblies, that is, computer obtains Get the card data of the corresponding display of new card assemblies.
It should be noted that developer can also add new card mould when to having created card template and editing Board name, addition new card template description information, add at least one card at the corresponding card data shown of addition card assemblies Variable name in piece component, specific method refer to foregoing description, and details are not described herein for the disclosure.
Further, the card template of creation can be actively sent to by computer in the card template created Server can also be sent in the acquisition card template request for receiving server transmission, then by the card template of creation Server, so that server stores the card template of creation.
Terminal side
Fig. 6 is a kind of flow chart of card display methods shown according to an exemplary embodiment, and this method is applied to eventually End, as shown in fig. 6, the card display methods includes the following steps 601 to step 603:
In step 601, voice messaging is obtained.
It is exemplary, voice assistant application program is installed in the terminals such as mobile phone, when user uses voice assistant application program When, voice assistant application program is clicked, voice input button is then clicked and carries out voice input, so as to get user defeated for terminal The voice messaging entered.
In step 602, the voice messaging is sent to server, so that the server is believed according to the semanteme of parsing The target card data for determining corresponding display in target card and the target card is ceased, and is fed back.
In step 603, corresponding target card data in the target card and the target card is shown Show.
For terminal, the voice messaging of user's sending can receive, and be sent to server.By server to this Voice messaging is parsed, and the mesh of corresponding display in target card and target card is determined according to obtained semantic information Mark card data.Terminal carries out the target card data of display corresponding in the target card and target card of server feedback Real-time rendering is simultaneously shown.
It should be noted that in terminal there are two types of the acquisition modes of pre-stored card template, it is specific as follows:
First method, added with application packet in the voice assistant application program installed in terminal, wherein application packet is preparatory It is built-in with the card template of developer's creation, so card template is just stored in terminal after the completion of terminal installation voice assistant On.
Second method, when terminal to server sends voice messaging, server carries out the voice data received Parsing, obtains the identification information of terminal carried in voice data, determines whether that the terminal is sent out according to the identification information of terminal Pass through card template, however, it is determined that it is not transmitted across card template to the terminal, then illustrates that the terminal does not have memory card template, this When, server sends the application packet for being built-in with the card template that developer creates to terminal, so that terminal is being received using packet When, operation application packet, and the card template carried in application packet is stored.
It should be noted that the space using packet duty of the disclosure is smaller, and silent can upgrade, i.e., meet in terminal It can upgrade automatically under certain network condition, version fragment problems are not present.
Fig. 7 is a kind of interaction figure of card display methods shown according to an exemplary embodiment, and executing subject is terminal And server, as shown in fig. 7, comprises following steps 701 are to step 705:
In step 701, terminal obtains voice messaging.
In a step 702, the voice messaging is sent to server, server receives voice messaging.
In step 703, it is right in target card and the target card that server is determined according to the semantic information of parsing The target card data that should be shown.
In step 704, server feeds back corresponding display in the target card and the target card to terminal Target card data;Terminal receives the target card data of corresponding display in target card and the target card.
In step 705, terminal by corresponding target card data in the target card and the target card into Row display.
The embodiment of the present disclosure provides a kind of card display methods, and the voice messaging that user inputs is sent to service by terminal Device, so that server will determine the target card of corresponding display in target card and target card according to the semantic information of parsing Data, and target card and corresponding target card data are shown, compared with prior art, the language of parsing can be passed through Adopted information determines the corresponding target card of the semantic information, and by different target card datas by different target cards into Row display, so that the card diversification that terminal is shown, improves user experience.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 8 a is a kind of structural schematic diagram of card template creating device 80 shown according to an exemplary embodiment, the dress Setting 80 being implemented in combination with as some or all of of electronic equipment by software, hardware or both.As shown in Figure 8 a, The card template creating device 80 includes receiving module 801, output module 802 and editor module 803.
Wherein, receiving module 801, for receiving the creation instruction of card template.
Output module 802, for providing the console edited to card template to be created.
Editor module 803 carries out the card template to be created for instructing in response to received card edit model Editor, the card template to be created created.
In one embodiment, as shown in Figure 8 b, described device 80 further includes determining module 804.
Wherein, the receiving module 801 is also used to receive for selecting the card stencil-chosen for having created card template to refer to It enables;
The determining module 804, for determining the card template of creation selected;
The editor module 803 is also used in response to received to the card edit model for having created card template Instruction, edits the card template that created, and edited card template is determined as to the card template of creation.
In one embodiment, for target card data is provided in a static manner the case where, the card edit model The edit operation being used to indicate is instructed to include the modification to following at least one element, add or delete: card template name, card Piece template description information, card assemblies, the card data of the corresponding display of card assemblies, the composition information of card assemblies;
The case where for target card data is provided in a dynamic fashion, the card edit model instructs the volume being used to indicate Operation is collected to include the modification to following at least one element, add or delete: card template name, card template description information, Card assemblies, the composition information of card assemblies, the variable name in card assemblies.
Fig. 9 a is a kind of structural schematic diagram of card display device 90 shown according to an exemplary embodiment, the device 90 It being implemented in combination with as some or all of of electronic equipment by software, hardware or both.As illustrated in fig. 9, the card Sheet display device 90 includes receiving module 901, determining module 902 and sending module 903.
Wherein, receiving module 901, for receiving the voice messaging of terminal transmission.
Determining module 902 determines corresponding in target card and the target card for the semantic information according to parsing The target card data of display.
Sending module 903, for feeding back corresponding display in the target card and the target card to the terminal Target card data.
In one embodiment, as shown in figure 9b, the determining module 902 includes the first determining submodule 9021 and second Determine submodule 9022.
Wherein, it described first determines submodule 9021, the card of target card is determined for the semantic information according to parsing Template and target card data.
Described second determines submodule 9022, for according to the card assemblies and target card for including in the card template The corresponding relationship of data determines the target card data of corresponding display in card assemblies.
In one embodiment, the card template further includes following one or more elements: card template name, card Template description information, card assemblies composition information, card assemblies internal variable name;
Wherein, the card assemblies internal variable name is used to indicate the shown card of corresponding card assemblies card assemblies corresponding with this The corresponding relationship of sheet data.
In one embodiment, as is shown in fig. 9 c, the determining module 902 further includes that third determines that submodule 9023 is conciliate 4th determines submodule 9024.
Wherein, the third determines submodule 9023, is used for according to card assemblies internal variable name to the target number of cards According to being parsed, the variate-value that card assemblies internal variable name is corresponded in the target card data is determined.
Described 4th determines submodule 9024, for variate-value to be determined as card corresponding to corresponding card assemblies internal variable name The target card data of piece component.
Figure 10 is a kind of structural schematic diagram of card display device 100 shown according to an exemplary embodiment, the device 100 being implemented in combination with as some or all of of electronic equipment by software, hardware or both.As shown in Figure 10, The card display device 100 includes obtaining module 1001, sending module 1002 and display module 1003.
Wherein, module 1001 is obtained, for obtaining voice messaging.
Sending module 1002, for the voice messaging to be sent to server;Wherein, the server is used for according to solution The semantic information of analysis determines the target card data of corresponding display in target card and the target card, and feeds back.
Display module 1003, for by corresponding target card data in the target card and the target card into Row display.
The embodiment of the present disclosure provides a kind of card template creating device, which includes:
First processor;
For storing the first memory of first processor executable instruction;
Wherein, first processor is configured as:
Receive the creation instruction of card template;
The console edited to card template to be created is provided;
It is instructed in response to received card edit model, the card template to be created is edited, is created The card template to be created.
In one embodiment, above-mentioned first processor is also configured to:
It receives for selecting the card stencil-chosen for having created card template to instruct;
Determine the card template of creation selected;
The card edit model for having created card template is instructed in response to received, has created card mould to described Plate is edited, and edited card template is determined as to the card template of creation.
In one embodiment, above-mentioned first processor is also configured to:
The case where for target card data is provided in a static manner, the card edit model instructs the volume being used to indicate Operation is collected to include the modification to following at least one element, add or delete: card template name, card template description information, Card assemblies, the card data of the corresponding display of card assemblies, the composition information of card assemblies;
The case where for target card data is provided in a dynamic fashion, the card edit model instructs the volume being used to indicate Operation is collected to include the modification to following at least one element, add or delete: card template name, card template description information, Card assemblies, the composition information of card assemblies, the variable name in card assemblies.
The embodiment of the present disclosure provides a kind of card display device, which includes:
Second processor;
For storing the second memory of second processor executable instruction;
Wherein, second processor is configured as:
Receive the voice messaging that terminal is sent;
The target number of cards of corresponding display in target card and the target card is determined according to the semantic information of parsing According to;
The target card data of corresponding display in the target card and the target card is fed back to the terminal.
In one embodiment, above-mentioned second processor is also configured to:
The card template and target card data of target card are determined according to the semantic information of parsing;
According to the corresponding relationship of the card assemblies and target card data that include in the card template, card assemblies are determined The target card data of middle corresponding display.
In one embodiment, above-mentioned second processor is also configured to: the card template further includes following one kind Or multiple element: card template name, card template description information, card assemblies composition information, card assemblies internal variable name;
Wherein, the card assemblies internal variable name is used to indicate the shown card of corresponding card assemblies card assemblies corresponding with this The corresponding relationship of sheet data.
In one embodiment, above-mentioned second processor is also configured to:
The target card data is parsed according to card assemblies internal variable name, is determined in the target card data The variate-value of corresponding card assemblies internal variable name;
Variate-value is determined as to the target card data of card assemblies corresponding to corresponding card assemblies internal variable name.
The embodiment of the present disclosure provides a kind of card display device, which includes:
Third processor;
For storing the third memory of third processor-executable instruction;
Wherein, third processor is configured as:
Obtain voice messaging;
The voice messaging is sent to server;
Wherein, the server is right in target card and the target card for being determined according to the semantic information of parsing The target card data that should be shown, and feed back;
Corresponding target card data in the target card and the target card is shown.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Figure 11 is a kind of electronic equipment including the card template creating device shown according to an exemplary embodiment 1100 block diagram, the electronic equipment are suitable for computer.For example, electronic equipment 1100 can be computer, tablet device etc..
Electronic equipment 1100 may include following one or more components: processing component 1101, memory 1102, power supply group Part 1103, multimedia component 1104, audio component 1105, input/output (I/O) interface 1106, sensor module 1107, and Communication component 1108.
The integrated operation of the usual controlling electronic devices 1100 of processing component 1101, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 1101 may include one or more processors 1120 It executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1101 may include one or more Module, convenient for the interaction between processing component 1101 and other assemblies.For example, processing component 1101 may include multimedia mould Block, to facilitate the interaction between multimedia component 1104 and processing component 1101.
Memory 1102 is configured as storing various types of data to support the operation in electronic equipment 1100.These numbers According to example include any application or method for being operated on electronic equipment 1100 instruction, contact data, electricity Talk about book data, message, picture, video etc..Memory 1102 can be by any kind of volatibility or non-volatile memory device Or their combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1103 provides electric power for the various assemblies of electronic equipment 1100, including confession described in above-described embodiment Circuit.Power supply module 1103 may include power-supply management system, one or more power supplys and other with for electronic equipment 1100 Generate, manage, and distribute the associated component of electric power.
Multimedia component 1104 includes the screen of one output interface of offer between the electronic equipment 1100 and user Curtain.In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touching Panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touchings Sensor is touched to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or cunning The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments In, multimedia component 1104 includes a front camera and/or rear camera.When electronic equipment 1100 is in operation mould Formula, such as in a shooting mode or a video mode, front camera and/or rear camera can receive external multi-medium data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom energy Power.
Audio component 1105 is configured as output and/or input audio signal.For example, audio component 1105 includes a wheat Gram wind (MIC), when electronic equipment 1100 is in operation mode, when such as call mode, recording mode, and voice recognition mode, Mike Wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 1102 or via Communication component 1108 is sent.In some embodiments, audio component 1105 further includes a loudspeaker, for exporting audio letter Number.
Input/output (I/O) interface 1106 provides interface between processing component 1101 and peripheral interface module, above-mentioned outer Enclosing interface module can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, Start button and locking press button.
Sensor module 1107 includes one or more sensors, for providing the shape of various aspects for electronic equipment 1100 State assessment.For example, sensor module 1107 can detecte the state that opens/closes of electronic equipment 1100, component it is relatively fixed Position, such as the component are the display and keypad of electronic equipment 1100, and sensor module 1107 can also detect electronics and set For 1100 or the position change of 1,100 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 1100, The temperature change in 1100 orientation of electronic equipment or acceleration/deceleration and electronic equipment 1100.Sensor module 1107 may include connecing Nearly sensor is configured to detect the presence of nearby objects without any physical contact.Sensor module 1107 is also It may include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, should Sensor module 1107 can also include acceleration transducer, and gyro sensor, Magnetic Sensor, pressure sensor or temperature pass Sensor.
Communication component 1108 is configured to facilitate the logical of wired or wireless way between electronic equipment 1100 and other equipment Letter.Electronic equipment 1100 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.One In a exemplary embodiment, communication component 1108 via broadcast channel receive broadcast singal from external broadcasting management system or Broadcast related information.In one exemplary embodiment, the communication component 1108 further includes near-field communication (NFC) module, with Promote short range communication.For example, can be based on radio frequency identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology surpasses Broadband (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 1100 can by one or more application specific integrated circuit (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field-programmable gate array It arranges (FPGA), controller, microcontroller, microprocessor or other electronic components to realize, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1102 of instruction, above-metioned instruction can be executed by the processor 1120 of electronic equipment 1100 to complete above-mentioned side Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Figure 12 is a kind of electronic equipment 1200 including the card display device shown according to an exemplary embodiment Block diagram, the electronic equipment are suitable for terminal.For example, electronic equipment 1200 can be mobile phone, computer, tablet device etc..
Electronic equipment 1200 may include following one or more components: processing component 1201, memory 1202, power supply group Part 1203, multimedia component 1204, audio component 1205, input/output (I/O) interface 1206, sensor module 1207, and Communication component 1208.
The integrated operation of the usual controlling electronic devices 1200 of processing component 1201, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 1201 may include one or more processors 1220 It executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1201 may include one or more Module, convenient for the interaction between processing component 1201 and other assemblies.For example, processing component 1201 may include multimedia mould Block, to facilitate the interaction between multimedia component 1204 and processing component 1201.
Memory 1202 is configured as storing various types of data to support the operation in electronic equipment 1200.These numbers According to example include any application or method for being operated on electronic equipment 1200 instruction, contact data, electricity Talk about book data, message, picture, video etc..Memory 1202 can be by any kind of volatibility or non-volatile memory device Or their combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1203 provides electric power for the various assemblies of electronic equipment 1200, including confession described in above-described embodiment Circuit.Power supply module 1203 may include power-supply management system, one or more power supplys and other with for electronic equipment 1200 Generate, manage, and distribute the associated component of electric power.
Multimedia component 1204 includes the screen of one output interface of offer between the electronic equipment 1200 and user Curtain.In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touching Panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touchings Sensor is touched to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or cunning The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments In, multimedia component 1204 includes a front camera and/or rear camera.When electronic equipment 1200 is in operation mould Formula, such as in a shooting mode or a video mode, front camera and/or rear camera can receive external multi-medium data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom energy Power.
Audio component 1205 is configured as output and/or input audio signal.For example, audio component 1205 includes a wheat Gram wind (MIC), when electronic equipment 1200 is in operation mode, when such as call mode, recording mode, and voice recognition mode, Mike Wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 1202 or via Communication component 1208 is sent.In some embodiments, audio component 1205 further includes a loudspeaker, for exporting audio letter Number.
Input/output (I/O) interface 1206 provides interface between processing component 1201 and peripheral interface module, above-mentioned outer Enclosing interface module can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, Start button and locking press button.
Sensor module 1207 includes one or more sensors, for providing the shape of various aspects for electronic equipment 1200 State assessment.For example, sensor module 1207 can detecte the state that opens/closes of electronic equipment 1200, component it is relatively fixed Position, such as the component are the display and keypad of electronic equipment 1200, and sensor module 1207 can also detect electronics and set For 1200 or the position change of 1,200 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 1200, The temperature change in 1200 orientation of electronic equipment or acceleration/deceleration and electronic equipment 1200.Sensor module 1207 may include connecing Nearly sensor is configured to detect the presence of nearby objects without any physical contact.Sensor module 1207 is also It may include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, should Sensor module 1207 can also include acceleration transducer, and gyro sensor, Magnetic Sensor, pressure sensor or temperature pass Sensor.
Communication component 1208 is configured to facilitate the logical of wired or wireless way between electronic equipment 1200 and other equipment Letter.Electronic equipment 1200 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.One In a exemplary embodiment, communication component 1208 via broadcast channel receive broadcast singal from external broadcasting management system or Broadcast related information.In one exemplary embodiment, the communication component 1208 further includes near-field communication (NFC) module, with Promote short range communication.For example, can be based on radio frequency identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology surpasses Broadband (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 1200 can by one or more application specific integrated circuit (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field-programmable gate array It arranges (FPGA), controller, microcontroller, microprocessor or other electronic components to realize, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1202 of instruction, above-metioned instruction can be executed by the processor 1220 of electronic equipment 1200 to complete above-mentioned side Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Figure 13 is a kind of block diagram for card display device shown according to an exemplary embodiment.For example, device 1300 may be provided as a server.Device 1300 includes processing component 1322, further comprises one or more processing Device, and the memory resource as representated by memory 1332, can be by the instruction of the execution of processing component 1322, example for storing Such as application program.The application program stored in memory 1332 may include it is one or more each correspond to one group The module of instruction.In addition, processing component 1322 is configured as executing instruction, to execute the above method.
Device 1300 can also include that a power supply module 1326 be configured as the power management of executive device 1300, and one Wired or wireless network interface 1350 is configured as device 1300 being connected to network and input and output (I/O) interface 1358.Device 1300 can be operated based on the operating system for being stored in memory 1332, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
The embodiment of the present disclosure provides a kind of non-transitorycomputer readable storage medium, the instruction in the storage medium When being executed by the processor of computer, enable a computer to execute above-mentioned card template establishment method, which comprises
Receive the creation instruction of card template;
The console edited to card template to be created is provided;
It is instructed in response to received card edit model, the card template to be created is edited, is created The card template to be created.
The embodiment of the present disclosure provides a kind of non-transitorycomputer readable storage medium, the instruction in the storage medium When being executed by the processor of server, enable the server to execute above-mentioned card display methods, which comprises
Receive the voice messaging that terminal is sent;
The target number of cards of corresponding display in target card and the target card is determined according to the semantic information of parsing According to;
The target card data of corresponding display in the target card and the target card is fed back to the terminal.
The embodiment of the present disclosure provides a kind of non-transitorycomputer readable storage medium, the instruction in the storage medium When being executed by the processor of terminal, enable the terminal to execute above-mentioned card display methods, which comprises
Obtain voice messaging;
The voice messaging is sent to server;
Wherein, the server is right in target card and the target card for being determined according to the semantic information of parsing The target card data that should be shown, and feed back;
Corresponding target card data in the target card and the target card is shown.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (22)

1. a kind of card template establishment method characterized by comprising
Receive the creation instruction of card template;
The console edited to card template to be created is provided;
It instructs, the card template to be created is edited, what is created is described in response to received card edit model Card template to be created.
2. the method according to claim 1, wherein also being wrapped after reception card template creation instruction It includes:
It receives for selecting the card stencil-chosen for having created card template to instruct;
Determine the card template of creation selected;
Instructed in response to the received card edit model for having created card template to described, to it is described created card template into Edlin, and by edited card template be determined as creation card template.
3. method according to claim 1 or 2, which is characterized in that for offer target card data in a static manner Situation, the edit operation that the card edit model instruction is used to indicate include the modification to following at least one element, addition Or delete: card template name, card template description information, card assemblies, the card data of the corresponding display of card assemblies, card The composition information of component;
The case where for target card data is provided in a dynamic fashion, the editor behaviour that the card edit model instruction is used to indicate Work includes the modification to following at least one element, adds or deletes: card template name, card template description information, card Component, the composition information of card assemblies, the variable name in card assemblies.
4. a kind of card display methods characterized by comprising
Receive the voice messaging that terminal is sent;
The target card data of corresponding display in target card and the target card is determined according to the semantic information of parsing;
The target card data of corresponding display in the target card and the target card is fed back to the terminal.
5. according to the method described in claim 4, it is characterized in that, being the mode of dynamic acquisition, root for target card data The target card data of corresponding display in target card and the target card is determined according to the semantic information of parsing, comprising:
The card template and target card data of target card are determined according to the semantic information of parsing;
According to the corresponding relationship of the card assemblies and target card data that include in the card template, it is right in card assemblies to determine The target card data that should be shown.
6. according to the method described in claim 5, it is characterized in that, the card template further includes following one or more members Element: card template name, card template description information, card assemblies composition information, card assemblies internal variable name;
Wherein, the card assemblies internal variable name is used to indicate number of cards shown by corresponding card assemblies card assemblies corresponding with this According to corresponding relationship.
7. according to the method described in claim 6, it is characterized in that, according to the card assemblies and mesh for including in the card template The corresponding relationship for marking card data determines the target card data of corresponding display in card assemblies, comprising:
The target card data is parsed according to card assemblies internal variable name, is determined corresponding in the target card data The variate-value of card assemblies internal variable name;
Variate-value is determined as to the target card data of card assemblies corresponding to corresponding card assemblies internal variable name.
8. a kind of card display methods characterized by comprising
Obtain voice messaging;
The voice messaging is sent to server;
Wherein, the server is used to be determined according to the semantic information of parsing corresponding aobvious in target card and the target card The target card data shown, and feed back;
Corresponding target card data in the target card and the target card is shown.
9. a kind of card template creating device characterized by comprising
Receiving module, for receiving the creation instruction of card template;
Output module, for providing the console edited to card template to be created;
Editor module is edited the card template to be created, is obtained for instructing in response to received card edit model To the card template to be created of creation.
10. device according to claim 9, which is characterized in that further include: determining module;
The receiving module is also used to receive for selecting the card stencil-chosen for having created card template to instruct;
The determining module, for determining the card template of creation selected;
The editor module is also used to instruct the card edit model for having created card template in response to received, right The card template that created is edited, and edited card template is determined as to the card template of creation.
11. device according to claim 9 or 10, which is characterized in that for offer target card data in a static manner The case where, the edit operation that the card edit model instruction is used to indicate includes the modification to following at least one element, adds Add or delete: card template name, card template description information, card assemblies, the card data of the corresponding display of card assemblies, card The composition information of piece component;
The case where for target card data is provided in a dynamic fashion, the editor behaviour that the card edit model instruction is used to indicate Work includes the modification to following at least one element, adds or deletes: card template name, card template description information, card Component, the composition information of card assemblies, the variable name in card assemblies.
12. a kind of card display device characterized by comprising
Receiving module, for receiving the voice messaging of terminal transmission;
Determining module determines the mesh of corresponding display in target card and the target card for the semantic information according to parsing Mark card data;
Sending module, for feeding back the object card of corresponding display in the target card and the target card to the terminal Sheet data.
13. device according to claim 12, which is characterized in that the determining module includes first determining submodule and the Two determine submodule;
Described first determines submodule, and the card template and object card of target card are determined for the semantic information according to parsing Sheet data;
Described second determines submodule, for pair according to the card assemblies and target card data that include in the card template It should be related to, determine the target card data of corresponding display in card assemblies.
14. device according to claim 13, which is characterized in that the card template further includes following one or more members Element: card template name, card template description information, card assemblies composition information, card assemblies internal variable name;
Wherein, the card assemblies internal variable name is used to indicate number of cards shown by corresponding card assemblies card assemblies corresponding with this According to corresponding relationship.
15. device according to claim 14, which is characterized in that the determining module further include third determine submodule and 4th determines submodule;
The third determines submodule, for being parsed according to card assemblies internal variable name to the target card data, really The variate-value of card assemblies internal variable name is corresponded in the fixed target card data;
Described 4th determines submodule, for variate-value to be determined as card assemblies corresponding to corresponding card assemblies internal variable name Target card data.
16. a kind of card display device characterized by comprising
Module is obtained, for obtaining voice messaging;
Sending module, for the voice messaging to be sent to server;
Wherein, the server is used to be determined according to the semantic information of parsing corresponding aobvious in target card and the target card The target card data shown, and feed back;
Display module, for showing corresponding target card data in the target card and the target card.
17. a kind of card template creating device characterized by comprising
First processor;
For storing the first memory of first processor executable instruction;
Wherein, the first processor is configured as:
Receive the creation instruction of card template;
The console edited to card template to be created is provided;
It instructs, the card template to be created is edited, what is created is described in response to received card edit model Card template to be created.
18. a kind of card display device characterized by comprising
Second processor;
For storing the second memory of second processor executable instruction;
Wherein, the second processor is configured as:
Receive the voice messaging that terminal is sent;
The target card data of corresponding display in target card and the target card is determined according to the semantic information of parsing;
The target card data of corresponding display in the target card and the target card is fed back to the terminal.
19. a kind of card display device characterized by comprising
Third processor;
For storing the first memory of third processor-executable instruction;
Wherein, the third processor is configured as:
Obtain voice messaging;
The voice messaging is sent to server;
Wherein, the server is used to be determined according to the semantic information of parsing corresponding aobvious in target card and the target card The target card data shown, and feed back;
Corresponding target card data in the target card and the target card is shown.
20. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of claim 1 to claim 3 any one claim the method is realized when execution.
21. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of claim 4 to claim 7 the method is realized when execution.
22. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of claim 8 the method is realized when execution.
CN201910267186.XA 2019-04-03 2019-04-03 Card template establishment method, card display methods and device Pending CN110121004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910267186.XA CN110121004A (en) 2019-04-03 2019-04-03 Card template establishment method, card display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910267186.XA CN110121004A (en) 2019-04-03 2019-04-03 Card template establishment method, card display methods and device

Publications (1)

Publication Number Publication Date
CN110121004A true CN110121004A (en) 2019-08-13

Family

ID=67520798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910267186.XA Pending CN110121004A (en) 2019-04-03 2019-04-03 Card template establishment method, card display methods and device

Country Status (1)

Country Link
CN (1) CN110121004A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114764360A (en) * 2021-01-14 2022-07-19 钉钉控股(开曼)有限公司 Virtual card generation method and interactive realization method and device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572084A (en) * 2014-12-22 2015-04-29 百度在线网络技术(北京)有限公司 Method and device for user interface generating and data issuing in card business
CN108415698A (en) * 2018-03-14 2018-08-17 苏州思必驰信息科技有限公司 The method that control is added in the technical ability of voice dialogue platform
CN108605049A (en) * 2015-12-29 2018-09-28 三星电子株式会社 The message sharing method based on application state and card for user equipment
CN109145238A (en) * 2018-07-06 2019-01-04 阿里巴巴集团控股有限公司 Card display method and device and mobile device
CN109309751A (en) * 2017-07-28 2019-02-05 腾讯科技(深圳)有限公司 Voice recording method, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572084A (en) * 2014-12-22 2015-04-29 百度在线网络技术(北京)有限公司 Method and device for user interface generating and data issuing in card business
CN108605049A (en) * 2015-12-29 2018-09-28 三星电子株式会社 The message sharing method based on application state and card for user equipment
CN109309751A (en) * 2017-07-28 2019-02-05 腾讯科技(深圳)有限公司 Voice recording method, electronic equipment and storage medium
CN108415698A (en) * 2018-03-14 2018-08-17 苏州思必驰信息科技有限公司 The method that control is added in the technical ability of voice dialogue platform
CN109145238A (en) * 2018-07-06 2019-01-04 阿里巴巴集团控股有限公司 Card display method and device and mobile device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114764360A (en) * 2021-01-14 2022-07-19 钉钉控股(开曼)有限公司 Virtual card generation method and interactive realization method and device thereof

Similar Documents

Publication Publication Date Title
CN104598131B (en) Adjust the method and device of page display way
CN104111720B (en) Control method of electronic device, device and electronic equipment
CN106789551B (en) Conversation message methods of exhibiting and device
CN104636164B (en) Start page generation method and device
CN107423106A (en) The method and apparatus for supporting more frame grammars
CN106547547B (en) data acquisition method and device
CN107730847A (en) Sharing articles finding method and device
CN108322797A (en) A kind of response of key assignments and response configuration method, device, the device and operating system
CN107193554A (en) A kind of method and apparatus for generating front-end code
CN105554087B (en) information setting method and device
CN107622074A (en) A kind of data processing method, device and computing device
CN113238752A (en) Code generation method and device, electronic equipment and storage medium
CN109710259A (en) A kind of data processing method, device and storage medium
CN111338971B (en) Application testing method and device, electronic equipment and storage medium
CN110060034A (en) Worksheet method, apparatus, electronic equipment and storage medium
CN106790743A (en) Information transferring method, device and mobile terminal
CN104063424B (en) Web page picture shows method and demonstration device
CN114741146A (en) Multi-device cooperation method and device, electronic device and medium
CN114564190A (en) Business generation method and device, electronic equipment and storage medium
CN113992928A (en) Live broadcast room display method and device, electronic equipment and storage medium
CN110121004A (en) Card template establishment method, card display methods and device
CN107179837A (en) Input method and device
CN110362376A (en) A kind of method, apparatus and storage medium that electronic apparatus system theme style is set
CN104125268B (en) Document down loading method, device, routing device and terminal device
CN113128181B (en) Information processing method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190813

RJ01 Rejection of invention patent application after publication