CN103902916B - A kind of data processing method and a kind of electronic equipment - Google Patents

A kind of data processing method and a kind of electronic equipment Download PDF

Info

Publication number
CN103902916B
CN103902916B CN201210572415.7A CN201210572415A CN103902916B CN 103902916 B CN103902916 B CN 103902916B CN 201210572415 A CN201210572415 A CN 201210572415A CN 103902916 B CN103902916 B CN 103902916B
Authority
CN
China
Prior art keywords
data
electronic equipment
sharing
device identification
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210572415.7A
Other languages
Chinese (zh)
Other versions
CN103902916A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210572415.7A priority Critical patent/CN103902916B/en
Publication of CN103902916A publication Critical patent/CN103902916A/en
Application granted granted Critical
Publication of CN103902916B publication Critical patent/CN103902916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0407Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
    • H04L63/0414Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden during transmission, i.e. party's identity is protected against eavesdropping, e.g. by using temporary identifiers, but is known to the other party or parties involved in the communication

Abstract

This application discloses a kind of data processing method and a kind of electronic equipment, methods described is applied to the first electronic equipment, and methods described includes:Sharing data is treated in acquisition;Treat sharing data described in process, produce one and share path, described share path so that the second electronic equipment according to described share path be obtained in that described in treat sharing data;Obtain the device identification of the second electronic equipment;Based on described device identification, described path of sharing is changed, form change data;Described change data is processed into a carrier data, described carrier data passes through described first electronic equipment output, so that treating sharing data described in described second electronic equipment acquisition.

Description

A kind of data processing method and a kind of electronic equipment
Technical field
The present invention relates to computer realm, particularly to a kind of data processing method and a kind of electronic equipment.
Background technology
At present, with the popularization of computer, greatly facilitate the life of people, such as user in sharing data, for example, divides Enjoy a photo of oneself shooting, or share the one section of perception of oneself, or forward other people comment, not general in computer In time, often can be limited by geographical location, only can be shared with the user nearer with user geographical position, for geographical position For user farther out, then can not share.Now, user then can be shared by the network that computer builds, point Enjoy to any user, will not be limited by geographical location again.
Such as when user is in sharing data, oneself data to be shared can be carried out point by user by uploading the Internet Enjoy, to all user's sharing datas being within the Internet;Or user can also sharing data in a local network, only share To the user being in LAN;Or the data setting authority that user can also share to oneself, is only shared with and is in authority Within user.
If user is in sharing data, it is intended merely to be shared with the other users specified, and when data is uploaded to network, Even if user is encrypted when uploading data, such as it is encrypted using identifying code or other passwords, also can not reach To the purpose being shared with specified user, because when other any users obtain this identifying code or password, can be downloaded this Data.
Therefore, for the scheme of user's sharing data, the applicant, during realizing the application, finds this technical side At least there is following technical problem in case:
Due to the opening of the Internet, in the operation sharing data in receive user for the device A, even if carrying out to this data Identifying code or password encryption, as long as obtaining this identifying code or password, other arbitrary equipment can be downloaded this and share Data, therefore, when passing through network sharing data between devices, safety it is impossible to ensure that, easily stolen point by other equipment Enjoy data.
Therefore, technical problem present in prior art is:Prior art has passes through network sharing number between devices According to when, the relatively low technical problem of safety.
Content of the invention
The present invention provides a kind of data processing method and a kind of electronic equipment, in order to solve to have in prior art When passing through network sharing data between equipment, the relatively low technical problem of safety.
On the one hand, the present invention passes through an embodiment of the application, provides following technical scheme:
A kind of data processing method, methods described is applied to the first electronic equipment, and methods described includes:Obtain number to be shared According to;Treat sharing data described in process, produce one and share path, described share path so that the second electronic equipment is shared according to described Sharing data is treated described in being obtained in that in path;Obtain the device identification of the second electronic equipment;Based on described device identification, to described Share path to be changed, form change data;Described change data is processed into a carrier data, described carrier data is passed through Described first electronic equipment output, so that treat sharing data described in described second electronic equipment acquisition.
Preferably, the described device identification obtaining the second electronic equipment, specially:Obtain user to be shared;Based on described User to be shared, the second electronic equipment that user to be shared described in acquisition uses;Based on described second electronic equipment, from metadata Described device identification is obtained on server.
Preferably, after the described device identification obtaining the second electronic equipment, methods described also includes:Obtain with described Treat sharing data corresponding M group identifying code, described M is the integer more than or equal to 1, wherein, each M group identifying code has corresponding Sequence number.
Preferably, described based on described device identification, described path of sharing is changed, formed change data, specifically For:Based on described device identification, share path and described M group identifying code is encrypted conversion to described, form described conversion number According to.
Preferably, described described change data is processed into a carrier data, specially:By described change data according to pre- The formula of fixing is encoded, and is processed into two-dimensional code data.
On the other hand, the present invention is provided by another embodiment of the application:
A kind of electronic equipment, including:First acquisition module, treats sharing data for obtaining;First processing module, for locating Treat sharing data described in reason, produce one and share path, described share path so that the second electronic equipment shares path according to described Sharing data is treated described in being obtained in that;Second acquisition module, for obtaining the device identification of the second electronic equipment;Modular converter, For based on described device identification, changing to described path of sharing, form change data;Second processing module, for inciting somebody to action Described change data is processed into a carrier data, and described carrier data is exported by described electronic equipment, so that described second Electronic equipment treats sharing data described in obtaining.
Preferably, described second acquisition module specifically includes:4th acquisition module, for obtaining user to be shared;5th Obtain module, for the second electronic equipment using based on described user to be shared, user to be shared described in acquisition;6th acquisition Module, for based on described second electronic equipment, obtaining described device identification from meta data server.
Preferably, described electronic equipment also includes:9th acquisition module, in the equipment mark obtaining the second electronic equipment After knowledge, obtain and treat sharing data corresponding M group identifying code with described, described M is the integer more than or equal to 1, wherein, each M Group identifying code has corresponding sequence number.
Preferably, described modular converter is specifically for based on described device identification, treating sharing data and described M group to described Identifying code is encrypted conversion, forms described change data.
Preferably, described Second processing module, specifically for being encoded described change data according to predetermined format, is located Manage into two-dimensional code data.
On the other hand, the present invention is provided by another embodiment of the application:
A kind of data processing method, methods described is applied to the second electronic equipment, and described second electronic equipment has collection Unit, to there being device identification, methods described includes described second electronic equipment:One carrier number is obtained by described collecting unit According to;Described carrier data is processed, obtains change data;Described change data is carried out turn by described device identification Change, obtain and treat sharing data.
Preferably, described carrier data is specially two-dimensional code data, described described carrier data is processed, obtain turn Change data, specially:Described two-dimensional code data is decoded process, obtains change data.
Preferably, described by described device identification, described change data is changed, obtain treat sharing data, specifically Including:By described device identification, described change data is decrypted with conversion, obtains and share path;By accessing described point Enjoy path, described in acquisition, treat sharing data.
Preferably, described by described device identification, described change data is changed, obtain treat sharing data, specifically Also include:By described device identification, described change data is decrypted conversion, described in acquisition, shares path and the checking of M group Code, described M is the integer more than or equal to 1, and wherein, each M group identifying code has corresponding M group sequence number;Share road by described Footpath accesses the first electronic equipment, obtains described M group sequence number;Determine that in described M group identifying code first tests according to described M group sequence number Card code;Share path and described first identifying code according to described, described in acquisition, treat sharing data.
On the other hand, the present invention is provided by another embodiment of the application:
A kind of electronic equipment, described electronic equipment has collecting unit, and described electronic equipment, to there being device identification, wraps Include:Described collecting unit, for obtaining a carrier data;Processing unit, for processing to described carrier data, obtains and turns Change data;First converting unit, for changing to described change data by described device identification, obtains number to be shared According to.
Preferably, described carrier data is specially two-dimensional code data, and described processing unit is specifically for described Quick Response Code Decoding data is processed, and obtains change data.
Preferably, described first converting unit includes:Second converting unit, for by described device identification, to described Change data is decrypted conversion, obtains acquisition and shares path;First obtains unit, for by access described in share path, Sharing data is treated described in acquisition.
Preferably, described first converting unit includes:3rd converting unit, for by described device identification, will be described Change data is decrypted conversion, shares path and M group identifying code described in acquisition, and described M is the integer more than or equal to 1, wherein, Each M group identifying code has corresponding M group sequence number;Second obtaining unit, for sharing path access first electronics by described Equipment, obtains described M group sequence number;According to described M group sequence number, determining unit, for determining that in described M group identifying code first tests Card code;3rd obtaining unit, for sharing path and described first identifying code according to described, treats sharing data described in acquisition.
One or more of technique scheme technical scheme, has the following technical effect that or advantage:
In superincumbent technical scheme, the device identification by using the second electronic equipment is changed to sharing path, Then to be obtained this and share path, then must be decoded changing using this device identification, therefore, other electronic equipments are downloaded and treated point When enjoying data, due to there is no specific device identification, then cannot be carried out downloading, and then the technical scheme in the application can improve The safety of sharing data, non-designated equipment then can not obtain the data that electronic equipment is shared.
Further, when electronic equipment downloading data, a carrier data is obtained by collecting unit;Then to carrier number According to being processed, obtain change data;Finally by electronic equipment distinctive device identification, change data is changed, obtain Treat sharing data.And then can foundation man-to-man with the equipment sharing this data contact, and obtain data, improve data and divide The safety enjoyed.
Brief description
Fig. 1 is the specific implementation process figure of data processing method in the embodiment of the present application one;
Fig. 2 is the specific implementation process figure obtaining device identification in the embodiment of the present application one;
Fig. 3 is the schematic diagram of a kind of electronic equipment in the embodiment of the present application two;
Fig. 4 is the specific implementation process figure of data processing method in the embodiment of the present application three;
Fig. 5 is the schematic diagram of electronic equipment in the embodiment of the present application.
Specific embodiment
In order to solve to have in prior art when passing through network sharing data between devices, the relatively low technology of safety Problem, the embodiment of the present invention proposes a kind of data processing method and a kind of electronic equipment, and its solution general thought is such as Under:
In this application it is proposed that a kind of data processing method and a kind of electronic equipment, wherein, share in electronic equipment During data, treat sharing data by obtaining;Then process and treat sharing data, produce one and share path, share path and make second Electronic equipment treats sharing data according to sharing path and be obtained in that;Obtain the device identification of the second electronic equipment;Based on equipment mark Know, change to sharing path, form change data;Change data is processed into a carrier data, carrier data is used for the One electronic equipment output, so that the second electronic equipment obtains treats sharing data.
In superincumbent method implementation process, the device identification by using the second electronic equipment carries out turning to sharing path Change, then will obtain this and share path, then must be decoded changing using this device identification, therefore, other electronic equipments are downloaded When sharing data, due to there is no specific device identification, then cannot be carried out downloading, and then the technical scheme in the application can Improve the safety of sharing data, non-designated equipment then can not obtain the data that electronic equipment is shared.
Further, when electronic equipment downloading data, a carrier data is obtained by collecting unit;Then to carrier number According to being processed, obtain change data;Finally by electronic equipment distinctive device identification, change data is changed, obtain Treat sharing data.And then can foundation man-to-man with the equipment sharing this data contact, and obtain data, improve data and divide The safety enjoyed.
Below by accompanying drawing and technical solution of the present invention is described in detail specific embodiment it should be understood that the present invention Specific features in embodiment and embodiment are the detailed description to technical solution of the present invention, rather than to the technology of the present invention side The restriction of case, in the case of not conflicting, the technical characteristic in the embodiment of the present invention and embodiment can be mutually combined.
Embodiment one:
In the embodiment of the present application, there is provided a kind of data processing method.
Further, the method is applied to the first electronic equipment.
In actual applications, the first electronic equipment can be arbitrary electronic equipment, such as mobile phone, PAD, notebook electricity Brain, desktop computer, all-in-one etc..
Certainly, in the embodiment of the present application the type of the first electronic equipment is not also limited.
Refer to Fig. 1 below, the specific implementation process of this processing method is as follows:
S101, obtains and treats sharing data.
S102, processes and treats sharing data, produces one and shares path.
Wherein, share path so that the second electronic equipment treats sharing data according to sharing path and be obtained in that.
S103, obtains the device identification of the second electronic equipment.
S104, based on device identification, changes to sharing path, forms change data.
S105, change data is processed into a carrier data.
Wherein, carrier data is used for the first electronic equipment output, so that the second electronic equipment obtains treats sharing data.
Specifically, in S101, treat that sharing data can be image data, video data, text data, voice data etc. Deng.
In S102, sharing data can be treated it is processed to acquisition and share path, and in the embodiment of the present application, point Enjoying path can be URL (Uniform/Universal Resource Locator, URL), and URL is also claimed For web page address, it is the address (Address) of the resource of standard on the Internet, further, URL is made up of three parts:Agreement Type, host name and path and filename, when treating sharing data and being processed, when such as image data being processed, Can according to this three part generate with regard to image data URL so that the second electronic equipment can by access this URL obtain should Image data.
And more specifically, after creating and sharing path, then S103 can be executed:Obtain the equipment of the second electronic equipment Mark.
And in S103, the specific implementation process of acquisition device identification, refer to Fig. 2:
S201, obtains user to be shared.
S202, based on user to be shared, obtains the second electronic equipment that user to be shared uses.
S203, based on the second electronic equipment, obtains device identification from meta data server.
In the application implementation process, in S201, the user that user to be shared as has the first electronic equipment prepares The object of sharing data, the such as first electronic equipment is device A, and corresponding user is user A, and user A needs to share a picture Data is user to be shared to user B, then user B, and specific, and user B can have multiple second electronic equipments, such as electricity Brain, mobile phone, the electronic equipment such as PAD, if the computer B that the second electronic equipment is used with user B is illustrated.Therefore, in the first electricity Sub- equipment side, then can obtain the specific electronic equipment that user B download uses when sharing data, i.e. computer B.
Then in S203, after determining the second electronic equipment, then can obtain the second electronic equipment corresponding equipment mark Know.
And the difference according to the second electronic equipment, there are different device identifications, when the such as second electronic equipment is mobile phone, Then device identification is specially the PIN code corresponding to mobile phone.
When second electronic equipment is computer, corresponding device identification is specially MAC Address, and more specifically, equipment mark Knowledge can also be different according to the difference of the model of the second electronic equipment, and such as device identification can be SN (serial Number, series number) it is generally referred to as software registration code information.In the electronic device, false proof being used can be done using SN.
And in the embodiment of the present application, it is possible to use MAC Address illustratively illustrates, certainly, in a practical situation, Can also be using other device identifications, here is the application do not repeat.
And obtain the concrete grammar of device identification, then can obtain from meta data server, deposit on meta data server Contain device identification, after have found the second electronic equipment, then can be according on the second electronic equipment to meta data server Find corresponding device identification.
In addition, after obtaining device identification, can also store it in the first electronic equipment, further, when First electronic equipment needs, using during device identification, to directly invoke from the first electronic equipment.
And after obtaining device identification, then can execute S104:Based on device identification, change to sharing path, shape Become change data.
And specific, then it is to be encrypted conversion, formation change data using device identification to sharing path.
More specifically, change data to be obtained, except using device identification to sharing in addition to path is encrypted conversion, Can also have following processing mode:
I.e. after obtaining device identification, also can obtain M group identifying code corresponding with treating sharing data.Wherein, M is big In the integer equal to 1.
Identifying code is used for, when the second electronic equipment obtains whne sharing data, being verified.
Further, each M group identifying code has corresponding sequence number, such as has 5 groups of identifying codes, this 5 groups of identifying code tools There is following corresponding relation:
First group of identifying code:QW4T, serial number 1.
Second group of identifying code:GHT6, serial number 2.
3rd group of identifying code:T5D6, serial number 3.
4th group of identifying code:Y5Kj, serial number 4.
5th group of identifying code:Gp68, serial number 5.
After obtaining M group identifying code, then can be based on device identification, to sharing path and M group identifying code is encrypted Conversion, forms change data.
Specifically, when being encrypted conversion, can be by following several ways:
The first:
Directly it is encrypted conversion with M group identifying code to sharing path using device identification, form change data.
Second:
First, using device identification, M group identifying code is encrypted one by one, forms the M group identifying code after encryption.
Then, reuse device identification and be encrypted conversion with the M group identifying code after encryption to sharing path, obtain and turn Change data.
After forming change data, then can execute S105:Change data is processed into a carrier data.
Wherein, carrier data is used for the first electronic equipment output, so that the second electronic equipment obtains treats sharing data.
And specifically processing procedure is then to be encoded change data according to predetermined format, it is processed into two-dimensional code data.
Specifically, two-dimensional code data is it is also assumed that be view data.
Underneath with specific example, the implementation process of the processing method in the embodiment of the present application is described in detail.
In the embodiment of the present application, the first electronic equipment is specially computer A, and corresponding user is user A, and the second electronics sets Standby specially computer B, corresponding user is user B, and carries sharing data to be then image data.
When user A needs to share image data:
First, the operation of computer A receive user A, searches out the image data specified.
Then, the form according to URL shares path by what image data was processed as URL format.
Further, computer A also can receive user A instruction, obtain user B to be shared, and determine what user B used The device identification of computer B.
More specifically, when the device identification needing to obtain computer B, can be according to computer B, from meta data server Go to download the MAC Address of computer B.
Further, after obtaining the MAC Address of computer B, then using this MAC Address, conversion can be encrypted to it, so Form change data afterwards.
And in encryption conversion, have two kinds of conversion regimes:
The first, be used alone MAC Address and be encrypted conversion to it, this encryption conversion regime, as long as using MAC ground After the deciphering of location, that is, be capable of successful access URL format shares path.
Second, also can obtain 5 groups of identifying codes, be used in conjunction with MAC Address and 5 groups of identifying codes are encrypted conversion to it.
And in second conversion regime, except being used in conjunction with MAC Address and 5 groups of identifying codes, it is encrypted with conversion Outward, first conversion can also be encrypted to 5 groups of identifying codes, then be used in conjunction with MAC Address and 5 groups of identifying codes are encrypted to it Conversion, improves the safety of sharing data further.
And more specifically, using 5 groups of identifying codes, it is encrypted with the concrete meaning of conversion, refer to verify this 5 groups Code all embeds in URL, when accessing URL, if it is necessary to use this 5 groups of identifying codes after being decrypted conversion using MAC Address In any one group of identifying code verified, can access successfully.
In this example, using the second way:It is used in conjunction with MAC Address and 5 groups of identifying codes are encrypted conversion to it Illustrated.
Such as the particular content of this 5 groups of identifying codes and corresponding relation are as follows:
First group of identifying code:QW4T, serial number 1.
Second group of identifying code:GHT6, serial number 2.
3rd group of identifying code:T5D6, serial number 3.
4th group of identifying code:Y5Kj, serial number 4.
5th group of identifying code:Gp68, serial number 5.
Then when processing URL, then using MAC Address and this 5 groups of identifying codes, conversion can be encrypted to it.
Further, after obtaining change data, then can carry out coded treatment to it, be processed as two-dimensional code data.
After being processed as two-dimensional code data, computer B then progressively can be processed according to the data that Quick Response Code comprises, and enters And obtain the image data of needs.And when other electronic equipments need to obtain this image data, the first electronic equipment can also Using the device identification of other electronic equipments, and processed according to processing mode above.
Further, when processing, computer A can be encrypted conversion using only one device identification to URL, now Other electronic equipments in download pictures data, then are merely able to be decrypted conversion using corresponding device identification.And work as computer A When employing two different device identifications and being encrypted conversion, then other electronic equipments to obtain this image data, then must Conversion must be decrypted using this two device identifications corresponding.Therefore, in computer A sharing data, can specify and be shared with Corresponding user, and it can be avoided that in sharing data, the situation that data is stolen by other unspecified persons, safety is higher.
And further, after computer A generates two-dimensional code data, how computer B obtains picture according to two-dimensional code data The specific implementation process of data, then be described in following embodiment.
In the embodiment of the present application, the implementation process being enumerated above is merely to illustrate and explains the present invention, is not used to Limit the present invention, such as, in actual applications, carrier data is not limited in two-dimensional code data, if be modified to other can hold Carry the mode of this change data it should also be contained within the scope of the present invention.
In the embodiment of the present application, by electronic equipment sharing data, treating sharing data by obtaining;Then process Treat sharing data, produce one and share path, share path so that the second electronic equipment is waited to share according to sharing path and be obtained in that Data;Obtain the device identification of the second electronic equipment;Based on device identification, change to sharing path, form change data; Change data is processed into a carrier data, carrier data is used for the first electronic equipment output, so that the second electronic equipment obtains Sharing data must be treated.
In superincumbent method implementation process, the device identification by using the second electronic equipment carries out turning to sharing path Change, then will obtain this and share path, then must be decoded changing using this device identification, therefore, other electronic equipments are downloaded When sharing data, due to there is no specific device identification, then cannot be carried out downloading, and then the technical scheme in the application can Improve the safety of sharing data, non-designated equipment then can not obtain the data that electronic equipment is shared.
In the above embodiments, describe a kind of data processing method, in the following embodiments, introduce the method pair The electronic equipment answered.
Embodiment two:
In the embodiment of the present application, there is provided a kind of electronic equipment.
Turn next to Fig. 3, this electronic equipment specifically includes:First acquisition module 301, first processing module 302, second Obtain module 303, modular converter 304, Second processing module 305.
Below specific function introduction is carried out to unit.
First acquisition module 301, treats sharing data for obtaining.
First processing module 302, treats sharing data for processing, and produces one and shares path, shares path and makes the second electricity Sub- equipment treats sharing data according to sharing path and be obtained in that.
Second acquisition module 303, for obtaining the device identification of the second electronic equipment.
Modular converter 304, for based on device identification, changing to sharing path, forms change data.
Second processing module 305, for change data is processed into a carrier data, it is defeated that carrier data passes through electronic equipment Go out, so that the second electronic equipment obtains treats sharing data.
Further, the second acquisition module 303 specifically includes:
4th acquisition module, for obtaining user to be shared.
5th acquisition module, for being based on user to be shared, obtains the second electronic equipment that user to be shared uses.
6th acquisition module, for based on the second electronic equipment, obtaining device identification from meta data server.
Further, electronic equipment also includes:9th acquisition module, in the device identification obtaining the second electronic equipment Afterwards, obtain M group identifying code corresponding with treating sharing data, M is the integer more than or equal to 1, wherein, each M group identifying code has There is corresponding sequence number.
Further, modular converter 304 is carried out specifically for based on device identification, treating sharing data and M group identifying code Encryption conversion, forms change data.
Further, Second processing module 305, specifically for being encoded change data according to predetermined format, is processed into Two-dimensional code data.
Above embodiment, in sharing data, describes a kind of data processing method and a kind of electronic equipment, below Embodiment in introduce download sharing data when data processing method.
Embodiment three:
In the embodiment of the present application, there is provided a kind of data processing method.
Further, the method is applied to the second electronic equipment.
In actual applications, the first electronic equipment can be arbitrary electronic equipment, such as mobile phone, PAD, notebook electricity Brain, desktop computer, all-in-one etc..
Certainly, in the embodiment of the present application the type of the first electronic equipment is not also limited.
Further, the second electronic equipment has collecting unit, and the second electronic equipment is to should have device identification.
Refer to Fig. 4 below, the specific implementation process of the processing method in the embodiment of the present application is as follows:
S401, obtains a carrier data by collecting unit.
S402, is processed to carrier data, obtains change data.
S403, is changed to change data by device identification, obtains and treats sharing data.
In the embodiment of the present application, carrier data is specifically as follows two-dimensional code data, therefore, to carrier data process tool Body process is then Quick Response Code to be decoded process, and obtains change data.
And more specifically, change data can be the URL after encryption, or the special audio after encryption, it is all It is mothballed in Quick Response Code, after Quick Response Code is decrypted, then can obtain.
After obtaining change data, then can execute S403:By device identification, change data is changed, acquisition is treated Sharing data.
In the embodiment of the present application, the difference according to the second electronic equipment, has different device identifications, the such as second electricity When sub- equipment is mobile phone, then device identification is specially the PIN code corresponding to mobile phone.
When second electronic equipment is computer, corresponding device identification is specially MAC Address, and more specifically, equipment mark Knowledge can also be different according to the difference of the model of the second electronic equipment, and such as device identification can be SN (serial Number, series number) it is generally referred to as software registration code information.In the electronic device, false proof being used can be done using SN.
And specific, the second electronic equipment only has unique device identification, therefore, when changing to change data, There is uniqueness, that is, be merely able to be decrypted conversion using corresponding device identification, the conversion address of other electronic equipments is then Can not decipher.
Further, when change data being changed using device identification, there are two kinds of transformation results, specific as follows.
The first:
First, by device identification, change data is decrypted with conversion, obtains and share path.
Secondly, path is shared by access, obtain and treat sharing data.
When such as change data is the URL after encryption, then after conversion being decrypted to it, then can obtain and share path URL, then accesses this URL, then can obtain and treat sharing data, such as treats that sharing data is a certain pictures data, therefore, accesses During URL, then can obtain image data.
Second:
First, by device identification, change data is decrypted conversion, obtains and share path and M group identifying code.
M is the integer more than or equal to 1, and wherein, each M group identifying code has corresponding M group sequence number.
Secondly, by sharing path access first electronic equipment, obtain M group sequence number.
Again, the first identifying code in M group identifying code is determined according to M group sequence number.
Finally, according to sharing path and the first identifying code, obtain and treat sharing data.
Specifically, first, change data is decrypted by conversion by device identification, obtains and share path and the checking of M group Code.
Such as change data is the URL after encryption, then after it being decrypted, then can obtain URL and corresponding M group Identifying code.
Wherein, M is the integer more than or equal to 1.
Further, each M group identifying code has corresponding sequence number.
Such as there are 5 groups of identifying codes, this 5 groups of identifying codes have following corresponding relation:
First group of identifying code:QW4T, serial number 1.
Second group of identifying code:GHT6, serial number 2.
3rd group of identifying code:T5D6, serial number 3.
4th group of identifying code:Y5Kj, serial number 4.
5th group of identifying code:Gp68, serial number 5.
And after obtaining and sharing path and 5 groups of identifying codes, then can be by sharing path access first electronic equipment Obtain this corresponding sequence number of 5 groups of identifying codes any one identifying code corresponding, such as 2.When obtaining this sequence number, can obtain Know and verified using the 2nd group of identifying code.Therefore, when path is shared in access, then can be tested using the 2nd group of identifying code Card, and then sharing data is treated in acquisition.
And further, can also be verified using method below, that is, when obtaining M group identifying code, this M group is verified Code is the identifying code being encrypted by device identification, after obtaining the identifying code after this M group encryption, also can access the One electronic equipment obtain this 5 group encryption after identifying code any one corresponding sequence number corresponding, such as 2.When obtaining this During sequence number, can know and be verified using the 2nd group of identifying code.Therefore, when path is shared in access and uses the 2nd group of identifying code When being verified, then first the 2nd group of identifying code can be decrypted, verify to sharing path again after deciphering, and then obtain Sharing data must be treated.
Specifically describe in above-described embodiment when download is whne sharing data, a carrier data is obtained by collecting unit; Then carrier data is processed, obtain change data;Finally by the distinctive device identification of electronic equipment to change data Changed, obtain and treat sharing data.And then can foundation man-to-man with the equipment sharing this data contact, and obtain number According to improve the safety of data sharing.
Underneath with specific example, the implementation process of the processing method in the embodiment of the present application is described in detail.
In the embodiment of the present application, the first electronic equipment is specially computer A, and corresponding user is user A, and the second electronics sets Standby specially computer B, corresponding user is user B, and carries sharing data to be then image data.
When user B needs download pictures data:
First, computer B can accept the instruction of user B, obtains two-dimensional code data, such as obtain from network or pass through computer A sends and obtains.
Secondly, after obtaining two-dimensional code data, then can be decoded, be obtained change data, and specific, turn Change the data then for being formed after URL encryption conversion for the data.
Further, then change data can be decoded changing.
Specifically transformation process is:It is decrypted conversion using the corresponding MAC Address of computer B, and after deciphering conversion, URL format can be obtained shares path and 5 groups of identifying codes.
Further, the particular content of this 5 groups of identifying codes is as follows:
First group of identifying code:QW4T, serial number 1.
Second group of identifying code:GHT6, serial number 2.
3rd group of identifying code:T5D6, serial number 3.
4th group of identifying code:Y5Kj, serial number 4.
5th group of identifying code:Gp68, serial number 5.
More specifically, obtain obtain URL format share path and 5 groups of identifying codes after, then can start access URL, when accessing, system then can pop-up dialogue box it is desirable to input validation code.
Now, computer B can access computer A and obtain the corresponding sequence number of identifying code needing input, such as obtain from computer A Serial number 2, then can know and input the 2nd group of identifying code GHT6, when computer B inputs this identifying code, then being capable of successful access URL, and obtain image data.
Further, computer B also has the restriction of number of times to the access of this URL, such as when obtaining 5 groups of identifying codes, then It is merely able to obtain 5 sequence number at computer A, and the sequence number obtaining every time is all different, now, then show that computer B accesses URL When, altogether it is merely able to access 5 times, and the identifying code of input is different every time when accessing URL, when 5 groups of identifying codes are all defeated Enter once, then access rights of can not reentrying.In addition also have a kind of mode, that is, after obtaining 5 groups of identifying codes, input every time The content of identifying code can be equally it is also possible to different, and specific input content then depends on accessing testing of obtaining during computer A The card corresponding sequence number of code, when such as accessing computer A, is only obtained in that 3 sequence number, that is, shows the access of URL is only able to access that Three times.
In a practical situation, specifically can be limited according to two kinds of situations above.
Further, in the embodiment of the present application, the implementation process being enumerated above is merely to illustrate and explains the present invention, It is not intended to limit the present invention, such as, in actual applications, carrier data is not limited in two-dimensional code data, if being modified to it He can carry the mode of this change data it should also be contained within the scope of the present invention.
Above embodiment describes when download is whne sharing data, the specific implementation process of processing method, following reality Apply and in example, introduce the corresponding electronic equipment of the method.
Example IV:
In the embodiment of the present application, there is provided a kind of electronic equipment.
Electronic equipment, to there being device identification, refer to Fig. 5 below, and electronic equipment specifically includes:Collecting unit 501, place Reason unit 502, the first converting unit 503.
Below specific function introduction is carried out to unit.
Collecting unit 501, for obtaining a carrier data.
Processing unit 502, for processing to carrier data, obtains change data.
First converting unit 503, for being changed to change data by device identification, is obtained and treats sharing data.
Further, carrier data is specially view data or voice data, and processing unit 502 is specifically for picture number According to or voice data be decoded process, obtain change data.
Further, the first converting unit 503 includes:
Second converting unit, for by device identification, change data is decrypted with conversion, obtains acquisition and shares road Footpath.
First obtains unit, for sharing path by access, obtains and treats sharing data..
Further, the first converting unit 503 includes:
3rd converting unit, for by device identification, change data being decrypted conversion, obtains and shares path and M Group identifying code, M is the integer more than or equal to 1, and wherein, each M group identifying code has corresponding M group sequence number.
Second obtaining unit, for by sharing path access first electronic equipment, obtaining M group sequence number.
Determining unit, for determining the first identifying code in M group identifying code according to M group sequence number.
3rd obtaining unit, for according to sharing path and the first identifying code, obtaining and treating sharing data.
By one or more embodiments of the invention, it is possible to achieve following technique effect:
In superincumbent implementation process, the device identification by using the second electronic equipment is changed to sharing path, Then to be obtained this and share path, then must be decoded changing using this device identification, therefore, other electronic equipments are downloaded and treated point When enjoying data, due to there is no specific device identification, then cannot be carried out downloading, and then the technical scheme in the application can improve The safety of sharing data, non-designated equipment then can not obtain the data that electronic equipment is shared.
Further, when electronic equipment downloading data, a carrier data is obtained by collecting unit;Then to carrier number According to being processed, obtain change data;Finally by electronic equipment distinctive device identification, change data is changed, obtain Treat sharing data.And then can foundation man-to-man with the equipment sharing this data contact, and obtain data, improve data and divide The safety enjoyed.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or the reality combining software and hardware aspect Apply the form of example.And, the present invention can be using in one or more computers wherein including computer usable program code The upper computer program implemented of usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) produces The form of product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by each stream in computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor instructing general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device is to produce A raw machine is so that produced for reality by the instruction of computer or the computing device of other programmable data processing device The device of the function of specifying in present one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy Determine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers to Make the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that counting On calculation machine or other programmable devices, execution series of operation steps to be to produce computer implemented process, thus in computer or On other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram one The step of the function of specifying in individual square frame or multiple square frame.
Obviously, those skilled in the art can carry out the various changes and modification essence without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprise these changes and modification.

Claims (16)

1. a kind of data processing method, methods described is applied to the first electronic equipment it is characterised in that methods described includes:
Sharing data is treated in acquisition;
Treat sharing data described in process, produce one and share path, described path of sharing makes the second electronic equipment according to described point Enjoy path be obtained in that described in treat sharing data;
Obtain the device identification of described second electronic equipment;
Based on described device identification, described path of sharing is changed, form change data;
Described change data is processed into a carrier data, described carrier data passes through described first electronic equipment output, so that Obtain and treat sharing data described in described second electronic equipment acquisition;
Wherein, after the described device identification obtaining the second electronic equipment, also include:
Obtain and treat sharing data corresponding M group identifying code with described, for waiting to share described in described second electronic equipment acquisition Verified during data;Wherein, each in described M group checking has corresponding sequence number, and M is the integer more than or equal to 1.
2. the method for claim 1 is it is characterised in that the device identification of described acquisition second electronic equipment, specially:
Obtain user to be shared;
Described second electronic equipment being used based on described user to be shared, user to be shared described in acquisition;
Based on described second electronic equipment, described device identification is obtained from meta data server.
3. the method for claim 1 it is characterised in that described based on described device identification, described path of sharing is entered Row conversion, forms change data, specially:
Based on described device identification, share path and described M group identifying code is encrypted conversion to described, form described conversion number According to.
4. the method for claim 1, it is characterised in that described be processed into a carrier data by described change data, has Body is:
Described change data is encoded according to predetermined format, is processed into two-dimensional code data.
5. a kind of electronic equipment is it is characterised in that include:
First acquisition module, treats sharing data for obtaining;
First processing module, for treating sharing data described in processing, produces one and shares path, and described path of sharing makes the second electricity Sub- equipment according to described share path be obtained in that described in treat sharing data;
Second acquisition module, for obtaining the device identification of described second electronic equipment;
Modular converter, for based on described device identification, changing to described path of sharing, forms change data;
Second processing module, for described change data is processed into a carrier data, described carrier data passes through described electronics Equipment exports, so that treating sharing data described in described second electronic equipment acquisition;
9th acquisition module, for, after obtaining the device identification of described electronic equipment, obtaining and treating sharing data pair with described The M group identifying code answered, described M group identifying code is used for being tested when described in described second electronic equipment acquisition whne sharing data Card;Wherein, each in described M group checking has corresponding sequence number, and M is the integer more than or equal to 1.
6. electronic equipment as claimed in claim 5 is it is characterised in that described second acquisition module specifically includes:
4th acquisition module, for obtaining user to be shared;
5th acquisition module, for described second electronics being used based on described user to be shared, user to be shared described in acquisition Equipment;
6th acquisition module, for based on described second electronic equipment, obtaining described device identification from meta data server.
7. electronic equipment as claimed in claim 5 is it is characterised in that described modular converter is specifically for based on described equipment mark Know, treat that sharing data and described M group identifying code are encrypted conversion to described, form described change data.
8. electronic equipment as claimed in claim 5 is it is characterised in that described Second processing module is specifically for by described conversion Data is encoded according to predetermined format, is processed into two-dimensional code data.
9. a kind of data processing method, methods described is applied to the second electronic equipment, and it is single that described second electronic equipment has collection Unit, described second electronic equipment is to should have device identification it is characterised in that methods described includes:
One carrier data is obtained by described collecting unit;
Described carrier data is processed, obtains change data;
By described device identification, described change data is changed, obtain and treat sharing data.
10. method as claimed in claim 9 is it is characterised in that described carrier data is specially two-dimensional code data, described to institute State carrier data to be processed, obtain change data, specially:
Described two-dimensional code data is decoded process, obtains described change data.
11. methods as claimed in claim 9 are it is characterised in that described entered to described change data by described device identification Row conversion, obtains and treats sharing data, specifically include:
By described device identification, described change data is decrypted with conversion, obtains and share path;
By sharing path described in access, described in acquisition, treat sharing data.
12. methods as claimed in claim 9 are it is characterised in that described entered to described change data by described device identification Row conversion, obtains and treats sharing data, specifically also include:
By described device identification, described change data is decrypted conversion, obtains and share path and M group identifying code, described M It is the integer more than or equal to 1, wherein, each M group identifying code has corresponding M group sequence number;
Share path access first electronic equipment by described, obtain described M group sequence number;
The first identifying code in described M group identifying code is determined according to described M group sequence number;
Share path and described first identifying code according to described, described in acquisition, treat sharing data.
13. a kind of electronic equipments, described electronic equipment has collecting unit, and, to having device identification, it is special for described electronic equipment Levy and be, including:
Described collecting unit, for obtaining a carrier data;
Processing unit, for processing to described carrier data, obtains change data;
First converting unit, for being changed to described change data by described device identification, is obtained and treats sharing data.
14. electronic equipments as claimed in claim 13 it is characterised in that described carrier data is specially two-dimensional code data, institute State processing unit specifically for being decoded to described two-dimensional code data processing, obtain described change data.
15. electronic equipments as claimed in claim 14 are it is characterised in that described first converting unit includes:
Second converting unit, for by described device identification, described change data is decrypted with conversion, obtains and shares road Footpath;
First obtains unit, for by sharing path described in access, treating sharing data described in acquisition.
16. electronic equipments as claimed in claim 14 are it is characterised in that described first converting unit includes:
3rd converting unit, for by described device identification, described change data being decrypted conversion, obtains and shares path With M group identifying code, described M is the integer more than or equal to 1, and wherein, each M group identifying code has corresponding M group sequence number;
Second obtaining unit, for sharing path access first electronic equipment by described, obtains described M group sequence number;
Determining unit, for determining the first identifying code in described M group identifying code according to described M group sequence number;
3rd obtaining unit, for sharing path and described first identifying code according to described, treats sharing data described in acquisition.
CN201210572415.7A 2012-12-25 2012-12-25 A kind of data processing method and a kind of electronic equipment Active CN103902916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210572415.7A CN103902916B (en) 2012-12-25 2012-12-25 A kind of data processing method and a kind of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210572415.7A CN103902916B (en) 2012-12-25 2012-12-25 A kind of data processing method and a kind of electronic equipment

Publications (2)

Publication Number Publication Date
CN103902916A CN103902916A (en) 2014-07-02
CN103902916B true CN103902916B (en) 2017-03-01

Family

ID=50994229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210572415.7A Active CN103902916B (en) 2012-12-25 2012-12-25 A kind of data processing method and a kind of electronic equipment

Country Status (1)

Country Link
CN (1) CN103902916B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106610966A (en) * 2015-10-21 2017-05-03 阿里巴巴集团控股有限公司 Information providing method and device
CN105657529A (en) * 2015-11-30 2016-06-08 乐视网信息技术(北京)股份有限公司 Audio/video sharing method and device
CN105471920A (en) * 2016-01-15 2016-04-06 天脉聚源(北京)科技有限公司 Identifying code processing method and device
CN106372521B (en) * 2016-09-28 2019-11-08 珠海市魅族科技有限公司 A kind of data run method and device
CN107959660A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 A kind of static file access method and device based on Nginx
CN115549918A (en) * 2017-06-15 2022-12-30 创新先进技术有限公司 Information processing method, device and equipment
CN109639682A (en) * 2018-12-14 2019-04-16 深圳市青葡萄科技有限公司 Sharing files method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1867142A (en) * 2006-06-16 2006-11-22 钟杨 Method and system for mobile terminal device obtaining computer information
CN101378270A (en) * 2007-08-30 2009-03-04 艾威梯软件技术(北京)有限公司 Method, equipment and system for managing short distance radio equipment data
US7578436B1 (en) * 2004-11-08 2009-08-25 Pisafe, Inc. Method and apparatus for providing secure document distribution
CN101860864A (en) * 2009-04-08 2010-10-13 北京闻言科技有限公司 Method for registering for account for mobile phone client user automatically
CN102833353A (en) * 2012-09-19 2012-12-19 腾讯科技(深圳)有限公司 Resource sharing method and user equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7578436B1 (en) * 2004-11-08 2009-08-25 Pisafe, Inc. Method and apparatus for providing secure document distribution
CN1867142A (en) * 2006-06-16 2006-11-22 钟杨 Method and system for mobile terminal device obtaining computer information
CN101378270A (en) * 2007-08-30 2009-03-04 艾威梯软件技术(北京)有限公司 Method, equipment and system for managing short distance radio equipment data
CN101860864A (en) * 2009-04-08 2010-10-13 北京闻言科技有限公司 Method for registering for account for mobile phone client user automatically
CN102833353A (en) * 2012-09-19 2012-12-19 腾讯科技(深圳)有限公司 Resource sharing method and user equipment

Also Published As

Publication number Publication date
CN103902916A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103902916B (en) A kind of data processing method and a kind of electronic equipment
JP6756051B2 (en) Reliable login methods, servers, and systems
CN103906054B (en) Method and system for authorization of software function modules of internet of things
CN103491084B (en) The authentication method of a kind of client and device
CN103597492A (en) Improved security function-based cloud service system and method for supporting same
CN105408912A (en) Process authentication and resource permissions
CN103620602A (en) Persistent key access to a resource in a collection
CN101044475A (en) Apparatus and method for supporting content exchange between different drm domains
CN106817346B (en) Data transmission method and device and electronic equipment
CN107483987B (en) Authentication method and device for video stream address
CN110011950B (en) Authentication method and device for video stream address
CN114780934A (en) Identity verification method and device
CN105354451A (en) Access authentication method and system
JP2014534515A5 (en)
WO2017017862A1 (en) Confidential information setting method, confidential information setting system, and confidential information setting device
CN106709319B (en) Two-dimensional code encoding and decoding application authority control system and hierarchical authorization method
CN105721425A (en) Information processing method and electronic device
CN107040520A (en) A kind of cloud computing data-sharing systems and method
CN111324902A (en) Data access method, device and system based on block chain
CN104036182A (en) Information processing method, prompting method, server and electronic device
KR20120087095A (en) Apparatus and method for generating a realtime password and storage medium
CN109214166A (en) Smart machine authentication control method and system
CN108235067B (en) Authentication method and device for video stream address
CN110266653B (en) Authentication method, system and terminal equipment
CN102799818B (en) Method and device for managing digital resources

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