CN106227555B - Information display method and device and electronic equipment - Google Patents

Information display method and device and electronic equipment Download PDF

Info

Publication number
CN106227555B
CN106227555B CN201610539833.4A CN201610539833A CN106227555B CN 106227555 B CN106227555 B CN 106227555B CN 201610539833 A CN201610539833 A CN 201610539833A CN 106227555 B CN106227555 B CN 106227555B
Authority
CN
China
Prior art keywords
client
page
code
sdk
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610539833.4A
Other languages
Chinese (zh)
Other versions
CN106227555A (en
Inventor
桑小杰
李冠毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610539833.4A priority Critical patent/CN106227555B/en
Publication of CN106227555A publication Critical patent/CN106227555A/en
Application granted granted Critical
Publication of CN106227555B publication Critical patent/CN106227555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an information display method, an information display device and electronic equipment, which are used for solving the problem that two applications need to run simultaneously when one application displays a page and page logic of the other application, and the method comprises the following steps: creating an interface of a first client; creating information including a first context object of the second client and a name of the first client through the interface; acquiring a second context object of the first client; and displaying the page of the second client and the page logic on the page of the first client according to the information and the second context object. By implementing the embodiment of the invention, the power consumption can be saved.

Description

A kind of information display method, device and electronic equipment
Technical field
The present invention relates to field of computer technology more particularly to a kind of information display methods, device and electronic equipment.
Background technique
With the continuous development of computer technology, the calling being mounted between the application in the operating systems such as Android is more next It is more, wherein a kind of common calls between to show a kind of page of application and page logic in another kind using upper. Assuming that a kind of application is A application, another kind application is that B is applied, and is applied when the page and page logic of A application need to show in B When upper, in order to show the page and page logic of A application, B application can store the code of A application.However, due to A application and B Using that may belong to different manufacturers, therefore, A is applied may be different with the renewal frequency that B is applied.When the renewal frequency of B application Lower than A application renewal frequency when, B using upper displaying A apply the page and page logic may not be A application it is newest The page and page logic, so that B application can not timely show the page and page logic of A application.To solve the above-mentioned problems, When B application needs to show the page and page logic of A application, B application will acquire the code of A application, but this needs A application to open It is dynamic, it applies while running with B so that A is needed to apply, to increase power consumption.
Summary of the invention
The embodiment of the invention discloses a kind of information display method, device and electronic equipments, aobvious for solving an application The problem of needing two applications when showing the page and page logic of another application while running.
First aspect of the embodiment of the present invention discloses a kind of information display method, comprising:
Create the interface of the first client;
Created by the interface includes the first context object of the second client and the title of first client Information;
Obtain the second context object of first client;
The page of second client and page logic are shown according to the information and second context object On the page of first client.
In one embodiment, first client is stored with software development kit SDK, is stored with and is used in the SDK Create the creation code of the first context object of second client;
It is described that the first context object for including the second client and first client are created by the interface The information of title includes:
The creation code is obtained from the SDK by the interface;
The title of first client is added in the creation code;
The creation code after adding the title is executed, to create the first context for including second client The information of the title of object and first client.
In one embodiment, first client is also stored with jar packet;
It is described to obtain the creation code from the SDK by the interface and include:
Establish the connection of the interface Yu the jar packet;
By the mapping relations of the jar packet and the SDK, the creation code is obtained from the SDK.
In one embodiment, the calling generation for calling the code of second client is also stored in the SDK Code;
It is described according to the information and second context object by the page and page logic of second client It is shown on the page of first client and includes:
When detecting for the page of second client and page logic to be shown to the page in first client When idsplay order on face, the connection of the interface Yu the jar packet is established according to the information;
By the mapping relations of the jar packet and the SDK, the calling code is obtained from the SDK;
The calling code is executed, to obtain the code of second client;
The code of second client is executed in first client according to second context object, it will The page and page logic of second client are shown on the page of first client.
In one embodiment, the method also includes:
Second client is distributed into target area in the display area of first client;
It is described according to the information and second context object by the page and page logic of second client It is shown on the page of first client and includes:
The page of second client and page logic are shown according to the information and second context object On the target area.
Second aspect of the embodiment of the present invention discloses a kind of information display device, comprising:
First creating unit, for creating the interface of the first client;
Second creating unit, the interface creation for being created by first creating unit includes the of the second client The information of the title of one context object and first client;
Acquiring unit, for obtaining the second context object of first client;
Display unit, second of information and acquiring unit acquisition for being created according to second creating unit Hereafter object shows the page of second client and page logic on the page of first client.
In one embodiment, first client is stored with software development kit SDK, is stored with and is used in the SDK Create the creation code of the first context object of second client;
Second creating unit includes:
First obtains subelement, for obtaining the creation code from the SDK by the interface;
Subelement is added, for the title addition of first client to be obtained the wound that subelement obtains described first It builds in code;
First executes subelement, for executing the creation code after the addition subelement adds the title, with Create the information including the first context object of second client and the title of first client.
In one embodiment, first client is also stored with jar packet;
The first acquisition subelement is specifically used for:
Establish the connection of the interface Yu the jar packet;
By the mapping relations of the jar packet and the SDK, the creation code is obtained from the SDK.
In one embodiment, the calling generation for calling the code of second client is also stored in the SDK Code;
The display unit includes:
Subelement being established, being detected for working as showing the page of second client and page logic described When idsplay order on the page of the first client, the connection of the interface Yu the jar packet is established according to the information;
Second obtains subelement, for establishing the jar packet of connection and reflecting for the SDK by the subelement of establishing Relationship is penetrated, the calling code is obtained from the SDK;
Second executes subelement, the calling code that subelement obtains is obtained for executing described second, to obtain described the The code of two clients;
Third executes subelement, for executing described the in first client according to second context object Two execute the code for the second client that subelement obtains, and the page of second client and page logic are shown in institute On the page for stating the first client.
In one embodiment, the file destination is picture file, described device further include:
Allocation unit, for second client to be distributed in the target area in the display area of first client End;
The display unit is specifically used for second client according to the information and second context object The page and page logic be shown on the target area of allocation unit distribution.
The third aspect of the embodiment of the present invention discloses a kind of electronic equipment, comprising: processor, memory, communication interface and total Line;
The processor, the memory are connected by the bus with the communication interface and complete mutual lead to Letter;
The memory stores executable program;
The processor is run by reading the executable program code stored in the memory can be performed with described The corresponding program of program code, for executing a kind of information display method;
Wherein, the information display method includes:
Create the interface of the first client;
Created by the interface includes the first context object of the second client and the title of first client Information;
Obtain the second context object of first client;
The page of second client and page logic are shown according to the information and second context object On the page of first client.
In the embodiment of the present invention, the interface of the first client is created, the name including the first client is created by the interface Claim the information with the first context object of the second client, the second context object of the first client is obtained, according to the letter Breath and the second context object show the page of the second client and page logic patrols in the page and the page of the first client Volume, it is seen then that the first context object of the second client is creation, rather than obtained from the first client, therefore, it is not required to Start the second client, so as to save power consumption.In addition, showing the page of the second client on the page of the first client When face and page logic, if necessary to the data of the first client, but the information does not call the power of the data of the first client In limited time, then it can be realized by the second context object, so as to further patrol the page of the second client and the page Collect the page and page logic for being shown in the first client.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of information display method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another information display method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structural schematic diagram of information display device disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another information display device disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of information display method, device and electronic equipments, aobvious for solving an application The problem of needing two applications when showing the page and page logic of another application while running.It carries out individually below specifically It is bright.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of information display method disclosed by the embodiments of the present invention.Wherein, should Information display method is that the angle of the electronic equipment of the first client and the second client is equipped with from mobile phone, tablet computer etc. Description.As shown in Figure 1, the information display method may comprise steps of.
101, the interface of the first client is created.
In the present embodiment, when user needs to show the page of the second client and page logic into the page in the first client When on face, user can make electronic equipment create the interface of the first client by operating electronic equipment, it can make the first visitor Family end provides a ProxyClient class, which provides an interface.
102, created by the interface includes the first context object of the second client and the title of the first client Information.
In the present embodiment, the first client can store software development kit (Software Development Kit, SDK), the creation generation that can create the first context object (i.e. Context object) of the second client is stored in the SDK Code.It therefore, will include about the first of the second client by interface creation after the interface for creating the first client The information of the title of literary object and the first client obtains the creation code by the interface from SDK, and by the first client The title at end is added in the creation code, will execute the creation code after being added to title later, and available includes the The information of the title of the first context object and the first client of two clients, the information are the title for including the first client The second client the first context object, be to be carried out by the first context object to the second client CreatePackageContext (), and the title of incoming first client obtains.
In the present embodiment, the first client is also stored with jar packet, and there are mapping relations with SDK for jar packet, wherein in SDK Storage is program code, if necessary to obtain the program code of some function from SDK, then have to be understood that this function Program code could get the code of this function from the code stored in SDK, so that it is lower to obtain efficiency.Therefore, it is The acquisition efficiency of code is improved, introducing jar includes, the function title including every partial code in SDK in jar packet, and these There are mapping relations one by one between function title and code corresponding in SDK, can be claimed quickly by the function name in jar packet Get the code in SDK.Therefore, creation code is obtained from SDK by interface, that is, establishes the connection of interface Yu jar packet, is led to The mapping relations for crossing jar packet Yu SDK, quick obtaining creates code from SDK.
103, the second context object of the first client is obtained.
In the present embodiment, since the information only has the permission for the data for calling the second client, without calling first The permission of the data of client, and the page of the second client and page logic are shown when on the page of the first client, The data of the second client may be needed to call, such as: it may need to call the data of the first client when pop-up dialog box.Cause This, obtains the second context object of the first client, later can be by the information (i.e. the of the title including the first client First context object of two clients) it is used as proxy context (clientContext) object, and by the second context object As Your Majesty's hereafter (hostContext) object.
104, the page of the second client and page logic are shown first according to the information and the second context object On the page of client.
It is also stored with the calling code for calling the code of the second client in the present embodiment, in SDK, passes through the interface Creation obtain include the second client the first context object and the first client title information after, will be according to the letter (clientContext object) and the second context object (hostContext object) are ceased by the page and page of the second client Face logic is shown on the page of the first client, i.e., ought detect for showing the page of the second client and page logic In the idsplay order on the page of the first client, according to the information (i.e. the second client of the title including the first client First context object at end) connection of establishing interface Yu jar packet, it is quick from SDK by the mapping relations of jar packet and SDK It obtains and calls code, execute the calling code, to obtain the code of the second client, later according to the second context object the The code of the second client is executed in one client, to show the page of the second client and page logic in the first client On the page at end.Wherein, page logic is the response carried out according to the operation to the page, such as: when an information on the page When being clicked, the detailed content of this information will be shown in target area.
In one embodiment, it is also necessary to choose target area from the display area of the first client, and by target area The second client is distributed in domain, so that the page of the second client and page logic to be shown to the mesh in the page of the first client It marks on region.
In the information display method described in Fig. 1, the interface of the first client is created, includes the by interface creation The information of first context object of the title of one client and the second client obtains the second context pair of the first client As the page of the second client and page logic to be shown to the page in the first client according to the information and the second context object Face and page logic, it is seen then that the first context object of the second client is creation, rather than is obtained from the first client , it therefore, there is no need to start the second client, so as to save power consumption.In addition, showing on the page of the first client When the page and page logic of two clients, if necessary to the data of the first client, but the information does not call the first client It when the permission of the data at end, then can be realized by the second context object, so as to further by the second client The page and page logic are shown in the page and page logic of the first client.
Referring to Fig. 2, Fig. 2 is the flow diagram of another information display method disclosed by the embodiments of the present invention.Wherein, The information display method is described from the angle for the first client being mounted in the electronic equipments such as mobile phone, tablet computer. As shown in Fig. 2, the information display method may comprise steps of.
201, the first client creates interface.
In the present embodiment, when the first client needs to show the page of the second client and page logic in the first client When on the page at end, the first client will create interface, i.e. the first client provides a ProxyClient class, should ProxyClient class provides an interface (IProxy).
202, first context object and first client of first client by interface creation including the second client The information of the title at end.
In the present embodiment, the first client can store SDK, and the second client can be created by being stored in the SDK The creation code of first context object.Therefore, after the first client creates interface, will be created by the interface includes the The information of the title of the first context object and the first client of two clients obtains the wound by the interface from SDK Code is built, and the addition of the title of the first client is executed be added to the creation after the title later in the creation code Code, available includes the information of the title of the first context object of the second client and the first client, which is First context object of the second client of the title including the first client, the information have the code for making the second client The function of executing in the first client can be carried out by the first context object to the second client CreatePackageContext (), and the title of incoming first client obtains.
In the present embodiment, the first client is also stored with jar packet, and there are mapping relations with SDK for jar packet, wherein in SDK Storage is program code, if necessary to obtain the program code of some function from SDK, then must remove this function Program code could get the code of this function from the code stored in SDK, so that it is lower to obtain efficiency.Therefore, it is The acquisition efficiency of code is improved, introducing jar includes, the function title including every partial code in SDK in jar packet, and these There are mapping relations one by one between function title and code corresponding in SDK, can be claimed quickly by the function name in jar packet Get the code in SDK.Therefore, creation code is obtained from SDK by interface, that is, establishes the connection of interface Yu jar packet, is led to The mapping relations for crossing jar packet Yu SDK, quick obtaining creates code from SDK.
203, the first client obtains the second context object of the first client.
In the present embodiment, since the information only has the permission for the data for calling the second client, without calling first The permission of the data of client, and the page of the second client and page logic are shown when on the page of the first client, The data of the second client may be needed to call, such as: it may need to call the data of the first client when pop-up dialog box.Cause This, obtains the second context object of the first client, later can be by the information (i.e. the of the title including the first client First context object of two clients) it is used as proxy context (clientContext) object, and by the second context object As Your Majesty's hereafter (hostContext) object.
204, the first client shows that the page of the second client and the page are patrolled according to the information and the second context object Volume.
It is also stored with the calling code for calling the code of the second client in the present embodiment, in SDK, passes through the interface Creation obtain include the second client the first context object and the first client title information after, will be according to the letter Cease (clientContext object) and the second context object (hostContext object) show the page of the second client with Page logic, i.e., when detecting the idsplay order of the page for showing the second client and page logic, according to the information (i.e. the first context object of the second client of the title including the first client) establishes the connection of interface Yu jar packet, leads to The mapping relations for crossing jar packet Yu SDK obtain from SDK and call code, execute the calling code, to obtain the second client Code executes the code of the second client, according to the second context object later to show the page and page of the second client Face logic.
In one embodiment, it is also necessary to target area is distributed for the second client, so as to by the page of the second client It is shown in page logic on the target area of the page of the first client.
In the information display method described in Fig. 2, the first client creates interface, includes first by interface creation The information of first context object of the title of client and the second client obtains the second context pair of the first client As showing the page and page logic of the second client according to the information and the second context object, it is seen then that the second client First context object is the creation of the first client, rather than obtained from the second client, it therefore, there is no need to starting second Client, so as to save power consumption.In addition, when showing the page and page logic of the second client, if necessary to first The data of client, but when the information does not call the permission of the data of the first client, then it can pass through the second context pair As realizing, so as to the page of the second client and page logic further to be shown to the page and page in the first client Face logic.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of information display device disclosed by the embodiments of the present invention.Wherein, should Information display device can be the electronic equipments such as the mobile phone for being equipped with the first client and the second client, tablet computer.Such as Fig. 3 Shown, which may include:
First creating unit 301, for creating the interface of the first client;
Second creating unit 302, the interface creation for being created by the first creating unit 301 includes the second client The information of the title of first context object and the first client;
Acquiring unit 303, for obtaining the second context object of the first client;
Display unit 304, second of information and the acquisition of acquiring unit 303 for being created according to the second creating unit 302 Context object shows the page of second client and page logic on the page of first client.
In the information display device described in Fig. 3, the interface of the first client is created, includes the by interface creation The information of first context object of the title of one client and the second client obtains the second context pair of the first client As the page of the second client and page logic to be shown to the page in the first client according to the information and the second context object Face and page logic, it is seen then that the first context object of the second client is creation, rather than is obtained from the first client , it therefore, there is no need to start the second client, so as to save power consumption.In addition, showing on the page of the first client When the page and page logic of two clients, if necessary to the data of the first client, but the information does not call the first client It when the permission of the data at end, then can be realized by the second context object, so as to further by the second client The page and page logic are shown in the page and page logic of the first client.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another information display device disclosed by the embodiments of the present invention.Wherein, The information display device can be the electronic equipments such as the mobile phone for being equipped with the first client and the second client, tablet computer.Fig. 4 Shown in information display device be that information display device shown in Fig. 3 optimizes to obtain, in which:
First client is stored with SDK, and the wound of the first context object for creating the second client is stored in SDK Build code;
Second creating unit 302 may include:
First obtains subelement 3021, for obtaining the creation code from SDK by the interface;
Subelement 3022 is added, the wound for obtaining the title addition of the first client in the first acquisition subelement 3021 It builds in code;
First executes subelement 3023, for executing the creation code after addition subelement 3022 adds the title, with wound Build the information of the title of the first context object and the first client including the second client.
As a kind of possible embodiment, the first client is also stored with jar packet;
First acquisition subelement 3021 is specifically used for:
Establish the connection of the interface Yu jar packet;
By the mapping relations of jar packet and SDK, the creation code is obtained from SDK.
As a kind of possible embodiment, the calling generation for calling the code of the second client is also stored in SDK Code;
Display unit 304 may include:
Subelement 3041 being established, being detected for working as showing the page of the second client and page logic first When idsplay order on the page of client, the connection of the interface Yu jar packet is established according to the information;
Second obtains subelement 3042, closes for the mapping by establishing jar packet and SDK that subelement 3041 establishes connection System, obtains the calling code from SDK;
Second executes subelement 3043, for executing the calling code of the second acquisition acquisition of subelement 3042, to obtain the The code of two clients;
Third executes subelement 3044, executes son for executing second in the first client according to the second context object Unit 3043 executes the code of the second client obtained, and the page of the second client and page logic are shown in the first visitor On the page at family end.
As a kind of possible embodiment, which can also include:
Allocation unit 305, for the second client to be distributed in the target area in the display area of the first client;
Display unit 304, specifically for according to the information and the second context object by the page and page of the second client Face logic is shown on the target area of the distribution of allocation unit 305.
In the information display device described in Fig. 4, the interface of the first client is created, includes the by interface creation The information of first context object of the title of one client and the second client obtains the second context pair of the first client As the page of the second client and page logic to be shown to the page in the first client according to the information and the second context object Face and page logic, it is seen then that the first context object of the second client is creation, rather than is obtained from the first client , it therefore, there is no need to start the second client, so as to save power consumption.In addition, showing on the page of the first client When the page and page logic of two clients, if necessary to the data of the first client, but the information does not call the first client It when the permission of the data at end, then can be realized by the second context object, so as to further by the second client The page and page logic are shown in the page and page logic of the first client.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed by the embodiments of the present invention.Wherein, the electronics Equipment can be the mobile phone for being equipped with the first client and the second client, tablet computer etc..As shown in figure 5, the electronic equipment It may include processor 501, memory 502, communication interface 503 and bus 504, memory 502 can be high-speed RAM storage Device is also possible to non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.It is optional Ground, memory 502 can also be that at least one is located remotely from the storage device of aforementioned processor 501.Processor 501, memory 502 and communication interface 503 connect and complete mutual communication by bus 504;Communication interface 503 be used for other equipment into Row communication;Memory stores executable program;Processor 501 is by reading the executable program code stored in memory 502 Program corresponding with executable program code is run, for executing a kind of information display method;
The information display method may include:
Create the interface of the first client;
The information including the first context object of the second client and the title of the first client is created by the interface;
Obtain the second context object of the first client;
The page of second client and page logic are shown first according to the information and the second context object On the page of client.
In one embodiment, which can also include input unit 505, for example touch screen, key, microphone Deng, output device 506, such as display screen, microphone, in which:
Input unit 505, for receiving the information of user's input;
Output device 506 is used for output information.
In the electronic equipment described in Fig. 5, the interface of the first client is created, includes the first visitor by interface creation The information of first context object of the title at family end and the second client obtains the second context object of the first client, The page of second client and page logic are shown to the page in the first client according to the information and the second context object And page logic, it is seen then that the first context object of the second client is creation, rather than obtained from the first client, It therefore, there is no need to start the second client, so as to save power consumption.In addition, showing second on the page of the first client When the page and page logic of client, if necessary to the data of the first client, but the information does not call the first client Data permission when, then can be realized by the second context object, so as to further by the page of the second client Face and page logic are shown in the page and page logic of the first client.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: flash disk, read-only memory (read-only memory, ROM), random access device (random access Memory, RAM), disk or CD etc..
Information display method disclosed by the embodiments of the present invention, device and electronic equipment are described in detail above, this Apply that a specific example illustrates the principle and implementation of the invention in text, the explanation of above example is only intended to It facilitates the understanding of the method and its core concept of the invention;At the same time, for those skilled in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair Limitation of the invention.

Claims (9)

1. a kind of information display method characterized by comprising
The interface of the first client is created, first client is stored with software development kit SDK, stores in the SDK useful In the creation code for the first context object for creating the second client;
The creation code is obtained from the SDK by the interface;
The title of first client is added in the creation code;
The creation code after adding the title is executed, to create the first context object and the institute that include the second client State the information of the title of the first client;
Obtain the second context object of first client;
The page of second client and page logic are shown in institute according to the information and second context object On the page for stating the first client, the page logic is the response carried out according to the operation to the page.
2. the method according to claim 1, wherein first client is also stored with jar packet;
It is described to obtain the creation code from the SDK by the interface and include:
Establish the connection of the interface Yu the jar packet;
By the mapping relations of the jar packet and the SDK, the creation code is obtained from the SDK.
3. according to the method described in claim 2, it is characterized in that, being also stored in the SDK for calling second visitor The calling code of the code at family end;
It is described to be shown the page of second client and page logic according to the information and second context object Include: on the page of first client
When detecting for the page of second client and page logic to be shown to the page in first client Idsplay order when, the connection of the interface Yu the jar packet is established according to the information;
By the mapping relations of the jar packet and the SDK, the calling code is obtained from the SDK;
The calling code is executed, to obtain the code of second client;
The code of second client is executed in first client according to second context object, it will be described The page and page logic of second client are shown on the page of first client.
4. method according to claim 1 or 2, which is characterized in that the method also includes:
Second client is distributed into target area in the display area of first client;
It is described to be shown the page of second client and page logic according to the information and second context object Include: on the page of first client
The page of second client and page logic are shown in institute according to the information and second context object It states on target area.
5. a kind of information display device characterized by comprising
First creating unit, for creating the interface of the first client, first client is stored with software development kit SDK, The creation code of the first context object for creating the second client is stored in the SDK;
Second creating unit, the interface creation for being created by first creating unit includes the first of the second client The hereafter information of the title of object and first client;
Acquiring unit, for obtaining the second context object of first client;
Display unit, the second context that information and the acquiring unit for being created according to second creating unit obtain Object shows the page of second client and page logic on the page of first client, the page logic It is the response carried out according to the operation to the page;
Second creating unit includes:
First obtains subelement, for obtaining the creation code from the SDK by the interface;
Subelement is added, for the title addition of first client to be obtained the creation generation that subelement obtains described first In code;
First executes subelement, for executing the creation code after the addition subelement adds the title, with creation The information of the title of the first context object and first client including second client.
6. device according to claim 5, which is characterized in that first client is also stored with jar packet;
The first acquisition subelement is specifically used for:
Establish the connection of the interface Yu the jar packet;
By the mapping relations of the jar packet and the SDK, the creation code is obtained from the SDK.
7. device according to claim 6, which is characterized in that be also stored in the SDK for calling second visitor The calling code of the code at family end;
The display unit includes:
Subelement being established, being detected for working as showing the page of second client and page logic described first When idsplay order on the page of client, the connection of the interface Yu the jar packet is established according to the information;
Second obtains subelement, for being closed by the mapping for establishing the jar packet and the SDK that subelement establishes connection System, obtains the calling code from the SDK;
Second executes subelement, obtains the calling code that subelement obtains for executing described second, to obtain second visitor The code at family end;
Third executes subelement, holds for executing described second in first client according to second context object The code for the second client that row subelement obtains shows the page of second client and page logic described the On the page of one client.
8. device according to claim 5 or 6, which is characterized in that described device further include:
Allocation unit, for second client to be distributed in the target area in the display area of first client;
The display unit, specifically for according to the information and second context object by the page of second client Face and page logic are shown on the target area of the allocation unit distribution.
9. a kind of electronic equipment characterized by comprising processor, memory, communication interface and bus;
The processor, the memory are connected by the bus with the communication interface and complete mutual communication;
The memory stores executable program;
The processor is run and the executable program by reading the executable program code stored in the memory The corresponding program of code, for executing a kind of information display method;
Wherein, the information display method includes:
The interface of the first client is created, first client is stored with software development kit SDK, stores in the SDK useful In the creation code for the first context object for creating the second client;
The creation code is obtained from the SDK by the interface;
The title of first client is added in the creation code;
The creation code after adding the title is executed, to create the first context object and the institute that include the second client State the information of the title of the first client;
Obtain the second context object of first client;
The page of second client and page logic are shown in institute according to the information and second context object On the page for stating the first client, the page logic is the response carried out according to the operation to the page.
CN201610539833.4A 2016-07-08 2016-07-08 Information display method and device and electronic equipment Active CN106227555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610539833.4A CN106227555B (en) 2016-07-08 2016-07-08 Information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610539833.4A CN106227555B (en) 2016-07-08 2016-07-08 Information display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106227555A CN106227555A (en) 2016-12-14
CN106227555B true CN106227555B (en) 2019-12-03

Family

ID=57518972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610539833.4A Active CN106227555B (en) 2016-07-08 2016-07-08 Information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106227555B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1624659A (en) * 2003-09-15 2005-06-08 国际商业机器公司 Method and system for providing a common collaboration framework accessible from within multiple applications
CN102129364A (en) * 2010-01-14 2011-07-20 中国电信股份有限公司 Method for embedding widget toolbar in application program and rapid widget accessing method
CN102855060A (en) * 2012-07-30 2013-01-02 东莞宇龙通信科技有限公司 Terminal and cross-application cooperation processing method
CN103810296A (en) * 2014-03-07 2014-05-21 联想(北京)有限公司 Information management method, information management device and electronic equipment
CN104571804A (en) * 2013-10-29 2015-04-29 国际商业机器公司 Method and system for associating file interfaces crossing application programs

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1624659A (en) * 2003-09-15 2005-06-08 国际商业机器公司 Method and system for providing a common collaboration framework accessible from within multiple applications
CN102129364A (en) * 2010-01-14 2011-07-20 中国电信股份有限公司 Method for embedding widget toolbar in application program and rapid widget accessing method
CN102855060A (en) * 2012-07-30 2013-01-02 东莞宇龙通信科技有限公司 Terminal and cross-application cooperation processing method
CN104571804A (en) * 2013-10-29 2015-04-29 国际商业机器公司 Method and system for associating file interfaces crossing application programs
CN103810296A (en) * 2014-03-07 2014-05-21 联想(北京)有限公司 Information management method, information management device and electronic equipment

Also Published As

Publication number Publication date
CN106227555A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN109446832B (en) Screen capturing method and device
CN105205072B (en) The methods of exhibiting and system of webpage information
CN111708557B (en) Method, device and storage medium for updating configuration file
CN104978180A (en) Unhandled event reminding method, unhandled event reminding device and mobile terminal
CN107509051A (en) Long-range control method, device, terminal and computer-readable recording medium
CN105045823A (en) Method and device for generating demo file of mobile terminal based on screen capture
CN105260082A (en) Display method for test data and development terminal
CN109445820A (en) A kind of intelligence contract upgrade method, system, equipment and computer storage medium
CN106951248A (en) Add method, device and the readable storage medium storing program for executing of code
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
US10193989B2 (en) Visualization of user behavior
CN110704097A (en) Data collection method and device, electronic equipment and storage medium
CN106127072A (en) E-seal stamped signature apparatus and method
CN106227555B (en) Information display method and device and electronic equipment
CN106200874B (en) Information display method and device and electronic equipment
CN106506805A (en) Head portrait of contact person generation method and device
CN107463524A (en) A kind of method and relevant device for accessing data
CN102799423A (en) Method and device for implementing dynamic method in JSF (java service face)
CN105653143B (en) Processing method of application program operation interface and mobile terminal for realizing method
CN107315970B (en) Sensitive data interaction method and device
EP2922305A1 (en) Set-top box, client, system and method for access of virtual desktop
CN104866303B (en) The method and mobile terminal of a kind of information processing
CN106201508B (en) Information display method and device and electronic equipment
CN105242921A (en) Compatibile UI developing device and application therefor
CN103491234A (en) Data processing method and electronic equipment

Legal Events

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