CN110290097A - Processing method, device, storage medium and the electronic device of data - Google Patents

Processing method, device, storage medium and the electronic device of data Download PDF

Info

Publication number
CN110290097A
CN110290097A CN201810225999.8A CN201810225999A CN110290097A CN 110290097 A CN110290097 A CN 110290097A CN 201810225999 A CN201810225999 A CN 201810225999A CN 110290097 A CN110290097 A CN 110290097A
Authority
CN
China
Prior art keywords
request
local server
file destination
cryptogam
network address
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
CN201810225999.8A
Other languages
Chinese (zh)
Other versions
CN110290097B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810225999.8A priority Critical patent/CN110290097B/en
Publication of CN110290097A publication Critical patent/CN110290097A/en
Application granted granted Critical
Publication of CN110290097B publication Critical patent/CN110290097B/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/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • 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/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts

Abstract

The invention discloses a kind of processing method of data, device, storage medium and electronic devices.Wherein, this method comprises: the local server of target application obtains the mark of the file destination in the first network address that multimedia control is sent;The local server issues the first request to remote server according to the mark of the file destination, wherein first request is used for the cryptogam of request file destination;The local server receives the cryptogam for the encryption that the remote server is sent according to first request;The cryptogam of the encryption is decrypted in the local server, obtains the cryptogam;The cryptogam is sent to the multimedia control by the local server, wherein the cryptogam is for being decrypted the file destination of encryption in the multimedia control.Safety poor technical problem when the present invention solves client terminal playing multimedia file.

Description

Processing method, device, storage medium and the electronic device of data
Technical field
The present invention relates to data fields, in particular to a kind of processing method of data, device, storage medium and electricity Sub-device.
Background technique
Existing multimedia file usually not encrypts multimedia file, in transmission then being transmitted across slowly It is crawled in journey and is just easy to leakage multimedia file.In order to avoid the leakage of multimedia file, can to multimedia file into Row encryption, and the cryptogam to terminal transmission for decryption, still, once cryptogam is revealed, the multimedia file is also very It is easy to be decrypted, equally causes the leakage of multimedia file, so that safety ratio when multimedia client plays multimedia file It is poor.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of processing method of data, device, storage medium and electronic devices, at least to solve Certainly safety poor technical problem when client terminal playing multimedia file.
According to an aspect of an embodiment of the present invention, a kind of processing method of data is provided, comprising: the sheet of target application Ground server obtains the mark of the file destination in the first network address that multimedia control is sent;The local server according to The mark of the file destination issues the first request to remote server, wherein first request is used for request target The cryptogam of file;The local server receives the institute for the encryption that the remote server is sent according to first request State cryptogam;The cryptogam of the encryption is decrypted in the local server, obtains the cryptogam;Institute It states local server and the cryptogam is sent to the multimedia control, wherein the cryptogam is used for described more The file destination of encryption is decrypted in media control.
According to another aspect of an embodiment of the present invention, a kind of processing unit of data is additionally provided, comprising: acquiring unit, The mark of the file destination in first network address for obtaining multimedia control transmission;First request unit is used for basis The mark of the file destination issues the first request to remote server, wherein first request is used for request target The cryptogam of file;First receiving unit, the encryption sent for receiving the remote server according to first request The cryptogam;Decryption unit obtains the password text for the cryptogam of the encryption to be decrypted Part;First transmission unit, for the cryptogam to be sent to the multimedia control, wherein the cryptogam is used for The file destination of encryption is decrypted in the multimedia control.
Optionally, described device further include: the second authentication unit, for receiving multimedia control in second receiving unit After the second network address that part is sent, the check code that second network address carries is verified, wherein the check code is by institute It states local server to be generated according to the second field of second network address and the mark of the file destination, second word Section is for indicating storage address list described in request;Second determination unit, for after being proved to be successful, determining to described remote Journey server sends second request.
Optionally, institute is revised as in the memory of the target application in the address of the cryptogam by the modification unit State first network address.
Optionally, described device further include: command unit, in the second network address for receiving multimedia control transmission Before, the mark of the pre-stored file destination is obtained after the target application receives the first instruction, wherein described First instruction, which is used to indicate, obtains the file destination;Generation unit, for according to the generation of the mark of the file destination Second network address.
The cryptogam that the present embodiment transmits between local server and remote server is in encrypted state, ensure that Cryptogam is safe in the process of transmission, also, due to requesting cryptogam to remote server by local server, Target application can be made to call directly multimedia control broadcasting file destination and improve more matchmakers without changing multimedia control The flexibility of body control, the poor technical problem of safety, reaches when solving prior art client terminal playing multimedia file The technical effect for improving safety is arrived.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is hardware structure diagram according to an embodiment of the present invention;
Fig. 2 is the flow chart of the processing method of data according to an embodiment of the present invention;
Fig. 3 is the schematic diagram at the interface of target application according to an embodiment of the present invention;
Fig. 4 is the schematic diagram of broadcast interface according to an embodiment of the present invention;
Fig. 5 is the schematic diagram of m3u8 file according to an embodiment of the present invention;
Fig. 6 is the schematic diagram of the password of m3u8 file according to an embodiment of the present invention;
Fig. 7 is the flow chart according to an embodiment of the present invention for obtaining cryptogam;
Fig. 8 is the flow chart according to an embodiment of the present invention for obtaining m3u8 file;
Fig. 9 is the schematic diagram of the processing unit of data according to an embodiment of the present invention;
Figure 10 is the structure chart of electronic device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to an aspect of an embodiment of the present invention, a kind of processing method of data is provided.In the present embodiment, above-mentioned The processing method of data can be applied in the hardware environment that terminal and server as shown in Figure 1 is constituted.As shown in Figure 1, Application program 101 establishes local server 102, and local server 102 passes through network connection remote server 103.Above-mentioned network Including but not limited to: wide area network, Metropolitan Area Network (MAN) or local area network, terminal 101 can be mobile phone terminal, be also possible to PC terminal, notes This terminal or tablet computer terminal.
Fig. 2 is the process of the processing method of data according to an embodiment of the present invention.As shown in Fig. 2, the processing side of the data Method includes:
Step S200, the local server of target application obtain the target in the first network address that multimedia control is sent The mark of file.
Target application can be application program 101 shown in FIG. 1.Multimedia control can be used to realize broadcasting with terminal inner The control of multimedia file.For example, target application is the news client of display news shown in Fig. 3, multimedia control is to broadcast The program code of playback frequency file, news client end call multimedia control to realize and play multimedia file, multimedia file Broadcast interface it is as shown in Figure 4.For example, multimedia control can obtain the sound stored on remote server by local server The multimedia files such as frequency file or video file, and play the multimedia file got.
File destination can be the file that target application calls multimedia control to play, which can be audio text The multimedia files such as part or video file.The mark of the file destination can be used to indicate the title of the file destination, number Deng.The storage address of file destination is stored in m3u8 file.Fig. 5 shows the storage content of m3u8 file.M3u8 is more matchmakers Body play list file format.M3u8 file is a text file, and content after opening in this document as shown in figure 5, have very much Audio file address, such as the content in the red frame of figure in Fig. 5.Such as:
Http:// tfp.gtimg.com/tfp/dd/audio/KMJHx8nEURbrsu0nTq33.0.mp3 etc., player The audio file listed in m3u8 can be playd in order.
As shown in figure 5, any one network address in black box all indicates the storage address of a file destination, for example, depositing KMJHx8EURbrsu0nTg33.0 in storage address is exactly the mark of a file destination, in other storage address KMJHx8EURbrsu0nTg33.1 and KMJHx8EURbrsu0nTg33.2 is the mark of two file destinations respectively.
First network address is directed to the address of local server, different from storage address shown in fig. 5.The first network Address can be http: // 127.0.0.1/a.key? id=xxx&code=xxx.Wherein, 127.0.0.1 is directed toward local service Device, the first network address is for requesting key, audio text which is used to store the storage address in m3u8, encryption Part is decoded.Id=xxx in the first network address indicates the mark of file destination, and code=xxx is first network The check code of location, for verifying whether the first network address is generated by local server.It should be noted that the network address is to use In illustrating that the carry-on information in first network address, form is not limited to above-mentioned example.
Step S202, the local server issue first to remote server according to the mark of the file destination and ask It asks, wherein first request is used for the cryptogam of request file destination.
Remote server storage file destination, file destination are to transmit in an encrypted form, avoid quilt during transmission It is played after crawl.Therefore, multimedia control is after the file destination for obtaining encryption, it is also necessary to utilize the cryptogam of file destination The file destination of encryption is decoded.The file destination recorded in m3u8 file shown in fig. 5 can use identical password File is decrypted.
Describe the cipher mode of file destination in m3u8 file as shown in Figure 5, in box as shown in FIG. 6, encryption Mode are as follows: EXT-X-KEY:METHOD=AES-128.
Step S204, the local server receive encryption of the remote server according to the first request transmission The cryptogam.
The cryptogam of the encryption is decrypted in step S206, the local server, obtains the password File.
Local server and remote server appoint encryption rule in advance, for example, using asymmetric encryption.Local service After device receives the cryptogam of encryption, the cryptogam of encryption is decrypted using the encryption rule of agreement, obtains password File.During remote server and local server transmission cryptogam, since cryptogam is in encrypted shape Therefore state even if the cryptogam of encryption is intercepted or grabs, also guarantees the safety of cryptogam because that can not decrypt.
The cryptogam is sent to the multimedia control by step S208, the local server, wherein described close Code file is for being decrypted the file destination of encryption in the multimedia control.
After local server obtains cryptogam, cryptogam is sent to multimedia control.Due to local server and Multimedia control is all arranged in the same terminal, and the cryptogam transmitted between local server and multimedia control is not It will be leaked, and then ensure that the safety of cryptogam.Multimedia control is decrypted file destination using cryptogam, from And play file destination.
The cryptogam that the present embodiment transmits between local server and remote server is in encrypted state, ensure that Cryptogam is safe in the process of transmission, also, due to requesting cryptogam to remote server by local server, Target application can be made to call directly multimedia control broadcasting file destination and improve more matchmakers without changing multimedia control The flexibility of body control, the poor technical problem of safety, reaches when solving prior art client terminal playing multimedia file The technical effect for improving safety is arrived.
For the clearer technical solution for illustrating the present embodiment, the present embodiment is illustrated below in conjunction with Fig. 7.Fig. 7 It is the flow chart of request cryptogam according to an embodiment of the present invention.
1. player sends first network address http: // 127.0.0.1/a.key to local server? id=xxx& Code=xxx.Player, that is, multimedia control, local server, that is, target application local server.
2. the check code of local server verification first network address.That is, the local server in the target application obtains After the mark for the file destination in first network address for taking multimedia control to send, the method also includes: the local The check code that first network address described in server authentication carries, wherein the check code is by the local server according to institute The mark for stating the first field and the file destination in first network address generates, and first field is for indicating that request obtains Take the cryptogam;The local server determines that sending described first to the remote server asks after being proved to be successful It asks.
First field can be first network address http: // 127.0.0.1/a.key? in id=xxx&code=xxx A.key? field.The mark of file destination can be id=xxx, and the check code of generation can be code=xxx.Local service Device judges whether the first network address received is what multimedia control was sent by being verified to check code, avoids ringing The network address that should be forged.After a successful authentication, determine first network address be it is legal, can be sent to remote server First request.
3. finding the corresponding true url (uniform resource locator) of id.That is, determining the corresponding network of mark of file destination Address.The network address is the address on the remote server for store file destination, is exactly the net in m3u8 file shown in Fig. 7 Network address.
Optionally, the local server issues the first request packet to remote server according to the mark of the file destination Include: the local server determines the target password file of the file destination described according to the mark of the file destination The first storage address on remote server;The local server generates described first according to first storage address and asks It asks, wherein first request is for requesting access to first storage address;The local server is to the remote service Device sends first request.
Local server is previously stored with the corresponding relationship of the true url of id and cryptogam, and local server is according to id =xxx determines true address, i.e. the first storage address.Local server requests access to the first storage address to download password File.
4. requesting key file.That is, local server requests cryptogam to remote server.
5. returning to the key file after asymmetric encryption.Remote server returns to the cryptogam of encryption to local server.
6. obtaining true key by public key decryptions.Local server passes through the public key made an appointment to the password of encryption File is decrypted, the cryptogam after being decrypted.
7. returning to true key file.That is, the local server is literary by the password by the memory of the target application Part is sent to the multimedia control.
Local server sends cryptogam by the memory of target application, avoids cryptogam from being crawled, can also protect Card cryptogam can only be obtained by multimedia control, thus be decoded using file destination of the cryptogam to downloading, and Play file destination.
Fig. 8 is the flow chart of request m3u8 file according to an embodiment of the present invention.The step of request m3u8 asking in Fig. 7 It asks and is executed before key file.The present embodiment first requests m3u8 file, and it is close by what is recorded in m3u8 file later to obtain m3u8 file The address (enc.key) of code file is modified to point to local server, close to request local server to remote server Code file
Illustrate the process of the address of Modify password file below in conjunction with Fig. 8.
1. target application requests m3u8 file to local server, the second network address of the m3u8 file is directed toward local clothes Business device: http: // 127.0.0.1/a.m3u8? id=xxx&code=xxx
Optionally, the local server obtains pre-stored described after the target application receives the first instruction The mark of file destination, wherein first instruction, which is used to indicate, obtains the file destination;The local server is according to institute The mark for stating file destination generates second network address.
The mark of file destination is stored in target application, target application receives first that instruction plays file destination After instruction, the mark of file destination is sent to local server by target application.Local server is established by target application, Local server generates the second network address according to the mark of file destination, so that multimedia control is when requesting m3u8 file, M3u8 file is requested to remote server by local server.
The local server receives the second network address that the multimedia control is sent, wherein second network Storage address list of the address for file destination described in request, second network address carry the file destination Mark.Storage address list, that is, m3u8 the file, the id in the second network address are indicated
2. local server verifies the check code of the second network address.Multimedia control is received in the local server After the second network address sent, the method also includes: the local server is verified second network address and is carried Check code, wherein the check code is by the local server according to the second field of second network address and described The mark of file destination generates, and second field is for indicating storage address list described in request.The local service Device determines to the remote server after being proved to be successful and sends second request.
Second field is the a.m3u8 in above-mentioned second network address, this field is for indicating that second network address is used In request m3u8 file.After local server verifies the second network address, determining second network address not is to forge , it determines and generates the second request.
3. it is really url that it is corresponding, which to find id,
Corresponding relationship between the id and m3u8 that local server is recorded, and find the true of the corresponding m3u8 file of the id It is network address.The i.e. described local server determines the storage address of the file destination according to the mark of the file destination The second storage address of list on this remote server.
4. requesting m3u8 file.I.e. local server sends the second request to remote server, with request downloading m3u8 text Part.That is, the local server sends the second request to the remote server according to second storage address, wherein institute The second request is stated for storage address list described in request;
5. returning to m3u8 file.The local server receives the storage address column that the remote server is sent Table, wherein the storage address list describes the address of the cryptogam;
6. the address for modifying enc.key is http: // 127.0.0.1/a.m3u8? id=xxx&code=xxx.Described The first network address is revised as in the address of the cryptogam by ground server, wherein is directed toward the first network address The local server;The local server sends the first network address to the multimedia control.
7. returning to m3u8 file.The local server is in the memory of the target application by the ground of the cryptogam It is revised as the first network address in location.First network address is modified into the address of cryptogam in the memory of target application, It avoids modified first network address from being crawled, also it is ensured that first network address can only be obtained by multimedia control, keeps away Exempt from first network address to be trapped to forge the request to remote server.
Through this embodiment, the safety in local server and remote server transmission cryptogam is improved, is not had to Worry that key is intercepted and captured by packet catchers such as Fiddler, and file destination is encryption, to ensure that the safety of file destination. Secondly, the multimedia control using system plays file destination, independent customizing multimedia control is not needed, the development cycle is short.Make With system application, not needing to introduce customized application, the installation kit size of target application only increases several k, and multiple platforms (including Android and iOS platform) it can use.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing the processing method of above-mentioned data The processing unit of data, the processing unit are arranged to the local server of target application, as shown in figure 9, the local service Device includes:
Acquiring unit 90 is used to obtain the mark of the file destination in the first network address of multimedia control transmission;
First request unit 92 is used to issue the first request to remote server according to the mark of the file destination, In, first request is used for the cryptogam of request file destination;
First receiving unit 94 is used to receive the remote server according to the encryption that first request is sent Cryptogam;
Decryption unit 96 obtains the cryptogam for the cryptogam of the encryption to be decrypted;
First transmission unit 98 is used to the cryptogam being sent to the multimedia control, wherein the password text Part is for being decrypted the file destination of encryption in the multimedia control.
Optionally, first request unit includes: address module, for being determined according to the mark of the file destination The first storage address of the target password file of the file destination on this remote server;Generation module is used for basis First storage address generates first request, wherein first request is for requesting access to first storage ground Location;First sending module, for sending first request to the remote server.
Optionally, the cryptogam is sent to described by first transmission unit by the memory of the target application Multimedia control.
Optionally, described device further include: the first authentication unit, for obtaining multimedia control hair in the acquiring unit After the mark of the file destination in first network address sent, the check code that the first network address carries is verified, wherein The check code is by the local server according to the mark of the first field and the file destination in the first network address Know and generate, first field is for indicating cryptogam described in request;First determination unit, for after being proved to be successful It determines to the remote server and sends first request.
Optionally, described device further include: the second receiving unit, for obtaining multimedia control hair in the acquiring unit Before the mark of the file destination in first network address sent, the second network address that the multimedia control is sent is received, Wherein, storage address list of second network address for file destination described in request, second network address Carry the mark of the file destination;Second address location, for determining the mesh according to the mark of the file destination Mark the second storage address of the storage address list of file on this remote server;Second transmission unit, for according to institute It states the second storage address and sends the second request to the remote server, wherein second request is for described in request Storage address list;Third receiving unit, the storage address list sent for receiving the remote server, wherein The storage address list describes the address of the cryptogam;Unit is modified, for repairing the address of the cryptogam It is changed to the first network address, wherein be directed toward the local server in the first network address;Second transmission unit is used In sending the first network address to the multimedia control.
Optionally, described device further include: the second authentication unit, for receiving multimedia control in second receiving unit After the second network address that part is sent, the check code that second network address carries is verified, wherein the check code is by institute It states local server to be generated according to the second field of second network address and the mark of the file destination, second word Section is for indicating storage address list described in request;Second determination unit, for after being proved to be successful, determining to described remote Journey server sends second request.
Optionally, institute is revised as in the memory of the target application in the address of the cryptogam by the modification unit State first network address.
Optionally, described device further include: command unit, in the second network address for receiving multimedia control transmission Before, the mark of the pre-stored file destination is obtained after the target application receives the first instruction, wherein described First instruction, which is used to indicate, obtains the file destination;Generation unit, for according to the generation of the mark of the file destination Second network address.
Optionally, the specific execution step and serving as reference embodiment of the method for the processing unit of the data of the present embodiment, this Place repeats no more this.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the processing method of above-mentioned data Electronic device, as shown in Figure 10, which includes, including memory and processor, is stored with computer in the memory Program, the processor are arranged to execute the step in any of the above-described embodiment of the method by computer program.
Optionally, Figure 10 is a kind of structural block diagram of electronic device according to an embodiment of the present invention.As shown in Figure 10, the electricity Sub-device may include: one or more (one is only shown in figure) processor 1001, at least one communication bus 1002, user Interface 1003, at least one transmitting device 1004
12PN84429 and memory 1005.Wherein, communication bus 1002 is logical for realizing the connection between these components Letter.Wherein, user interface 1003 may include display 1006 and keyboard 1007.Transmitting device 1004 optionally may include mark Quasi- wireline interface and wireless interface.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer network At least one network equipment.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1, the local server of target application obtain the file destination in the first network address that multimedia control is sent Mark;
S2, the local server issue the first request to remote server according to the mark of the file destination, wherein First request is used for the cryptogam of request file destination;
S3, the local server receive the described close of encryption of the remote server according to the first request transmission Code file;
The cryptogam of the encryption is decrypted in S4, the local server, obtains the cryptogam;
The cryptogam is sent to the multimedia control by S5, the local server, wherein the cryptogam For the file destination of encryption to be decrypted in the multimedia control.
Optionally, it will appreciated by the skilled person that structure shown in Fig. 10 is only to illustrate, electronic device can also To be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device The terminal devices such as (Mobile Internet Devices, MID), PAD.Figure 10 it does not make to the structure of above-mentioned electronic device At restriction.For example, electronic device may also include more or less component (such as network interface, display dress than shown in Figure 10 Set), or with the configuration different from shown in Figure 10.
Wherein, memory 1005 can be used for storing software program and module, such as the place of the data in the embodiment of the present invention Manage the corresponding program instruction/module of method and apparatus, the software journey that processor 1001 is stored in memory 1005 by operation Sequence and module realize the processing method of above-mentioned data thereby executing various function application and data processing.Memory 1005 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory 1005 can further comprise relative to processing The remotely located memory of device 1001, these remote memories can pass through network connection to terminal.The example packet of above-mentioned network Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 1004 is used to that data to be received or sent via a network.Above-mentioned network specific example It may include cable network and wireless network.In an example, transmitting device 1004 includes a network adapter (Network Interface Controller, NIC), can be connected by cable with other network equipments with router so as to interconnection Net or local area network are communicated.In an example, transmitting device 1004 is radio frequency (Radio Frequency, RF) module, For wirelessly being communicated with internet.
Wherein, specifically, memory 1005 is used to store the corresponding relationship between mark and true network address.
The cryptogam that the present embodiment transmits between local server and remote server is in encrypted state, ensure that Cryptogam is safe in the process of transmission, also, due to requesting cryptogam to remote server by local server, Target application can be made to call directly multimedia control broadcasting file destination and improve more matchmakers without changing multimedia control The flexibility of body control, the poor technical problem of safety, reaches when solving prior art client terminal playing multimedia file The technical effect for improving safety is arrived.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1, the local server of target application obtain the file destination in the first network address that multimedia control is sent Mark;
S2, the local server issue the first request to remote server according to the mark of the file destination, wherein First request is used for the cryptogam of request file destination;
S3, the local server receive the described close of encryption of the remote server according to the first request transmission Code file;
The cryptogam of the encryption is decrypted in S4, the local server, obtains the cryptogam;
The cryptogam is sent to the multimedia control by S5, the local server, wherein the cryptogam For the file destination of encryption to be decrypted in the multimedia control.
Optionally, storage medium is also configured to store the computer program for executing following steps:
The local server determines the target password file of the file destination according to the mark of the file destination The first storage address on this remote server;
The local server generates first request according to first storage address, wherein first request For requesting access to first storage address;
The local server sends first request to the remote server.
Optionally, storage medium is also configured to store the computer program for executing following steps: the local clothes The cryptogam is sent to the multimedia control by the memory of the target application by business device.
Optionally, storage medium is also configured to store the computer program for executing following steps: the local clothes Business device verifies the check code that the first network address carries, wherein the check code is as the local server according to The mark of the first field and the file destination in first network address generates, and first field is for indicating request The cryptogam;
The local server, which is determined after being proved to be successful to the remote server, sends first request.
Optionally, storage medium is also configured to store the computer program for executing following steps: the local clothes Business device receives the second network address that the multimedia control is sent, wherein second network address is used for request institute The storage address list of file destination is stated, second network address carries the mark of the file destination;
The local server determines the storage address list of the file destination according to the mark of the file destination The second storage address on this remote server;
The local server sends the second request to the remote server according to second storage address, wherein Second request is for storage address list described in request;
The local server receives the storage address list that the remote server is sent, wherein described to deposit Storage address list describes the address of the cryptogam;
The first network address is revised as in the address of the cryptogam by the local server, wherein described One network address is directed toward the local server;
The local server sends the first network address to the multimedia control.
Optionally, storage medium is also configured to store the computer program for executing following steps: the local clothes Business device verifies the check code that second network address carries, wherein the check code is as the local server according to Second field of the second network address and the mark of the file destination generate, and second field is for indicating request institute State storage address list;
The local server determines to the remote server after being proved to be successful and sends second request.
Optionally, storage medium is also configured to store the computer program for executing following steps: the local clothes The first network address is revised as in the memory of the target application in the address of the cryptogam by business device.
Optionally, storage medium is also configured to store the computer program for executing following steps: the local clothes Business device obtains the mark of the pre-stored file destination after the target application receives the first instruction, wherein described First instruction, which is used to indicate, obtains the file destination;
The local server generates second network address according to the mark of the file destination.
Optionally, storage medium is also configured to store for executing step included in the method in above-described embodiment Computer program, this is repeated no more in the present embodiment.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodiment All or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store in In one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (15)

1. a kind of processing method of data characterized by comprising
The local server of target application obtains the mark of the file destination in the first network address that multimedia control is sent;
The local server issues the first request to remote server according to the mark of the file destination, wherein described the One request is used for the cryptogam of request file destination;
The local server receives the cryptogam for the encryption that the remote server is sent according to first request;
The cryptogam of the encryption is decrypted in the local server, obtains the cryptogam;
The cryptogam is sent to the multimedia control by the local server, wherein the cryptogam is used for The file destination of encryption is decrypted in the multimedia control.
2. the method according to claim 1, wherein mark of the local server according to the file destination Issuing the first request to remote server includes:
The local server determines the target password file of the file destination in institute according to the mark of the file destination State the first storage address on remote server;
The local server generates first request according to first storage address, wherein first request is used for Request access to first storage address;
The local server sends first request to the remote server.
3. the method according to claim 1, wherein the cryptogam is sent to institute by the local server Stating multimedia control includes:
The cryptogam is sent to the multimedia control by the memory of the target application by the local server.
4. the method according to claim 1, wherein the local server in the target application obtains multimedia After the mark for the file destination in first network address that control is sent, the method also includes:
The local server verifies the check code that the first network address carries, wherein the check code is by the local Server is generated according to the mark of the first field and the file destination in the first network address, and first field is used The cryptogam described in expression request;
The local server, which is determined after being proved to be successful to the remote server, sends first request.
5. the method according to claim 1, wherein the local server in the target application obtains multimedia Before the mark for the file destination in first network address that control is sent, the method also includes:
The local server receives the second network address that the multimedia control is sent, wherein second network address For the storage address list of file destination described in request, second network address carries the mark of the file destination Know;
The local server determines the storage address list of the file destination in institute according to the mark of the file destination State the second storage address on remote server;
The local server sends the second request to the remote server according to second storage address, wherein described Second request is for storage address list described in request;
The local server receives the storage address list that the remote server is sent, wherein the storage ground Location list describes the address of the cryptogam;
The first network address is revised as in the address of the cryptogam by the local server, wherein first net It is directed toward the local server in network address;
The local server sends the first network address to the multimedia control.
6. according to the method described in claim 5, it is characterized in that, receiving what multimedia control was sent in the local server After second network address, the method also includes:
The local server verifies the check code that second network address carries, wherein the check code is by the local Server is generated according to the second field of second network address and the mark of the file destination, and second field is used for Indicate storage address list described in request;
The local server determines to the remote server after being proved to be successful and sends second request.
7. according to the method described in claim 5, it is characterized in that, the local server repairs the address of the cryptogam Being changed to the first network address includes:
First net is revised as in the memory of the target application in the address of the cryptogam by the local server Network address.
8. according to the method described in claim 5, it is characterized in that, receiving what multimedia control was sent in the local server Before second network address, the method also includes:
The local server obtains the pre-stored file destination after the target application receives the first instruction Mark, wherein first instruction, which is used to indicate, obtains the file destination;
The local server generates second network address according to the mark of the file destination.
9. a kind of processing unit of data, which is characterized in that the processing unit is arranged to the local server of target application, The local server includes:
Acquiring unit, the mark of the file destination in first network address for obtaining multimedia control transmission;
First request unit, for issuing the first request to remote server according to the mark of the file destination, wherein described First request is used for the cryptogam of request file destination;
First receiving unit, for receiving the password text for the encryption that the remote server is sent according to first request Part;
Decryption unit obtains the cryptogam for the cryptogam of the encryption to be decrypted;
First transmission unit, for the cryptogam to be sent to the multimedia control, wherein the cryptogam is used for The file destination of encryption is decrypted in the multimedia control.
10. device according to claim 9, which is characterized in that first request unit includes:
Address module determines the target password file of the file destination described for the mark according to the file destination The first storage address on remote server;
Generation module, for generating first request according to first storage address, wherein first request is for asking Seek access first storage address;
First sending module, for sending first request to the remote server.
11. device according to claim 9, which is characterized in that first transmission unit passes through the target application The cryptogam is sent to the multimedia control by memory.
12. device according to claim 9, which is characterized in that described device further include:
First authentication unit, for obtaining the target text in the first network address that multimedia control is sent in the acquiring unit After the mark of part, the check code that the first network address carries is verified, wherein the check code is by the local server It is generated according to the mark of the first field and the file destination in the first network address, first field is for indicating Cryptogam described in request;
First determination unit sends first request for being determined after being proved to be successful to the remote server.
13. device according to claim 9, which is characterized in that described device further include:
Second receiving unit, for obtaining the target text in the first network address that multimedia control is sent in the acquiring unit Before the mark of part, the second network address that the multimedia control is sent is received, wherein second network address is for asking The storage address list for obtaining the file destination is asked, second network address carries the mark of the file destination;
Second address location determines that the storage address list of the file destination exists for the mark according to the file destination The second storage address on the remote server;
Second transmission unit, for sending the second request to the remote server according to second storage address, wherein institute The second request is stated for storage address list described in request;
Third receiving unit, the storage address list sent for receiving the remote server, wherein the storage ground Location list describes the address of the cryptogam;
Unit is modified, for the first network address to be revised as in the address of the cryptogam, wherein the first network It is directed toward the local server in address;
Second transmission unit, for sending the first network address to the multimedia control.
14. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to execute method described in any one of claim 1 to 8 when operation.
15. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to execute side described in any one of claim 1 to 8 by the computer program Method.
CN201810225999.8A 2018-03-19 2018-03-19 Data processing method and device, storage medium and electronic device Active CN110290097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810225999.8A CN110290097B (en) 2018-03-19 2018-03-19 Data processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810225999.8A CN110290097B (en) 2018-03-19 2018-03-19 Data processing method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN110290097A true CN110290097A (en) 2019-09-27
CN110290097B CN110290097B (en) 2021-08-27

Family

ID=68000944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810225999.8A Active CN110290097B (en) 2018-03-19 2018-03-19 Data processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110290097B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677686A (en) * 2019-10-14 2020-01-10 体奥动力(北京)体育传播有限公司 Multimedia information calling method, device, system and server
CN113032123A (en) * 2021-04-02 2021-06-25 深圳市大富网络技术有限公司 Thread scheduling method, system and related device for remote NPL (network provider layer) operating environment
CN113901534A (en) * 2021-09-18 2022-01-07 北京橙色云科技有限公司 Data service method, device, storage medium and processor

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819702A (en) * 2012-07-19 2012-12-12 腾讯科技(深圳)有限公司 File encryption operation method and file encryption operation system
CN104754571A (en) * 2013-12-25 2015-07-01 深圳中兴力维技术有限公司 User authentication realizing method, device and system thereof for multimedia data transmission
CN104951506A (en) * 2015-05-21 2015-09-30 腾讯科技(深圳)有限公司 Method and device for acquiring multimedia file
CN105512520A (en) * 2015-12-02 2016-04-20 厦门雅迅网络股份有限公司 Anti-cloning vehicle-mounted system and work method thereof
CN105516143A (en) * 2015-12-10 2016-04-20 浙江省公众信息产业有限公司 Anti-leech method, device and system for streaming media
CN105657456A (en) * 2016-03-10 2016-06-08 腾讯科技(深圳)有限公司 Processing method, device and system for multimedia data
US20160182671A1 (en) * 2014-12-19 2016-06-23 Citrix Systems, Inc. Systems and methods for partial video caching
CN105763827A (en) * 2014-12-16 2016-07-13 深圳市腾讯计算机系统有限公司 Audio and video conversation method, apparatus and system thereof
CN106657165A (en) * 2017-03-09 2017-05-10 腾讯科技(深圳)有限公司 Defense method of network attack, server and terminal
CN107396423A (en) * 2017-07-26 2017-11-24 腾讯科技(深圳)有限公司 Method for network access and device, storage medium and electronic installation
US20170346865A1 (en) * 2016-05-31 2017-11-30 Ooyala, Inc. Limiting key request rates for streaming media
CN107659829A (en) * 2017-11-06 2018-02-02 网宿科技股份有限公司 A kind of method and system of video-encryption
CN107734361A (en) * 2017-09-30 2018-02-23 深圳融创新技术有限公司 Streaming media server dispatching method, system, readable storage medium storing program for executing and server
CN107770130A (en) * 2016-08-17 2018-03-06 杭州海康威视数字技术股份有限公司 A kind of content of multimedia acquisition methods and device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819702A (en) * 2012-07-19 2012-12-12 腾讯科技(深圳)有限公司 File encryption operation method and file encryption operation system
CN104754571A (en) * 2013-12-25 2015-07-01 深圳中兴力维技术有限公司 User authentication realizing method, device and system thereof for multimedia data transmission
CN105763827A (en) * 2014-12-16 2016-07-13 深圳市腾讯计算机系统有限公司 Audio and video conversation method, apparatus and system thereof
US20160182671A1 (en) * 2014-12-19 2016-06-23 Citrix Systems, Inc. Systems and methods for partial video caching
CN104951506A (en) * 2015-05-21 2015-09-30 腾讯科技(深圳)有限公司 Method and device for acquiring multimedia file
CN105512520A (en) * 2015-12-02 2016-04-20 厦门雅迅网络股份有限公司 Anti-cloning vehicle-mounted system and work method thereof
CN105516143A (en) * 2015-12-10 2016-04-20 浙江省公众信息产业有限公司 Anti-leech method, device and system for streaming media
CN105657456A (en) * 2016-03-10 2016-06-08 腾讯科技(深圳)有限公司 Processing method, device and system for multimedia data
US20170346865A1 (en) * 2016-05-31 2017-11-30 Ooyala, Inc. Limiting key request rates for streaming media
CN107770130A (en) * 2016-08-17 2018-03-06 杭州海康威视数字技术股份有限公司 A kind of content of multimedia acquisition methods and device
CN106657165A (en) * 2017-03-09 2017-05-10 腾讯科技(深圳)有限公司 Defense method of network attack, server and terminal
CN107396423A (en) * 2017-07-26 2017-11-24 腾讯科技(深圳)有限公司 Method for network access and device, storage medium and electronic installation
CN107734361A (en) * 2017-09-30 2018-02-23 深圳融创新技术有限公司 Streaming media server dispatching method, system, readable storage medium storing program for executing and server
CN107659829A (en) * 2017-11-06 2018-02-02 网宿科技股份有限公司 A kind of method and system of video-encryption

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677686A (en) * 2019-10-14 2020-01-10 体奥动力(北京)体育传播有限公司 Multimedia information calling method, device, system and server
CN110677686B (en) * 2019-10-14 2022-04-15 体奥动力(北京)体育传播有限公司 Multimedia information calling method, device, system and server
CN113032123A (en) * 2021-04-02 2021-06-25 深圳市大富网络技术有限公司 Thread scheduling method, system and related device for remote NPL (network provider layer) operating environment
CN113901534A (en) * 2021-09-18 2022-01-07 北京橙色云科技有限公司 Data service method, device, storage medium and processor

Also Published As

Publication number Publication date
CN110290097B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN104601685B (en) A kind of method for playing music and device of intelligent sound box
TWI248747B (en) Instrument recognizing system
US20170303075A1 (en) System and method for playing licensed music based on bluetooth communication cross-reference to related application
CN108901056A (en) Method and apparatus for interactive information
CN105682253A (en) Method and equipment for communication establishment, terminal and computer readable storage medium
CN111131416B (en) Service providing method and device, storage medium and electronic device
CN104602238A (en) Wireless network connecting method, device and system
CN112559993B (en) Identity authentication method, device and system and electronic equipment
CN108989848A (en) A kind of acquisition methods and management system of video resource file
CN108243176A (en) Data transmission method and device
CN110198295A (en) Safety certifying method and device and storage medium
CN110276000B (en) Method and device for acquiring media resources, storage medium and electronic device
CN105162802B (en) Portal authentication method and certificate server
CN110290097A (en) Processing method, device, storage medium and the electronic device of data
CN105447715A (en) Method and apparatus for anti-theft electronic coupon sweeping by cooperating with third party
CN105119891B (en) A kind of data interactive method, set-top box and server
CN103220261A (en) Proxy method, device and system of open authentication application program interface
CN108737080A (en) Storage method, device, system and the equipment of password
CN109831311A (en) A kind of server validation method, system, user terminal and readable storage medium storing program for executing
CN102882830A (en) Media resource access control method and equipment
CN106790036B (en) A kind of information tamper resistant method, device, server and terminal
CN112399392A (en) Communication connection method, device, equipment and storage medium of home care terminal
CN110351254A (en) Access operation execution method and device
CN109391473A (en) A kind of method, apparatus and storage medium of Electronic Signature
CN110266736A (en) A kind of optimization method and device for the portal certification based on https agreement

Legal Events

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