CN109753198A - Interface access method, display methods, equipment, medium - Google Patents

Interface access method, display methods, equipment, medium Download PDF

Info

Publication number
CN109753198A
CN109753198A CN201711084926.3A CN201711084926A CN109753198A CN 109753198 A CN109753198 A CN 109753198A CN 201711084926 A CN201711084926 A CN 201711084926A CN 109753198 A CN109753198 A CN 109753198A
Authority
CN
China
Prior art keywords
interface
contact surface
content
display
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711084926.3A
Other languages
Chinese (zh)
Inventor
李绍鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201711084926.3A priority Critical patent/CN109753198A/en
Publication of CN109753198A publication Critical patent/CN109753198A/en
Pending legal-status Critical Current

Links

Abstract

This application discloses a kind of interface access methods.The described method includes: according to the access to the first interface element in the first interface, create second contact surface, it obtains and the associated element content of the first interface element, initial interface content as second contact surface, in the second display desktop independently of the first display desktop, second contact surface is loaded according to the interface content of second contact surface, so that second contact surface loads on the second display desktop, independently shown, the first display desktop is tied up without other interface contents with the first interface, avoid the problem of multiple interface elements tie up limited screen space, overcome screen space it is insufficient caused by check or operational inconvenience, improve the interactive efficiency at interface.

Description

