CN108234678A - Data unified access method and system based on request data reconstruct - Google Patents

Data unified access method and system based on request data reconstruct Download PDF

Info

Publication number
CN108234678A
CN108234678A CN201810264523.5A CN201810264523A CN108234678A CN 108234678 A CN108234678 A CN 108234678A CN 201810264523 A CN201810264523 A CN 201810264523A CN 108234678 A CN108234678 A CN 108234678A
Authority
CN
China
Prior art keywords
data
request data
business
module
function code
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
Application number
CN201810264523.5A
Other languages
Chinese (zh)
Other versions
CN108234678B (en
Inventor
毛伟剑
蔡锷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Qizhi Information Technology Co ltd
Original Assignee
Hangzhou Chi Zhi Information Technology Ltd By Share 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 Hangzhou Chi Zhi Information Technology Ltd By Share Ltd filed Critical Hangzhou Chi Zhi Information Technology Ltd By Share Ltd
Priority to CN201810264523.5A priority Critical patent/CN108234678B/en
Publication of CN108234678A publication Critical patent/CN108234678A/en
Application granted granted Critical
Publication of CN108234678B publication Critical patent/CN108234678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The one data unified access method based on request data reconstruct, includes the following steps:RECONFIGURATION REQUEST data form common parameters and peculiar parameter, and add function code to the request data, and the function code corresponds to an at least business module;Unified interface is set according to the common parameters, wherein the unified interface allows the request data for including the common parameters to enter;And the function code is obtained, and match the function code and corresponding business module, realize that the request data of polymorphic type by unified data-interface access platform, has dramatically saved the resource of data-interface, reduced the service pressure of server.

Description

Data unified access method and system based on request data reconstruct
Technical field
The present invention relates to field of computer technology, the more particularly to one data unified access methods based on request data reconstruct And system.
Background technology
Data-interface, as the term suggests being exactly the port for being applied to access and output data, the port in generation referred herein can be with Be entity port can also be virtual port.The USB interface being frequently seen is exactly entity port, And it applied to the billing interfaces of SP chargings is exactly virtual port such as to seem.
In network field, data-interface is mainly the entrance of client request server-side, and data-interface is applied to connect Request data of the receipts/response from client, in some cases, data-interface simply handles request data, by In the presence of data-interface network data can be interacted between multiple application ends, and exactly the interaction of network data is most The complete network system is built eventually, however there are some drawbacks for the mode of the data-interface of prior art access/response data.
As shown in Figure 1, Fig. 1 is the principle schematic of the data cut-in method of the prior art.Multiple request datas correspond to more A business module, during the data access of these request datas, multiple request datas are accessed by the communication protocol of setting Different data-interfaces, wherein these data-interfaces are that platform is uniquely visited for one that each individually business module opens Ask address, thus different request datas enters different interfaces hence into specific business mould by different access address In block.In other words, each business module corresponds to an individual data-interface, these data-interfaces are carried for each business module For individual access address, request data matches corresponding business module by this method.
However there are following drawbacks for this data cut-in method of the prior art:
1st, the various unmanageable of data-interface.Since the different corresponding functions of business module is different, corresponding different business mould Block has different data-interfaces, so as to cause data-interface large number of, and the business function corresponding to these data-interfaces Slightly there is difference, and then platform is caused just to become highly difficult to the maintenance of data-interface.
2nd, it is poor so as to cause Interface Expanding due to the corresponding data-interface disunity of different business module.That is, The limitation of each data-interface is excessive, once if needing change or additions and deletions business module, it is necessary to correspondingly change Or additions and deletions data-interface, not only resulting in the management of data-interface becomes pretty troublesome, in addition occupies many platform resources.
3rd, data access efficiency is reduced.In the data cut-in method of the prior art, the request data is needed multiple The data-interface of adaptation is searched out, and then increase the workload of server in the access address that data-interface provides, also reduced Data access efficiency.
4th, it is difficult to realize the safeguard protection to request data.Request data is from multiple in the data cut-in method of the prior art Data-interface enters platform, it is difficult to carry out encrypting and decrypting single one by one for request data, in turn results in data and service is pacified Full hidden danger.
Invention content
The purpose of the present invention is to provide a data unified access method and system based on request data reconstruct, polymorphic types Request data by unified data-interface access platform, dramatically saved the resource of data-interface, reduced service The service pressure of device.
The purpose of the present invention is to provide a data unified access method and system based on request data reconstruct, difference please Data is asked to match business module by specific function code, Added Business module only needs to configure function code, avoids additional number According to the definition and exploitation of interface.
It is described to ask the purpose of the present invention is to provide a data unified access method and system based on request data reconstruct Data is asked to be reconstructed, in order to the management and identification of request data in heaps, improve data access efficiency.
The purpose of the present invention is to provide a data unified access method and system based on request data reconstruct, using mark The request data of polymorphic type, is accessed unified data-interface, and match business mould according to function code by accurate simple standard rule Block improves data access efficiency so that user being capable of rapid abutting joint.
The purpose of the present invention is to provide a data unified access method and system based on request data reconstruct, convenient for system One management request data and data-interface, the safety to realize request data provide technical support basis.
To realize any of the above goal of the invention, the present invention provides a data side of being uniformly accessed into based on request data reconstruct Method, which is characterized in that include the following steps:
S1:RECONFIGURATION REQUEST data form common parameters and peculiar parameter, addition function code to the request data, institute It states function code and corresponds to an at least business module;
S2:Unified interface is set according to the common parameters, wherein the unified interface allows to include the common parameters Request data enter;And
S3:The function code is obtained, matches the function code and corresponding business module.
In some embodiments, the step S1 includes:
S11:According to the identical parameters of at least two business modules, the common parameters in the request data are encapsulated;
S12:According to the characteristic parameter of corresponding business module, the peculiar data of the request data are formed, and be based on The basic data model obtains feature-based data model;And
S13:Function code is set according to the business module, adds the function code to the request data.
In some embodiments, the function code converts the basic data model to the feature-based data model.
In some embodiments, the step S3 includes:
S31:Obtain the function code in the request data;
S32:According to the function code, the matched business module is identified;And
S33:The basic data model is converted to the feature-based data model, the feature-based data model enters the industry Business module.
In some embodiments, the step S3 includes:
S31a:Obtain the function code in the request data;
S32a:According to the function code, the matched business module is identified;And
S33a:The basic data model enters the business module, and according to the function code conversion basic number According to model and the feature-based data model.
In some embodiments, the request data exists with JSON data formats, is submitted in a manner of POST.
In some embodiments, the function code corresponds to the characteristic parameter of the business module and is formed.
According to an aspect of the present invention, the present invention provides a data uniform access system based on request data reconstruct, It is characterized in that, including:
Data cell, wherein the data cell stores an at least request data;
Business unit, wherein the business unit obtains the business datum of an at least business module, wherein the business number According to including identical parameters and characteristic parameter;And
Reconfiguration unit, wherein the reconfiguration unit is communicatively coupled to the unit of the business to obtain the business number According to being communicatively coupled to the data cell to obtain the request data, the reconfiguration unit includes shared parameter module, special There are parameter module and function code module, wherein the shared parameter module reconstructs the request data according to the identical parameters In common parameters, the peculiar parameter module reconstructs the peculiar parameter in the request data, institute according to the characteristic parameter It states function code module and function code is obtained according to the business datum, the identification code identifies specific business module.
In some embodiments, including interface unit and matching unit, wherein the interface unit communications be connected to The shared parameter module defines unified interface to obtain the common parameters according to the common parameters, wherein described The business unit and the reconfiguration unit with unit communication are connected to, obtains the peculiar parameter and the function Code, matching request data and specific business module.
In some embodiments, the shared parameter module builds basic data model according to the common parameters, described Peculiar parameter module according to the peculiar parameter construction feature data model, the function code convert the basic data model with And the feature-based data model.
Description of the drawings
Fig. 1 is the principle schematic of the data cut-in method of the prior art.
Fig. 2 is the data unified access method urgency system reconstructed based on request data of an embodiment according to the present invention Principle schematic.
Fig. 3 is the request data reconstruct situation of the request data of embodiment according to the present invention.
Fig. 4 to Fig. 5 is the data unified access method reconstructed based on request data of an embodiment according to the present invention Method flow diagram.
Fig. 6 is that the block diagram of data uniform access system reconstructed based on request data of an embodiment according to the present invention is shown It is intended to.
Fig. 7 is the block diagram of data uniform access system reconstructed based on request data according to another embodiment of the present invention Schematic diagram.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art's all other embodiments obtained belong to what the present invention protected Range.
It will be understood by those skilled in the art that the present invention exposure in, term " longitudinal direction ", " transverse direction ", " on ", " under ", "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", the orientation of the instructions such as " outer " or position close System is based on orientation shown in the drawings or position relationship, is for only for ease of the description present invention and simplifies description, without referring to Show or imply signified device or element there must be specific orientation, with specific azimuth configuration and operation, therefore above-mentioned art Language is not considered as limiting the invention.
It is understood that term " one " is interpreted as " at least one " or " one or more ", i.e., in one embodiment, The quantity of one element can be one, and in a further embodiment, the quantity of the element can be multiple, and term " one " is no It is understood that as the limitation to quantity.
In general, in the transmission process of network data, request data is entered corresponding by the interface that platform is set Business module, the business module carry out response processing to request data.It is initial that the business module includes but not limited to charging Change, version updating, user's charging, the contents such as charging result notice, different business module realizes different functions, multiple requests Data correspond to multiple business modules, to realize the request of different function.
As shown in Figure 1, Fig. 1 is the principle schematic of the data cut-in method of the prior art.In the prior art, for not Same business module provides different data-interfaces, and wherein data-interface is platform for each individually business module opening Unique access address, that is to say, that each data-interface corresponds to specific business module, when data are from a specific data Interface entrance will arrive at a specific business module.Different request datas accesses different access address as a result, so as to Into different data-interfaces hence into specific business module.
From the perspective of request data, wherein request data includes service request data, which corresponds to Specific business module accesses specific access address according to the service request data and enters specific data-interface, so as to Specific business module is entered, the various unmanageable of data-interface, Interface Expanding difference and number are easily caused under this mode According to the problems such as access efficiency is low.
In order to solve problem above, the present invention provide one based on request data reconstruct data unified access method and be System, it is described based on request data reconstruct data unified access method and system by request data carry out data reconstruction, from And realize platform unified interface access request data, and the purpose of Rapid matching business module.
As shown in Fig. 2, Fig. 2 is the data side of being uniformly accessed into reconstructed based on request data of an embodiment according to the present invention The principle schematic of method and system, the request data S enters the unified interface 10 after data reconstruction, by the system The request data S that one interface 10 enters platform is matched different business modules 20 according to different function code GS.
As shown in figure 3, Fig. 3 is the request data reconstruct feelings of the request data S of embodiment according to the present invention Condition.From the foregoing, it will be observed that the request data S for specific traffic module 20 of the prior art is implemented as specific type of data, it is described Unified interface 10 uniquely identifies the request data S and then matches the business module 20.
In an embodiment of the present invention, the request data S is resorted to common parameters CS according to its attribute candidates, peculiar The parameter TS and function code GS, wherein the common parameters CS corresponds to the identical parameters between multiple business modules 20, institute State the characteristic parameter that peculiar parameter TS corresponds to specific traffic module 20, and the request after the common parameters CS is got Data S forms basic data model, and the request data S forms feature-based data model after getting the peculiar parameter TS, Described in feature-based data model inherit the basic data model, the function code GS corresponds to the specific completion of business module 20 institute The conversion between basic data model and the feature-based data model is stated, while also determines the industry corresponding to request data S Business module 20.
In addition, the peculiar parameter TS is divided into call parameter BS and inessential parameter TS according to necessity again, wherein The call parameter BS and the inessential parameter FS are corresponding, i.e., can define when a parameter is when being call parameter BS For inessential parameter FS, and can mutual inversion of phases between the call parameter BS and the inessential parameter FS.
That is, in the restructuring procedure of the request data S, the identical parameters according to each business module 20 are to institute It states common parameters CS to be packaged, forms the basic data model, secondly, the characteristic parameter of specific traffic module 20 is defined The peculiar parameter TS of the request data S, and the feature-based data model is obtained based on the basic data model extension, in addition The function code GS for identifying corresponding specific traffic module 20 is added in the request data S.When server decompresses the request The function code GS is obtained after data S, by the function code GS to request data S carry out as defined in business model conversion, The business module corresponding to request data S is also determined simultaneously, and the changeable flexible and connection inlet of interface parameters has been achieved Uniformity.
That is the request data S is different according to the difference of business, for example, such as when S pairs of the request data What is answered is user's accounting request, then the request data S includes the common parameters CS, and common parameters CS such as seems (hand Type number, mobile phone brand, mobile phone string number, networking type, client ip etc.), also including the peculiar parameter TS, wherein the spy There is parameter TS to include charging point, User IP, client plug-in version, mobile phone brand, mobile phone agent etc., the charging point, user IP is the call parameter BS, and the client plug-in version, mobile phone brand, mobile phone agent are the inessential parameter FS, separately Outside, the request data S includes the accounting request function code of corresponding user's accounting request.
It is version updating, then the request data S includes institute Common parameters CS is stated, common parameters CS such as seems mobile phone model, mobile phone brand, mobile phone string number, networking type, client ip It is version etc. Deng, the call parameter BS, the inessential parameter FS is User IP, mobile phone brand etc., the request data S packets Include the version updating function code of corresponding version updating.
It is worth noting that, the common parameters CS and peculiar parameter TS inherently has for the request data S Standby information, the function code GS correspond to different business modules 20 and are added into the request data S, so as to which platform can root The request data S and the business module 20 are matched according to the function code GS.
Based on above-mentioned request data reconfiguration principle, the present invention provides a data side of being uniformly accessed into based on request data reconstruct Method, which is characterized in that include the following steps:
S1:RECONFIGURATION REQUEST data S forms common parameters CS and peculiar parameter TS, and adds function code GS and asked to described Data S, the function code GS is asked to correspond to an at least business module 20;
S2:According to the common parameters CS set unified interface 10, wherein the unified interface 10 allow to include it is described common The request data S of same parameter CS enters;And
S3:The function code GS is obtained, and matches the function code GS and corresponding business module 20.
In the step S1, the request data S can derive from the multi-functional client of polymorphic type, plurality of to ask Data S is asked to correspond to multiple business modules 20, such as when client needs to ask charging, the request data S is corresponding to be User's accounting request also corresponds to the business module that user's accounting request is directed in platform.
The common parameters CS corresponds to the identical parameters between multiple business modules 20, for example, mobile phone model, mobile phone brand, Mobile phone string number, networking type, client ip etc.), and the basis of the corresponding request data S is obtained according to the peculiar parameter TS Data model.
The peculiar parameter TS corresponds to the characteristic parameter of specific traffic module 20, and is getting the common parameters CS The request data S forms basic data model afterwards, and the request data S forms characteristic after getting the peculiar parameter TS According to model, wherein the feature-based data model inherits the basic data model.
The function code GS corresponds to specific business module 20 and completes the basic data model and the characteristic Conversion between model, while also determine the business module 20 corresponding to request data S.
The step S1 further comprises the steps:
S11:According to the identical parameters of at least two business modules 20, the common parameters in the request data S are encapsulated CS, and obtain corresponding to the basic data model of the request data S;
S12:According to the characteristic parameter of corresponding business module 20, the peculiar data TS of the request data S is formed, and Feature-based data model is obtained based on the basic data model;And
S13:Function code GS is set, and add the function code GS to the request data S according to the business module 20.
In the step S2, the unified interface 10 is set according to the common parameters CS, described to allow to possess The request data S access platforms of common parameters CS, at this time the request data S exist with the basic data model.
The unified interface 10 is the specific access address of platform distribution, the common parameters in the request data S CS enters the unified interface 10, in other words, the basic data model of the request data S by unified communication protocol Into the unified interface 10.In an embodiment of the present invention, the unified communication protocol is implemented as Http agreements, but this Without limitation.
In the step S3, platform obtains the number of request according to the function code GS corresponding in the request data S According to the business module 20 corresponding to S, each function code GS correspond to it is specific to business module 20.And as the request data S After entering corresponding business module 20, the function code GS of the request data S converts the basic data model to institute State feature-based data model.
That is, the step S3 further comprises the steps:
S31:Obtain the function code GS in the request data S;
S32:According to the function code GS, the matched business module 20 is identified;And
S33:The basic data model is converted to the feature-based data model, the feature-based data model enters the industry Business module 20.
Herein what is particularly worth mentioning is that, the peculiar parameter TS again according to necessity be divided into call parameter BS and Inessential parameter TS, the inessential parameter TS, which may be present, also may not be present.That is, the spy of the request data S It is not necessarily intended to be related to inessential parameter completely in sign data model.
Also or, the step S3 further comprises the steps:
S31:Obtain the function code GS in the request data S;
S32:According to the function code GS, the matched business module 20 is identified;And
S33:The basic data model enters the business module, and according to the function code GS conversions basic number According to model and the feature-based data model.
When needing business module 20 described in additional correction, operation personnel also only needs to adjust the function code GS. Such as when needing to increase new business module 20, the function code GS of corresponding new business module 20 is obtained, and by the work( Energy code GS is supplied to the request data S.It says for another example, when needing to revise the business module 20, directly revises the function Code GS, and the function code GS is supplied to the request data S.
In order to realize data above unified access method, the present invention provides the data based on request data reconstruct and uniformly connects Enter system, wherein it is described based on request data reconstruct data uniform access system include data cell 30, reconfiguration unit 40 with And business unit 50, wherein the data cell 30, which stores at least a request data S, the business unit 50, stores an at least industry Module 20 of being engaged in and corresponding business datum, the reconfiguration unit 40 reconstruct the request data S according to the business datum, into And the data uniform access system can be uniformly accessed into data based on the request data S being reconstructed.
Specifically, an at least database K built in the data cell 30, wherein the request data S be placed in it is described In database K, each request data S corresponds to an at least business module 20 in an embodiment of the present invention, that is to say, that the number Corresponding business module 20 can be matched according to uniform access system according to the request data S.
The business unit 50 includes business data module 51, wherein 20 corresponding business datum of the business module is deposited The business data module 51 is stored in, and the business unit 50 further comprises identical parameters module 52 and characteristic parameter Module 53 is respectively used to store the identical parameters and characteristic parameter of the business datum.
In other words, the 20 corresponding business datum of business module is stored in the business data module 51, Duo Geye There are identical parameters each other for data of being engaged in, and the identical parameters, the identical parameters are determined by comparing multiple business datums It is stored in the identical parameters module 52.In addition, distinct between two business datums each other, i.e., each business datum has it Corresponding characteristic parameter, the characteristic parameter are stored in the characteristic parameter module 53.
It is worth noting that, often newly increasing a business datum in the business module 53, the business datum can be divided For the combination of the identical parameters and the characteristic parameter, the identical parameters be used to sort out the business datum, described Characteristic be used to mark the business datum.No longer done herein about the business datum it is excessive repeat, with reference to thereon Introduction.
The reconfiguration unit 40 includes the service parameter module 41, wherein the service parameter module 41 communicatedly connects In the business unit 50, to obtain the identical parameters and characteristic parameter, the identical parameters and the characteristic As the standard for reconstructing the request data S.
The reconfiguration unit 40 includes shared parameter module 42 and the peculiar parameter module 43, wherein the shared ginseng Digital-to-analogue block 42 is communicatively coupled to the service parameter module 41, to obtain the identical parameters as reconstruction of standard.Described In shared parameter module 42, the data that the identical parameters are relevant in the request data S are defined as common parameters CS, Described in common parameters CS be stored in the shared parameter module 42.It is noted that the common parameters CS is corresponded to Identical parameters between multiple business modules 20.
In addition, in some cases, the shared parameter module 42 stores the common parameters of the request data S CS, and the basic data model is formed according to the common parameters CS.
The peculiar parameter module 43 is communicatively coupled to the service parameter module 41, is made with obtaining the characteristic parameter For reconstruction of standard.In the peculiar parameter module 43, the data that the characteristic parameter is relevant in the request data S are determined Justice is peculiar parameter TS, wherein the peculiar parameter TS is stored in the peculiar parameter module 43.It is noted that institute State the characteristic parameter that peculiar parameter TS corresponds to business module 20.
In addition, in some cases, the peculiar parameter module 43 stores the peculiar parameter of the request data S TS, and the feature-based data model is formed according to the peculiar parameter TS.The feature-based data model inherits the basic data Model.That is, the peculiar parameter module 43 is communicatively coupled to the shared parameter module 42, to obtain the basis Data model, and the feature-based data model is formed according to the peculiar parameter TS on the basis of the basic data model.
The reconfiguration unit 40 includes function code module 44, wherein the function code module 44 is communicatively coupled to the spy Parameter module 53 is levied, to generate the function code GS specific to a certain business module 20.Specifically, the business module 20 has Oneself specific characteristic parameter, the corresponding characteristic parameter determine the function code GS, wherein described in function code GS realizations Basic data model and the conversion of the feature-based data model.
By this method, after the request data S enters the reconfiguration unit 40, the request data S is reconfigured as institute State common parameters CS, the combination of the peculiar parameter TS and the function code GS, wherein described in common parameters CS compositions Basic data model, the peculiar parameter TS combine the common parameters CS and form the feature-based data model, the function code GS realizes the conversion between the basic data model and the feature-based data model.
As shown in fig. 7, the data uniform access system based on request data reconstruct includes interface unit 60, wherein institute It states interface unit 60 and is communicatively coupled to the shared parameter module 42, to obtain the common parameters CS, and according to described common Same parameter CS defines the unified interface 10.In an embodiment of the present invention, the unified interface 10 is access address interface, is wrapped Enter the unified interface 10 containing the common parameters CS or with request data S existing for the basic data model, with this Mode realizes that unified interface accesses data.
The data uniform access system based on request data reconstruct further comprises matching unit 70, wherein described The function code module 44 and/or the peculiar parameter module 43 are communicatively coupled to unit 70, to match the number of request According to S and the business module 20.
When the matching unit 70 is communicatively coupled to the function code module 44, the matching unit 70 is according to described Function code GS matches the request data S and the business module 20.At this point, the matching unit 70 obtains the function code GS, and the business module 20 is traversed according to the function code GS, to look for the business module 20 of adaptation, when the number of request After entering the business module 20 according to S, the function code GS converts the basic data model to the characteristic mould Type.
After the matching unit 70 is communicatively coupled to peculiar parameter module 43, the function code module 44 at this time The shared parameter module 42 and the peculiar parameter module 43 are communicatedly connected, and converts the basic data model to described Feature-based data model, the matching unit 70 obtains the characteristic parameter TS, and is asked according to described in characteristic parameter TS matchings Ask data S and the business module 20.
In the same manner, the request data S enters different business modules 20 by unified interface, from different business module 20 The feedback information of feedback is exported by unified interface, so as to dramatically save the waste of interface resource, improves server Efficiency of service.
In some embodiments, des encryption decryption can be carried out to the request data S, is passed with improving the request data S Defeated safety.Specifically, DES (Data Encryption Standard) is one kind of symmetrical enciphering and deciphering algorithm, by IBM Company develops in the last century 70's.The algorithm is using 64 keys (wherein comprising 8 bit parity checks, actual key length It is 56) to the block data encryption as unit of 64,64 ciphertext data are generated, are then solved using identical key It is close.Key only has communicating pair to know, third party is not disclosed.
In one embodiment of this invention, enter the unified interface after des encryption being carried out to the request data S 10, the server is decrypted to obtain ciphertext data, and turning the request data S into again for encrypted request data S Entity object is turned to, different business modules is entered after then the function code in entity object is identified.
The present invention is not limited to above-mentioned preferred forms, anyone can show that other are various under the enlightenment of the present invention The product of form, however, make any variation in its shape or structure, it is every that there is skill identical or similar to the present application Art scheme, is within the scope of the present invention.

Claims (10)

  1. A 1. data unified access method based on request data reconstruct, which is characterized in that include the following steps:
    S1:RECONFIGURATION REQUEST data form common parameters and peculiar parameter, addition function code to the request data, the work( It can a code correspondence at least business module;
    S2:Unified interface is set according to the common parameters, wherein the unified interface allows to include asking for the common parameters Data is asked to enter;And
    S3:The function code is obtained, matches the function code and corresponding business module.
  2. 2. the data unified access method according to claim 1 based on request data reconstruct, which is characterized in that the step Rapid S1 includes:
    S11:According to the identical parameters of at least two business modules, the common parameters in the request data are encapsulated;
    S12:According to the characteristic parameter of corresponding business module, the peculiar data of the request data are formed, and based on described Basic data model obtains feature-based data model;And
    S13:Function code is set according to the business module, adds the function code to the request data.
  3. 3. the data unified access method according to claim 2 based on request data reconstruct, which is characterized in that the work( Energy code converts the basic data model to the feature-based data model.
  4. 4. the data unified access method according to claim 2 based on request data reconstruct, which is characterized in that the step Rapid S3 includes:
    S31:Obtain the function code in the request data;
    S32:According to the function code, the matched business module is identified;And
    S33:The basic data model is converted to the feature-based data model, the feature-based data model enters the business mould Block.
  5. 5. the data unified access method according to claim 2 based on request data reconstruct, which is characterized in that the step Rapid S3 includes:
    S31a:Obtain the function code in the request data;
    S32a:According to the function code, the matched business module is identified;And
    S33a:The basic data model enters the business module, and converts the basic data mould according to the function code Type and the feature-based data model.
  6. 6. according to any data unified access method reconstructed based on request data of claim 1 to 5, feature exists In the request data exists with JSON data formats, is submitted in a manner of POST.
  7. 7. according to any data unified access method reconstructed based on request data of claim 2 to 5, feature exists In the characteristic parameter that the function code corresponds to the business module is formed.
  8. A 8. data uniform access system based on request data reconstruct, which is characterized in that including:
    Data cell, wherein the data cell stores an at least request data;
    Business unit, wherein the business unit obtains the business datum of an at least business module, wherein the business data packet Include identical parameters and characteristic parameter;And
    Reconfiguration unit wherein the reconfiguration unit is communicatively coupled to the unit of the business to obtain the business datum, leads to Letter the data cell is connected to obtain the request data, and the reconfiguration unit includes shared parameter module, peculiar ginseng Digital-to-analogue block and function code module, wherein the shared parameter module is reconstructed according to the identical parameters in the request data Common parameters, the peculiar parameter module reconstruct the peculiar parameter in the request data, the work(according to the characteristic parameter Energy code module obtains function code according to the business datum, and the identification code identifies specific business module.
  9. 9. the data uniform access system according to claim 8 based on request data reconstruct, which is characterized in that including connecing Mouthful unit and matching unit, wherein the interface unit communications to be connected to the shared parameter module described common to obtain Parameter, and unified interface is defined according to the common parameters, wherein the matching unit is communicatively coupled to the business unit And the reconfiguration unit, matching request data and specific business module.
  10. 10. according to any data uniform access system reconstructed based on request data of claim 8 to 9, feature exists In the shared parameter module builds basic data model according to the common parameters, and the peculiar parameter module is according to Peculiar parameter construction feature data model, the function code convert the basic data model to the feature-based data model.
CN201810264523.5A 2018-03-28 2018-03-28 Data unified access method and system based on request data reconstruction Active CN108234678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810264523.5A CN108234678B (en) 2018-03-28 2018-03-28 Data unified access method and system based on request data reconstruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810264523.5A CN108234678B (en) 2018-03-28 2018-03-28 Data unified access method and system based on request data reconstruction

Publications (2)

Publication Number Publication Date
CN108234678A true CN108234678A (en) 2018-06-29
CN108234678B CN108234678B (en) 2024-02-02

Family

ID=62659134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810264523.5A Active CN108234678B (en) 2018-03-28 2018-03-28 Data unified access method and system based on request data reconstruction

Country Status (1)

Country Link
CN (1) CN108234678B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115482633A (en) * 2022-09-13 2022-12-16 珠海市新德汇信息技术有限公司 Method, system, storage medium and device compatible with communication interaction of different devices

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827302A (en) * 2010-04-19 2010-09-08 中兴通讯股份有限公司 Multi-service unified processing method and unified service platform
CN102932339A (en) * 2012-10-25 2013-02-13 北京奇虎科技有限公司 Network reading system
CN102984206A (en) * 2012-11-02 2013-03-20 曙光云计算技术有限公司 Method of increasing business objects in cloud computing environment
CN106603593A (en) * 2015-10-15 2017-04-26 北京京东尚科信息技术有限公司 HTTP calling method and device based on adaption

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827302A (en) * 2010-04-19 2010-09-08 中兴通讯股份有限公司 Multi-service unified processing method and unified service platform
CN102932339A (en) * 2012-10-25 2013-02-13 北京奇虎科技有限公司 Network reading system
CN102984206A (en) * 2012-11-02 2013-03-20 曙光云计算技术有限公司 Method of increasing business objects in cloud computing environment
CN106603593A (en) * 2015-10-15 2017-04-26 北京京东尚科信息技术有限公司 HTTP calling method and device based on adaption

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115482633A (en) * 2022-09-13 2022-12-16 珠海市新德汇信息技术有限公司 Method, system, storage medium and device compatible with communication interaction of different devices

Also Published As

Publication number Publication date
CN108234678B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
US7565324B2 (en) Shared authorization data authentication method for transaction delegation in service-based computing environments
US7117366B2 (en) Public key based authentication method for transaction delegation in service-based computing environments
CN110135986B (en) Method for realizing searchable encrypted file data based on blockchain intelligent contract
Razouk et al. A new security middleware architecture based on fog computing and cloud to support IoT constrained devices
CN107168971B (en) Data processing method and device for webpage application
CN109460966A (en) Contract signing method, apparatus and terminal device based on requesting party's classification
CN105323061B (en) It is a kind of can keyword search outsourcing key generate and decryption attribute based system and decryption method
CN104662839B (en) The link identification in multiple domains
WO2020233049A1 (en) Data authorization method and apparatus of blockchain system, storage medium, and electronic device
CN110086755A (en) Realize method, application server, internet of things equipment and the medium of Internet of Things service
CN104299135A (en) Online payment system and method
CN113726522A (en) Internet of things equipment processing method and device based on block chain
CN1753569B (en) System and method for treating mobile communication data business based on false code
CN110381075A (en) Equipment identities authentication method and device based on block chain
CN110648241A (en) Claim settlement processing method and device based on micro-service architecture
US20130145149A1 (en) Authentication device, authentication method and computer readable medium
CN104125230A (en) Short message authentication service system and authentication method
CN114363412A (en) Message data processing method and device, computer equipment and storage medium
CN108875004A (en) resource access method and device
CN116469501A (en) Electronic medical record sharing method, system, equipment and storage medium based on blockchain
CN113836571B (en) Medical data possession terminal position matching method and system based on cloud and blockchain
CN108234678A (en) Data unified access method and system based on request data reconstruct
CN101325493B (en) Method and system for authenticating a user
CN108256344A (en) A kind of SaaS enterprise platforms Database Systems and attaching method thereof
CN208273017U (en) Data uniform access system based on request data reconstruct

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200324

Address after: 310000 No. 5, huayaotou, Shangtang Town, Gongshu District, Hangzhou City, Zhejiang Province

Applicant after: Shen Kang

Address before: 310051 1001-7, room 3, 3 star road, Jiangling Road, Binjiang District, Hangzhou, Zhejiang.

Applicant before: HANGZHOU QIZHI INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20231110

Address after: Room 1001-7, Building 3, Xingyao City, No. 2028 Jiangling Road, Xixing Street, Binjiang District, Hangzhou City, Zhejiang Province, 310000

Applicant after: HANGZHOU QIZHI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: Family 5, Wayaotou, Shangtang Town, Gongshu District, Hangzhou City, Zhejiang Province 310000

Applicant before: Shen Kang

GR01 Patent grant
GR01 Patent grant