Summary of the invention
Embodiments of the invention provide a kind of method and apparatus of exhibiting pictures, so that exhibiting pictures quickly.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of method of exhibiting pictures, comprising:
Camera obtains exhibiting pictures instruction, and determines at least one application server according to described exhibiting pictures instruction;
Obtain configuration information; Wherein, described configuration information comprises identification information and at least one network address corresponding with described application server of described camera;
Gather image information to obtain picture;
Described identification information and described picture are sent to application server corresponding to described at least one network address, so that described application server is determined the webpage corresponding with described identification information according to identification information with the corresponding relation of webpage, and by picture described in described web page display.
In conjunction with first aspect, in the possible implementation of first aspect the first, described configuration information also comprises user profile, and wherein, described user profile comprises the user's that server corresponding to described at least one network address is corresponding authorization information;
Described, described identification information and described picture are sent to before application server corresponding to described at least one network address, described method also comprises:
Described user profile and described identification information are sent to application server corresponding to the described network address, so that described application server is verified according to described user profile, and after being verified, determine the webpage that described user profile is corresponding, and set up the corresponding relation of described identification information and described webpage.
In conjunction with first aspect or the possible implementation of first aspect the first, in the possible implementation of first aspect the second, described, described identification information and described picture are sent to before application server corresponding to each network address, described method also comprises:
Determine the form of described picture;
When determining the form Bu Shi joint image expert group jpeg format of described picture, by the format conversion of described picture, be jpeg format.
In conjunction with first aspect to any in the possible implementation of first aspect the second, in the third possible implementation of first aspect, described, described sign and described picture are sent to before application server corresponding to each network address, described method also comprises:
Determine the capacity of described picture;
When the capacity of determining described picture is greater than preset capacity, described picture is compressed to processing, obtain compressed picture;
Described described sign and described picture are sent to application server corresponding to each network address, so that described application server determines according to described sign the webpage that described camera is corresponding, and comprise by picture described in described web page display:
Described compressed picture is sent to application server corresponding to each network address, so that compressed picture obtains described picture described in described application server decompress(ion), and by picture described in described web page display.
In conjunction with first aspect, to any in the third possible implementation of first aspect, in the 4th kind of possible implementation, described method also comprises:
Obtain user instruction, and revise described configuration information according to described user instruction.
Second aspect, provides a kind of camera, comprising:
Acquiring unit, for obtaining exhibiting pictures instruction;
Processing unit, determines at least one application server for the described exhibiting pictures instruction obtaining according to described acquiring unit;
Described acquiring unit also for, obtain configuration information, and gather image information; Wherein, described configuration information comprises identification information and at least one network address corresponding with described application server of described camera;
Described processing unit also for, the described image information obtaining according to described acquiring unit obtains picture;
Transmitting element, the described picture obtaining for described identification information that described acquiring unit is obtained and described processing unit is sent to application server corresponding to described at least one network address, so that described application server is determined the webpage corresponding with described identification information according to identification information with the corresponding relation of webpage, and by picture described in described web page display.
In conjunction with second aspect, in the possible implementation of second aspect the first, described configuration information also comprises user profile, and wherein, described user profile comprises the user's that server corresponding to described at least one network address is corresponding authorization information;
Described transmitting element also for, described user profile and described identification information are sent to application server corresponding to the described network address, so that described application server is verified according to described user profile, and after being verified, determine the webpage that described user profile is corresponding, and set up the corresponding relation of described identification information and described webpage.
In conjunction with second aspect or the possible implementation of second aspect the first, in the possible implementation of second aspect the second, described processing unit also for, determine the form of described picture, and when determining the form Bu Shi joint image expert group jpeg format of described picture, by the format conversion of described picture, be jpeg format.
In conjunction with second aspect to any in the possible implementation of second aspect the second, in the third possible implementation of second aspect, described processing unit also for, determine the capacity of described picture, and when the capacity of determining described picture is greater than preset capacity, described picture is compressed to processing, obtain compressed picture;
Described transmitting element also for, described compressed picture is sent to application server corresponding to each network address, so that compressed picture obtains described picture described in described application server decompress(ion), and by picture described in described web page display.
In conjunction with second aspect to any in the third possible implementation of second aspect, in the 4th kind of possible implementation, described acquiring unit also for, obtain user instruction;
Described processing unit also for, the described user instruction obtaining according to described acquiring unit is revised described configuration information.
By adopting such scheme, camera obtains exhibiting pictures instruction, and determine at least one application server according to this exhibiting pictures instruction, obtain configuration information, gather image information to obtain picture, this identification information and this picture are sent to application server corresponding to this at least one network address, so that this application server is determined the webpage corresponding with this identification information according to identification information with the corresponding relation of webpage, and by this picture of this web page display, like this, user completes after this configuration information in setting, can pass through this camera picture, after picture shooting completes, camera is shared this picture automatically to the network application of user's setting, make user can show quickly high definition picture, thereby improved user's experience.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of exhibiting pictures, and as shown in Figure 1, the executive agent of the method is camera, and the method comprises:
S101, camera obtain exhibiting pictures instruction, and determine at least one application server according to this exhibiting pictures instruction.
Particularly, camera obtains user and operates the exhibiting pictures instruction of sending, and determines that according to this exhibiting pictures instruction user need to share the application server of the network application of this picture.
Illustratively, if user will share this picture to individual microblogging and cyberspace, by operation, to this camera, send exhibiting pictures instruction, this camera can determine that this user need to be sent to picture this individual's microblogging and server corresponding to this cyberspace according to this exhibiting pictures instruction, this network application can also be the personal homepage of social network sites in addition, and the embodiment of the present invention is not construed as limiting this.
S102, camera obtain configuration information.
Wherein, this configuration information comprises identification information and at least one network address corresponding with this application server of this camera.
Illustratively, camera can obtain the configuration information of camera, and when definite user need to share picture to individual microblogging, can from this configuration information, determine the network address of the application server of this individual's microblogging.
Further, this camera obtains user instruction, and revises this configuration information according to this user instruction.
Particularly, user can send user instruction by operation, and camera, receiving after this user instruction, is revised the setting of this camera according to this user instruction.
Illustratively, if user need to become the microblogging of the A of network company the microblogging of the B of network company, by the network address in operation change configuration information, this camera is receiving after user instruction, according to this user instruction, revise the network address, the network address of the network address being revised as to the application server of the microblogging of the B of network company.
Further, this configuration information also comprises user profile, and wherein, this user profile comprises the user's that server corresponding to this at least one network address is corresponding authorization information.
Particularly, camera is sent to application server corresponding to this network address by this user profile and this identification information, so that this application server is verified according to this user profile, and after being verified, determine the webpage that this user profile is corresponding, and set up the corresponding relation of this identification information and this webpage.
Illustratively, camera is sent to the identification information of this user profile and camera after application server, application server can be verified according to this user profile, the user who applied for the registration of in network application corresponding to this application server, can complete checking according to this user profile, and after being proved to be successful, the webpage that can be this user by the identification information of this camera and server is bound, to when receiving the picture of the camera transmission that this identification information is corresponding, directly this picture is shown by this webpage.
S103, camera gather image information to obtain picture.
Particularly, when user sets after this configuration information, can obtain picture by this camera.
S104, camera are sent to application server corresponding to this at least one network address by this identification information and this picture, so that this application server is determined the webpage corresponding with this identification information according to identification information with the corresponding relation of webpage, and by this picture of this web page display.
Particularly, camera is sent to application server by the identification information of this camera and picture, application server is receiving after the identification information and picture of this camera, according to the identification information of storing in this application server, determine with the corresponding relation of webpage the webpage that this identification information is corresponding, and this picture is configured in this webpage, by this picture of this web page display.
Illustratively, the identification information of this camera can be the identifier of this camera, at camera, this identifier and picture are sent to after the application server of individual microblogging, the application server of this individual's microblogging is determined the user's that this identifier is corresponding individual microblogging homepage, and this picture is configured in to this individual's microblogging homepage, make the reviewer that enters this webpage can see this picture.
It should be noted that, because camera is by Http(Hypertext transfer protocol, hypertext transfer protocol) agreement transmits, and under Http protocol transmission mode, the picture of transmission requires as JPEG(Joint Photographic Experts Group, joint image expert group) form.
Further, at this, this identification information and this picture are sent to before application server corresponding to each network address, camera is determined the form of this picture, and when determining the form Bu Shi joint image expert group jpeg format of this picture, by the format conversion of this picture, is jpeg format.
Particularly, camera only, when definite picture is jpeg format, is just sent to application server by this picture, to guarantee that picture uploads smoothly.
Illustratively, if take the picture obtaining, be BMP(Bitmap, bitmap) form, the picture of this BMP form is converted to the picture of jpeg format, and the picture of this jpeg format is sent to application server.
Further, camera is determined the capacity of this picture, and when the capacity of determining this picture is greater than preset capacity, this picture is compressed to processing, obtain compressed picture, and this compressed picture is sent to application server corresponding to each network address, so that this this compressed picture of application server decompress(ion) obtains this picture, and by this picture of this web page display.
Particularly, if the picture that camera obtains is excessive, camera compresses this picture, and the picture after compression is sent to application server, application server is receiving after this compressed picture, compressed picture is carried out to decompress(ion), and the picture after decompress(ion) is configured on corresponding webpage, to show this picture.
Illustratively, user is greater than 10M by the capacity of the picture of this camera, this picture is compressed, and the compressed picture after compression is sent to application server, this compressed picture of application server decompress(ion), obtains the original image of 10M, then by this picture of web page display.
By adopting above-mentioned executive agent, it is the method for camera, camera obtains exhibiting pictures instruction, and determine at least one application server according to this exhibiting pictures instruction, obtain configuration information, gather image information to obtain picture, this identification information and this picture are sent to application server corresponding to this at least one network address, so that this application server is determined the webpage corresponding with this identification information according to identification information with the corresponding relation of webpage, and by this picture of this web page display, like this, user completes after this configuration information in setting, can pass through this camera picture, after picture shooting completes, camera is shared this picture automatically to the network application of user's setting, make user can show quickly high definition picture, thereby improved user's experience.
The embodiment of the present invention provides a kind of camera 20, as shown in Figure 2, comprising:
Acquiring unit 21, for obtaining exhibiting pictures instruction.
Processing unit 22, determines at least one application server for this exhibiting pictures instruction obtaining according to this acquiring unit 21.
This acquiring unit 21 also for, obtain configuration information, and gather image information; Wherein, this configuration information comprises identification information and at least one network address corresponding with this application server of this camera.
This processing unit 22 also for, this image information obtaining according to this acquiring unit 21 obtains picture.
Transmitting element 23, for this identification information that this acquiring unit is obtained and this picture that this processing unit obtains, be sent to application server corresponding to this at least one network address, so that this application server is determined the webpage corresponding with this identification information according to identification information with the corresponding relation of webpage, and by this picture of this web page display.
Particularly, camera obtains user and operates the exhibiting pictures instruction of sending, and determine that according to this exhibiting pictures instruction user need to share the application server of the network application of this picture, obtain the configuration information of camera, can determine the network address that this application server is corresponding, user is setting after this configuration information, by this camera, obtain picture, camera is sent to application server by the identification information of this camera and picture, application server is receiving after the identification information and picture of this camera, determine the webpage that this identification information is corresponding, and this picture is configured in this webpage, by this picture of this web page display.
Illustratively, if user will share this picture to cyberspace, by operation, to this camera, send exhibiting pictures instruction, this camera can determine that this user need to be sent to picture server corresponding to this cyberspace according to this exhibiting pictures instruction, obtain the configuration information of camera, and when definite user need to share picture to cyberspace, determine the network address of the application server of this cyberspace, after user takes pictures, according to this network address, this picture is sent to application server corresponding to cyberspace, at camera, this identifier and picture are sent to after the application server of cyberspace, the application server of this cyberspace is determined the user's that this identifier is corresponding cyberspace homepage, and this picture is configured in to this cyberspace homepage, make the reviewer that enters this webpage can see this picture.
Alternatively, this acquiring unit 21 also for, obtain user instruction.
This processing unit 22 also for, this user instruction obtaining according to this acquiring unit is revised this configuration information.
Particularly, user can send user instruction by operation, and camera, receiving after this user instruction, is revised the setting of this camera according to this user instruction.
Illustratively, if user need to become the microblogging of the A of network company the microblogging of the B of network company, by the network address in operation change configuration information, this camera is receiving after user instruction, according to this user instruction, revise the network address, the network address of the network address being revised as to the application server of the microblogging of the B of network company.
Alternatively, this configuration information also comprises user profile, and wherein, this user profile comprises the user's that server corresponding to this at least one network address is corresponding authorization information.
This transmitting element 23 also for, this user profile and this identification information are sent to application server corresponding to this network address, so that this application server is verified according to this user profile, and after being verified, determine the webpage that this user profile is corresponding, and set up the corresponding relation of this identification information and this webpage.
Particularly, camera is sent to application server corresponding to this network address by this user profile and this identification information, so that this application server is verified according to this user profile, and after being verified, determine the webpage that this user profile is corresponding, and set up the corresponding relation of this identification information and this webpage.
Illustratively, camera is sent to the identification information of this user profile and camera after application server, application server can be verified according to this user profile, the user who applied for the registration of in network application corresponding to this application server, can complete checking according to this user profile, and after being proved to be successful, the webpage that can be this user by the identification information of this camera and server is bound, to when receiving the picture of the camera transmission that this identification information is corresponding, directly this picture is shown by this webpage.
It should be noted that, because camera is by Http(Hypertext transfer protocol, hypertext transfer protocol) agreement transmits, and under Http protocol transmission mode, the picture of transmission requires as JPEG(Joint Photographic Experts Group, joint image expert group) form.
Alternatively, this processing unit 22 also for, determine the form of this picture, and when determining the form Bu Shi joint image expert group jpeg format of this picture, by the format conversion of this picture, be jpeg format.
Particularly, camera only, when definite picture is jpeg format, is just sent to application server by this picture, to guarantee that picture uploads smoothly.
Illustratively, if take the picture obtaining, be BMP(Bitmap, bitmap) form, the picture of this BMP form is converted to the picture of jpeg format, and the picture of this jpeg format is sent to application server.
Alternatively, this processing unit 22 also for, determine the capacity of this picture, and when the capacity of determining this picture is greater than preset capacity, this picture compressed to processing, obtain compressed picture.
This transmitting element 23 also for, this compressed picture is sent to application server corresponding to each network address, so that this this compressed picture of application server decompress(ion) obtains this picture, and by this picture of this web page display.
Particularly, if the picture that camera obtains is excessive, camera compresses this picture, and the picture after compression is sent to application server, application server is receiving after this compressed picture, compressed picture is carried out to decompress(ion), and the picture after decompress(ion) is configured on corresponding webpage, to show this picture.
Illustratively, user is greater than 10M by the capacity of the picture of this camera, this picture is compressed, and the compressed picture after compression is sent to application server, this compressed picture of application server decompress(ion), obtains the original image of 10M, then by this picture of web page display.
By adopting above-mentioned camera, camera obtains exhibiting pictures instruction, and determine at least one application server according to this exhibiting pictures instruction, obtain configuration information, gather image information to obtain picture, this identification information and this picture are sent to application server corresponding to this at least one network address, so that this application server is determined the webpage corresponding with this identification information according to identification information with the corresponding relation of webpage, and by this picture of this web page display, like this, user completes after this configuration information in setting, can pass through this camera picture, after picture shooting completes, camera is shared this picture automatically to the network application of user's setting, make user can show quickly high definition picture, thereby improved user's experience.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.