CN112307139A - Data processing method, device, server and storage medium - Google Patents

Data processing method, device, server and storage medium Download PDF

Info

Publication number
CN112307139A
CN112307139A CN201910694420.7A CN201910694420A CN112307139A CN 112307139 A CN112307139 A CN 112307139A CN 201910694420 A CN201910694420 A CN 201910694420A CN 112307139 A CN112307139 A CN 112307139A
Authority
CN
China
Prior art keywords
value
attribute
true value
precision
service
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
Application number
CN201910694420.7A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910694420.7A priority Critical patent/CN112307139A/en
Publication of CN112307139A publication Critical patent/CN112307139A/en
Pending legal-status Critical Current

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/29Geographical information databases
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3667Display of a road map
    • G01C21/367Details, e.g. road map scale, orientation, zooming, illumination, level of detail, scrolling of road map or positioning of current position marker

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the invention provides a data processing method, a data processing device, a server and a storage medium, wherein the method comprises the following steps: acquiring an attribute true value of a high-precision geographic element needing true value hiding; and carrying out precision reduction processing on the attribute true value by using a preset precision adjustment parameter to obtain an attribute service value of the attribute true value in a service scene, wherein the precision adjustment parameter has relevance with the service scene. The embodiment of the invention can hide the true value of the attribute of the high-precision map data to produce the high-precision map data suitable for the actual service scene.

Description

Data processing method, device, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data processing method, a data processing device, a server and a storage medium.
Background
Since the common map data cannot provide support for more refined map navigation service and cannot meet the requirements of assistant driving and even automatic driving, the high-precision map data is produced as the hardware technology capability is improved. Compared with the ordinary map data, the high-precision map data has the advantages of higher data precision, more refined attributes and the like. For example, the data accuracy can reach the decimeter level, and the road data can include the number of lanes, the gradient, the curvature and other data.
The inventor of the present invention finds, in the course of research on the prior art, that a problem in applying high-precision map data to an actual business scenario (such as automatic driving) is: some attributes in the high-precision map data cannot be directly expressed by true values, and the problem caused by hiding the true values is how to ensure the data precision requirement of an actual business scene, so that how to produce the high-precision map data suitable for the actual business scene under the condition that part of attributes of the high-precision map data cannot be directly expressed by the true values becomes a problem to be solved urgently by the technical personnel in the field.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data processing method, an apparatus, a server, and a storage medium, so as to perform true value hiding on attributes of high-precision map data, thereby producing high-precision map data suitable for use in an actual service scenario.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a method of data processing, comprising:
acquiring an attribute true value of a high-precision geographic element needing true value hiding;
and carrying out precision reduction processing on the attribute true value by using a preset precision adjustment parameter to obtain an attribute service value of the attribute true value in a service scene, wherein the precision adjustment parameter has relevance with the service scene.
Optionally, the high-precision geographic element is a high-precision road, and the obtaining of the attribute true value that the high-precision geographic element needs to be subjected to true value hiding includes:
acquiring an attribute true value needing true value hiding from attribute data of a shape point of a high-precision road;
after obtaining the attribute true value, the method further includes:
and associating the attribute service value in the attribute data of the form point.
Optionally, the preset precision adjustment parameter includes a preset target decimal point digit number; the adjusting the parameter with the preset precision, and performing precision reduction processing on the attribute true value to obtain an attribute service value of the attribute true value in a service scene includes:
and adjusting the precision of the attribute true value according to the target decimal point digit to obtain an attribute service value of the attribute true value in a service scene.
Optionally, the adjusting, according to the target decimal point number, the precision of the attribute true value to obtain the attribute service value of the attribute true value in a service scene includes:
dividing the attribute true value by a-n power of a set value, and rounding the result to obtain an attribute service value; wherein n is the target decimal point digit.
Optionally, the adjusting, according to the target decimal point number, the precision of the attribute true value to obtain the attribute service value of the attribute true value in a service scene includes:
and intercepting the attribute true degree according to the target decimal point digit to obtain an attribute service value of which the decimal point digit is matched with the target decimal point digit.
Optionally, the attribute true value is a road height true value, a road gradient true value, or a road curvature true value.
The embodiment of the invention also provides a data processing method, which comprises the following steps:
acquiring a true value of the road height of the high-precision geographic element needing true value hiding;
dividing the road height true value by a-n power of a set value, and rounding the result to obtain a road height service value of the road height true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
The embodiment of the invention also provides a data processing method, which comprises the following steps:
acquiring a road slope truth value of a high-precision geographic element needing truth value hiding;
dividing the road slope true value by a-n power of a set value, and rounding the result to obtain a road slope service value of the road slope true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
The embodiment of the invention also provides a data processing method, which comprises the following steps:
acquiring a road curvature truth value of a high-precision geographic element needing truth value hiding;
dividing the road curvature true value by a-n power of a set value, and rounding the result to obtain a road curvature service value of the road curvature true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
The embodiment of the invention also provides a data processing method for driving decision, which is implemented to obtain the attribute service value for driving decision.
The embodiment of the invention also provides a data processing method for path planning, which is executed to obtain the attribute service value for path planning.
An embodiment of the present invention further provides a data processing apparatus, including:
the truth value acquisition module is used for acquiring an attribute truth value of the high-precision geographic element needing truth value hiding;
and the precision adjusting module is used for reducing the precision of the attribute true value according to a preset precision adjusting parameter to obtain an attribute service value of the attribute true value in a service scene, and the precision adjusting parameter has relevance with the service scene.
An embodiment of the present invention further provides a data processing server, where the data processing server is configured to:
responding to a high-precision geographic element processing request, and acquiring an attribute true value which is carried by the request and needs to be subjected to true value hiding and a service scene corresponding to the high-precision geographic element;
and performing precision reduction processing on the attribute true value according to a precision adjustment parameter corresponding to the service scene to obtain an attribute service value of the attribute true value in the service scene.
An embodiment of the present invention further provides a storage medium, where the storage medium stores a program for executing the data processing method, or stores a program for executing the data processing method for driving decision, or stores a program for executing the data processing method for path planning.
According to the data processing method provided by the embodiment of the invention, the attribute true value of the high-precision geographic element needing true value hiding can be obtained, so that the accuracy of the attribute true value is reduced by adjusting parameters with preset accuracy, the attribute service value of the attribute true value in a service scene is obtained, and true value hiding of the attribute true value is realized; meanwhile, the precision adjustment parameter has relevance with the service scene, so that the attribute service value obtained by performing precision reduction processing on the attribute true value by using a preset precision adjustment parameter can meet the data precision requirement of the actual service scene. Therefore, the data processing method provided by the embodiment of the invention can be used for carrying out true value hiding on the attribute of the high-precision map data and producing the high-precision map data suitable for being used in an actual service scene.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is another flow chart of a data processing method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an example of a true road curvature value;
FIG. 4 is a diagram illustrating an example of a true value of a road cross slope at a shape point;
FIG. 5 is a diagram illustrating an example of a true value of a longitudinal slope of a road at a shape point;
FIG. 6 is a diagram illustrating an example of a true value of a heading angle of a centroid;
FIG. 7 is a flowchart of a data processing method according to an embodiment of the present invention;
FIG. 8 is a flowchart of a data processing method according to an embodiment of the present invention;
FIG. 9 is a flowchart of a data processing method according to an embodiment of the present invention;
FIG. 10 is a block diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 11 is another block diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 12 is a block diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
Due to the consideration of data confidentiality and safety, part of attributes of the high-precision map data cannot be directly applied to an actual service scene (such as automatic driving) by using a true value, but the high-precision map data can be applied to the actual service scene only after the true value of part of attributes in the high-precision map data is hidden; therefore, how to hide the true value of the high-precision map data and meet the data precision requirement of the actual business scene becomes a problem that needs to be solved urgently by high-precision map data producers.
Based on this, embodiments of the present invention provide a data processing method, an apparatus, and a storage medium, so as to perform true value hiding on attributes of high-precision map data, thereby producing high-precision map data suitable for use in an actual service scene.
The technical solutions in the embodiments of the present invention will be described clearly and originally in conjunction with the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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.
As an alternative implementation, fig. 1 shows an alternative flow of the data processing method provided in the embodiment of the present invention, and referring to fig. 1, the flow may include:
step S10, obtaining the true value of the attribute that the high-precision geographic element needs to be hidden.
The high-precision geographic elements are geographic elements in the high-precision map data, and the high-precision geographic elements are high-precision roads in the high-precision map data. The true value of the attribute of the high-precision geographic element may be a true value of the attribute of the high-precision geographic element, for example, an actually measured attribute value of the high-precision geographic element.
Optionally, the attribute true value of the high-precision geographic element may be recorded in the attribute data of the high-precision geographic element, and the embodiment of the present invention may obtain the attribute true value that the high-precision geographic element needs to perform true value hiding from the attribute data of the high-precision geographic element.
Step S11, performing precision reduction processing on the attribute true value according to a preset precision adjustment parameter to obtain an attribute service value of the attribute true value in a service scene, where the precision adjustment parameter has a correlation with the service scene.
According to the embodiment of the invention, the precision adjustment parameters can be preset according to the precision requirement of the actual service scene on the attribute values of the high-precision geographic elements, namely, the preset precision adjustment parameters have relevance with the service scene, and the data precision of the attribute values of the high-precision geographic elements meets the requirement of the preset precision adjustment parameters, so that the attribute values of the high-precision geographic elements can be considered to meet the data precision requirement of the actual service scene, and the method is suitable for the actual service scene;
on the basis of presetting the precision adjustment parameter, the embodiment of the invention can carry out precision reduction processing on the attribute true value by using the preset precision adjustment parameter, thereby reducing the data precision of the attribute true value, hiding the attribute true value, and obtaining the attribute service value of the attribute true value in a service scene; meanwhile, the preset precision adjustment parameter has relevance with the service scene, so that the obtained attribute service value can be suitable for the use of the actual service scene.
According to the data processing method provided by the embodiment of the invention, the attribute true value of the high-precision geographic element needing true value hiding can be obtained, so that the accuracy of the attribute true value is reduced by adjusting parameters with preset accuracy, the attribute service value of the attribute true value in a service scene is obtained, and true value hiding of the attribute true value is realized; meanwhile, the precision adjustment parameter has relevance with the service scene, so that the attribute service value obtained by processing the attribute true value with reduced precision according to the preset precision adjustment parameter can meet the data precision requirement of the actual service scene, and is suitable for the use of the actual service scene. Therefore, the data processing method provided by the embodiment of the invention can be used for hiding the true value of the attribute of the high-precision map data and producing the high-precision map data suitable for a service scene.
In an optional implementation, the high-precision geographic element may be a high-precision road in high-precision map data, the high-precision road may be formed by shape points, and when the high-precision map data is applied in automatic driving, part of attribute true values of the shape points cannot be directly provided to an automatic driving manufacturer due to data confidentiality and safety considerations, but true value hiding is required to be performed, and after an attribute service value of the shape points is obtained, the attribute service value after the true value hiding is provided to the automatic driving manufacturer, so that the attribute service value after the true value hiding can be suitable for use of an automatic driving technology, and the automatic driving manufacturer cannot directly calculate the attribute true value of the shape points. Based on this, the embodiments of the present invention need to realize that: and acquiring an attribute true value needing true value hiding from the attribute data of the shape point of the high-precision road, and performing precision reduction processing on the attribute true value so that the processed attribute service value of the shape point can meet the data confidentiality requirement and the data precision requirement of the automatic driving technology.
Optionally, fig. 2 shows another flow of the data processing method provided in the embodiment of the present invention, and referring to fig. 2, the flow may include:
step S20, obtaining an attribute true value to be hidden as a true value from the attribute data of the feature point of the high-precision road.
The attribute data of the shape points can record attribute values such as a road height value, a road slope value, a road curvature value, a course angle and the like; the type of the attribute true value that needs to be hidden can be set according to the actual situation, and the attribute true value is at least one of a road height true value, a road gradient true value, a road curvature true value, and the like.
For any shape point of the high-precision road, the embodiment of the invention may obtain the attribute true value that needs to be subjected to true value hiding from the attribute data of any shape point of the high-precision road, for example, obtain at least one attribute true value such as a road height true value, a road slope true value, a road curvature true value, etc. that needs to be subjected to true value hiding from the attribute data of any shape point of the high-precision road.
Step S21, performing precision reduction processing on the attribute true value according to a preset precision adjustment parameter to obtain an attribute service value of the attribute true value in a service scene, where the precision adjustment parameter has a correlation with the service scene.
Optionally, the introduction of step S21 can refer to the description of step S11, and is not repeated here.
And step S22, associating the attribute service value in the attribute data of the shape point.
Optionally, in the embodiment of the present invention, the attribute true value of the shape point may be deleted from the attribute data of the shape point, and the attribute service value may be added.
After the attribute service value is obtained, the attribute service value can be considered as a processing result which is obtained by hiding the true value of the attribute of the form point and accords with the data precision requirement of the actual service scene; the embodiment of the invention can associate the attribute service value with the attribute data of the shape point, thereby endowing the attribute service value to the corresponding shape point; after the shape points in the high-precision map data are associated with the attribute service values, the high-precision map data can be used in actual service scenes (such as automatic driving, path planning and the like), namely, the high-precision map data can not only realize true value hiding of the attributes, but also meet the data precision requirement of the actual service scenes, and is suitable for the use of the actual service scenes.
Optionally, the attribute true value of the shape point of the high-precision road can be obtained according to actual measurement and calculation, and the calculated attribute true value can be recorded in the attribute data of the shape point of the high-precision road of the high-precision map data, so that the attribute true value needing true value hiding can be obtained from the attribute data of the shape point of the high-precision road; the following example illustrates the calculation process of the road curvature true value, the road slope true value (divided into the road cross slope true value and the road longitudinal slope true value) and the course angle true value of the shape point of the high-precision road, which can be referred to.
For example, fig. 3 shows an exemplary diagram of calculating a true road curvature value of a shape point, where the true road curvature value of a certain shape point on a lane line of a high-precision road may be calculated by a front shape point and a rear shape point adjacent to the shape point on the lane line; as shown in fig. 3, if M is a shape point on the lane line of the high-precision road for which a true road curvature value needs to be calculated, the true road curvature value of the shape point M can be calculated by using the adjacent front and rear shape points M-1 and M +1 of the shape point M on the lane line; the way of calculating the true value of the road curvature of the shape point M may be:
Figure BDA0002148917470000081
for example, fig. 4 shows an exemplary graph of calculating a true value of a road cross slope of a shape point, where the true value of the road cross slope of the shape point may be represented by an angle or a ratio, and if the true value of the road cross slope of the shape point is represented by a ratio, the true value of the road cross slope of the shape point M0 in fig. 4 may be represented as: the height difference between the shape point M0 and the corresponding shape point on the adjacent lane line (e.g., the shape point M or the shape point M1) is divided by the horizontal distance between the shape point M0 and the corresponding shape point on the adjacent lane line; namely, the true value of the road cross slope of the shape point M0 in fig. 4 may be: (h/L) 100%.
For example, fig. 5 shows an example of calculating a true value of a longitudinal slope of a road at a shape point, where the true value of the longitudinal slope of the road at the shape point may be represented by an angle or a ratio, and if the true value of the longitudinal slope of the road at the shape point is represented by a ratio, the true value of the longitudinal slope of the road at the shape point M1 in fig. 5 may be represented by a ratio of a vertical distance to a horizontal distance of the shape point M1, for example, the true value of the longitudinal slope of the road at the shape point M1 is: (h/L) 100%.
For example, fig. 6 shows an example of calculating a true value of a heading angle of a shape point, where shape points on a lane line are illustrated as M, M0 and M1, a coordinate system is constructed by taking the shape point M as a polar origin and a north-positive direction as a y-axis, and when a heading angle of the shape point M1 is calculated, dx in fig. 6 is M1.x-M.x (i.e., an x-coordinate value of the shape point M1 is subtracted from an x-coordinate value of the shape point M), and dy is M1.y-M.y (i.e., a y-coordinate value of the shape point M1 is subtracted from a y-coordinate value of the shape point M), and a true value of the heading angle of the shape point M1 is: 90-arctan ((dy/dx)). times.180/PI.
Of course, the embodiment of the present invention is not limited to the calculation manner of the property true value of each type of the shape point, and the calculation manner illustrated above is only an optional manner.
As an optional implementation, the attribute true value may be a floating point value, and the preset precision adjustment parameter may be a target decimal point number (a decimal point number is a number of digits on the right of a decimal point) preset according to an actual service scene, and correspondingly, in the embodiment of the present invention, the precision of the attribute true value may be adjusted according to the target decimal point number, so as to obtain the attribute service value of the attribute true value in the service scene.
In an optional implementation, the embodiment of the present invention may intercept the attribute true value according to a target decimal point digit, so as to obtain an attribute service value. Optionally, fig. 7 shows another optional flow of the data processing method provided in the embodiment of the present invention, and referring to fig. 7, the flow may include:
step S30, obtaining the true value of the attribute that the high-precision geographic element needs to be hidden.
Optionally, in the embodiment of the present invention, an attribute true value to be hidden is obtained from attribute data of a shape point of a high-precision road. Optionally, the obtained attribute true value may be a floating point value; for example, taking the example of a ratio representing a true value of a road slope, one specific example of a true value of a road slope may be 1.534466; it can be seen that the attribute true value can be a floating point value with a number of decimal point digits.
And step S31, intercepting the attribute true value according to a preset target decimal point digit to obtain an attribute service value of which the decimal point digit is matched with the target decimal point digit.
Optionally, the target decimal point number is an optional form of the precision adjustment parameter, for example, the target decimal point number may be considered as a decimal point number having a correlation with a service scenario and satisfying an attribute value of a data precision requirement of the service scenario; the embodiment of the invention can intercept the attribute true value according to the target decimal point digit, thereby obtaining the attribute service value with the decimal point digit consistent with the target decimal point digit.
In an example, according to the target decimal point digit, the embodiment of the present invention may select a data value whose decimal point digit matches the target decimal point digit from the attribute true value, so as to obtain an attribute service value; for example, taking a ratio representing a true value of a road slope as an example, a specific example of the true value of the road slope may be 1.534466, and assuming that the decimal point number meeting the data accuracy requirement of a service scene is 2 bits, that is, the target decimal point number is 2, the embodiment of the present invention may select a data value 1.53 matching the target decimal point number of 2 from the true value 1.534466 of the road slope, so as to obtain a road slope service value; it can be seen that the road slope service value 1.53 is different from the road slope true value 1.534466, so that true value hiding of the road slope true value can be realized, and meanwhile, the decimal point number of the road slope service value is matched with the preset target decimal point number required by a service scene, so that the road slope service value can meet the data precision requirement of the service scene, and is suitable for use in the service scene.
In another alternative implementation, the embodiment of the present invention may also take the attribute service value as an integer, thereby facilitating mathematical computation; optionally, fig. 8 shows another optional flow of the map data processing method according to the embodiment of the present invention, and referring to fig. 8, the flow may include:
step S40, obtaining the true value of the attribute that the high-precision geographic element needs to be hidden.
Step S41, dividing the attribute true value by the-n power of the set value, and rounding the result to obtain an attribute service value; wherein n is the target decimal point digit.
Optionally, the set value may be a value selected according to an actual service condition, for example, the set value is 10 or any other value, taking the set value as X as an example, the embodiment of the present invention may divide the attribute true value by the-n power of X, and integrate the result to obtain an attribute service value; wherein n is a preset target decimal point digit number having relevance with the service scene.
In an example, the set value may be 10, that is, in the embodiment of the present invention, the attribute true value may be divided by the-n power of 10, and the result is rounded to obtain the attribute service value; this processing manner is different from step S31, that is, in the embodiment of the present invention, instead of intercepting the attribute service value whose decimal point digit matches the target decimal point digit in the attribute true value, the data value whose decimal point digit matches the target decimal point digit in the attribute true value is further rounded and then used as the attribute service value; the processing can facilitate mathematical calculation and realize true value hiding of the attribute true value;
taking the ratio as the road slope true value, the target decimal point number is 2 for example, and a specific example of the road slope true value may be 1.534466, the road slope true value 1.534466 may be divided by 10 to the power of (-2), and the calculation result may be integrated to obtain the road slope traffic value 153.
Correspondingly, when the attribute service value is used in service scenes such as automatic driving and the like, the embodiment of the invention can also restore the attribute service value into a corresponding floating point number according to the target decimal point digit, so that the restored floating point number can be used in service scenes such as automatic driving and the like; for example, in the above example, the road slope traffic value 153 may be reduced to the floating-point number 1.53 according to the target decimal point number 2, and the reduced floating-point number 1.53 is different from the road slope true value 1.534466, so that the true value hiding of the road slope true value may be implemented, and the reduced floating-point number may also meet the data precision requirement of the traffic scenario.
The attribute true value includes a road height true value, and in one example, the embodiment of the present invention may obtain a road height true value that a high-precision geographic element needs to perform true value hiding, for example, obtain a road height true value that needs to perform true value hiding from attribute data of a shape point of a high-precision road; dividing the road height true value by the-n power of a set value, and rounding the result to obtain a road height service value of the road height true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
The attribute true value includes a road slope true value, and in one example, the embodiment of the present invention may obtain a road slope true value that a high-precision geographic element needs to perform true value hiding, for example, obtain a road slope true value that needs to perform true value hiding from attribute data of a form point of a high-precision road; dividing the road slope true value by a power of-n of a set value, and rounding the result to obtain a road slope service value of the road slope true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
The attribute true value comprises a road curvature true value, in one example, the embodiment of the invention can acquire the road curvature true value that the high-precision geographic element needs to do true value hiding, for example, the road curvature true value that the high-precision geographic element needs to do true value hiding is acquired from the attribute data of the shape point of the high-precision road; dividing the road curvature true value by the-n power of a set value, and rounding the result to obtain a road curvature service value of the road curvature true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
In yet another alternative implementation, the attribute service value may be a graded value obtained by grading the attribute true value, and in an example, the rounded attribute service value shown in fig. 8 may be directly used as the graded value; in another example, in consideration of hiding the true value of the attribute true value, the embodiment of the present invention may set a data value range corresponding to each classification value according to the target decimal point digit, so that the attribute true value may take the matched classification value as the attribute service value after matching the corresponding classification value;
optionally, fig. 9 shows yet another optional flow of the data processing method provided in the embodiment of the present invention, and referring to fig. 9, the flow may include:
step S50, obtaining the true value of the attribute that the high-precision geographic element needs to be hidden.
Optionally, the attribute true value to be hidden in the true value may be acquired from the attribute data of the feature point of the high-precision road. Optionally, the obtained property true value may be a floating point value.
Step S51, determining a target grade value corresponding to the attribute true value according to the corresponding relation between the preset grade value and the data value range, and taking the target grade value as an attribute service value; the decimal point digit of the data value in the data value range is a preset target decimal point digit, and the range size of each data value range corresponds to a set standard data value.
Optionally, step S51 may be regarded as an optional manner of adjusting the precision of the attribute true value according to the target decimal point number to obtain the attribute service value of the attribute true value in the service scenario.
Optionally, in the embodiment of the present invention, a data value range corresponding to each of the hierarchical values may be set according to a target decimal point digit having a correlation with a service scenario, so that the decimal point digit of a data value in the data value range is the target decimal point digit, and the range size of each data value range corresponds to the set standard data value; for example, taking the correspondence between the range of the heading angle and the range of the data value as an example, if the target decimal point digit is 2, and the angle of 0.01 ° is the standard data value, the range size of one data value range is 0.01 °, and the decimal point digit of each data value in each data value range is 2, optionally, table 1 below shows an example of the correspondence between the range of the heading angle and the range of the data value, and reference may be made.
Step value Range of data values
0 [0,0.01°)
1 [0.01°,0.02°)
2 [0.02°,0.03°)
TABLE 1
In the above example, the data value ranges corresponding to adjacent gradations may be linearly changed, that is, the difference between the maximum data value and the minimum data value of the data value ranges corresponding to the adjacent gradations is the same, that is, the range size of each data value range corresponds to the set standard data value; of course, it is only an option to set the data value ranges corresponding to adjacent gradation values to be linearly varied.
Under the condition that the corresponding relation between the grading value and the data value range is preset, the decimal point digit of the data value in the data value range is the target decimal point digit, and the range size of each data value range corresponds to the set standard data value, after the attribute true value is obtained, the data value range where the attribute true value is located can be determined from the corresponding relation, and the grading value corresponding to the data value range where the attribute true value is located is used as the attribute service value.
It can be seen that the attribute service value represents a stepped value corresponding to a data value range in which the attribute true value is located, that is, the embodiment of the present invention can implement true value hiding on the attribute true value by performing data value stepping on the attribute true value; meanwhile, the decimal point digit of the data value in the data value range corresponding to each grading value is the target decimal point digit, and the range size of the data value range corresponds to the set standard data value, so that the grading value corresponding to the data value range where the attribute true value is located is used as the attribute service value according to the preset corresponding relationship between the grading value and the data value range, and the obtained attribute service value can meet the data precision requirement of a service scene.
Correspondingly, when the attribute service value is used in a service scene such as automatic driving, the embodiment of the invention can determine the data value range corresponding to the attribute service value, so that the data value range corresponding to the attribute service value can be used in the service scene such as automatic driving.
In an optional application of the embodiment of the present invention, the attribute service value obtained by using the data processing method provided by the embodiment of the present invention may be used in scenarios such as automatic driving and assisted driving.
In an optional application example, an embodiment of the present invention further provides a data processing method for driving decision, where by executing the data processing method provided by the embodiment of the present invention, an attribute service value for driving decision may be obtained; optionally, the driving decision may be vehicle speed control, steering wheel control, light control (controlled light includes steering light, etc.), and the like;
for example, by executing the data processing method provided by the embodiment of the present invention, a true value of a road curvature may be hidden, so as to obtain a road curvature service value suitable for a driving decision scenario, and since the road curvature service value may be used to represent a degree of curvature of a road, the road curvature service value obtained by the embodiment of the present invention may be used for vehicle speed control, so as to control a vehicle speed based on the degree of curvature of the road represented by the road curvature service value; of course, the type of driving decision control and the type of attribute service value illustrated here are only optional, and the available driving decision scenarios may be determined according to actual application situations through the attribute service value obtained by the data processing method provided in the embodiment of the present invention, and various driving decision scenarios may have corresponding attribute service values, so that the attribute service values for various driving decision scenarios may be obtained by executing the data processing method provided in the embodiment of the present invention.
In another optional application example, an embodiment of the present invention further provides a data processing method for path planning, where by executing the data processing method provided in the embodiment of the present invention, an attribute service value for path planning can be obtained; optionally, the path planning may be path planning in a navigation scene, and a path from a start position to an end position is planned under the condition that the start position and the end position are determined, so that attribute service values such as a road curvature service value and a road slope service value can be obtained based on the data processing method provided by the embodiment of the present invention, and thus the path planning is performed; for example, based on the traffic value of the road curvature, the traffic value of the road gradient can determine the traffic difficulty of the road, so that a plurality of paths with low traffic difficulty can be planned. Therefore, by executing the data processing method provided by the embodiment of the invention, the attribute service value for path planning can be obtained.
The embodiment of the invention can hide the true value of the attribute of the high-precision map data to produce the high-precision map data suitable for the actual service scene.
While various embodiments of the present invention have been described above, various alternatives described in the various embodiments can be combined and cross-referenced without conflict to extend the variety of possible embodiments that can be considered disclosed and disclosed in connection with the embodiments of the present invention.
In the following, a data processing apparatus provided in an embodiment of the present invention is described, and the data processing apparatus described below may be considered as a functional module that is required to implement the data processing method provided in the embodiment of the present invention. The contents of the data processing apparatus described below may be referred to in correspondence with the contents of the data processing method described above.
Fig. 10 is a block diagram of a data processing apparatus according to an embodiment of the present invention, and referring to fig. 10, the data processing apparatus may include:
a truth value obtaining module 100, configured to obtain an attribute truth value that a high-precision geographic element needs to perform truth value hiding;
the precision adjustment module 110 is configured to perform precision reduction processing on the attribute true value according to a preset precision adjustment parameter to obtain an attribute service value of the attribute true value in a service scene, where the precision adjustment parameter has a correlation with the service scene.
Optionally, the high-precision geographic element may be a high-precision road; the truth value obtaining module 100 is configured to obtain an attribute truth value that a high-precision geographic element needs to perform truth value hiding, and may specifically include:
and acquiring an attribute true value needing true value hiding from attribute data of the shape point of the high-precision road.
Optionally, fig. 11 shows another block diagram of the data processing apparatus according to the embodiment of the present invention, and in combination with fig. 10 and fig. 11, the data processing apparatus may further include:
and the associating module 120 is configured to associate the attribute service value in the attribute data of the shape point.
Optionally, the associating module 120 may be executed after the precision adjusting module 110 obtains the attribute true value and the attribute service value in the service scenario.
Optionally, the property truth value may include at least one of the following: road height truth value, road slope truth value and road curvature truth value.
In an optional implementation, the preset precision adjustment parameter may include a preset target decimal place number; the precision adjusting module 110 is configured to perform precision reduction processing on the attribute true value according to a preset precision adjusting parameter, to obtain an attribute service value of the attribute true value in a service scenario, and may specifically include:
and adjusting the precision of the attribute true value according to the target decimal point digit to obtain an attribute service value of the attribute true value in a service scene.
Optionally, the precision adjusting module 110 is configured to adjust the precision of the attribute true value according to the target decimal point number, so as to obtain the attribute service value of the attribute true value in a service scenario, and may specifically include:
dividing the attribute true value by a-n power of a set value, and rounding the result to obtain an attribute service value; wherein n is the target decimal point digit.
Optionally, the precision adjusting module 110 is configured to adjust the precision of the attribute true value according to the target decimal point number, so as to obtain the attribute service value of the attribute true value in a service scenario, and may specifically include:
and intercepting the attribute true value according to the target decimal point digit to obtain an attribute service value of which the decimal point digit is matched with the target decimal point digit.
Optionally, if the property truth value comprises a road height truth value, the data processing apparatus may be configured to: acquiring a true value of the road height of the high-precision geographic element needing true value hiding; dividing the road height true value by a-n power of a set value, and rounding the result to obtain a road height service value of the road height true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
If the attribute true value comprises a road slope true value; the data processing apparatus may be operable to: acquiring a road slope truth value of a high-precision geographic element needing truth value hiding; dividing the road slope true value by a-n power of a set value, and rounding the result to obtain a road slope service value of the road slope true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
If the attribute true value comprises a road curvature true value; the data processing apparatus may be operable to: acquiring a road curvature truth value of a high-precision geographic element needing truth value hiding; dividing the road curvature true value by a-n power of a set value, and rounding the result to obtain a road curvature service value of the road curvature true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
In an alternative implementation, the embodiment of the present invention may further provide a data processing apparatus for driving decision, which may obtain the attribute business value for driving decision through the data processing apparatus shown in fig. 10.
In another alternative implementation, an embodiment of the present invention may further provide a data processing apparatus for path planning, where the apparatus may obtain the attribute service value for path planning through the data processing apparatus shown in fig. 10.
The embodiment of the invention also provides electronic equipment which can execute the data processing method provided by the embodiment of the invention; optionally, the electronic device may load the data processing apparatus in a program form to implement the data processing method provided in the embodiment of the present invention.
Optionally, fig. 12 is a block diagram of a hardware structure of an electronic device for implementing the data processing method provided in the embodiment of the present invention, where the electronic device may be a user-side device, such as a terminal device like a PC (personal computer), a smart phone, a tablet computer, or a network-side device, such as a single server or a server group consisting of multiple servers; as shown in fig. 12, the electronic device may include: at least one processor 1, at least one communication interface 2, at least one memory 3, and at least one communication bus 4;
in the embodiment of the invention, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete mutual communication through the communication bus 4;
optionally, the communication interface 2 may be an interface of a communication module, and may be used for network communication; a communication module such as a mobile communication module, a wifi communication module, etc.;
the processor 1 may be a Central Processing Unit (CPU), or an application Specific Integrated circuit (asic), or one or more Integrated circuits configured to implement an embodiment of the invention.
The memory 3 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory;
in this embodiment of the present invention, the memory 3 may store a program for implementing the data processing method provided in this embodiment of the present invention, and the processor 1 may call the program stored in the memory 3 to execute the data processing method provided in this embodiment of the present invention.
In an alternative implementation, the memory 3 may store a program implementing the data processing method for driving decision provided by the embodiment of the present invention, and the processor 1 may call the program. In yet another alternative implementation, the memory 3 may store a program implementing the data processing method for path planning provided by the embodiment of the present invention, and the processor 1 may call the program.
An embodiment of the present invention further provides a data processing server, where the data processing server may be configured to: responding to a high-precision geographic element processing request, and acquiring an attribute true value which is carried by the request and needs to be subjected to true value hiding and a service scene corresponding to the high-precision geographic element; and performing precision reduction processing on the attribute true value according to a precision adjustment parameter corresponding to the service scene to obtain an attribute service value of the attribute true value in the service scene.
Optionally, the data processing server may be an optional form of the electronic device. The functions of the data processing server described above may be configured in the form of a program.
The embodiment of the invention also provides a storage medium which can store a program for executing the data processing method provided by the embodiment of the invention. Optionally, the storage medium may also store a program for executing the data processing method for driving decision provided by the embodiment of the present invention, or store a program for executing the data processing method for path planning provided by the embodiment of the present invention.
The detailed functions and the extended functions of the programs described above can be referred to the descriptions of the corresponding parts.
Although the embodiments of the present invention have been disclosed, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A data processing method, comprising:
acquiring an attribute true value of a high-precision geographic element needing true value hiding;
and carrying out precision reduction processing on the attribute true value by using a preset precision adjustment parameter to obtain an attribute service value of the attribute true value in a service scene, wherein the precision adjustment parameter has relevance with the service scene.
2. The data processing method of claim 1, wherein the high-precision geographic element is a high-precision road, and the obtaining the attribute true value of the high-precision geographic element required to be subjected to true value hiding comprises:
acquiring an attribute true value needing true value hiding from attribute data of a shape point of a high-precision road;
after obtaining the attribute true value, the method further includes:
and associating the attribute service value in the attribute data of the form point.
3. The data processing method according to claim 1 or 2, wherein the preset precision adjustment parameter comprises a preset target decimal point number; the adjusting the parameter with the preset precision, and performing precision reduction processing on the attribute true value to obtain an attribute service value of the attribute true value in a service scene includes:
and adjusting the precision of the attribute true value according to the target decimal point digit to obtain an attribute service value of the attribute true value in a service scene.
4. The data processing method according to claim 3, wherein the adjusting the precision of the attribute true value according to the target decimal point number, and obtaining the attribute service value of the attribute true value in a service scenario includes:
dividing the attribute true value by a-n power of a set value, and rounding the result to obtain an attribute service value; wherein n is the target decimal point digit.
5. The data processing method according to claim 3, wherein the adjusting the precision of the attribute true value according to the target decimal point number, and obtaining the attribute service value of the attribute true value in a service scenario includes:
and intercepting the attribute true value according to the target decimal point digit to obtain an attribute service value of which the decimal point digit is matched with the target decimal point digit.
6. The data processing method of claim 2, wherein the property true value is a road height true value, a road slope true value, or a road curvature true value.
7. A data processing method, comprising:
acquiring a true value of the road height of the high-precision geographic element needing true value hiding;
dividing the road height true value by a-n power of a set value, and rounding the result to obtain a road height service value of the road height true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
8. A data processing method, comprising:
acquiring a road slope truth value of a high-precision geographic element needing truth value hiding;
dividing the road slope true value by a-n power of a set value, and rounding the result to obtain a road slope service value of the road slope true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
9. A data processing method, comprising:
acquiring a road curvature truth value of a high-precision geographic element needing truth value hiding;
dividing the road curvature true value by a-n power of a set value, and rounding the result to obtain a road curvature service value of the road curvature true value in a service scene; wherein n is a preset target decimal point digit number having relevance with the service scene.
10. A data processing method for driving decision, characterized in that the data processing method of any one of claims 1-6 is executed to obtain an attribute business value for driving decision.
11. A data processing method for path planning, characterized in that the data processing method of any one of claims 1 to 6 is executed to obtain an attribute service value for path planning.
12. A data processing apparatus, comprising:
the truth value acquisition module is used for acquiring an attribute truth value of the high-precision geographic element needing truth value hiding;
and the precision adjusting module is used for reducing the precision of the attribute true value according to a preset precision adjusting parameter to obtain an attribute service value of the attribute true value in a service scene, and the precision adjusting parameter has relevance with the service scene.
13. A data processing server, characterized in that the data processing server is configured to:
responding to a high-precision geographic element processing request, and acquiring an attribute true value which is carried by the request and needs to be subjected to true value hiding and a service scene corresponding to the high-precision geographic element;
and performing precision reduction processing on the attribute true value according to a precision adjustment parameter corresponding to the service scene to obtain an attribute service value of the attribute true value in the service scene.
14. A storage medium storing a program for executing the data processing method according to any one of claims 1 to 6, or storing a program for executing the data processing method according to claim 7, or storing a program for executing the data processing method according to claim 8, or storing a program for executing the data processing method according to claim 9, or storing a program for executing the data processing method for driving decision according to claim 10, or storing a program for executing the data processing method for path planning according to claim 11.
CN201910694420.7A 2019-07-30 2019-07-30 Data processing method, device, server and storage medium Pending CN112307139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910694420.7A CN112307139A (en) 2019-07-30 2019-07-30 Data processing method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910694420.7A CN112307139A (en) 2019-07-30 2019-07-30 Data processing method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN112307139A true CN112307139A (en) 2021-02-02

Family

ID=74330299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910694420.7A Pending CN112307139A (en) 2019-07-30 2019-07-30 Data processing method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN112307139A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09304093A (en) * 1996-05-09 1997-11-28 Alpine Electron Inc Method for correcting current position of moving body
JP2003302898A (en) * 2002-04-11 2003-10-24 Hitachi Ltd Map analyzing device and program for realizing the same
CN102509058A (en) * 2011-11-04 2012-06-20 南京师范大学 Point type GIS vector data disguise and recovery method based on redundant bit replacement
US20150084961A1 (en) * 2013-09-20 2015-03-26 Oracle International Corporation Map performance by dynamically reducing map detail
CN104657669A (en) * 2015-02-13 2015-05-27 南京师范大学 Precision controllable line and plane geographic element information disguising and restoring method
CN108009230A (en) * 2017-11-29 2018-05-08 中煤航测遥感集团有限公司 Data processing method and device
CN108204819A (en) * 2016-12-19 2018-06-26 北京四维图新科技股份有限公司 A kind of map datum automatic testing method and device and hybrid navigation system
CN108492338A (en) * 2018-02-09 2018-09-04 腾讯科技(深圳)有限公司 Compression method, device, storage medium and the electronic device of animation file
CN109544668A (en) * 2017-09-21 2019-03-29 腾讯科技(深圳)有限公司 Texture coordinate processing method, terminal device and computer readable storage medium
CN109545072A (en) * 2018-11-14 2019-03-29 广州广电研究院有限公司 Pose calculation method, device, storage medium and the system of map structuring

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09304093A (en) * 1996-05-09 1997-11-28 Alpine Electron Inc Method for correcting current position of moving body
JP2003302898A (en) * 2002-04-11 2003-10-24 Hitachi Ltd Map analyzing device and program for realizing the same
CN102509058A (en) * 2011-11-04 2012-06-20 南京师范大学 Point type GIS vector data disguise and recovery method based on redundant bit replacement
US20150084961A1 (en) * 2013-09-20 2015-03-26 Oracle International Corporation Map performance by dynamically reducing map detail
CN104657669A (en) * 2015-02-13 2015-05-27 南京师范大学 Precision controllable line and plane geographic element information disguising and restoring method
CN108204819A (en) * 2016-12-19 2018-06-26 北京四维图新科技股份有限公司 A kind of map datum automatic testing method and device and hybrid navigation system
CN109544668A (en) * 2017-09-21 2019-03-29 腾讯科技(深圳)有限公司 Texture coordinate processing method, terminal device and computer readable storage medium
CN108009230A (en) * 2017-11-29 2018-05-08 中煤航测遥感集团有限公司 Data processing method and device
CN108492338A (en) * 2018-02-09 2018-09-04 腾讯科技(深圳)有限公司 Compression method, device, storage medium and the electronic device of animation file
CN109545072A (en) * 2018-11-14 2019-03-29 广州广电研究院有限公司 Pose calculation method, device, storage medium and the system of map structuring

Similar Documents

Publication Publication Date Title
WO2021218314A1 (en) Event identification method and apparatus based on position locating, and device and storage medium
CN110348297B (en) Detection method, system, terminal and storage medium for identifying stereo garage
CN108279670B (en) Method, apparatus and computer readable medium for adjusting point cloud data acquisition trajectory
CN110503682B (en) Rectangular control identification method and device, terminal and storage medium
CN110222775B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
US11486714B2 (en) Matching algorithm for data with different scales based on global road network features
CN112488297B (en) Neural network pruning method, model generation method and device
CN113706592A (en) Method and device for correcting positioning information, electronic equipment and storage medium
CN110645996B (en) Method and system for extracting perception data
CN114419165A (en) Camera external parameter correcting method, device, electronic equipment and storage medium
CN111651547B (en) Method and device for acquiring high-precision map data and readable storage medium
CN116453371B (en) Method and device for identifying returning of shared vehicle, computer equipment and storage medium
CN115049792B (en) High-precision map construction processing method and system
CN114627206A (en) Grid drawing method and device, electronic equipment and computer readable storage medium
CN111260384B (en) Service order processing method, device, electronic equipment and storage medium
CN112307139A (en) Data processing method, device, server and storage medium
CN115422316B (en) Lane line data processing method and device, electronic device and storage medium
CN110673114A (en) Method and device for calibrating depth of three-dimensional camera, computer device and storage medium
CN114757846A (en) Image correction method and device, storage medium and electronic device
CN109919998B (en) Satellite attitude determination method and device and terminal equipment
CN113721602A (en) Reference line processing method, device, equipment and storage medium
CN109711363B (en) Vehicle positioning method, device, equipment and storage medium
CN107833278B (en) Terrain simulation method and device and electronic equipment
CN114255163A (en) Map data thinning method, device and storage medium
CN114255268A (en) Disparity map processing and deep learning model training method and related equipment

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