CN108345699B - Method, device and storage medium for acquiring multimedia data - Google Patents

Method, device and storage medium for acquiring multimedia data Download PDF

Info

Publication number
CN108345699B
CN108345699B CN201810267218.1A CN201810267218A CN108345699B CN 108345699 B CN108345699 B CN 108345699B CN 201810267218 A CN201810267218 A CN 201810267218A CN 108345699 B CN108345699 B CN 108345699B
Authority
CN
China
Prior art keywords
multimedia data
target
value
batch
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810267218.1A
Other languages
Chinese (zh)
Other versions
CN108345699A (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 Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment 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 Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN201810267218.1A priority Critical patent/CN108345699B/en
Publication of CN108345699A publication Critical patent/CN108345699A/en
Application granted granted Critical
Publication of CN108345699B publication Critical patent/CN108345699B/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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

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)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a device and a storage medium for acquiring multimedia data, and belongs to the field of internet. The method comprises the following steps: when a data acquisition request carrying a specified condition is received, the specified condition comprises a user identifier and at least one attribute, so that at least one characteristic can be determined according to the at least one attribute, each characteristic in the at least one characteristic is combined with the user identifier to obtain a key in at least one key value, a value in each key value is acquired, and at least one piece of multimedia data is determined according to the value in each key value. Because the value in each key value is used for storing the identifier of the multimedia, the multimedia to be acquired can be directly obtained according to the identifier of the multimedia data in the value in each key value in at least one key value, the multimedia data to be acquired can be obtained without traversing all the multimedia data corresponding to the user identifier, and the efficiency of acquiring the multimedia data is improved.

Description

Method, device and storage medium for acquiring multimedia data
Technical Field
The present invention relates to the internet field, and in particular, to a method, an apparatus, and a storage medium for acquiring multimedia data.
Background
With the development of internet technology, a user can upload multimedia data made by the user to a server through a terminal, that is, when the server receives the multimedia data sent by the terminal, the multimedia data is stored, so that other users can conveniently acquire the multimedia data uploaded by the user from the server. For example, a user may upload a song sung by himself to the server through an application program capable of recording songs installed on the terminal, and the server stores the song sung by the user, so that other users can conveniently obtain the song sung by the user from the server.
In the related art, when a server receives a data acquisition request carrying a specified condition sent by a terminal, the server traverses each piece of stored multimedia data and determines whether each piece of multimedia data meets the specified condition, so as to obtain the multimedia data meeting the specified condition.
In the method for acquiring multimedia data, the server needs to traverse each piece of stored multimedia data to acquire the multimedia data meeting the specified condition, so that the efficiency of acquiring the multimedia data by the server is seriously influenced.
Disclosure of Invention
In order to solve the problems of the related art, embodiments of the present invention provide a method, an apparatus, and a storage medium for acquiring multimedia data. The technical scheme is as follows:
in a first aspect, a method for acquiring multimedia data is provided, where the method is applied to a NoSQL (Not Only SQL, non-relational) Key-Value type high-speed storage system that provides distributed Key-Value storage service, and the method includes:
receiving a data acquisition request which is sent by a terminal and carries specified conditions, wherein the specified conditions comprise a user identification and at least one attribute;
determining at least one characteristic corresponding to the at least one attribute one by one, wherein each characteristic is used for describing the attribute;
combining each characteristic of the at least one characteristic with the user identification to obtain a key of the at least one key value;
obtaining the value of each key value according to the key in each key value;
determining at least one piece of multimedia data according to the value in each key value, wherein the value in each key value is used for storing the identifier of the multimedia data;
and sending the determined at least one piece of multimedia data to the terminal.
Optionally, before the receiving the data acquisition request carrying the specified condition sent by the terminal, the method further includes:
when a data storage request aiming at target multimedia data is received, determining attribute values which are in one-to-one correspondence with N attributes of the target multimedia data, wherein N is a positive integer which is greater than or equal to 1, and the N attributes comprise the grade of the target multimedia data, the uploading time of the target multimedia data and the style type of the target multimedia data;
determining M target characteristics corresponding to the target multimedia data according to attribute values corresponding to the N attributes one to one, wherein M is a positive integer greater than or equal to 1 and less than or equal to N;
and combining each target feature in the M target characteristics with the user identification to obtain keys in M target key values, and adding the identification of the target multimedia data to the value in each target key value.
Optionally, the determining, according to the attribute values corresponding to the N attributes one to one, M target characteristics corresponding to the target multimedia data includes:
for the N attributes, searching a characteristic list for a characteristic matched with the attribute value corresponding to each attribute, wherein the characteristic list comprises a plurality of characteristics;
and determining the searched characteristics as target characteristics corresponding to the target multimedia data to obtain the M target characteristics.
Optionally, the identifiers of the multimedia data in the value in each target key value are stored in batches, the maximum number of identifiers of each batch of multimedia data is k, and k is a positive integer greater than 1;
the adding the identifier of the target multimedia data to the value in each target key value includes:
determining a target batch corresponding to the identification of the target multimedia data for the value in any target key value A in the M target key values;
adding an identification of the target multimedia data to the target batch.
Optionally, the identifiers of the multimedia data in the value of each target key value are stored according to the size sequence of the attribute values of the corresponding multimedia data on the designated attribute;
the determining the target batch corresponding to the identification of the target multimedia data comprises:
determining attribute values of the target multimedia data on the specified attributes;
determining an attribute value of the multimedia data corresponding to the identifier of the multimedia data at the tail of the sorting in each batch in the values in the target key value A on the designated attribute;
and determining the target batch according to the attribute value of the multimedia data on the designated attribute corresponding to the identifier of the multimedia data at the tail of the sequencing in each batch and the attribute value of the target multimedia data on the designated attribute.
Optionally, the determining a target batch corresponding to the identification of the target multimedia data includes:
and determining the last batch in the values in the target key value A as the target batch.
Optionally, after the adding the identifier of the target multimedia data to the target batch, the method further includes:
determining the number of identifications of multimedia data included in the target batch;
if the number of the identifiers of the multimedia data included in the target batch is larger than k, storing the identifier of the multimedia data at the tail of the sorting in the target batch into the next batch;
and for each batch after the target batch, sequentially executing the step of storing the identifier of the multimedia data at the tail of the sequence in the current batch into the next batch if the number of the identifiers of the multimedia data included in the current batch is greater than k according to the sequence of each batch.
In a second aspect, an apparatus for acquiring multimedia data is provided, where the apparatus is applied to a NoSQL Key-Value type high-speed storage system, where the NoSQL Key-Value type high-speed storage system provides distributed Key-Value storage service, and the apparatus includes:
the terminal comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a data acquisition request which is sent by the terminal and carries specified conditions, and the specified conditions comprise user identification and at least one attribute;
a first determining module for determining at least one characteristic according to the at least one attribute, each characteristic being used for describing an attribute;
the combination module is used for combining each characteristic in the at least one characteristic with the user identification to obtain a key in at least one key value;
the acquisition module is used for acquiring the value in each key value according to the key in each key value;
the second determining module is used for determining at least one piece of multimedia data according to the value in each key value, wherein the value in each key value is used for storing the identifier of the multimedia data;
and the sending module is used for sending the at least one piece of multimedia data obtained by determination to the terminal.
Optionally, the apparatus further comprises:
a third determining module, configured to determine, when a data storage request for target multimedia data is received, attribute values corresponding to N attributes of the target multimedia data one to one, where N is a positive integer greater than or equal to 1, and the N attributes include a rating level of the target multimedia data, an upload time of the target multimedia data, and a style type of the target multimedia data;
a fourth determining module, configured to determine, according to attribute values corresponding to the N attributes one to one, M target characteristics corresponding to the target multimedia data, where M is a positive integer greater than or equal to 1 and less than or equal to N;
and the adding module is used for combining each target feature in the M target characteristics and the user identification to obtain keys in M target key values, and adding the identification of the target multimedia data to the value in each target key value.
Optionally, the fourth determining module includes:
a searching unit, configured to search, for the N attributes, a characteristic that matches an attribute value corresponding to each attribute from a characteristic list, where the characteristic list includes a plurality of characteristics;
and the determining unit is used for determining the searched characteristics as the target characteristics corresponding to the target multimedia data so as to obtain the M target characteristics.
Optionally, the identifiers of the multimedia data in the value in each target key value are stored in batches, the maximum number of identifiers of each batch of multimedia data is k, and k is a positive integer greater than 1;
the adding module comprises:
a first determining unit, configured to determine, for a value in any one target key value a of the M target key values, a target batch corresponding to an identifier of the target multimedia data;
and the adding unit is used for adding the identification of the target multimedia data into the target batch.
Optionally, the identifiers of the multimedia data in the value of each target key value are stored according to the size sequence of the attribute values of the corresponding multimedia data on the designated attribute;
the first determining unit is specifically configured to:
determining attribute values of the target multimedia data on the specified attributes;
determining an attribute value of the multimedia data corresponding to the identifier of the multimedia data at the tail of the sorting in each batch in the values in the target key value A on the designated attribute;
and determining the target batch according to the attribute value of the multimedia data on the designated attribute corresponding to the identifier of the multimedia data at the tail of the sequencing in each batch and the attribute value of the target multimedia data on the designated attribute.
Optionally, the first determining unit is specifically configured to:
and determining the last batch in the values in the target key value A as the target batch.
Optionally, the adding module further includes:
a second determining unit configured to determine the number of identifiers of the multimedia data included in the target batch;
the first storage unit is used for storing the identifier of the multimedia data at the tail of the sorting in the target batch into the next batch if the number of the identifiers of the multimedia data in the target batch is greater than k;
and the second storage unit is used for sequentially executing the step of storing the identifier of the multimedia data at the tail of the sequence in the current batch into the next batch if the number of the identifiers of the multimedia data in the current batch is greater than k according to the sequence of each batch for each batch after the target batch.
In a third aspect, an apparatus for acquiring multimedia data is provided, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of the first aspect described above.
In a fourth aspect, a computer-readable storage medium is provided, having instructions stored thereon, which when executed by a processor, implement the steps of any of the methods of the first aspect described above.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of any of the methods of the first aspect described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, when a data acquisition request carrying a specified condition sent by a terminal is received, since the specified condition includes a user identifier and at least one attribute, at least one characteristic can be determined according to the at least one attribute, and each characteristic in the at least one characteristic and the user identifier are combined to obtain a key in at least one key value, obtain a value in each key value in the at least one key value, and determine at least one piece of multimedia data according to the value in each key value. In the embodiment of the present invention, when a data acquisition request carrying a specified condition sent by a terminal is received, a key in at least one key value can be directly determined according to the specified condition, and then the multimedia to be acquired can be obtained according to the identifier of the multimedia data in the value in each key value in at least one key value, so that the multimedia data to be acquired can be obtained without traversing all multimedia data corresponding to the user identifier, thereby improving the efficiency of acquiring the multimedia data.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for acquiring multimedia data according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for acquiring multimedia data according to an embodiment of the present invention;
fig. 3A is a block diagram of an apparatus for acquiring multimedia data according to an embodiment of the present invention;
fig. 3B is a block diagram of another apparatus for acquiring multimedia data according to an embodiment of the present invention;
fig. 4 is a block diagram of another apparatus for acquiring multimedia data according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before explaining the embodiments of the present invention in detail, the NoSQL key-value type high-speed storage system related to the embodiments of the present invention is explained.
The NoSQL Key Value type high-speed storage system is a system for providing distributed Key-Value storage service, in the NoSQL Key Value type high-speed storage system, data is stored in a Key Value mode, keys are generated through a preset algorithm according to the characteristics of the data, the values are used for storing indexes of the data, and when data corresponding to the values of a certain Key needs to be searched, corresponding multimedia data can be searched according to the indexes stored in the values of the Key.
In a conventional relational data storage system, some formatted data structures are stored, the field composition of each tuple is the same, and even though not all fields are required for each tuple, the database allocates all fields for each tuple, and such a structure can facilitate operations such as connection between tables. In the NoSQL key-value type high-speed storage system, each tuple can have different fields, and each tuple can be added with some key-value pairs according to the needs, so that the system is not limited to a fixed structure, and the expenditure of some time and space can be reduced.
Fig. 1 is a flowchart of a method for acquiring multimedia data according to an embodiment of the present invention, which is applied to a NoSQL Key-Value type high-speed storage system that provides a distributed Key-Value storage service, and as shown in fig. 1, the method includes the following steps:
step 101: and receiving a data acquisition request which is sent by a terminal and carries specified conditions, wherein the specified conditions comprise user identification and at least one attribute.
Step 102: at least one characteristic corresponding to the at least one attribute in a one-to-one mode is determined, and each characteristic is used for describing the attribute.
Step 103: and combining each characteristic of the at least one characteristic with the user identification to obtain a key of the at least one key value.
Step 104: and obtaining the value in each key value according to the key in each key value.
Step 105: and determining at least one piece of multimedia data according to the value in each key value, wherein the value in each key value is used for storing the identification of the multimedia data.
Step 106: and sending the determined at least one piece of multimedia data to the terminal.
In the embodiment of the present invention, when a data acquisition request carrying a specified condition sent by a terminal is received, since the specified condition includes a user identifier and at least one attribute, at least one characteristic can be determined according to the at least one attribute, and each characteristic in the at least one characteristic and the user identifier are combined to obtain a key in at least one key value, a value of each key is acquired according to the key in each key value, and at least one piece of multimedia data is determined according to the value in each key value. In the embodiment of the present invention, when a data acquisition request carrying a specified condition sent by a terminal is received, a key in at least one key value can be directly determined according to the specified condition, and then the multimedia to be acquired can be obtained according to the identifier of the multimedia data in the value in each key value in at least one key value, so that the multimedia data to be acquired can be obtained without traversing all multimedia data corresponding to the user identifier, thereby improving the efficiency of acquiring the multimedia data.
Optionally, before receiving the data acquisition request carrying the specified condition sent by the terminal, the method further includes:
when a data storage request aiming at target multimedia data is received, determining attribute values which are in one-to-one correspondence with N attributes of the target multimedia data, wherein N is a positive integer which is greater than or equal to 1, and the N attributes comprise the grade of the target multimedia data, the uploading time of the target multimedia data and the style type of the target multimedia data;
determining M target characteristics corresponding to the target multimedia data according to the attribute values corresponding to the N attributes one to one, wherein M is a positive integer greater than or equal to 1 and less than or equal to N;
and combining each target feature in the M target characteristics with the user identification to obtain keys in M target key values, and adding the identification of the target multimedia data to the value in each target key value.
Optionally, determining M target characteristics corresponding to the target multimedia data according to the attribute values corresponding to the N attributes one to one, including:
for the N attributes, searching a characteristic list for characteristics matched with the attribute value corresponding to each attribute, wherein the characteristic list comprises a plurality of characteristics;
and determining the searched characteristics as target characteristics corresponding to the target multimedia data to obtain the M target characteristics.
Optionally, the identifiers of the multimedia data in the value in each target key value are stored in batches, the maximum number of identifiers of each batch of multimedia data is k, and k is a positive integer greater than 1;
adding the identification of the target multimedia data to the value in each target key value, including:
for a value in any one target key value A in the M target key values, determining a target batch corresponding to the identification of the target multimedia data;
an identification of the target multimedia data is added to the target batch.
Optionally, the identifiers of the multimedia data in the value of each target key value are stored according to the size sequence of the attribute values of the corresponding multimedia data on the designated attribute;
determining a target batch corresponding to the identification of the target multimedia data, comprising:
determining the attribute value of the target multimedia data on the specified attribute;
determining the attribute value of the multimedia data corresponding to the identifier of the multimedia data at the tail of the sorting in each batch in the values in the target key value A on the designated attribute;
and determining the target batch according to the attribute value of the multimedia data on the specified attribute corresponding to the identifier of the multimedia data at the tail of the sorting in each batch and the attribute value of the target multimedia data on the specified attribute.
Optionally, determining a target batch corresponding to the identifier of the target multimedia data includes:
and determining the last batch in the values in the target key value A as the target batch.
Optionally, after the identifier of the target multimedia data is added to the target batch, the method further includes:
determining the number of identifications of the multimedia data included in the target batch;
if the number of the identifiers of the multimedia data included in the target batch is larger than the k, storing the identifier of the multimedia data at the tail of the sorting in the target batch into the next batch;
and for each batch after the target batch, sequentially executing the step of storing the identifier of the multimedia data at the tail of the sequence in the current batch into the next batch if the number of the identifiers of the multimedia data included in the current batch is greater than k according to the sequence of each batch.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present invention, which is not described in detail herein.
Fig. 2 is a flowchart of another method for acquiring multimedia data according to an embodiment of the present invention, which is applied to a NoSQL Key-Value type high-speed storage system that provides a distributed Key-Value storage service, and as shown in fig. 2, the method includes the following steps:
step 201: when a data storage request aiming at target multimedia data is received, determining attribute values corresponding to N attributes of the target multimedia data one by one, wherein N is a positive integer greater than or equal to 1, and the N attributes comprise the grade of the target multimedia data, the uploading time of the target multimedia data and the style type of the target multimedia data.
In order to facilitate other users to obtain multimedia data according to the attribute values subsequently, when the target multimedia data needs to be stored, the attribute values of the target multimedia data on the attributes are determined first, so that the target multimedia data can be stored according to the attribute values of the target multimedia data on the attributes.
The attributes of the target multimedia data comprise the grade of the target multimedia data, the uploading time of the target multimedia data and the style type of the target multimedia data. For example, the rating scale may include 1 star, 2 stars, 3 stars, 4 stars, and 5 stars, and the genre types may include 70 s, 80 s, 90 s, and 00 s.
In addition, N is a preset number, and may be 2, 3, 4, or the like.
For example, the target multimedia data is a song, N is 2, and two attributes of the target multimedia data are a rating level and upload time, respectively, that is, the multimedia data is stored according to the rating level and the upload time.
Step 202: and determining M target characteristics corresponding to the target multimedia data according to the attribute values corresponding to the N attributes one by one, wherein M is a positive integer which is greater than or equal to 1 and less than or equal to N.
In practical applications, for some attributes, if all attribute values corresponding to the attribute are listed and the multimedia data is stored according to each different attribute value, the difficulty of storing the multimedia data is increased, and therefore, in the embodiment of the present invention, the media data is stored according to each different characteristic.
Wherein each property is used to describe an attribute, i.e. a property is used to describe an attribute whose value is within a specified range. For example, if the characteristic is a characteristic for a rating scale, the characteristic may be rated at 3 stars, or may be rated at three or less stars. If the characteristic is a characteristic for an upload time, the characteristic may be an upload time in 1 month, or an upload time in 2 months, etc.
Further, in order to quickly determine a target characteristic corresponding to the target multimedia data, a characteristic list is preset, where the characteristic list includes a plurality of characteristics, and in this case, the implementation manner of step 202 may be:
and for the N attributes, searching the attribute list for the characteristic matched with the attribute value corresponding to each attribute, and determining the searched characteristic as the target characteristic corresponding to the target multimedia data to obtain the M target characteristics.
For example, the feature list includes 5 features for a rating level, respectively a rating level of 1 star, a rating level of 2 stars, a rating level of 3 stars, a rating level of 4 stars, and a rating level of 5 stars, and 12 features for upload time, respectively upload time in month 1, upload time in month 2, …, and upload time in month 12.
If the attribute value of the target multimedia data on the attribute rating level is 4 stars and the attribute value on the attribute uploading time is 10 months and 20 days, two characteristics of the target multimedia data can be obtained, namely, the rating level is 4 stars and the uploading time is 10 months.
Step 203: and combining each target feature in the M target characteristics with the user identification to obtain keys in M target key values, and adding the identification of the target multimedia data to the value in each target key value.
In the embodiment of the invention, in order to directly obtain the corresponding multimedia data according to the attribute value, the multimedia data is stored in a mode of key values. In addition, in practical application, other users usually acquire multimedia data by taking the attribute value and the user identifier as acquisition conditions, so that the user identifier and one characteristic can be taken as a key, so that multimedia data corresponding to the user identifier and the characteristic can be directly acquired according to a certain key.
In addition, in order to simplify the information included in the values of the key values, the values in each key value may also be the identifications of the multimedia data corresponding to the user identification and the characteristics included in the key, that is, the values in each key value are used for storing the identifications of the multimedia data.
Therefore, after M target characteristics corresponding to the target multimedia data are obtained in step 202, the identifier of the target multimedia data may be determined, each target feature in the M target characteristics and the user identifier are combined to obtain a key in M target key values, and the identifier of the target multimedia data is added to the value in each target key value, so as to implement storing the target multimedia data in the manner of a key value.
Further, in order to improve efficiency of acquiring multimedia data, identifiers of multimedia data in values in key values in a key value list are stored in batches, the maximum number of identifiers of each batch of multimedia data is k, and k is a positive integer greater than 1, so that multimedia data corresponding to a certain key-value can be output to a terminal in batches subsequently.
At this time, the identifiers of the multimedia data in the value of each target key value are stored in a batch manner, so step 203 may specifically be: and for any value in the target key value A in the M target key values, determining a target batch corresponding to the identifier of the target multimedia data, and adding the identifier of the target multimedia data into the target batch.
That is, for the target key-value a, a target batch needs to be determined first, so as to add the identifier of the target multimedia data to the target batch, and store the multimedia data in the value of the target key-value a.
It should be noted that, the identifiers of the multimedia data included in the value in any key value may be stored according to a certain sequence, or may be directly stored in a sequential arrangement. Thus, determining the target batch corresponding to the identification of the target multimedia data may have two possible implementations:
in a first possible implementation manner, the identifiers of the multimedia data in the values in the key value list are stored according to the size sequence of the attribute values of the corresponding multimedia data on the designated attribute, at this time, the attribute value of the target multimedia data on the designated attribute is determined, and the attribute value of the multimedia data corresponding to the identifier of the multimedia data at the tail of the sequence in each batch in the values in the target key value a on the designated attribute is determined; and determining the target batch according to the attribute value of the multimedia data on the specified attribute corresponding to the identifier of the multimedia data at the tail of the sequencing in each batch and the attribute value of the target multimedia data on the specified attribute.
And at this time, for the identifiers of the multimedia data in the values in the target key value a, the identifiers of the multimedia data are stored in an order according to the size of the rating of the corresponding multimedia data. For another example, the designated attribute is upload time, and for the identifier of the multimedia data in the value in the target key value a, the identifiers of the multimedia data are stored in an order according to the size of the upload time of the corresponding multimedia data.
In a second possible implementation manner, the identifiers of the multimedia data in the values in the key value list are directly stored in a sequential arrangement manner, and at this time, the last batch in the values in the target key value a is directly determined as the target batch.
Since the maximum number of identifiers of multimedia data included in each batch is k, after the identifier of the target multimedia data is added to the target batch, it is further determined whether the number of identifiers of multimedia data included in the target batch is greater than k, so as to adjust the identifiers of multimedia data in each batch.
Specifically, the number of identifiers of the multimedia data included in the target batch is determined, if the number of identifiers of the multimedia data included in the target batch is greater than k, the identifier of the multimedia data at the end of sorting in the target batch is stored in the next batch, and for each batch after the target batch, according to the sequence of each batch, the step of storing the identifier of the multimedia data at the end of sorting in the current batch into the next batch is sequentially executed if the number of identifiers of the multimedia data included in the current batch is greater than k.
For example, k is 10, there are 5 batches in the value of the target key-value a, the target batch is 3, at this time, after the identifier of the target multimedia data is stored in the third batch, the identifier of the target multimedia data in the third batch includes 11 identifiers of the target multimedia data, at this time, the identifier of the multimedia data at the end of the sorting in the third batch needs to be transferred to the fourth batch, and the transferred identifier of the target multimedia data is used as the first identifier of the target multimedia data in the fourth batch. Sequentially continuing the multimedia data originally included in the fourth batch, determining the number of the identifiers of the multimedia data included in the fourth batch, continuously judging whether the number of the identifiers of the multimedia data included in the fourth batch is greater than k, and repeatedly executing the process until the number of the identifiers of the multimedia data included in the last batch in the values of the target key-value A is less than or equal to k.
After storing the multimedia data in the manner of steps 201 to 203, the multimedia data can be acquired through steps 204 to 208 described below.
Step 204: and receiving a data acquisition request which is sent by a terminal and carries specified conditions, wherein the specified conditions comprise user identification and at least one attribute.
The user identification is corresponding to the multimedia data to be acquired. Specifically, when the user B needs to acquire the multimedia data of the user C, the user B may send a data acquisition request to the server through the terminal, where the data acquisition request carries the user identifier of the user C and at least one attribute of the multimedia data to be acquired.
For example, the specified conditions include a user account registered by the user C on the server, and a rating of 3 stars. It indicates that the user B wants to acquire multimedia data with a rating of 3 stars in the multimedia data of the user C.
Step 205: at least one characteristic is determined in one-to-one correspondence with the at least one attribute.
As shown in step 202 and step 203, in the embodiment of the present invention, the target multimedia data is stored according to the corresponding characteristic of the target multimedia data, and therefore, when the multimedia data needs to be acquired, the characteristic of the multimedia data to be acquired needs to be determined, so as to acquire the corresponding multimedia data according to the determined characteristic subsequently.
Specifically, for the at least one attribute, the characteristic matching the attribute value corresponding to each attribute is searched from the characteristic list to obtain the at least one characteristic.
Step 206: and combining each characteristic of the at least one characteristic with the user identification to obtain a key of the at least one key value.
Since the key in any key value in the stored key value list includes the user id and one characteristic, the key in at least one key value can be determined directly through step 206 on the premise that the user id and at least one characteristic are known.
For example, the obtaining condition includes a user account registered by the user C on the server and a rating of 3 stars, and at this time, a key in a key value may be obtained, where the key in the key value includes the user identifier of the user C and the rating of 3 stars.
Step 207: and obtaining the value in each key value according to the key in each key value.
Since each key in the key value list corresponds to one value, after the key in the at least one key value is obtained, the value in each key value can be obtained according to the key in each key value.
Step 208: and determining at least one piece of multimedia data according to the value in each key value.
Since the value in each key value is used to store the identifier of the multimedia data, the identifier of at least one piece of multimedia data can be determined according to the value in each key value, and then the multimedia data respectively corresponding to the identifier of the at least one piece of multimedia data is determined from the corresponding relationship between the stored identifier of the multimedia data and the multimedia data, so as to obtain the at least one piece of multimedia data.
Step 209: and sending the determined at least one piece of multimedia data to the terminal.
After obtaining the at least one piece of multimedia data according to the above steps 205 to 208, the server may send the at least one piece of multimedia data to the terminal, so as to enable the terminal to obtain the multimedia data to be obtained according to the data obtaining request.
In the embodiment of the present invention, when a data acquisition request carrying a specified condition sent by a terminal is received, since the specified condition includes a user identifier and at least one attribute, at least one characteristic can be determined according to the at least one attribute, and each characteristic in the at least one characteristic and the user identifier are combined to obtain a key in at least one key value, obtain a value in each key value in the at least one key value, and determine at least one piece of multimedia data according to the value in each key value. In the embodiment of the present invention, when a data acquisition request carrying a specified condition sent by a terminal is received, a key in at least one key value can be directly determined according to the specified condition, and then the multimedia to be acquired can be obtained according to the identifier of the multimedia data in the value in each key value in at least one key value, so that the multimedia data to be acquired can be obtained without traversing all multimedia data corresponding to the user identifier, thereby improving the efficiency of acquiring the multimedia data.
Fig. 3A is a device 300 for acquiring multimedia data, which is applied to a NoSQL Key-Value type high-speed storage system that provides a distributed Key-Value storage service, according to an embodiment of the present invention, where the device 300 includes a receiving module 301, a first determining module 302, a combining module 303, an acquiring module 304, a second determining module 305, and a sending module 306:
a receiving module 301, configured to receive a data acquisition request that carries specified conditions and is sent by a terminal, where the specified conditions include a user identifier and at least one attribute;
a first determining module 302, configured to determine at least one characteristic corresponding to the at least one attribute one to one, where each characteristic is used to describe an attribute;
a combination module 303, configured to combine each of the at least one characteristic with the user identifier to obtain a key in at least one key value;
an obtaining module 304, configured to obtain a value in each key value according to a key in each key value;
a second determining module 305, configured to determine at least one piece of multimedia data according to a value in each key value, where the value in each key value is used to store an identifier of the multimedia data;
a sending module 306, configured to send the determined at least one piece of multimedia data to the terminal.
Optionally, as shown in fig. 3B, the apparatus 300 further includes a third determining module 307, a fourth determining module 308, and an adding module 309:
a third determining module 307, configured to determine, when a data storage request for target multimedia data is received, attribute values corresponding to N attributes of the target multimedia data one to one, where N is a positive integer greater than or equal to 1, where the N attributes include a rating level of the target multimedia data, an upload time of the target multimedia data, and a style type of the target multimedia data;
a fourth determining module 308, configured to determine M target characteristics corresponding to the target multimedia data according to the attribute values corresponding to the N attributes one to one, where M is a positive integer greater than or equal to 1 and less than or equal to N;
an adding module 309, configured to combine each target feature in the M target characteristics with the user identifier to obtain a key in M target key values, and add the identifier of the target multimedia data to the value in each target key value.
Optionally, the fourth determining module 308 includes:
a searching unit, configured to search, for the N attributes, a characteristic matching an attribute value corresponding to each attribute from a characteristic list, where the characteristic list includes a plurality of characteristics;
and the determining unit is used for determining the searched characteristics as the target characteristics corresponding to the target multimedia data so as to obtain the M target characteristics.
Optionally, the identifiers of the multimedia data in the value in each target key value are stored in batches, the maximum number of identifiers of each batch of multimedia data is k, and k is a positive integer greater than 1;
the adding module 309 includes:
a first determining unit, configured to determine, for a value in any one target key value a of the M target key values, a target batch corresponding to an identifier of the target multimedia data;
and the adding unit is used for adding the identification of the target multimedia data into the target batch.
Optionally, the identifiers of the multimedia data in the value of each target key value are stored according to the size sequence of the attribute values of the corresponding multimedia data on the designated attribute;
the first determining unit is specifically configured to:
determining the attribute value of the target multimedia data on the specified attribute;
determining the attribute value of the multimedia data corresponding to the identifier of the multimedia data at the tail of the sorting in each batch in the values in the target key value A on the designated attribute;
and determining the target batch according to the attribute value of the multimedia data on the specified attribute corresponding to the identifier of the multimedia data at the tail of the sorting in each batch and the attribute value of the target multimedia data on the specified attribute.
Optionally, the first determining unit is specifically configured to:
and determining the last batch in the values in the target key value A as the target batch.
Optionally, the adding module 309 further includes:
a second determining unit, configured to determine the number of identifiers of the multimedia data included in the target batch;
a first storage unit, configured to store, if the number of identifiers of the multimedia data included in the target batch is greater than k, the identifier of the multimedia data at the end of the sorting in the target batch into a next batch;
and the second storage unit is used for sequentially executing the step of storing the identifier of the multimedia data at the tail of the sequence in the current batch into the next batch if the number of the identifiers of the multimedia data in the current batch is greater than the k according to the sequence of each batch for each batch after the target batch.
In the embodiment of the present invention, when a data acquisition request carrying a specified condition sent by a terminal is received, since the specified condition includes a user identifier and at least one attribute, at least one characteristic can be determined according to the at least one attribute, and each characteristic in the at least one characteristic and the user identifier are combined to obtain a key in at least one key value, obtain a value in each key value in the at least one key, and determine at least one piece of multimedia data according to the value in each key value. In the embodiment of the present invention, when a data acquisition request carrying a specified condition sent by a terminal is received, a key in at least one key value can be directly determined according to the specified condition, and then the multimedia to be acquired can be obtained according to the identifier of the multimedia data in the value in each key value in at least one key value, so that the multimedia data to be acquired can be obtained without traversing all multimedia data corresponding to the user identifier, thereby improving the efficiency of acquiring the multimedia data.
It should be noted that: in the above embodiment, when the apparatus for acquiring multimedia data acquires multimedia data, only the division of the above functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the apparatus for acquiring multimedia data and the method for acquiring multimedia data provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 4 is a diagram illustrating another multimedia data storage apparatus 400 according to an embodiment of the present invention. The apparatus 400 may be a server 400, which may be a server in a cluster of background servers. Specifically, the method comprises the following steps:
the server 400 includes a Central Processing Unit (CPU)401, a system memory 404 including a Random Access Memory (RAM)402 and a Read Only Memory (ROM)403, and a system bus 405 connecting the system memory 404 and the central processing unit 401. The server 400 also includes a basic input/output system (I/O system) 406, which facilitates the transfer of information between devices within the computer, and a mass storage device 407 for storing an operating system 413, application programs 414, and other program modules 415.
The basic input/output system 406 includes a display 408 for displaying information and an input device 409 such as a mouse, keyboard, etc. for user input of information. Wherein a display 408 and an input device 409 are connected to the central processing unit 401 through an input output controller 410 connected to the system bus 405. The basic input/output system 406 may also include an input/output controller 410 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input/output controller 410 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 407 is connected to the central processing unit 401 through a mass storage controller (not shown) connected to the system bus 405. The mass storage device 407 and its associated computer-readable media provide non-volatile storage for the server 400. That is, the mass storage device 407 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 404 and mass storage device 407 described above may be collectively referred to as memory.
According to various embodiments of the present application, the server 400 may also operate as a remote computer connected to a network through a network, such as the Internet. That is, the server 400 may be connected to the network 412 through the network interface unit 411 connected to the system bus 405, or may be connected to other types of networks or remote computer systems (not shown) using the network interface unit 411.
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU. The one or more programs include instructions for performing the storage method of multimedia data provided by the above-described embodiments of the present invention.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a server, enable the server to perform the method for acquiring multimedia data provided in the foregoing embodiments.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the method for acquiring multimedia data provided by the above embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (16)

1. A method for obtaining multimedia data is applied to a non-relational NoSQL Key-Value type high-speed storage system, wherein the NoSQL Key-Value type high-speed storage system provides distributed Key-Value storage service, and the method comprises the following steps:
receiving a data acquisition request which is sent by a terminal and carries specified conditions, wherein the specified conditions comprise a user identification and at least one attribute;
determining at least one characteristic corresponding to the at least one attribute one by one, wherein each characteristic is used for describing the attribute;
combining each characteristic of the at least one characteristic with the user identification to obtain a key of the at least one key value;
obtaining the value of each key value according to the key in each key value;
determining at least one piece of multimedia data according to the value in each key value, wherein the value in each key value is used for storing the identifier of the multimedia data;
and sending the determined at least one piece of multimedia data to the terminal.
2. The method of claim 1, wherein before the receiving the data acquisition request carrying the specified condition sent by the terminal, further comprising:
when a data storage request aiming at target multimedia data is received, determining attribute values which are in one-to-one correspondence with N attributes of the target multimedia data, wherein N is a positive integer which is greater than or equal to 1, and the N attributes comprise the grade of the target multimedia data, the uploading time of the target multimedia data and the style type of the target multimedia data;
determining M target characteristics corresponding to the target multimedia data according to attribute values corresponding to the N attributes one to one, wherein M is a positive integer greater than or equal to 1 and less than or equal to N;
and combining each target feature in the M target characteristics with the user identification to obtain keys in M target key values, and adding the identification of the target multimedia data to the value in each target key value.
3. The method of claim 2, wherein said determining M target characteristics corresponding to the target multimedia data based on the attribute values corresponding to the N attributes one-to-one comprises:
for the N attributes, searching a characteristic list for a characteristic matched with the attribute value corresponding to each attribute, wherein the characteristic list comprises a plurality of characteristics;
and determining the searched characteristics as target characteristics corresponding to the target multimedia data to obtain the M target characteristics.
4. The method of claim 2, wherein the identities of the multimedia data in the value in each target key value are stored in batches, each batch including a maximum number k of identities of multimedia data, the k being a positive integer greater than 1;
the adding the identifier of the target multimedia data to the value in each target key value includes:
determining a target batch corresponding to the identification of the target multimedia data for the value in any target key value A in the M target key values;
adding an identification of the target multimedia data to the target batch.
5. The method of claim 4, wherein the identities of the multimedia data in the values in each target key value are stored in an order of magnitude of the attribute value of the corresponding multimedia data on the specified attribute;
the determining the target batch corresponding to the identification of the target multimedia data comprises:
determining attribute values of the target multimedia data on the specified attributes;
determining an attribute value of the multimedia data corresponding to the identifier of the multimedia data at the tail of the sorting in each batch in the values in the target key value A on the designated attribute;
and determining the target batch according to the attribute value of the multimedia data on the designated attribute corresponding to the identifier of the multimedia data at the tail of the sequencing in each batch and the attribute value of the target multimedia data on the designated attribute.
6. The method of claim 4, wherein said determining the target batch corresponding to the identification of the target multimedia data comprises:
and determining the last batch in the values in the target key value A as the target batch.
7. The method of any of claims 4 to 6, wherein after adding the identification of the target multimedia data to the target batch, further comprising:
determining the number of identifications of multimedia data included in the target batch;
if the number of the identifiers of the multimedia data included in the target batch is larger than k, storing the identifier of the multimedia data at the tail of the sorting in the target batch into the next batch;
and for each batch after the target batch, sequentially executing the step of storing the identifier of the multimedia data at the tail of the sequence in the current batch into the next batch if the number of the identifiers of the multimedia data included in the current batch is greater than k according to the sequence of each batch.
8. An apparatus for obtaining multimedia data, applied to a non-relational NoSQL Key-Value type high-speed storage system, wherein the NoSQL Key-Value type high-speed storage system provides distributed Key-Value storage service, the apparatus comprising:
the terminal comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a data acquisition request which is sent by the terminal and carries specified conditions, and the specified conditions comprise user identification and at least one attribute;
the first determining module is used for determining at least one characteristic which corresponds to the at least one attribute in a one-to-one mode, and each characteristic is used for describing the attribute;
the combination module is used for combining each characteristic in the at least one characteristic with the user identification to obtain a key in at least one key value;
the acquisition module is used for acquiring the value in each key value according to the key in each key value;
the second determining module is used for determining at least one piece of multimedia data according to the value in each key value, wherein the value in each key value is used for storing the identifier of the multimedia data;
and the sending module is used for sending the at least one piece of multimedia data obtained by determination to the terminal.
9. The apparatus of claim 8, wherein the apparatus further comprises:
a third determining module, configured to determine, when a data storage request for target multimedia data is received, attribute values corresponding to N attributes of the target multimedia data one to one, where N is a positive integer greater than or equal to 1, and the N attributes include a rating level of the target multimedia data, an upload time of the target multimedia data, and a style type of the target multimedia data;
a fourth determining module, configured to determine, according to attribute values corresponding to the N attributes one to one, M target characteristics corresponding to the target multimedia data, where M is a positive integer greater than or equal to 1 and less than or equal to N;
and the adding module is used for combining each target feature in the M target characteristics and the user identification to obtain keys in M target key values, and adding the identification of the target multimedia data to the value in each target key value.
10. The apparatus of claim 9, wherein the fourth determining module comprises:
a searching unit, configured to search, for the N attributes, a characteristic that matches an attribute value corresponding to each attribute from a characteristic list, where the characteristic list includes a plurality of characteristics;
and the determining unit is used for determining the searched characteristics as the target characteristics corresponding to the target multimedia data so as to obtain the M target characteristics.
11. The apparatus of claim 9, wherein the identifications of multimedia data in the values in each target key value are stored in batches, each batch including a maximum number k of identifications of multimedia data, the k being a positive integer greater than 1;
the adding module comprises:
a first determining unit, configured to determine, for a value in any one target key value a of the M target key values, a target batch corresponding to an identifier of the target multimedia data;
and the adding unit is used for adding the identification of the target multimedia data into the target batch.
12. The apparatus of claim 11, wherein the identification of the multimedia data in the value in each target key value is stored in an order of magnitude of the attribute value of the corresponding multimedia data on the specified attribute;
the first determining unit is specifically configured to:
determining attribute values of the target multimedia data on the specified attributes;
determining an attribute value of the multimedia data corresponding to the identifier of the multimedia data at the tail of the sorting in each batch in the values in the target key value A on the designated attribute;
and determining the target batch according to the attribute value of the multimedia data on the designated attribute corresponding to the identifier of the multimedia data at the tail of the sequencing in each batch and the attribute value of the target multimedia data on the designated attribute.
13. The apparatus of claim 11, wherein the first determining unit is specifically configured to:
and determining the last batch in the values in the target key value A as the target batch.
14. The apparatus of any of claims 11 to 13, wherein the adding module further comprises:
a second determining unit configured to determine the number of identifiers of the multimedia data included in the target batch;
the first storage unit is used for storing the identifier of the multimedia data at the tail of the sorting in the target batch into the next batch if the number of the identifiers of the multimedia data in the target batch is greater than k;
and the second storage unit is used for sequentially executing the step of storing the identifier of the multimedia data at the tail of the sequence in the current batch into the next batch if the number of the identifiers of the multimedia data in the current batch is greater than k according to the sequence of each batch for each batch after the target batch.
15. An apparatus for acquiring multimedia data, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 1-7.
16. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 1-7.
CN201810267218.1A 2018-03-28 2018-03-28 Method, device and storage medium for acquiring multimedia data Active CN108345699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810267218.1A CN108345699B (en) 2018-03-28 2018-03-28 Method, device and storage medium for acquiring multimedia data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810267218.1A CN108345699B (en) 2018-03-28 2018-03-28 Method, device and storage medium for acquiring multimedia data

Publications (2)

Publication Number Publication Date
CN108345699A CN108345699A (en) 2018-07-31
CN108345699B true CN108345699B (en) 2020-09-15

Family

ID=62957645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810267218.1A Active CN108345699B (en) 2018-03-28 2018-03-28 Method, device and storage medium for acquiring multimedia data

Country Status (1)

Country Link
CN (1) CN108345699B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339093B (en) * 2020-02-25 2024-07-16 京东方科技集团股份有限公司 Method, device, equipment and storage medium for acquiring user behavior data
CN113872914B (en) * 2020-06-30 2024-02-20 成都鼎桥通信技术有限公司 Data transmission method, system, control device, network device and media device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1993755A (en) * 2004-07-30 2007-07-04 三星电子株式会社 Storage medium including metadata and reproduction apparatus and method therefor
CN102193995A (en) * 2011-04-26 2011-09-21 深圳市迅雷网络技术有限公司 Method and device for establishing multimedia data index and retrieval
CN206148138U (en) * 2016-09-27 2017-05-03 徐文波 Multimedia playing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9501568B2 (en) * 2015-01-02 2016-11-22 Gracenote, Inc. Audio matching based on harmonogram

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1993755A (en) * 2004-07-30 2007-07-04 三星电子株式会社 Storage medium including metadata and reproduction apparatus and method therefor
CN102193995A (en) * 2011-04-26 2011-09-21 深圳市迅雷网络技术有限公司 Method and device for establishing multimedia data index and retrieval
CN206148138U (en) * 2016-09-27 2017-05-03 徐文波 Multimedia playing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于云计算平台的音乐专辑封面搜索应用;胡玥申;《微型电脑应用》;20160220;第71-73页 *

Also Published As

Publication number Publication date
CN108345699A (en) 2018-07-31

Similar Documents

Publication Publication Date Title
CN107784044B (en) Table data query method and device
US20200057958A1 (en) Identification and application of hyperparameters for machine learning
JP6734946B2 (en) Method and apparatus for generating information
CN111008521B (en) Method, device and computer storage medium for generating wide table
US11310066B2 (en) Method and apparatus for pushing information
CN107704202B (en) Method and device for quickly reading and writing data
CN108897874B (en) Method and apparatus for processing data
CN110427386B (en) Data processing method, device and computer storage medium
CN108345699B (en) Method, device and storage medium for acquiring multimedia data
CN111723161A (en) Data processing method, device and equipment
CN110909266B (en) Deep paging method and device and server
CN108154024B (en) Data retrieval method and device and electronic equipment
CN114817651B (en) Data storage method, data query method, device and equipment
CN111582967A (en) Content search method, device, equipment and storage medium
CN105589873B (en) Data searching method, terminal and server
CN107844536B (en) Method, device and system for selecting application program
CN113590756A (en) Information sequence generation method and device, terminal equipment and computer readable medium
US20200226153A1 (en) Execution of queries in relational databases
CN113094415B (en) Data extraction method, data extraction device, computer readable medium and electronic equipment
CN110109919B (en) Method and device for determining logic information
CN117009430A (en) Data management method, device, storage medium and electronic equipment
CN115658750A (en) Service data processing method and device, electronic equipment and storage medium
CN105653533A (en) Method and device for updating classified associated word set
CN113434490A (en) Quality detection method and device for offline imported data
CN110807124A (en) Song searching method, device, equipment and computer readable storage medium

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