CN102135872B - A kind of method and device configuring image at logging zone - Google Patents
A kind of method and device configuring image at logging zone Download PDFInfo
- Publication number
- CN102135872B CN102135872B CN201010100546.6A CN201010100546A CN102135872B CN 102135872 B CN102135872 B CN 102135872B CN 201010100546 A CN201010100546 A CN 201010100546A CN 102135872 B CN102135872 B CN 102135872B
- Authority
- CN
- China
- Prior art keywords
- image configurations
- image
- file
- configurations file
- fileinfo
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
A kind of method and device configuring image at logging zone, belong to network communication technology field, to solve in existing logging zone image configurations technology, there is the problem that the image type that web page interlinkage was easily lost efficacy and was hacked, logging zone is shown of dynamically configuration is supported image type to be limited by webpage. The present invention includes obtaining image configurations fileinfo, and the image configurations file download configured will be needed to local, and described image configurations file includes picture or animation; The image configurations fileinfo of configuration is needed, by the image configurations document presentation of acquisition at the logging zone specified according to logging zone. The present invention is by downloading in real time the image configurations file needing configuration, it is achieved that the dynamic image configuration of logging zone, has that real-time is good, not easily lost efficacy and advantage that the image type that is hacked and supports is more.
Description
Technical field
The present invention relates to a kind of method and device configuring image at logging zone, belong to network communication technology field.
Background technology
At present, IM (InstantMessaging, instant messaging) instrument has become as the requisite software tool of the network user, and has the instant feature linked up that can realize on the Internet by P-2-P technology. IM instrument needs to input the logging zone of the information such as account, password for user, thus realizing login authentication. Logging zone can configure image, in order to the feature style of prominent software, it is often more important that IM too development business can be allowed to carry out products propaganda, public good publicity, advertisement etc.
The image configurations of logging zone generally comprises two kinds: static configuration and dynamically configuration. Static configuration refers to image and is bundled to by the image of logging zone when software development in the installation procedure of IM instrument, and when logging in this IM instrument, logging zone all presents fixing image every time. It is be bundled in program by image due to static configuration, the image type supported and Limited Number, the change of picture cannot be carried out by extraneous channel, also cannot realizing real-time, therefore the existing many employings of IM instrument dynamically configure, and dynamic configuration refers to logging zone and controlled by IM server end, being actually needed according to developer, upgrade in time picture material, after the image update, all can show different images when logging in every time. Existing Dynamic Configuration is to configure a browser control part, the webpage of a corresponding fixed-link at logging zone, and image is placed on webpage, owing to webpage can by developer's real time modifying, it is possible to reach the purpose of dynamically configuration.
Therefore, in existing logging zone image configurations technology, there is the problem that the image type that web page interlinkage was easily lost efficacy and was hacked, logging zone is shown of dynamically configuration is supported image type to be limited by webpage.
Summary of the invention
The invention provides a kind of method and device configuring image at logging zone, to solve in existing logging zone image configurations technology, there is the problem that the image type that web page interlinkage was easily lost efficacy and was hacked, logging zone is shown of dynamically configuration is supported image type to be limited by webpage.
A kind of method configuring image at logging zone, including:
Obtain image configurations fileinfo, and the image configurations file download configured will be needed to local;
The image configurations fileinfo of configuration is needed, by the image configurations document presentation of acquisition at the logging zone specified according to logging zone.
A kind of device configuring image at logging zone, including:
Image configurations file obtaining unit, is used for obtaining image configurations fileinfo, and the image configurations file download configured will be needed to local;
Image configurations file configuration unit, for needing the image configurations fileinfo of configuration, by the image configurations document presentation of acquisition at the logging zone specified according to logging zone.
The present invention is by downloading in real time the image configurations file needing configuration, it is achieved that the dynamic image configuration of logging zone, has that real-time is good, not easily lost efficacy and the advantage that is hacked.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of method configuring image at logging zone that the specific embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the download image configurations file that the specific embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the displaying image configurations file that the specific embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of device configuring image at logging zone that the specific embodiment of the present invention provides.
Detailed description of the invention
The specific embodiment of the present invention provides a kind of method configuring image at logging zone, first obtains image configurations fileinfo, and the image configurations file download configured will be needed to local; Then the image configurations fileinfo of configuration is needed according to logging zone, by the image configurations document presentation of acquisition at the logging zone specified.
Further, corresponding acquisition image configurations fileinfo specifically includes and obtains the download address of image configurations file, check code from image configurations fileinfo and enable and down time; Corresponding the image configurations document presentation of acquisition is specifically included in the classics of logging zone at the logging zone specified logs in panel or standard logs in the top of panel or the image configurations file specified is shown at middle part; The timestamp that corresponding acquisition image configurations fileinfo specifically can include according to sending acquisition image configurations file information request determines whether new image configurations file, if there being new image configurations file, then obtains the image configurations file after updating; The image configurations file download that will need configuration accordingly specifically can include to this locality, after obtaining image configurations fileinfo, being deleted from this locality by existing unwanted picture configuration file; And, can also include locally downloading image configurations fileinfo is verified behind this locality by the image configurations file download needing configuration.
Additionally, if the method can also include obtaining the failure of image configurations fileinfo, the image configurations file of acquisition does not meet logging zone needs, be not detected by the use time of image configurations file, the image configurations file of acquisition exceedes the configuration time limit or the image configurations file of needs configuration is not locally downloading, then show the image configurations file of acquiescence at the logging zone specified.
IM instrument is stepped on the flexible configuration of relevant operational area in the panel asking region and is controlled with display by a kind of method back-level server end at logging zone configuration image that this detailed description of the invention provides, can support static state the picture file such as bmp, jpg, png, also support the animation of the forms such as Flash, gif simultaneously, not only can be applied in the image configurations of logging zone of the IM instruments such as QQ, MSN, Ali Wang Wang, Fetion, it is also possible to be applied in the interactive stronger software such as QQlive, QQgame.For a kind of method configuring image at logging zone that clearer this detailed description of the invention of explanation provides, in conjunction with Figure of description, the method is described in detail, as it is shown in figure 1, specifically may include that
Step 21, obtains image configurations fileinfo, and the image configurations file download configured will be needed to local.
The actual effect of image configurations file local when the download of image configurations file can log according to IM instrument is initiated, if finding, local configuration file has expired situation just can start download, and corresponding image configurations file can include the detailed process of the downloads such as picture, animation, audio or video and may refer to Fig. 2. after user logs in the success of IM instrument, image configurations file is sent more newly requested to server end, judge whether image configurations file has renewal, if having, first determine whether new image configurations file according to the timestamp sending acquisition image configurations file information request, and image configurations file is resolved, after obtaining corresponding image configurations file, the image configurations file of acquisition and the existing image configurations file in this locality can be merged, the i.e. hash value of first movement images configuration file, if desired the image configurations file downloaded is existing in this locality, then without repeated downloads, then checking the effective time of local existing image configurations file, if exceeding effective time, then corresponding image configurations file being deleted.
After obtaining corresponding image configurations file, it is also possible to collect and download queue, namely according to image configurations fileinfo, this locality is absent from and downloads the image configurations file of existence in queue and be downloaded to this locality. Downloading process can be initiate, according to download queue, the request of downloading one by one, and the download image configurations file of serial, after a task has been downloaded, it is also possible to the image configurations file downloaded is carried out MD5 verification, to guarantee the legitimacy of image configurations file.
Step 22, needs the image configurations fileinfo of configuration, by the image configurations document presentation of acquisition at the logging zone specified according to logging zone.
By image configurations document presentation the logging zone specified be according to image configurations fileinfo by download image configurations document presentation formulate operational area, the detailed process of displaying may refer to Fig. 3. First image and the photographed image-related information of various IM instrument logging zone (including the classical top logging in panel in panel, standard login panel, login and middle part etc.) required configuration are obtained, corresponding photographed image-related information includes picture cues language, image redirects link etc., by the image configurations document presentation of acquisition at the logging zone specified.
It is likely to occur following situation when mate: the image configurations file obtain the failure of image configurations fileinfo, obtaining does not meet logging zone needs, is not detected by the use time of image configurations file, the image configurations file of acquisition exceedes and configures the time limit or image configurations file that needs configure is not locally downloading the image configurations file of acquisition and logging zone being needed the image configurations fileinfo of configuration, then show the image configurations file of acquiescence at the logging zone specified, then all use the image configurations file of acquiescence.
Corresponding image configurations file can adopt XML format, specific as follows:
<? xmlversion=" 1.0 " encoding=" utf-8 "?>
<LoginLogoConfig>
<Logo
Id=" 1 "
DLUrl=" http://qqlogo.qq.com/test_012 "
HCode=" 6561C7FD5F4E097F1A0F1A5E192A326A "
StartingTime=" 20090805 "
EndingTime=" 20090810 "
LTip=" www.qq.com "
LUrl=" http://www.qq.com "
/>
<Logo
Id=" 2 "
DLUrl=" http://qqlogo.qq.com/test_2 "
HCode=" D21BB4F166874F6DD2857F43F4686A9A "
StartingTime=" 20090801 "
EndingTime=" 20090803 "
LTip=" pats net "
LUrl=" http://paipai.qq.com "
/>
<MConfig>
<MVasFlag=" Normal ">
<Pname=" login_mini " Id=" 1 "/>
<Pname=" login_standard " Id=" 2 "/>
<Pname=" logining_top " Id=" 3 "/>
</M>
<MVasFlag=" QQVip ">
<Pname=" login_mini " Id=" 1 "/>
<Pname=" login_standard " Id=" 2 "/>
<Pname=" logining_top " Id=" 4 "/>
<Pname=" logining_mid " Id=" 5 "/>
</M>
</MatchConfig>
</LoginLogoConfig>
LoginLogoConfig Node field therein is referred to following table and illustrates:
Field | Explanation |
Id | The position ID of image, being used for describing this image is be placed on login panel On which position |
Timing | The timestamp of image, client is by verifying that this timestamp judges this Logo is the need of replacement |
DLUrl | Image download address |
HCode | The hash value of image, at present location full dose md5 verification |
StartingTime | The enabling time of image |
EndingTime | The down time of image |
Pro | Operation word |
LTip | Prompt text |
LUrl | The chained address redirected after click |
MatchConfig Node field therein is referred to following table and illustrates:
Field | Explanation |
VasFlag | Service identification bit, only has QQVip and Normal two kinds at present |
P(name) | Operational area, be at present: Login_mini: classical login panel Login_stamdard: standard logs in panel Logining_top: upper panel in login Logining_mid: middle panel in login |
P(id) | To image |
This detailed description of the invention is by downloading the image configurations file needing configuration in real time, achieve the dynamic image configuration of logging zone, support the type of image configurations file to greatest extent, the sheet of form such as including static bmp, jpg, png, and the animation of the form such as dynamic Flash, gif;An unbounded quantity of image configurations file of IM tool display can be made, it is achieved dynamically configure flexibly by download; It addition, it is higher directly to communicate safety coefficient with server end, it is possible to adopt and server end transformat set in advance, be not easily cracked and attack, can also be verified by MD5 after download, further increasing the safety of image configurations.
The specific embodiment of the present invention additionally provides a kind of device configuring image at logging zone, as shown in Figure 4, specifically can include image configurations file obtaining unit 41 and image configurations file configuration unit 42, image configurations file obtaining unit 41 is used for obtaining image configurations fileinfo, and the image configurations file download configured will be needed to local; Image configurations file configuration unit 42 for needing the image configurations fileinfo of configuration according to logging zone, by the image configurations document presentation of acquisition at the logging zone specified.
Further, in image configurations file obtaining unit 41, corresponding acquisition image configurations fileinfo specifically includes and obtains the download address of image configurations file, check code from image configurations fileinfo and enable and down time; The timestamp that corresponding acquisition image configurations fileinfo specifically includes according to sending acquisition image configurations file information request determines whether new image configurations file, if there being new image configurations file, then obtains the image configurations file after updating; Existing unwanted picture configuration file is deleted after being specifically included in acquisition image configurations fileinfo to this locality by the corresponding image configurations file download configured by needs from this locality; In image configurations file configuration unit 42, accordingly the image configurations document presentation of acquisition is specifically included in the classics of logging zone at the logging zone specified and logs in panel or standard and log in the top of panel or the image configurations file specified is shown at middle part;
It addition, this device can also include verification unit and default image dispensing unit, verification unit is for verifying locally downloading image configurations fileinfo; If default image dispensing unit does not meet for the image configurations file obtaining the failure of image configurations fileinfo, obtain, logging zone needs, is not detected by the use time of image configurations file, the image configurations file of acquisition exceedes the configuration time limit or the image configurations file of needs configuration is not locally downloading, then show the image configurations file given tacit consent at the logging zone specified.
Present embodiment first passes through image configurations file 41 acquiring unit and obtains image configurations fileinfo, and the image configurations file download configured will be needed to local, and image configurations file includes picture or animation; Then pass through image configurations file configuration unit 42 and need the image configurations fileinfo of configuration according to logging zone, by the image configurations document presentation of acquisition at the logging zone specified; It can in addition contain locally downloading image configurations fileinfo is verified by verification unit; And if obtain the failure of image configurations fileinfo by default image dispensing unit, the image configurations file that obtains does not meet that logging zone needs, is not detected by the use time of image configurations file, the image configurations file of acquisition exceedes the configuration time limit or the image configurations file of needs configuration is not locally downloading, then show the image configurations file given tacit consent at the logging zone specified.
The detailed description of the invention of the process function of each unit comprised in above-mentioned terminal has been described above in method embodiment before, is not repeated at this to describe.
The above; being only the present invention preferably detailed description of the invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; the change that can readily occur in or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.
Claims (10)
1. the method configuring image at logging zone, it is characterised in that including:
Image configurations file information request is sent to server end, timestamp according to sending image configurations file information request determines whether new image configurations file, if there being new image configurations file, then collect download queue, and according to image configurations fileinfo, this locality is absent from and download in queue exist image configurations file download to this locality;
The image configurations fileinfo of configuration is needed, by the image configurations document presentation of acquisition at the logging zone specified according to logging zone;
Described the image configurations document presentation of acquisition is specifically included in the classics of logging zone at the logging zone specified logs in panel or standard and log in the top of panel or the image configurations file specified is shown at middle part;
Described image configurations file includes picture, animation, audio or video.
2. method according to claim 1, it is characterised in that obtain described image configurations fileinfo and specifically include and obtain the download address of image configurations file, check code from image configurations fileinfo and enable and down time.
3. method according to claim 1, it is characterised in that described this locality is absent from and download in queue exist image configurations file download specifically include to this locality:
After obtaining image configurations fileinfo, existing unwanted picture configuration file is deleted from this locality.
4. method according to claim 1, it is characterised in that this locality is absent from and download in queue exist image configurations file download also include behind this locality:
Locally downloading image configurations fileinfo is verified.
5. the method according to Claims 1-4 any one, it is characterised in that the method includes:
If obtain the failure of image configurations fileinfo, the image configurations file of acquisition does not meet logging zone needs, be not detected by the use time of image configurations file, the image configurations file of acquisition exceedes the configuration time limit or the image configurations file of needs configuration is not locally downloading, then show the image configurations file given tacit consent at the logging zone specified.
6. the device configuring image at logging zone, it is characterised in that including:
Image configurations file obtaining unit, for sending image configurations file information request to server end, timestamp according to sending image configurations file information request determines whether new image configurations file, if there being new image configurations file, then collect download queue, and according to image configurations fileinfo, this locality is absent from and download in queue exist image configurations file download to this locality;
Image configurations file configuration unit, for needing the image configurations fileinfo of configuration, by the image configurations document presentation of acquisition at the logging zone specified according to logging zone;
At image configurations file configuration unit, described the image configurations document presentation of acquisition is specifically included in the classics of logging zone at the logging zone specified logs in panel or standard logs in the top of panel or the image configurations file specified is shown at middle part;
Described image configurations file includes picture, animation, audio or video.
7. device according to claim 6, in image configurations file obtaining unit, obtains described image configurations fileinfo and specifically includes and obtain the download address of image configurations file, check code from image configurations fileinfo and enable and down time.
8. device according to claim 6, it is characterised in that in image configurations file obtaining unit, described this locality is absent from and download in queue exist image configurations file download specifically include to this locality:
After obtaining image configurations fileinfo, existing unwanted picture configuration file is deleted from this locality.
9. device according to claim 6, it is characterised in that this device also includes:
Verification unit, for verifying locally downloading image configurations fileinfo.
10. the device according to claim 6 to 9 any one, it is characterised in that this device also includes:
Default image dispensing unit, if the image configurations file for obtaining the failure of image configurations fileinfo, obtain does not meet, logging zone needs, is not detected by the use time of image configurations file, the image configurations file of acquisition exceedes the configuration time limit or the image configurations file of needs configuration is not locally downloading, then show the image configurations file given tacit consent at the logging zone specified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010100546.6A CN102135872B (en) | 2010-01-22 | 2010-01-22 | A kind of method and device configuring image at logging zone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010100546.6A CN102135872B (en) | 2010-01-22 | 2010-01-22 | A kind of method and device configuring image at logging zone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102135872A CN102135872A (en) | 2011-07-27 |
CN102135872B true CN102135872B (en) | 2016-06-15 |
Family
ID=44295667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010100546.6A Active CN102135872B (en) | 2010-01-22 | 2010-01-22 | A kind of method and device configuring image at logging zone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102135872B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312623B (en) * | 2012-03-08 | 2016-08-17 | 百度在线网络技术(北京)有限公司 | Task cooperation device and method |
US9754031B2 (en) | 2012-03-22 | 2017-09-05 | Google Inc. | Providing content |
CN106156235B (en) * | 2015-04-27 | 2021-01-12 | Tcl科技集团股份有限公司 | Picture downloading method and system based on Android platform |
CN107277559B (en) * | 2017-06-20 | 2020-02-07 | 武汉斗鱼网络科技有限公司 | Turntable interaction method and device |
CN109375960B (en) * | 2018-09-29 | 2021-10-01 | 郑州云海信息技术有限公司 | Copyright information loading method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1956384A (en) * | 2005-10-27 | 2007-05-02 | 腾讯科技(深圳)有限公司 | Method and system of dynamic display accession number or patent in immediate communication |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040064514A1 (en) * | 2002-09-17 | 2004-04-01 | Daniell W. Todd | Providing instant messaging (IM) internet presence information and chat capability from displayed email messages |
CN101075879B (en) * | 2006-06-13 | 2012-04-25 | 腾讯科技(深圳)有限公司 | Method for downloading data |
CN101516056A (en) * | 2008-12-24 | 2009-08-26 | 上海闻泰电子科技有限公司 | Method for changing mobile phone theme resources |
CN101582860B (en) * | 2009-06-16 | 2012-10-10 | 中兴通讯股份有限公司 | Method for replacing user interface skins of different communication equipment |
-
2010
- 2010-01-22 CN CN201010100546.6A patent/CN102135872B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1956384A (en) * | 2005-10-27 | 2007-05-02 | 腾讯科技(深圳)有限公司 | Method and system of dynamic display accession number or patent in immediate communication |
Also Published As
Publication number | Publication date |
---|---|
CN102135872A (en) | 2011-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100790506B1 (en) | Web page providing method and apparatus, and computer readable recording medium for storing web page providing program | |
CN101389925B (en) | Communication device for emulating a behavior of a navigation device | |
CN104519050B (en) | Login method and login system | |
US20030204843A1 (en) | Automated installation of an application | |
CN102135872B (en) | A kind of method and device configuring image at logging zone | |
WO2012163123A1 (en) | Application management method and application platform | |
CN107948148B (en) | Method and device for simulating replacement filling | |
CN103136478B (en) | A kind of method for managing security of terminal applies and system | |
CN101473675A (en) | Virtualization of mobile device user experience | |
WO2018033094A1 (en) | Rich communication suite release platform, method and system for version update, and mobile terminal | |
US20160191633A1 (en) | Method and apparatus for implementing communication from web page to client | |
US20170163767A1 (en) | Broadcast-based update management | |
EP2652635B1 (en) | Providing a customized application to a user terminal | |
US9537807B2 (en) | Automatically transitioning a user from a call to action to an enrollment interface | |
CN102056025A (en) | Method for upgrading IPTV module | |
CN112000378A (en) | VR equipment management method and system | |
CN103733596A (en) | Method for managing access to a set of resources delivered via an electronic device | |
US9621630B2 (en) | Distribution method, distribution apparatus, and terminal apparatus | |
JP2011013994A (en) | Information output device, information output system, information output method, and program | |
US20110295955A1 (en) | Page monitoring | |
US20140164556A1 (en) | Method and system for live loading of a toolbar | |
KR101249449B1 (en) | Apparatus for web platform verification tool and control method thereof | |
CN102984142A (en) | Login system and login method of enterprise resource planning system | |
CN112422566B (en) | Remote call processing method and device, storage medium and electronic device | |
CN103647841B (en) | Method for analyzing and downloading network file address of thin client |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |