CN111046200A - Data processing method, device and equipment - Google Patents

Data processing method, device and equipment Download PDF

Info

Publication number
CN111046200A
CN111046200A CN201911243328.5A CN201911243328A CN111046200A CN 111046200 A CN111046200 A CN 111046200A CN 201911243328 A CN201911243328 A CN 201911243328A CN 111046200 A CN111046200 A CN 111046200A
Authority
CN
China
Prior art keywords
multimedia information
server
local address
list
terminal equipment
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
CN201911243328.5A
Other languages
Chinese (zh)
Other versions
CN111046200B (en
Inventor
曹伟渤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tongbang Zhuoyi Technology Co Ltd
Original Assignee
Beijing Tongbang Zhuoyi Technology 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 Beijing Tongbang Zhuoyi Technology Co Ltd filed Critical Beijing Tongbang Zhuoyi Technology Co Ltd
Priority to CN201911243328.5A priority Critical patent/CN111046200B/en
Publication of CN111046200A publication Critical patent/CN111046200A/en
Application granted granted Critical
Publication of CN111046200B publication Critical patent/CN111046200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • G06F16/4387Presentation of query results by the use of playlists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data processing method, a device and equipment, wherein the method comprises the following steps: the method comprises the steps that terminal equipment receives a playable list sent by a server, wherein the playable list comprises at least one local address of multimedia information, and the local address is a storage address of the multimedia information in the terminal equipment; the terminal equipment acquires the at least one piece of multimedia information from the terminal equipment according to the local address in the playable list; and the terminal equipment plays the at least one piece of multimedia information on a display screen. The reliability of playing the multimedia information is improved.

Description

Data processing method, device and equipment
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a data processing method, a data processing device and data processing equipment.
Background
Currently, advertisement terminals are installed in more and more places (e.g., office buildings, shopping malls, communities, etc.), and the advertisement terminals include display screens on which advertisements can be played.
In the related art, the server may send a playlist to the advertisement terminal according to an advertisement delivery plan, where the playlist includes a network address of the advertisement, and the advertisement terminal obtains the advertisement from the server according to the network address of the advertisement and plays the advertisement on the display screen. However, in the process of sending the playlist to the advertisement terminal by the server, lawless persons may tamper with the data in the playlist, so that the advertisement terminal cannot play the advertisement according to the advertisement delivery plan, and the reliability of advertisement playing is low.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device and data processing equipment, which improve the reliability of multimedia information playing.
In a first aspect, an embodiment of the present invention provides a data processing method, including:
the method comprises the steps that terminal equipment receives a playable list sent by a server, wherein the playable list comprises at least one local address of multimedia information, and the local address is a storage address of the multimedia information in the terminal equipment;
the terminal equipment acquires the at least one piece of multimedia information from the terminal equipment according to the local address in the playable list;
and the terminal equipment plays the at least one piece of multimedia information on a display screen.
In a possible implementation manner, the acquiring, by the terminal device, the at least one piece of multimedia information in the terminal device according to the local address in the playable list includes:
the terminal equipment judges whether a local address in the playable list is a local address existing in the terminal equipment;
and if so, the terminal equipment acquires the at least one piece of multimedia information from the terminal equipment according to the local address in the playable list.
In a possible implementation manner, before the terminal device receives the playable list sent by the server, the method further includes:
the terminal equipment receives a download list sent by the server, wherein the download list comprises at least one network address of multimedia information;
the terminal equipment downloads the multimedia information from the server according to the network address in the download list;
and the terminal equipment generates a local address according to the network address of the multimedia information and stores the multimedia information according to the local address.
In a possible implementation manner, the generating, by the terminal device, a local address according to the network address of the multimedia information includes:
and the terminal equipment converts the network address according to a preset rule to obtain the local address.
In a possible implementation manner, the download list further includes a first check code; after the terminal device downloads the multimedia information from the server according to the network address in the download list, the method further includes:
the terminal equipment generates a second check code according to the multimedia information;
and the terminal equipment checks the multimedia information according to the first check code and the second check code.
In a possible implementation manner, before the terminal device plays the at least one multimedia message on the display screen, the method further includes:
the terminal equipment requests the server to acquire the latest version information of the HTML file;
and when the terminal equipment judges that the version information of the local HTML file is different from the latest version information, the terminal equipment requests the server to acquire the HTML file of the latest version.
In a second aspect, an embodiment of the present invention provides a data processing method, including:
the method comprises the steps that a server receives indication information sent by terminal equipment, wherein the indication information comprises an identifier of multimedia information, and the indication information is used for indicating that the terminal equipment downloads the multimedia information;
the server determines a local address of the multimedia information, wherein the local address is a storage address of the multimedia information in the terminal equipment;
the server generates a playable list according to the local address of the multimedia information, wherein the playable list comprises the local address of the multimedia information;
and the server sends the playable list to the terminal equipment.
In a possible embodiment, the server determining the local address of the multimedia information includes:
the server acquires the network address of the multimedia information;
and the server converts the network address according to a preset rule to obtain the local address.
In a possible implementation manner, before the server receives the indication information sent by the terminal device, the method further includes:
the server generates a download list according to the play plan of the multimedia information, wherein the download list comprises at least one network address of the multimedia information;
and the server sends the download list to the terminal equipment.
In a possible implementation manner, before the server sends the download list to the terminal device, the method further includes:
the server generates a check code of the multimedia information;
correspondingly, the download list also comprises the check code.
In a third aspect, an embodiment of the present invention provides a data processing apparatus, which is applied to a terminal device, and includes a receiving module, an obtaining module, and a displaying module,
the receiving module is used for receiving a playable list sent by a server, wherein the playable list comprises at least one local address of multimedia information, and the local address is a storage address of the multimedia information in the terminal equipment;
the obtaining module is configured to obtain the at least one piece of multimedia information from the terminal device according to a local address in the playable list;
the display module is used for playing the at least one multimedia message on the display screen.
In a possible implementation manner, the obtaining module is specifically configured to:
judging whether a local address in the playable list is a local address existing in the terminal equipment;
and if so, acquiring the at least one piece of multimedia information in the terminal equipment according to the local address in the playable list.
In one possible implementation, the apparatus further comprises a downloading module, a generating module and a storing module, wherein,
the receiving module is further configured to receive a download list sent by the server before the receiving module receives the playable list sent by the server, where the download list includes at least one network address of the multimedia information;
the download module is used for downloading the multimedia information from the server according to the network address in the download list;
the generating module is used for generating a local address according to the network address of the multimedia information;
the storage module is used for storing the multimedia information according to the local address.
In a possible implementation, the generating module is specifically configured to:
and according to a preset rule, converting the network address to obtain the local address.
In a possible implementation manner, the apparatus further includes a checking module, after the downloading module downloads the multimedia information from the server according to the network address in the download list, the checking module is configured to:
generating a second check code according to the multimedia information, wherein the download list also comprises a first check code;
and checking the multimedia information according to the first check code and the second check code.
In a possible implementation manner, before the display module plays the at least one multimedia message on the display screen, the obtaining module is further configured to:
requesting the server to acquire the latest version information of the hypertext markup language HTML file;
and requesting the server to acquire the HTML file of the latest version when judging that the version information of the local HTML file is different from the latest version information.
In a fourth aspect, an embodiment of the present invention provides a data processing apparatus applied to a server, where the apparatus includes a receiving module, a determining module, a generating module, and a sending module,
the receiving module is used for receiving indication information sent by terminal equipment, wherein the indication information comprises an identifier of multimedia information, and the indication information is used for indicating that the terminal equipment has downloaded the multimedia information;
the determining module is configured to determine a local address of the multimedia information, where the local address is a storage address of the multimedia information in the terminal device;
the generating module is used for generating a playable list according to the local address of the multimedia information, wherein the playable list comprises the local address of the multimedia information;
the sending module is configured to send the playable list to the terminal device.
In a possible implementation, the determining module is specifically configured to:
acquiring a network address of the multimedia information;
and according to a preset rule, converting the network address to obtain the local address.
In a possible implementation manner, the generating module is further configured to generate a download list according to a play plan of the multimedia information before the receiving module receives the indication information sent by the terminal device, where the download list includes at least one network address of the multimedia information;
the sending module is further configured to send the download list to the terminal device.
In a possible implementation manner, the generating module is further configured to generate a check code of the multimedia information before the sending module sends the download list to the terminal device;
correspondingly, the download list also comprises the check code.
In a fifth aspect, an embodiment of the present invention provides a data processing apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the data processing method of any one of the first aspects.
In a sixth aspect, an embodiment of the present invention provides a data processing apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the data processing method of any of the second aspects.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the data processing method according to any one of the first aspect and the second aspect is implemented.
According to the data processing method, the data processing device and the data processing equipment provided by the embodiment of the invention, the terminal equipment can acquire the playable list from the server, the playable list comprises at least one local address of the multimedia information, and the local address is the local address of the multimedia information in the terminal equipment. After the terminal device receives the playable list, because the address included in the playable list is the local address of the multimedia information in the terminal device, the terminal device can conveniently determine whether the local address in the playable list is tampered, and when the terminal device determines that the local address in the playable list is not tampered, the terminal device locally acquires the multimedia information according to the local address in the playable list and plays the multimedia information, thereby avoiding the terminal device from playing wrong multimedia information, and improving the reliability of multimedia information playing.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a data processing process according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 6 is a block diagram of another data processing apparatus according to an embodiment of the present invention;
FIG. 7 is a block diagram of another data processing apparatus according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a hardware structure of a data processing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic view of an application scenario of a data processing method according to an embodiment of the present invention. Referring to fig. 1, the terminal apparatus 102 includes a server 101. The terminal device 102 includes a display screen, and the terminal device 102 can play multimedia information through the display screen, where the multimedia information includes text, pictures, audio, video, and the like. The server 101 includes a plurality of multimedia messages, and the server 101 can transmit the multimedia messages to the terminal device 102 to enable the terminal device 102 to play the multimedia messages.
Fig. 2 is a schematic diagram of a data processing process according to an embodiment of the present invention. Referring to fig. 2, the server includes a plurality of multimedia information, and the terminal device may download the multimedia information in advance and store the multimedia information locally. The server can also generate a playable list, the playable list comprises the local address of the multimedia information in the terminal equipment, and after the terminal equipment obtains the playable list from the server, the terminal equipment can locally obtain the multimedia information according to the local address in the playable list and play the multimedia information.
In the application, because the address included in the playable list is the local address of the multimedia information in the terminal device, the terminal device can conveniently determine whether the local address in the playable list is tampered, and when the terminal device determines that the local address in the playable list is not tampered, the terminal device locally acquires the multimedia information according to the local address in the playable list and plays the multimedia information, thereby avoiding the terminal device from playing wrong multimedia information, and improving the reliability of playing the multimedia information.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 3 is a flowchart illustrating a data processing method according to an embodiment of the present invention. Referring to fig. 3, the method may include:
s301, the server generates a download list according to the play plan of the multimedia information.
Wherein, the download list comprises at least one network address of the multimedia information.
Alternatively, the multimedia information may be advertisement information. For example, the multimedia information may include one or more of text, picture, audio, video, etc. information.
The broadcast plan can be an advertisement broadcast plan made by an advertisement service provider according to the requirement of an advertisement provider (advertisement provider is requested to be provided).
The network address of the multimedia information may be a Uniform Resource Locator (URL) of the multimedia information.
Optionally, other content may also be included in the download list. For example, the download list may include one or more of an identification of the multimedia information, and a first check code of the multimedia information.
The identification of the multimedia information can be the ID of the multimedia information, and the identification of the multimedia information can uniquely identify one piece of multimedia information.
The first check code is generated by the server according to the multimedia information of the server side. The first check code may be a Message Digest (MD) 5 value of the multimedia Message.
S302, the server sends a downloading list to the terminal equipment.
And S303, the terminal equipment downloads the multimedia information from the server according to the network address in the downloading list.
The download list comprises one or more network addresses of the multimedia information, and the terminal equipment can download the multimedia information in sequence according to the network addresses in the download list. For example, assuming that the download list includes 10 network addresses (10 network addresses) of the multimedia information, the terminal device may first download the multimedia information 1 from the server according to the network address 1 of the multimedia information 1, then download the multimedia information 2 from the server according to the network address 2 of the multimedia information 2, and so on.
Optionally, the terminal device may send a download request message to the server, where the download request message includes a network address of the multimedia information. The server acquires the multimedia information corresponding to the network address according to the downloading request message and sends a downloading response message to the terminal equipment, wherein the downloading response message comprises the multimedia information.
In an actual application process, before the terminal device receives the download list, the terminal device may already download and store the multimedia information corresponding to a part of the network addresses in the download list, and in this case, the terminal device may not repeatedly download the multimedia information. For example, after the terminal device receives the download list, the terminal device may first determine whether the terminal device has downloaded and stored the multimedia information corresponding to the network address according to the network address in the download list, and when the terminal device determines that the multimedia information corresponding to the network address is not downloaded and stored, the terminal device downloads the multimedia information according to the network address, so that the terminal device may be prevented from downloading repeated multimedia information, and the workload of the terminal device is reduced.
S304, the terminal device generates a local address according to the network address of the multimedia information and stores the multimedia information according to the local address.
Optionally, the terminal device may perform conversion processing on the network address according to a preset rule to obtain the local address. The preset rule may be that the terminal device and the network device have a good protocol, that is, both the terminal device and the network device perform conversion processing on the network address according to the preset rule.
After the terminal device generates a local address according to the network address of the multimedia information, the terminal device creates a file in the local address and stores the multimedia information into the file.
For example, assuming that the local address generated from the network address of the multimedia information 1 is A/B/C/media1, a file named media1 is created under the path A/B/C/, and the multimedia information is stored into the file.
Optionally, before the terminal device receives the download list, the terminal device may already download and store the multimedia information corresponding to a part of the network addresses in the download list, and in this case, the terminal device does not generate a local address corresponding to the network address of the part of the multimedia information and does not store the multimedia information any more, thereby avoiding repeated storage of the same multimedia information and reducing the workload of the terminal device.
S305, the terminal device sends indication information to the server.
The indication information comprises the identification of the multimedia information, and the indication information is used for indicating that the terminal equipment has downloaded the multimedia information.
Optionally, after the terminal device finishes downloading a piece of multimedia information and stores the multimedia information to the local according to the local address, the terminal device sends the indication information to the server.
In the actual application process, the indication information may include an identifier of one multimedia information, or may include identifiers of a plurality of multimedia information. For example, the terminal device may send an indication message to the server after downloading and storing a multimedia message, where the indication message includes an identifier of the multimedia message; or, the terminal device may send an indication message to the server after downloading and storing the plurality of multimedia messages, where the indication message includes the identifiers of the plurality of multimedia messages.
It should be noted that, if the terminal device has downloaded and stored the multimedia information corresponding to a part of network addresses in the download list before the terminal device receives the download list, the terminal device carries an identifier of the part of multimedia information in the indication information when sending the indication information to the server.
S306, the server determines the local address of the multimedia information, wherein the local address is the storage address of the multimedia information in the terminal equipment.
Optionally, the server may determine the local address of the multimedia information by: the server acquires the network address of the multimedia information, and carries out conversion processing on the network address according to a preset rule to obtain a local address.
The preset rule according to which the network device performs the conversion processing on the network address is the same as the preset rule according to which the terminal device performs the conversion processing on the network address, so that the local address of the multimedia information determined and obtained by the network device is the same as the local address of the multimedia information determined and obtained by the terminal device.
S307, the server generates a playable list according to the local address of the multimedia information.
Wherein the playable list includes a local address of the multimedia information.
After the server receives the local address of the generated multimedia information, the server adds the local address to the playable list.
Of course, other content may also be included in the playable list, for example, the playable list may also include types of multimedia information, and the types of multimedia information may include a picture type, a Text type, a video type, a hypertext Markup Language (HTML) 5 type, and the like. The playable list may also include an identification of the multimedia information.
When the playable list includes the identifier of the multimedia information, after receiving the playable list, the terminal device may determine whether the identifier of the multimedia information corresponds to the local address of the multimedia information, and if so, determine that the local address in the playable list and the identifier of the multimedia information are not tampered. The security of the information can be further improved.
Alternatively, after the server generates the playable list, the server may store the playable list and transmit the playable list to the terminal device when the terminal device requests the playable list. Alternatively, after the server generates the playable list, the playable list may be transmitted to the terminal device.
In the embodiment shown in fig. 3, before the terminal device plays the multimedia information, the multimedia information is downloaded in advance, and the multimedia information is stored locally, so that in the process of playing the multimedia information by the terminal device, the problems of white screen and blockage in the playing process due to poor network state of the terminal device can be avoided. After the terminal equipment stores the multimedia information to the local, the terminal equipment sends indication information to the server, the server generates a local address of the multimedia information according to the indication information and generates a playable list, and the playable list comprises the local address of the multimedia information. Therefore, after the terminal equipment receives the playable list, whether the local address in the playable list is tampered or not can be conveniently determined according to the local address in the playable list, and when the terminal equipment determines that the local address in the playable list is not tampered, the terminal equipment locally acquires multimedia information according to the local address in the playable list and plays the multimedia information, so that the terminal equipment is prevented from playing wrong multimedia information, and the reliability of playing the multimedia information is improved.
On the basis of any of the above embodiments, the following describes a process of playing multimedia information by a terminal device with reference to fig. 4.
Fig. 4 is a schematic flowchart of another data processing method according to an embodiment of the present application. Referring to fig. 4, the method may include:
s401, the terminal device requests the server to acquire the latest version information of the HTML file.
Optionally, the terminal device may request the server to obtain the latest version information of the HTML file after being powered on.
S402, when the terminal device judges that the version information of the local HTML file is different from the latest version information, the terminal device requests the server to acquire the latest version of the HTML file.
The HTML file is a file required by the terminal equipment for successfully playing the multimedia information in the HTML format.
The terminal device may determine whether the version information of the local HTML file is the same as the latest version information, and if so, the terminal device executes S403. If the HTML file is not the latest version, the local HTML file of the terminal device is not the latest version, so that the terminal device can not successfully play the multimedia information in the HTML format, and therefore the terminal device requests the server to acquire the HTML file of the latest version.
It should be noted that S401-S402 may be optional steps.
S403, the terminal device requests a message to the server.
Wherein the request message is for requesting to retrieve a playable list.
Optionally, the terminal device may play the multimedia information according to a preset play turn, where in a play turn, the play turn and the playable list have a corresponding relationship, for example, the play turn and the playable list are in one-to-one correspondence. When a play turn starts, the terminal device may request the server to obtain a playable list corresponding to the play turn.
S404, the server sends the playable list to the terminal equipment.
The playable list comprises at least one local address of the multimedia information, and the local address is a storage address of the multimedia information in the terminal equipment.
It should be noted that, for the description related to the playable list, reference may be made to the embodiment shown in fig. 2, and details are not described herein again.
Optionally, after the server generates the playable list, the server may also actively send the playable list to the terminal device.
S405, the terminal equipment acquires at least one piece of multimedia information from the terminal equipment according to the local address in the playable list.
Optionally, after receiving the playable list, the terminal device may first verify a local address in the playable list, and after the local address in the playable list is verified, the terminal device obtains at least one piece of multimedia information from the terminal device according to the local address in the playable list.
For example, the terminal device may determine whether a local address in the playable list is a local address existing in the terminal device, and if so, verify the local address in the playable list, and then the terminal device obtains at least one piece of multimedia information from the terminal device according to the local address in the playable list.
Optionally, the playable list may further include an identifier of the multimedia information, the terminal device also locally stores a corresponding relationship between the identifier of the multimedia information and the local address of the multimedia information, and correspondingly, the terminal device may further verify whether the corresponding relationship between the identifier of the multimedia information in the playable list and the local address of the multimedia information is consistent with the corresponding relationship between the identifier of the multimedia information locally stored in the terminal device and the local address of the multimedia information, and if so, verify the local address in the playable list.
The terminal device may determine the corresponding file locally according to the local address in the playable list, and obtain the corresponding multimedia information in the file.
S403, the terminal equipment plays at least one piece of multimedia information on the display screen.
Optionally, the playable list may further include a type of multimedia information (picture type, text type, video type, HTML5 type, etc.), and at least one multimedia information is played on the display screen.
In the embodiment shown in fig. 4, the terminal device may obtain a playable list from the server, where the playable list includes at least one local address of the multimedia information, and the local address is an address of the multimedia information local to the terminal device. After the terminal device receives the playable list, because the address included in the playable list is the local address of the multimedia information in the terminal device, the terminal device can conveniently determine whether the local address in the playable list is tampered, and when the terminal device determines that the local address in the playable list is not tampered, the terminal device locally acquires the multimedia information according to the local address in the playable list and plays the multimedia information, thereby avoiding the terminal device from playing wrong multimedia information, and improving the reliability of multimedia information playing.
Fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention. The data processing apparatus 10 may be applied to a terminal device, please refer to fig. 5, the data processing apparatus 10 may include a receiving module 11, an obtaining module 12 and a display module 13, wherein,
the receiving module 11 is configured to receive a playable list sent by a server, where the playable list includes a local address of at least one piece of multimedia information, and the local address is a storage address of the multimedia information in the terminal device;
the obtaining module 12 is configured to obtain the at least one piece of multimedia information from the terminal device according to a local address in the playable list;
the display module 13 is configured to play the at least one multimedia message on a display screen.
The data processing apparatus provided in the embodiment of the present invention may execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
In a possible implementation, the obtaining module 12 is specifically configured to:
judging whether a local address in the playable list is a local address existing in the terminal equipment;
and if so, acquiring the at least one piece of multimedia information in the terminal equipment according to the local address in the playable list.
Fig. 6 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention. On the basis of the embodiment shown in fig. 5, referring to fig. 6, the data processing apparatus 10 may further include a downloading module 14, a generating module 15 and a storing module 16, wherein,
the receiving module 11 is further configured to receive a download list sent by a server before the receiving module 11 receives a playable list sent by the server, where the download list includes at least one network address of multimedia information;
the download module 14 is configured to download the multimedia information from the server according to the network address in the download list;
the generating module 15 is configured to generate a local address according to the network address of the multimedia information;
the storage module 16 is configured to store the multimedia information according to the local address.
In a possible implementation, the generating module 15 is specifically configured to:
and according to a preset rule, converting the network address to obtain the local address.
In a possible implementation manner, the apparatus further includes a checking module 17, after the downloading module 14 downloads the multimedia information from the server according to the network address in the download list, the checking module 17 is configured to:
generating a second check code according to the multimedia information, wherein the download list also comprises a first check code;
and checking the multimedia information according to the first check code and the second check code.
In a possible implementation manner, before the display module plays the at least one multimedia message on the display screen, the obtaining module 12 is further configured to:
requesting the server to acquire the latest version information of the hypertext markup language HTML file;
and requesting the server to acquire the HTML file of the latest version when judging that the version information of the local HTML file is different from the latest version information.
The data processing apparatus provided in the embodiment of the present invention may execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
Fig. 7 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention. The data processing device 20 may be applied to a server, and the data processing device 20 includes a receiving module 21, a determining module 22, a generating module 23, and a transmitting module 24, wherein,
the receiving module 21 is configured to receive indication information sent by a terminal device, where the indication information includes an identifier of multimedia information, and the indication information is used to indicate that the terminal device has downloaded the multimedia information;
the determining module 22 is configured to determine a local address of the multimedia information, where the local address is a storage address of the multimedia information in the terminal device;
the generating module 23 is configured to generate a playable list according to the local address of the multimedia information, where the playable list includes the local address of the multimedia information;
the sending module 24 is configured to send the playable list to the terminal device.
The data processing apparatus provided in the embodiment of the present invention may execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
In a possible implementation, the determining module 22 is specifically configured to:
acquiring a network address of the multimedia information;
and according to a preset rule, converting the network address to obtain the local address.
In a possible implementation manner, the generating module 23 is further configured to generate a download list according to a play plan of the multimedia information before the receiving module receives the indication information sent by the terminal device, where the download list includes at least one network address of the multimedia information;
the sending module 24 is further configured to send the download list to the terminal device.
In a possible implementation manner, the generating module 23 is further configured to generate a check code of the multimedia information before the sending module 24 sends the download list to the terminal device;
correspondingly, the download list also comprises the check code.
The data processing apparatus provided in the embodiment of the present invention may execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
Fig. 8 is a schematic diagram of a hardware structure of a data processing apparatus according to an embodiment of the present invention. The data processing device 30 may be provided in a terminal device. As shown in fig. 8, the data processing apparatus 30 includes: at least one processor 31, a memory 32, a receiver 33 and a transmitter 34. The processor 31 and the memory 32 are connected by a bus 35.
In a specific implementation, the at least one processor 31 executes computer-executable instructions stored by the memory 32, so that the at least one processor 31 performs the data processing method as described above.
For a specific implementation process of the processor 31, reference may be made to the above method embodiments, which implement the principle and the technical effect similarly, and details of this embodiment are not described herein again.
Fig. 9 is a schematic diagram of a hardware structure of a data processing apparatus according to an embodiment of the present invention. The data processing device 40 may be provided in a terminal device. As shown in fig. 9, the data processing apparatus 40 includes: at least one processor 41, a memory 42, a receiver 43 and a transmitter 44. The processor 41 and the memory 42 are connected by a bus 45.
In a specific implementation, the at least one processor 41 executes computer-executable instructions stored by the memory 42, causing the at least one processor 41 to perform the data processing method as described above.
For a specific implementation process of the processor 41, reference may be made to the above method embodiments, which implement similar principles and technical effects, and this embodiment is not described herein again.
In the embodiments shown in fig. 8-9, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the data processing method as described above is implemented.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
The division of the units is only a logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (23)

1. A data processing method, comprising:
the method comprises the steps that terminal equipment receives a playable list sent by a server, wherein the playable list comprises at least one local address of multimedia information, and the local address is a storage address of the multimedia information in the terminal equipment;
the terminal equipment acquires the at least one piece of multimedia information from the terminal equipment according to the local address in the playable list;
and the terminal equipment plays the at least one piece of multimedia information on a display screen.
2. The method according to claim 1, wherein the terminal device obtains the at least one multimedia message from the terminal device according to a local address in the playable list, comprising:
the terminal equipment judges whether a local address in the playable list is a local address existing in the terminal equipment;
and if so, the terminal equipment acquires the at least one piece of multimedia information from the terminal equipment according to the local address in the playable list.
3. The method according to claim 1 or 2, wherein before the terminal device receives the playable list sent by the server, the method further comprises:
the terminal equipment receives a download list sent by the server, wherein the download list comprises at least one network address of multimedia information;
the terminal equipment downloads the multimedia information from the server according to the network address in the download list;
and the terminal equipment generates a local address according to the network address of the multimedia information and stores the multimedia information according to the local address.
4. The method of claim 3, wherein the terminal device generates a local address according to the network address of the multimedia information, and comprises:
and the terminal equipment converts the network address according to a preset rule to obtain the local address.
5. The method according to claim 3 or 4, wherein the download list further comprises a first check code; after the terminal device downloads the multimedia information from the server according to the network address in the download list, the method further includes:
the terminal equipment generates a second check code according to the multimedia information;
and the terminal equipment checks the multimedia information according to the first check code and the second check code.
6. The method according to any one of claims 1-5, wherein before the terminal device plays the at least one multimedia message on the display screen, the method further comprises:
the terminal equipment requests the server to acquire the latest version information of the HTML file;
and when the terminal equipment judges that the version information of the local HTML file is different from the latest version information, the terminal equipment requests the server to acquire the HTML file of the latest version.
7. A data processing method, comprising:
the method comprises the steps that a server receives indication information sent by terminal equipment, wherein the indication information comprises an identifier of multimedia information, and the indication information is used for indicating that the terminal equipment downloads the multimedia information;
the server determines a local address of the multimedia information, wherein the local address is a storage address of the multimedia information in the terminal equipment;
the server generates a playable list according to the local address of the multimedia information, wherein the playable list comprises the local address of the multimedia information;
and the server sends the playable list to the terminal equipment.
8. The method of claim 7, wherein the server determining the local address of the multimedia information comprises:
the server acquires the network address of the multimedia information;
and the server converts the network address according to a preset rule to obtain the local address.
9. The method according to claim 7 or 8, wherein before the server receives the indication information sent by the terminal device, the method further comprises:
the server generates a download list according to the play plan of the multimedia information, wherein the download list comprises at least one network address of the multimedia information;
and the server sends the download list to the terminal equipment.
10. The method of claim 9, wherein before the server sends the download list to the terminal device, the method further comprises:
the server generates a check code of the multimedia information;
correspondingly, the download list also comprises the check code.
11. A data processing device is applied to terminal equipment and comprises a receiving module, an acquisition module and a display module, wherein,
the receiving module is used for receiving a playable list sent by a server, wherein the playable list comprises at least one local address of multimedia information, and the local address is a storage address of the multimedia information in the terminal equipment;
the obtaining module is configured to obtain the at least one piece of multimedia information from the terminal device according to a local address in the playable list;
the display module is used for playing the at least one multimedia message on the display screen.
12. The apparatus of claim 11, wherein the obtaining module is specifically configured to:
judging whether a local address in the playable list is a local address existing in the terminal equipment;
and if so, acquiring the at least one piece of multimedia information in the terminal equipment according to the local address in the playable list.
13. The apparatus according to claim 11 or 12, wherein the apparatus further comprises a download module, a generation module, and a storage module, wherein,
the receiving module is further configured to receive a download list sent by the server before the receiving module receives the playable list sent by the server, where the download list includes at least one network address of the multimedia information;
the download module is used for downloading the multimedia information from the server according to the network address in the download list;
the generating module is used for generating a local address according to the network address of the multimedia information;
the storage module is used for storing the multimedia information according to the local address.
14. The apparatus of claim 13, wherein the generation module is specifically configured to:
and according to a preset rule, converting the network address to obtain the local address.
15. The apparatus according to claim 13 or 14, further comprising a checking module, after the downloading module downloads the multimedia information from the server according to the network address in the download list, the checking module is configured to:
generating a second check code according to the multimedia information, wherein the download list also comprises a first check code;
and checking the multimedia information according to the first check code and the second check code.
16. The apparatus according to any of claims 11-15, wherein before the display module plays the at least one multimedia message on the display screen, the obtaining module is further configured to:
requesting the server to acquire the latest version information of the hypertext markup language HTML file;
and requesting the server to acquire the HTML file of the latest version when judging that the version information of the local HTML file is different from the latest version information.
17. A data processing device is applied to a server and comprises a receiving module, a determining module, a generating module and a sending module, wherein,
the receiving module is used for receiving indication information sent by terminal equipment, wherein the indication information comprises an identifier of multimedia information, and the indication information is used for indicating that the terminal equipment has downloaded the multimedia information;
the determining module is configured to determine a local address of the multimedia information, where the local address is a storage address of the multimedia information in the terminal device;
the generating module is used for generating a playable list according to the local address of the multimedia information, wherein the playable list comprises the local address of the multimedia information;
the sending module is configured to send the playable list to the terminal device.
18. The apparatus of claim 17, wherein the determining module is specifically configured to:
acquiring a network address of the multimedia information;
and according to a preset rule, converting the network address to obtain the local address.
19. The apparatus of claim 17 or 18,
the generating module is further configured to generate a download list according to the play plan of the multimedia information before the receiving module receives the indication information sent by the terminal device, where the download list includes at least one network address of the multimedia information;
the sending module is further configured to send the download list to the terminal device.
20. The apparatus of claim 19,
the generating module is further configured to generate a check code of the multimedia information before the sending module sends the download list to the terminal device;
correspondingly, the download list also comprises the check code.
21. A data processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the data processing method of any of claims 1 to 6.
22. A data processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
execution of computer-executable instructions stored by the memory by the at least one processor causes the at least one processor to perform the data processing method of any of claims 7 to 10.
23. A computer-readable storage medium, having stored thereon computer-executable instructions, which, when executed by a processor, implement a data processing method as claimed in any one of claims 1 to 10.
CN201911243328.5A 2019-12-06 2019-12-06 Data processing method, device and equipment Active CN111046200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911243328.5A CN111046200B (en) 2019-12-06 2019-12-06 Data processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911243328.5A CN111046200B (en) 2019-12-06 2019-12-06 Data processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN111046200A true CN111046200A (en) 2020-04-21
CN111046200B CN111046200B (en) 2023-12-05

Family

ID=70234949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911243328.5A Active CN111046200B (en) 2019-12-06 2019-12-06 Data processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN111046200B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114765697A (en) * 2021-01-13 2022-07-19 德高公司 Digital display method and system, digital display device and digital display server

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244079A (en) * 2013-06-07 2014-12-24 腾讯科技(深圳)有限公司 Video download method and device
CN104346338A (en) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 Multimedia information display method and device for terminal
CN104519397A (en) * 2013-09-29 2015-04-15 北大方正集团有限公司 Audio and video screen-projection playing method, set-top box and terminal device
CN104601685A (en) * 2014-12-31 2015-05-06 广东欧珀移动通信有限公司 Music playing method and device of smart sound box
CN105897852A (en) * 2015-12-29 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement downloading method, client and server
CN106303616A (en) * 2016-08-16 2017-01-04 广东欧珀移动通信有限公司 A kind of control method for playing back, device and terminal
CN110121001A (en) * 2018-02-07 2019-08-13 上海博泰悦臻网络技术服务有限公司 Online playback of songs method, apparatus and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244079A (en) * 2013-06-07 2014-12-24 腾讯科技(深圳)有限公司 Video download method and device
CN104346338A (en) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 Multimedia information display method and device for terminal
CN104519397A (en) * 2013-09-29 2015-04-15 北大方正集团有限公司 Audio and video screen-projection playing method, set-top box and terminal device
CN104601685A (en) * 2014-12-31 2015-05-06 广东欧珀移动通信有限公司 Music playing method and device of smart sound box
CN105897852A (en) * 2015-12-29 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement downloading method, client and server
CN106303616A (en) * 2016-08-16 2017-01-04 广东欧珀移动通信有限公司 A kind of control method for playing back, device and terminal
CN110121001A (en) * 2018-02-07 2019-08-13 上海博泰悦臻网络技术服务有限公司 Online playback of songs method, apparatus and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114765697A (en) * 2021-01-13 2022-07-19 德高公司 Digital display method and system, digital display device and digital display server
CN114765697B (en) * 2021-01-13 2023-12-01 德高公司 Digital display method and system, digital display device and digital display server

Also Published As

Publication number Publication date
CN111046200B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
US11218392B2 (en) Media stream monitor with heartbeat timer
KR102491500B1 (en) Systems and methods for processing content item actions based on anti-fraud device identifiers
CN109068153B (en) Video playing method and device and computer readable storage medium
CN112929678B (en) Live broadcast method, live broadcast device, server side and computer readable storage medium
CN105550899B (en) Media delivery service and method on intelligent terminal
HU224092B1 (en) Method for telecommunication, and mobile telecommunication device
WO2014172893A1 (en) Method and apparatus for controlling sending of heartbeat signal
CN105959743A (en) Video advertisement playing method and device and server
CN112584200B (en) Screen projection method, system, electronic equipment and storage medium
CN104105007A (en) Video loading method of mobile terminal, devices and system
CN103647982A (en) Advertisement resource acquiring method and device and advertisement resource transmitting method and device
CN112486620A (en) Cross-process off-screen rendering method and device, electronic equipment and storage medium
CN111541711A (en) Live broadcast data mixing method and device based on edge calculation
CN101836213B (en) Protection against unauthorized copying of digital media content
CN111046200B (en) Data processing method, device and equipment
CN112565877B (en) Screen projection method and system, electronic equipment and storage medium
CN110955905A (en) Block chain based asset transfer method, device, equipment and readable storage medium
JP5722633B2 (en) Content management at the functional level
CN111062748A (en) Advertisement monitoring method and device, electronic equipment and storage medium
CN112135199B (en) Video playing method based on multiple types of video sources and related equipment
CN113342595B (en) Gray scale verification method, device, equipment and storage medium
CN111309935B (en) Song recommendation method and device and computer storage medium
CN109741069B (en) Transaction data processing method and device, electronic equipment and readable storage medium
CN109685508B (en) Transaction data processing method and device, electronic equipment and readable storage medium
CN113691828B (en) Live broadcasting method and device

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