CN104298521A - Window updating method and device - Google Patents

Window updating method and device Download PDF

Info

Publication number
CN104298521A
CN104298521A CN201410485711.2A CN201410485711A CN104298521A CN 104298521 A CN104298521 A CN 104298521A CN 201410485711 A CN201410485711 A CN 201410485711A CN 104298521 A CN104298521 A CN 104298521A
Authority
CN
China
Prior art keywords
window
configuration file
application program
windows configuration
terminal device
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
CN201410485711.2A
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.)
Kingsoft Guangzhou Network Technology Co Ltd
Original Assignee
Kingsoft Guangzhou Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingsoft Guangzhou Network Technology Co Ltd filed Critical Kingsoft Guangzhou Network Technology Co Ltd
Priority to CN201410485711.2A priority Critical patent/CN104298521A/en
Publication of CN104298521A publication Critical patent/CN104298521A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a window updating method and device. The window updating method applied to a server comprises the steps that a window configuration file is generated according to program codes and display conditions of a window; a corresponding relation between the window configuration file and an application program of the server is set up; according to the set-up corresponding relation, information relevant to application program window updating is sent to a terminal device, so that the terminal device sets up an incidence relation between the received window configuration file and an application program of the terminal device, and updating of an application program window of the terminal device is completed. By means of the method and device, the server just needs to send the window configuration file to the terminal device instead of sending an application program installation package to the terminal device, and due to the facts that the number of occupied bytes of the window configuration file is smaller than that of occupied bytes of the application program installation package, and occupied network resources for transmitting the window configuration file are fewer than occupied network resources for transmitting the application program installation package, occupation of network resources in the window updating process is reduced.

Description

A kind of window update method and device
Technical field
The present invention relates to field of computer technology, particularly a kind of window update method and device.
Background technology
Play window and refer to that user is in the process using application program, the window of automatic spring, this window can to user's exhibition information, and such as, prompting user receives new mail, mobile phone and connected whether carry out charging acceleration or virus killing etc.
Existing window update method is: the application program installation kit of renewal is pushed to user by server, user obtains the application program installation kit after renewal, and after application program corresponding to application program installation kit after upgrading is installed, completes application program and to be hit by a bullet the renewal of window.
But, apply above-mentioned window update method, amendment in the source code of application program installation kit is needed to play the program code of window, the source code of amended application program installation kit is re-started compiling and generate binary file, the application program installation kit generating and upgrade of packing is carried out by generating binary file, the application program installation kit of renewal is pushed to user, needs to take more Internet resources to user's pushing application program installation kit, the such as network bandwidth.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of window update method and device, to save taking of Internet resources.
For achieving the above object, the embodiment of the invention discloses a kind of window update method, be applied to server, described server is connected with terminal equipment in communication, and described method comprises:
According to the program code of window and the display condition of window, generating window configuration file, at least comprises the program code of window and the display condition of window in described windows configuration file;
Set up the corresponding relation of application program in described windows configuration file and described server;
According to the described corresponding relation set up, send to terminal device and upgrade relevant information to application window, at least comprise in described information: windows configuration file, the incidence relation of application program in the windows configuration file and terminal device received is set up to make terminal device, in the process that the application program of terminal device is run, according to this incidence relation, load the windows configuration file be associated with the application program of current operation, in the windows configuration file that the application program meeting current operation is associated when the display condition of window, to the window that the program code of user's impression window is corresponding.
Preferably, the described described corresponding relation according to setting up, sends to terminal device and upgrades relevant information to application window, comprising:
According to the described corresponding relation set up, the mark of described windows configuration file and the application program corresponding with this windows configuration file is sent directly to terminal device, to make terminal device search the application program identical with the mark of the application program that server sends in local device, the incidence relation of the application program that foundation finds and the windows configuration file that server sends.
Preferably, the described described corresponding relation according to setting up, sends to terminal device and upgrades relevant information to application window, comprising:
The application window update instruction that receiving terminal apparatus sends, at least comprises the mark of application program in described application window update instruction;
According to the application window update instruction received, search the application program identification application program identical with the application program identification comprised in described application window update instruction in server this locality;
According to the described corresponding relation finding application program and foundation, search the windows configuration file corresponding with finding application program in server this locality;
Send the windows configuration file found to terminal device, set up the incidence relation of the windows configuration file that the receives application program corresponding with described application window update instruction to make terminal device.
Preferably, described according to the program code of window and the display condition of window, generating window configuration file, comprising:
Visual edit interface is shown to user, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file, in described visual edit interface, at least comprise the program code edit segment of window and the display condition edit segment of window.
Preferably, also comprise: window preview part in described visual edit interface, described according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file, comprising:
When user confirm the display of window preview part in visual edit interface, window that the program code of window is corresponding correct, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file.
For achieving the above object, the embodiment of the invention discloses a kind of window update method, be applied to terminal device, described terminal device is connected with server communication, and described method comprises:
What reception server sent upgrades relevant information to application window, at least comprises: windows configuration file in described information;
Set up the incidence relation of application program in the windows configuration file and described terminal device received, and then complete the renewal of application window.
Preferably, what described reception server sent upgrades relevant information to application window, comprising:
The mark of the windows configuration file that direct reception server sends and the application program corresponding with this windows configuration file;
The incidence relation of application program in the windows configuration file that described foundation receives and described terminal device, comprising:
Search the application program identical with the mark of the application program that server sends in terminal device this locality, set up the incidence relation of the application program found and the windows configuration file received.
Preferably, what described reception server sent upgrades relevant information to application window, comprising:
Application window update instruction is sent to server, the mark of application program is at least comprised in described application window update instruction, to make server according to the mark of described application program, the application program identification application program identical with described application program identification is searched in server this locality, and then according to the corresponding relation of the application program set up in the application program found and server and windows configuration file, search the windows configuration file corresponding with application program in server this locality;
The windows configuration file found that reception server sends;
The incidence relation of application program in the windows configuration file that described foundation receives and described terminal device, comprising:
Set up application program corresponding to described application window update instruction and the incidence relation of windows configuration file received.
Preferably, described method also comprises:
According to the incidence relation of the application program of the windows configuration file received and foundation, load the windows configuration file be associated with the application program of current operation;
In the windows configuration file that the application program meeting current operation is associated when the display condition of window, perform the program code of the window in this windows configuration file, the window that the program code to user's impression window is corresponding.
For achieving the above object, the embodiment of the invention discloses a kind of window updating device, be applied to server, described server is connected with terminal equipment in communication, and described device comprises: windows configuration file generation module, corresponding relation building module and information sending module,
Described windows configuration file generation module, for according to the program code of window and the display condition of window, generating window configuration file, at least comprises the program code of window and the display condition of window in described windows configuration file;
Described corresponding relation building module, for setting up the corresponding relation of application program in described windows configuration file and described server;
Described information sending module, for the described corresponding relation according to foundation, send to terminal device and upgrade relevant information to application window, at least comprise in described information: windows configuration file, the incidence relation of application program in the windows configuration file and terminal device received is set up to make terminal device, in the process that the application program of terminal device is run, according to this incidence relation, load the windows configuration file be associated with the application program of current operation, in the windows configuration file that the application program meeting current operation is associated when the display condition of window, to the window that the program code of user's impression window is corresponding.
Preferably, described information sending module, specifically for:
According to the described corresponding relation set up, the mark of described windows configuration file and the application program corresponding with this windows configuration file is sent directly to terminal device, to make terminal device search the application program identical with the mark of the application program that server sends in local device, the incidence relation of the application program that foundation finds and the windows configuration file that server sends.
Preferably, described information sending module, comprising: update instruction reception submodule, first is searched submodule, second and searched submodule and windows configuration file transmission submodule,
Described update instruction receives submodule, for the application window update instruction that receiving terminal apparatus sends, at least comprises the mark of application program in described application window update instruction;
Described first searches submodule, for receiving the application window update instruction that submodule receives according to described update instruction, search the application program identification application program identical with the application program identification comprised in described application window update instruction in server this locality;
Described second searches submodule, for searching according to described first the described corresponding relation that submodule finds application program and the foundation of described corresponding relation building module, searches the windows configuration file corresponding with finding application program in server this locality;
Described windows configuration file sends submodule, searching for sending described second to terminal device the windows configuration file that submodule finds, setting up the incidence relation of the windows configuration file that the receives application program corresponding with described application window update instruction to make terminal device.
Preferably, described windows configuration file generation module, specifically for:
Visual edit interface is shown to user, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file, in described visual edit interface, at least comprise the program code edit segment of window and the display condition edit segment of window.
Preferably, also comprise in described visual edit interface: window preview part, described windows configuration file generation module, specifically for:
Visual edit interface is shown to user, when user confirm the display of window preview part in visual edit interface, window that the program code of window is corresponding correct, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file.
For achieving the above object, the embodiment of the invention discloses a kind of window updating device, be applied to terminal device, described terminal device is connected with server communication, and described device comprises: information receiving module and incidence relation set up module,
Described information receiving module, what send for reception server upgrades relevant information to application window, at least comprises: windows configuration file in described information;
Described incidence relation sets up module, for setting up the incidence relation of application program in windows configuration file and described terminal device that information receiving module receives, and then completes the renewal of application window.
Preferably, described information receiving module, specifically for:
The mark of the windows configuration file that direct reception server sends and the application program corresponding with this windows configuration file;
Described incidence relation sets up module, specifically for:
Search the application program identical with the mark of the application program that server sends in terminal device this locality, set up the incidence relation of the application program found and the windows configuration file received.
Preferably, described information receiving module, comprising: update instruction sends submodule and windows configuration file receives submodule,
Described update instruction sends submodule, for sending application window update instruction to server, the mark of application program is at least comprised in described application window update instruction, to make server according to the mark of described application program, the application program identification application program identical with described application program identification is searched in server this locality, and then according to the corresponding relation of the application program set up in the application program found and server and windows configuration file, search the windows configuration file corresponding with application program in server this locality;
Described mouth configuration file receives submodule, for the windows configuration file found that reception server sends;
Described incidence relation sets up module, specifically for:
Set up application program corresponding to described application window update instruction and the incidence relation of windows configuration file received.
Preferably, described device also comprises: windows configuration file load-on module and window display module,
Described windows configuration file load-on module, for the incidence relation of the application program according to the windows configuration file received and foundation, loads the windows configuration file be associated with the application program of current operation;
Described window display module, when display condition for window in the windows configuration file that is associated in the application program meeting current operation, perform the program code of the window in this windows configuration file, the window that the program code to user's impression window is corresponding.
As seen from the above technical solutions, the present invention shows that embodiment provides a kind of window update method and device, server only need to terminal device send window configuration file, the incidence relation of application program in windows configuration file and terminal device that what terminal device received set up, namely the renewal of terminal device application window can be realized, application program installation kit is sent to terminal device without the need to server, the byte taken than application program installation kit due to windows configuration file is few, the Internet resources that transmission window configuration file takies than transfer application installation kit are few, therefore taking of Internet resources in window renewal process is saved.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet being applied to a kind of window update method of server that Fig. 1 provides for the embodiment of the present invention;
The first schematic flow sheet being applied to the window update method of terminal device that Fig. 2 provides for the embodiment of the present invention;
The second schematic flow sheet being applied to the window update method of terminal device that Fig. 3 provides for the embodiment of the present invention;
The structural representation being applied to a kind of window updating device of server that Fig. 4 provides for the embodiment of the present invention;
The first structural representation being applied to the window updating device of terminal device that Fig. 5 provides for the embodiment of the present invention;
The second structural representation being applied to the window updating device of terminal device that Fig. 6 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Below by specific embodiment, the present invention is described in detail.
The schematic flow sheet being applied to a kind of window update method of server that Fig. 1 provides for the embodiment of the present invention, can comprise:
S101: according to the program code of window and the display condition of window, generating window configuration file;
The program code of window and the display condition of window is at least comprised in described windows configuration file.
Be described for application program identification xxx, application A and windows configuration file layer.xml below.
Exemplary, suppose that the display condition of window is: terminal device detects that mobile phone is connected with terminal device usage data line, there is Ax.exe in terminal device system process, application A is not set to forbidding, adopts program code to represent that above-mentioned condition is:
Utilize the display condition of above-mentioned window and the program code of window, generating window configuration file layer.xml.
In actual applications, visual edit interface can be shown to user, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file, in described visual edit interface, at least comprise the program code edit segment of window and the display condition edit segment of window.
In actual applications, can also comprise in visual edit interface: window preview part, when user confirm the display of window preview part in visual edit interface, window that the program code of window is corresponding correct, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file.
Concrete, in visual edit interface, window preview part shows window corresponding to the program code of above-mentioned window, when user confirms that this window shows correct, and generating window configuration file layer.xml.
S102: the corresponding relation setting up application program in described windows configuration file and described server;
Exemplary, set up the corresponding relation of application A in windows configuration file layer.xml and server.
S103: according to the described corresponding relation set up, send to terminal device and upgrade relevant information to application window, the incidence relation of application program in the windows configuration file and terminal device received is set up to make terminal device, in the process that the application program of terminal device is run, according to this incidence relation, load the windows configuration file be associated with the application program of current operation, in the windows configuration file that the application program meeting current operation is associated when the display condition of window, the window that the program code to user's impression window is corresponding.
At least comprise in described information: windows configuration file.
In actual applications, can according to the described corresponding relation set up, the mark of described windows configuration file and the application program corresponding with this windows configuration file is sent directly to terminal device, to make terminal device search the application program identical with the mark of the application program that server sends in local device, the incidence relation of the application program that foundation finds and the windows configuration file that server sends.
Concrete, after server sets up the corresponding relation of application A in windows configuration file layer.xml and server, can directly to the mark of terminal device send window configuration file layer.xml and application A, be assumed to be xxx, terminal device receive that server is sent to mark xxx after, the application program being designated xxx can be searched in local device, the application program found is A, sets up the incidence relation of the windows configuration file layer.xml finding application A and server transmission.
In actual applications, the application window update instruction that all right receiving terminal apparatus sends, at least comprises the mark of application program in described application window update instruction; According to the application window update instruction received, search the application program identification application program identical with the application program identification comprised in described application window update instruction in server this locality; According to the described corresponding relation finding application program and foundation, search the windows configuration file corresponding with finding application program in server this locality; Send the windows configuration file found to terminal device, set up the incidence relation of the windows configuration file that the receives application program corresponding with described application window update instruction to make terminal device.
Concrete, after server sets up the corresponding relation of application A in windows configuration file layer.xml and server, can receiving terminal apparatus send application window update instruction, server is according to the application window update instruction received, extract being designated of application program: xxx, the application program being designated xxx is searched in server this locality, the application program found is A, according to the corresponding relation of the application program and windows configuration file that find application A and foundation, find the windows configuration file layer.xml corresponding with application A, with the incidence relation making terminal device set up application A in windows configuration file layer.xml and terminal device.
In the process that the application program of terminal device is run, suppose to detect that the application program of current operation exists A, then load the windows configuration file layer.xml be associated with application A, when detecting that mobile phone carries out being connected with terminal device usage data line, namely when meeting the display condition of window in the windows configuration file layer.xml that application A is associated, the window that the program code of window is corresponding in user's impression window configuration file layer.xml.
It should be noted that, above-mentionedly for application program identification xxx, application A and windows configuration file layer.xml, window update method to be described, be only an instantiation, and the restriction of the application not in pairs.
The present invention is embodiment illustrated in fig. 1 in application, server only need to terminal device send window configuration file, the incidence relation of application program in windows configuration file and terminal device set up by terminal device, namely the renewal of terminal device application window can be realized, application program installation kit is sent to terminal device without the need to server, the byte taken than application program installation kit due to windows configuration file is few, the Internet resources that translation profile takies than transfer application installation kit are few, therefore save taking of Internet resources in window renewal process.
The first schematic flow sheet being applied to the window update method of terminal device that Fig. 2 provides for the embodiment of the present invention, can comprise:
S201: what reception server sent upgrades relevant information to application window;
At least comprise in described information: windows configuration file;
S202: the incidence relation setting up application program in the windows configuration file and described terminal device received, and then complete the renewal of application window.
In actual applications, can the directly windows configuration file that sends of reception server and the mark of the application program corresponding with this windows configuration file, search the application program identical with the mark of the application program that server sends in terminal device this locality, set up the incidence relation of the application program found and the windows configuration file received.
Be described for application program identification xxx, application A and windows configuration file layer.xml below.
Concrete, suppose that server is at generating window configuration file layer.xml, after setting up the corresponding relation of windows configuration file layer.xml and application A, just can directly to the mark xxx of terminal device send window configuration file layer.xml and application A, the mark xxx of the windows configuration file layer.xml that terminal device reception server sends and application A, this locality is established to search the application program identical with identifying xxx in terminal, finding application program is: A, set up the incidence relation of the application A found and the windows configuration file layer.xml received.
In actual applications, application window update instruction can also be sent to server, the mark of application program is at least comprised in described application window update instruction, to make server according to the mark of described application program, the application program identification application program identical with described application program identification is searched in server this locality, and then according to the corresponding relation of the application program set up in the application program found and server and windows configuration file, search the windows configuration file corresponding with application program in server this locality; The windows configuration file found that reception server sends; Set up application program corresponding to described application window update instruction and the incidence relation of windows configuration file received.
Concrete, terminal device sends the application window update instruction comprising application program identification xxx to server, server searches the application program identical with application program identification xxx in server local device, the application program of searching is: A, according to the corresponding relation of the application program set up in server and windows configuration file, the windows configuration file corresponding with application A is searched in server local device, the windows configuration file found is: layer.xml, to terminal device send window configuration file layer.xml, the windows configuration file layer.xml that terminal device reception server sends, set up the incidence relation of the application A that in terminal device, application program identification xxx is corresponding and the windows configuration file layer.xml received.
It should be noted that, terminal device sends application window update instruction to server, can send in real time, also can send every the time of presetting, also can send after the instruction receiving user's input, the application does not limit this, and any possible implementation can be applied in the application.
It should be noted that, above-mentionedly for application program identification xxx, application A and windows configuration file layer.xml, window update method to be described, be only an instantiation, and the restriction of the application not in pairs.
The present invention is embodiment illustrated in fig. 2 in application, the windows configuration file that terminal device only needs reception server to send, set up the incidence relation of application program in the windows configuration file and terminal device received, namely the renewal of terminal device application window can be realized, application program installation kit is sent to terminal device without the need to server, the byte taken than application program installation kit due to windows configuration file is few, the Internet resources that translation profile takies than transfer application installation kit are few, therefore save taking of Internet resources in window renewal process.
The second schematic flow sheet being applied to the window update method of terminal device that Fig. 3 provides for the embodiment of the present invention, the present invention is embodiment illustrated in fig. 3 on basis embodiment illustrated in fig. 2, increases following two steps,
S203: according to the incidence relation of the application program of the windows configuration file received and foundation, loads the windows configuration file be associated with the application program of current operation;
S204: in the windows configuration file that the application program meeting current operation is associated when the display condition of window, perform the program code of the window in this windows configuration file, the window that the program code to user's impression window is corresponding.
Be described for application A and windows configuration file layer.xml below.
Concrete, in the process that the application program of terminal device is run, suppose to detect that the application program of current operation exists A, then load the windows configuration file layer.xml be associated with application A, when detecting that mobile phone carries out being connected with terminal device usage data line, namely when meeting the display condition of window in the windows configuration file layer.xml that application A is associated, the window that the program code of window is corresponding in user's impression window configuration file layer.xml.
It should be noted that, above-mentionedly for application A and windows configuration file layer.xml, window update method to be described, be only an instantiation, and the restriction of the application not in pairs.
The present invention is embodiment illustrated in fig. 3 in application, and terminal device can show to user the window that the program code of window in the windows configuration file received is corresponding.
Corresponding with said method embodiment, the embodiment of the present invention additionally provides window updating device.
The structural representation being applied to a kind of window updating device of server that Fig. 4 provides for the embodiment of the present invention, can comprise: windows configuration file generation module 301, corresponding relation building module 302 and information sending module 303, wherein, server is connected with terminal equipment in communication
Windows configuration file generation module 301, for according to the program code of window and the display condition of window, generating window configuration file, at least comprises the program code of window and the display condition of window in described windows configuration file;
The windows configuration file generation module 301 of the embodiment of the present invention, specifically may be used for:
Visual edit interface is shown to user, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file, in described visual edit interface, at least comprise the program code edit segment of window and the display condition edit segment of window.
Also comprise at visual edit interface: when window preview part, the windows configuration file generation module 301 of the embodiment of the present invention, specifically may be used for:
Visual edit interface is shown to user, when user confirm the display of window preview part in visual edit interface, window that the program code of window is corresponding correct, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file.
Corresponding relation building module 302, for setting up the corresponding relation of application program in described windows configuration file and described server;
Information sending module 303, for the described corresponding relation according to foundation, send to terminal device and upgrade relevant information to application window, at least comprise in described information: windows configuration file, the incidence relation of application program in the windows configuration file and terminal device received is set up to make terminal device, in the process that the application program of terminal device is run, according to this incidence relation, load the windows configuration file be associated with the application program of current operation, in the windows configuration file that the application program meeting current operation is associated when the display condition of window, to the window that the program code of user's impression window is corresponding.
The information sending module 303 of the embodiment of the present invention, specifically may be used for:
According to the described corresponding relation set up, the mark of described windows configuration file and the application program corresponding with this windows configuration file is sent directly to terminal device, to make terminal device search the application program identical with the mark of the application program that server sends in local device, the incidence relation of the application program that foundation finds and the windows configuration file that server sends.
The information sending module 303 of the embodiment of the present invention, can comprise: update instruction reception submodule, first is searched submodule, second and searched submodule and windows configuration file transmission submodule (not shown),
Update instruction receives submodule, for the application window update instruction that receiving terminal apparatus sends, at least comprises the mark of application program in described application window update instruction;
First searches submodule, for receiving the application window update instruction that submodule receives according to described update instruction, search the application program identification application program identical with the application program identification comprised in described application window update instruction in server this locality;
Second searches submodule, for searching according to described first the described corresponding relation that submodule finds application program and the foundation of described corresponding relation building module, searches the windows configuration file corresponding with finding application program in server this locality;
Windows configuration file sends submodule, searching for sending described second to terminal device the windows configuration file that submodule finds, setting up the incidence relation of the windows configuration file that the receives application program corresponding with described application window update instruction to make terminal device.
The present invention is embodiment illustrated in fig. 4 in application, server only need to terminal device send window configuration file, the incidence relation of application program in windows configuration file and terminal device set up by terminal device, namely the renewal of terminal device application window can be realized, application program installation kit is sent to terminal device without the need to server, the byte taken than application program installation kit due to windows configuration file is few, the Internet resources that translation profile takies than transfer application installation kit are few, therefore save taking of Internet resources in window renewal process.
The first structural representation being applied to the window updating device of terminal device that Fig. 5 provides for the embodiment of the present invention, can comprise: information receiving module 401 and incidence relation set up module 402, wherein, terminal device is connected with server communication,
Information receiving module 401, what send for reception server upgrades relevant information to application window, wherein, at least comprises: windows configuration file in described information;
Incidence relation sets up module 402, for setting up the incidence relation of application program in windows configuration file and described terminal device that information receiving module receives, and then completes the renewal of application window.
Information receiving module 401 in the embodiment of the present invention, specifically may be used for:
The mark of the windows configuration file that direct reception server sends and the application program corresponding with this windows configuration file;
Incidence relation sets up module 402, specifically may be used for:
Search the application program identical with the mark of the application program that server sends in terminal device this locality, set up the incidence relation of the application program found and the windows configuration file received.
Information receiving module 401 in the embodiment of the present invention, can comprise: update instruction sends submodule and windows configuration file receives submodule (not shown), wherein,
Update instruction sends submodule, for sending application window update instruction to server, the mark of application program is at least comprised in described application window update instruction, to make server according to the mark of described application program, the application program identification application program identical with described application program identification is searched in server this locality, and then according to the corresponding relation of the application program set up in the application program found and server and windows configuration file, search the windows configuration file corresponding with application program in server this locality;
Mouth configuration file receives submodule, for the windows configuration file found that reception server sends;
Incidence relation sets up module 402, specifically may be used for:
Set up application program corresponding to described application window update instruction and the incidence relation of windows configuration file received.
The present invention is embodiment illustrated in fig. 5 in application, the windows configuration file that terminal device only needs reception server to send, set up the incidence relation of application program in the windows configuration file and terminal device received, namely the renewal of terminal device application window can be realized, application program installation kit is sent to terminal device without the need to server, the byte taken than application program installation kit due to windows configuration file is few, the Internet resources that translation profile takies than transfer application installation kit are few, therefore save taking of Internet resources in window renewal process.
The second structural representation being applied to the window updating device of terminal device that Fig. 6 provides for the embodiment of the present invention, the present invention is embodiment illustrated in fig. 6 on basis embodiment illustrated in fig. 5, increase: windows configuration file load-on module 403 and window display module 404, wherein
Windows configuration file load-on module 403, for the incidence relation of the application program according to the configuration file received and foundation, loads the windows configuration file be associated with the application program of current operation;
Window display module 404, when display condition for window in the windows configuration file that is associated in the application program meeting current operation, perform the program code of the window in this windows configuration file, the window that the program code to user's impression window is corresponding.
The present invention is embodiment illustrated in fig. 6 in application, and terminal device can show to user the window that the program code of window in the windows configuration file received is corresponding.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (18)

1. a window update method, is applied to server, and described server is connected with terminal equipment in communication, it is characterized in that, described method comprises:
According to the program code of window and the display condition of window, generating window configuration file, at least comprises the program code of window and the display condition of window in described windows configuration file;
Set up the corresponding relation of application program in described windows configuration file and described server;
According to the described corresponding relation set up, send to terminal device and upgrade relevant information to application window, at least comprise in described information: windows configuration file, the incidence relation of application program in the windows configuration file and terminal device received is set up to make terminal device, in the process that the application program of terminal device is run, according to this incidence relation, load the windows configuration file be associated with the application program of current operation, in the windows configuration file that the application program meeting current operation is associated when the display condition of window, to the window that the program code of user's impression window is corresponding.
2. method according to claim 1, is characterized in that, the described described corresponding relation according to setting up, and sends and upgrades relevant information to application window, comprising to terminal device:
According to the described corresponding relation set up, the mark of described windows configuration file and the application program corresponding with this windows configuration file is sent directly to terminal device, to make terminal device search the application program identical with the mark of the application program that server sends in local device, the incidence relation of the application program that foundation finds and the windows configuration file that server sends.
3. method according to claim 1, is characterized in that, the described described corresponding relation according to setting up, and sends and upgrades relevant information to application window, comprising to terminal device:
The application window update instruction that receiving terminal apparatus sends, at least comprises the mark of application program in described application window update instruction;
According to the application window update instruction received, search the application program identification application program identical with the application program identification comprised in described application window update instruction in server this locality;
According to the described corresponding relation finding application program and foundation, search the windows configuration file corresponding with finding application program in server this locality;
Send the windows configuration file found to terminal device, set up the incidence relation of the windows configuration file that the receives application program corresponding with described application window update instruction to make terminal device.
4. the method according to claims 1 to 3 any one, is characterized in that, described according to the program code of window and the display condition of window, generating window configuration file, comprising:
Visual edit interface is shown to user, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file, in described visual edit interface, at least comprise the program code edit segment of window and the display condition edit segment of window.
5. method according to claim 4, it is characterized in that, also comprise in described visual edit interface: window preview part, described according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file, comprising:
When user confirm the display of window preview part in visual edit interface, window that the program code of window is corresponding correct, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file.
6. a window update method, is applied to terminal device, and described terminal device is connected with server communication, it is characterized in that, described method comprises:
What reception server sent upgrades relevant information to application window, at least comprises: windows configuration file in described information;
Set up the incidence relation of application program in the windows configuration file and described terminal device received, and then complete the renewal of application window.
7. method according to claim 6, is characterized in that, what described reception server sent upgrades relevant information to application window, comprising:
The mark of the windows configuration file that direct reception server sends and the application program corresponding with this windows configuration file;
The incidence relation of application program in the windows configuration file that described foundation receives and described terminal device, comprising:
Search the application program identical with the mark of the application program that server sends in terminal device this locality, set up the incidence relation of the application program found and the windows configuration file received.
8. method according to claim 6, is characterized in that, what described reception server sent upgrades relevant information to application window, comprising:
Application window update instruction is sent to server, the mark of application program is at least comprised in described application window update instruction, to make server according to the mark of described application program, the application program identification application program identical with described application program identification is searched in server this locality, and then according to the corresponding relation of the application program set up in the application program found and server and windows configuration file, search the windows configuration file corresponding with application program in server this locality;
The windows configuration file found that reception server sends;
The incidence relation of application program in the windows configuration file that described foundation receives and described terminal device, comprising:
Set up application program corresponding to described application window update instruction and the incidence relation of windows configuration file received.
9. the method according to claim 6 to 8 any one, is characterized in that, described method also comprises:
According to the incidence relation of the application program of the windows configuration file received and foundation, load the windows configuration file be associated with the application program of current operation;
In the windows configuration file that the application program meeting current operation is associated when the display condition of window, perform the program code of the window in this windows configuration file, the window that the program code to user's impression window is corresponding.
10. a window updating device, is applied to server, and described server is connected with terminal equipment in communication, it is characterized in that, described device comprises: windows configuration file generation module, corresponding relation building module and information sending module,
Described windows configuration file generation module, for according to the program code of window and the display condition of window, generating window configuration file, at least comprises the program code of window and the display condition of window in described windows configuration file;
Described corresponding relation building module, for setting up the corresponding relation of application program in described windows configuration file and described server;
Described information sending module, for the described corresponding relation according to foundation, send to terminal device and upgrade relevant information to application window, at least comprise in described information: windows configuration file, the incidence relation of application program in the windows configuration file and terminal device received is set up to make terminal device, in the process that the application program of terminal device is run, according to this incidence relation, load the windows configuration file be associated with the application program of current operation, in the windows configuration file that the application program meeting current operation is associated when the display condition of window, to the window that the program code of user's impression window is corresponding.
11. devices according to claim 10, is characterized in that, described information sending module, specifically for:
According to the described corresponding relation set up, the mark of described windows configuration file and the application program corresponding with this windows configuration file is sent directly to terminal device, to make terminal device search the application program identical with the mark of the application program that server sends in local device, the incidence relation of the application program that foundation finds and the windows configuration file that server sends.
12. devices according to claim 10, is characterized in that, described information sending module, comprising: update instruction reception submodule, first is searched submodule, second and searched submodule and windows configuration file transmission submodule,
Described update instruction receives submodule, for the application window update instruction that receiving terminal apparatus sends, at least comprises the mark of application program in described application window update instruction;
Described first searches submodule, for receiving the application window update instruction that submodule receives according to described update instruction, search the application program identification application program identical with the application program identification comprised in described application window update instruction in server this locality;
Described second searches submodule, for searching according to described first the described corresponding relation that submodule finds application program and the foundation of described corresponding relation building module, searches the windows configuration file corresponding with finding application program in server this locality;
Described windows configuration file sends submodule, searching for sending described second to terminal device the windows configuration file that submodule finds, setting up the incidence relation of the windows configuration file that the receives application program corresponding with described application window update instruction to make terminal device.
13. devices according to claim 9 to 12 any one, is characterized in that, described windows configuration file generation module, specifically for:
Visual edit interface is shown to user, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file, in described visual edit interface, at least comprise the program code edit segment of window and the display condition edit segment of window.
14. devices according to claim 13, is characterized in that, also comprise: window preview part in described visual edit interface, described windows configuration file generation module, specifically for:
Visual edit interface is shown to user, when user confirm the display of window preview part in visual edit interface, window that the program code of window is corresponding correct, according to user editor to the program code of window and the display condition of window in described visual edit interface, generating window configuration file.
15. 1 kinds of window updating devices, are applied to terminal device, and described terminal device is connected with server communication, it is characterized in that, described device comprises: information receiving module and incidence relation set up module,
Described information receiving module, what send for reception server upgrades relevant information to application window, at least comprises: windows configuration file in described information;
Described incidence relation sets up module, for setting up the incidence relation of application program in windows configuration file and described terminal device that information receiving module receives, and then completes the renewal of application window.
16. devices according to claim 15, is characterized in that, described information receiving module, specifically for:
The mark of the windows configuration file that direct reception server sends and the application program corresponding with this windows configuration file;
Described incidence relation sets up module, specifically for:
Search the application program identical with the mark of the application program that server sends in terminal device this locality, set up the incidence relation of the application program found and the windows configuration file received.
17. devices according to claim 15, is characterized in that, described information receiving module, comprising: update instruction sends submodule and windows configuration file receives submodule,
Described update instruction sends submodule, for sending application window update instruction to server, the mark of application program is at least comprised in described application window update instruction, to make server according to the mark of described application program, the application program identification application program identical with described application program identification is searched in server this locality, and then according to the corresponding relation of the application program set up in the application program found and server and windows configuration file, search the windows configuration file corresponding with application program in server this locality;
Described mouth configuration file receives submodule, for the windows configuration file found that reception server sends;
Described incidence relation sets up module, specifically for:
Set up application program corresponding to described application window update instruction and the incidence relation of windows configuration file received.
18., according to claim 15 to the device described in 17 any one, is characterized in that, described device also comprises: windows configuration file load-on module and window display module,
Described windows configuration file load-on module, for the incidence relation of the application program according to the windows configuration file received and foundation, loads the windows configuration file be associated with the application program of current operation;
Described window display module, when display condition for window in the windows configuration file that is associated in the application program meeting current operation, perform the program code of the window in this windows configuration file, the window that the program code to user's impression window is corresponding.
CN201410485711.2A 2014-09-22 2014-09-22 Window updating method and device Pending CN104298521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410485711.2A CN104298521A (en) 2014-09-22 2014-09-22 Window updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410485711.2A CN104298521A (en) 2014-09-22 2014-09-22 Window updating method and device

Publications (1)

Publication Number Publication Date
CN104298521A true CN104298521A (en) 2015-01-21

Family

ID=52318261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410485711.2A Pending CN104298521A (en) 2014-09-22 2014-09-22 Window updating method and device

Country Status (1)

Country Link
CN (1) CN104298521A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681746A (en) * 2015-11-09 2017-05-17 五八同城信息技术有限公司 Mobile application program pop-up window display method, mobile terminal and system
CN107479884A (en) * 2017-08-08 2017-12-15 福建中金在线信息科技有限公司 The generation method and generating means of pop-up box
CN109388426A (en) * 2018-09-28 2019-02-26 北京三快在线科技有限公司 Window parameter configuration method and system, computer-readable medium
CN110209458A (en) * 2019-06-06 2019-09-06 广州小鹏汽车科技有限公司 A kind of window method for drafting and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714095A (en) * 2009-12-18 2010-05-26 康佳集团股份有限公司 Method, terminal and server for replacing skin of embedded user interface system
CN101876908A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 User customizing method and system
US20110296322A1 (en) * 2005-08-30 2011-12-01 Savraj Singh Dhanjal Markup Based Extensibility for User Interfaces
CN102521770A (en) * 2011-12-26 2012-06-27 Tcl集团股份有限公司 Method and system for embedding advertisement into application program interface of terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296322A1 (en) * 2005-08-30 2011-12-01 Savraj Singh Dhanjal Markup Based Extensibility for User Interfaces
CN101714095A (en) * 2009-12-18 2010-05-26 康佳集团股份有限公司 Method, terminal and server for replacing skin of embedded user interface system
CN101876908A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 User customizing method and system
CN102521770A (en) * 2011-12-26 2012-06-27 Tcl集团股份有限公司 Method and system for embedding advertisement into application program interface of terminal equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681746A (en) * 2015-11-09 2017-05-17 五八同城信息技术有限公司 Mobile application program pop-up window display method, mobile terminal and system
CN107479884A (en) * 2017-08-08 2017-12-15 福建中金在线信息科技有限公司 The generation method and generating means of pop-up box
CN109388426A (en) * 2018-09-28 2019-02-26 北京三快在线科技有限公司 Window parameter configuration method and system, computer-readable medium
CN110209458A (en) * 2019-06-06 2019-09-06 广州小鹏汽车科技有限公司 A kind of window method for drafting and device

Similar Documents

Publication Publication Date Title
CN100527080C (en) Method for software program synchronization
CN102694861B (en) A kind of terminal application software sorting technique, Apparatus and system based on cloud
CN105389177A (en) Software version confirmation method, device and system
CN105391811A (en) DNS (domain name resolution) method, access method for application server, and terminal
CN103093148A (en) Detection method, system and device of malicious advertisements
CN103699408A (en) Software updating method and equipment
CN103248711A (en) File uploading method and server
CN105516246A (en) Method for preventing application program downloading hijacking and server
CN105357204B (en) Method and device for generating terminal identification information
CN105337941A (en) Method and device for providing device identifier
CN105354488A (en) Application installation method, related apparatus and application installation system
CN110688096B (en) Method and device for constructing application program containing plug-in, medium and electronic equipment
CN103136342A (en) Searching method, system and searching server of application programs (APP)
CN103747010A (en) Method, system and device for controlling PC (personal computer) by mobile terminal
CN104298521A (en) Window updating method and device
CN104035800A (en) Incremental packet generation method and device, version upgrade method and device, and version upgrade system
CN105677686A (en) Road coding method and device
CN104765603A (en) Application program building method and device
CN103166911A (en) Version management server authority management method and version management server authority management equipment
CN113342854A (en) Method and system for generating unique ID of mobile equipment
CN106055375A (en) Application program installation method and device
CN103139761A (en) Information real-time show method and mobile communication terminal
CN104580267A (en) A resource downloading method, device, server and corresponding system
CN111026408A (en) Method and device for managing application and computer storage medium
CN103984469A (en) Application icon matching method, terminal and network system

Legal Events

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