CN109426513A - A kind of processing method and equipment of view component - Google Patents
A kind of processing method and equipment of view component Download PDFInfo
- Publication number
- CN109426513A CN109426513A CN201710728529.9A CN201710728529A CN109426513A CN 109426513 A CN109426513 A CN 109426513A CN 201710728529 A CN201710728529 A CN 201710728529A CN 109426513 A CN109426513 A CN 109426513A
- Authority
- CN
- China
- Prior art keywords
- view component
- component
- service logic
- view
- rendering
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application discloses a kind of processing method of view component and equipment, comprising: determines first view component;And determine that the component of the first view component identifies corresponding service logic;Rendering shows the second view component corresponding with the service logic in the first view component.In this way, when according to actual needs to some view component is modified or is changed in the page when, the scripted code of the component mark comprising view component and the mapping relations between service logic can be configured, by running the scripted code, it can be by the rendering display of the content of modification or change in the view component, simplify the more new technological process of view component, simultaneously, user can check updated view component when loading the view component in time, shorten the covering cycle of the more new content of application software.
Description
Technical field
This application involves internet information processing technology field and field of computer technology more particularly to a kind of sets of views
The processing method and equipment of part.
Background technique
With the development of science and technology and the communication technology, there is mobile Internet.So-called mobile Internet is mobile
The product of communication and the Internet converged.Various application software are issued on the mobile communication platform that operator provides, the application
Software can be embodied as different user by mobile Internet and provide network service.
Software developer after developing application software, user can by obtaining the installation kit of the application software, and
Using the installation kit got the application software is installed on the terminal device used by a user, and then passes through the application software
Obtain network service.
However, software developer is for the application software developed, it can be according to actual needs to the application software
Function carries out upgrading or dynamic adjusts, can also to view component included in application software attribute (such as: display is big
Small, display position, dynamic rendering effect etc.) carry out dynamic change.But currently used adjustment or evolutionary mode are logical
It is often the application software for developing new version.
Currently used adjustment or evolutionary mode have the defects that certain.Such as: develop the application software of new version
Process is complicated, while also needing to consider the compatibility issue to the application software of early version;Again for example: if user is not timely
Version updating is carried out to application software, will lead to the covering cycle extension etc. of application software new function or new features.
Summary of the invention
In view of this, the embodiment of the present application provides the processing method and equipment of a kind of view component, it is existing for solving
The cumbersome problem of the more new technological process of application software in technology.
The embodiment of the present application the following technical schemes are provided:
The embodiment of the present application provides a kind of processing method of view component, comprising:
Determine first view component;
Determine that the component of the first view component identifies corresponding service logic;
Rendering shows the second view component corresponding with the service logic in the first view component.
The embodiment of the present application also provides a kind of processing equipment of view component, comprising:
Determination unit determines first view component;And determine that the component of the first view component identifies corresponding business
Logic;
Processing unit, rendering shows the second sets of views corresponding with the service logic in the first view component
Part.
The embodiment of the present application also provides a kind of processing equipment of view component, comprising: at least one processor and at least one
A processor is stored with program in the memory, and described program is configured to execute following steps by the processor:
Determine first view component;
Determine that the component of the first view component identifies corresponding service logic;
Rendering shows the second view component corresponding with the service logic in the first view component.
The embodiment of the present application use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
The embodiment of the present application, which passes through, determines first view component;And it determines that the component of the first view component identifies and corresponds to
Service logic;Rendering shows the second view component corresponding with the service logic in the first view component.In this way,
When according to actual needs to some view component is modified or is changed in the page when, can configure comprising view component
Component mark service logic between mapping relations scripted code, by running the scripted code, can will modification or
The content rendering of change is shown in the view component, simplifies the more new technological process of view component, meanwhile, user is loading the view
Updated view component can be checked when figure component in time, shortens the covering cycle of the more new content of application software.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is a kind of flow diagram of the processing method of view component provided by the embodiments of the present application;
Fig. 1 (a) is the schematic diagram of the positional relationship where figure layer where first view component and the second view between floating layer;
Fig. 1 (b) is the schematic diagram of the positional relationship where figure layer where first view component and the second view between floating layer;
Fig. 2 is a kind of flow diagram of the processing method of view component provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of the second view component provided by the embodiments of the present application;
Fig. 4 is the schematic diagram of the second view component provided by the embodiments of the present application;
Fig. 5 (a) is between the first view component and the second view component of rendering display provided by the embodiments of the present application
The schematic diagram of positional relationship;
Fig. 5 (b) is between the first view component and the second view component of rendering display provided by the embodiments of the present application
The schematic diagram of positional relationship;
Fig. 6 is a kind of structural schematic diagram of the processing equipment of view component provided by the embodiments of the present application.
Specific embodiment
In order to realize that the purpose of the application, the embodiment of the present application provide the processing method and equipment of a kind of view component,
Determine first view component;And determine that the component of the first view component identifies corresponding service logic;In first view
Rendering shows the second view component corresponding with the service logic in figure component.
In this way, when according to actual needs to some view component is modified or is changed in the page when, can configure
The scripted code of component mark comprising view component and the mapping relations between service logic, by running the scripted code,
The more new technological process of view component can be simplified by the rendering display of the content of modification or change in the view component, meanwhile,
User can check updated view component when loading the view component in time, shorten the more new content of application software
Covering cycle.
It should be noted that documented first view component can be the view of support native applications in the embodiment of the present application
Figure component, is not specifically limited here.
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Fig. 1 is a kind of flow diagram of the processing method of view component provided by the embodiments of the present application.The method can
With as follows.The executing subject of the embodiment of the present application can be applications client, or the rendering in applications client
Engine is not specifically limited here.
Step 101: determining first view component.
In the embodiment of the present application, it can determine that page load is asked when receiving the page load request of user's transmission
Seeking at least one component in the corresponding page is first view component, then can execute respectively for different view components
Technical solution provided by the embodiment of the present application;Access request can also be sent to server, quilt is determined by the access request
The view component of modification, then the view component modified can be determined as first view component;It can also be and detecting
When user executes specified operation (specified operation here can be long press operation, touch operation, drag operation etc.), according to finger
Surely the position operated determines first view component.
Specifically, the page load request that user sends is received, includes page iden-tity in the page load request;And root
According to the page iden-tity, the page corresponding with the page iden-tity is determined;The view component for including in the page is determined as
First view component.
It should be noted that " first view component " documented by the embodiment of the present application does not imply that first in the page
A view component, " first " here do not have particular meaning, are only for distinguishing " the second view component " of subsequent appearance.
Step 102: determining that the component of the first view component identifies corresponding service logic.
In the embodiment of the present application, the mapping relations between service logic can be identified according to the component of view component,
Determine that the component of the first view component identifies corresponding service logic.
Applications client can identify between service logic from the component for obtaining view component in server on startup
Mapping relations;Can also by receive server send data packet, and from the data packet obtain view component component
Mapping relations between mark and service logic, are not specifically limited here.
The method that server determines the mapping relations between the component mark of view component and service logic includes but unlimited
In:
If it is determined that at least one view component in the page is updated, then it is directed to the different view components,
Service logic is respectively created;
Establish the mapping relations between the component mark of service logic view component corresponding with the service logic.
Service logic recited herein is understood that need for what is determined according to the demand for modifying to view component
To increase new function on the basis of original view component perhaps it is changed and be wanted based on new function or change
Editor is asked to realize that scripted code, scripted code here can be referred to as a kind of specific implementation form of service logic.
Such as: it needs to increase an icon in an existing view component, how can will increase patrolling for the icon
Volume scripted code is generated, which can be referred to as to increase the service logic of icon this business, should by operation
Service logic may be implemented to increase an icon in specified view component.
It should be noted that include each attribute in service logic, such as: component property, display properties, layout attributes etc.
Deng.Here what the view component that component property can be understood as after change is, or newly increasing component is what, be can wrap
Containing component type etc.;Here display properties can be understood as one or more of display position, display mode, the application
Dynamic display types or static status display mode can be used in the display mode recorded in embodiment, if there are animations etc.;This
In layout attributes can be understood as the layout relationship etc. between former view component.
Specifically, in the embodiment of the present application, applications client can receive reflecting for server transmission when starting operation
Relationship is penetrated, and is based on the mapping relations, determination obtains the corresponding service logic of first view component.
Mapping relations in some page shown in table 1 between the component mark and service logic of multiple view components:
Component mark | Service logic |
View component 0100 | Shopping cart icon is shown in the lower right corner |
View component 0110 | The animation of heat purchase is shown in the upper left corner |
View component 1010 | N group animation is shown using scrolling display mode |
What needs to be explained here is that service logic can correspond to the component mark of view component, it can also be according to view
The function of component establishes mapping relations, i.e., the view component of same function corresponds to a kind of service logic.Such as: view component 1,
View component 2 and view component 3 all indicate shopping information, then view component 1, view component 2 and the corresponding industry of view component 3
Logic of being engaged in can be " showing shopping cart icon in the lower right corner ", then user passes through the shopping cart icon in triggering view component 1
It may be implemented to buy the corresponding commodity of shopping information shown in view component 1 again;User passes through the purchase in triggering view component 2
Object vehicle icon may be implemented to buy the corresponding commodity of shopping information shown in view component 2 again;User passes through triggering sets of views
Shopping cart icon in part 3 may be implemented to buy the corresponding commodity of shopping information shown in view component 3 again.
Step 103: rendering shows the second view component corresponding with the service logic in the first view component.
In the embodiment of the present application, firstly, determining the second sets of views based on the component property for including in the service logic
Part.
Such as: based on the component type for including in the service logic, determine the second view corresponding with the component type
Figure component.
Here component type can be icon type, control type, window type etc..
It should be noted that the second view component here can be component identical with first view component size,
Can be does not have associated component with the size of first view component, is not specifically limited here.
Secondly, rendering shows second view component in the first view component.
Specifically, according to including display properties in the service logic, rendering shows institute in the first view component
The second view component is stated, the display properties includes one or more of display position, display mode.
Display position recited herein can be understood as display position of second view component in first view component,
Or it can be understood as the relative position shown between the second view component and first view component.Such as: display position be (x,
Y), it can be understood as using the lower left corner of first view component as origin, the direction in the lower left corner to the upper left corner is y-axis direction, then
Point corresponding to abscissa x and ordinate y is the display position of the second view component.
Such as: first view component and the second view component are packaged, and the view component collection after encapsulation is carried out
Rendering is realized according to the display position for including in the service logic in the corresponding position in the display position of first view component
Set the second view component of display.
More preferably, can be when rendering first view component by layout container, synchronously, the rendering in applications client is drawn
Hold up and the second view component rendered according to the display properties for including in service logic, so will the obtained first view component of rendering and
Second view component is shown.
More preferably, it is based on second view component, rendering obtains the floating layer comprising second view component;
The floating layer and the first view component are overlapped, second view component is made to be shown in described first
In view component.
Here floating layer can be identical as first view component size, the first display position of second view component in floating layer
Set it is identical as second display position of second view component in first view component, i.e., when first view component is superimposed with floating layer
When, the first display position is corresponding with the second display position.
It should be noted that the second view component here is shown in different figure layers from first view component, although
Second view component renders in floating layer, but figure layer where can see first view component by floating layer, therefore the first view
The first view component seen after figure component is superimposed with floating layer from user perspective and the second view component are in the same figure layer
In.
It is the positional relationship where figure layer where first view component and the second view between floating layer as shown in Fig. 1 (a)
Schematic diagram.
As can be seen that floating layer where the second view component from Fig. 1 (a), in addition to the second view component position, other
Region can use transparence display mode, can see first view component by floating layer in this way.
More preferably, the rendering engine in applications client is also based on layout attributes and the institute of the first view component
State the layout attributes of the second view component, rendering obtains floating comprising the first view component and second view component
Layer;
The floating layer is shown on the display position of the first view component.
It should be noted that first view component and the second view component here is shown in the same figure layer.It is this
The first view component shown in mode is the replication component of former first view component, i.e., rendering engine is according to first view component
Attribute, in floating layer rendering obtain new first view component, the Overlapping display on the page comprising former first view component
Floating layer will be unable to see former first view component in this way by floating layer.
It is the positional relationship where figure layer where first view component and the second view between floating layer as shown in Fig. 1 (b)
Schematic diagram.
From as can be seen that first view component and the second view component are shown in floating layer, which is loaded in Fig. 1 (b)
Where former first view component in the page, original first of the first view component in position, size and the former page in floating layer
It is the position of view component, in the same size.
More preferably, in the embodiment of the present application, the method also includes:
If determining that system time meets the time attribute based on the time attribute for including in the service logic, then
It renders rendering in the first view component of display and shows second view component.
If determining that system time is unsatisfactory for the time attribute based on the time attribute for including in the service logic, then
Rendering shows the first view component.
Specifically, the life cycle of the second view component can also be configured in service logic, i.e. the second view component
Entry-into-force time section, then can be according to the entry-into-force time section, it is determined whether the rendering display second in first view component
View component.In this way, the display of first view component can be made more flexible.
By technical solution provided by the embodiments of the present application, first view component is determined;And according to the component of view component
Mapping relations between mark and service logic determine that the component of the first view component identifies corresponding service logic;?
Rendering shows the second view component corresponding with the service logic in the first view component.
In this way, when according to actual needs to some view component is modified or is changed in the page when, can configure
The scripted code of component mark comprising view component and the mapping relations between service logic, by running the scripted code,
The more new technological process of view component can be simplified by the rendering display of the content of modification or change in the view component, meanwhile,
User can check updated view component when loading the view component in time, shorten the more new content of application software
Covering cycle.
Fig. 2 is a kind of flow diagram of the processing method of view component provided by the embodiments of the present application.The method can
With as follows.
Step 201: receiving the page load request that user sends, include page iden-tity in the page load request.
Step 202: according to the page iden-tity, judging whether to need the view to including in the corresponding page of the page iden-tity
Figure component is modified, if desired, thens follow the steps 203;Otherwise, the corresponding page of the loaded and displayed page iden-tity.
Specifically, query information can be sent to server, which is used for whether needing pair to server inquiry
The view component for including in the corresponding page of the page iden-tity is modified;If server inquires the script generation for modification
Code, it is determined that needs modify to the view component for including in the corresponding page of the page iden-tity, and will include in the page
The component of view component identify corresponding service logic and be sent to client;Otherwise, it determines without corresponding to the page iden-tity
The page in include view component modify;
Can also according to from the component of the view component obtained in server mark service logic between mapping relations,
The component for determining whether there is the view component for including in the page identifies corresponding service logic, and if it exists, then determines and needs
It modifies to the view component for including in the corresponding page of the page iden-tity;Otherwise, it determines without corresponding to the page iden-tity
The page in include view component modify.
Step 203: determining the corresponding service logic of each first view component for including in the page.
Step 204: based on the component property for including in each service logic, determining the second view component.
Here determining view component can be as shown in figure 3, showing for the second view component provided by the embodiments of the present application
It is intended to.
From figure 3, it can be seen that second view component can be an icon.
Here determining view component can be as shown in figure 4, for the second view component provided by the embodiments of the present application
Schematic diagram.
Figure 4, it is seen that second view component can be one group of picture, this group of picture can cutting according to setting
It changes the time and realizes switching display.
Step 205: the second view component of rendering display in the first view component of the page.
Specific implementation may refer to the mode recorded in above-described embodiment, be not specifically limited here.
Fig. 5 (a) is between the first view component and the second view component of rendering display provided by the embodiments of the present application
The schematic diagram of positional relationship.
It can be seen that in some region that the second view component may be displayed on first view component from Fig. 5 (a).
Fig. 5 (b) is between the first view component and the second view component of rendering display provided by the embodiments of the present application
The schematic diagram of positional relationship.
As can be seen that the second view component can realize display side by side with first view component from Fig. 5 (b).
More preferably, in the embodiment of the present application, the display mode of the second view component can use animation mode, realize view
The different display forms such as display, rotational display, translation display, transparence display are reduced in the amplification display of figure component, can basis
Actual business requirement is selected.In addition, the second view component is not limited to be shown on two-dimensional surface, it can also be three
The different animation demand of dimension layer adhesion keeps display more fresh and alive and three-dimensional.
It should be noted that the rendering engine recorded in the embodiment of the present application may include VPEngine engine class and
VPCore core classes, wherein VPCore core classes execute JavaScript file for initializing JavaScript engine,
The channel communicated between Native Context and JaveScript Context is established, and (i.e. according to JavaScript logic
Service logic), the second view component is at the appointed time rendered, the second view component of rendering is shown in first view component
On designated position.Here the display mode of the second view component can be is shown by the way of animation.
Specifically, rendering engine triggers onComponentBind method, and this method carries the component mark of first view component
Know and service logic, calling execute onComponentBind method, and then according to this into JaveScript Context
Whether service logic needs to create the second view component in first view component, if desired, then returns to Native Context
In, creation juggler view (the second view component) is executed, by juggler view and first view component binding.At this time
Native Context notifies the creation of the second view component of JaveScript Context to complete, and by JaveScript
Context judges whether that the operation for further executing playing animation then returns to Native if necessary to playing animation
Context calls the relevant interface of Flare, so that the second view component playing animation in first view component.
Fig. 6 is a kind of structural schematic diagram of the processing equipment of view component provided by the embodiments of the present application.The processing is set
It is standby to comprise determining that unit 601 and processing unit 602, in which:
Determination unit 601 determines first view component;And determine that the component of the first view component identifies corresponding industry
Business logic;
Processing unit 602, rendering shows the second view corresponding with the service logic in the first view component
Component.
In another embodiment of the application, the processing unit 602 renders display in the first view component
The second view component corresponding with the service logic, comprising:
Based on the component property for including in the service logic, the second view component is determined;
Rendering shows second view component in the first view component.
In another embodiment of the application, the processing unit 602 is based on the component for including in the service logic
Attribute determines the second view component, comprising:
Based on the component type for including in the service logic, the second sets of views corresponding with the component type is determined
Part.
In another embodiment of the application, the processing unit 602 renders display in the first view component
Second view component, comprising:
According to including display properties in the service logic, rendering display described second is regarded in the first view component
Figure component, the display properties include one or more of display position, display mode.
In another embodiment of the application, the processing unit 602 renders display in the first view component
Second view component, comprising:
Based on second view component, rendering obtains the floating layer comprising second view component;
The floating layer and the first view component of rendering display are overlapped, show second view component
In the first view component.
In another embodiment of the application, the processing unit 602 renders display in the first view component
Second view component, comprising:
The layout attributes of layout attributes and second view component based on the first view component, rendering are wrapped
Floating layer containing the first view component and second view component;
The floating layer is shown on the display position of the first view component.
In another embodiment of the application, the processing unit 602 renders display in the first view component
Second view component, comprising:
If determining that system time meets the time attribute based on the time attribute for including in the service logic, then
Rendering shows second view component in the first view component.
In another embodiment of the application, the processing unit 602, if based on include in the service logic when
Between attribute determine that system time is unsatisfactory for the time attribute, then rendering shows the first view component.
In another embodiment of the application, the determination unit 601 determines first view component, comprising:
The page load request that user sends is received, includes page iden-tity in the page load request;
According to the page iden-tity, the page corresponding with the page iden-tity is determined;
The view component for including in the page is determined as first view component.
In another embodiment of the application, the determination unit 601 determines the component mark of the first view component
Know corresponding service logic, comprising:
According to the mapping relations between the component of view component mark and service logic, the first view component is determined
Component identifies corresponding service logic.
In another embodiment of the application, the determination unit 601 determines the component mark and business of view component
Mapping relations between logic, comprising:
If it is determined that at least one view component in the page is updated, then it is directed to the different view components,
Service logic is respectively created;
Establish the mapping relations between the component mark of service logic view component corresponding with the service logic.
It should be noted that processing equipment provided by the embodiments of the present application can be realized by software mode, can also lead to
Hardware mode realization is crossed, is not specifically limited here.Processing equipment ought be according to actual needs to some view component in the page
When modifying or changing, the foot of the component mark comprising view component and the mapping relations between service logic can be configured
This code can be simplified by running the scripted code by the rendering display of the content of modification or change in the view component
The more new technological process of view component, meanwhile, user can check updated view component when loading the view component in time,
Shorten the covering cycle of the more new content of application software.
Based on the same inventive concept, the embodiment of the present application also provides a kind of processing equipment of view component, features
It is, comprising: at least one processor and at least one processor are stored with program in the memory, and described program is matched
It is set to and following steps is executed by the processor:
Determine first view component;
Determine that the component of the first view component identifies corresponding service logic;
Rendering shows the second view component corresponding with the service logic in the first view component.
Documented processor can be central processing unit (CPU, Central Processing in the embodiment of the present application
Unit), or other controllers are not specifically limited here.The other modes that processor is implemented at runtime can be with
Referring to the content recorded in above-described embodiment, no longer repeat one by one here.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (13)
1. a kind of processing method of view component characterized by comprising
Determine first view component;
Determine that the component of the first view component identifies corresponding service logic;
Rendering shows the second view component corresponding with the service logic in the first view component.
2. processing method according to claim 1, which is characterized in that rendering display and institute in the first view component
State corresponding second view component of service logic, comprising:
Based on the component property for including in the service logic, the second view component is determined;
Rendering shows second view component in the first view component.
3. processing method according to claim 2, which is characterized in that based on the component category for including in the service logic
Property, determine the second view component, comprising:
Based on the component type for including in the service logic, the second view component corresponding with the component type is determined.
4. processing method according to any one of claims 1 to 3, which is characterized in that the wash with watercolours in the first view component
Dye shows second view component, comprising:
According to including display properties in the service logic, rendering shows second sets of views in the first view component
Part, the display properties include one or more of display position, display mode.
5. processing method according to claim 2, which is characterized in that in the first view component described in rendering display
Second view component, comprising:
Based on second view component, rendering obtains the floating layer comprising second view component;
The floating layer and the first view component are overlapped, second view component is made to be shown in the first view
In component.
6. processing method according to claim 2, which is characterized in that in the first view component described in rendering display
Second view component, comprising:
The layout attributes of layout attributes and second view component based on the first view component, rendering are obtained comprising institute
State the floating layer of first view component and second view component;
The floating layer is shown on the display position of the first view component.
7. processing method according to claim 1, which is characterized in that in the first view component described in rendering display
Second view component, comprising:
If determining that system time meets the time attribute based on the time attribute for including in the service logic, then described
Rendering shows second view component in first view component.
8. processing method according to claim 7, which is characterized in that the method also includes:
If determining that system time is unsatisfactory for the time attribute based on the time attribute for including in the service logic, then rendering
Show the first view component.
9. processing method according to claim 1, which is characterized in that determine first view component, comprising:
The page load request that user sends is received, includes page iden-tity in the page load request;
According to the page iden-tity, the page corresponding with the page iden-tity is determined;
The view component for including in the page is determined as first view component.
10. processing method according to claim 1, which is characterized in that determine the component mark of the first view component
Corresponding service logic, comprising:
According to the mapping relations between the component of view component mark and service logic, the component of the first view component is determined
Identify corresponding service logic.
11. processing method according to claim 10, which is characterized in that the component of view component mark and service logic it
Between mapping relations, comprising:
If it is determined that being updated at least one view component in the page, then being directed to the different view components, respectively
Create service logic;
Establish the mapping relations between the component mark of service logic view component corresponding with the service logic.
12. a kind of processing equipment of view component characterized by comprising
Determination unit determines first view component;And determine that the component of the first view component identifies corresponding service logic;
Processing unit, rendering shows the second view component corresponding with the service logic in the first view component.
13. a kind of processing equipment of view component characterized by comprising at least one processor and at least one processor,
Program is stored in the memory, described program is configured to execute following steps by the processor:
Determine first view component;
Determine that the component of the first view component identifies corresponding service logic;
Rendering shows the second view component corresponding with the service logic in the first view component.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710728529.9A CN109426513A (en) | 2017-08-23 | 2017-08-23 | A kind of processing method and equipment of view component |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710728529.9A CN109426513A (en) | 2017-08-23 | 2017-08-23 | A kind of processing method and equipment of view component |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109426513A true CN109426513A (en) | 2019-03-05 |
Family
ID=65497445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710728529.9A Pending CN109426513A (en) | 2017-08-23 | 2017-08-23 | A kind of processing method and equipment of view component |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109426513A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111273985A (en) * | 2020-01-20 | 2020-06-12 | 北京无限光场科技有限公司 | Page rendering method and device, electronic equipment and computer readable storage medium |
CN111580814A (en) * | 2020-04-29 | 2020-08-25 | 上海中通吉网络技术有限公司 | Guitar intermediate layer rendering system |
CN111708519A (en) * | 2020-06-12 | 2020-09-25 | 北京思特奇信息技术股份有限公司 | Business component processing method, device, equipment and storage medium |
CN111782209A (en) * | 2019-04-04 | 2020-10-16 | 阿里巴巴集团控股有限公司 | Page management method and device, electronic equipment and computer storage medium |
CN113436344A (en) * | 2021-06-25 | 2021-09-24 | 广联达科技股份有限公司 | Display method and system of reference view and image display equipment |
CN113741764A (en) * | 2021-07-30 | 2021-12-03 | 阿里巴巴新加坡控股有限公司 | Component processing method, device and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294388A (en) * | 2015-05-20 | 2017-01-04 | 腾讯科技(深圳)有限公司 | A kind of method of page presentation and terminal |
CN106598655A (en) * | 2016-12-05 | 2017-04-26 | 腾讯科技(深圳)有限公司 | Application page processing method and apparatus |
CN106897318A (en) * | 2015-12-21 | 2017-06-27 | 阿里巴巴集团控股有限公司 | The methods of exhibiting and device of five application page on mobile terminal device |
-
2017
- 2017-08-23 CN CN201710728529.9A patent/CN109426513A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294388A (en) * | 2015-05-20 | 2017-01-04 | 腾讯科技(深圳)有限公司 | A kind of method of page presentation and terminal |
CN106897318A (en) * | 2015-12-21 | 2017-06-27 | 阿里巴巴集团控股有限公司 | The methods of exhibiting and device of five application page on mobile terminal device |
CN106598655A (en) * | 2016-12-05 | 2017-04-26 | 腾讯科技(深圳)有限公司 | Application page processing method and apparatus |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111782209A (en) * | 2019-04-04 | 2020-10-16 | 阿里巴巴集团控股有限公司 | Page management method and device, electronic equipment and computer storage medium |
CN111273985A (en) * | 2020-01-20 | 2020-06-12 | 北京无限光场科技有限公司 | Page rendering method and device, electronic equipment and computer readable storage medium |
CN111580814A (en) * | 2020-04-29 | 2020-08-25 | 上海中通吉网络技术有限公司 | Guitar intermediate layer rendering system |
CN111580814B (en) * | 2020-04-29 | 2024-04-09 | 上海中通吉网络技术有限公司 | Guitar middle layer rendering system |
CN111708519A (en) * | 2020-06-12 | 2020-09-25 | 北京思特奇信息技术股份有限公司 | Business component processing method, device, equipment and storage medium |
CN111708519B (en) * | 2020-06-12 | 2023-08-18 | 北京思特奇信息技术股份有限公司 | Service component processing method, device, equipment and storage medium |
CN113436344A (en) * | 2021-06-25 | 2021-09-24 | 广联达科技股份有限公司 | Display method and system of reference view and image display equipment |
CN113741764A (en) * | 2021-07-30 | 2021-12-03 | 阿里巴巴新加坡控股有限公司 | Component processing method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109426513A (en) | A kind of processing method and equipment of view component | |
CN105574049B (en) | Page processing method, device and system for mobile application | |
CN107656759B (en) | Rendering method and device for user interface | |
KR20130086138A (en) | Cross-platform application framework | |
CN104216738A (en) | Operation method and operation device of application program | |
CN111651219A (en) | Method and equipment for managing multi-module project configuration file | |
CN110555900B (en) | Rendering instruction processing method and device, storage medium and electronic equipment | |
CN110908707A (en) | Resource packaging method, device, server and storage medium | |
CN113885935A (en) | Resource packaging method and device, electronic equipment and computer readable storage medium | |
CN109933381A (en) | A kind of loading method and device of kernel | |
CN110213105A (en) | It is a kind of cross-platform micro- using creation method | |
CN111488102A (en) | Modular editing method, terminal, server and system for graphic animation | |
CN114553971B (en) | Application framework design method, system, equipment and medium | |
CN113485548B (en) | Model loading method and device of head-mounted display equipment and head-mounted display equipment | |
CN114625439A (en) | Sub-application operation method based on micro front-end architecture, electronic device and storage medium | |
CN112235132A (en) | Method, device, medium and server for dynamically configuring service | |
KR100818919B1 (en) | Method for invoking method and java virtual machine using the same | |
CN112732252A (en) | Method and device for dynamically generating UI (user interface) and electronic equipment | |
CN112579066A (en) | Chart display method and device, storage medium and equipment | |
CN116503529A (en) | Rendering, 3D picture control method, electronic device, and computer-readable storage medium | |
CN112560403A (en) | Text processing method and device and electronic equipment | |
CN111708519B (en) | Service component processing method, device, equipment and storage medium | |
CN113177292B (en) | Universal BIM secondary development implementation method and device | |
CN107402749A (en) | Realize the method and device in picture loading storehouse | |
CN113704664A (en) | Method and device for generating routing address for accessing page |
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: 20190305 |
|
RJ01 | Rejection of invention patent application after publication |