CN103207960A - Data processing method and device of electronic map service platform - Google Patents
Data processing method and device of electronic map service platform Download PDFInfo
- Publication number
- CN103207960A CN103207960A CN2012100149271A CN201210014927A CN103207960A CN 103207960 A CN103207960 A CN 103207960A CN 2012100149271 A CN2012100149271 A CN 2012100149271A CN 201210014927 A CN201210014927 A CN 201210014927A CN 103207960 A CN103207960 A CN 103207960A
- Authority
- CN
- China
- Prior art keywords
- user
- viability
- data processing
- electronic chart
- service platform
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention provides a data processing method and a data processing device of an electronic map service platform. The method comprises the steps of obtaining a service request of a user; obtaining a user ID (Identification) according to the service request; obtaining user authority information according to the user ID; authenticating user authority according to the authority information; obtaining service duration content of the user from a cache after passing the authentication; and updating the service duration of the user according to the service duration content of the user. The data processing method and the data processing device of the electronic map service platform can realize the authentication of the user authority, guarantee the service safety of the user and meet the authentication requirement of the user on the use duration of time period.
Description
Technical field
The present invention relates to the data processing field of electronic chart, refer to a kind of data processing method and device of electronic chart service platform especially.
Background technology
Each main flow electronic chart website all provides search, navigation, Geocoding (to be based on a kind of coding method of space orientation technique at present, import an address character string by the user, dynamic match is to the longitude and latitude information of the point at the place, address of user input) and Reverse Geocoding (the longitude and latitude information of importing by the user, dynamically match a detailed address descriptor information, just opposite with Geocoding) service.Yet the map web site of the prior art or form publish engine service of JS (javaScript) class libraries only is provided has limited user's usable range, does not do purview certification simultaneously and handles; In the prior art or the form output of various ways is provided, but the form output of binary mode is not arranged, can't satisfy for the mobile phone navigation demand of present main flow, and can only control the uncontrollable term of life of access times to the checking of user's term of life.Therefore, existing existing electronic chart service can't provide the effective purview certification of user and viability authentication, and output format is single, can't satisfy the output application demand of multiple form; And the user uses the security of service to can not get ensureing.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of data processing method and device of electronic chart service platform, can realize user right is authenticated, guarantee user's service safe, satisfy the authentication requesting of the term of life (being the viability) that the user carries out the time period.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of data processing method of electronic chart service platform, comprising:
Obtain user's services request;
According to described services request, obtain user ID;
According to described user ID, obtain user right information;
According to described authority information the user is carried out purview certification;
After authentication is passed through, from buffer memory, obtain user's viability content;
Viability content according to described user was upgraded user's viability.
Wherein, described user's services request comprises: the user asks character string and the encrypted characters string of splicing after described user asks character string; Wherein, described encrypted characters string is to use user key the character string of required parameter assembly unit to be carried out asymmetric cryptosystem obtains.
Wherein, described user right information comprises: described user key, user use service restricted information and viability restricted information.
Wherein, describedly according to described authority information the step that the user carries out purview certification is comprised:
Utilize described user key that the character string of described user's required parameter assembly unit is carried out asymmetric cryptosystem and generate the encrypted characters string, and described encrypted characters string is spliced after described user asks character string, obtain described services request;
And whether the services request of comparing described services request and the described user who receives is consistent, if consistent, then think to authenticate and pass through, otherwise authentication do not passed through.
Wherein, described user's viability content comprises: to the number of times information of the note time service of the search service of point of interest in the electronic chart and/or to the time period information of the timing service of the navigation Service of point of interest in the electronic chart.
Wherein, also comprise after described viability content according to described user was upgraded user's viability:
According to user's request COS, by quick format conversion function, obtain the formatted data that the user needs, and return described formatted data to the user.
Wherein, described by quick format conversion function, the step of the formatted data that the acquisition user needs comprises:
By the JNI instrument of Java, calling system library file SO obtains the java class object that meets a definite standard that the user needs; Wherein,, described JNI instrument allows the code of Java code and other Languages to carry out alternately;
Utilize data layout to transform kit, with the described java class object that meets a definite standard, change into the formatted data that the user needs.
Wherein, the formatted data of described user's needs comprises: XML formatted data, JSON formatted data and/or binary format data.
Embodiments of the invention also provide a kind of data processing equipment of electronic chart service platform, comprising:
First obtains module, is used for obtaining user's services request;
Second obtains module, is used for according to described services request, obtains user ID;
The 3rd obtains module, is used for according to described user ID, obtains user right information;
Authentication module is used for according to described authority information the user being carried out purview certification;
The 4th obtains module, after passing through for authentication, obtains user's viability content;
Update module is used for according to described user's viability content user's viability being upgraded.
Wherein, said apparatus can also comprise: the 5th obtains module, is used for the request COS according to the user, by quick format conversion function, obtains the formatted data that the user needs, and returns described formatted data to the user.
The beneficial effect of technique scheme of the present invention is as follows:
In the such scheme, by the services request according to the user, obtain user ID, and obtain this user's user right information, and according to this authority information the user is carried out purview certification, after authentication is passed through, from buffer memory, obtain this user's viability content, and user's viability upgraded, thereby realized user right is authenticated, guarantee user's service safe, and utilize the viability content in the buffer memory that user's viability is upgraded, thereby satisfy the authentication requesting of the term of life (being the viability) that the user carries out the time period.
Description of drawings
Fig. 1 is the data processing method process flow diagram of electronic chart service platform of the present invention;
Fig. 2 is a specific implementation schematic flow sheet of method shown in Figure 1;
Fig. 3 is in the flow process shown in Figure 2, and engine interface realizes schematic diagram;
Fig. 4 is in the flow process shown in Figure 2, and data layout transforms realizes schematic diagram;
Fig. 5 is in the flow process shown in Figure 2, the realization schematic diagram that user's viability is verified;
Fig. 6 is the data processing equipment structured flowchart of electronic chart service platform of the present invention.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
As shown in Figure 1, embodiments of the invention provide a kind of data processing method of electronic chart service platform, comprising:
This embodiment of the present invention is by the services request according to the user, obtain user ID, and obtain this user's user right information, and according to this authority information the user is carried out purview certification, after authentication is passed through, from buffer memory, obtain this user's viability content, and user's viability upgraded, thereby realized user right is authenticated, guarantee user's service safe, and utilize the viability content in the buffer memory that user's viability is upgraded, thereby satisfy the authentication requesting of the term of life (being the viability) that the user carries out the time period.
Wherein, in the above-described embodiments, described user's services request comprises: the user asks character string and the encrypted characters string of splicing after described user asks character string; Wherein, described encrypted characters string is to use user key the character string of required parameter assembly unit to be carried out asymmetric cryptosystem obtains.
Character string (similar keyword=kfc﹠amp as user's required parameter assembly unit; Area=POINT (112.12312,39.123212) ﹠amp; Page=123﹠amp; Output=xml﹠amp; Userid=test;
Use user key to ask character string to carry out asymmetric cryptosystem to the user, obtain encrypted result sig=NXADED32DAFE_;
Splicing encrypted characters string is asked character string back (keyword=kfc﹠amp to the user; Area=POINT (112.12312,39.123212) ﹠amp; Page=123﹠amp; Output=xml﹠amp; Userid=test﹠amp; Sig=NXADED32DAFE_);
Send the user and ask service http://vapi.fundrive.com.cn/api/ls? keyword=kfc﹠amp; Area=
POINT(112.12312,39.123212)&page=123&output=xml&userid=test&sig=NXADED32DAFE_;
The backstage obtains user's request, parses user ID, obtains user right information in buffer memory;
Wherein, described user right information comprises: described user key, user use service restricted information and viability restricted information.
Wherein, above-mentioned steps 14 specifically can comprise: utilize described user key that the character string of described user's required parameter assembly unit is carried out asymmetric cryptosystem and generate the encrypted characters string, and with the splicing of described encrypted characters string after described user asks character string, obtain described services request;
And whether the services request of comparing described services request and the described user who receives is consistent, if consistent, then think to authenticate and pass through, otherwise authentication do not passed through.
Particularly, as the backstage carry out after the same computations to the user and above-mentioned user's services request in encrypted characters string sig compare, if consistent, think that then authentication passes through, otherwise authentication is not passed through;
After purview certification passed through, the viability content that obtains the user from buffer memory was judged the user viability;
Upgrade user's viability (note time service needs to upgrade).
Wherein, described user's viability content comprises: to the number of times information of the note time service of the search service of point of interest in the electronic chart and/or to the time period information of the timing service of the navigation Service of point of interest in the electronic chart.
In another embodiment of the present invention, comprise on the basis of above-mentioned steps 11-16 that method of the present invention also comprises after described viability content according to described user was upgraded user's viability:
Step 17 according to user's request COS, by quick format conversion function, obtains the formatted data that the user needs, and returns described formatted data to the user.
Wherein, described by quick format conversion function, the step of the formatted data that the acquisition user needs comprises:
By the JNI instrument of Java, calling system library file SO obtains the java class object that meets a definite standard that the user needs; Wherein,, described JNI instrument allows the code of Java code and other Languages to carry out alternately;
Utilize data layout to transform kit, with the described java class object that meets a definite standard, change into the formatted data that the user needs.
Concrete, return the formatted data of user's needs by quick format conversion function according to user's request type, wherein, the formatted data that described user needs comprises: XML (Extensible Markup Language, extend markup language) formatted data, JSON (JavaScript Object Notation is a kind of data interchange format of lightweight) formatted data and/or binary format data.
Concrete, data layoutization is to determine that meeting one the java class object of standard can transform various forms very easily by the format kit.The object standard that can realize format conversion comprises:
1) data type of java class object is: character string type (String), data set type (Array), chained list type (List) object;
2) the java class object in the set also must be top three types;
3) described java class object must be realized serializing;
4) described java class object meets Java Bean requirement, requires to have get and set method;
5)......;
The function of format kit is to realize meeting the format transformation function of above java class object standard;
The SO library file is the static library file of realizing search, navigation, Geocoding, ReverseGeocoding, mainly realizes by C Plus Plus, can realize the high efficiency that engine calculates; Call the SO library file by JNI (Java Native Interface, the code that it allows Java code and other language to write carries out alternately) and obtain the java class object that satisfies certain standard that custom system needs.Use JNI to call SO (system library file, dll file in similar and the WINDOW system) static library, can utilize the calculation services of the high efficiency realization engine of C++, utilize the JNI technology of Java to realize the mutual of Java and SO simultaneously, make foreground application can overstate platform.Return results is the java class object that defines the certain format standard simultaneously, makes things convenient for data layout to transform.
Below again in conjunction with the specific implementation of concrete process description above-mentioned method shown in Figure 1 of the present invention:
As shown in Figure 2, the request msg flow process comprises as follows:
Step 21, user's request;
Step 22, the character string of acquisition required parameter assembly unit uses user key to ask character string to carry out asymmetric cryptosystem to the user, obtains the encrypted characters string; Splicing encrypted characters string is asked the character string back to the user, obtains services request;
Step 23, transmission user's services request;
Step 24, background authentication user's legitimacy;
Step 25, if the user is legal, viability of verified users then;
Step 26 is called engine interface;
Step 27, data layoutization is returned.
Wherein, as shown in Figure 3, engine interface in the step 26 is called the SO library file by using Java instrument JNI, obtain the java class object that satisfies a definite standard that the user needs, can utilize the calculation services of the high efficiency realization engine of C++, utilize the JNI technology of Java to realize the mutual of Java and SO simultaneously, make foreground application can overstate platform, return results is the java class object that defines the certain format standard simultaneously.Make things convenient for data layout to transform.
Further, as shown in Figure 4, the process that data layout transforms in the step 27 comprises:
To meet one by data layout conversion kit and determine that the java class object of standard changes into the data of XML form, the data of JSON form or the data of binary format.
Further, as shown in Figure 5, in user's viability proof procedure, from user's services request, obtain user ID, from adjust buffer memory, obtain user's information on services and authority information according to user ID, when user cache starts in system, all load from database, the data structure of data in buffer memory as shown in Figure 5.
The above embodiment of the present invention is efficiently called by engine, utilizes the platform invoke of overstating of the high efficiency of C++ and JNI; Utilize the caching process user right to preserve, raise the efficiency and reduce the poor efficiency of database pressure and database; Use unified intermediate form among the present invention, make quick issue and the format conversion of engine become possibility, utilize standard can realize the variation output of form; And utilize irreversible encryption that the user is carried out Authority Verification, and make and crack the difficulty increasing, guarantee user's service safe.
As shown in Figure 6, embodiments of the invention also provide a kind of and install embodiment accordingly with said method embodiment, and a kind of data processing equipment 60 of electronic chart service platform comprises:
First obtains module 61, is used for obtaining user's services request;
Second obtains module 62, is used for according to described services request, obtains user ID;
The 3rd obtains module 63, is used for according to described user ID, obtains user right information;
The 4th obtains module 65, after passing through for authentication, obtains user's viability content;
Further, said apparatus can also comprise:
The 5th obtains module 67, is used for the request COS according to the user, by quick format conversion function, obtains the formatted data that the user needs, and returns described formatted data to the user.
Need to prove that all implementations among the said method embodiment all adapt to for this device embodiment of the present invention, also can reach identical technique effect, do not repeat them here.
The above is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (10)
1. the data processing method of an electronic chart service platform is characterized in that, comprising:
Obtain user's services request;
According to described services request, obtain user ID;
According to described user ID, obtain user right information;
According to described authority information the user is carried out purview certification;
After authentication is passed through, from buffer memory, obtain user's viability content;
Viability content according to described user was upgraded user's viability.
2. the data processing method of electronic chart service platform according to claim 1 is characterized in that, described user's services request comprises: the user asks character string and the encrypted characters string of splicing after described user asks character string; Wherein, described encrypted characters string is to use user key the character string of required parameter assembly unit to be carried out asymmetric cryptosystem obtains.
3. the data processing method of electronic chart service platform according to claim 2 is characterized in that, described user right information comprises: described user key, user use service restricted information and viability restricted information.
4. the data processing method of electronic chart service platform according to claim 3 is characterized in that, describedly according to described authority information the step that the user carries out purview certification is comprised:
Utilize described user key, the character string of described user's required parameter assembly unit carried out asymmetric cryptosystem generate the encrypted characters string, and with described encrypted characters string splicing after described user asks character string, obtain described services request;
And whether the services request of comparing described services request and the described user who receives is consistent, if consistent, then think to authenticate and pass through, otherwise authentication do not passed through.
5. the data processing method of electronic chart service platform according to claim 4, it is characterized in that described user's viability content comprises: to the number of times information of the note time service of the search service of point of interest in the electronic chart and/or to the time period information of the timing service of the navigation Service of point of interest in the electronic chart.
6. the data processing method of electronic chart service platform according to claim 5 is characterized in that, also comprises after described viability content according to described user was upgraded user's viability:
According to user's request COS, by quick format conversion function, obtain the formatted data that the user needs, and return described formatted data to the user.
7. the data processing method of electronic chart service platform according to claim 6 is characterized in that, and is described by quick format conversion function, and the step of the formatted data that the acquisition user needs comprises:
By the JNI instrument of Java, calling system library file SO obtains the java class object that meets a definite standard that the user needs; Wherein, described JNI instrument allows the code of Java code and other Languages to carry out alternately;
Utilize data layout to transform kit, with the described java class object that meets a definite standard, change into the formatted data that the user needs.
8. the data processing method of electronic chart service platform according to claim 7 is characterized in that, the formatted data that described user needs comprises: XML formatted data, JSON formatted data and/or binary format data.
9. the data processing equipment of an electronic chart service platform is characterized in that, comprising:
First obtains module, is used for obtaining user's services request;
Second obtains module, is used for according to described services request, obtains user ID;
The 3rd obtains module, is used for according to described user ID, obtains user right information;
Authentication module is used for according to described authority information the user being carried out purview certification;
The 4th obtains module, after passing through for authentication, obtains user's viability content;
Update module is used for according to described user's viability content user's viability being upgraded.
10. the data processing equipment of electronic chart service platform according to claim 9 is characterized in that, also comprises:
The 5th obtains module, is used for the request COS according to the user, by quick format conversion function, obtains the formatted data that the user needs, and returns described formatted data to the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210014927.1A CN103207960B (en) | 2012-01-17 | 2012-01-17 | A kind of data processing method of electronic map service platform and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210014927.1A CN103207960B (en) | 2012-01-17 | 2012-01-17 | A kind of data processing method of electronic map service platform and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103207960A true CN103207960A (en) | 2013-07-17 |
CN103207960B CN103207960B (en) | 2015-12-02 |
Family
ID=48755177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210014927.1A Active CN103207960B (en) | 2012-01-17 | 2012-01-17 | A kind of data processing method of electronic map service platform and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103207960B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104915585A (en) * | 2015-06-30 | 2015-09-16 | 西安交通大学 | Sensor characteristic sub-area modeling-based monitor method for user identity of touch screen equipment |
CN107209020A (en) * | 2014-12-02 | 2017-09-26 | 通腾运输公司 | Method and apparatus for providing interest point information |
CN107423067A (en) * | 2017-07-28 | 2017-12-01 | 山东超越数控电子有限公司 | A kind of Java applies the method mutually called with non-JNI specifications binary file |
CN108108597A (en) * | 2016-11-25 | 2018-06-01 | 沈阳美行科技有限公司 | Authentication method and device based on NGTP architecture |
CN109741492A (en) * | 2018-12-19 | 2019-05-10 | 广州羊城通有限公司 | It is a kind of to renew method and device based on what IC card was unlocked |
CN110990863A (en) * | 2019-11-27 | 2020-04-10 | 山东新潮信息技术有限公司 | Method for realizing file model essay control through timestamp and encryption algorithm |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1386228A (en) * | 2000-08-04 | 2002-12-18 | 松下电器产业株式会社 | Expiration data management system and apparatus therefor |
US20060031503A1 (en) * | 2000-12-22 | 2006-02-09 | Lanny Gilbert | Systems and methods for limiting web site access |
CN1881228A (en) * | 2005-06-14 | 2006-12-20 | 华为技术有限公司 | Method for controlling system account right |
CN101656955A (en) * | 2008-08-20 | 2010-02-24 | 飞力凯网路股份有限公司 | Information processing apparatus, information processing method, information processing program and information processing system |
-
2012
- 2012-01-17 CN CN201210014927.1A patent/CN103207960B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1386228A (en) * | 2000-08-04 | 2002-12-18 | 松下电器产业株式会社 | Expiration data management system and apparatus therefor |
US20060031503A1 (en) * | 2000-12-22 | 2006-02-09 | Lanny Gilbert | Systems and methods for limiting web site access |
CN1881228A (en) * | 2005-06-14 | 2006-12-20 | 华为技术有限公司 | Method for controlling system account right |
CN101656955A (en) * | 2008-08-20 | 2010-02-24 | 飞力凯网路股份有限公司 | Information processing apparatus, information processing method, information processing program and information processing system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107209020A (en) * | 2014-12-02 | 2017-09-26 | 通腾运输公司 | Method and apparatus for providing interest point information |
CN107209020B (en) * | 2014-12-02 | 2020-11-10 | 通腾运输公司 | Method and device for providing point of interest information |
CN104915585A (en) * | 2015-06-30 | 2015-09-16 | 西安交通大学 | Sensor characteristic sub-area modeling-based monitor method for user identity of touch screen equipment |
CN104915585B (en) * | 2015-06-30 | 2018-06-26 | 西安交通大学 | Touch-screen equipment user identity monitoring method based on sensor characteristics two-zone model |
CN108108597A (en) * | 2016-11-25 | 2018-06-01 | 沈阳美行科技有限公司 | Authentication method and device based on NGTP architecture |
CN107423067A (en) * | 2017-07-28 | 2017-12-01 | 山东超越数控电子有限公司 | A kind of Java applies the method mutually called with non-JNI specifications binary file |
CN109741492A (en) * | 2018-12-19 | 2019-05-10 | 广州羊城通有限公司 | It is a kind of to renew method and device based on what IC card was unlocked |
CN109741492B (en) * | 2018-12-19 | 2021-01-05 | 广州羊城通有限公司 | IC card unlocking-based duration method and device |
CN110990863A (en) * | 2019-11-27 | 2020-04-10 | 山东新潮信息技术有限公司 | Method for realizing file model essay control through timestamp and encryption algorithm |
CN110990863B (en) * | 2019-11-27 | 2021-10-08 | 山东新潮信息技术有限公司 | Method for realizing file access control through timestamp and encryption algorithm |
Also Published As
Publication number | Publication date |
---|---|
CN103207960B (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10728044B1 (en) | User authentication with self-signed certificate and identity verification and migration | |
CN102754098B (en) | Method and apparatus for secure cross-site scripting | |
CN103207960B (en) | A kind of data processing method of electronic map service platform and device | |
US20180288033A1 (en) | Systems and methods for providing digital identity records to verify identities of users | |
US20150132984A1 (en) | Mobile otp service providing system | |
CN111126950A (en) | Service processing method, device and equipment based on block chain | |
CN113938886B (en) | Identity authentication platform testing method, device, equipment and storage medium | |
US10565090B1 (en) | Proxy for debugging transformed code | |
CN112434348B (en) | Data verification processing method, device and equipment | |
CN102739678A (en) | Single sign-on processing system and single sign-on processing method | |
CN110247917A (en) | Method and apparatus for authenticating identity | |
KR20120087095A (en) | Apparatus and method for generating a realtime password and storage medium | |
CN115632798A (en) | Electronic certificate authentication tracing method, system and related equipment based on intelligent contract | |
CN113378147A (en) | Method for user to log in service platform | |
CN112000942B (en) | Authority list matching method, device, equipment and medium based on authorization behavior | |
CN106156625A (en) | The method of a kind of plug-in unit signature and electronic equipment | |
CN110046493B (en) | Data processing method, device, equipment and machine-readable medium | |
CN105516137A (en) | Certification system of learning platform and method thereof | |
CN115730324A (en) | Business system access method and device, storage medium and electronic equipment | |
CN116471327B (en) | Cloud resource processing method, device, equipment and storage medium | |
CN113742663B (en) | Watermark file acquisition method and device and electronic equipment | |
CN113794716B (en) | Network access authentication method, device and equipment for terminal equipment and readable storage medium | |
US20230246846A1 (en) | Attribute information conversion device, computer-readable recording medium storing attribute information conversion program, and attribute information conversion method | |
KR101307966B1 (en) | Private information management system | |
CN108875385A (en) | The method and device of inter-application communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |