CN108255556A - The interface sharing method and device at multiple interfaces - Google Patents
The interface sharing method and device at multiple interfaces Download PDFInfo
- Publication number
- CN108255556A CN108255556A CN201711486841.8A CN201711486841A CN108255556A CN 108255556 A CN108255556 A CN 108255556A CN 201711486841 A CN201711486841 A CN 201711486841A CN 108255556 A CN108255556 A CN 108255556A
- Authority
- CN
- China
- Prior art keywords
- interface
- contact surface
- interfacial structure
- log
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000001514 detection method Methods 0.000 claims description 12
- 238000009415 formwork Methods 0.000 claims description 4
- 238000012795 verification Methods 0.000 claims description 4
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000012545 processing Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000036316 preload Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000003556 assay Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000001427 coherent effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
- A63F13/533—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/30—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
- A63F2300/303—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to the interface sharing method and device at a kind of multiple interfaces, it is therein the method includes:Cache the interfacial structure at the first interface and the interfacial structure of second contact surface;Whether the interfacial structure for detecting first interface is identical with the interfacial structure of the second contact surface;When the interfacial structure at first interface is identical with the interfacial structure of the second contact surface, setting enters the second contact surface and the entrance at first interface respectively in first interface and second contact surface;When the interfacial structure at first interface and the interfacial structure of the second contact surface differ, the interface element at first interface and the interface element of the second contact surface are obtained;According to the interface element at first interface of acquisition and the interface element of the second contact surface, shared interface template is asked to server;Download the shared interface template.Beneficial effects of the present invention are:It realizes that multiple interfaces share an interfacial structure, reduces resources occupation rate.
Description
Technical field
The present embodiments relate to processing data information technical field more particularly to a kind of interface sides of sharing at multiple interfaces
Method and device.
Background technology
With the rapid development of the Internet, applications technology, third-party application or service provider's product independent as one
Supplier obtains next fashion trend when fund income becomes by the way that its product is published to network opening platform.
In the prior art, if carried out in user account in the platform that the user of integrated application provides in integrated application
Article, the equipment made of acquisition etc. transaction, can be made if obtaining an interface and needing to reopen whole pages
Into the waste for expending resource and integrated application can be caused the situation of interim card occur, there is presently no can solve the above problems
Product or method occur.
Invention content
In order to solve the problems, such as the relevant technologies, the present invention provides a kind of the interface sharing method and dress at multiple interfaces
It puts, to realize that multiple interfaces share an interfacial structure, reduces resources occupation rate.
In a first aspect, an embodiment of the present invention provides a kind of interface sharing method at multiple interfaces, the method includes:
Cache the interfacial structure at the first interface and the interfacial structure of second contact surface;
Whether the interfacial structure for detecting first interface is identical with the interfacial structure of the second contact surface;
When the interfacial structure at first interface is identical with the interfacial structure of the second contact surface, at first interface
And setting enters the second contact surface and the entrance at first interface respectively in second contact surface;
When the interfacial structure at first interface and the interfacial structure of the second contact surface differ, described first is obtained
The interface element of the interface element at interface and the second contact surface;
It, please to server according to the interface element at first interface of acquisition and the interface element of the second contact surface
Seek the shared interface template of the first interface and second contact surface;
The shared interface template is downloaded, and passes through the shared interface template and divides in the first interface and second contact surface
The second contact surface and the entrance at first interface She Zhi not entered.
With reference on the other hand, in a kind of possible embodiment on the other hand, the method further includes:
After being received at first interface into the log on request of second contact surface, the log on request is verified;
It is logged in after being verified in the second contact surface, and the interfacial structure according to first interface or second boundary
The interfacial structure in the face interface element different from second contact surface to first interface is replaced.
With reference on the other hand, in a kind of possible embodiment on the other hand, the method further includes:
Obtain the bottom display strategy of first interface or second contact surface;
The sequence of interface element when being switched over according to the bottom display strategy to first interface or second contact surface
Strategy.
With reference on the other hand, in a kind of possible embodiment on the other hand, the method further includes:
When the interfacial structure at first interface is identical with the interfacial structure of the second contact surface, identical boundary is preloaded
Face structure;
Whether detection user's log on request is directed to the first interface;
When log on request is directed to the first interface, first interface is loaded in the interfacial structure of the preloading
Interface element;
When the log on request is not directed to the first interface, described second is loaded in the interfacial structure of the preloading
The interface element at interface.
With reference on the other hand, in a kind of possible embodiment on the other hand, the method further includes:
Obtain log on request mark when user logs in;
Corresponding first interface or second are loaded in the interfacial structure of the preloading according to log on request mark
Interface;
When the interfacial structure at first interface and the interfacial structure of the second contact surface differ, shared boundary is preloaded
Face die plate;
According to log on request mark load in the shared interface template of the preloading corresponding first interface or
Second contact surface;
Carry out interface element loading.
Second aspect, the present invention also provides a kind of interface sharing means at multiple interfaces, described device includes:
Cache module, for caching the interfacial structure of the interfacial structure at the first interface and second contact surface;
Structure detection module is for detecting the interfacial structure at first interface and the interfacial structure of the second contact surface
It is no identical;
First setup module is identical with the interfacial structure of the second contact surface for working as the interfacial structure at first interface
When, setting enters entering for the second contact surface and first interface respectively in first interface and second contact surface
Mouthful;
Second setup module, for working as the interfacial structure of the interfacial structure at first interface and the second contact surface not phase
Meanwhile obtain the interface element at first interface and the interface element of the second contact surface;
Shared formwork module, for the interface element at first interface according to acquisition and the boundary of the second contact surface
Surface element asks the shared interface template of the first interface and second contact surface to server;
Entrance download module for downloading the shared interface template, and passes through the shared interface template on the first boundary
Setting enters the second contact surface and the entrance at first interface respectively in face and second contact surface.
Above-mentioned device, described device further include:
Authentication module, for after being received at first interface into the log on request of second contact surface, described in verification
Log on request;
Replacement module for being logged in the second contact surface after being verified, and is tied according to the interface at first interface
The interfacial structure of structure or the second contact surface interface element different from second contact surface to first interface is replaced.
Above-mentioned device, described device further include:
Display module, for obtaining the bottom display strategy at first interface or second contact surface;
Handover module, for switching over when circle to first interface or second contact surface according to the bottom display strategy
The ordering strategy of surface element.
Above-mentioned device, described device further include:
Preloaded components are identical with the interfacial structure of the second contact surface for working as the interfacial structure at first interface
When, preload identical interfacial structure;
Detection module is logged in, for detecting whether user's log on request is directed to the first interface;
First preloaded components, for when log on request is directed to the first interface, in the interfacial structure of the preloading
The interface element at middle loading first interface;
Second preloaded components, for when the log on request is not directed to the first interface, on the boundary of the preloading
The interface element of the second contact surface is loaded in the structure of face.
Above-mentioned device, described device further include:
Identifier acquisition module, for obtaining log on request mark when user logs in;
Selecting module is preloaded, for loading phase in the interfacial structure of the preloading according to log on request mark
The first interface answered or second contact surface;
Shared interface template preloaded components, for working as the boundary of the interfacial structure at first interface and the second contact surface
When face structure differs, shared interface template is preloaded;
It is additionally operable to:According to log on request mark corresponding first is loaded in the shared interface template of the preloading
Interface or second contact surface;Carry out interface element loading.
By way of the present invention shares an interfacial structure multiple and different interfaces of same integrated application so that
Multiple and different interfaces is shown using an interfacial structure, and can freely and glibly switch between different interfaces, is solved
Current all being reloaded when multiple and different interfaces are opened in integrated application causes resource occupation excessively high and loads fast
The problem of slow is spent, realizes to load in a shared interface and can more be flowed between different interfaces and different interfaces
The effect freely switched.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not
It can the limitation present invention.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the present invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart according to a kind of interface sharing method at multiple interfaces shown in an exemplary embodiment.
Fig. 2 is according to the flow chart during preloading detection shown in an exemplary embodiment.
Fig. 3 is the block diagram according to a kind of interface sharing means at multiple interfaces shown in an exemplary embodiment.
Fig. 4 is block diagram when detection is preloaded according to one shown in an exemplary embodiment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than entire infrastructure are illustrated only in description, attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.It is therein to be permitted although each step to be described as to the processing of sequence in flow chart
Multi-step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged, when its operation
The processing can be terminated during completion, it is also possible to have the other steps being not included in attached drawing.Processing can correspond to
In method, function, regulation, subroutine, subprogram etc..
The present invention relates to the interface sharing methods and device at a kind of multiple interfaces, mainly apply in integrated application
It is developed in the scene of community's playing method in user account, basic thought is:Pass through the multiple and different of same integrated application
Share the mode of an interfacial structure in interface so that show multiple and different interfaces, and different boundaries using an interfacial structure
It can freely and glibly switch between face, solve current all to weigh when opening multiple and different interfaces in integrated application
New loading leads to the problem of resource occupation is excessively high and loading velocity is slow, and different boundaries can be loaded in a shared interface by realizing
The effect that can more switch glibly between face and different interfaces.
The present embodiment is applicable to share to carry out the interface at multiple interfaces in the intelligent terminal equipped with integrated application
In the case of, this method can be performed by the interface management device in user account, wherein the device can by software and/or
Hardware is realized, can usually be integrated in the Central Control Module in the integrated application of mobile terminal or in terminal to control
System, as shown in Figure 1, the method specifically comprises the following steps:
In step 110, the interfacial structure at the first interface of caching and the interfacial structure of second contact surface;
First interface or the second contact surface are related data information to be obtained in integrated application and for showing
Interface, can be adapted with screen, a part for screen can also be shown as, may be page structure.
Interfacial structure is used to load corresponding data information in the various pieces of the interfacial structure, such as image, word, regards
Frequency evidence, interface etc..
In the step 120, detect the interfacial structure at first interface and the second contact surface interfacial structure whether phase
Together;
When whether assay surface structure identical, can by the position at each loading position of the interfacial structure to each interface whether
It is identical to judge whether its interfacial structure identical, for example, when each loading section of the two can unanimously and effectively load it is identical
Content, can determine whether that its interfacial structure is identical.
For example, the bottom-loaded strategy display information of the interfacial structure at the first interface, and the interfacial structure of second contact surface
Bottom-loaded when being similarly strategy and showing information, the interfacial structure that both can conclude that is consistent and identical, and when second contact surface
When the bottom-loaded of interfacial structure is display equipment information, then it can conclude that the interfacial structure of the two is inconsistent, certainly, be only for boundary
A portion of face structure judges, for the equally applicable said program of judgement at other positions of interfacial structure.
Aforesaid way is not limited to for the whether identical judgment mode pass of interfacial structure in the method for the present invention.
In step 130, when the interfacial structure at first interface is identical with the interfacial structure of the second contact surface,
Setting enters the second contact surface and the entrance at first interface respectively in first interface and second contact surface;
The entrance of second contact surface is shown in the corresponding site at the first interface respectively, the is shown in the corresponding site of second contact surface
The entrance at one interface can enter corresponding second contact surface or the first interface in current interface each entrance in a manner of switching.
In step 140, when the interfacial structure at first interface and the interfacial structure of the second contact surface differ,
Obtain the interface element at first interface and the interface element of the second contact surface;
The interface element can be the data element of the various loading sections loading in the second contact surface.
In step 150, according to the interface element at first interface of acquisition and the Interface Element of the second contact surface
Element asks the shared interface template of the first interface and second contact surface to server;
The shared interface template can be that first interface can largely adapt to big portion with second contact surface
The template of boundary surface element.
In a step 160, download the shared interface template, and pass through the shared interface template at the first interface and
Setting enters the second contact surface and the entrance at first interface respectively in second contact surface.
In a kind of feasible embodiment of the present invention, such as the first interface is equipment trading hall, and second contact surface is
Equipment wants to buy hall, and when its interfacial structure is identical, the personal information of display user is can be used at the top of interfacial structure, such as
User's head portrait, name, the quantity of ideal money and the entrance towards another interface can also be shown in top, interfacial structure
It moves, and either trading hall still wants to buy hall, fills in the interface that can have energy at middle part for equipment list in middle part
The standby list in the middle part of this is identical.
Bottom shows that displaying can be carried out with slitting mesh available for list details, is loaded according to its corresponding entry corresponding
Data information, can show that seller sells information in the bottom of equipment trading hall, and want to buy hall in equipment, then load buyer
Want to buy information (though different, same area can load mutually isostructural data information)
The method of the present invention, is shared by identical interfacial structure or is total to by the shared interface template of acquisition
It enjoys, by way of sharing an interfacial structure multiple and different interfaces of same integrated application so that utilize a boundary
Face structure shows multiple and different interfaces, and can freely and glibly switch between different interfaces, solves current whole
All being reloaded when opening multiple and different interfaces in mould assembly application leads to the problem of resource occupation is excessively high and loading velocity is slow,
Realization can load what can more be switched glibly between different interfaces and different interfaces in a shared interface
Effect.
In another implement scene of exemplary embodiment of the present, the method further includes:
After being received at first interface into the log on request of second contact surface, the log on request is verified;
When second contact surface and the first interface community platform that belong to two different, log on request can be verified, with
Ensure safety when user logs in.
It is logged in after being verified in the second contact surface, and the interfacial structure according to first interface or second boundary
The interfacial structure in the face interface element different from second contact surface to first interface is replaced.
The method of the present invention, the verification of safety during by being logged in user so that just to first after being verified
Coherent element in interface and second contact surface element switches over, and obstructed out-of-date verifying, retains first before switching
Interface or second contact surface.
In another implement scene of exemplary embodiment of the present, the method further includes:
Obtain the bottom display strategy of first interface or second contact surface;
The sequence of interface element when being switched over according to the bottom display strategy to first interface or second contact surface
Strategy.
The data loading of corresponding loading section in corresponding interface is shown in the bottom at the first interface or second contact surface
Strategy, and pass through the bottom display strategy and data information corresponding in interface is loaded, show that loading strategy has in bottom
Help user effectively to adjust each data information at interface under the premise of holding mobile devices.
In another implement scene of exemplary embodiment of the present, as shown in Fig. 2, the method further includes:
In step 210, when the interfacial structure at first interface is identical with the interfacial structure of the second contact surface, in advance
Load identical interfacial structure;
Interfacial structure is preloaded, can be carried out on backstage, and cache into the memory of mobile terminal.
In a step 220, whether detection user's log on request is directed to the first interface;
In step 230, when log on request is directed to the first interface, institute is loaded in the interfacial structure of the preloading
State the interface element at the first interface;
In step 240, when the log on request is not directed to the first interface, in the interfacial structure of the preloading
Load the interface element of the second contact surface.
The method of the present invention, by the inspection that the interface that corresponding log on request is directed to is loaded in first interface
It surveys so that after user's one of which interface logs in, although showing logging into for another interface in current interface
Mouthful, it still needs to carry out logging in for another interface again after the validation, has fully ensured multiple interfaces when sharing an interface
The safety of each interface content.
In another implement scene of exemplary embodiment of the present, the method further includes:
Obtain log on request mark when user logs in;
Corresponding first interface or second are loaded in the interfacial structure of the preloading according to log on request mark
Interface;
When the interfacial structure at first interface and the interfacial structure of the second contact surface differ, shared boundary is preloaded
Face die plate;
According to log on request mark load in the shared interface template of the preloading corresponding first interface or
Second contact surface;
Carry out interface element loading.
Log on request mark can be the equipment Serial Number of user terminal that user uses, or its is unique
Register name, etc., by the judgement that log on request identifies can be identified active user whether with current integrated application
In user it is consistent, and corresponding first interface or second contact surface are only just preloaded under unanimous circumstances, and inconsistent
In the case of situation in corresponding interface can be obstructed.
Fig. 3 shows for a kind of signaling process figure/structure of the interface sharing means at multiple interfaces provided in an embodiment of the present invention
It is intended to, which can be usually integrated in mobile terminal by software and or hardware realization, can pass through the interface at multiple interfaces
Sharing method is realized.As shown in the figure, the present embodiment can provide a kind of boundary at multiple interfaces based on above-described embodiment
Face sharing means mainly include cache module 310, structure detection module 320, the first setup module 330, second setting mould
Block 340, shared formwork module 350 and entrance download module 360.
Cache module 310 therein, for caching the interfacial structure of the interfacial structure at the first interface and second contact surface;
Structure detection module 320 therein, for detecting the interfacial structure at first interface and the second contact surface
Whether interfacial structure is identical;
First setup module 330 therein, for working as the boundary of the interfacial structure at first interface and the second contact surface
When face structure is identical, setting enters the second contact surface and described first respectively in first interface and second contact surface
The entrance at interface;
Second setup module 340 therein, for working as the boundary of the interfacial structure at first interface and the second contact surface
When face structure differs, the interface element at first interface and the interface element of the second contact surface are obtained;
Shared formwork module 350 therein, for the interface element at first interface according to acquisition and described
The interface element of second interface asks the shared interface template of the first interface and second contact surface to server;
Entrance download module 360 therein for downloading the shared interface template, and passes through the shared interface template
Setting enters the second contact surface and the entrance at first interface respectively in the first interface and second contact surface.
In another implement scene of exemplary embodiment of the present, described device further includes:
Authentication module, for after being received at first interface into the log on request of second contact surface, described in verification
Log on request;
Replacement module for being logged in the second contact surface after being verified, and is tied according to the interface at first interface
The interfacial structure of structure or the second contact surface interface element different from second contact surface to first interface is replaced.
In another implement scene of exemplary embodiment of the present, described device further includes:
Display module, for obtaining the bottom display strategy at first interface or second contact surface;
Handover module, for switching over when circle to first interface or second contact surface according to the bottom display strategy
The ordering strategy of surface element.
In another implement scene of exemplary embodiment of the present, as shown in figure 4, described device further includes:
Preloaded components 410, for working as the interfacial structure at first interface and the interfacial structure phase of the second contact surface
Meanwhile preload identical interfacial structure;
Detection module 420 is logged in, for detecting whether user's log on request is directed to the first interface;
First preloaded components 430, for when log on request is directed to the first interface, being tied at the interface of the preloading
The interface element at first interface is loaded in structure;
Second preloaded components 440, for when the log on request is not directed to the first interface, in the preloading
The interface element of the second contact surface is loaded in interfacial structure.
In another implement scene of exemplary embodiment of the present, described device further includes:
Identifier acquisition module, for obtaining log on request mark when user logs in;
Selecting module is preloaded, for loading phase in the interfacial structure of the preloading according to log on request mark
The first interface answered or second contact surface;
Shared interface template preloaded components, for working as the boundary of the interfacial structure at first interface and the second contact surface
When face structure differs, shared interface template is preloaded;
It is additionally operable to:According to log on request mark corresponding first is loaded in the shared interface template of the preloading
Interface or second contact surface;Carry out interface element loading.
There is provided in above-described embodiment each module between any two can be achieved communication connection, and each module can in platform
The communication of heart control device connects, and the interface sharing means at multiple interfaces provided in above-described embodiment can perform arbitrary in the present invention
The interface sharing method at multiple interfaces provided in embodiment has and performs the corresponding function module of this method and beneficial to effect
Fruit, the technical detail not being described in detail in the above-described embodiments, reference can be made to multiple boundaries provided in any embodiment of the present invention
The interface sharing method in face.
It will be appreciated that the present invention also extends to the computer program for being suitable for putting the invention into practice, particularly
Computer program on carrier or in carrier.Program can be with source code, object code, code intermediate source and such as part volume
The form of the object code for the form translated or with any other shape for being suitble to use in the realization of the method according to the invention
Formula.Also it will be noted that, such program may have many different frame designs.For example, realize side according to the invention
Functional program code of method or system may be subdivided into one or more subroutine.
For will be apparent for technical personnel in the functional many different modes of these subroutine intermediate distributions.
Subroutine can be collectively stored in an executable file, so as to form self-contained program.Such executable file can
To include computer executable instructions, such as processor instruction and/or interpreter instruction (for example, Java interpreter instruction).It can
Alternatively, one or more or all subroutines of subroutine may be stored at least one external library file, and
And statically or dynamically (such as at runtime) links with main program.Main program contains at least one of subroutine
At least one calling.Subroutine can also include to mutual function call.It is related to the embodiment packet of computer program product
Include the computer executable instructions corresponding at least one of illustrated method each step of the processing step of method.These refer to
Subroutine can be subdivided into and/or be stored in one or more possible static or dynamic link file by enabling.
Another embodiment for being related to computer program product includes corresponding in illustrated system and/or product at least
The computer executable instructions of each device in the device of one.These instructions can be subdivided into subroutine and/or be stored
In one or more possible static or dynamic link file.
The carrier of computer program can be any entity or device that can deliver program.For example, carrier can wrap
Containing storage medium, such as (ROM such as CDROM either semiconductor ROM) or magnetic recording media (such as floppy disk or hard disk).Into
One step, carrier can be the carrier that can be transmitted, such as electricity either optical signalling its can via cable or optical cable or
Person is transmitted by radio or other means.When program is embodied as such signal, carrier can be by such cable
Or device composition.Alternatively, carrier can be the integrated circuit for being wherein embedded with program, and the integrated circuit is suitable for holding
Row correlation technique is supplied used in the execution of correlation technique.
Should be noted that embodiment mentioned above is to illustrate the present invention rather than limit the present invention, and this
The technical staff in field will design many alternate embodiments, without departing from scope of the appended claims.It is weighing
In profit requirement, the reference mark of any placement between round parentheses is not to be read as being limitations on claims.Verb " packet
Include " and its is paradigmatic using being not excluded for depositing for element other than those recorded in the claims or step
.Article " one " before element or "one" be not excluded for the presence of a plurality of such elements.The present invention can pass through
It hardware including several visibly different components and is realized by properly programmed computer.Enumerating several devices
In device claim, several in these devices can be embodied by the same item of hardware.In mutually different appurtenance
State that the simple fact of certain measures does not indicate that the combination of these measures cannot be used to benefit in profit requirement.
If desired, different function discussed herein can be performed with different order and/or be performed simultaneously with one another.
In addition, if if it is expected, one or more functions described above can be optional or can be combined.
If desired, each step is not limited to the sequence that performs in each embodiment, different step as discussed above
It can be performed with different order and/or performed simultaneously with one another.In addition, in other embodiments, described above one or more
A step can be optional or can be combined.
Although various aspects of the invention provide in the independent claim, the other aspects of the present invention include coming from
The feature of described embodiment and/or with independent claims feature dependent claims combination, and not only
It is the combination clearly provided in claim.
Although it is to be noted here that the foregoing describe the example embodiment of the present invention, these descriptions are not
It should be understood in a limiting sense.It will without departing from such as appended right on the contrary, several change and modification can be carried out
The scope of the present invention defined in asking.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present invention can use general meter
Device is calculated to realize, each module can be concentrated in the group of networks of single computing device or computing device composition, and the present invention is real
The method that the device in example corresponds in previous embodiment is applied, can be realized, can also led to by executable program code
The mode of integrated circuit combination is crossed to realize, therefore the invention is not limited in specific hardware or software and its combinations.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present invention can use general shifting
Dynamic terminal realizes that each module can be concentrated in the device combination of single mobile terminal or mobile terminal composition, the present invention
Device in embodiment corresponds to the method in previous embodiment, can be realized by editing executable program code,
It can be realized by way of integrated circuit combination, therefore the invention is not limited in specific hardware or softwares and its knot
It closes.
Note that it above are only exemplary embodiment of the present invention and institute's application technology principle.Those skilled in the art can manage
Solution, the present invention is not limited to specific embodiments described here, can carry out various apparent changes for a person skilled in the art
Change, readjust and substitute without departing from protection scope of the present invention.Therefore, although by above example to the present invention into
It has gone and has been described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept,
It can also include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of interface sharing method at multiple interfaces, which is characterized in that the method includes:
Cache the interfacial structure at the first interface and the interfacial structure of second contact surface;
Whether the interfacial structure for detecting first interface is identical with the interfacial structure of the second contact surface;
When the interfacial structure at first interface is identical with the interfacial structure of the second contact surface, at first interface and
Setting enters the second contact surface and the entrance at first interface respectively in second contact surface;
When the interfacial structure at first interface and the interfacial structure of the second contact surface differ, first interface is obtained
Interface element and the second contact surface interface element;
According to the interface element at first interface of acquisition and the interface element of the second contact surface, to server request the
One interface and the shared interface template of second contact surface;
The shared interface template is downloaded, and passes through the shared interface template and is set respectively in the first interface and second contact surface
Put the entrance into the second contact surface and first interface.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
After being received at first interface into the log on request of second contact surface, the log on request is verified;
It is logged in after being verified in the second contact surface, and according to the interfacial structure at first interface or the second contact surface
The interfacial structure interface element different from second contact surface to first interface is replaced.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
Obtain the bottom display strategy of first interface or second contact surface;
The ordering strategy of interface element when being switched over according to the bottom display strategy to first interface or second contact surface.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
When the interfacial structure at first interface is identical with the interfacial structure of the second contact surface, identical interface knot is preloaded
Structure;
Whether detection user's log on request is directed to the first interface;
When log on request is directed to the first interface, the interface at first interface is loaded in the interfacial structure of the preloading
Element;
When the log on request is not directed to the first interface, the second contact surface is loaded in the interfacial structure of the preloading
Interface element.
5. according to the method described in claim 4, it is characterized in that, the method further includes:
Obtain log on request mark when user logs in;
Corresponding first interface or second contact surface are loaded in the interfacial structure of the preloading according to log on request mark;
When the interfacial structure at first interface and the interfacial structure of the second contact surface differ, shared interface mould is preloaded
Plate;
Corresponding first interface or second are loaded in the shared interface template of the preloading according to log on request mark
Interface;
Carry out interface element loading.
6. a kind of interface sharing means at multiple interfaces, which is characterized in that described device includes:
Cache module, for caching the interfacial structure of the interfacial structure at the first interface and second contact surface;
Structure detection module, for detect the interfacial structure of the interfacial structure at first interface and the second contact surface whether phase
Together;
First setup module, for when the interfacial structure at first interface is identical with the interfacial structure of the second contact surface,
Setting enters the second contact surface and the entrance at first interface respectively in first interface and second contact surface;
Second setup module differs for working as the interfacial structure at first interface and the interfacial structure of the second contact surface
When, obtain the interface element at first interface and the interface element of the second contact surface;
Shared formwork module, for the interface element at first interface and the Interface Element of the second contact surface according to acquisition
Element asks the shared interface template of the first interface and second contact surface to server;
Entrance download module, for downloading the shared interface template, and pass through the shared interface template the first interface with
And setting enters the second contact surface and the entrance at first interface respectively in second contact surface.
7. device according to claim 6, which is characterized in that described device further includes:
Authentication module, for after being received at first interface into the log on request of second contact surface, being logged in described in verification
Request;
Replacement module, for being logged in the second contact surface after being verified, and according to the interfacial structure at first interface or
The interfacial structure of the second contact surface interface element different from second contact surface to first interface is replaced.
8. device according to claim 6, which is characterized in that described device further includes:
Display module, for obtaining the bottom display strategy at first interface or second contact surface;
Handover module, Interface Element during for being switched over according to the bottom display strategy to first interface or second contact surface
The ordering strategy of element.
9. device according to claim 6, which is characterized in that described device further includes:
Preloaded components, for when the interfacial structure at first interface is identical with the interfacial structure of the second contact surface, in advance
Load identical interfacial structure;
Detection module is logged in, for detecting whether user's log on request is directed to the first interface;
First preloaded components, for when log on request is directed to the first interface, adding in the interfacial structure of the preloading
Carry the interface element at first interface;
Second preloaded components, for when the log on request is not directed to the first interface, being tied at the interface of the preloading
The interface element of the second contact surface is loaded in structure.
10. device according to claim 9, which is characterized in that described device further includes:
Identifier acquisition module, for obtaining log on request mark when user logs in;
Selecting module is preloaded, it is corresponding for being loaded in the interfacial structure of the preloading according to log on request mark
First interface or second contact surface;
Shared interface template preloaded components are tied for working as the interfacial structure at first interface and the interface of the second contact surface
When structure differs, shared interface template is preloaded;
It is additionally operable to:Corresponding first interface is loaded in the shared interface template of the preloading according to log on request mark
Or second contact surface;Carry out interface element loading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711486841.8A CN108255556B (en) | 2017-12-29 | 2017-12-29 | Interface sharing method and device for multiple interfaces |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711486841.8A CN108255556B (en) | 2017-12-29 | 2017-12-29 | Interface sharing method and device for multiple interfaces |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108255556A true CN108255556A (en) | 2018-07-06 |
CN108255556B CN108255556B (en) | 2023-10-27 |
Family
ID=62725211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711486841.8A Active CN108255556B (en) | 2017-12-29 | 2017-12-29 | Interface sharing method and device for multiple interfaces |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108255556B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109960768A (en) * | 2019-02-28 | 2019-07-02 | 北京摩拜科技有限公司 | Display methods, device, terminal device and the system of map interface |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5596702A (en) * | 1993-04-16 | 1997-01-21 | International Business Machines Corporation | Method and system for dynamically sharing user interface displays among a plurality of application program |
CN102081650A (en) * | 2010-12-29 | 2011-06-01 | 上海网达软件有限公司 | Method for rapidly displaying user interface of embedded type platform |
CN102495730A (en) * | 2011-12-02 | 2012-06-13 | 曙光信息产业(北京)有限公司 | Dynamic and extendable web interface method |
CN102902725A (en) * | 2012-09-05 | 2013-01-30 | 曙光信息产业(北京)有限公司 | Page for achieving Web page reuse based on extension point |
CN104572098A (en) * | 2014-12-30 | 2015-04-29 | 北京奇虎科技有限公司 | Updating method and device of mobile terminal page diagram |
CN104838632A (en) * | 2012-09-10 | 2015-08-12 | 泰克尼森有限公司 | Method and system for transferable customized contextual user interfaces |
CN105022615A (en) * | 2014-04-21 | 2015-11-04 | 大唐软件技术股份有限公司 | Interface generating method and system |
CN105608176A (en) * | 2015-12-18 | 2016-05-25 | 东软集团股份有限公司 | Page access method and apparatus |
US20160334967A1 (en) * | 2012-06-29 | 2016-11-17 | Qualcomm Incorporated | Sharing of user interface objects via a shared space |
-
2017
- 2017-12-29 CN CN201711486841.8A patent/CN108255556B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5596702A (en) * | 1993-04-16 | 1997-01-21 | International Business Machines Corporation | Method and system for dynamically sharing user interface displays among a plurality of application program |
CN102081650A (en) * | 2010-12-29 | 2011-06-01 | 上海网达软件有限公司 | Method for rapidly displaying user interface of embedded type platform |
CN102495730A (en) * | 2011-12-02 | 2012-06-13 | 曙光信息产业(北京)有限公司 | Dynamic and extendable web interface method |
US20160334967A1 (en) * | 2012-06-29 | 2016-11-17 | Qualcomm Incorporated | Sharing of user interface objects via a shared space |
CN102902725A (en) * | 2012-09-05 | 2013-01-30 | 曙光信息产业(北京)有限公司 | Page for achieving Web page reuse based on extension point |
CN104838632A (en) * | 2012-09-10 | 2015-08-12 | 泰克尼森有限公司 | Method and system for transferable customized contextual user interfaces |
CN105022615A (en) * | 2014-04-21 | 2015-11-04 | 大唐软件技术股份有限公司 | Interface generating method and system |
CN104572098A (en) * | 2014-12-30 | 2015-04-29 | 北京奇虎科技有限公司 | Updating method and device of mobile terminal page diagram |
CN105608176A (en) * | 2015-12-18 | 2016-05-25 | 东软集团股份有限公司 | Page access method and apparatus |
Non-Patent Citations (3)
Title |
---|
KYLE GIFFORD: "5 Easy Steps for Building Reusable Web Components", Retrieved from the Internet <URL:https://www.bitovi.com/blog/building-reusable-web-components> * |
吴坤;莫国良;彭维;叶修梓;: "基于XML的用户界面管理系统", 计算机应用研究, no. 02, pages 135 - 137 * |
李杰, 秦严严, 田丰, 戴国忠: "CoPenML:基于XML的笔式用户界面构件体系结构", 计算机研究与发展, no. 07, pages 1143 - 1152 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109960768A (en) * | 2019-02-28 | 2019-07-02 | 北京摩拜科技有限公司 | Display methods, device, terminal device and the system of map interface |
Also Published As
Publication number | Publication date |
---|---|
CN108255556B (en) | 2023-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111782300B (en) | Data processing method, device, equipment and system | |
CN109478134A (en) | With the on-demand network code of across account nickname execution | |
CN111506511A (en) | Test case generation method and device, electronic equipment and medium | |
US20060161768A1 (en) | Method of managing software components that are integrated into an embedded system | |
JP2017514218A (en) | Running third-party applications | |
US20140304683A1 (en) | Method, server and computer-readable recording media for managing metastore | |
CN107894920A (en) | Resource allocation method and Related product | |
CN109636435A (en) | Pass through method, apparatus, computer equipment and the medium of small routine linkage marketing | |
CN109032820A (en) | The compatible processing method and processing device of application version | |
CN103514395B (en) | Plug-in right control method and system | |
CN107465662A (en) | Mobile terminal policy management method, mobile terminal and computer-readable recording medium | |
CN108255708A (en) | Method, apparatus, storage medium and the equipment of production file are accessed in test environment | |
CN106055609A (en) | nginx log monitoring method and apparatus, message distribution system and information processing apparatus | |
CN110069911A (en) | Access control method, device, system, electronic equipment and readable storage medium | |
CN112686678A (en) | Method, device, equipment and storage medium for determining false order | |
CN109345392A (en) | Program topic publication, the publication of answer code, answer code check method and system | |
CN106488399A (en) | The determination method and device of point-of-sale terminal POS location | |
CN113726890A (en) | Block chain data service-oriented federal prediction method and system | |
CN111784356B (en) | Payment verification method, device, equipment and storage medium | |
CN108255556A (en) | The interface sharing method and device at multiple interfaces | |
CN105635124A (en) | Flow control method and device | |
CN113987599B (en) | Method, device, equipment and readable storage medium for realizing firmware trusted root | |
US20190320044A1 (en) | Coordinating services across multiple providers | |
KR101523266B1 (en) | Method, server and computer-readable recording media for managing meta store | |
CN109657176A (en) | Web vector graphic state identification method, device, equipment and readable storage medium storing program for executing |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20221013 Address after: Room 1602, 16th Floor, Building 18, Yard 6, Wenhuayuan West Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing 100176 Applicant after: Beijing Lajin Zhongbo Technology Co.,Ltd. Address before: Floor 8, Block E, Yonghe Building, 28 Andingmen East Street, Dongcheng District, Beijing 100007 Applicant before: Tvmining (BEIJING) Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |