CN105138285A - Shooting data sharing method, apparatus and device - Google Patents

Shooting data sharing method, apparatus and device Download PDF

Info

Publication number
CN105138285A
CN105138285A CN201510490243.2A CN201510490243A CN105138285A CN 105138285 A CN105138285 A CN 105138285A CN 201510490243 A CN201510490243 A CN 201510490243A CN 105138285 A CN105138285 A CN 105138285A
Authority
CN
China
Prior art keywords
photographed data
hard disk
store
module
database
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
CN201510490243.2A
Other languages
Chinese (zh)
Other versions
CN105138285B (en
Inventor
刘铁俊
李政
程亮
张鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510490243.2A priority Critical patent/CN105138285B/en
Publication of CN105138285A publication Critical patent/CN105138285A/en
Application granted granted Critical
Publication of CN105138285B publication Critical patent/CN105138285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a shooting data sharing method, apparatus and device. The method comprises: receiving a shooting data storage request sent by the shooting device, wherein the shooting data storage request carries shooting data; storing the shooting data in a hard disk; and sending the shooting data stored in the hard disk to a terminal device for displaying the shooting data. The shooting data sharing method, apparatus and device can simplify the shooting data sharing process and improve the shooting data sharing efficiency.

Description

The shared method of photographed data, device and equipment
Technical field
The disclosure relates to the communications field, particularly relates to the shared method of photographed data, device and equipment.
Background technology
User often uses the such as capture apparatus such as camera, mobile phone, the wearable device with shoot function to carry out the shooting of photo or the recording of video anywhere or anytime, records the dribs and drabs in life.Because user needs photo or the video of sharing shooting with other users sometimes, or user have taken photo or video with one of them capture apparatus sometimes, and need to show on another, at this moment, user carries out sharing of equipment room with regard to needing to the photo taken or video.
In correlation technique, user is being taken pictures by capture apparatus or after video, when wishing to watch this photo or video by the terminal device such as intelligent television or computer, need first to be connected by data line, or copied by memory device, or transmitted by wireless transmission methods such as bluetooths, to make this photo or video transfer to terminal device from capture apparatus, to realize sharing of photo or video, thus cause the sharing operation of photo or video more loaded down with trivial details.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of shared method of photographed data, device and equipment.
According to the first aspect of disclosure embodiment, a kind of shared method of photographed data is provided, comprises:
Receive the photographed data storage resource request that capture apparatus sends, in described photographed data storage resource request, carry photographed data;
Store described photographed data in a hard disk;
Send the described photographed data stored in hard disk to terminal device, show described photographed data to make described terminal device.
In conjunction with first aspect, in the first possible implementation of first aspect, carry attribute information corresponding to described photographed data in described photographed data storage resource request, described attribute information comprises at least one in following information: described capture apparatus identification information, shooting time information, spot for photography information, resolution information;
Described store described photographed data in a hard disk after, also comprise:
Generate the store path information of described photographed data;
Store the corresponding relation between described attribute information and described store path information in a database, in described database, store attribute information and store path information that in described hard disk, whole photographed data is corresponding respectively.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, before the described described photographed data stored in terminal device transmission hard disk, also comprise:
Receive the access message that described terminal device sends, in described access message, carry described attribute information;
Inquire about in the database and whether store described attribute information;
If store described attribute information in described database, then obtain the store path information that described attribute information is corresponding; Or,
If do not store described attribute information in described database, then send data to described terminal device and there is not information;
The described described photographed data stored in described terminal device transmission hard disk, comprising:
The store path corresponding according to described attribute information, sends described photographed data to described terminal device.
In conjunction with the implementation that the first or the second of first aspect are possible, in the third possible implementation of first aspect, described send the described photographed data stored in hard disk to terminal device before, also comprise:
Judge whether store described photographed data in described hard disk;
Describedly store described photographed data in a hard disk, comprising:
If do not store described photographed data in described hard disk, then in described hard disk, store described photographed data.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, describedly judge whether store described photographed data in described hard disk, comprising:
Hash function according to presetting carries out Hash operation to described photographed data, and generate the first cryptographic hash that described photographed data is corresponding, described first cryptographic hash is for judging whether store described photographed data in described hard disk;
Inquire about in the database and whether there is the cryptographic hash identical with described first cryptographic hash, in described database, store the cryptographic hash that in described hard disk, whole photographed data is corresponding respectively;
If do not store described photographed data in described hard disk, then in described hard disk, store described photographed data, comprising:
If there is not the cryptographic hash identical with described first cryptographic hash in described database, then in described hard disk, store described photographed data, and store described first cryptographic hash in the database.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, described inquire about in a database whether there is the cryptographic hash identical with described first cryptographic hash after, also comprise:
If there is second cryptographic hash identical with described first cryptographic hash in described database, then the corresponding relation between the store path information storing the described attribute information photographed data corresponding with described second cryptographic hash in a database.
In conjunction with first aspect, in the 6th kind of possible implementation of first aspect, before the photographed data storage resource request that described reception capture apparatus sends, also comprise:
Wireless connections are set up with described capture apparatus.
According to the second aspect of disclosure embodiment, a kind of sharing means of photographed data is provided, comprises:
First receiver module, for receiving the photographed data storage resource request that capture apparatus sends, carries photographed data in described photographed data storage resource request;
First memory module, for storing the described photographed data that described first receiver module receives in a hard disk;
First sending module, for sending the described photographed data that described first memory module stores in a hard disk to terminal device, shows described photographed data to make described terminal device.
In conjunction with second aspect, in the first possible implementation of second aspect, carry attribute information corresponding to described photographed data in the described photographed data storage resource request that described first receiver module receives, described attribute information comprises at least one in following information: described capture apparatus identification information, shooting time information, spot for photography information, resolution information;
Described device also comprises: generation module, the second memory module;
Described generation module, after storing described photographed data in described first memory module, generates the store path information of described photographed data;
Described second memory module, for storing the corresponding relation between described store path information that described attribute information and described generation module generate in a database, in described database, store attribute information and store path information that in described hard disk, whole photographed data is corresponding respectively.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described device also comprises: the second receiver module, enquiry module, acquisition module, the second sending module and the 3rd sending module;
Described second receiver module, for send the described photographed data that stores in hard disk to described terminal device at described first sending module before, receives the access message that described terminal device sends, carries described attribute information in described access message;
Described enquiry module, for inquiring about the described attribute information whether storing described second receiver module and receive in the database;
Described acquisition module, when storing described attribute information for inquiring at described enquiry module in described database, obtains the store path information that described attribute information is corresponding;
Described second sending module, when not storing described attribute information for inquiring at described enquiry module in described database, sending data to described terminal device and there is not information;
Described 3rd sending module, the store path that the described attribute information for obtaining according to described acquisition module is corresponding, sends described photographed data to described terminal device.
In conjunction with the implementation that the first or the second of second aspect are possible, in the third possible implementation of second aspect, described device also comprises: judge module and the 3rd memory module;
Described judge module, for send the described photographed data that stores in hard disk to described terminal device at described first sending module before, judges whether store described photographed data in described hard disk;
Described 3rd memory module, during for judging not store described photographed data in described hard disk at described judge module, stores described photographed data in described hard disk.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described judge module comprises: generate submodule, inquiry submodule and the first sub module stored;
Described generation submodule, for carrying out Hash operation according to the hash function preset to described photographed data, generate the first cryptographic hash that described photographed data is corresponding, described first cryptographic hash is for judging whether store described photographed data in described hard disk;
Whether described inquiry submodule, exist the cryptographic hash identical with described first cryptographic hash that described generation submodule generates for inquiring about in the database, stores the cryptographic hash that in described hard disk, whole photographed data is corresponding respectively in described database;
Described first sub module stored, when there is not the cryptographic hash identical with described first cryptographic hash that described generation submodule generates for inquiring in described database at described inquiry submodule, in described hard disk, store described photographed data, and store described first cryptographic hash in the database.
In conjunction with the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation of second aspect, described judge module also comprises: the second sub module stored;
Described second sub module stored, during for inquiring the second cryptographic hash that in described database, existence is identical with described first cryptographic hash at described inquiry submodule, the corresponding relation between the store path information storing the described attribute information photographed data corresponding with described second cryptographic hash in a database.
In conjunction with second aspect, in the 6th kind of possible implementation of second aspect, also comprise:
Set up module, before receiving the photographed data storage resource request of capture apparatus transmission at described first receiver module, set up wireless connections with described capture apparatus.
According to the third aspect of disclosure embodiment, a kind of sharing means of photographed data is provided, comprises:
Storer;
For the storer of storage of processor executable instruction;
Wherein, described processor is used for:
Receive the photographed data storage resource request that capture apparatus sends, in described photographed data storage resource request, carry photographed data;
Store described photographed data in a hard disk;
Send the described photographed data stored in hard disk to terminal device, show described photographed data to make described terminal device.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By receiving the photographed data storage resource request that capture apparatus sends, carrying photographed data in this photographed data storage resource request, storing photographed data in a hard disk, send the photographed data stored in hard disk to terminal device, show photographed data to make terminal device.Because router is after the photographed data receiving capture apparatus transmission, can this photographed data be stored in hard disk, user is when wanting by terminal device display photographed data, the photographed data stored in a hard disk can be sent to terminal device by router, this photographed data is shown to make terminal device, like this, user fast promptly can watch photographed data, therefore, photographed data in correlation technique can be avoided to transfer to the more loaded down with trivial details phenomenon of the operation of terminal device from capture apparatus, thus the sharing operation process of photographed data can be simplified, the sharing efficiency of photographed data can be improved.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of the shared method of a kind of photographed data according to an exemplary embodiment;
Fig. 2 is the process flow diagram of the shared method of a kind of photographed data according to another exemplary embodiment;
Fig. 3 is the process flow diagram of the shared method of a kind of photographed data according to another exemplary embodiment;
Fig. 4 is the process flow diagram of the shared method of a kind of photographed data Gen Ju an exemplary embodiment again;
Fig. 5 is the signaling diagram of the shared method of a kind of photographed data Gen Ju an exemplary embodiment again;
Fig. 6 is the block diagram of the sharing means of a kind of photographed data according to an exemplary embodiment;
Fig. 7 is the block diagram of the sharing means of a kind of photographed data according to another exemplary embodiment;
Fig. 8 is the block diagram of the sharing means of a kind of photographed data according to another exemplary embodiment;
Fig. 9 is the block diagram of the sharing means of a kind of photographed data Gen Ju an exemplary embodiment again;
Figure 10 is the block diagram of the sharing means of a kind of photographed data Gen Ju an exemplary embodiment again;
Figure 11 is the block diagram of the sharing means of a kind of photographed data Gen Ju an exemplary embodiment again;
Figure 12 is the block diagram of the sharing means of a kind of photographed data Gen Ju an exemplary embodiment again;
Figure 13 is the block diagram of the sharing means of a kind of photographed data Gen Ju an exemplary embodiment again.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the process flow diagram of the shared method of a kind of photographed data according to an exemplary embodiment, and as shown in Figure 1, the shared method of the photographed data that the present embodiment relates to is in router, and the shared method of this photographed data comprises the following steps.
In step s 11, the photographed data storage resource request that capture apparatus sends is received.
Wherein, photographed data is carried in described photographed data storage resource request.
In step s 12, described photographed data is stored in a hard disk.
In step s 13, the described photographed data stored in hard disk is sent to described terminal device.
Further, to make described terminal device show described photographed data.
In the disclosed embodiments, capture apparatus refers to the equipment with shoot function, can be such as camera, mobile phone, panel computer, there is the wearable device of shoot function, such as Intelligent bracelet, intelligent glasses etc., terminal device comprises mobile phone, panel computer, TV etc., therefore, terminal device can be identical with capture apparatus, also can not be identical.After capture apparatus photographs photographed data, photographed data can be carried in photographed data storage resource request message and send to router, wherein, photographed data comprises video or photo etc.
After router receives the photographed data storage resource request message of capture apparatus transmission, the photographed data carried in this message is stored in hard disk, when user wants photographed data to show on the terminal device, router will send the photographed data stored in a hard disk to terminal device, thus makes terminal device show photographed data.
The shared method of the photographed data of the present embodiment, by receiving the photographed data storage resource request that capture apparatus sends, photographed data is carried in this photographed data storage resource request, store photographed data in a hard disk, send the photographed data stored in hard disk to terminal device, show photographed data to make terminal device.Because router is after the photographed data receiving capture apparatus transmission, can this photographed data be stored in hard disk, user is when wanting by terminal device display photographed data, the photographed data stored in a hard disk can be sent to terminal device by router, this photographed data is shown to make terminal device, like this, user fast promptly can watch photographed data, therefore, photographed data in correlation technique can be avoided to transfer to the more loaded down with trivial details phenomenon of the operation of terminal device from capture apparatus, thus the sharing operation process of photographed data can be simplified, the sharing efficiency of photographed data can be improved.
Fig. 2 is the process flow diagram of the shared method of a kind of photographed data according to another exemplary embodiment, the method is used in router, the present embodiment is on basis embodiment illustrated in fig. 1, terminal device is downloaded to the embodiment of the photographed data in router, elaborate, as shown in Figure 2, the shared method of this photographed data comprises the following steps.
In the step s 21, the photographed data storage resource request that capture apparatus sends is received.
Wherein, carry photographed data in described photographed data storage resource request, photographed data comprises video or photo etc.Capture apparatus refers to the equipment with shoot function, can be such as camera, mobile phone, panel computer, have the wearable device of shoot function, such as Intelligent bracelet, intelligent glasses etc.
In step S22, store described photographed data in a hard disk.
In step S23, generate the store path information of described photographed data.
In the disclosed embodiments, photographed data is stored in after in the hard disk of router, by this photographed data of generation store path information in a hard disk, such as: photographed data is stored in which sector etc. in this hard disk.
In step s 24 which, the corresponding relation between described attribute information and described store path information is stored in a database.
Further, attribute information and store path information that in described hard disk, whole photographed data is corresponding is respectively stored in described database.
In the disclosed embodiments, also carry attribute information corresponding to photographed data in photographed data storage resource request, this attribute information comprises at least one in following information: capture apparatus identification information, shooting time information, spot for photography information, resolution information.In concrete implementation procedure, capture apparatus is after photographing photographed data, this photographed data and attribute information corresponding to photographed data are carried in photographed data storage resource request with the form of bit stream, and send to router, router is according to the photographed data storage resource request received, this bit stream is resolved, to obtain photographed data and corresponding attribute information.
When router obtains the attribute information of photographed data, and after determining the store path information of photographed data in the hard disk of router, the corresponding relation between attribute information and store path information can be stored in the database of router.Like this, by attribute information corresponding respectively for the whole photographed datas stored in hard disk and store path information in database, therefore, by the corresponding relation between attribute information and store path information, the attribute information of the photographed data in hard disk and its correspondence can be associated.Such as: the photographed data storing first sector in a hard disk, its shooting time is on January 1st, 2015, and spot for photography is Beijing, and resolution is 1024*768 etc.
In step s 25, the access message that described terminal device sends is received.
Wherein, described attribute information is carried in described access message.
In the disclosed embodiments, terminal device comprises mobile phone, panel computer, TV etc., if when user wants photographed data to show on the terminal device, terminal device directly downloads corresponding photographed data from router, in actual applications, user can send to router by wanting the attribute information of the photographed data shown to be carried in access message by terminal device.Such as: user wants in terminal device, show all photos taken in Beijing on January 1st, 2015, then shooting time information is set on January 1st, 2015, spot for photography information is set to Beijing, and the attribute information set is sent to terminal device, the attribute information received is carried in access message and sends to router by terminal device.
In step S26, inquire about in the database and whether store described attribute information.
In the disclosed embodiments, after router receives the access message of terminal device transmission, inquiry is needed whether to store attribute information entrained in this access message in a database, if store this attribute information in database, step S29 is performed after then performing step S27, otherwise, perform step S28.
In step s 27, the store path information that described attribute information is corresponding is obtained.
In the disclosed embodiments, if store this attribute information in database, then according to the corresponding relation between attribute information and store path information, obtain the store path information that this attribute information is corresponding.
In step S28, send data to described terminal device and there is not information.
In the disclosed embodiments, if do not store this attribute information in database, then send data to terminal device and there is not information, be not stored in a database with the photographed data of its access of notification terminal equipment.
In step S29, the store path corresponding according to described attribute information, sends described photographed data to described terminal device.
Further, to make described terminal device show described photographed data.
In the disclosed embodiments, the store path information that router is corresponding according to the attribute information got, the photographed data that this store path information stores is sent to terminal device, after terminal device receives the photographed data of router transmission, by this photographed data of display.
The shared method of the photographed data of the present embodiment, by receiving the photographed data storage resource request that capture apparatus sends, photographed data is carried in this photographed data storage resource request, store photographed data in a hard disk, send the photographed data stored in hard disk to terminal device, show photographed data to make terminal device.Because router is after the photographed data receiving capture apparatus transmission, can this photographed data be stored in hard disk, user is when wanting by terminal device display photographed data, the photographed data stored in a hard disk can be sent to terminal device by router, this photographed data is shown to make terminal device, like this, user fast promptly can watch photographed data, therefore, photographed data in correlation technique can be avoided to transfer to the more loaded down with trivial details phenomenon of the operation of terminal device from capture apparatus, thus the sharing operation process of photographed data can be simplified, the sharing efficiency of photographed data can be improved.In addition, by being stored by the corresponding relation of the attribute information of capture apparatus and store path information, and terminal device can download to storage photographed data in a hard disk by attribute information, improves the accuracy that photographed data is downloaded.
Fig. 3 is the process flow diagram of the shared method of a kind of photographed data according to another exemplary embodiment, the method is used in router, the present embodiment is on basis embodiment illustrated in fig. 2, to judging whether photographed data has stored embodiment in a hard disk, elaborate, as shown in Figure 3, the storage means of this photographed data comprises the following steps.
In step S31, receive the photographed data storage resource request that capture apparatus sends.
Wherein, carry photographed data in described photographed data storage resource request, photographed data comprises video or photo etc.Capture apparatus refers to the equipment with shoot function, can be such as camera, mobile phone, panel computer, have the wearable device of shoot function, such as Intelligent bracelet, intelligent glasses etc.
In step s 32, judge whether store described photographed data in described hard disk.
In step S33, if do not store described photographed data in described hard disk, then store described photographed data in a hard disk.
In the disclosed embodiments, after the photographed data storage resource request receiving capture apparatus transmission, first judge whether stored this photographed data in hard disk, this photographed data has been stored in hard disk if judge, then can send information to capture apparatus, to notify capture apparatus, this photographed data has stored in a hard disk, this photographed data is not stored in hard disk if judge, then photographed data is stored in a hard disk, identical photographed data can be avoided thus to carry out the phenomenon of repeated storage, save the storage space of hard disk.
In step S34, send the described photographed data stored in hard disk to described terminal device.
Further, to make described terminal device show described photographed data.
The shared method of the photographed data of the present embodiment, by receiving the photographed data storage resource request that capture apparatus sends, photographed data is carried in this photographed data storage resource request, store photographed data in a hard disk, send the photographed data stored in hard disk to terminal device, show photographed data to make terminal device.Because router is after the photographed data receiving capture apparatus transmission, can this photographed data be stored in hard disk, user is when wanting by terminal device display photographed data, the photographed data stored in a hard disk can be sent to terminal device by router, this photographed data is shown to make terminal device, like this, user fast promptly can watch photographed data, therefore, photographed data in correlation technique can be avoided to transfer to the more loaded down with trivial details phenomenon of the operation of terminal device from capture apparatus, thus the sharing operation process of photographed data can be simplified, the sharing efficiency of photographed data can be improved.In addition, when judging that photographed data does not store in a hard disk, then photographed data is stored, thus save the storage space of hard disk.
Fig. 4 is the process flow diagram of the shared method of a kind of photographed data Gen Ju an exemplary embodiment again, the method is used in router, the present embodiment is on basis embodiment illustrated in fig. 3, to how judging the embodiment whether storing photographed data in hard disk, elaborate, as shown in Figure 4, the storage means of this photographed data comprises the following steps.
In step S41, the hash function according to presetting carries out Hash operation to described photographed data, generates the first cryptographic hash that described photographed data is corresponding.
Wherein, described first cryptographic hash is for judging whether store described photographed data in described hard disk.
In the disclosed embodiments, router according to the hash function preset, can carry out Hash operation to photographed data, generates the first cryptographic hash that this photographed data is corresponding, judge whether store photographed data in hard disk to utilize the first cryptographic hash of generation.Wherein, hash function can be such as MD4, MD5 or SHA1 etc., and it can be chosen according to actual conditions, and for the concrete form of hash function, this is not restricted for the present embodiment.
In step S42, inquire about in the database and whether there is the cryptographic hash identical with described first cryptographic hash.
Wherein, the cryptographic hash that in described hard disk, whole photographed data is corresponding is respectively stored in described database.
If there is not the cryptographic hash identical with the first cryptographic hash in database, then perform step S43, otherwise, perform step S44.
In step S43, in described hard disk, store described photographed data, and store described first cryptographic hash in the database.
In the disclosed embodiments, owing to storing the cryptographic hash that in hard disk, whole photographed data is corresponding respectively in database, therefore, if there is not the cryptographic hash identical with the first cryptographic hash in database, then illustrate that photographed data corresponding to this first cryptographic hash does not store in a hard disk, therefore photographed data is stored in a hard disk, and the first cryptographic hash is stored in a database, use when inquiring about for next time.
In step S44, the corresponding relation between the store path information storing the described attribute information photographed data corresponding with described second cryptographic hash in a database.
In the disclosed embodiments, if there is second cryptographic hash identical with the first cryptographic hash in database, be stored before this photographed data is then described, this is without the need to repeated storage again, but, the photographed data corresponding with the second cryptographic hash due to the photographed data that the first cryptographic hash is corresponding is likely identical, and both attribute informations may be different, now, corresponding relation between the store path information of photographed data corresponding with the second cryptographic hash for attribute information is stored in a database, so that router is searched.
The shared method of the photographed data of the present embodiment, by calculating the first cryptographic hash of photographed data, and judge whether there is the cryptographic hash identical with this first cryptographic hash in database, whether be stored in a hard disk before determining photographed data with this, to avoid repeated storage, the storage space of hard disk can be saved thus.
Fig. 5 is the signaling diagram of the shared method of a kind of photographed data Gen Ju an exemplary embodiment again, not identical with terminal device with capture apparatus in the present embodiment, and terminal device from hard disk, download photographed data be that example elaborates technical scheme of the present invention, as shown in Figure 5, the shared method of this photographed data comprises the following steps.
In step s 51, capture apparatus and described router set up wireless connections.
In step S52, capture apparatus sends photographed data storage resource request to router.
Wherein, photographed data is carried in described photographed data storage resource request.
In step S53, router judges whether store described photographed data in described hard disk.
In step S54, if do not store described photographed data in described hard disk, then router stores described photographed data in described hard disk.
In step S55, router generates the store path information of described photographed data.
In step S56, router stores the corresponding relation between described attribute information and described store path information in a database.
In step S57, terminal device sends access message to router.
Wherein, attribute information is carried in this access message.
In step S58, router inquires about whether store described attribute information in the database.
If store attribute information in database, then perform step S61 after performing step S59, otherwise after performing step S60, whole process terminates.
In step S59, router obtains store path information corresponding to attribute information.
In step S60, router sends data to described terminal device and there is not information.
In step S61, the store path that router is corresponding according to described attribute information, sends described photographed data to described terminal device.
The shared method of the photographed data of the present embodiment, by receiving the photographed data storage resource request that capture apparatus sends, photographed data is carried in this photographed data storage resource request, store photographed data in a hard disk, send the photographed data stored in hard disk to terminal device, show photographed data to make terminal device.Because router is after the photographed data receiving capture apparatus transmission, can this photographed data be stored in hard disk, user is when wanting by terminal device display photographed data, the photographed data stored in a hard disk can be sent to terminal device by router, this photographed data is shown to make terminal device, like this, user fast promptly can watch photographed data, therefore, photographed data in correlation technique can be avoided to transfer to the more loaded down with trivial details phenomenon of the operation of terminal device from capture apparatus, thus the sharing operation process of photographed data can be simplified, the sharing efficiency of photographed data can be improved.
The foregoing describe the implementation procedure of the storage means of photographed data, this process can be realized by memory storage, is described below by the built-in function of memory storage and structure.
Fig. 6 is the block diagram of the sharing means of a kind of photographed data according to an exemplary embodiment, and as shown in Figure 6, this sharing means comprises the first receiver module 61, first memory module 62 and the first sending module 63.
The photographed data storage resource request that first receiver module 61 sends for receiving capture apparatus, carries photographed data in described photographed data storage resource request;
The described photographed data that first memory module 62 receives for storing described first receiver module 61 in a hard disk;
The described photographed data that first sending module 63 stores in a hard disk for sending described first memory module 62 to terminal device, shows described photographed data to make described terminal device.
Wherein, as shown in Figure 7, Fig. 7 is the block diagram of the sharing means of a kind of photographed data according to another exemplary embodiment, on basis embodiment illustrated in fig. 6, carry attribute information corresponding to described photographed data in the described photographed data storage resource request that described first receiver module 61 receives, described attribute information comprises at least one in following information: described capture apparatus identification information, shooting time information, spot for photography information, resolution information; Described device also comprises generation module 64 and the second memory module 65.
Described generation module 64, for after storing described photographed data in described first memory module 62, generates the store path information of described photographed data;
Described second memory module 65, for the corresponding relation between the described store path information that stores described attribute information and described generation module 64 in a database and generate, stores attribute information and store path information that in described hard disk, whole photographed data is corresponding respectively in described database.
In addition, as shown in Figure 8, Fig. 8 is the block diagram of the sharing means of a kind of photographed data according to another exemplary embodiment, on basis embodiment illustrated in fig. 7, described device also comprises the second receiver module 66, enquiry module 67, acquisition module 68, second sending module 69 and the 3rd sending module 70.
Described second receiver module 66, for before to send the described photographed data that stores in hard disk to described terminal device at described first sending module 63, receives the access message that described terminal device sends, carries described attribute information in described access message;
Described enquiry module 67 is for inquiring about the described attribute information whether storing described second receiver module 66 and receive in the database;
When described acquisition module 68 stores described attribute information for inquiring at described enquiry module 67 in described database, then obtain the store path information that described attribute information is corresponding;
When described second sending module 69 not storing described attribute information for inquiring at described enquiry module 67 in described database, sending data to described terminal device and there is not information;
Described 3rd sending module 70, for the store path corresponding according to the described attribute information of described acquisition module 68 acquisition, sends described photographed data to described terminal device.
In addition, as shown in Figure 9, Fig. 9 is the block diagram of the sharing means of a kind of photographed data Gen Ju an exemplary embodiment again, and on basis embodiment illustrated in fig. 8, described device also comprises judge module 71 and the 3rd memory module 72.
Described judge module 71, for before to send the described photographed data that stores in hard disk to described terminal device at described first sending module 63, judges whether store described photographed data in described hard disk;
Described 3rd memory module 72, for when described judge module 71 is judged not store described photographed data in described hard disk, stores described photographed data in described hard disk.
In addition, as shown in Figure 10, Figure 10 is the block diagram of the sharing means of a kind of photographed data Gen Ju an exemplary embodiment again, and on basis embodiment illustrated in fig. 9, described judge module 71 also comprises and generates submodule 711, inquiry submodule 712 and the first sub module stored 713.
Described generation submodule 711 is for carrying out Hash operation according to the hash function preset to described photographed data, and generate the first cryptographic hash that described photographed data is corresponding, described first cryptographic hash is for judging whether store described photographed data in described hard disk;
Whether described inquiry submodule 712 exists the cryptographic hash identical with described first cryptographic hash that described generation submodule 711 generates for inquiring about in the database, stores the cryptographic hash that in described hard disk, whole photographed data is corresponding respectively in described database;
When there is not the cryptographic hash identical with described first cryptographic hash that described generation submodule 711 generates for inquiring in described database at described inquiry submodule 712 in described first sub module stored 713, in described hard disk, store described photographed data, and store described first cryptographic hash in the database.
In addition, as shown in figure 11, Figure 11 is the block diagram of the sharing means of a kind of photographed data Gen Ju an exemplary embodiment again, and on basis embodiment illustrated in fig. 10, described judge module 71 also comprises the second sub module stored 714.
Described second sub module stored 714 is for inquiring the second cryptographic hash that in described database, existence is identical with described first cryptographic hash during at described inquiry submodule 712, the corresponding relation between the store path information storing the described attribute information photographed data corresponding with described second cryptographic hash in a database.
In addition, as shown in figure 12, Figure 12 is the block diagram of the sharing means of a kind of photographed data Gen Ju an exemplary embodiment again, and on basis embodiment illustrated in fig. 6, described device also comprises sets up module 74.
Set up module 74 for receive at described first receiver module 61 capture apparatus send photographed data storage resource request before, set up wireless connections with described capture apparatus.
The foregoing describe built-in function and the structure of the sharing means of photographed data, as shown in figure 13, the sharing means 1900 of this photographed data comprises storer 1932; Further, if the sharing means of photographed data is the equipment such as server, processing components 1922 can also be comprised, it comprises one or more processor further, and the memory resource representated by storer 1932, can such as, by the instruction of the execution of processing components 1922, application program for storing.The application program stored in storer 1932 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1922 for performing instruction, to perform following method:
Receive the photographed data storage resource request that capture apparatus sends, in described photographed data storage resource request, carry photographed data;
Store described photographed data in a hard disk;
Send the described photographed data stored in hard disk to terminal device, show described photographed data to make described terminal device.
Wherein, carry attribute information corresponding to described photographed data in described photographed data storage resource request, described attribute information comprises at least one in following information: described capture apparatus identification information, shooting time information, spot for photography information, resolution information;
Described store described photographed data in a hard disk after, also comprise:
Generate the store path information of described photographed data;
Store the corresponding relation between described attribute information and described store path information in a database, in described database, store attribute information and store path information that in described hard disk, whole photographed data is corresponding respectively.
Wherein, before the described described photographed data stored in terminal device transmission hard disk, also comprise:
Receive the access message that described terminal device sends, in described access message, carry described attribute information;
Inquire about in the database and whether store described attribute information;
If store described attribute information in described database, then obtain the store path information that described attribute information is corresponding; Or,
If do not store described attribute information in described database, then send data to described terminal device and there is not information;
The described described photographed data stored in described terminal device transmission hard disk, comprising:
The store path corresponding according to described attribute information, sends described photographed data to described terminal device.
Wherein, before the described described photographed data stored in terminal device transmission hard disk, also comprise:
Judge whether store described photographed data in described hard disk;
Describedly store described photographed data in a hard disk, comprising:
If do not store described photographed data in described hard disk, then in described hard disk, store described photographed data.
Wherein, describedly judge whether store described photographed data in described hard disk, comprising:
Hash function according to presetting carries out Hash operation to described photographed data, and generate the first cryptographic hash that described photographed data is corresponding, described first cryptographic hash is for judging whether store described photographed data in described hard disk;
Inquire about in the database and whether there is the cryptographic hash identical with described first cryptographic hash, in described database, store the cryptographic hash that in described hard disk, whole photographed data is corresponding respectively;
If do not store described photographed data in described hard disk, then in described hard disk, store described photographed data, comprising:
If there is not the cryptographic hash identical with described first cryptographic hash in described database, then in described hard disk, store described photographed data, and store described first cryptographic hash in the database.
Wherein, described inquire about in a database whether there is the cryptographic hash identical with described first cryptographic hash after, also comprise:
If there is second cryptographic hash identical with described first cryptographic hash in described database, then the corresponding relation between the store path information storing the described attribute information photographed data corresponding with described second cryptographic hash in a database.
Wherein, before the photographed data storage resource request that described reception capture apparatus sends, also comprise:
Wireless connections are set up with described capture apparatus.
Device 1900 can also comprise the power management of a power supply module 1926 for actuating unit 1900, and a wired or wireless network interface 1950 is for being connected to network by device 1900, and input and output (I/O) interface 1958.Device 1900 can operate the operating system based on being stored in storer 1932, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (15)

1. a shared method for photographed data, is characterized in that, comprising:
Receive the photographed data storage resource request that capture apparatus sends, in described photographed data storage resource request, carry photographed data;
Store described photographed data in a hard disk;
Send the described photographed data stored in hard disk to terminal device, show described photographed data to make described terminal device.
2. method according to claim 1, it is characterized in that, carry attribute information corresponding to described photographed data in described photographed data storage resource request, described attribute information comprises at least one in following information: described capture apparatus identification information, shooting time information, spot for photography information, resolution information;
Described store described photographed data in a hard disk after, also comprise:
Generate the store path information of described photographed data;
Store the corresponding relation between described attribute information and described store path information in a database, in described database, store attribute information and store path information that in described hard disk, whole photographed data is corresponding respectively.
3. method according to claim 2, is characterized in that, before the described described photographed data stored in terminal device transmission hard disk, also comprises:
Receive the access message that described terminal device sends, in described access message, carry described attribute information;
Inquire about in the database and whether store described attribute information;
If store described attribute information in described database, then obtain the store path information that described attribute information is corresponding; Or,
If do not store described attribute information in described database, then send data to described terminal device and there is not information;
The described described photographed data stored in described terminal device transmission hard disk, comprising:
The store path corresponding according to described attribute information, sends described photographed data to described terminal device.
4. according to the method in claim 2 or 3, it is characterized in that, before the described described photographed data stored in terminal device transmission hard disk, also comprise:
Judge whether store described photographed data in described hard disk;
Describedly store described photographed data in a hard disk, comprising:
If do not store described photographed data in described hard disk, then in described hard disk, store described photographed data.
5. method according to claim 4, is characterized in that, describedly judges whether store described photographed data in described hard disk, comprising:
Hash function according to presetting carries out Hash operation to described photographed data, and generate the first cryptographic hash that described photographed data is corresponding, described first cryptographic hash is for judging whether store described photographed data in described hard disk;
Inquire about in the database and whether there is the cryptographic hash identical with described first cryptographic hash, in described database, store the cryptographic hash that in described hard disk, whole photographed data is corresponding respectively;
If do not store described photographed data in described hard disk, then in described hard disk, store described photographed data, comprising:
If there is not the cryptographic hash identical with described first cryptographic hash in described database, then in described hard disk, store described photographed data, and store described first cryptographic hash in the database.
6. method according to claim 5, is characterized in that, described inquire about in a database whether there is the cryptographic hash identical with described first cryptographic hash after, also comprise:
If there is second cryptographic hash identical with described first cryptographic hash in described database, then the corresponding relation between the store path information storing the described attribute information photographed data corresponding with described second cryptographic hash in a database.
7. method according to claim 1, is characterized in that, before the photographed data storage resource request that described reception capture apparatus sends, also comprises:
Wireless connections are set up with described capture apparatus.
8. a sharing means for photographed data, is characterized in that, comprising:
First receiver module, for receiving the photographed data storage resource request that capture apparatus sends, carries photographed data in described photographed data storage resource request;
First memory module, for storing the described photographed data that described first receiver module receives in a hard disk;
First sending module, for sending the described photographed data that described first memory module stores in a hard disk to terminal device, shows described photographed data to make described terminal device.
9. device according to claim 8, is characterized in that,
Carry attribute information corresponding to described photographed data in the described photographed data storage resource request that described first receiver module receives, described attribute information comprises at least one in following information: described capture apparatus identification information, shooting time information, spot for photography information, resolution information;
Described device also comprises: generation module, the second memory module;
Described generation module, after storing described photographed data in described first memory module, generates the store path information of described photographed data;
Described second memory module, for storing the corresponding relation between described store path information that described attribute information and described generation module generate in a database, in described database, store attribute information and store path information that in described hard disk, whole photographed data is corresponding respectively.
10. device according to claim 9, is characterized in that, described device also comprises: the second receiver module, enquiry module, acquisition module, the second sending module and the 3rd sending module;
Described second receiver module, for send the described photographed data that stores in hard disk to described terminal device at described first sending module before, receives the access message that described terminal device sends, carries described attribute information in described access message;
Described enquiry module, for inquiring about the described attribute information whether storing described second receiver module and receive in the database;
Described acquisition module, when storing described attribute information for inquiring at described enquiry module in described database, obtains the store path information that described attribute information is corresponding;
Described second sending module, when not storing described attribute information for inquiring at described enquiry module in described database, sending data to described terminal device and there is not information;
Described 3rd sending module, the store path that the described attribute information for obtaining according to described acquisition module is corresponding, sends described photographed data to described terminal device.
11. devices according to claim 9 or 10, it is characterized in that, described device also comprises: judge module and the 3rd memory module;
Described judge module, for send the described photographed data that stores in hard disk to described terminal device at described first sending module before, judges whether store described photographed data in described hard disk;
Described 3rd memory module, during for judging not store described photographed data in described hard disk at described judge module, stores described photographed data in described hard disk.
12. devices according to claim 11, is characterized in that, described judge module comprises: generate submodule, inquiry submodule and the first sub module stored;
Described generation submodule, for carrying out Hash operation according to the hash function preset to described photographed data, generate the first cryptographic hash that described photographed data is corresponding, described first cryptographic hash is for judging whether store described photographed data in described hard disk;
Whether described inquiry submodule, exist the cryptographic hash identical with described first cryptographic hash that described generation submodule generates for inquiring about in the database, stores the cryptographic hash that in described hard disk, whole photographed data is corresponding respectively in described database;
Described first sub module stored, when there is not the cryptographic hash identical with described first cryptographic hash that described generation submodule generates for inquiring in described database at described inquiry submodule, in described hard disk, store described photographed data, and store described first cryptographic hash in the database.
13. devices according to claim 12, is characterized in that, described judge module also comprises: the second sub module stored;
Described second sub module stored, during for inquiring the second cryptographic hash that in described database, existence is identical with described first cryptographic hash at described inquiry submodule, the corresponding relation between the store path information storing the described attribute information photographed data corresponding with described second cryptographic hash in a database.
14. devices according to claim 8, is characterized in that, also comprise:
Set up module, before receiving the photographed data storage resource request of capture apparatus transmission at described first receiver module, set up wireless connections with described capture apparatus.
The sharing means of 15. 1 kinds of photographed datas, is characterized in that, comprising:
Storer;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the photographed data storage resource request that capture apparatus sends, in described photographed data storage resource request, carry photographed data;
Store described photographed data in a hard disk;
Send the described photographed data stored in hard disk to terminal device, show described photographed data to make described terminal device.
CN201510490243.2A 2015-08-11 2015-08-11 Sharing method, device and the equipment of photographed data Active CN105138285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510490243.2A CN105138285B (en) 2015-08-11 2015-08-11 Sharing method, device and the equipment of photographed data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510490243.2A CN105138285B (en) 2015-08-11 2015-08-11 Sharing method, device and the equipment of photographed data

Publications (2)

Publication Number Publication Date
CN105138285A true CN105138285A (en) 2015-12-09
CN105138285B CN105138285B (en) 2018-03-16

Family

ID=54723646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510490243.2A Active CN105138285B (en) 2015-08-11 2015-08-11 Sharing method, device and the equipment of photographed data

Country Status (1)

Country Link
CN (1) CN105138285B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533848A (en) * 2016-10-13 2017-03-22 北京小米移动软件有限公司 Data acquisition method and apparatus
CN109951613A (en) * 2017-12-20 2019-06-28 杭州海康威视数字技术股份有限公司 Image sending, receiving method and equipment
CN111787070A (en) * 2020-06-10 2020-10-16 俞力奇 Equipment end resource management method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5490211A (en) * 1994-04-20 1996-02-06 Adams; David J. Automatic call distributor with internal written message communication system and method
CN101025676A (en) * 2006-02-08 2007-08-29 株式会社理光 Content reproducing apparatus, content reproducing method and computer program product
CN101071447A (en) * 2006-03-06 2007-11-14 索尼株式会社 Search system, image-capturing apparatus, data storage apparatus, information processing apparatus
US20100234071A1 (en) * 2009-03-12 2010-09-16 Comsys Communication & Signal Processing Ltd. Vehicle integrated communications system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5490211A (en) * 1994-04-20 1996-02-06 Adams; David J. Automatic call distributor with internal written message communication system and method
CN101025676A (en) * 2006-02-08 2007-08-29 株式会社理光 Content reproducing apparatus, content reproducing method and computer program product
CN101071447A (en) * 2006-03-06 2007-11-14 索尼株式会社 Search system, image-capturing apparatus, data storage apparatus, information processing apparatus
US20100234071A1 (en) * 2009-03-12 2010-09-16 Comsys Communication & Signal Processing Ltd. Vehicle integrated communications system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533848A (en) * 2016-10-13 2017-03-22 北京小米移动软件有限公司 Data acquisition method and apparatus
CN106533848B (en) * 2016-10-13 2019-12-13 北京小米移动软件有限公司 data acquisition method and device
CN109951613A (en) * 2017-12-20 2019-06-28 杭州海康威视数字技术股份有限公司 Image sending, receiving method and equipment
CN111787070A (en) * 2020-06-10 2020-10-16 俞力奇 Equipment end resource management method
CN111787070B (en) * 2020-06-10 2022-07-12 俞力奇 Equipment end resource management method

Also Published As

Publication number Publication date
CN105138285B (en) 2018-03-16

Similar Documents

Publication Publication Date Title
US11303623B2 (en) Authentication mechanism
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
KR101899351B1 (en) Method and apparatus for performing video communication in a mobile terminal
WO2020199751A1 (en) Method and apparatus for loading page picture, and electronic device
CN104539977A (en) Live broadcast previewing method and device
CN110536075B (en) Video generation method and device
CN104462570B (en) Web page contents acquisition methods and device
KR20140035394A (en) Selective linking of message accounts
CN102421012A (en) Method and system for acquiring screenshot picture of television program
EP2713604A1 (en) Method for determining number of photos capable of being taken, and photographing device
EP4084482A1 (en) Stream pull method and device for live stream
CN105847413A (en) Camera parameter processing method, apparatus and system, and server
CN105138285A (en) Shooting data sharing method, apparatus and device
CN112231727A (en) Data processing method and device, electronic equipment, server and storage medium
CN104917754B (en) Video data sending and receiving method, server and client
CN106909481B (en) Interface test method, interface test device and electronic equipment
US20190104096A1 (en) Managing specialized objects in a message store
CN110908814A (en) Message processing method and device, electronic equipment and storage medium
CN107273125B (en) Method and system for remotely switching screen modes
CN112261483B (en) Video output method and device
KR20180010442A (en) User device for processing online authoring service and method for storing document thereof
JP2007207027A (en) Information management device, terminal equipment, information management system and information management method
CN111049943A (en) Method, device, equipment and medium for analyzing domain name
Singh et al. Twiddlenet: Smartphones as personal content servers for first responders
CN108810043B (en) Method and device for storing comment information

Legal Events

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