Multidimensional cross data processing method and device
A technology of cross data and processing methods, applied in the field of data processing, can solve problems such as high computing costs, affecting efficiency, hashmap data conflicts, etc., and achieve the effect of improving processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] Embodiment 1. A multi-dimensional cross data processing method, such as image 3 As shown, including steps S110-S120:
[0065] S110. Perform the following operations on each piece of data to be subjected to multi-dimensional cross calculation: for multiple combinations of dimension values, convert each dimension value combination into Corresponding values, the multiple combinations of dimension values include: the combination of dimension values in this piece of data, and the combination of dimension values when one or more dimension values are changed to all values; the converted values are respectively As the key name of different key-value pairs, the index of the data is used as the key value of each key-value pair;
[0066] S120. For the key-value pairs generated by the data to be subjected to multidimensional cross calculation, respectively calculate the average value of the key value corresponding to each key name.
[0067] In this embodiment, if one o...
other Embodiment approach
[0081] In other implementation manners, it is also possible that only part of the dimension takes all values and the corresponding value is 0; or, when each dimension takes all values, the corresponding value is 1, so that the bit operation is performed on the corresponding bit Set to 1 for operation.
[0082] In an alternative solution of this embodiment, for the key-value pairs generated by the data to be multi-dimensional cross calculation, calculating the average value of the key value corresponding to each key name includes:
[0083]In the key-value pairs generated by the data to be multi-dimensional cross calculation, the key-value accumulation and the number of key-value pairs are counted according to the key name; for each key name, the accumulation result corresponding to the key name is divided by the corresponding number, and get the average value of the key value corresponding to the key name.
[0084] In this alternative, if the operation is performed on a sing...
Embodiment 2
[0102] Embodiment 2. A multi-dimensional cross data processing device, such as Figure 6 shown, including:
[0103] The key-value pair generation module 21 is used to perform the following operations on each piece of data to be multi-dimensional cross calculation: for various combinations of dimension values, each The various combinations of dimension values include: the combination of dimension values in this piece of data, and the combination of dimension values when one or more dimension values are changed to all values ;Use the converted values as the key names of different key-value pairs, and use the index of the data as the key value of each key-value pair;
[0104] The calculation module 22 is configured to calculate the average value of the key value corresponding to each key name for the key-value pairs generated by the data to be subjected to multi-dimensional cross calculation.
[0105] In this embodiment, the key-value pair generating module 21 is a pa...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap