CN106326778A - Picture checking method, server and terminal equipment - Google Patents

Picture checking method, server and terminal equipment Download PDF

Info

Publication number
CN106326778A
CN106326778A CN201610653068.9A CN201610653068A CN106326778A CN 106326778 A CN106326778 A CN 106326778A CN 201610653068 A CN201610653068 A CN 201610653068A CN 106326778 A CN106326778 A CN 106326778A
Authority
CN
China
Prior art keywords
screen locking
locking picture
check code
picture
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610653068.9A
Other languages
Chinese (zh)
Other versions
CN106326778B (en
Inventor
于浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610653068.9A priority Critical patent/CN106326778B/en
Publication of CN106326778A publication Critical patent/CN106326778A/en
Application granted granted Critical
Publication of CN106326778B publication Critical patent/CN106326778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a picture checking method, a server and terminal equipment. The method comprises the following steps that when obtaining a screen lock picture, a server performs calculation on the screen lock picture in a preset checking code calculation mode to obtain a first screen lock picture checking code; the server sends the first screen lock picture checking code corresponding to the screen lock picture to a terminal; the server sends the screen lock picture to the terminal. The embodiment of the invention has the advantages that the screen lock picture checking code is calculated on the screen lock picture by setting the same preset checking code calculation mode at the server and the terminal, so that the screen lock magazine picture received by the terminal is enabled to be a resource correspondingly identical to the screen lock picture issued by the server; the conditions that the screen lock picture in a downloading process is tampered, and the download is not complete are prevented; the guaranteed screen lock magazine resource display is brought to a user.

Description

A kind of picture method of calibration, server and terminal unit
Technical field
The present invention relates to the communications field, be specifically related to a kind of picture method of calibration, server and terminal unit.
Background technology
Along with popularizing of intelligent mobile terminal such as mobile phone, flat board etc. and developing rapidly of mobile Internet, intelligent mobile is eventually User's usage amount of end is increasing.And one of screen locking function standard application having become as intelligent mobile terminal, it is Intelligent sliding Dynamic terminal presents to the primary impression of user, therefore, belongs to user and uses the application of very high frequency.
But, screen locking mode of the prior art is only provided that the function of some static state, such as conventional locking and unblock Function, for providing fault-operation protection and the safeguard protection of such as coded lock;The prompt facility of essential information, is used for pointing out user Incoming information and short message;The conventional entrance arranged with common function, quickly arranges brightness, data service switch for user Or the quick entrance that some application are such as taken pictures.Generally speaking, screen locking mode of the prior art is in static state, when user sets After having put screen locking background, unlocking manner, application entrance, the desktop of screen locking in addition to SMS Tip and phone, substantially without Changing, the especially background of screen locking desktop is stiff, does not has feeling of freshness again.
This programme proposes screen locking magazine application function, and mobile phone can be real according to the slide of user at screen locking display interface Time show different picture, this picture can be to pre-set local picture, it is also possible to is all types of pictures of server push, advertisement Picture etc..But terminal is when downloading screen locking picture from server, it is possible to occur in downloading process picture be tampered or under Carrying incomplete situation, there is mistake in the screen locking picture resource causing terminal to receive.
Summary of the invention
Embodiments provide a kind of picture method of calibration, server and terminal unit, to can ensure that terminal The screen locking picture downloaded to is corresponding consistent resource with the screen locking picture that server is issued.
Embodiment of the present invention first aspect provides a kind of picture method of calibration, including:
When server obtains screen locking picture, described screen locking picture utilize default check code calculation be calculated first Screen locking picture check code;
Server sends the first screen locking picture check code corresponding with described screen locking picture to terminal;
The described server described screen locking picture of transmission is to described terminal, so that described terminal utilizes institute to described screen locking picture State default check code calculation and be calculated the second screen locking picture check code, and in described first screen locking picture check code and institute State the second screen locking picture check code identical time to determine that described screen locking picture sends correct.
Embodiment of the present invention second aspect provides a kind of picture method of calibration, including:
Terminal obtains the first screen locking picture check code corresponding with screen locking picture that server sends, described first screen locking figure Sheet check code is that described screen locking picture is utilized default check code calculation calculated by described server;
Described terminal receives the described screen locking picture that described server sends;
Described screen locking picture utilize described default check code calculation be calculated the second screen locking picture check code, and Judge that described first screen locking picture check code is the most identical with described second screen locking picture check code;
If described first screen locking picture check code is identical with described second screen locking picture check code, it is determined that described screen locking figure Sheet sends correct.
The embodiment of the present invention third aspect provides a kind of server, including:
Computing module, when being used for obtaining screen locking picture, utilizes described screen locking picture and presets the calculating of check code calculation Obtain the first screen locking picture check code;
Sending module, for sending the first screen locking picture check code corresponding with described screen locking picture to terminal;
Described sending module, is additionally operable to send described screen locking picture to described terminal, so that described terminal is to described screen locking Picture utilizes described default check code calculation to be calculated the second screen locking picture check code, and at described first screen locking picture It is correct that check code determines time identical with described second screen locking picture check code that described screen locking picture sends.
Embodiment of the present invention fourth aspect provides a kind of terminal unit, including:
Acquisition module, for obtaining the first screen locking picture check code corresponding with screen locking picture that server sends, described First screen locking picture check code is that described screen locking picture is utilized default check code calculation calculated by described server;
Receiver module, for receiving the described screen locking picture that described server sends;
Computing module, for utilizing described default check code calculation to be calculated the second screen locking in described screen locking picture Picture check code, and judge that described first screen locking picture check code is the most identical with described second screen locking picture check code;
Determine module, if identical, then with described second screen locking picture check code for described first screen locking picture check code Determine that described screen locking picture sends correct.
The embodiment of the present invention the 5th aspect provides a kind of server, including:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs first aspect present invention Described method.
The embodiment of the present invention the 5th aspect provides a kind of terminal unit, including:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs second aspect present invention Described method.
It can be seen that in the technical scheme that the embodiment of the present invention provides, when server obtains screen locking picture, to described lock Screen picture utilizes default check code calculation to be calculated the first screen locking picture check code;Then server retransmit this first Screen locking picture check code is to terminal;Last server retransmits screen locking picture to terminal, so that described terminal is to described screen locking figure Sheet utilizes described default check code calculation to be calculated the second screen locking picture check code, and in described first screen locking picture school Test code identical with described second screen locking picture check code time to determine that described screen locking picture sends correct.By in server and terminal Arrange identical default check code calculation and screen locking picture is calculated screen locking picture check code, judge server and end the most again Whether the screen locking picture check code that end is calculated is the most identical to judge to send when server sends screen locking picture to terminal Correctly, thus can ensure that the screen locking magazine picture received by terminal is corresponding consistent money with the screen locking picture that server is issued Source, prevents the screen locking picture in downloading process to be tampered, download incomplete situation, brings guaranteed screen locking magazine to user Resource is shown.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the first network Organization Chart of the picture check system that the embodiment of the present invention provides;
Fig. 2-a is that schematic diagram play by the terminal screen locking picture first that the embodiment of the present invention provides;
Fig. 2-b is that schematic diagram play by the terminal screen locking picture first that the embodiment of the present invention provides;
Fig. 3-a is the first embodiment schematic flow sheet of a kind of picture method of calibration that the embodiment of the present invention provides;
Fig. 3-b is a kind of image pixel schematic diagram that the embodiment of the present invention provides;
Fig. 3-c is the another kind of picture pixels schematic diagram that the embodiment of the present invention provides;
Fig. 4-a is the second embodiment schematic flow sheet of a kind of picture method of calibration that the embodiment of the present invention provides;
Fig. 4-b shows that providing a kind of screen locking picture sends miscue figure;
Fig. 5-a is the second network architecture diagram of the picture check system that the embodiment of the present invention provides;
Fig. 5-b is the 3rd embodiment schematic flow sheet of a kind of picture method of calibration that the embodiment of the present invention provides;
Fig. 6 is the 4th embodiment schematic flow sheet of a kind of picture method of calibration that the embodiment of the present invention provides;
Fig. 7 is the first embodiment structural representation of a kind of server that the embodiment of the present invention provides;
Fig. 8 is the second example structure schematic diagram of a kind of server that the embodiment of the present invention provides;
Fig. 9 is the 3rd example structure schematic diagram of a kind of server that the embodiment of the present invention provides;
Figure 10 is the first embodiment structural representation of a kind of terminal unit that the embodiment of the present invention provides;
Figure 11 is the second example structure schematic diagram of a kind of terminal unit that the embodiment of the present invention provides;
Figure 12 is the 3rd example structure schematic diagram of a kind of terminal unit that the embodiment of the present invention provides;
Figure 13 is the 4th example structure schematic diagram of a kind of terminal unit that the embodiment of the present invention provides.
Detailed description of the invention
Embodiments provide a kind of picture method of calibration, server and terminal unit, to can ensure that terminal The screen locking picture downloaded to is corresponding consistent resource with the screen locking picture that server is issued.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under not making creative work premise, all should belong to the model of present invention protection Enclose.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " and " the 3rd " etc. are For distinguishing different object, not for describing particular order.Additionally, term " includes " and they any deformation, it is intended that In covering non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product or equipment do not have It is defined in the step or unit listed, but the most also includes step or the unit do not listed, or the most also include Other step intrinsic for these processes, method, product or equipment or unit.
A kind of picture of the embodiment of the present invention pushes and display packing, including: server receives the screen locking figure that terminal sends Sheet downloads request, and described screen locking picture is downloaded request and downloaded the first screen locking picture for described terminal to described server request; Obtain the current network state of described terminal;Current network state according to described terminal returns and described current network state pair The resolution answered and the second screen locking picture of compression factor download request, described second screen locking figure to respond described screen locking picture Sheet is identical with described first screen locking image content but has the screen locking picture of different resolution and/or compression factor.
It is the first network Organization Chart of the picture check system that the embodiment of the present invention provides referring first to Fig. 1, Fig. 1, this figure Sheet updates system and includes terminal 100 and server 200, is set up by wired or wireless mode between terminal 100 and server 200 Communication connection so that data can be carried out between terminal 100 and server 200 and upload or download, in embodiments of the present invention, clothes Business device 200 can push screen locking magazine picture to terminal 100, and terminal 100 can send to server and obtain screen locking magazine picture Request.Wherein, terminal 100 refers to the intelligent terminal such as mobile phone, panel computer, terminal 100 to support under locking screen interface and plays lock Screen picture, terminal 100 can show different picture according to the slide of user in real time at screen locking display interface, and this picture is permissible It is the local picture pre-seted, it is also possible to be all types of pictures of server push, advertising pictures etc..See Fig. 2-a and figure 2-b, Fig. 2-a shows that schematic diagram play by the terminal screen locking picture first that the embodiment of the present invention provides, and Fig. 2-b shows the present invention Schematic diagram play by the terminal screen locking picture second that embodiment provides.The screen locking picture that terminal 100 Play Server 200 provides, should Server 200 can generate check code based on this screen locking picture, and this check code is sent to terminal 100, and terminal 100 is permissible Receive the check code that server sends, and check code can be generated with oneself based on this screen locking picture, thus to verify terminal 100 The screen locking picture received from server 200 is the most correct.
The picture method of calibration that the embodiment of the present invention is provided is based on what this network architecture diagram carried out realizing, and the present invention is real The picture method of calibration that executing example is provided is to support screen locking picture playing based on terminal 100, receives the screen locking that server 200 pushes The scene of picture carries out realizing.
See the first embodiment flow process that Fig. 3-a, Fig. 3-a is a kind of picture method of calibration that the embodiment of the present invention provides to show It is intended to.Wherein, as shown in Fig. 3-a, this picture method of calibration may comprise steps of:
When S301, server obtain screen locking picture, this screen locking picture utilize default check code calculation be calculated First screen locking picture check code.
Wherein, screen locking picture refers to the picture of screen locking magazine that terminal pushed at the server that locking screen interface shows.
Wherein, default check code refer to server to terminal send screen locking picture time, in order to judge this screen locking picture Transmission is the most correct, and the screen locking picture arranged with terminal.
Alternatively, this default check code calculation can be the mode utilizing picture to produce check code that some are general.
In embodiments of the present invention, server by utilizing presets the calculated first screen locking picture school of check code calculation Testing code can be numeral, it is also possible to for the check code of other form.
S302, server send the first screen locking picture check code corresponding with this screen locking picture to terminal.
Alternatively, this first screen locking picture check code can be sent to terminal before sending screen locking picture by server, Specifically, can be attached to be sent in this screen locking pictorial information list of terminal to be individually sent to terminal, this screen locking Pictorial information list includes the information such as the size of screen locking picture, title simultaneously.
Alternatively, corresponding first screen locking picture check code can also be sent out while sending this screen locking picture by server Give terminal.
S303, server transmission screen locking picture is to terminal, so that this screen locking picture is utilized by terminal presets check code calculating Mode is calculated the second screen locking picture check code, and identical at the first screen locking picture check code and the second screen locking picture check code Time to determine that screen locking picture sends correct.
Alternatively, in other possible embodiments of the present invention, it is also possible to certain fault tolerant mechanism is set, namely Make determining that server calculating and sending is given the first screen locking picture check code of terminal and is calculated with according to same screen locking picture The second screen locking picture check code identical time, it may be determined that the second screen locking picture check code and the error of the second screen locking picture check code In certain scope, it is also considered as the two identical, thus the fractional error allowing in transmitting procedure can be met.
Specifically, if the numeral that this screen locking picture check code is X position, wherein, X is positive integer, then at the first screen locking figure Sheet check code and the second screen locking picture check code differ figure place in allowed band time, determine the first screen locking picture and second Screen locking picture is identical, namely it is correct now to determine that this screen locking picture sends.
Illustrate, in an example of the present invention, if screen locking picture 1 is utilized by server presets check code calculating side It is 0356791032 that formula is calculated the first screen locking picture check code, when this screen locking picture 1 is sent to terminal by server, as Really terminal is calculated the second screen locking picture check code to this screen locking picture 1 is 0356771032, due to only one error, In the range of error allowed, now it is believed that screen locking picture 1 sends correctly;
Further, if terminal is calculated screen locking to screen locking picture 1 (this screen locking picture 1 is likely to occur mistake) Picture check code is 3357771038, now has 4 differences due to check code, it is evident that now it is believed that screen locking picture occurs Mistake.
Further, if allowable error scope is 5%, and 1 error is the error of 10%, is not permitting Permitted range of error in, so time think that screen locking picture makes a mistake.
It can be seen that in the scheme of the present embodiment, when server obtains screen locking picture, described screen locking picture is utilized and presets Check code calculation is calculated the first screen locking picture check code;Then server retransmits this first screen locking picture check code To terminal;Last server retransmits screen locking picture to terminal, so that described terminal utilizes described presetting to described screen locking picture Check code calculation is calculated the second screen locking picture check code, and at described first screen locking picture check code and described second It is correct that screen locking picture check code determines time identical that described screen locking picture sends.By preset identical with terminal agreement at server Check code calculation calculates screen locking picture check code to screen locking picture, judges what server and terminal were calculated the most again Screen locking picture check code is the most identical correct to judge whether server sends when sending screen locking picture to terminal, thus can ensure Screen locking magazine picture received by terminal is corresponding consistent resource with the screen locking picture that server is issued, and prevents downloading process In screen locking picture be tampered, download incomplete situation, bring guaranteed screen locking magazine resource to show to user.
Alternatively, in some possible embodiments of the present invention, described server sends and described screen locking picture pair The the first screen locking picture check code answered to terminal, including:
The first screen locking picture check code corresponding with described screen locking picture is added to described screen locking picture by described server Screen locking pictorial information list in;
Described server sends described screen locking pictorial information list to described terminal.
Wherein, screen locking pictorial information list refers to a form of the relevant information of screen locking picture, for example, it is possible to bag Include the information such as the size of screen locking picture, title, server storage address.
In embodiments of the present invention, after server issues screen locking magazine picture, first terminal obtains from server should The screen locking magazine pictorial information list of phase screen locking magazine picture, then when terminal browses screen locking magazine picture, further according to this lock Screen magazine pictorial information list obtains this phase screen locking magazine picture.
It is appreciated that by this first screen locking picture check code is sent with screen locking pictorial information list so that clothes Business device and terminal processes are convenient.
Alternatively, in some possible embodiments of the present invention, described utilize described screen locking picture presets verification Code calculation is calculated the first screen locking picture check code, including:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, described N is the width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value arrangement of the matrix taking described four formed objects successively obtains described first screen locking picture school Test code.
In embodiments of the present invention, for screen locking picture, it is screen locking picture for represent the information of screen locking picture The image array array that formed of pixel value, so the screen locking picture of this lock screen image can be obtained based on this image array array Check code.Specifically can be found in Fig. 3-b, Fig. 3-b is a kind of image pixel schematic diagram that the embodiment of the present invention provides.
Further, if M and N is once in a while, the most now four image array piecemeal sizes are (M/2) * (M/2).
If M and/or N is not even number, namely when cannot divide line number and columns equally, the first image array piecemeal can be taken respectively big Little it isSecond image array piecemeal size is3rd image array piecemeal size isAnd the 4th image array piecemeal size beSpecifically, can be found in Fig. 3-c, Fig. 3- C is the another kind of picture pixels schematic diagram that the embodiment of the present invention provides.
As shown in Fig. 3-c, illustrate, in an example of the present invention, if reading in the first image array piecemeal Image pixel value be 67, the image pixel value in the second image array piecemeal is 89, the image in the 3rd image array piecemeal Pixel value is 189, and the image pixel value in the second image array piecemeal is 220, it is determined that the first screen locking picture check code is 6789189220。
It is appreciated that the first lock screen image check code utilizing which to calculate screen locking picture, too many owing to need not Complicated calculating, it is only necessary to extract the pixel value in image array, thus both so that calculate simplicity, it is also possible to figure can be comprised The check information of picture.
See the second embodiment flow process that Fig. 4-a, Fig. 4-a is a kind of picture method of calibration that the embodiment of the present invention provides to show It is intended to.Wherein, as depicted in fig. 4-a, this picture method of calibration may comprise steps of:
S401, terminal obtain the first screen locking picture check code corresponding with screen locking picture that server sends, the first screen locking Picture check code is that screen locking picture is utilized default check code calculation calculated by server.
In embodiments of the present invention, the default school of the screen locking picture that this default check code calculation and server are used Test yard calculation identical.
In embodiments of the present invention, during server push screen locking magazine, first to issuing screen locking pictorial information list, thus Terminal is firstly received this screen locking just list, and then terminal obtains screen locking picture when locking screen interface reads screen locking picture again.
Alternatively, in embodiments of the present invention, terminal obtains this first default lock while obtaining screen locking just list Screen picture check code.
In embodiments of the present invention, this first screen locking picture check code can be digital form, it is also possible to for graphic form, It can also be other form.
S402, terminal receive the screen locking picture that server sends.
S403, check code calculation default to the utilization of screen locking picture are calculated the second screen locking picture check code, and sentence Disconnected first screen locking picture check code and the second screen locking picture check code are the most identical.
Alternatively, in one embodiment of the invention, if the form of this screen locking picture check code is numeral, then can take Numeral is compared and judges that screen locking picture check code is the most identical.
Alternatively, in another embodiment of the present invention, if the form of this screen locking picture check code is picture, the most permissible The form utilizing picture recognition check code is compared judge whether identical.
If S403 the first screen locking picture check code and the second screen locking picture check code are identical, it is determined that screen locking picture sends Correctly.
It can be seen that in the scheme of the present embodiment, terminal obtains first lock corresponding with screen locking picture that server sends Screen picture check code, described first screen locking picture check code is that described server utilizes default verification yardage to described screen locking picture Calculation mode is calculated;Described terminal receives the described screen locking picture that described server sends;Described screen locking picture is utilized Described default check code calculation is calculated the second screen locking picture check code, and judges described first screen locking picture check code The most identical with described second screen locking picture check code;If described first screen locking picture check code and described second screen locking picture school Test code-phase same, it is determined that described screen locking picture sends correct.By the default verification yardage identical with terminal agreement at server Calculation mode calculates screen locking picture check code to screen locking picture, judges the screen locking picture that server and terminal are calculated the most again Check code is the most identical correct to judge whether server sends when sending screen locking picture to terminal, thus can ensure that terminal is connect The screen locking magazine picture received is corresponding consistent resource with the screen locking picture that server is issued, and prevents the screen locking in downloading process Picture is tampered, downloads incomplete situation, brings guaranteed screen locking magazine resource to show to user.
Alternatively, in some possible embodiments of the present invention, described method also includes:
If described first screen locking picture check code differs with described second screen locking picture check code, it is determined that described screen locking Picture sends mistake.
If being appreciated that uses identical screen locking picture check code generating mode raw in screen locking picture in terminal with server Become screen locking picture, if then server is sent to the screen locking picture of terminal when being tampered or send imperfect, the first screen locking figure Sheet check code and the second screen locking picture check code differ, by which, can identify exactly screen locking picture be tampered, under Carry incomplete situation, so that user makes decision further, improve the Resource Guarantee of screen locking magazine.
Alternatively, in some possible embodiments of the present invention, described terminal receives the institute that described server sends After stating screen locking picture, described method also includes:
If it is determined that described screen locking picture sends correct, then on the locking screen interface of described terminal, show described screen locking picture;
If it is determined that described screen locking picture sends mistake, then delete described screen locking picture.
Specifically, however, it is determined that screen locking picture sends correct, then directly display this screen locking picture on the locking screen interface of terminal, And if it is determined that this screen locking picture sends mistake, then can directly delete this screen locking picture, it is also possible on terminal interface, send out one carry Show whether message notifying user deletes this locking screen interface, specifically, can be found in Fig. 4-b, Fig. 4-b and show and provide a kind of screen locking picture Send miscue figure.
Alternatively, in some possible embodiments of the present invention, described described screen locking picture is utilized described preset Check code calculation is calculated the second screen locking picture check code, including:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, described N is the width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value arrangement of the matrix taking described four formed objects successively obtains described second screen locking picture school Test code.
Illustrate, in an example of the present invention, if terminal reads the image slices in the first image array piecemeal Element value is 67, and the image pixel value in the second image array piecemeal is 89, and the image pixel value in the 3rd image array piecemeal is 189, the image pixel value in the second image array piecemeal is 220, it is determined that the second screen locking picture check code is 6789189220, If the first screen locking picture check code now obtained from server is also 6789189220, then the locking screen interface in terminal shows this Screen locking picture.
Alternatively, if the first screen locking picture check code now obtained from server is 67991100220, the most now determine Screen locking picture makes a mistake during downloading, and then issues the user with prompting, prompts the user whether to delete this screen locking picture, If user selects to delete, then delete this screen locking picture, thus i.e. improve the property of participation of user, also ensure that the money of screen locking picture Source is correct.
For the ease of being best understood from and implement the such scheme of the embodiment of the present invention, below in conjunction with the applied field that some are concrete Scape is illustrated.
Refer to the 3rd enforcement that Fig. 5-a and 5-b, Fig. 5-a are a kind of picture methods of calibration that the embodiment of the present invention provides Example schematic flow sheet, Fig. 5-b is the second network architecture diagram of the picture check system that the embodiment of the present invention provides, in this network rack In composition, server side includes picture servers and authentication server, and wherein picture servers is used for preserving screen locking picture, checking Server is for generating check code to screen locking picture.In method shown in Fig. 5-a, same or like with method shown in Fig. 3 or Fig. 4 The detailed description that is referred in Fig. 3 or Fig. 4 of content, here is omitted.Wherein, as shown in Fig. 5-a, this picture push with Display packing may comprise steps of:
When S501, server obtain screen locking picture, screen locking picture is utilized and presets check code calculation and be calculated the One screen locking picture check code.
Specifically, when server obtains screen locking picture, this screen locking picture can be saved in picture servers.
The first screen locking picture check code corresponding with screen locking picture is added the screen locking figure to screen locking picture by S502, server In sheet information list.
Specifically, described screen locking picture utilize default check code calculation be calculated the first screen locking picture verification Code, including:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, described N is the width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value of the matrix taking described four formed objects successively obtains the described first screen locking picture of four Check code.
Specifically, Fig. 5-b can be seen by realizing this checking procedure in the verification server of server side.
S503, server send described screen locking pictorial information list to described terminal.
Now, terminal will get the screen locking pictorial information list that server sends, and wraps in this screen locking pictorial information list Include the first screen locking picture check code of screen locking picture.
S504, server send with screen locking picture to terminal.
Now, terminal will receive the described screen locking picture that described server sends.
S505, described screen locking picture is utilized described default check code calculation be calculated second screen locking picture verification Code, and judge that described first screen locking picture check code is the most identical with described second screen locking picture check code.
Specifically, described screen locking picture utilize described default check code calculation be calculated the second screen locking picture school Test code, including:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, described N is the width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value arrangement of the matrix taking described four formed objects successively obtains described second screen locking picture school Test code.
If S506 the first screen locking picture check code is identical with described second screen locking picture check code, it is determined that described screen locking Picture sends correct.
It can be seen that screen locking picture is calculated by the default check code calculation identical with terminal agreement at server Screen locking picture check code, judges that the screen locking picture check code that server is calculated with terminal is the most identical to judge the most again It is correct whether server sends when sending screen locking picture to terminal, thus can ensure screen locking magazine picture received by terminal with The screen locking picture that server is issued is corresponding consistent resource, prevents the screen locking picture in downloading process to be tampered, cannot not download completely Whole situation, brings guaranteed screen locking magazine resource to show to user.
See the 4th embodiment flow process signal that Fig. 6, Fig. 6 are a kind of picture methods of calibration that the embodiment of the present invention provides Figure.In method shown in Fig. 6, it is detailed that content same or similar with method shown in Fig. 3 or Fig. 4 is referred in Fig. 3 or Fig. 4 Describing, here is omitted.Wherein, as shown in Figure 6, this picture pushes and may comprise steps of with display packing:
When S601, server obtain screen locking picture, described screen locking picture utilize default check code calculation calculate To the first screen locking picture check code.
S602, server send the first screen locking picture check code corresponding with described screen locking picture to terminal.
S603, server send screen locking picture to terminal.
Described screen locking picture is utilized described default check code calculation to be calculated the second screen locking picture by S603, terminal Check code, and judge that described first screen locking picture check code is the most identical with described second screen locking picture check code.
Specifically, described screen locking picture utilize described default check code calculation be calculated the second screen locking picture school Test code, including:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, described N is the width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value arrangement of the matrix taking described four formed objects successively obtains described second screen locking picture school Test code.
If the described first screen locking picture check code of S604 is identical with described second screen locking picture check code, it is determined that described Screen locking picture sends correct.
S605 if it is determined that described screen locking picture sends correct, then shows described screen locking on the locking screen interface of described terminal Picture.
If the described first screen locking picture check code of S606 differs with described second screen locking picture check code, it is determined that institute State screen locking picture and send mistake.
S607 if it is determined that described screen locking picture sends mistake, then deletes described screen locking picture.
It can be seen that screen locking picture is calculated by the default check code calculation identical with terminal agreement at server Screen locking picture check code, judges that the screen locking picture check code that server is calculated with terminal is the most identical to judge the most again It is correct whether server sends when sending screen locking picture to terminal, thus can ensure screen locking magazine picture received by terminal with The screen locking picture that server is issued is corresponding consistent resource, prevents the screen locking picture in downloading process to be tampered, cannot not download completely Whole situation, brings guaranteed screen locking magazine resource to show to user.
The embodiment of the present invention also provides for a kind of server, and this server includes:
Receiver module, for receiving the screen locking picture download request that terminal sends, described screen locking picture is downloaded request and is used for Described terminal downloads the first screen locking picture to described server request;
Acquisition module, for obtaining the current network state of described terminal;
Respond module, returns divide corresponding with described current network state for the current network state according to described terminal Second screen locking picture of resolution and compression factor with respond described screen locking picture download request, described second screen locking picture be with Described first screen locking image content is identical but has the screen locking picture of different resolution and/or compression factor.
Concrete, refer to the first embodiment structure that Fig. 7, Fig. 7 are a kind of servers that the embodiment of the present invention provides and show It is intended to, is used for realizing picture method of calibration disclosed in the embodiment of the present invention.Wherein, as it is shown in fig. 7, this server 700 can wrap Include:
Computing module 710 and sending module 720.
Wherein, computing module 710, when being used for obtaining screen locking picture, described screen locking picture is utilized and presets check code calculating Mode is calculated the first screen locking picture check code;
Sending module 720, for sending the first screen locking picture check code corresponding with described screen locking picture to terminal;
Described sending module 720, is additionally operable to send described screen locking picture to described terminal, so that described terminal is to described lock Screen picture utilizes described default check code calculation to be calculated the second screen locking picture check code, and at described first screen locking figure It is correct that sheet check code determines time identical with described second screen locking picture check code that described screen locking picture sends.
It is understood that the function of each functional module of the server 700 of the present embodiment can be implemented according to said method Method in example implements, and it implements process and is referred to the associated description of said method embodiment, the most superfluous State.
It can be seen that in the scheme of the present embodiment, when server 700 obtains screen locking picture, described screen locking picture is utilized Preset check code calculation and be calculated the first screen locking picture check code;Then server 700 retransmits this first screen locking figure Sheet check code is to terminal;Last server 700 retransmits screen locking picture to terminal, so that described terminal is to described screen locking picture profit It is calculated the second screen locking picture check code by described default check code calculation, and at described first screen locking picture check code Determine time identical with described second screen locking picture check code that described screen locking picture sends correct.By arranging at server and terminal Identical default check code calculation calculates screen locking picture check code to screen locking picture, judges server and terminal institute the most again The screen locking picture check code calculated is the most identical correct to judge whether server sends when sending screen locking picture to terminal, Thus can ensure that the screen locking magazine picture received by terminal is corresponding consistent resource with the screen locking picture that server is issued, anti- Only the screen locking picture in downloading process is tampered, downloads incomplete situation, brings guaranteed screen locking magazine resource to user Show.
Refer to the second example structure schematic diagram that Fig. 8, Fig. 8 are the servers that the embodiment of the present invention provides, for real Picture method of calibration disclosed in the existing embodiment of the present invention.Wherein, the terminal unit shown in Fig. 8 is that server as shown in Figure 7 enters Row optimization obtains.Server shown in Fig. 8 is in addition to including the module of the server shown in Fig. 7, it is also possible to including:
Add module 830, for adding the first screen locking picture check code corresponding with described screen locking picture to described lock In the screen locking pictorial information list of screen picture;
Described sending module, is additionally operable to send described screen locking pictorial information list to described terminal.
Alternatively, described computing module 810, it is additionally operable to:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, described N is the width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value of the matrix taking described four formed objects successively obtains the described first screen locking picture of four Check code.
It is understood that the function of each functional module of the server 800 of the present embodiment can be implemented according to said method Method in example implements, and it implements process and is referred to the associated description of said method embodiment, the most superfluous State.
It can be seen that in the scheme of the present embodiment, when server 800 obtains screen locking picture, described screen locking picture is utilized Preset check code calculation and be calculated the first screen locking picture check code;Then server 800 retransmits this first screen locking figure Sheet check code is to terminal;Last server 800 retransmits screen locking picture to terminal, so that described terminal is to described screen locking picture profit It is calculated the second screen locking picture check code by described default check code calculation, and at described first screen locking picture check code Determine time identical with described second screen locking picture check code that described screen locking picture sends correct.By arranging at server and terminal Identical default check code calculation calculates screen locking picture check code to screen locking picture, judges server and terminal institute the most again The screen locking picture check code calculated is the most identical correct to judge whether server sends when sending screen locking picture to terminal, Thus can ensure that the screen locking magazine picture received by terminal is corresponding consistent resource with the screen locking picture that server is issued, anti- Only the screen locking picture in downloading process is tampered, downloads incomplete situation, brings guaranteed screen locking magazine resource to user Show.
See the structural representation that Fig. 9, Fig. 9 are the 3rd embodiments of the server that the embodiment of the present invention provides.Such as Fig. 9 institute Showing, this server 900 may include that at least one input equipment 901;At least one outut device 902;At least one processor 903, such as CPU;With memorizer 904, above-mentioned input equipment 901, outut device 902, processor 903 and memorizer 904 pass through Bus 905 connects.
Above-mentioned memorizer 904 can be high-speed RAM memorizer, it is possible to for non-labile memorizer (non-volatile Memory), such as disk memory.Above-mentioned memorizer 904 is used for storing batch processing code, above-mentioned input equipment 901, output Equipment 902 and processor 903, for calling the program code of storage in memorizer 904, perform to operate as follows:
Above-mentioned processor 903, when server obtains screen locking picture, utilizes described screen locking picture and presets verification yardage Calculation mode is calculated the first screen locking picture check code;
Server sends the first screen locking picture check code corresponding with described screen locking picture to terminal;
The described server described screen locking picture of transmission is to described terminal, so that described terminal utilizes institute to described screen locking picture State default check code calculation and be calculated the second screen locking picture check code, and in described first screen locking picture check code and institute State the second screen locking picture check code identical time to determine that described screen locking picture sends correct.
Alternatively, in other possible embodiments of the present invention, above-mentioned processor 903 sends and described screen locking figure First screen locking picture check code corresponding to sheet, to terminal, also includes:
The first screen locking picture check code corresponding with described screen locking picture is added to described screen locking picture by described server Screen locking pictorial information list in;
Described server sends described screen locking pictorial information list to described terminal.
Alternatively, in other possible embodiments of the present invention, above-mentioned processor 903 is to described screen locking picture profit It is calculated the first screen locking picture check code by default check code calculation, including:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, described N is the width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value of the matrix taking described four formed objects successively obtains the described first screen locking picture of four Check code.
It is understood that the function of each functional module of the server 900 of the present embodiment can be implemented according to said method Method in example implements, and it implements process and is referred to the associated description of said method embodiment, the most superfluous State.
It can be seen that in the scheme of the present embodiment, when server 900 obtains screen locking picture, described screen locking picture is utilized Preset check code calculation and be calculated the first screen locking picture check code;Then server 900 retransmits this first screen locking figure Sheet check code is to terminal;Last server 900 retransmits screen locking picture to terminal, so that described terminal is to described screen locking picture profit It is calculated the second screen locking picture check code by described default check code calculation, and at described first screen locking picture check code Determine time identical with described second screen locking picture check code that described screen locking picture sends correct.By arranging at server and terminal Identical default check code calculation calculates screen locking picture check code to screen locking picture, judges server and terminal institute the most again The screen locking picture check code calculated is the most identical correct to judge whether server sends when sending screen locking picture to terminal, Thus can ensure that the screen locking magazine picture received by terminal is corresponding consistent resource with the screen locking picture that server is issued, anti- Only the screen locking picture in downloading process is tampered, downloads incomplete situation, brings guaranteed screen locking magazine resource to user Show.
The embodiment of the present invention also provides for a kind of terminal unit, and this terminal unit includes:
Acquisition module, for obtaining the first screen locking picture check code corresponding with screen locking picture that server sends, described First screen locking picture check code is that described screen locking picture is utilized default check code calculation calculated by described server;
Receiver module, for receiving the described screen locking picture that described server sends;
Computing module, for utilizing described default check code calculation to be calculated the second screen locking in described screen locking picture Picture check code, and judge that described first screen locking picture check code is the most identical with described second screen locking picture check code;
Determine module, if identical, then with described second screen locking picture check code for described first screen locking picture check code Determine that described screen locking picture sends correct.
Concrete, refer to the first embodiment knot that Figure 10, Figure 10 are a kind of terminal units that the embodiment of the present invention provides Structure schematic diagram, is used for realizing picture update method disclosed in the embodiment of the present invention.Wherein, as shown in Figure 10, this terminal unit 1000 may include that
Acquisition module 1010, receiver module 1020, computing module 1030 and determine module 1040.
Wherein, acquisition module 1010, for obtaining the first screen locking picture school corresponding with screen locking picture that server sends Testing code, described first screen locking picture check code is that described server utilizes default check code calculation meter to described screen locking picture Obtain;
Receiver module 1020, for receiving the described screen locking picture that described server sends;
Computing module 1030, for utilizing described default check code calculation to be calculated second in described screen locking picture Screen locking picture check code, and judge that described first screen locking picture check code is the most identical with described second screen locking picture check code;
Determine module 1040, if for described first screen locking picture check code and described second screen locking picture verification code-phase With, it is determined that described screen locking picture sends correct.
It is understood that the function of each functional module of the terminal unit 1000 of the present embodiment can be real according to said method The method executed in example implements, and it implements process and is referred to the associated description of said method embodiment, the most no longer Repeat.
It can be seen that in the scheme of the present embodiment, terminal unit 1000 obtains the corresponding with screen locking picture of server transmission The first screen locking picture check code, described first screen locking picture check code is described server to described screen locking picture to be utilized and presets Check code calculation is calculated;Described terminal unit 1000 receives the described screen locking picture that described server sends;Right Described screen locking picture utilizes described default check code calculation to be calculated the second screen locking picture check code, and judges described One screen locking picture check code is the most identical with described second screen locking picture check code;If described first screen locking picture check code and institute State the second screen locking picture check code identical, it is determined that described screen locking picture sends correct.By arranging phase at server and terminal Same default check code calculation calculates screen locking picture check code to screen locking picture, judges that server and terminal are counted the most again The screen locking picture check code calculated is the most identical correct to judge whether server sends when sending screen locking picture to terminal, from And can ensure that the screen locking magazine picture received by terminal is corresponding consistent resource with the screen locking picture that server is issued, prevent Screen locking picture in downloading process is tampered, downloads incomplete situation, brings guaranteed screen locking magazine resource exhibition to user Show.
Refer to the second example structure schematic diagram that Figure 11, Figure 11 are the terminal units that the embodiment of the present invention provides, use In realizing picture method of calibration disclosed in the embodiment of the present invention.Wherein, the terminal unit shown in Figure 11 is end as shown in Figure 10 End equipment is optimized and obtains.Terminal unit 1100 shown in Figure 11 except include the terminal unit shown in Figure 10 module it Outward, also have following extension:
Alternatively, in other possible embodiments of the present invention, described computing module 1130 is additionally operable to:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, described N is the width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value arrangement of the matrix taking described four formed objects successively obtains described second screen locking picture school Test code.
Alternatively, in some possible embodiments of the present invention, described determine module 1140, be additionally operable to:
If described first screen locking picture check code differs with described second screen locking picture check code, it is determined that described screen locking Picture sends mistake.
Alternatively, in some possible embodiments of the present invention, described terminal unit 1100 also includes:
Display module 1150, for if it is determined that described screen locking picture sends correct, then on the locking screen interface of described terminal Show described screen locking picture;
Removing module 1160, for if it is determined that described screen locking picture sends mistake, then deleting described screen locking picture.
It is understood that the function of each functional module of the terminal unit 1100 of the present embodiment can be real according to said method The method executed in example implements, and it implements process and is referred to the associated description of said method embodiment, the most no longer Repeat.
It can be seen that in the scheme of the present embodiment, terminal unit 1100 obtains the corresponding with screen locking picture of server transmission The first screen locking picture check code, described first screen locking picture check code is described server to described screen locking picture to be utilized and presets Check code calculation is calculated;Described terminal unit 1100 receives the described screen locking picture that described server sends;Right Described screen locking picture utilizes described default check code calculation to be calculated the second screen locking picture check code, and judges described One screen locking picture check code is the most identical with described second screen locking picture check code;If described first screen locking picture check code and institute State the second screen locking picture check code identical, it is determined that described screen locking picture sends correct.By arranging phase at server and terminal Same default check code calculation calculates screen locking picture check code to screen locking picture, judges that server and terminal are counted the most again The screen locking picture check code calculated is the most identical correct to judge whether server sends when sending screen locking picture to terminal, from And can ensure that the screen locking magazine picture received by terminal is corresponding consistent resource with the screen locking picture that server is issued, prevent Screen locking picture in downloading process is tampered, downloads incomplete situation, brings guaranteed screen locking magazine resource exhibition to user Show.
See the structural representation that Figure 12, Figure 12 are the 3rd embodiments of the server that the embodiment of the present invention provides.Such as figure Shown in 12, this server 1200 may include that at least one input equipment 901;At least one outut device 1202;At least one Processor 1203, such as CPU;With memorizer 1204, above-mentioned input equipment 1201, outut device 1202, processor 1203 and deposit Reservoir 1204 is connected by bus 1205.
Above-mentioned memorizer 1204 can be high-speed RAM memorizer, it is possible to for non-labile memorizer (non-volatile Memory), such as disk memory.Above-mentioned memorizer 1204 is used for storing batch processing code, above-mentioned input equipment 1201, defeated Go out equipment 1202 and processor 1203 for calling in memorizer 1204 program code of storage, perform following operation:
Above-mentioned processor 1203, obtains, for terminal, the first screen locking picture school corresponding with screen locking picture that server sends Testing code, described first screen locking picture check code is that described server utilizes default check code calculation meter to described screen locking picture Obtain;
Described terminal receives the described screen locking picture that described server sends;
Described screen locking picture utilize described default check code calculation be calculated the second screen locking picture check code, and Judge that described first screen locking picture check code is the most identical with described second screen locking picture check code;
If described first screen locking picture check code is identical with described second screen locking picture check code, it is determined that described screen locking figure Sheet sends correct.
Alternatively, in other possible embodiments of the present invention, described above-mentioned processor 1203 is to described screen locking Picture utilizes described default check code calculation to be calculated the second screen locking picture check code, including:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, described N is the width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value arrangement of the matrix taking described four formed objects successively obtains described second screen locking picture school Test code.
Alternatively, in other possible embodiments of the present invention, if described above-mentioned processor 1203 described first Screen locking picture check code differs with described second screen locking picture check code, it is determined that described screen locking picture sends mistake.
Alternatively, in other possible embodiments of the present invention, above-mentioned processor 1203 receives described server After the described screen locking picture sent, described method also includes:
If it is determined that described screen locking picture sends correct, then on the locking screen interface of described terminal, show described screen locking picture;
If it is determined that described screen locking picture sends mistake, then delete described screen locking picture.
It is understood that the function of each functional module of the terminal unit 1200 of the present embodiment can be real according to said method The method executed in example implements, and it implements process and is referred to the associated description of said method embodiment, the most no longer Repeat.
It can be seen that in the scheme of the present embodiment, terminal unit 1200 obtains the corresponding with screen locking picture of server transmission The first screen locking picture check code, described first screen locking picture check code is described server to described screen locking picture to be utilized and presets Check code calculation is calculated;Described terminal unit 1200 receives the described screen locking picture that described server sends;Right Described screen locking picture utilizes described default check code calculation to be calculated the second screen locking picture check code, and judges described One screen locking picture check code is the most identical with described second screen locking picture check code;If described first screen locking picture check code and institute State the second screen locking picture check code identical, it is determined that described screen locking picture sends correct.By arranging phase at server and terminal Same default check code calculation calculates screen locking picture check code to screen locking picture, judges that server and terminal are counted the most again The screen locking picture check code calculated is the most identical correct to judge whether server sends when sending screen locking picture to terminal, from And can ensure that the screen locking magazine picture received by terminal is corresponding consistent resource with the screen locking picture that server is issued, prevent Screen locking picture in downloading process is tampered, downloads incomplete situation, brings guaranteed screen locking magazine resource exhibition to user Show.
The embodiment of the present invention additionally provides a more specifically application scenarios, as follows: above-mentioned terminal unit is mobile phone, under Face combines Figure 13 and each component parts of mobile phone carries out concrete introduction:
RF circuit 1310 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station After downlink information receives, process to processor 1380;It addition, be sent to base station by designing up data.Generally, RF circuit 1310 include but not limited to antenna, at least one amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuit 1310 can also be led to network and other equipment by radio communication Letter.Above-mentioned radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memorizer 1320 can be used for storing software program and module, and processor 1380 is stored in memorizer by operation The software program of 1320 and module, thus perform the application of various functions and the data process of mobile phone.Memorizer 1320 can be led Including storage program area and storage data field, wherein, needed for storage program area can store operating system, at least one function Application program (such as screen locking image display method) etc.;Storage data field can store the data that the use according to mobile phone is created (different resolution and the screen locking picture of compression factor) etc..Additionally, memorizer 1320 can include high-speed random access memory, Can also include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state are deposited Memory device.
Input block 1330 can be used for receiving numeral or the character information of input, and produce with the user setup of mobile phone with And function controls relevant key signals input.Specifically, input block 1330 can include contact panel 1331, other input equipments 1332.Contact panel 1331, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses Any applicable object such as finger, stylus or adnexa operation on contact panel 1331 or near contact panel 1331), and Corresponding attachment means is driven according to formula set in advance.Optionally, contact panel 1331 can include touch detecting apparatus and Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the letter that touch operation brings Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give processor 1380, and order that processor 1380 sends can be received and performed.Furthermore, it is possible to adopt Contact panel 1331 is realized with polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Divided by contact panel 1331, input block 1330 can also include other input equipments 1332.Specifically, other input equipments 1332 can include but It is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. extremely Few one.
Display unit 1340 can be used for each of the information that inputted by user of display or the information being supplied to user and mobile phone Plant menu.Display unit 1340 can include display floater 1341, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) Configure display floater 1341.Further, contact panel 1331 can cover display floater 1341, when contact panel 1331 detects Arrive thereon or after neighbouring touch operation, send processor 1380 to determine the type of touch event, with preprocessor 1380 provide corresponding visual output according to the type of touch event on display floater 1341.Although in fig. 13, touch surface Plate 1331 and display floater 1341 are to realize input and the input function of mobile phone as two independent parts, but at some In embodiment, can be by integrated to contact panel 1331 and display floater 1341 and realize input and the output function of mobile phone.
Mobile phone may also include at least one sensor 1350, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display floater 1341, proximity transducer can cut out display floater when mobile phone moves in one's ear 1341 and/or backlight.As the one of motion sensor, accelerometer sensor can detect (generally three axles) in all directions and add The size of speed, can detect that size and the direction of gravity time static, can be used for identifying application (the such as horizontal/vertical screen of mobile phone attitude Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for mobile phone also Other sensors such as configurable gyroscope, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1360, speaker 1361, microphone 1362 can provide the audio interface between user and mobile phone.Audio frequency The signal of telecommunication after the voice data conversion that circuit 1360 can will receive, is transferred to speaker 1361, speaker 1361 changes Export for acoustical signal;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 1362, by voicefrequency circuit 1360 Voice data is converted to after reception, then after voice data output processor 1380 is processed, through RF circuit 1310 to be sent to ratio Such as another mobile phone, or voice data is exported to memorizer 1320 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1370 Part, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Figure 13 shows WiFi module 1370, but it is understood that, it is also not belonging to must be configured into of mobile phone, can not change as required completely Omit in the scope of the essence becoming invention.
Processor 1380 is the control centre of mobile phone, utilizes various interface and the various piece of the whole mobile phone of connection, It is stored in the software program in memorizer 1320 and/or module by running or performing, and calls and be stored in memorizer 1320 Interior data, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 1380 can include one or more processing unit;Preferably, processor 1380 can integrated application processor and modulation /demodulation process Device, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly located Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 1380.
Mobile phone also includes the power supply 1390 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system is logically contiguous with processor 1380, thus realizes management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., does not repeats them here.
In previous embodiment, each step method flow process can structure based on the terminal unit shown in Figure 13 realize.
The embodiment of the present invention also provides for a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can store journey Sequence, this program includes the part or all of step of any picture method of calibration described in said method embodiment when performing.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know Knowing, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention Necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.Such as, device embodiment described above is only schematically, and the division of the most described unit is only one Logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or can To be integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, Can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, it is possible to Being that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be for personal computer, server or the network equipment etc.) perform the whole of method described in each embodiment of the present invention or Part steps.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can store program code Medium.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these Amendment or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (16)

1. a picture method of calibration, it is characterised in that described method includes:
When server obtains screen locking picture, described screen locking picture utilize default check code calculation be calculated the first screen locking Picture check code;
Server sends the first screen locking picture check code corresponding with described screen locking picture to terminal;
The described server described screen locking picture of transmission is to described terminal, so that described screen locking picture is utilized described pre-by described terminal If check code calculation is calculated the second screen locking picture check code, and at described first screen locking picture check code and described the It is correct that two screen locking picture check codes determine time identical that described screen locking picture sends.
Method the most according to claim 1, it is characterised in that described server sends corresponding with described screen locking picture the One screen locking picture check code to terminal, including:
The first screen locking picture check code corresponding with described screen locking picture is added the lock to described screen locking picture by described server In screen pictorial information list;
Described server sends described screen locking pictorial information list to described terminal.
Method the most according to claim 1 and 2, it is characterised in that described utilize described screen locking picture presets check code Calculation is calculated the first screen locking picture check code, including:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, and described N is The width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value arrangement of the matrix taking described four formed objects successively obtains described first screen locking picture check code.
4. a picture method of calibration, it is characterised in that described method includes:
Terminal obtains the first screen locking picture check code corresponding with screen locking picture that server sends, described first screen locking picture school Testing code is that described screen locking picture is utilized default check code calculation calculated by described server;
Described terminal receives the described screen locking picture that described server sends;
Described screen locking picture utilizes described default check code calculation be calculated the second screen locking picture check code, and judges Described first screen locking picture check code is the most identical with described second screen locking picture check code;
If described first screen locking picture check code is identical with described second screen locking picture check code, it is determined that described screen locking picture is sent out Send correct.
Method the most according to claim 4, it is characterised in that described described screen locking picture is utilized described default check code Calculation is calculated the second screen locking picture check code, including:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, and described N is The width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value arrangement of the matrix taking described four formed objects successively obtains described second screen locking picture check code.
Method the most according to claim 5, it is characterised in that described method also includes:
If described first screen locking picture check code differs with described second screen locking picture check code, it is determined that described screen locking picture Send mistake.
7. according to the method described in claim 4 or 5, it is characterised in that described terminal receives the described of described server transmission After screen locking picture, described method also includes:
If it is determined that described screen locking picture sends correct, then on the locking screen interface of described terminal, show described screen locking picture;
If it is determined that described screen locking picture sends mistake, then delete described screen locking picture.
8. a server, it is characterised in that described terminal unit includes:
Computing module, when being used for obtaining screen locking picture, utilizes default check code calculation to be calculated to described screen locking picture First screen locking picture check code;
Sending module, for sending the first screen locking picture check code corresponding with described screen locking picture to terminal;
Described sending module, is additionally operable to send described screen locking picture to described terminal, so that described terminal is to described screen locking picture Described default check code calculation is utilized to be calculated the second screen locking picture check code, and in described first screen locking picture verification It is correct that code determines time identical with described second screen locking picture check code that described screen locking picture sends.
Server the most according to claim 8, it is characterised in that described sending module also includes:
Add module, for adding the first screen locking picture check code corresponding with described screen locking picture to described screen locking picture In screen locking pictorial information list;
Described sending module, is additionally operable to send described screen locking pictorial information list to described terminal.
The most according to claim 8 or claim 9, server, it is characterised in that described computing module, be additionally operable to:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, and described N is The width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value of the matrix taking described four formed objects successively obtains the described first screen locking picture verification of four Code.
11. 1 kinds of terminal units, it is characterised in that described terminal unit includes:
Acquisition module, for obtaining the first screen locking picture check code corresponding with screen locking picture that server sends, described first Screen locking picture check code is that described screen locking picture is utilized default check code calculation calculated by described server;
Receiver module, for receiving the described screen locking picture that described server sends;
Computing module, for utilizing described default check code calculation to be calculated the second screen locking picture in described screen locking picture Check code, and judge that described first screen locking picture check code is the most identical with described second screen locking picture check code;
Determine module, if identical with described second screen locking picture check code for described first screen locking picture check code, it is determined that Described screen locking picture sends correct.
12. terminal units according to claim 11, it is characterised in that described computing module is additionally operable to:
The pixel value obtaining described screen locking picture obtains M*N matrix, and wherein, described M is the length of described screen locking picture, and described N is The width of described screen locking picture;
Described M*N matrix is respectively symmetrically up and down the matrix being divided into four formed objects;
The central point pixel value arrangement of the matrix taking described four formed objects successively obtains described second screen locking picture check code.
13. terminal units according to claim 12, it is characterised in that described determine module, are additionally operable to:
If described first screen locking picture check code differs with described second screen locking picture check code, it is determined that described screen locking picture Send mistake.
14. according to the terminal unit described in claim 12 or 13, it is characterised in that described terminal unit also includes:
Display module, for if it is determined that described screen locking picture sends correct, then on the locking screen interface of described terminal, display is described Screen locking picture;
Removing module, for if it is determined that described screen locking picture sends mistake, then deleting described screen locking picture.
15. 1 kinds of servers, it is characterised in that described server includes:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs as arbitrary in claims 1 to 3 Method described in Xiang.
16. 1 kinds of terminal units, it is characterised in that described terminal unit includes:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs as arbitrary in claim 4 to 7 Method described in Xiang.
CN201610653068.9A 2016-08-10 2016-08-10 A kind of picture method of calibration, server and terminal device Active CN106326778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610653068.9A CN106326778B (en) 2016-08-10 2016-08-10 A kind of picture method of calibration, server and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610653068.9A CN106326778B (en) 2016-08-10 2016-08-10 A kind of picture method of calibration, server and terminal device

Publications (2)

Publication Number Publication Date
CN106326778A true CN106326778A (en) 2017-01-11
CN106326778B CN106326778B (en) 2017-10-17

Family

ID=57740126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610653068.9A Active CN106326778B (en) 2016-08-10 2016-08-10 A kind of picture method of calibration, server and terminal device

Country Status (1)

Country Link
CN (1) CN106326778B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023231693A1 (en) * 2022-05-31 2023-12-07 京东方科技集团股份有限公司 Method, apparatus and system for monitoring delivered content, and device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014027512A (en) * 2012-07-27 2014-02-06 Oki Data Corp Printer
CN103677944A (en) * 2013-12-30 2014-03-26 小米科技有限责任公司 Method and device for manufacturing screen locking interface and terminal device
CN103902875A (en) * 2014-03-04 2014-07-02 百度在线网络技术(北京)有限公司 Verification code image generating method and device and verification method and device
US20140281945A1 (en) * 2013-03-14 2014-09-18 Yossi Avni System and method of encoding content and an image
CN104571778A (en) * 2013-10-09 2015-04-29 腾讯科技(深圳)有限公司 Lock screen picture setting method and device
CN104978253A (en) * 2015-06-24 2015-10-14 合肥格易集成电路有限公司 Target file checking method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014027512A (en) * 2012-07-27 2014-02-06 Oki Data Corp Printer
US20140281945A1 (en) * 2013-03-14 2014-09-18 Yossi Avni System and method of encoding content and an image
CN104571778A (en) * 2013-10-09 2015-04-29 腾讯科技(深圳)有限公司 Lock screen picture setting method and device
CN103677944A (en) * 2013-12-30 2014-03-26 小米科技有限责任公司 Method and device for manufacturing screen locking interface and terminal device
CN103902875A (en) * 2014-03-04 2014-07-02 百度在线网络技术(北京)有限公司 Verification code image generating method and device and verification method and device
CN104978253A (en) * 2015-06-24 2015-10-14 合肥格易集成电路有限公司 Target file checking method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023231693A1 (en) * 2022-05-31 2023-12-07 京东方科技集团股份有限公司 Method, apparatus and system for monitoring delivered content, and device and storage medium

Also Published As

Publication number Publication date
CN106326778B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN104219617B (en) Service acquisition method and device
CN103402190B (en) Method and device for selecting network as well as terminal
CN104618217B (en) Share method, terminal, server and the system of resource
CN106161628A (en) Shooting file uploading method and device
CN106162316A (en) The data processing method of a kind of video flowing, device and system
CN107172477A (en) voting method and device
CN106156228A (en) Resource delivery system, resource payment method and resource get method
CN103854298A (en) Method for integrating pictures with two-dimension codes and terminal
CN105898794A (en) Device and method of transmitting data
CN104571979B (en) A kind of method and apparatus for realizing split view
CN106371689A (en) Picture splicing method, apparatus and system
CN107103074B (en) Processing method of shared information and mobile terminal
CN103687060A (en) Terminal communication method, terminal communication device and terminals
CN107071180A (en) Desktop customization layout method, mobile terminal and computer-readable recording medium
CN103491525A (en) Method for achieving card-free mobile phone, mobile phone and server
CN103346921A (en) User management method, relevant equipment and communication system
CN106293738A (en) The update method of a kind of facial expression image and device
CN106254469A (en) A kind of picture pushes and display packing, server and communication terminal
CN104516890A (en) Business processing method, business processing device and electronic equipment
CN104915625B (en) A kind of method and device of recognition of face
CN105975500A (en) Data processing method, data statistical system and backstage management system
CN106682189A (en) Filename display method and device
CN106874045A (en) A kind of startup method of application program, device and mobile terminal
CN104408051A (en) Song recommendation method and device
CN106407359A (en) Image playing method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder