CN113806397A - Data processing method and device, electronic equipment and storage medium - Google Patents
Data processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113806397A CN113806397A CN202010537882.0A CN202010537882A CN113806397A CN 113806397 A CN113806397 A CN 113806397A CN 202010537882 A CN202010537882 A CN 202010537882A CN 113806397 A CN113806397 A CN 113806397A
- Authority
- CN
- China
- Prior art keywords
- target
- data
- attribute type
- parameter set
- processing
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title abstract description 4
- 238000012545 processing Methods 0.000 claims abstract description 61
- 238000000034 method Methods 0.000 claims abstract description 49
- 238000012795 verification Methods 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 abstract description 18
- 230000011664 signaling Effects 0.000 description 27
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 9
- 230000006854 communication Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24552—Database cache management
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a data processing method and device, electronic equipment and a storage medium, wherein the method comprises the following steps: respectively acquiring a first parameter set aiming at a plurality of preset attribute type sets, and storing the first parameter set in a cache region corresponding to the attribute type set; acquiring target data and determining a target attribute type set corresponding to the target data; determining a target cache region corresponding to the target attribute type set, and acquiring a target first parameter set stored in the target cache region; and processing the target data by adopting the target first parameter set. By the embodiment of the invention, the parameters are stored in the cache area in advance before the data are processed, so that the repeated transmission of the parameters during the processing of a plurality of data is avoided, the consumption of the transmission parameters is reduced, the system overhead is saved, and the processing efficiency is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for data processing, an electronic device, and a storage medium.
Background
In a 5G (5th-Generation, fifth Generation mobile communication technology) network, when performing uplink transmission and downlink transmission, data may be processed, such as integrity protection or integrity verification, encryption or decryption, and then transmitted.
When data is processed, a large number of parameters, such as a security algorithm, integrity protection or integrity verification KEY, encryption or decryption KEY, a COUNT (COUNT) value, radio Bearer (RB, Resource Bearer) Identifier (ID), data direction, etc., need to be transmitted and then copied to a buffer in sequence for processing, and when a large number of data are processed, the parameters need to be repeatedly transmitted for each data, which results in large system overhead and low processing efficiency.
Disclosure of Invention
In view of the above, it is proposed to provide a method and apparatus, an electronic device, a storage medium for data processing that overcome or at least partially solve the above problems, including:
a method of data processing, the method comprising:
respectively acquiring a first parameter set aiming at a plurality of preset attribute type sets, and storing the first parameter set in a cache region corresponding to the attribute type set;
acquiring target data and determining a target attribute type set corresponding to the target data;
determining a target cache region corresponding to the target attribute type set, and acquiring a target first parameter set stored in the target cache region;
and processing the target data by adopting the target first parameter set.
Optionally, the processing the target data by using the target first parameter set includes:
determining a second parameter set corresponding to the target data;
and processing the target data by combining the target first parameter set and the second parameter set.
Optionally, before the obtaining a first parameter set for the preset multiple attribute type sets and storing the first parameter set in the cache region corresponding to the attribute type set, the method further includes
And creating a plurality of attribute type sets, and determining a cache region corresponding to each attribute type set.
Optionally, before the determining the target attribute type set corresponding to the target data, the method further includes:
judging whether the target data is data in a specified data packet;
and when the target data is the data in the specified data packet, executing the determination of the target attribute type set corresponding to the target data.
Optionally, the designated data packet is a data packet associated with a data service unit, and the data service unit is a packet data convergence protocol-based data service unit.
Optionally, each attribute type set is composed of one or more attribute types, and the attribute types include a security mode;
the security means may comprise any one or more of:
encryption, decryption, integrity protection and integrity verification.
Optionally, the attribute type further includes any one of: data type, data direction.
An apparatus for data processing, the apparatus comprising:
the first parameter set storage module is used for respectively acquiring a first parameter set aiming at a plurality of preset attribute type sets and storing the first parameter set in a cache region corresponding to the attribute type set;
the target attribute type set determining module is used for acquiring target data and determining a target attribute type set corresponding to the target data;
a target first parameter set obtaining module, configured to determine a target cache region corresponding to the target attribute type set, and obtain a target first parameter set stored in the target cache region;
and the target data processing module is used for processing the target data by adopting the target first parameter set.
An electronic device comprising a processor, a memory and a computer program stored on the memory and being executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of data processing as described above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of data processing as set forth above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the first parameter sets are respectively obtained aiming at the preset attribute type sets, the first parameter sets are stored in the cache regions corresponding to the attribute type sets, the target data are obtained, the target attribute type sets corresponding to the target data are determined, the target cache regions corresponding to the target attribute type sets are determined, the target first parameter sets stored in the target cache regions are obtained, and the target first parameter sets are adopted to process the target data, so that the parameters are stored in the cache regions in advance before the data are processed, the repeated parameter transmission during the processing of a plurality of data is avoided, the consumption of the parameter transmission is reduced, the system overhead is saved, and the processing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the present invention 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 inventive exercise.
Fig. 1 is a schematic diagram of 5G communication according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating steps of a method for data processing according to an embodiment of the present invention;
FIG. 3 is a flow chart of steps in another method of data processing according to an embodiment of the invention;
fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. 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.
In a 5G network, when performing uplink transmission and downlink transmission, data may be processed, such as integrity protection or integrity verification, encryption or decryption, and then data transmission is performed.
As shown in fig. 1, in a communication process based on a Packet Data Convergence Protocol (PDCP), when downlink Data is transmitted, for example, signaling radio bearer Data and Data radio bearer Data, a base station may perform integrity protection and ciphering on the downlink Data to be transmitted, and a user equipment may perform integrity verification and deciphering on the downlink Data when receiving the downlink Data. During uplink data transmission, the user equipment can perform integrity protection and encryption operation on uplink data to be sent, and the base station can perform integrity verification and decryption on the uplink data when receiving the uplink data.
In an example, as shown in fig. 1, before integrity protection and ciphering are performed, a sequence number may be obtained, header compression may then be performed, a PDCP header may be added after integrity protection and ciphering are performed, the PDCP header may be removed before integrity verification and deciphering are performed, header decompression may be performed after integrity verification and deciphering are performed, and then delivery and duplicate detection may be performed as needed.
When data is processed, a large number of parameters, such as a security algorithm, an integrity protection or integrity verification KEY, an encryption or decryption KEY, a count value, a radio bearer identifier, a data direction, etc., need to be transmitted and then copied to a buffer in sequence for processing, and when a large number of data are processed, the parameters need to be transmitted repeatedly for each data, which results in large system overhead and low processing efficiency.
In the embodiment of the invention, before data is processed, fixed and unchangeable parameters such as a security algorithm, an integrity protection or integrity verification KEY, an encryption or decryption KEY and the like can be stored in a cache region in advance, and only variable parameters such as a count value, a wireless bearing identifier, an output address and the like are transmitted in real time, so that repeated transmission of the parameters during processing of a plurality of data is avoided, the consumption of the transmission parameters is reduced, the system overhead is saved, and the system processing efficiency is improved.
The following examples illustrate the invention in detail:
referring to fig. 2, a flowchart of steps of a method for data processing according to an embodiment of the present invention is shown, where the method may be applied to a base station side or a user equipment side.
Specifically, the method can comprise the following steps:
each attribute type set may be composed of one or more attribute types, an attribute type may include a security mode, and an attribute type may further include any one of the following:
data type, data direction.
As an example, the security means may comprise any one or more of:
encryption, decryption, integrity protection and integrity verification.
The data type may include a signaling radio bearer, a data radio bearer.
The data direction may include an uplink direction and a downlink direction.
Because different data and different processing requirements for the data exist in the communication process, one or more attribute types can be predetermined, and a plurality of attribute type sets can be obtained by arranging and combining the one or more attribute types.
For example, the attribute types include a data type, a data direction, and a security mode, where the data type includes a signaling radio bearer and a data radio bearer, the data direction includes an uplink direction and a downlink direction, and the security mode includes encryption, decryption, integrity protection, and integrity verification, then the following attribute type sets exist:
attribute type set 1: signaling radio bearer + uplink + integrity protection/integrity verification
Attribute type set 2: signaling radio bearer + uplink + encryption/decryption
Attribute type set 3: signaling radio bearer + downlink direction + integrity protection/integrity verification
Attribute type set 4: signaling radio bearer + downlink direction + encryption/decryption
Attribute type set 5: data radio bearer + uplink + integrity protection/integrity verification
Attribute type set 6: data radio bearer + uplink + encryption/decryption
Attribute type set 7: data radio bearer + downlink direction + integrity protection/integrity verification
Attribute type set 8: data radio bearer + downlink direction + encryption/decryption
For each attribute type set, a cache region corresponding to the attribute type set may be allocated, which may be an individual cache space, and then a first parameter set corresponding to the attribute type set may be obtained, and the first parameter set is stored in the cache region corresponding to the attribute type set.
since the fixed first parameter set is pre-stored before the data processing, the target data can be analyzed after the target data is obtained, and the target attribute type set corresponding to the target data is determined from the preset multiple attribute type sets.
For example, the target data is signaling radio bearer data in the uplink direction, and integrity protection is required, then the target attribute type set corresponding to the target data is the attribute type set 1 in the foregoing.
In an embodiment of the present invention, before determining the target attribute type set corresponding to the target data, the method may further include the following steps:
judging whether the target data is data in a specified data packet; and when the target data is the data in the specified data packet, executing the determination of the target attribute type set corresponding to the target data.
In this regard, as shown in fig. 1, the designated Data packet may be a Data packet associated with a Data Service Unit (SDU), and the Data Service Unit may be a Data Service Unit based on a packet Data convergence protocol.
Since the processing of the data may be only for partial data, such as only for data in a packet associated with a packet data convergence protocol-based data service unit, before determining the target attribute type set, it may be determined whether the target data is data in a specified packet.
When the target data is not the data in the designated data packet, the processing may not be performed, and when the target data is the data in the designated data packet, the subsequent processing may be performed.
since different cache regions are allocated to different attribute type sets in advance, after the target attribute type set is determined, a target cache region corresponding to the target attribute type set can be determined, and then a target first parameter set corresponding to the stored target attribute type set can be obtained from the target cache region.
For example, the cache region corresponding to the attribute type set 3 (signaling radio bearer + downlink direction + integrity protection/integrity verification) is a C disk cache region, and the cache region corresponding to the attribute type set 4 (signaling radio bearer + downlink direction + encryption/decryption) is a D disk cache region.
When the target data is signaling radio bearer data in the downlink direction, integrity protection can be performed, and then the target attribute type set corresponding to the target data is an attribute type set 3, and the target storage area is a C-disk cache area.
After integrity protection is performed, the target data after integrity protection may be continuously encrypted, and then it may be determined that a target attribute type set corresponding to the target data after integrity protection is an attribute type set 4, and then the target storage area is a D disk cache area.
For another example, the cache region corresponding to the attribute type set 1 (signaling radio bearer + uplink direction + integrity protection/integrity verification) is an a disk cache region, and the cache region corresponding to the attribute type set 2 (signaling radio bearer + uplink direction + encryption/decryption) is a B disk cache region.
When the target data is signaling radio bearer data in the uplink direction, decryption can be performed, and then the target attribute type set corresponding to the target data is the attribute type set 2, and the target storage area is a B-disk cache area.
After decryption, integrity verification may be continuously performed on the decrypted target data, and it may be determined that a target attribute type set corresponding to the decrypted target data is an attribute type set 1, and the target storage area is an a-disk cache area.
And 204, processing the target data by adopting the target first parameter set.
After the target first parameter set is obtained, the target data may be processed, such as encryption, decryption, integrity protection, integrity verification, and the like, by using the target first parameter set.
In the embodiment of the invention, the first parameter sets are respectively obtained aiming at the preset attribute type sets, the first parameter sets are stored in the cache regions corresponding to the attribute type sets, the target data are obtained, the target attribute type sets corresponding to the target data are determined, the target cache regions corresponding to the target attribute type sets are determined, the target first parameter sets stored in the target cache regions are obtained, and the target first parameter sets are adopted to process the target data, so that the parameters are stored in the cache regions in advance before the data are processed, the repeated parameter transmission during the processing of a plurality of data is avoided, the consumption of the parameter transmission is reduced, the system overhead is saved, and the processing efficiency is improved.
Referring to fig. 3, a flowchart illustrating steps of another data processing method according to an embodiment of the present invention is shown, which may specifically include the following steps:
because different data and different processing requirements for the data exist in the communication process, one or more attribute types can be predetermined, and a plurality of attribute type sets can be obtained by arranging and combining the one or more attribute types.
For example, the attribute types include a data type, a data direction, and a security mode, where the data type includes a signaling radio bearer and a data radio bearer, the data direction includes an uplink direction and a downlink direction, and the security mode includes encryption, decryption, integrity protection, and integrity verification, then the following attribute type sets exist:
attribute type set 1: signaling radio bearer + uplink + integrity protection/integrity verification
Attribute type set 2: signaling radio bearer + uplink + encryption/decryption
Attribute type set 3: signaling radio bearer + downlink direction + integrity protection/integrity verification
Attribute type set 4: signaling radio bearer + downlink direction + encryption/decryption
Attribute type set 5: data radio bearer + uplink + integrity protection/integrity verification
Attribute type set 6: data radio bearer + uplink + encryption/decryption
Attribute type set 7: data radio bearer + downlink direction + integrity protection/integrity verification
Attribute type set 8: data radio bearer + downlink direction + encryption/decryption
For each attribute type set, a cache region corresponding to the attribute type set may be allocated, which may be a separate cache space.
for each attribute type set, a first parameter set corresponding to the attribute type set may be obtained, and the first parameter set is stored in a cache region corresponding to the attribute type set.
since the fixed first parameter set is pre-stored before the data processing, the target data can be analyzed after the target data is obtained, and the target attribute type set corresponding to the target data is determined from the preset multiple attribute type sets.
For example, if the target data is signaling radio bearer data in the uplink direction and integrity protection is required, the target attribute type set corresponding to the target data is "attribute type set 1" in the foregoing.
since different cache regions are allocated to different attribute type sets in advance, after the target attribute type set is determined, a target cache region corresponding to the target attribute type set can be determined, and then a target first parameter set corresponding to the stored target attribute type set can be obtained from the target cache region.
for the variable parameter, according to the condition of the target data, a second parameter set corresponding to the target data, such as a count value, a radio bearer identifier, an output address, etc., may be obtained from other areas.
And step 306, combining the target first parameter set and the second parameter set, and processing the target data.
After the second parameter set is obtained, the second parameter set and the data part of the target data can be filled in, combined with the target first parameter set in the target cache region, and transmitted to the hardware retarder for processing.
For example, in connection with the above property type set, there are several fill patterns:
for attribute type set 1:
first parameter set (integrity protection/integrity verification KEY of signaling radio bearer + uplink direction mark) + second parameter set + data part
For attribute type set 2: signaling radio bearer + uplink + encryption/decryption
First parameter set (ciphering/deciphering KEY of signaling radio bearer + uplink direction flag) + second parameter set + data part
For attribute type set 3: signaling radio bearer + downlink direction + integrity protection/integrity verification
First parameter set (integrity protection/integrity verification KEY of signaling radio bearer + downlink direction flag) + second parameter set + data part
For attribute type set 4: signaling radio bearer + downlink direction + encryption/decryption
First parameter set (ciphering/deciphering KEY of signaling radio bearer + downlink direction flag) + second parameter set + data part
For attribute type set 5: data radio bearer + uplink + integrity protection/integrity verification
First parameter set (integrity protection/integrity verification KEY of data radio bearer + uplink direction flag) + second parameter set + data part
For the attribute type set 6: data radio bearer + uplink + encryption/decryption
First parameter set (ciphering/deciphering KEY of data radio bearer + uplink direction flag) + second parameter set + data part
For the attribute type set 7: data radio bearer + downlink direction + integrity protection/integrity verification
First parameter set (integrity protection/integrity verification KEY of data radio bearer + downlink direction flag) + second parameter set + data part
For the attribute type set 8: data radio bearer + downlink direction + encryption/decryption
First parameter set (ciphering/deciphering KEY of data radio bearer + downlink direction flag) + second parameter set + data part
In the embodiment of the invention, a plurality of attribute type sets are created, a cache region corresponding to each attribute type set is determined, a first parameter set is respectively obtained aiming at a plurality of preset attribute type sets, the first parameter set is stored in the cache region corresponding to the attribute type set, target data is obtained, a target attribute type set corresponding to the target data is determined, a target cache region corresponding to the target attribute type set is determined, a target first parameter set stored in the target cache region is obtained, a second parameter set corresponding to the target data is determined, the target data is processed by combining the target first parameter set and the second parameter set, fixed parameters are stored in the cache region in advance before the data is processed, and the data is processed by combining variable parameters transmitted in real time, repeated transmission of parameters during processing of multiple data is avoided, and consumption of transmission parameters is reduced.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention is shown, which may specifically include the following modules:
a first parameter set storage module 401, configured to obtain, for a plurality of preset attribute type sets, first parameter sets respectively, and store the first parameter sets in cache regions corresponding to the attribute type sets;
a target attribute type set determining module 402, configured to obtain target data and determine a target attribute type set corresponding to the target data;
a target first parameter set obtaining module 403, configured to determine a target cache region corresponding to the target attribute type set, and obtain a target first parameter set stored in the target cache region;
and a target data processing module 404, configured to process the target data by using the target first parameter set.
In an embodiment of the present invention, the target data processing module 404 includes:
the second parameter set submodule is used for determining a second parameter set corresponding to the target data;
and the combination second parameter set processing submodule is used for combining the target first parameter set and the second parameter set to process the target data.
In an embodiment of the invention, the method further comprises
And the cache region determining module is used for creating a plurality of attribute type sets and determining the cache region corresponding to each attribute type set.
In an embodiment of the present invention, the method further includes:
the designated data judgment module is used for judging whether the target data is data in a designated data packet; and when the target data is the data in the specified data packet, calling the target attribute type set determination module 402.
In an embodiment of the present invention, the designated data packet is a data packet associated with a data service unit, and the data service unit is a packet data convergence protocol-based data service unit.
In an embodiment of the present invention, each attribute type set is composed of one or more attribute types, and the attribute types include a security mode;
the security means may comprise any one or more of:
encryption, decryption, integrity protection and integrity verification.
In an embodiment of the present invention, the attribute type further includes any one of: data type, data direction.
In the embodiment of the invention, the first parameter sets are respectively obtained aiming at the preset attribute type sets, the first parameter sets are stored in the cache regions corresponding to the attribute type sets, the target data are obtained, the target attribute type sets corresponding to the target data are determined, the target cache regions corresponding to the target attribute type sets are determined, the target first parameter sets stored in the target cache regions are obtained, and the target first parameter sets are adopted to process the target data, so that the parameters are stored in the cache regions in advance before the data are processed, the repeated parameter transmission during the processing of a plurality of data is avoided, the consumption of the parameter transmission is reduced, the system overhead is saved, and the processing efficiency is improved.
An embodiment of the present invention also provides an electronic device, which may include a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and when executed by the processor, the computer program implements the steps of the method for processing data as described above.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method of data processing as above.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and apparatus for data processing, the electronic device, and the storage medium provided above are introduced in detail, and a specific example is applied in this document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method of data processing, the method comprising:
respectively acquiring a first parameter set aiming at a plurality of preset attribute type sets, and storing the first parameter set in a cache region corresponding to the attribute type set;
acquiring target data and determining a target attribute type set corresponding to the target data;
determining a target cache region corresponding to the target attribute type set, and acquiring a target first parameter set stored in the target cache region;
and processing the target data by adopting the target first parameter set.
2. The method of claim 1, wherein processing the target data using the target first set of parameters comprises:
determining a second parameter set corresponding to the target data;
and processing the target data by combining the target first parameter set and the second parameter set.
3. The method according to claim 1 or 2, wherein before the obtaining first parameter sets for the preset attribute type sets and storing the first parameter sets in the cache regions corresponding to the attribute type sets, the method further comprises
And creating a plurality of attribute type sets, and determining a cache region corresponding to each attribute type set.
4. The method according to claim 1, further comprising, before said determining a target attribute type set corresponding to the target data:
judging whether the target data is data in a specified data packet;
and when the target data is the data in the specified data packet, executing the determination of the target attribute type set corresponding to the target data.
5. The method of claim 4, wherein the designated data packet is a data packet associated with a data service unit, and wherein the data service unit is a packet data convergence protocol-based data service unit.
6. The method of claim 1, wherein each set of attribute types consists of one or more attribute types, the attribute types including a security mode;
the security means may comprise any one or more of:
encryption, decryption, integrity protection and integrity verification.
7. The method of claim 6, wherein the attribute types further include any of: data type, data direction.
8. An apparatus for data processing, the apparatus comprising:
the first parameter set storage module is used for respectively acquiring a first parameter set aiming at a plurality of preset attribute type sets and storing the first parameter set in a cache region corresponding to the attribute type set;
the target attribute type set determining module is used for acquiring target data and determining a target attribute type set corresponding to the target data;
a target first parameter set obtaining module, configured to determine a target cache region corresponding to the target attribute type set, and obtain a target first parameter set stored in the target cache region;
and the target data processing module is used for processing the target data by adopting the target first parameter set.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the method of data processing according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of data processing according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010537882.0A CN113806397A (en) | 2020-06-12 | 2020-06-12 | Data processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010537882.0A CN113806397A (en) | 2020-06-12 | 2020-06-12 | Data processing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113806397A true CN113806397A (en) | 2021-12-17 |
Family
ID=78944111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010537882.0A Pending CN113806397A (en) | 2020-06-12 | 2020-06-12 | Data processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113806397A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153812A (en) * | 2017-11-24 | 2018-06-12 | 广州高清视信数码科技股份有限公司 | Method, apparatus, computer equipment and the storage medium of data communication |
CN108334549A (en) * | 2017-12-28 | 2018-07-27 | 海尔优家智能科技(北京)有限公司 | A kind of device data storage method, extracting method, storage platform and extraction platform |
CN108628947A (en) * | 2018-04-02 | 2018-10-09 | 阿里巴巴集团控股有限公司 | A kind of business rule matched processing method, device and processing equipment |
CN108958729A (en) * | 2017-05-19 | 2018-12-07 | 腾讯科技(深圳)有限公司 | A kind of data processing method, device and storage medium |
CN111078423A (en) * | 2019-11-21 | 2020-04-28 | 京东数字科技控股有限公司 | Data processing method, device, system and computer readable storage medium |
CN111078733A (en) * | 2019-11-26 | 2020-04-28 | 金蝶软件(中国)有限公司 | Batch task processing method and device, computer equipment and storage medium |
US20200175120A1 (en) * | 2018-11-29 | 2020-06-04 | International Business Machines Corporation | Multiple parameter based composite rule data validation |
-
2020
- 2020-06-12 CN CN202010537882.0A patent/CN113806397A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958729A (en) * | 2017-05-19 | 2018-12-07 | 腾讯科技(深圳)有限公司 | A kind of data processing method, device and storage medium |
CN108153812A (en) * | 2017-11-24 | 2018-06-12 | 广州高清视信数码科技股份有限公司 | Method, apparatus, computer equipment and the storage medium of data communication |
CN108334549A (en) * | 2017-12-28 | 2018-07-27 | 海尔优家智能科技(北京)有限公司 | A kind of device data storage method, extracting method, storage platform and extraction platform |
CN108628947A (en) * | 2018-04-02 | 2018-10-09 | 阿里巴巴集团控股有限公司 | A kind of business rule matched processing method, device and processing equipment |
US20200175120A1 (en) * | 2018-11-29 | 2020-06-04 | International Business Machines Corporation | Multiple parameter based composite rule data validation |
CN111078423A (en) * | 2019-11-21 | 2020-04-28 | 京东数字科技控股有限公司 | Data processing method, device, system and computer readable storage medium |
CN111078733A (en) * | 2019-11-26 | 2020-04-28 | 金蝶软件(中国)有限公司 | Batch task processing method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107770182B (en) | Data storage method of home gateway and home gateway | |
CN105577379A (en) | Information processing method and apparatus thereof | |
CN113032357A (en) | File storage method and device and server | |
CN111148094B (en) | Registration method of 5G user terminal, user terminal equipment and medium | |
WO2017167102A1 (en) | Methods for generating and verifying message integrity authentication information, device, and verification system | |
CN111865872A (en) | Method and equipment for realizing terminal security policy in network slice | |
CN108494764B (en) | Identity authentication method and device | |
CN116455572B (en) | Data encryption method, device and equipment | |
CN111148213B (en) | Registration method of 5G user terminal, user terminal equipment and medium | |
CN108055356A (en) | A kind of information processing method, server, client and readable storage medium storing program for executing | |
US10420076B2 (en) | Resource allocation method and device and information feedback method and device | |
CN110087338B (en) | Method and equipment for authenticating narrowband Internet of things | |
CN109195139B (en) | Data transmission method, device, platform and medium for M2M management platform and eSIM card | |
CN113806397A (en) | Data processing method and device, electronic equipment and storage medium | |
CN109729515B (en) | Method for realizing machine-card binding, user identification card and Internet of things terminal | |
CN111132149A (en) | Registration method of 5G user terminal, user terminal equipment and medium | |
CN107800758B (en) | Wind control data processing method, device and system | |
CN103517267B (en) | System, method and device for determining actual code number | |
CN115567297A (en) | Cross-site request data processing method and device | |
CN110765147B (en) | Content updating method based on block chain encrypted storage, user node and medium | |
CN111600717B (en) | SM 2-based decryption method, system, electronic equipment and storage medium | |
CN111132156B (en) | Registration method of 5G user terminal, user terminal equipment and medium | |
CN111193706B (en) | Identity verification method and device | |
CN110881176B (en) | Method for improving utilization rate of vehicle-to-X communication device and vehicle-to-X communication device | |
CN111771357B (en) | TLS certificate authentication method, device, equipment and 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 |