CN104572084B - User interface generation and data distributing method, device in card business - Google Patents

User interface generation and data distributing method, device in card business Download PDF

Info

Publication number
CN104572084B
CN104572084B CN201410812308.6A CN201410812308A CN104572084B CN 104572084 B CN104572084 B CN 104572084B CN 201410812308 A CN201410812308 A CN 201410812308A CN 104572084 B CN104572084 B CN 104572084B
Authority
CN
China
Prior art keywords
data
card
interbehavior
abstracted
visual style
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.)
Active
Application number
CN201410812308.6A
Other languages
Chinese (zh)
Other versions
CN104572084A (en
Inventor
乔璞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410812308.6A priority Critical patent/CN104572084B/en
Publication of CN104572084A publication Critical patent/CN104572084A/en
Application granted granted Critical
Publication of CN104572084B publication Critical patent/CN104572084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention provides user interface generation and data distributing method, device.This method includes:Receive card template data and service related data;The card template data is the data obtained after being abstracted to the visual style and interbehavior of card;The card template data and service related data are parsed, so as to generate user interface.The embodiment of the present application realizes each platform general purpose paper card template data, avoids each platform from retransmitting exploitation, reduces the cost that different platform is each researched and developed.

Description

User interface generation and data distributing method, device in card business
Technical field
The present invention relates to user interface generation and data distributing in Internet technical field, more particularly to a kind of card business Method, apparatus.
Background technology
Card business is the work(for showing user subscription information with card manifold formula that Baidu's application (app) provides in first screen Can, information is in units of card.At present, in order that card business preferably supports complicated and diversified visual effect, in terminal With high in the clouds carry out data exchange when, high in the clouds by specified interface agreement by data distributing to terminal, realize UI by terminal is primary The generation of (User Interface, user interface) and the processing of corresponding interbehavior.
Because different types of card vision difference is larger, for example, weather class card business and stock class card business are just The content shown in the presence of very big difference, its emphasis, the mode that picture and text show etc. has differences, and terminal needs to be directed to per a kind of Card develops special user interface generation technique, and different platform is each developed, and cost is higher.
The content of the invention
Present invention solves the technical problem that one of be to provide user interface data in card business and issue and generation method, dress Put, to reduce the R&D costs of user interface generation technique in card business.
One embodiment according to an aspect of the present invention, there is provided user interface creating method in a kind of card business, its In, including:
Receive card template data and service related data;The card template data is visual style and the friendship to card Mutual behavior carries out the data obtained after being abstracted;
The card template data and service related data are parsed, so as to generate user interface.
Alternatively, the visual style to card and interbehavior carry out abstract include:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And
Interbehavior is abstracted as a series of action.
Alternatively, the visual style to card and interbehavior carry out abstract include:
Visual style and interbehavior identical same class card are abstracted as a kind of card template data.
Alternatively, parsing the card template data and service related data includes:
Visual style is rendered according to the description in card template data, builds Views tree;
Each data in business datum are filled up to the correspondence position of constructed Views tree.
Alternatively, generation user interface also includes:
Interaction response corresponding to processing.
One embodiment according to a further aspect of the invention, there is provided user interface generating means in a kind of card business, Including:
For receiving the unit of card template data and service related data;The card template data is that card is regarded Feel pattern and interbehavior carry out the data obtained after being abstracted;
For parsing the card template data and service related data, so as to generate the unit of user interface.
Alternatively, the visual style to card and interbehavior carry out abstract include:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And
Interbehavior is abstracted as a series of action.
Alternatively, the visual style to card and interbehavior carry out abstract include:
Visual style and interbehavior identical same class card are abstracted as a kind of card template data.
Alternatively, wherein for parsing the card template data and service related data, so as to generate user interface The method of card template data and service related data described in unit resolves includes:
Visual style is rendered according to the description in card template data, and builds Views tree;And
Each data in business datum are filled up to the correspondence position of constructed Views tree.
Alternatively, for parsing the card template data and service related data, so as to generate the unit of user interface Generation user interface also includes:
Interaction response corresponding to processing.
A kind of one embodiment according to an aspect of the present invention, there is provided originating party under user interface data in card business Method, including:
Receive data distributing request;
Lower hair card template data and service related data;The card template data is visual style and the friendship to card Mutual behavior carries out the data obtained after being abstracted.
Alternatively, the visual style to card and interbehavior carry out abstract include:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And
Interbehavior is abstracted as a series of action.
Alternatively, the visual style to card and interbehavior carry out abstract include:
Visual style and interbehavior identical same class card are abstracted as a kind of card template data.
Alternatively, the card template data is:
Document type data or binary format data.
One embodiment according to a further aspect of the invention, there is provided user interface data issues dress in a kind of card business Put, including:
For receiving the unit of data distributing request;
For lower hair card template data and the unit of service related data;The card template data is that card is regarded Feel pattern and interbehavior carry out the data obtained after being abstracted.
Alternatively, the visual style to card and interbehavior carry out abstract include:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And
Interbehavior is abstracted as a series of action.
Alternatively, the visual style to card and interbehavior carry out abstract include:
Visual style and interbehavior identical same class card are abstracted as a kind of card template data.
Alternatively, the card template data is:
Document type data or binary format data.
Because the embodiment of the present application can receive card template data and service related data, and parse the card template Data and service related data, so as to generate user interface.Wherein described card template data be to the visual style of card and Interbehavior carries out the data obtained after being abstracted, each generally applicable card template data of platform, avoids each platform from retransmitting exploitation, drop The cost that low different platform is each researched and developed.
Meanwhile when developing new type of card and old card being updated, only it need to create new card template, Yi Jigeng New card template, equally reduces card business R&D costs.
In addition, high in the clouds can be adjusted to the visual style and interactive mode of card as needed, without the modification of terminal, Strengthen the high in the clouds controllability of visual style and interactive mode in card business.
Although those of ordinary skill in the art will be appreciated that following detailed description carries out referenced in schematic embodiment, accompanying drawing, But the present invention is not limited in these embodiments.But the scope of the present invention is extensive, and it is intended to be bound only by appended right It is required that limit the scope of the present invention.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow chart of user interface creating method in card business according to an embodiment of the invention.
Fig. 2 is the abstract rear schematic diagram of card visual style according to an embodiment of the invention.
Fig. 3 is the user interface schematic diagram generated according to one embodiment of the invention.
Fig. 4 is the structural representation of user interface generating means in card business according to an embodiment of the invention.
Fig. 5 is the flow chart of user interface data delivery method in card business according to an embodiment of the invention.
Fig. 6 is that user interface data issues apparatus structure schematic diagram in card business according to an embodiment of the invention.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is the flow chart of user interface creating method in card business according to an embodiment of the invention.The present invention In method mainly completed by the operating system in computer equipment or processing controller.By operating system or processing control Device is referred to as user interface generating means in card business.The computer equipment includes but is not limited at least one of the following:With Family equipment, the network equipment.User equipment includes but is not limited to computer, smart mobile phone, PDA etc..The network equipment includes but unlimited In single network server, multiple webservers form server group or based on cloud computing by a large amount of computers or network The cloud that server is formed, wherein, cloud computing is one kind of Distributed Calculation, one be made up of the computer collection of a group loose couplings Individual super virtual computer.
As shown in fig. 1, user interface creating method mainly comprises the following steps in the card business:
S100, receive card template data and service related data;The card template data is the vision sample to card Formula and interbehavior carry out the data obtained after being abstracted;
S110, the parsing card template data and service related data, so as to generate user interface.
Above steps is described in further detail below.
In step S100, card template data and service related data are received, is that terminal receives the card mould that high in the clouds issues Plate data.Template data refers to the data of the set form of mapping or design.Card template data in the present embodiment is The data that visual style and interbehavior to card obtain after being abstracted.
The abstract operation lower can be performed online, could be generated after abstract corresponding to masterplate data, abstract data are with respect to industry Data variation frequency of being engaged in is low, therefore can be separated from data.
The corresponding template of a general card business.It is, of course, understood that if two or more cards regard Feel that pattern is identical with interbehavior, then can be multiplexed a masterplate.It is it is, visual style and interbehavior identical is same Class card is abstracted as a kind of card template data.Because masterplate data can be shared, a kind of card template data is actually It is a card template data.
Wherein, the visual style to card and interbehavior, which carry out abstract method, includes:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And it will hand over Mutual behavior is abstracted as a series of action.
Wherein, visual style is abstracted as to the combination of a series of texts and figure, for example, the visual style after abstract can adopt Described with following text mode:
Weather map size a x b, position is in the upper left corner, and the source address of figure is xxx, and degree Celsius size c xd, position is in day On the right side of gas figure, and align vertical centers, air quality size e x d, below fine day figure, more size e are checked in click for position X d, position is below air quality.
Above text description can be realized by unified data description specification, such as:
Corresponding above-mentioned text, the accompanying drawing after being abstracted can be as shown in Figure 2.
Wherein, interbehavior is abstracted as a series of action, for example, click on " click is checked more " it is specified browse it is dynamic Make, specially open some web page interlinkage.
The card template data obtained after the present embodiment is abstract can be that the text data of as above face statement is (including corresponding Figure), or data are described to text above and are compiled the binary system description obtained after compression processing, i.e., described card mould Plate data can be Document type data, or binary format data.
Not only to realize each platform general by the way that card data is abstracted into template data for the present embodiment, and in new card In type exploitation and the renewal of old card, it can be realized by establishment and more new template, the prior art with relying on hair version Compare, effectively reduce R&D costs.
In addition, the service related data described in the present embodiment refers to the related data of specific business, such as card masterplate number Some position is temperature in, then specific xx degrees Celsius is exactly service related data.
Step S110 is to realize to parse the card template data and service related data, the step of generating user interface, Wherein parsing the method for the card template data and service related data includes:
Visual style is rendered according to the description in card template data, builds Views tree;And by each number in business datum According to the correspondence position for being filled up to constructed Views tree.
For example, described for the following text in card template data:Fine day figure size a x b, position is in the upper left corner, figure Source address be xxx, degree Celsius size c x d, position is on the right side of fine day figure, and align vertical centers, air quality size e x D, position is below fine day figure, and more size e x d are checked in click, and position is below air quality.Its use generated after parsing The framework at family interface is as shown in Figure 2.
If described in service related data:Weather map degree Celsius is 20 ° to be cloudy, and air quality 88 is good, then most The user interface generated afterwards can be as shown in Figure 3.
Wherein, generation user interface also includes:Interaction response corresponding to processing, i.e. corresponding response is made according to behavior, For example, when receiving the operation behavior order of user's click " click is checked more ", then some web page interlinkage is opened, specifically The web page interlinkage of opening can determine according to service related data.
The terminal of the present embodiment can receive card template data and the service related data that high in the clouds issues, and to card mould Plate data and service related data are parsed, so as to generate the user interface in card business.This method is by by number of cards According to card template data is abstracted into, not only to realize each platform general, and in the exploitation of new type of card and the renewal of old card, It can be realized by establishment and more new template, compared with relying on the prior art of hair version, effectively reduce R&D costs.
User interface creating method in the card business provided above for the application, based on the same thinking of the above method, The embodiment of the present application also provides user interface generating means in a kind of card business, as shown in Figure 4, shows for described device structure It is intended to, the device mainly includes:
For receiving the unit 400 of card template data and service related data, hereinafter referred to as data receipt unit 400; The card template data that data receipt unit 400 described in the present embodiment receives is that the visual style and interbehavior of card are entered The data obtained after row is abstract;
The abstract operation lower can be performed online, could be generated after abstract corresponding to masterplate data, abstract data are with respect to industry Data variation frequency of being engaged in is low, therefore can be separated from data.
The corresponding template of a general card business.It is, of course, understood that if two or more cards regard Feel that pattern is identical with interbehavior, then can be multiplexed a masterplate.It is it is, visual style and interbehavior identical is same Class card is abstracted as a kind of card template data.Because masterplate data can be shared, a kind of card template data is actually It is a card template data.
Wherein, the visual style to card and interbehavior, which carry out abstract method, includes:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And it will hand over Mutual behavior is abstracted as a series of action.
Wherein, visual style is abstracted as to the combination of a series of texts and figure, for example, the visual style after abstract can adopt Described with following text mode:
Weather map size a x b, position is in the upper left corner, and the source address of figure is xxx, and degree Celsius size c xd, position is in day On the right side of gas figure, and align vertical centers, air quality size e x d, below fine day figure, more size e are checked in click for position X d, position is below air quality.
Above text description can be realized by unified data description specification, such as:
Corresponding above-mentioned text, the accompanying drawing after being abstracted can be as shown in Figure 2.
Wherein, interbehavior is abstracted as a series of action, for example, click on " click is checked more " it is specified browse it is dynamic Make, specially open some web page interlinkage.
The card template data obtained after the present embodiment is abstract can be that the text data of as above face statement is (including corresponding Figure), or data are described to text above and are compiled the binary system description obtained after compression processing, i.e., described card mould Plate data can be Document type data, or binary format data.
Not only to realize each platform general by the way that card data is abstracted into template data for the present embodiment, and in new card In type exploitation and the renewal of old card, it can be realized by establishment and more new template, the prior art with relying on hair version Compare, effectively reduce R&D costs.
In addition, the service related data described in the present embodiment refers to the related data of specific business, such as card masterplate number Some position is temperature in, then specific xx degrees Celsius is exactly service related data.
For parsing the card template data and service related data, so as to generate the unit 410 of user interface, below Abbreviation user interface generation unit 410.
Wherein, user interface generation unit 410 parses the card template data and the method for service related data and included:
Visual style is rendered according to the description in card template data, builds Views tree;And by each number in business datum According to the correspondence position for being filled up to constructed Views tree.
For example, described for the following text in card template data:Fine day figure size a x b, position is in the upper left corner, figure Source address be xxx, degree Celsius size c x d, position is on the right side of fine day figure, and align vertical centers, air quality size e x D, position is below fine day figure, and more size e x d are checked in click, and position is below air quality.Its use generated after parsing The framework at family interface is as shown in Figure 2.
If described in service related data:Weather map degree Celsius is 20 ° to be cloudy, and air quality 88 is good, then most The user interface generated afterwards can be as shown in Figure 3.
Wherein, user interface generation unit 410 generates user interface and also included:Interaction response corresponding to processing, i.e. according to Corresponding response is made in behavior, for example, when receiving the operation behavior order of user's click " click is checked more ", then opens Some web page interlinkage, the web page interlinkage specifically to be opened can determine according to service related data.
The present embodiment described device can receive card template data and service related data, and to card template data and Service related data is parsed, so as to generate the user interface in card business.The program is by the way that card data is abstracted into It is general that card template data not only realizes each platform, and in the exploitation of new type of card and the renewal of old card, can be with Realized by establishment and more new template, compared with relying on the prior art of hair version, effectively reduce R&D costs.
Another embodiment of the application provides a kind of user interface data delivery method, as shown in Figure 5, is operated for this method Flow chart, the user interface data delivery method comprise the following steps:
S500, receive data distributing request;
S510, lower hair card template data and service related data;The card template data is the vision sample to card Formula and interbehavior carry out the data obtained after being abstracted.
Above steps is described in further detail below.
In step S500, the data distributing request that data distributing request sends for server receiving terminal, the data are received It is that terminal is used to ask card data to issue request.The transmission opportunity and the data distributing that the present embodiment is asked the data distributing The form of request is not specifically limited.
Step S510, card data is issued to corresponding terminal according to the request of the data distributing of reception for server, under it The card data of hair includes:Card template data and service related data.
Template data refers to the data of the set form of mapping or design.Card template data in the present embodiment is The data that visual style and interbehavior to card obtain after being abstracted.
The abstract operation lower can be performed online, could be generated after abstract corresponding to masterplate data, abstract card data phase It is low to business datum change frequency, therefore can be separated from data.
The corresponding template of a general card business.It is, of course, understood that if two or more cards regard Feel that pattern is identical with interbehavior, then can be multiplexed a masterplate.It is it is, visual style and interbehavior identical is same Class card is abstracted as a kind of card template data.Because masterplate data can be shared, a kind of card template data is actually It is a card template data.
Wherein, the visual style to card and interbehavior, which carry out abstract method, includes:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And it will hand over Mutual behavior is abstracted as a series of action.
Wherein, visual style is abstracted as to the combination of a series of texts and figure, for example, the visual style after abstract can adopt Described with following text mode:
Weather map size a x b, position is in the upper left corner, and the source address of figure is xxx, and degree Celsius size c xd, position is in day On the right side of gas figure, and align vertical centers, air quality size e x d, below fine day figure, more size e are checked in click for position X d, position is below air quality.
Above text description can be realized by unified data description specification, such as:
Corresponding above-mentioned text, the accompanying drawing after being abstracted can be as shown in Figure 2.
Wherein, interbehavior is abstracted as a series of action, for example, click on " click is checked more " it is specified browse it is dynamic Make, specially open some web page interlinkage.
The card template data obtained after the present embodiment is abstract can be that the text data of as above face statement is (including corresponding Figure), or data are described to text above and are compiled the binary system description obtained after compression processing, i.e., described card mould Plate data can be Document type data, or binary format data.
In addition, the service related data described in the present embodiment refers to the related data of specific business, such as card masterplate number Some position is temperature in, then specific xx degrees Celsius is exactly service related data.
The present embodiment is handed down to terminal by the way that card data is abstracted into template data, not only realizes card template data Each platform is general, and in the exploitation of new type of card and the renewal of old card, can be by establishment and more new template come real It is existing, compared with relying on the prior art of hair version, effectively reduce R&D costs.
Based on the same thinking of the above method, the embodiment of the present application also provides transmitting apparatus under a kind of user interface data, such as It is the apparatus structure schematic diagram shown in Fig. 6, the device mainly includes:
For receiving the unit 600 of data distributing request, hereinafter referred to as request reception unit 600, the request reception unit The data distributing request that 600 receiving terminals are sent, data distributing request are that terminal is used to ask card data.The present embodiment pair The transmission opportunity of data distributing request and the form of data distributing request are not specifically limited.
For lower hair card template data and the unit 610 of service related data, hereinafter referred to as data distributing unit 610; The data that the data distributing unit 610 issues include:Card template data and service related data.Its card template data is pair The visual style and interbehavior of card carry out the data obtained after being abstracted.
The abstract operation lower can be performed online, could be generated after abstract corresponding to masterplate data, abstract card data phase It is low to business datum change frequency, therefore can be separated from data.
The corresponding template of a general card business.It is, of course, understood that if two or more cards regard Feel that pattern is identical with interbehavior, then can be multiplexed a masterplate.It is it is, visual style and interbehavior identical is same Class card is abstracted as a kind of card template data.Because masterplate data can be shared, a kind of card template data is actually It is a card template data.
Wherein, the visual style to card and interbehavior, which carry out abstract method, includes:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And it will hand over Mutual behavior is abstracted as a series of action.
Wherein, visual style is abstracted as to the combination of a series of texts and figure, for example, the visual style after abstract can adopt Described with following text mode:
Weather map size a x b, position is in the upper left corner, and the source address of figure is xxx, and degree Celsius size c xd, position is in day On the right side of gas figure, and align vertical centers, air quality size e x d, below fine day figure, more size e are checked in click for position X d, position is below air quality.
Above text description can be realized by unified data description specification, such as:
Corresponding above-mentioned text, the accompanying drawing after being abstracted can be as shown in Figure 2.
Wherein, interbehavior is abstracted as a series of action, for example, click on " click is checked more " it is specified browse it is dynamic Make, specially open some web page interlinkage.
In summary, card data is abstracted into card template data, respectively by the embodiment of the present application when handling card business The generally applicable card template data of platform, avoid each platform from retransmitting exploitation, reduce the cost that different platform is each researched and developed.
Meanwhile when developing new type of card and old card being updated, only it need to create new card template, Yi Jigeng New card template, equally reduces card business R&D costs.
In addition, high in the clouds can be adjusted to the visual style and interactive mode of card as needed, without the modification of terminal, Strengthen the high in the clouds controllability of visual style and interactive mode in card business.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, can adopt With application specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, software program of the invention can realize steps described above or function by computing device.Similarly, it is of the invention Software program (including related data structure) can be stored in computer readable recording medium storing program for performing, for example, RAM memory, Magnetically or optically driver or floppy disc and similar devices.In addition, some steps or function of the present invention can employ hardware to realize, example Such as, coordinate as with processor so as to perform the circuit of each step or function.
In addition, the part of the present invention can be applied to computer program product, such as computer program instructions, when its quilt When computer performs, by the operation of the computer, the method according to the invention and/or technical scheme can be called or provided. And the programmed instruction of the method for the present invention is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal bearing medias and be transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including a device according to one embodiment of present invention, the device includes using Memory in storage computer program instructions and processor for execute program instructions, wherein, when the computer program refers to When order is by the computing device, method and/or skill of the plant running based on foregoing multiple embodiments according to the present invention are triggered Art scheme.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in system claims is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for table Show title, and be not offered as any specific order.

Claims (14)

1. user interface creating method in a kind of card business, wherein, including:
Receive card template data and service related data;The card template data is the visual style and interaction row to card To carry out the data obtained after being abstracted, the card template data can be Document type data, or binary format Data;
The card template data and service related data are parsed, so as to generate user interface;Wherein parse the card template The step of data and service related data, further comprises:
Visual style is rendered according to the description in card template data, builds Views tree;
Each data in business datum are filled up to the correspondence position of constructed Views tree.
2. according to the method for claim 1, wherein the visual style and interbehavior to card carry out abstract include:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And
Interbehavior is abstracted as a series of action.
3. method according to claim 1 or 2, wherein the visual style and interbehavior to card carry out abstract include:
Visual style and interbehavior identical same class card are abstracted as a kind of card template data.
4. according to the method for claim 1, wherein generation user interface also includes:
Interaction response corresponding to processing.
5. user interface generating means in a kind of card business, wherein, including:
For receiving the unit of card template data and service related data;The card template data is the vision sample to card Formula and interbehavior carry out the data obtained after being abstracted, and the card template data can be Document type data, or Binary format data;
For parsing the card template data and service related data, so as to generate the unit of user interface;Wherein, for solving The card template data and service related data are analysed, is further used for so as to generate the unit of user interface:
Visual style is rendered according to the description in card template data, and builds Views tree;And
Each data in business datum are filled up to the correspondence position of constructed Views tree.
6. device according to claim 5, wherein the visual style and interbehavior to card carry out abstract include:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And
Interbehavior is abstracted as a series of action.
7. the device according to claim 5 or 6, wherein the visual style and interbehavior to card carry out abstract include:
Visual style and interbehavior identical same class card are abstracted as a kind of card template data.
8. device according to claim 5, wherein for parsing the card template data and service related data, so as to The unit generation user interface of generation user interface also includes:
Interaction response corresponding to processing.
9. user interface data delivery method in a kind of card business, wherein, including:
Receive data distributing request;
Lower hair card template data and service related data;The card template data is the visual style and interaction row to card To carry out the data obtained after being abstracted, the card template data can be Document type data, or binary format Data;
Wherein, the user interface can be generated by parsing the card template data and service related data;Wherein, parse The step of card template data and service related data, further comprises:
Visual style is rendered according to the description in card template data, builds Views tree;
Each data in business datum are filled up to the correspondence position of constructed Views tree.
10. according to the method for claim 9, wherein the visual style and interbehavior to card carry out abstract include:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And
Interbehavior is abstracted as a series of action.
11. the method according to claim 9 or 10, wherein the visual style and interbehavior to card carry out abstract bag Include:
Visual style and interbehavior identical same class card are abstracted as a kind of card template data.
12. transmitting apparatus under user interface data in a kind of card business, wherein, including:
For receiving the unit of data distributing request;
For lower hair card template data and the unit of service related data;The card template data is the vision sample to card Formula and interbehavior carry out the data obtained after being abstracted, and the card template data can be Document type data, or Binary format data;
Wherein, the card template data and the service related data can be resolved to generate the user interface;Wherein, institute State device to be further used for performing following operation, to parse the card template data and service related data:
Visual style is rendered according to the description in card template data, builds Views tree;
Each data in business datum are filled up to the correspondence position of constructed Views tree.
13. device according to claim 12, wherein the visual style and interbehavior to card carry out abstract include:
Visual style is abstracted as to the combination of a series of texts and figure, is laid out by relative position to describe;And
Interbehavior is abstracted as a series of action.
14. the device according to claim 12 or 13, wherein the visual style and interbehavior to card carry out abstract bag Include:
Visual style and interbehavior identical same class card are abstracted as a kind of card template data.
CN201410812308.6A 2014-12-22 2014-12-22 User interface generation and data distributing method, device in card business Active CN104572084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410812308.6A CN104572084B (en) 2014-12-22 2014-12-22 User interface generation and data distributing method, device in card business

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410812308.6A CN104572084B (en) 2014-12-22 2014-12-22 User interface generation and data distributing method, device in card business

Publications (2)

Publication Number Publication Date
CN104572084A CN104572084A (en) 2015-04-29
CN104572084B true CN104572084B (en) 2018-01-12

Family

ID=53088250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410812308.6A Active CN104572084B (en) 2014-12-22 2014-12-22 User interface generation and data distributing method, device in card business

Country Status (1)

Country Link
CN (1) CN104572084B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526597A (en) * 2017-08-30 2017-12-29 广东欧珀移动通信有限公司 User interface edit methods, device, terminal and computer-readable recording medium
CN109032595A (en) * 2018-07-03 2018-12-18 山东浪潮通软信息科技有限公司 A kind of mobile native data Dynamic Display method in configurable data source
CN109684008B (en) * 2018-12-19 2022-03-29 Oppo广东移动通信有限公司 Card rendering method, device, terminal and computer readable storage medium
CN110121004A (en) * 2019-04-03 2019-08-13 北京小米智能科技有限公司 Card template establishment method, card display methods and device
CN110147381B (en) * 2019-05-27 2021-07-09 智者四海(北京)技术有限公司 Information processing method, system and recording medium
CN110647327B (en) * 2019-09-23 2023-09-26 京东科技控股股份有限公司 Method and device for dynamic control of user interface based on card
CN112559098B (en) * 2019-09-26 2022-04-26 华为技术有限公司 Card rendering method and electronic equipment
CN114764360A (en) * 2021-01-14 2022-07-19 钉钉控股(开曼)有限公司 Virtual card generation method and interactive realization method and device thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599015A (en) * 2009-07-07 2009-12-09 阿里巴巴集团控股有限公司 A kind of method and system of analyzing component
CN101606125A (en) * 2007-02-16 2009-12-16 夏普株式会社 User interface generating apparatus, information terminal, user interface generate control program, recording medium and user interface creating method
CN101937427A (en) * 2009-06-30 2011-01-05 方正国际软件(北京)有限公司 Browser-based system and method for content edition and issue
CN102043861A (en) * 2010-12-29 2011-05-04 重庆新媒农信科技有限公司 Web page data structured display method based on mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8732603B2 (en) * 2006-12-11 2014-05-20 Microsoft Corporation Visual designer for non-linear domain logic

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101606125A (en) * 2007-02-16 2009-12-16 夏普株式会社 User interface generating apparatus, information terminal, user interface generate control program, recording medium and user interface creating method
CN101937427A (en) * 2009-06-30 2011-01-05 方正国际软件(北京)有限公司 Browser-based system and method for content edition and issue
CN101599015A (en) * 2009-07-07 2009-12-09 阿里巴巴集团控股有限公司 A kind of method and system of analyzing component
CN102043861A (en) * 2010-12-29 2011-05-04 重庆新媒农信科技有限公司 Web page data structured display method based on mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于模板的WEB界面客户化定制;单立群;《中国优秀硕士学位论文全文数据库信息科技辑》;20100315(第03期);第4-5页,第18-20页 *

Also Published As

Publication number Publication date
CN104572084A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104572084B (en) User interface generation and data distributing method, device in card business
KR102185864B1 (en) Server-side rendering method and system of native content for presentation
CN103959281B (en) For by the third party content method associated with online document signature
WO2017040652A1 (en) Method and system for annotation and connection of electronic documents
JP2018524661A (en) Virtual workspace viewport follow mode in collaborative systems
CN105164668A (en) Automatic alignment of multi-dimensional layout
US20110161847A1 (en) System and method for integrating and publishing pages of content
CN107665237B (en) Data structure classification device, and unstructured data publishing and subscribing system and method
CN102622395A (en) Method, server and client for assisting in accessing to webpage by application virtualization
US20180357776A1 (en) Vector graphics handling processes for user applications
US10067915B1 (en) Method and system for providing user interface objects in a mobile application that are scalable to mobile electronic device screens
CA2846581A1 (en) Data infrastructure for providing interconnectivity between platforms, devices and operating systems
CN104794149A (en) Network information searching method, server, user terminal and system
CN201780586U (en) Remote medical on-line drawing board system
CN103136791A (en) Data association method and data association device used for airplane digitalization maintenance and application
CN103559194A (en) Searching method, server and system
CN106547806B (en) Page loading method and device
CN202799005U (en) Cloud computing based internet monitoring system of set top box and set top box
CN105677699A (en) Method and apparatus for generating news pages for user
Song et al. Development of a lightweight CAE middleware for CAE data exchange
CN103562891A (en) Information processing apparatus, information processing system, and program
CN105808636A (en) APP information data based hypertext link pushing system
CN104394230A (en) Method, device and system for presenting information
CN107291834A (en) A kind of data inputting method based on code-reading, equipment and terminal
CN102959507A (en) Web display program conversion system, Web display program conversion method, and program for Web display program conversion

Legal Events

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