Interface access method, display methods, equipment, medium
Technical field
This application involves interface tech fields, and in particular to interface access method, display methods, computer equipment, calculating Machine readable storage medium storing program for executing.
Background technique
The mutual interface application of single cross refers to the application at only one interface, is load single interface and hands in user and application program Dynamic updates the application program at the interface when mutually, for example, the single page application at only one interface based on web.Single interactive interface Using the characteristics of be: institute it is effective and interaction realized in an interface.
Through applicants have found that for the complicated mutual interface application of single cross, such as Data Analysis Platform etc. is usually had Many interface elements, and screen space is limited, and only allows multiple interface elements to tie up limited screen as far as possible by interface Curtain space, can not arrange screen space shared by each interface element well.And the problem of screen space deficiency obtains not To solution, inconvenience is brought to people's checking or operating in the mutual interface application of single cross, so that influencing the mutual interface application of single cross Interactive efficiency.
Summary of the invention
In view of the above problems, it proposes on the application overcomes the above problem or at least be partially solved in order to provide one kind State the interface access method, display methods, computer equipment, computer readable storage medium of problem.
According to the one aspect of the application, a kind of interface access method is provided characterized by comprising
According to the access to the first interface element in the first interface, second contact surface is created, first interface is located at first Show desktop;
It obtains and the associated element content of the first interface element;
Using the element content as the initial interface content of second contact surface, independently of the second of the first display desktop It shows in desktop, the second contact surface is loaded according to the interface content of the second contact surface.
Optionally, the first display desktop is used to carry the interface content in first interface, second display Desktop is used to carry the interface content in the second contact surface.
Optionally, first interface and the second contact surface are web interface, and the creation second contact surface includes:
Create the embedded interface based on the first interface.
Optionally, described obtain with the associated element content of the first interface element includes:
In the setting position of the interface resources file at first interface, the corresponding member of first interface element is searched Plain content, the element content include the history access record of first interface element, first interface element it is current At least one of status attribute and execution status attribute, the execution status attribute is according to the visit to first interface element Ask that the current state attribute of operation and first interface element generates.
Optionally, in the second display desktop independently of the first display desktop, according to the second contact surface Interface content load the second contact surface and include:
The element content is passed into the second contact surface;
Desktop system is called to load the second contact surface in the second display desktop, to open up in the second contact surface Show the first interface element.
Optionally, first interface element carries corresponding element domain name, described to pass to the element content The second contact surface includes:
Identify the element domain name that first interface element carries;
Interface communications mode is determined according to the element domain name, and will be in the element using determining interface communications mode Appearance passes to the second contact surface.
Optionally, described that interface communications mode is determined according to the element domain name, and using determining interface communications mode The element content, which is passed to the second contact surface, includes:
Judge whether the element domain name is consistent with the first interface domain name at first interface;
If consistent, the element content is passed to by second boundary using the first communication party formula based on window object Face;
If inconsistent, the element content is passed to described second using the second communication method based on message transmission Interface.
Optionally, the method also includes:
Detect that the second contact surface is closed, interface content when closing according to the second contact surface is to described first The element content of interface element is updated.
Optionally, the method also includes:
The element content of first interface element is removed in first interface.
Optionally, the method also includes:
It is inaccessible state that first interface element is arranged in first interface.
Optionally, the method also includes:
According to the access in first interface with the associated second contact surface element of the first interface element, updating described the Second interface.
Optionally, the method also includes:
According to the access to the second contact surface, update in first interface with first interface element associated the The element content of three interface elements.
Optionally, the first display desktop and the second display desktop are by slide handover, or are located at different ends On the screen of end equipment.
According to further aspect of the application, a kind of interface access method is provided, which is characterized in that the method packet It includes:
According to the access to the first interface element in the first interface, second contact surface is created;
The element content of first interface element is passed into the second contact surface, so that the second contact surface is with described Element content is initial interface content, loads the second contact surface.
According to further aspect of the application, a kind of interface access method is provided, which is characterized in that the method packet It includes:
Receive the element content of the first interface transmitting;
Using the element content as initial interface content, the second contact surface is loaded, the second contact surface is according to described The access creation of first interface element in first interface.
According to further aspect of the application, a kind of interface access method is provided, which is characterized in that the method packet It includes:
According to the access to the first display desktop median surface, sub-interface is created;
Obtain the interface content of the sub-interface;
The sub-interface is loaded according to interface content in the second display desktop.
According to further aspect of the application, a kind of display methods is provided, which is characterized in that the described method includes:
There is provided the first interface, wherein first interface includes the first element;
There is provided second contact surface, wherein the second contact surface includes second element;
Wherein, first element is associated with display with the second element.
Optionally, first interface and second contact surface correspond to same process or different processes.
Optionally, first element and second element correspond to the different attribute of same data.
Optionally, first element corresponds to the different data for being associated with display with second element.
Optionally, it includes: modification the first element triggering pair that first element, which is associated with display with the second element, The update of the second contact surface.
Optionally, it includes: the modification second element triggering pair that first element, which is associated with display with the second element, The update at first interface.
Optionally, first interface and the second contact surface pass through slide handover, or positioned at different terminal equipment On screen.
According to further aspect of the application, a kind of computer equipment is provided, including memory, processor and be stored in On memory and the computer program that can run on a processor, which is characterized in that the processor executes the computer journey The method such as above-mentioned one or more is realized when sequence.
According to further aspect of the application, a kind of computer readable storage medium is provided, computer is stored thereon with Program, which is characterized in that the method such as above-mentioned one or more is realized when the program is executed by processor.
According to the embodiment of the present application, by creating second contact surface according to the access to the first interface element in the first interface, It obtains and the associated element content of the first interface element is shown as the initial interface content of second contact surface independently of first In second display desktop of desktop, second contact surface is loaded according to the interface content of second contact surface, so that second contact surface is aobvious second Show and loaded on desktop, independently shown, ties up the first display desktop without other interface contents with the first interface, avoid The problem of multiple interface elements tie up limited screen space, overcome screen space it is insufficient caused by check or operational Inconvenience improves the interactive efficiency at interface.
Further, by according to the visit in first interface with the associated second contact surface element of the first interface element Ask, update the second contact surface, according to the access to the second contact surface, update in first interface with first interface The element content of the third interface element of elements correlation detects that the second contact surface is closed, according to the second contact surface Interface content when closing is updated the element content of first interface element, so that in two different display desktops Information communication may be implemented between first interface of middle load and second contact surface, the variation update in an interface is arrived another In interface, connecting each other for each section in interface is kept when single display desktop originally.
Above description is only the general introduction of technical scheme, in order to better understand the technological means of the application, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features and advantages of the application can It is clearer and more comprehensible, below the special specific embodiment for lifting the application.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the schematic diagram that single page applies median surface element;
Fig. 2 shows interface access by singly showing that desktop switches the schematic diagram of dual display desktop;
Fig. 3 shows a kind of flow chart of interface access method embodiment according to the embodiment of the present application one;
Fig. 4 shows a kind of flow chart of interface access method embodiment according to the embodiment of the present application two;
Fig. 5 shows a kind of flow chart of interface access method embodiment according to the embodiment of the present application three;
Fig. 6 shows a kind of flow chart of interface access method embodiment according to the embodiment of the present application four;
Fig. 7 shows a kind of flow chart of interface access method embodiment according to the embodiment of the present application five;
Fig. 8 shows a kind of flow chart of interface access method embodiment according to the embodiment of the present application six;
Fig. 9 shows a kind of flow chart of display methods embodiment according to the embodiment of the present application seven;
Figure 10 shows the schematic diagram switched between single display desktop and dual display desktop;
Figure 11 shows a kind of structural block diagram of interface access mechanism embodiment according to the embodiment of the present application eight;
Figure 12 shows a kind of structural block diagram of interface access mechanism embodiment according to the embodiment of the present application nine;
Figure 13 shows a kind of structural block diagram of interface access mechanism embodiment according to the embodiment of the present application ten;
Figure 14 shows a kind of structural block diagram of interface access mechanism embodiment according to the embodiment of the present application 11;
Figure 15 shows a kind of structural block diagram of display device embodiment according to the embodiment of the present application 12;
Figure 16 shows the exemplary system that can be used for realizing each embodiment described in the disclosure.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
To make those skilled in the art more fully understand the application, below to this application involves concept be illustrated:
Interface includes the medium for transmitting and exchanging information between man-machine, for operating with and feedback information, for example, clear Interface, APP (Application, application program) interface of single page application run etc. or any other applicable look in device Interface, the embodiment of the present application are without limitation.
On an interface, according to locating region, the function or actual needs of realization, at least one can be divided into " interface element ", interface element can by display content (for example, text, image, animation, video, table and list etc.), can grasp Make content (for example, hyperlink, function button, feature card etc.), with perhaps can the associated data (example of operation content in display Such as, database associated with table) and realize at least one of code of function logic composition on interface, specifically it can wrap Any suitable model split interface element is included, the embodiment of the present application is without limitation.
For example, single page as shown in Figure 1 applies the schematic diagram of median surface element, function is analyzed in a realization data visualization In the single page application of energy, according to the function of realizing on the page, the page is divided into two interface elements, wherein real in region " A " The visual presentation of existing data, by display content therein and can operation content, be divided into the first interface element (visual presentation Interface element);Operation of the user to data is realized in region " B ", by display content therein with can operation content, be divided into the Second interface element (user interface element).In some cases, interface element and user interface member are visualized Element can be in communication with each other.
In this application, introduce " element content ", display content for indicating to be displayed on the screen, can operation content, And in display perhaps can the associated data of operation content, realize on interface code of function logic etc. or other The applicable content of meaning, the embodiment of the present application are without limitation.For example, the interface with machine customer service dialogue realized on interface In element, element content include dialog box, dialog history record, input frame, in input frame not issue content, FAQs clear Single, file transmission entrance, picture insertion button etc..
Computer, mobile phone, tablet computer, TV and other electronic products can be by least one display desktops aobvious Show and display service is provided on device (for example, mobile phone screen, retina display screen etc.), display desktop can be operating system offer Or other applications are providing or any other applicable display desktop, the embodiment of the present application do not limit this System.For example, on the smart phone of multi-screen (display desktop) or on the browser of openable multiple tabss (display desktop), Different interfaces can be shown simultaneously on different display desktops, can switch display desktop by the operations such as sliding, clicking, To realize the switching between the interface loaded on display desktop.
Different display desktops can on the single screen of a terminal, or on multiple screens of a terminal, Or on the single or multiple screens of multiple terminals.Wherein, when multiple display desktops are cross-terminal displays, it might even be possible to including Different types of terminal.For example, the first display desktop, on mobile phone, on TV, third shows that desktop exists to the second display desktop On tablet computer.
In the embodiment of the present application, the first interface and second contact surface are different interfaces, in the interface content of second contact surface It include the element content of the interface element in the first interface.First display desktop and the second display desktop are different desktops, Different contents can be shown simultaneously.
The embodiment of the present application can be applied and be shown on individual desktop the part interface element in interface to be sliced into In the process, for complicated single interface, multiple interface elements is usually had and are tied up in limited screen space, the application needle To the problem of screen space deficiency, the display mechanism of interface element is improved, so that the first boundary in the first interface of access When surface element, second contact surface and using the associated element content of the first interface element as initial interface content is created, second contact surface exists It is loaded on second display desktop, ties up the first display desktop without other interface contents with the first interface, solve multiple Interface element ties up the problem of limited screen space.
In the schematic diagram of interface access as shown in Figure 2 by singly showing desktop switching dual display desktop, it is located at the first display First interface of desktop is made of the first interface element and second contact surface element, is accessed the first interface element in the first interface When, second contact surface is created, initial interface content of the associated element content of the first interface element as second contact surface is obtained, according to The interface content of second contact surface, by second contact surface load in the second display desktop independently of the first display desktop, for boundary The display in face completes the switching from single display desktop to dual display desktop.
The embodiment of the present application can be applied in the application scenarios of browser or any other applicable APP, and the application is real Example is applied mainly to be illustrated the interface access method of the embodiment of the present application by taking the single page application run on browser as an example, other The corresponding interface access method of APP is cross-referenced.
In addition it should be noted that, interface access method provided by the embodiments of the present application may operate on intelligent terminal, Above-mentioned intelligent terminal specifically includes but unlimited: smart phone, tablet computer, E-book reader, MP3 (dynamic image expert pressure Contracting standard audio level 3, Moving Picture Experts Group Audio Layer III) player, MP4 (dynamic Image expert's compression standard audio level 4, Moving Picture Experts Group Audio Layer IV) player, Pocket computer on knee, vehicle-mounted computer, desktop computer, set-top box, intelligent TV set, wearable device etc..
Referring to Fig. 3, a kind of flow chart of interface access method embodiment according to the embodiment of the present application one, the party are shown Method can specifically include following steps:
Step 101, according to the access to the first interface element in the first interface, second contact surface is created.
In the embodiment of the present application, the first interface is located on the first display desktop, and the first interface can be according to function, region Or demand is divided at least one interface element.It accesses, is can specifically include for for wherein the first interface element The touch operation of one interface element any position, the clicking operation for predeterminated position, the behaviour of the sliding for the first interface element Perhaps cutting shows button of desktop etc. or any other applicable access mode to button on work, triggering interface element, this Apply for that embodiment is without limitation.
Second contact surface can specifically include the frame at building interface, the interface contents such as interface element or any other suitable Content, the embodiment of the present application are without limitation.The interface content of second contact surface can have the Versatile content at interface, example Such as, interface framework, interface title etc., can also only have the first interface element element content or any other applicable boundary Face content, the embodiment of the present application are without limitation.
In the embodiment of the present application, when having multiple interface elements in the first interface, as a kind of optional implementation, Access to each interface element can be respectively created corresponding multiple interfaces, can not only there is second contact surface, can also there is Three interfaces, the 4th interface etc., the embodiment of the present application is without limitation.
It in the embodiment of the present application, can according to the access to the first interface element as another optional implementation To create a second contact surface, for by the first interface element cutting into second contact surface, can also will be in the first interface element Other associated interface elements also cutting into second contact surface.Alternatively, creating multiple boundaries according to the access to the first interface element Face, by the first interface element cutting to second contact surface, by other associated interface element cuttings of the first interface element to other boundaries In face.It can specifically include the mode at any suitable creation interface, the embodiment of the present application is without limitation.
For example, being realized in the single page application of data visualization analysis at one, finger touch operation is received, is detected in one's hands Refer to that the position touched is being realized on the interface element of machine customer service dialogue, according to the access to the interface element, creates one Second contact surface.
Step 102, it obtains and the associated element content of the first interface element.
In the embodiment of the present application, the associated element content of the first interface element can concentrate on a region in interface It is interior, many places region of different location in interface can also be dispersed in.Identity element content may be associated with an interface element, can also More than one interface element can be associated with.It is available all with first when obtaining with the associated element content of the first interface element The associated element content of interface element or available element content only associated with the first interface element, Huo Zheke To obtain Partial Elements content associated with the first interface element according to demand, can specifically include in any suitable element Hold, the embodiment of the present application is without limitation.
Step 103, using the element content as the initial interface content of second contact surface, independently of the first display table In the second display desktop in face, the second contact surface is loaded according to the interface content of the second contact surface.
In the embodiment of the present application, after obtaining element content, using element content as the initial interface content of second contact surface. It can also include the other content in addition to element content in initial interface content, for example, interface title, at element content Content obtained after reason etc. or any other applicable content, the embodiment of the present application are without limitation.
In the embodiment of the present application, the second display desktop is independently of the first display desktop, according in the interface of second contact surface Hold, loads second contact surface on the second display desktop.Second display desktop can be adjacent with the first display desktop, can also be with the One display desktop is non-conterminous.Second display desktop can be neighbouring with the first display desktop or left and right is adjacent.
When determining the second display desktop, if there are two adjacent desktops for the first display desktop, will can not wherein have There is the display desktop occupied by other content as the second display desktop.If the adjacent display desktop of the first display desktop is all It is occupied by other content, then can choose one of as second and show desktop, and it is aobvious to replace second to load second contact surface Show the content that desktop occupied originally, or a nearest conduct second can be chosen in non-conterminous display desktop and show table Face.It can specifically include the mode that any suitable determination second shows desktop, the embodiment of the present application is without limitation.
According to the embodiment of the present application, by creating second contact surface according to the access to the first interface element in the first interface, It obtains and the associated element content of the first interface element is shown as the initial interface content of second contact surface independently of first In second display desktop of desktop, second contact surface is loaded according to the interface content of second contact surface, so that second contact surface is aobvious second Show and loaded on desktop, independently shown, ties up the first display desktop without other interface contents with the first interface, it keeps away The problem of multiple interface elements tie up limited screen space is exempted from, has overcome on checking or operate caused by screen space deficiency Inconvenience, improve the interactive efficiency at interface.
In the embodiment of the present application, optionally, the first display desktop is used to carry the interface in first interface Content, the second display desktop are used to carry the interface content in the second contact surface.
Desktop is shown for the interface content in load bearing interface, different display desktops can load in different interfaces Hold, wherein the first display desktop is used to carry the interface content in the first interface, and the second display desktop is for carrying second contact surface In interface content.
In the embodiment of the present application, optionally, the first interface and second contact surface are web interface, the creation second contact surface A kind of implementation include: creation the embedded interface based on the first interface.Wherein, embedded interface can be embedded into another boundary In face, the second contact surface of creation is the embedded interface based on the first interface.For example, iframe label can be used to create comprising another The inline frame at an outer interface, allows the nested other interface in interface, and iframe is HTML (HyperText Markup Language, HyperText Markup Language) label.Using iframe label can based on the first interface creating embed interface as Second contact surface.
For single page application, if interface elements different in the first interface are cut into N number of interface, at least There is N-1 interface element to need to create embedded interface by way of iframe.
It in the embodiment of the present application, optionally, can also include: to be removed in first interface in a kind of implementation The element content of first interface element.The element content of first interface element is split away, as second contact surface Interface content, it is possible to the element content of the first interface element is removed in the first interface, no longer in the first interface show The element content for showing the first interface element, until second contact surface closing, then by the element content of the first interface element on the first boundary Restore in face.Meanwhile first interface element the front and back that is split away from the first interface of element content, keep each in the first interface Communication between interface element, and the communication mode of intermodule is constant.
It in the embodiment of the present application, optionally, can also include: to be set in first interface in another implementation Setting first interface element is inaccessible state.The element content of first interface element is split away, as The interface content of second interface can retain the first interface element of display in the first interface, but the first interface element is arranged the It is inaccessible state in one interface, can be only accessed in second contact surface.First interface can be communicated with second contact surface, by The variation of the element content of first interface element in second interface notifies the first interface to carry out corresponding display variation.
In the embodiment of the present application, optionally, the first display desktop is cut with the second display desktop by sliding It changes, or on the screen of different terminal equipment.First display desktop and second display desktop between can by slide into Row switching, for example, passing through the display desktop that can switch on screen that horizontally slips on smart phone.Or first display desktop and Second display desktop is on the screen positioned at different terminal equipment, for example, after smart phone and smart television are attached, the One display desktop can show that the second display desktop can be shown on the screen of smart television on the screen of smart phone. It can specifically include any suitable terminal device, can be communicated by any suitable mode between terminal device, this Apply for that embodiment is without limitation.
Referring to Fig. 4, a kind of flow chart of interface access method embodiment according to the embodiment of the present application two, the party are shown Method can specifically include following steps:
Step 201, according to the access to the first interface element in the first interface, second contact surface is created.
In the embodiment of the present application, the specific implementation of this step may refer to the description in other embodiments, herein It does not repeat separately.
Step 202, first interface interface resources file setting position, search first interface element Corresponding element content.
In the embodiment of the present application, interface resources file includes that all can therefrom read out resource required for interface File can specifically include the file of picture, audio, video, literal resource or any other applicable interface content, this Apply for that embodiment is without limitation.According to the correlative code of the first interface element, the interface resources at the first interface can be determined Setting position relevant to the first interface element in file, can specifically include any suitable setting position, and the application is implemented Example is without limitation.
After determining setting position corresponding with the first interface element, in the setting position of interface resources file, search The corresponding element content of first interface element.
In the embodiment of the present application, element content further includes the history access record of the first interface element, the first Interface Element At least one of the current state attribute of element and execution status attribute, execute status attribute according to the visit to the first interface element Ask that the current state attribute of operation and the first interface element generates.
Wherein, history access record includes note caused by the interactive operation or data processing of the interface element on interface Record.For example, dialog history record, operation note etc. in dialog interface element, can specifically include the note of any suitable form Record, the embodiment of the present application are without limitation.
Wherein, current state attribute includes the attribute of the current state of the interface element on interface, be can specifically include The all the elements shown on interface and all related contents not shown on interface.For example, the input in dialog interface element Input content, " transmission " button for not issued in frame, input frame etc. or any other applicable attribute, the embodiment of the present application It is without limitation.
Correspondingly, executing status attribute includes according to the access operation and the first interface element to the first interface element The attribute of the execution state of current state parameter interface element generated can specifically include unaltered after access operation The current state attribute being changed after information entrained by current state attribute, access operation and access operation.For example, right The access operation of words interface element is included in input frame input content, and carries out transmission operation, and executing status attribute includes access Preoperative current state attribute, and the content and input operation or any other applicable attribute, the application of input are real It is without limitation to apply example.
Step 203, the element content is passed into the second contact surface.
In the embodiment of the present application, element content passes to second contact surface from the first interface, can by a variety of interfaces it Between communication mode realize, it is specific need according to the first interface element and the first interface to be deployed under same domain name, still not Same area under one's name, determines communication mode, can specifically include any suitable communication mode transmitting element content, the embodiment of the present application It is without limitation.
In the embodiment of the present application, optionally, first interface element carries corresponding element domain name, in interface Interface element can have the element domain name identical or different with interface, described that the element content is passed to second boundary A kind of implementation in face may include: to need first to identify the first Interface Element before the first interface is communicated with second contact surface The element domain name that element carries determines interface communications mode according to the element domain name, and uses determining interface communications mode by institute It states element content and passes to second contact surface.Interface communications mode includes first communication party formula based on window object, based on message Second communication method of transmitting etc. or any other applicable communication mode, the embodiment of the present application are without limitation.
First communication party formula based on window object realizes communication by the reference between window object, for example, window Object indicates the window opened in browser, and second contact surface, browser are created in a manner of iframe if it is the first interface A window object can be created for html document, and creates an additional window object for second contact surface.In element fields Famous prime minister simultaneously, gets the window object at the first interface of introducing first, element content is returned to second contact surface Window object is achieved that same area message transmission.
Message transmission is carried out to realize communication by message queue based on the second communication method of message transmission, for example, PostMessage mode is one of Windows API (application programming interfaces) common mathematical function, for a piece of news to be put into Into message queue.Message in message queue is by calling GetMessage and PeekMessage to obtain.The communication mode is logical It crosses postMessage object and sends information to another window, can safely realize across sources traffic, evaded for two The element at different interfaces could only lead to when the interface for executing them is located at agreement having the same, port numbers and host The limitation of letter.PostMessage mode is realized across document, multiwindow, cross-domain message transmission.
In the embodiment of the present application, optionally, described that interface communications mode is determined according to the element domain name, and using true A kind of implementation that the element content passes to the second contact surface be may include: judgement by fixed interface communications mode Whether the element domain name of one interface element is consistent with the first interface domain name at the first interface, if unanimously, using based on window pair Element content is passed to second contact surface by the first communication party formula of elephant, logical using second based on message transmission if inconsistent Element content is passed to the second contact surface by letter mode.
Step 204, desktop system is called to load the second contact surface in the second display desktop, described second The first interface element is shown in interface.
In the embodiment of the present application, desktop system includes providing the system of management and support for display desktop, for example, being based on The desktop system of Windows (desktop operating system), the desktop system for being based on Android (Android operation system), specifically can be with Including any suitable system, the embodiment of the present application is without limitation.
Desktop system is called to load second contact surface on the second display desktop, so that the load of the first interface shows table first Face, while second contact surface load shows desktop second, and the interface content of second contact surface includes the member of the first interface element Plain content shows the first interface element in second contact surface, then avoids other boundaries in the first interface element and the first interface Surface element ties up the problem shown on desktop at one.
According to the embodiment of the present application, by creating second contact surface according to the access to the first interface element in the first interface, In the setting position of the interface resources file at the first interface, the corresponding element content of first interface element is searched, and will Element content passes to second contact surface, calls desktop system to load second contact surface in the second display desktop, second The first interface element is shown in interface so that second contact surface second display desktop on load, independently shown, without with Other interface contents at the first interface tie up the first display desktop, avoid multiple interface elements and tie up limited screen space Problem, overcome screen space it is insufficient caused by check or operational inconvenience, improve the interactive efficiency at interface.
Referring to Fig. 5, a kind of flow chart of interface access method embodiment according to the embodiment of the present application three, the party are shown Method can specifically include following steps:
Step 301, according to the access to the first interface element in the first interface, second contact surface is created.
In the embodiment of the present application, the specific implementation of this step may refer to the description in other embodiments, herein It does not repeat separately.
Step 302, it obtains and the associated element content of the first interface element.
In the embodiment of the present application, the specific implementation of this step may refer to the description in other embodiments, herein It does not repeat separately.
Step 303, using the element content as the initial interface content of second contact surface, independently of the first display table In the second display desktop in face, the second contact surface is loaded according to the interface content of the second contact surface.
In the embodiment of the present application, the specific implementation of this step may refer to the description in other embodiments, herein It does not repeat separately.
Step 304, according to the access in first interface with the associated second contact surface element of the first interface element, more The new second contact surface.
In the embodiment of the present application, second contact surface element includes with the first interface element in data processing, operating interactive etc. There are associated interface elements for aspect, the access to second contact surface element, will access corresponding operation or data pass to second Each embodiment of description in interface, specific communication mode and to(for) interface communications mode, and second contact surface is updated, it will More newly generated variation is loaded on the second display desktop.
For example, being realized in the single page application of data visualization analysis at one, interface element and machine visitor are visualized It takes dialog interface element there are the associations on operating interactive and selected in the visual presentation interface element in the first interface Extract operation is chosen content of problems, is accessed accordingly, can by the corresponding content update of selection operation into second contact surface, The content of problems is shown in the machine customer service dialog interface element of second contact surface.
Step 305, according to the access to the second contact surface, update in first interface with first interface element The element content of associated third interface element.
In the embodiment of the present application, third interface element includes with the first interface element in data processing, operating interactive etc. There are associated interface elements for aspect, the access to second contact surface, will access corresponding operation or data pass to the first interface In third interface element, the description in specific communication mode and each embodiment for interface communications mode, and to the first boundary Element content in face with the associated third interface element of the first interface element is updated, and more newly generated variation is loaded into On first display desktop.
For example, being realized in the single page application of data visualization analysis at one, interface element and user point are visualized Analysing interface element, there are the associations in data processing, access second contact surface, detect customer analysis interface element when according to access Data after variation are passed to the visual presentation interface element in the first interface by the variation of middle data, and to visualization exhibition Show that the element content of interface element is updated, more newly generated variation is loaded on the second display desktop.
Step 306, detect that the second contact surface is closed, the interface content pair when closing according to the second contact surface The element content of first interface element is updated.
In the embodiment of the present application, the closing of second contact surface includes that interface button is closed in triggering, triggering switches single desktop The task of interface element such as is completed modes or any other applicable mode on button or second contact surface, and the application is implemented Example is without limitation.When detecting that second contact surface closes, interface content when second contact surface is closed is obtained, it will be in interface Appearance is passed back to the first interface, and specific communication mode may refer to the description in each embodiment for interface communications mode, and right The element content of the first interface element is updated on first interface.
According to the embodiment of the present application, by creating second contact surface according to the access to the first interface element in the first interface, It obtains and the associated element content of the first interface element is shown as the initial interface content of second contact surface independently of first In second display desktop of desktop, second contact surface is loaded according to the interface content of second contact surface, so that second contact surface is aobvious second Show and loaded on desktop, independently shown, ties up the first display desktop without other interface contents with the first interface, it keeps away The problem of multiple interface elements tie up limited screen space is exempted from, has overcome on checking or operate caused by screen space deficiency Inconvenience, improve the interactive efficiency at interface.
Further, by according to the visit in first interface with the associated second contact surface element of the first interface element Ask, update the second contact surface, according to the access to the second contact surface, update in first interface with first interface The element content of the third interface element of elements correlation detects that the second contact surface is closed, according to the second contact surface Interface content when closing is updated the element content of first interface element, so that in two different display desktops Information communication may be implemented between first interface of middle load and second contact surface, the variation update in an interface is arrived another In interface, connecting each other for each section in interface is kept when single display desktop originally.
Referring to Fig. 6, a kind of flow chart of interface access method embodiment according to the embodiment of the present application four, the party are shown Method can specifically include following steps:
Step 401, according to the access to the first interface element in the first interface, second contact surface is created.
Step 402, the element content of first interface element is passed into the second contact surface, for second boundary Face loads the second contact surface using the element content as initial interface content.
According to the embodiment of the present application, by creating second contact surface according to the access to the first interface element in the first interface, The element content of first interface element is passed into the second contact surface, so that the second contact surface is with the element content For initial interface content, the second contact surface is loaded, so that second contact surface loads on the second display desktop, is independently shown Show, tie up the first display desktop without other interface contents with the first interface, avoid multiple interface elements tie up it is limited Screen space the problem of, overcome screen space it is insufficient caused by check or operational inconvenience, improve the interaction at interface Efficiency.
Referring to Fig. 7, a kind of flow chart of interface access method embodiment according to the embodiment of the present application five, the party are shown Method can specifically include following steps:
Step 501, the element content of the first interface transmitting is received.
Step 502, using the element content as initial interface content, the second contact surface, the second contact surface root are loaded It is created according to the access to the first interface element in first interface.
According to the embodiment of the present application, the element content transmitted by receiving the first interface, is initial with the element content Interface content loads the second contact surface, and the second contact surface is according to the access to the first interface element in first interface Creation is independently shown, so that second contact surface loads on the second display desktop without other interfaces with the first interface Content ties up the first display desktop, the problem of multiple interface elements tie up limited screen space is avoided, screen sky is overcome Between check caused by deficiency or operational inconvenience, improve the interactive efficiency at interface.
Referring to Fig. 8, a kind of flow chart of interface access method embodiment according to the embodiment of the present application six, the party are shown Method can specifically include following steps:
Step 601, according to the access to the first display desktop median surface, sub-interface is created.
Step 602, the interface content of the sub-interface is obtained.
Step 603, the sub-interface is loaded according to interface content in the second display desktop.
According to the embodiment of the present application, by creating sub-interface, obtaining institute according to the access to the first display desktop median surface The interface content for stating sub-interface loads the sub-interface according to interface content in the second display desktop, so that second contact surface exists It is loaded on second display desktop, is independently shown, tie up the first display table without other interface contents with the first interface Face, avoid the problem of multiple interface elements tie up limited screen space, overcome screen space it is insufficient caused by check or Operational inconvenience improves the interactive efficiency at interface.
Referring to Fig. 9, a kind of flow chart of display methods embodiment according to the embodiment of the present application seven, this method tool are shown Body may comprise steps of:
Step 701, the first interface is provided.
In the embodiment of the present application, the first interface is loaded on the screen, and the first interface includes the first element.
Step 702, second contact surface is provided.
In the embodiment of the present application, second contact surface is loaded on the screen, and second contact surface includes second element.Wherein, first It includes the different attribute that the first element and second element correspond to same data that element, which is associated with display with second element, or corresponding In the different data of association display, or any suitable data processing, in terms of there is association, the application is real It is without limitation to apply example.Access to the first element will access attribute change caused by corresponding operation or data and be transmitted to Second element, and second contact surface is updated, more newly generated variation is loaded on display screen.Or to second element Access, attribute change caused by corresponding operation or data will be accessed and be transmitted to the first element, and the first interface is carried out more Newly, more newly generated variation is loaded on display screen.
According to the embodiment of the present application, by providing the first interface and second contact surface, and the first element and second element are closed Connection display updates the variation in an interface to another so that information communication may be implemented between two different interfaces In a interface, element connecting each other in single interface is kept.
In the embodiment of the present application, optionally, first interface and second contact surface correspond to same process or it is different into Journey.
In one case, the first interface and second contact surface correspond to same process, the content of corresponding control in a process Be it is associated, so another element also updates therewith when element updates, that is to say the pass of the first element and second element Connection display.
In another case, the first interface and second contact surface correspond to different processes, if relevant between different processes, lead to The communication between process is crossed, when the interface content in a process updates, the interface being transmitted in another process will be updated, It that is to say that the association of the first element and second element is shown.
In the embodiment of the present application, optionally, first element and second element correspond to not belonging to for same data Property.
Data can be described with one group of attribute, and attribute is one data word section, indicate a feature of data, attribute with The meanings such as term " feature ", " variable " are the same, for example, the attribute for describing document may include word content, color etc..It is same Can be interrelated between the different attribute of a data, when an attribute change, another attribute can also change with therewith one, First element and second element can correspond to the different attribute of same data, and the first element is associated with display with second element.
In the embodiment of the present application, optionally, first element corresponds to the different numbers for being associated with display with second element According to.
Can also be interrelated between data, when a data change, another data also one changes therewith, the One element and second element can correspond to the different data of interrelated display, show so that the first element is associated with second element Show.
In the embodiment of the present application, optionally, it includes: modification institute that first element, which is associated with display with the second element, State update of the first element triggering to the second contact surface.
When modifying the first element on the first interface, since the first element is associated with display with second element, by first The variation of element passes to second contact surface, specific communication mode and the description in each embodiment for interface communications mode, and Second contact surface is updated, more newly generated variation is loaded on second contact surface.
In the embodiment of the present application, optionally, it includes: modification institute that first element, which is associated with display with the second element, State update of the second element triggering to first interface.
When modifying second element on second contact surface, since second element is associated with display with the first element, by second The variation of element passes to the first interface, specific communication mode and the description in each embodiment for interface communications mode, and First interface is updated, more newly generated variation is loaded on the first interface.
In the embodiment of the present application, optionally, first interface and the second contact surface pass through slide handover or position In on the screen of different terminal equipment.
It can be switched over by sliding between first interface and second contact surface, for example, being slided on smart phone by left and right The dynamic interface that can switch the display on screen.Or first interface and second contact surface be on the screen of different terminal equipment , for example, the first interface can be shown on the screen of smart phone after smart phone and smart television are attached, second Interface can be shown on the screen of smart television.
In the embodiment of the present application, specific implementation may refer to the description in previous embodiment, not repeat separately herein.
It should be understood that the method and step in above-described embodiment is not each essential, Under specific situation, it is convenient to omit one or more of steps, as long as can be realized the technical purpose of interface access method. The quantity and its sequence of step in the embodiment that the present invention does not limit, protection scope of the present invention is when with the limit of claims It is set to standard.
To make those skilled in the art more fully understand the application, below by way of specific example to a kind of reality of the application Existing mode is illustrated.
The schematic diagram switched between single display desktop as shown in Figure 10 and dual display desktop.
The first interface includes interface element A and interface element B in first display desktop, and can between two interface elements To be in communication with each other.
Step 1 is shown in desktop first, is accessed to the interface element B at the first interface.
Step 2, creation second contact surface.
Interface element B is sliced into second contact surface by step 3.
Step 4 loads second contact surface in the second display desktop, and keeps the first interface median surface elements A and the second boundary The mutual communication of face median surface element B.
Step 5, the interface element B at the first interface update is in off state in the first display desktop it is not openable.
Step 6 closes second contact surface in the second display desktop, while interface is restored at the first interface in the first display desktop Element B, and operation note when being closed according to second contact surface is restored in the first display desktop.
Referring to Fig.1 1, a kind of structural block diagram of interface access mechanism embodiment according to the embodiment of the present application eight is shown, It can specifically include:
Interface creating module 801, for creating second contact surface according to the access to the first interface element in the first interface, First interface is located at the first display desktop;
Content obtains module 802, for obtaining and the associated element content of the first interface element;
Interface loading module 803, for using the element content as the initial interface content of second contact surface, independently of institute It states in the second display desktop of the first display desktop, the second contact surface is loaded according to the interface content of the second contact surface.
In the embodiment of the present application, optionally, the first display desktop is used to carry the display in first interface Content, the first display desktop are used to carry the display content in the second contact surface.
In the embodiment of the present application, optionally, first interface and the second contact surface are web interface, the interface Creation module includes:
Embedded interface creating submodule, for creating the embedded interface based on the first interface.
In the embodiment of the present application, optionally, the content obtains module, specifically for the interface at first interface The setting position of resource file, searches the corresponding element content of first interface element, and the element content includes described In the history access record of first interface element, the current state attribute of first interface element and execution status attribute extremely Few one kind, it is described execute status attribute according to first interface element access operation and first interface element Current state attribute generates.
In the embodiment of the present application, optionally, the interface loading module includes:
Content transmits submodule, for the element content to be passed to the second contact surface;
Interface loads submodule, for calling desktop system to load the second contact surface in the second display desktop, To show the first interface element in the second contact surface.
In the embodiment of the present application, optionally, first interface element carries corresponding element domain name, the content Transmitting submodule includes:
Domain name recognition unit, the element domain name that first interface element carries for identification;
Transfer unit, for determining interface communications mode according to the element domain name, and using determining interface communications side The element content is passed to the second contact surface by formula.
In the embodiment of the present application, optionally, the transfer unit includes:
Judgment sub-unit, for judging whether the element domain name is consistent with the first interface domain name at first interface;
First transmitting subelement, if using the first communication party formula based on window object by the element for consistent Content passes to the second contact surface;
Second transmitting subelement, if using the second communication method based on message transmission by the member for inconsistent Plain content passes to the second contact surface.
In the embodiment of the present application, optionally, described device further include:
First content update module is closed for detecting that the second contact surface is closed according to the second contact surface When interface content the element content of first interface element is updated.
In the embodiment of the present application, optionally, described device further include:
Content removes module, for removing the element content of first interface element in first interface.
In the embodiment of the present application, optionally, described device further include:
State setting module is inaccessible state for first interface element to be arranged in first interface.
In the embodiment of the present application, optionally, described device further include:
Interface update module, for according to in first interface with the associated second contact surface element of the first interface element Access, update the second contact surface.
In the embodiment of the present application, optionally, described device further include:
Second content update module, for according to access to the second contact surface, update in first interface with institute State the element content of the associated third interface element of the first interface element.
In the embodiment of the present application, optionally, the first display desktop is cut with the second display desktop by sliding It changes, or on the screen of different terminal equipment.
According to the embodiment of the present application, by creating second contact surface according to the access to the first interface element in the first interface, It obtains and the associated element content of the first interface element is shown as the initial interface content of second contact surface independently of first In second display desktop of desktop, second contact surface is loaded according to the interface content of second contact surface, so that second contact surface is aobvious second Show and loaded on desktop, independently shown, ties up the first display desktop without other interface contents with the first interface, it keeps away The problem of multiple interface elements tie up limited screen space is exempted from, has overcome on checking or operate caused by screen space deficiency Inconvenience, improve the interactive efficiency at interface.
Referring to Fig.1 2, a kind of structural block diagram of interface access mechanism embodiment according to the embodiment of the present application nine is shown, It can specifically include:
Interface creating module 901, for creating second contact surface according to the access to the first interface element in the first interface;
Content delivery module 902, for the element content of first interface element to be passed to the second contact surface, with For the second contact surface using the element content as initial interface content, the second contact surface is loaded.
According to the embodiment of the present application, by creating second contact surface according to the access to the first interface element in the first interface, The element content of first interface element is passed into the second contact surface, so that the second contact surface is with the element content For initial interface content, the second contact surface is loaded, so that second contact surface loads on the second display desktop, is independently shown Show, tie up the first display desktop without other interface contents with the first interface, avoid multiple interface elements tie up it is limited Screen space the problem of, overcome screen space it is insufficient caused by check or operational inconvenience, improve the interaction at interface Efficiency.
Referring to Fig.1 3, a kind of structural block diagram of interface access mechanism embodiment according to the embodiment of the present application ten is shown, It can specifically include:
Content receiver module 1001, for receiving the element content of the first interface transmitting;
Interface loading module 1002, for loading the second contact surface, institute using the element content as initial interface content Second contact surface is stated to be created according to the access to the first interface element in first interface.
According to the embodiment of the present application, the element content transmitted by receiving the first interface, is initial with the element content Interface content loads the second contact surface, and the second contact surface is according to the access to the first interface element in first interface Creation is independently shown, so that second contact surface loads on the second display desktop without other interfaces with the first interface Content ties up the first display desktop, the problem of multiple interface elements tie up limited screen space is avoided, screen sky is overcome Between check caused by deficiency or operational inconvenience, improve the interactive efficiency at interface.
Referring to Fig.1 4, show a kind of structural frames of interface access mechanism embodiment according to the embodiment of the present application 11 Figure, can specifically include:
Sub-interface creation module 1101, for creating sub-interface according to the access to the first display desktop median surface;
Interface content obtains module 1102, for obtaining the interface content of the sub-interface;
Sub-interface loading module 1103, for loading the sub-interface according to interface content in the second display desktop.
According to the embodiment of the present application, by creating sub-interface, obtaining institute according to the access to the first display desktop median surface The interface content for stating sub-interface loads the sub-interface according to interface content in the second display desktop, so that second contact surface exists It is loaded on second display desktop, is independently shown, tie up the first display table without other interface contents with the first interface Face, avoid the problem of multiple interface elements tie up limited screen space, overcome screen space it is insufficient caused by check or Operational inconvenience improves the interactive efficiency at interface.
Referring to Fig.1 5, a kind of structural block diagram of display device embodiment according to the embodiment of the present application 12 is shown, is had Body may include:
First interface provides module 1201, for providing the first interface, wherein first interface includes the first element;
Second contact surface provides module 1202, for providing second contact surface, wherein the second contact surface includes second element;
Wherein, first element is associated with display with the second element.
In the embodiment of the present application, optionally, first interface and second contact surface correspond to same process or it is different into Journey.
In the embodiment of the present application, optionally, first element and second element correspond to not belonging to for same data Property.
In the embodiment of the present application, optionally, first element corresponds to the different numbers for being associated with display with second element According to.
In the embodiment of the present application, optionally, it includes: modification institute that first element, which is associated with display with the second element, State update of the first element triggering to the second contact surface.
In the embodiment of the present application, optionally, it includes: modification institute that first element, which is associated with display with the second element, State update of the second element triggering to first interface.
In the embodiment of the present application, optionally, first interface and the second contact surface pass through slide handover or position In on the screen of different terminal equipment.
According to the embodiment of the present application, by providing the first interface and second contact surface, and the first element and second element are closed Connection display updates the variation in an interface to another so that information communication may be implemented between two different interfaces In a interface, element connecting each other in single interface is kept.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Embodiment of the disclosure can be implemented as using any suitable hardware, firmware, software, or and any combination thereof into The system of the desired configuration of row.Figure 16, which is schematically shown, can be used for realizing showing for each embodiment described in the disclosure Example property system (or device) 1300.
For one embodiment, Figure 16 shows exemplary system 1300, which has one or more processors 1302, the system control module (chipset) 1304, quilt of at least one of (one or more) processor 1302 are coupled to It is coupled to the system storage 1306 of system control module 1304, is coupled to the non-volatile memories of system control module 1304 Device (NVM)/storage equipment 1308, the one or more input-output apparatus 1310 for being coupled to system control module 1304, with And it is coupled to the network interface 1312 of system control module 1306.
Processor 1302 may include one or more single or multiple core processors, and processor 1302 may include general processor Or any combination of application specific processor (such as graphics processor, application processor, Baseband processor etc.).In some embodiments In, system 1300 can be as the browser described in the embodiment of the present application.
In some embodiments, system 1300 may include with instruction one or more computer-readable mediums (for example, System storage 1306 or NVM/ store equipment 1308) and mutually merge with the one or more computer-readable medium and be configured To execute instruction the one or more processors 1302 to realize module thereby executing movement described in the disclosure.
For one embodiment, system control module 1304 may include any suitable interface controller, with to (one or It is multiple) at least one of processor 1302 and/or any suitable equipment or element that are communicated with system control module 1304 Any suitable interface is provided.
System control module 1304 may include Memory Controller module, to provide interface to system storage 1306.It deposits Memory controller module can be hardware module, software module and/or firmware module.
System storage 1306 can be used for for example, load of system 1300 and storing data and/or instruction.For one Embodiment, system storage 1306 may include any suitable volatile memory, for example, DRAM appropriate.In some implementations In example, system storage 1306 may include four Synchronous Dynamic Random Access Memory of Double Data Rate type (DDR4SDRAM).
For one embodiment, system control module 1304 may include one or more i/o controllers, with to NVM/ stores equipment 1308 and (one or more) input-output apparatus 1310 provides interface.
For example, NVM/ storage equipment 1308 can be used for storing data and/or instruction.NVM/ stores equipment 1308 Any suitable nonvolatile memory (for example, flash memory) and/or may include that any suitable (one or more) is non-volatile Equipment is stored (for example, one or more hard disk drives (HDD), one or more CD (CD) drivers and/or one or more A digital versatile disc (DVD) driver).
NVM/ storage equipment 1308 may include a part for the equipment being physically mounted on as system 1300 Storage resource or its can by the equipment access without a part as the equipment.For example, NVM/ stores equipment 1308 It can be accessed by network via (one or more) input-output apparatus 1310.
(one or more) input-output apparatus 1310 can provide interface for system 1300 appropriate to set with any other Standby communication, input-output apparatus 1310 may include communication element, audio element, sensor element etc..Network interface 1312 can Interface is provided for system 1300 with by one or more network communications, system 1300 can be according to one or more wireless network marks The quasi- and/or arbitrary standards in agreement and/or agreement are carried out wireless communication with one or more elements of wireless network, such as The wireless network based on communication standard is accessed, such as WiFi, 2G or 3G or their combination are carried out wireless communication.
For one embodiment, at least one of (one or more) processor 1302 can be with system control module 1304 The logics of one or more controllers (for example, Memory Controller module) be packaged together.For one embodiment, (one It is a or multiple) at least one of processor 1302 can seal with the logic of one or more controllers of system control module 1304 It is fitted together to form system in package (SiP).For one embodiment, in (one or more) processor 1302 at least one It is a to be integrated on same mold with the logic of one or more controllers of system control module 1304.One is implemented Example, at least one of (one or more) processor 1302 can be with one or more controllers of system control module 1304 Logic is integrated on same mold to form system on chip (SoC).
In various embodiments, system 1300 can be, but not limited to be: browser, work station, desk-top calculating equipment or shifting It is dynamic to calculate equipment (for example, lap-top computing devices, handheld computing device, tablet computer, net book etc.).In each embodiment In, system 1300 can have more or fewer elements and/or different frameworks.For example, in some embodiments, system 1300 Including one or more video cameras, keyboard, liquid crystal display (LCD) screen (including touch screen displays), nonvolatile memory Port, mutiple antennas, graphic chips, specific integrated circuit (ASIC) and loudspeaker.
Wherein, if display includes touch panel, display screen may be implemented as touch screen displays, be used by oneself with receiving The input signal at family.Touch panel includes one or more touch sensors to sense the hand on touch, slide, and touch panel Gesture.The touch sensor can not only sense the boundary of a touch or slide action, but also detect and the touch or sliding Operate relevant duration and pressure.
The embodiment of the present application also provides a kind of non-volatile readable storage medium, be stored in the storage medium one or Multiple modules (programs) when the one or more module is used in terminal device, can make the terminal device execute The instruction (instructions) of various method steps in the embodiment of the present application.
Provide a kind of computer equipment in one example, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, which is characterized in that the processor is realized such as when executing the computer program The method of the embodiment of the present application.
A kind of computer readable storage medium is additionally provided in one example, is stored thereon with computer program, it is special Sign is, one or more methods such as the embodiment of the present application are realized when which is executed by processor.
The embodiment of the present application discloses a kind of interface access method and device, and example 1 includes a kind of interface access method, packet It includes: according to the access to the first interface element in the first interface, creating second contact surface, first interface is located at the first display table Face;
It obtains and the associated element content of the first interface element;
Using the element content as the initial interface content of second contact surface, independently of the second of the first display desktop It shows in desktop, the second contact surface is loaded according to the interface content of the second contact surface.
Example 2 may include method described in example 1, wherein the first display desktop is for carrying first interface In interface content, the second display desktop is used to carry interface content in the second contact surface.
Example 3 may include method described in example 1 and/or example 2, wherein first interface and the second contact surface For web interface, the creation second contact surface includes:
Create the embedded interface based on the first interface.
Example 4 may include method described in 3 one or more of example 1- example, wherein the acquisition and first boundary The associated element content of surface element includes:
In the setting position of the interface resources file at first interface, the corresponding member of first interface element is searched Plain content, the element content include the history access record of first interface element, first interface element it is current At least one of status attribute and execution status attribute, the execution status attribute is according to the visit to first interface element Ask that the current state attribute of operation and first interface element generates.
Example 5 may include method described in 4 one or more of example 1- example, wherein state aobvious independently of described first Show in the second display desktop of desktop, loading the second contact surface according to the interface content of the second contact surface includes:
The element content is passed into the second contact surface;
Desktop system is called to load the second contact surface in the second display desktop, to open up in the second contact surface Show the first interface element.
Example 6 may include method described in 5 one or more of example 1- example, wherein first interface element carries There is a corresponding element domain name, it is described the element content is passed into the second contact surface to include:
Identify the element domain name that first interface element carries;
Interface communications mode is determined according to the element domain name, and will be in the element using determining interface communications mode Appearance passes to the second contact surface.
Example 7 may include method described in 6 one or more of example 1- example, wherein described according to the element domain name It determines interface communications mode, and the element content is passed to by the second contact surface packet using determining interface communications mode It includes:
Judge whether the element domain name is consistent with the first interface domain name at first interface;
If consistent, the element content is passed to by second boundary using the first communication party formula based on window object Face;
If inconsistent, the element content is passed to described second using the second communication method based on message transmission Interface.
Example 8 may include method described in 7 one or more of example 1- example, wherein the method also includes:
Detect that the second contact surface is closed, interface content when closing according to the second contact surface is to described first The element content of interface element is updated.
Example 9 may include method described in 8 one or more of example 1- example, wherein the method also includes:
The element content of first interface element is removed in first interface.
Example 10 may include method described in 9 one or more of example 1- example, wherein the method also includes:
It is inaccessible state that first interface element is arranged in first interface.
Example 11 may include method described in 10 one or more of example 1- example, wherein the method also includes:
According to the access in first interface with the associated second contact surface element of the first interface element, updating described the Second interface.
Example 12 may include method described in 11 one or more of example 1- example, wherein the method also includes:
According to the access to the second contact surface, update in first interface with first interface element associated the The element content of three interface elements.
Example 13 may include method described in 12 one or more of example 1- example, wherein it is described first display desktop with The second display desktop passes through slide handover, or on the screen of different terminal equipment.
Example 14 includes a kind of interface access method, wherein the described method includes:
According to the access to the first interface element in the first interface, second contact surface is created;
The element content of first interface element is passed into the second contact surface, so that the second contact surface is with described Element content is initial interface content, loads the second contact surface.
Example 15 includes a kind of interface access method, wherein the described method includes:
Receive the element content of the first interface transmitting;
Using the element content as initial interface content, the second contact surface is loaded, the second contact surface is according to described The access creation of first interface element in first interface.
Example 16 includes a kind of interface access method, wherein the described method includes:
According to the access to the first display desktop median surface, sub-interface is created;
Obtain the interface content of the sub-interface;
The sub-interface is loaded according to interface content in the second display desktop.
Example 17 includes a kind of display methods, wherein the described method includes:
There is provided the first interface, wherein first interface includes the first element;
There is provided second contact surface, wherein the second contact surface includes second element;
Wherein, first element is associated with display with the second element.
Example 18 may include method described in example 17, wherein first interface and second contact surface correspond to it is identical into Journey or different processes.
Example 19 may include method described in example 17 and/or example 18, wherein first element and second element pair It should be in the different attribute of same data.
Example 20 may include method described in 19 one or more of example 17- example, wherein first element and second Element corresponds to the different data of association display.
Example 21 may include method described in 20 one or more of example 17- example, wherein first element and described Second element association display includes: update of modification the first element triggering to the second contact surface.
Example 22 may include method described in 21 one or more of example 17- example, wherein first element and described Second element association display includes: update of the modification second element triggering to first interface.
Example 23 may include method described in 22 one or more of example 17- example, wherein first interface with it is described Second contact surface passes through slide handover, or on the screen of different terminal equipment.
Example 24 may include a kind of interface access mechanism, wherein described device includes:
Interface creating module, it is described for creating second contact surface according to the access to the first interface element in the first interface First interface is located at the first display desktop;
Content obtains module, for obtaining and the associated element content of the first interface element;
Interface loading module, for using the element content as the initial interface content of second contact surface, independently of described In second display desktop of the first display desktop, the second contact surface is loaded according to the interface content of the second contact surface.
Example 25 may include device described in example 14, wherein the first display desktop is for carrying first boundary Interface content in face, the second display desktop are used to carry the interface content in the second contact surface.
Example 26 may include device described in example 24 or example 25, wherein first interface and the second contact surface For web interface, the interface creating module includes:
Embedded interface creating submodule, for creating the embedded interface based on the first interface.
Example 27 may include device described in 26 one or more of example 24- example, wherein the content obtains module, Specifically for the setting position of the interface resources file at first interface, the corresponding member of first interface element is searched Plain content, the element content include the history access record of first interface element, first interface element it is current At least one of status attribute and execution status attribute, the execution status attribute is according to the visit to first interface element Ask that the current state attribute of operation and first interface element generates.
Example 28 may include device described in 27 one or more of example 24- example, wherein the interface loading module packet It includes:
Content transmits submodule, for the element content to be passed to the second contact surface;
Interface loads submodule, for calling desktop system to load the second contact surface in the second display desktop, To show the first interface element in the second contact surface.
Example 29 may include device described in 28 one or more of example 24- example, wherein first interface element is taken With corresponding element domain name, the content transmitting submodule includes:
Domain name recognition unit, the element domain name that first interface element carries for identification;
Transfer unit, for determining interface communications mode according to the element domain name, and using determining interface communications side The element content is passed to the second contact surface by formula.
Example 30 may include device described in 29 one or more of example 24- example, wherein the transfer unit includes:
Judgment sub-unit, for judging whether the element domain name is consistent with the first interface domain name at first interface;
First transmitting subelement, if using the first communication party formula based on window object by the element for consistent Content passes to the second contact surface;
Second transmitting subelement, if using the second communication method based on message transmission by the member for inconsistent Plain content passes to the second contact surface.
Example 31 may include device described in 30 one or more of example 24- example, wherein described device further include:
First content update module is closed for detecting that the second contact surface is closed according to the second contact surface When interface content the element content of first interface element is updated.
Example 32 may include device described in 31 one or more of example 24- example, wherein described device further include:
Content removes module, for removing the element content of first interface element in first interface.
Example 33 may include device described in 32 one or more of example 24- example, wherein described device further include:
State setting module is inaccessible state for first interface element to be arranged in first interface.
Example 34 may include device described in 33 one or more of example 24- example, wherein described device further include:
Interface update module, for according to in first interface with the associated second contact surface element of the first interface element Access, update the second contact surface.
Example 35 may include device described in 34 one or more of example 24- example, wherein described device further include:
Second content update module, for according to access to the second contact surface, update in first interface with institute State the element content of the associated third interface element of the first interface element.
Example 36 may include device described in 35 one or more of example 24- example, wherein it is described first display desktop with The second display desktop passes through slide handover, or on the screen of different terminal equipment.
Example 37 includes a kind of interface access mechanism, wherein described device includes:
Interface creating module, for creating second contact surface according to the access to the first interface element in the first interface;
Content delivery module, for the element content of first interface element to be passed to the second contact surface, for The second contact surface loads the second contact surface using the element content as initial interface content.
Example 38 includes a kind of interface access mechanism, wherein described device includes:
Content receiver module, for receiving the element content of the first interface transmitting;
Interface loading module loads the second contact surface for using the element content as initial interface content, and described the Second interface is created according to the access to the first interface element in first interface.
Example 39 includes a kind of interface access mechanism, wherein described device includes:
Sub-interface creation module, for creating sub-interface according to the access to the first display desktop median surface;
Interface content obtains module, for obtaining the interface content of the sub-interface;
Sub-interface loading module, for loading the sub-interface according to interface content in the second display desktop.
Example 40 includes a kind of display device, wherein described device includes:
First interface provides module, for providing the first interface, wherein first interface includes the first element;
Second contact surface provides module, for providing second contact surface, wherein the second contact surface includes second element;
Wherein, first element is associated with display with the second element.
Example 41 may include method described in example 40, wherein first interface and second contact surface correspond to it is identical into Journey or different processes.
Example 42 may include method described in example 40 and/or example 41, wherein first element and second element pair It should be in the different attribute of same data.
Example 43 may include device described in 42 one or more of example 40- example, wherein state the first element and second yuan Element corresponds to the different data of association display.
Example 44 may include device described in 43 one or more of example 40- example, wherein first element and described Second element association display includes: update of modification the first element triggering to the second contact surface.
Example 45 may include device described in 44 one or more of example 40- example, wherein first element and described Second element association display includes: update of the modification second element triggering to first interface.
Example 46 may include device described in 45 one or more of example 40- example, wherein first interface with it is described Second contact surface passes through slide handover, or on the screen of different terminal equipment.
Example 47, a kind of computer equipment, including memory, processor and storage are on a memory and can be on a processor The computer program of operation, which is characterized in that the processor realizes such as example 1-23 mono- when executing the computer program Or multiple method.
Example 48, a kind of computer readable storage medium, are stored thereon with computer program, which is characterized in that the program The method such as example 1-23 one or more is realized when being executed by processor.
Although some embodiments are various substitutions, and/or equivalent implementation for the purpose of illustrating and describing Scheme calculates to reach same purpose and implement the realization for exemplifying and describing, and does not depart from the practical range of the application.This Shen It please be intended to cover any modification or variation of the embodiment being discussed herein.It is, therefore, apparent that embodiment described herein only by right It is required that being limited with their equivalent.

Claims (25)

1. a kind of interface access method characterized by comprising
According to the access to the first interface element in the first interface, second contact surface is created, first interface is located at the first display Desktop;
It obtains and the associated element content of the first interface element;
Using the element content as the initial interface content of second contact surface, in the second display independently of the first display desktop In desktop, the second contact surface is loaded according to the interface content of the second contact surface.
2. the method according to claim 1, wherein the first display desktop is for carrying first interface In interface content, the second display desktop is used to carry interface content in the second contact surface.
3. the method according to claim 1, wherein first interface and the second contact surface are web interface, The creation second contact surface includes:
Create the embedded interface based on the first interface.
4. the method according to claim 1, wherein the acquisition and the associated element of the first interface element Content includes:
In the setting position of the interface resources file at first interface, search in the corresponding element of first interface element Hold, the element content includes the history access record of first interface element, the current state of first interface element At least one of attribute and execution status attribute, the status attribute that executes are grasped according to the access to first interface element Make and the current state attribute of first interface element generates.
5. the method according to claim 1, wherein described show independently of the second of the first display desktop Show in desktop, loading the second contact surface according to the interface content of the second contact surface includes:
The element content is passed into the second contact surface;
Desktop system is called to load the second contact surface in the second display desktop, to show the in the second contact surface One interface element.
6. according to the method described in claim 5, it is characterized in that, first interface element carries corresponding element fields Name, it is described the element content is passed into the second contact surface to include:
Identify the element domain name that first interface element carries;
Interface communications mode is determined according to the element domain name, and is passed the element content using determining interface communications mode Pass the second contact surface.
7. according to the method described in claim 6, it is characterized in that, described determine interface communications side according to the element domain name Formula, and the element content is passed to by the second contact surface using determining interface communications mode and includes:
Judge whether the element domain name is consistent with the first interface domain name at first interface;
If consistent, the element content is passed to by the second contact surface using the first communication party formula based on window object;
If inconsistent, the element content is passed to by second boundary using the second communication method based on message transmission Face.
8. the method according to claim 1, wherein the method also includes:
Detect that the second contact surface is closed, interface content when closing according to the second contact surface is to first interface The element content of element is updated.
9. the method according to claim 1, wherein the method also includes:
The element content of first interface element is removed in first interface.
10. the method according to claim 1, wherein the method also includes:
It is inaccessible state that first interface element is arranged in first interface.
11. the method according to claim 1, wherein the method also includes:
According to the access in first interface with the associated second contact surface element of the first interface element, second boundary is updated Face.
12. the method according to claim 1, wherein the method also includes:
According to the access to the second contact surface, update in first interface with associated third circle of the first interface element The element content of surface element.
13. the method according to claim 1, wherein the first display desktop and the second display desktop By slide handover, or on the screen of different terminal equipment.
14. a kind of interface access method, which is characterized in that the described method includes:
According to the access to the first interface element in the first interface, second contact surface is created;
The element content of first interface element is passed into the second contact surface, so that the second contact surface is with the element Content is initial interface content, loads the second contact surface.
15. a kind of interface access method, which is characterized in that the described method includes:
Receive the element content of the first interface transmitting;
Using the element content as initial interface content, the second contact surface is loaded, the second contact surface is according to described first The access creation of first interface element in interface.
16. a kind of interface access method, which is characterized in that the described method includes:
According to the access to the first display desktop median surface, sub-interface is created;
Obtain the interface content of the sub-interface;
The sub-interface is loaded according to interface content in the second display desktop.
17. a kind of display methods, which is characterized in that the described method includes:
There is provided the first interface, wherein first interface includes the first element;
There is provided second contact surface, wherein the second contact surface includes second element;
Wherein, first element is associated with display with the second element.
18. according to the method for claim 17, which is characterized in that first interface and second contact surface correspond to it is identical into Journey or different processes.
19. according to the method for claim 17, which is characterized in that first element and second element correspond to same number According to different attribute.
20. according to the method for claim 17, which is characterized in that first element, which corresponds to be associated with second element, to be shown The different data shown.
21. according to the method for claim 17, which is characterized in that first element is associated with display with the second element It include: update of modification the first element triggering to the second contact surface.
22. according to the method for claim 17, which is characterized in that first element is associated with display with the second element It include: update of the modification second element triggering to first interface.
23. according to the method for claim 17, which is characterized in that first interface and the second contact surface pass through sliding Switching, or on the screen of different terminal equipment.
24. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes such as claim 1-23 mono- or more when executing the computer program A method.
25. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method such as claim 1-23 one or more is realized when execution.
CN201711084926.3A 2017-11-07 2017-11-07 Interface access method, display methods, equipment, medium Pending CN109753198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711084926.3A CN109753198A (en) 2017-11-07 2017-11-07 Interface access method, display methods, equipment, medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711084926.3A CN109753198A (en) 2017-11-07 2017-11-07 Interface access method, display methods, equipment, medium

Publications (1)

Publication Number Publication Date
CN109753198A true CN109753198A (en) 2019-05-14

Family

ID=66399896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711084926.3A Pending CN109753198A (en) 2017-11-07 2017-11-07 Interface access method, display methods, equipment, medium

Country Status (1)

Country Link
CN (1) CN109753198A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231922A (en) * 2019-05-23 2019-09-13 珠海格力电器股份有限公司 A kind of mobile terminal display control method and mobile terminal
CN112328153A (en) * 2020-10-30 2021-02-05 北京数秦科技有限公司 Display method, display device and storage medium
CN112948245A (en) * 2021-02-26 2021-06-11 北京百度网讯科技有限公司 Element debugging method, device, equipment, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853125A (en) * 2009-02-27 2010-10-06 捷讯研究有限公司 A kind of method and hand-hold electronic equipments that is used to trigger the advertisement on the display screen
CN101986252A (en) * 2009-07-27 2011-03-16 三星电子株式会社 Method and apparatus for web browsing
CN103261994A (en) * 2010-10-01 2013-08-21 Flex Electronics ID Co.,Ltd. Desktop reveal expansion
US20150227494A1 (en) * 2007-12-28 2015-08-13 Microsoft Technology Licensing, Llc Creating and editing dynamic graphics via a web interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150227494A1 (en) * 2007-12-28 2015-08-13 Microsoft Technology Licensing, Llc Creating and editing dynamic graphics via a web interface
CN101853125A (en) * 2009-02-27 2010-10-06 捷讯研究有限公司 A kind of method and hand-hold electronic equipments that is used to trigger the advertisement on the display screen
CN101986252A (en) * 2009-07-27 2011-03-16 三星电子株式会社 Method and apparatus for web browsing
CN103261994A (en) * 2010-10-01 2013-08-21 Flex Electronics ID Co.,Ltd. Desktop reveal expansion

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231922A (en) * 2019-05-23 2019-09-13 珠海格力电器股份有限公司 A kind of mobile terminal display control method and mobile terminal
CN110231922B (en) * 2019-05-23 2021-01-22 珠海格力电器股份有限公司 Mobile terminal display control method and mobile terminal
CN112328153A (en) * 2020-10-30 2021-02-05 北京数秦科技有限公司 Display method, display device and storage medium
CN112328153B (en) * 2020-10-30 2022-07-15 北京数秦科技有限公司 Display method, display device and storage medium
CN112948245A (en) * 2021-02-26 2021-06-11 北京百度网讯科技有限公司 Element debugging method, device, equipment, storage medium and program product
CN112948245B (en) * 2021-02-26 2024-03-01 北京百度网讯科技有限公司 Element debugging method, device, equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
CN103930885B (en) Measure webpage render time
CN104025003B (en) Translate animation
CN109375861A (en) The asynchronous process of user interface manipulation
CN106527888B (en) The method and device of the screen sliding lookup page
CN104317474A (en) Window switching method and device
CN108280119A (en) Page generation method, device and user terminal
CN103544028B (en) Information processing unit and information processing method
CN106649639A (en) Page display method and device
CN105474158A (en) Swipe toolbar to switch tabs
CN109753198A (en) Interface access method, display methods, equipment, medium
CN104346463A (en) Loading method and device of page label and browser client
CN104866318A (en) Method and device for displaying label pages in multiple windows
CN109840114A (en) Page processing method and mobile terminal
CN110069734A (en) A kind of page assembly shows method and apparatus
CN104298423A (en) Method and device for displaying media file on terminal through page
CN110019464A (en) Page processing method and device
KR20160074194A (en) Electronic device and method for controlling display of a screen
CN113741763A (en) Electronic book display method and device and electronic equipment
CN110781425B (en) Display method, device and equipment of mobile terminal H5 page and storage medium
US9285978B2 (en) Using a scroll bar in a multiple panel user interface
CN105630366A (en) Method and apparatus for displaying object information in screen display device
US20170169599A1 (en) Methods and electronic devices for displaying picture
CN108052677A (en) Page processing method, device and readable storage medium storing program for executing
US20170255475A1 (en) Automatic execution of objects in a user interface
CN104272712A (en) User equipment and operation control method therefor

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: 20190514

RJ01 Rejection of invention patent application after publication