Summary of the invention
In view of this, the embodiment of the invention provides a kind of interface service call method and terminal device, it is existing to solveIt is poor that the service of third party system calling interface not only perceives, but also time-consuming error-prone problem.
The first aspect of the embodiment of the present invention provides a kind of interface service call method, comprising:
Receive the hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP) that third party system is sentRequest, determines the source systems and interface service address uniform resource locator (Uniform Resource of the HTTP requestLocator, URL);
According to the source systems and the interface service address URL, the interface service of the HTTP request access is determinedVersion;
According to the version of the interface service and the interface service address URL, target interface address of service URL is generated;
The access address for obtaining interface service from registration center according to the target interface address of service URL, according to describedThe access address of interface service calls corresponding interface service.
Optionally, above-mentioned interface service call method, further includes:
The HTTP request is verified according to default security strategy;
If the HTTP request is verified by security strategy, execute described according to the source systems and interface clothesThe step of being engaged in address URL, determining the version of the interface service of HTTP request access.
Optionally, the HTTP request carries digital signature;
The basis presets security strategy and verify to the HTTP request
If the security strategy is signature check, the HTTP request is digitally signed by prestoring algorithm, ifThe digital signature of acquisition is consistent with the digital signature that the HTTP request carries, then determines that the HTTP request passes through signature schoolIt tests;
If the security strategy is black and white lists verification, inquired in the interface service address URL blacklist prestored trueFixed interface service address URL;If not inquiring determining interface service in the interface service address URL blacklist prestoredAddress URL then determines that the HTTP request is verified by black and white lists.
Optionally, described according to the source systems and the interface service address URL, determine the HTTP request accessThe version of interface service include:
The information that each system prestored accesses the version of each interface service is obtained from control platform database;
According to the information of acquisition, the source systems and the interface service address URL, the HTTP request access is determinedInterface service version.
Optionally, the version and the interface service address URL according to the interface service generates target interface clothesBusiness address URL include:
According to preset interface address of service URL create-rule, version and the interface service to the interface serviceLocation URL is ranked up;
It is combined according to ranking results, generates the target interface address of service URL.
Optionally, described to include: according to the corresponding interface service of the access address of interface service calling
Service request is sent to corresponding interface service, so that the interface takes according to the access address of the interface serviceBusiness returns to corresponding data to the third party system according to the service request.
The second aspect of the embodiment of the present invention provides a kind of interface service calling device, comprising:
HTTP request processing unit determines the HTTP request for receiving the HTTP request of third party system transmissionSource systems and interface service address URL;
Interface service version determining unit, for determining institute according to the source systems and the interface service address URLState the version of the interface service of HTTP request access;
Target interface address of service URL generation unit, for the version and the interface service according to the interface serviceAddress URL generates target interface address of service URL;
Interface service call unit, for obtaining interface clothes from registration center according to the target interface address of service URLThe access address of business calls corresponding interface service according to the access address of the interface service.
Optionally, above-mentioned interface service calling device, further includes:
HTTP request verification unit, for being verified according to default security strategy to the HTTP request;
The interface service version determining unit executes institute if verifying for the HTTP request by security strategyState the version that the interface service of the HTTP request access is determined according to the source systems and the interface service address URLThe step of.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored inIn the memory and the computer program that can run on the processor, when the processor executes the computer programIt realizes such as the step of the above method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storageMedia storage has computer program, realizes when the computer program is executed by processor such as the step of the above method.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention is by receiving third partyThe HTTP request that system is sent determines the source systems and interface service address URL of the request, and according to system configuration, determinesThe corresponding interface service version of third party system, further calls corresponding interface service, improves the spirit of interface service platformActivity, scalability, the perception for reducing third party system calling interface service is poor, time-consuming, blundering risk, also reducesLead to the probability of system fault due to not being adjusted simultaneously, while interface service can be completed in the case where unawareEdition upgrading is switched to early version when new version encounters problems, and is suitble to practical application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposedBody details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specificThe present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricityThe detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It is a kind of schematic flow diagram of interface service call method provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, at thisIn embodiment, it is illustrated by taking the triggering of the angle of application interface platform gateway as an example, here, the basis of application interface platform gatewayFunction is the HTTP request for receiving third party system and sending, and calls corresponding interface service.As shown in Figure 1, in this embodiment,The treatment process of application interface platform gateway may comprise steps of:
S101: receiving the HTTP request that third party system is sent, and determines the source systems and interface clothes of the HTTP requestBusiness address URL.
Here, third party system is any one system docked with application interface platform, and third party system passes through applicationInterface platform calling interface service.HTTP request is the request message from third party system to application interface platform, comprising: messageIn first trip, to the requesting method of resource, the identifier of resource and the agreement used etc..It is above-mentioned to be received in application interface platform gatewayAfter the HTTP request that third party system is sent, the HTTP request is parsed, obtain the source systems of the HTTP request and is connectOral business address URL.Wherein, URL is succinct to the position for the resource that can be obtained from internet and one kind of access methodExpression, be the address of standard resource on internet.Each file on internet has a unique URL, what it includedInformation points out how the position of file and browser should handle it.
Before the HTTP request that application interface platform gateway receives that third party system is sent, application interface platform can be rightThe version that each system accesses each interface service is managed for configuration, and is stored in control platform database.
S102: according to the source systems and the interface service address URL, the interface of the HTTP request access is determinedThe version of service.
Specifically, according to the source systems and the interface service address URL, the HTTP request access is determinedBefore the version of interface service, the HTTP request can also be verified according to security strategy is preset, wherein security strategyIt can also be arranged according to the actual situation, that is, support customized any interception to request.
It, can also be according to default current limliting strategy to the HTTP request if the HTTP request is verified by security strategyIt is verified, wherein the purpose of current limliting is by carrying out the request in speed limit or a time window to concurrent access/requestSpeed limit is carried out to protect system, service can be refused if reaching limiting speed, be lined up or wait, degrade.Specifically, current limlitingStrategy may include: the total number of concurrent of limitation, the instantaneous number of concurrent of limitation, Mean Speed in limitation time window etc., in addition may be used alsoWith according to number of network connections, network flow, server load etc. come current limliting.
If the HTTP request is verified not over security strategy, can return to relevant error information to third party isSystem, and corresponding error result can be counted, it is synchronized to database, safe various dimensions can be carried out according to these dataThe displaying of report.
S103: according to the version of the interface service and the interface service address URL, target interface address of service is generatedURL。
Here, the version of above-mentioned interface service may include version number, and version number can be V1 or V2 etc., above-mentioned generation meshThe mode for marking interface service address URL can be with are as follows: according to preset interface address of service URL create-rule, to the interface serviceVersion and the interface service address URL be ranked up;It is combined according to ranking results, generates the target interface serviceAddress URL, for example, the interface service address URL is Http: //aip.bqir.cn/aip-infoQuery/baseInfo/GetInfo, for the version of the interface service is V2, above-mentioned target interface address of service URL can be Http: //aip.bqir.cn/aip-infoQuery/V2/baseInfo/getInfo.Wherein, preset interface address of service URL generates ruleIt can then be arranged according to the actual situation.
S104: obtaining the access address of interface service according to the target interface address of service URL from registration center, according toThe access address of the interface service calls corresponding interface service.
Here, the corresponding relationship of the access address of registration center's storage interface service address URL and interface service, using connecingMouth platform gateway can determine the access address of the corresponding interface service of above-mentioned target interface address of service URL according to the relationship,Service request is sent to corresponding interface service according to the access address of the interface service, and interface service receives above-mentioned service and asksIt asks and returns to related data to third party system.
If third party system does not receive the related data of interface service return, Ke Yizai by prefixed time intervalSecondary transmission HTTP request is to application interface platform gateway, the related data returned until receiving interface service.
It is evidenced from the above discussion that interface service call method of the embodiment of the present invention, by receiving third party system transmissionHTTP request determines the source systems and interface service address URL of the request, and according to system configuration, determines third party systemCorresponding interface service version, further calls corresponding interface service, improves the flexibility, expansible of interface service platformProperty, the perception for reducing third party system calling interface service is poor, time-consuming, blundering risk, decreases because not simultaneouslyIt is adjusted and is caused the probability of system fault, while the edition upgrading of interface service can be completed in the case where unaware,When new version encounters problems, it is switched to early version, is suitble to practical application.
Referring to Fig. 2, Fig. 2 be another embodiment of the present invention provides a kind of interface service call method exemplary flowFigure.The difference of the present embodiment and above-described embodiment is S202~S203, and S201 is identical as the S101 in a upper embodiment, S204~S205 is identical as S103~S104 in a upper embodiment, referring specifically to S101's in above-described embodiment and S103~S104Associated description does not repeat herein.Interface service call method in the present embodiment can also include:
S202: the HTTP request is verified according to default security strategy.
S203: if the HTTP request is verified by security strategy, according to the source systems and the interface serviceAddress URL determines the version of the interface service of the HTTP request access.
In addition, the HTTP request carries digital signature in a specific example;
The basis presets security strategy and verify to the HTTP request
If the security strategy is signature check, the HTTP request is digitally signed by prestoring algorithm, ifThe digital signature of acquisition is consistent with the digital signature that the HTTP request carries, then determines that the HTTP request passes through signature schoolIt tests;
If the security strategy is black and white lists verification, inquired in the interface service address URL blacklist prestored trueFixed interface service address URL;If not inquiring determining interface service in the interface service address URL blacklist prestoredAddress URL then determines that the HTTP request is verified by black and white lists.
Here, above-mentioned HTTP request can carry digital signature, which is to send the third of above-mentioned HTTP requestMethod, system passes through the digital signature that associated digital signature algorithm carries out above-mentioned HTTP request.If above-mentioned security strategy is signatureVerification, it may include: application interface platform net that application interface platform gateway, which carries out signature check to received above-mentioned HTTP request,The Digital Signature Algorithm for obtaining and saving is closed, third party system and application interface platform gateway consult Digital Signature Algorithm here,Above-mentioned HTTP request is digitally signed using same Digital Signature Algorithm.Application interface platform gateway is according to the number of preservationSignature algorithm is digitally signed received above-mentioned HTTP request, and the digital signature of acquisition and above-mentioned HTTP request are carriedDigital signature is compared, if unanimously, by signature check, if passing through verification, it was demonstrated that above-mentioned HTTP request is not usurpedChange.
If above-mentioned security strategy be black and white lists verification, application interface platform gateway to received above-mentioned HTTP request intoThe verification of row black and white lists may include: on application interface platform gateway is inquired in the interface service address URL blacklist prestoredDetermining interface service address URL is stated, if do not inquired, illustrates it is not blacklist interface service address, passes through black and white nameSingle verification.
Specifically, application interface platform gateway can also add label in the HTTP request, according to the label, noteRecord the security strategy checking procedure of the HTTP request, and the interface service called.Since application interface platform gateway receivesThe request arrived can be very much, when needing to some request tracing, can add a label, net when the request enters gatewayThe movement for closing the associated safety done to above-mentioned request in gateway according to the label records, that is, records above-mentioned request by gatewayIt has invoked which interface service and has carried out the execution of which security strategy, subsequent related personnel is facilitated to inquire data.
Referring to Fig. 3, Fig. 3 is a kind of exemplary flow for interface service call method that yet another embodiment of the invention providesFigure.The difference of embodiment corresponding with Fig. 1 is: it is described according to the source systems and the interface service address URL, it determinesThe version of the interface service of the HTTP request access may include S302.Wherein S301 and the S101 phase in a upper embodimentTogether, S303~S304 is identical as S103~S104 in a upper embodiment, referring specifically to S101, S103 in above-described embodiment~The associated description of S104, does not repeat herein.Specifically, S302 may include S3021~S3022:
S3021: the letter that each system prestored accesses the version of each interface service is obtained from control platform databaseBreath.
S3022: according to the information of acquisition, the source systems and the interface service address URL, determine that the HTTP is askedSeek the version of the interface service of access.
Here, the version that application interface platform accesses each interface service to each system in advance is managed for configuration, andIt is stored in control platform database, application interface platform gateway receives the HTTP request that third party system is sent, and determining shouldThe source systems and interface service address URL of HTTP request, according to the source systems and interface service address URL, from controlThe version that the interface service of the HTTP request access is determined in platform database, in this way, can be complete in the case where unawareIt is switched to early version when new version encounters problems at the edition upgrading of interface service, is suitble to practical application.
Referring to Fig. 4, Fig. 4 be another embodiment of the present invention provides a kind of interface service call method exemplary flowFigure.The difference of embodiment corresponding with Fig. 1 is: the version according to the interface service and the interface service addressURL, generating target interface address of service URL may include S403.Wherein the S101 in S401~S402 and a upper embodiment~S102 is identical, and S404 is identical as the S104 in a upper embodiment, referring specifically to S101~S102 in above-described embodiment and S104Associated description, do not repeat herein.Specifically, S403 may include S4031~S4032:
S4031: version and the interface according to preset interface address of service URL create-rule, to the interface serviceAddress of service URL is ranked up.
S4032: being combined according to ranking results, generates the target interface address of service URL.
Here, URL create-rule in preset interface address of service can be arranged according to the actual situation, the version of above-mentioned interface serviceIt originally may include version number, such as V1, V2 etc., according to the version number of the interface service of acquisition to above-mentioned interface service address URLIt is supplemented, and is redirected, obtain target interface address of service URL, wherein redirection is exactly by various methods to ask networkA fixed direction is asked again to go to other positions.
In addition, in a specific example, it is described to call corresponding interface to take according to the access address of the interface serviceBusiness includes:
Service request is sent to corresponding interface service, so that the interface takes according to the access address of the interface serviceBusiness returns to corresponding data to the third party system according to the service request.
Here, the corresponding relationship of the access address of registration center's storage interface service address URL and interface service, using connecingMouth platform gateway can determine the access address of the corresponding interface service of above-mentioned target interface address of service URL according to the relationship,Service request is sent to corresponding interface service according to the access address of the interface service, and above-mentioned interface service receives above-mentioned clothesBusiness request returns to related data to third party system, the perception for reducing third party system calling interface service is poor, time-consuming,Blundering risk is decreased because not while be adjusted due to leads to the probability of system fault.
Corresponding to interface service call method described in foregoing embodiments, Fig. 5 shows provided in an embodiment of the present invention oneThe schematic block diagram of kind interface service calling device.The each unit that the interface service calling device 500 of the present embodiment includes is used forEach step in the corresponding embodiment of Fig. 1 is executed, referring specifically to the associated description in the corresponding embodiment of Fig. 1 and Fig. 1, hereinIt does not repeat.The interface service calling device 500 of the present embodiment is determined including HTTP request processing unit 501, interface service versionUnit 502, target interface address of service URL generation unit 503 and interface service call unit 504.
Wherein, HTTP request processing unit 501, for receive third party system transmission HTTP request, determine described inThe source systems and interface service address URL of HTTP request.Interface service version determining unit 502, for according to the sourceSystem and the interface service address URL determine the version of the interface service of the HTTP request access.Target interface service groundLocation URL generation unit 503 generates target interface for the version and the interface service address URL according to the interface serviceAddress of service URL.Interface service call unit 504, for being obtained according to the target interface address of service URL from registration centerThe access address of interface service calls corresponding interface service according to the access address of the interface service.
It is evidenced from the above discussion that interface service calling device of the embodiment of the present invention, by receiving third party system transmissionHTTP request determines the source systems and interface service address URL of the request, and according to system configuration, determines third party systemCorresponding interface service version, further calls corresponding interface service, improves the flexibility, expansible of interface service platformProperty, the perception for reducing third party system calling interface service is poor, time-consuming, blundering risk, decreases because not simultaneouslyIt is adjusted and is caused the probability of system fault, while the edition upgrading of interface service can be completed in the case where unaware,When new version encounters problems, it is switched to early version, is suitble to practical application.
Referring to Fig. 6, Fig. 6 be another embodiment of the present invention provides another interface service calling device schematic frameFigure.The interface service calling device 600 of the present embodiment includes HTTP request processing unit 601, interface service version determining unit602, target interface address of service URL generation unit 603, interface service call unit 604 and HTTP request verification unit 605.
Wherein, HTTP request processing unit 601, interface service version determining unit 602, target interface address of service URLGeneration unit 603 and interface service call unit 604 are handled referring specifically to HTTP request in the corresponding embodiment of Fig. 5 and Fig. 5Unit 501, interface service version determining unit 502, target interface address of service URL generation unit 503 and interface service are calledThe associated description of unit 504, does not repeat herein.
Further, HTTP request verification unit 605, for carrying out school to the HTTP request according to default security strategyIt tests.The interface service version determining unit 602, if being verified for the HTTP request by security strategy, described in executionAccording to the source systems and the interface service address URL, the version of the interface service of the HTTP request access is determinedStep.
Further, the HTTP request carries digital signature.
The HTTP request verification unit 605 includes signature check unit 6051 and black and white lists verification unit 6052.
Wherein, signature check unit 6051, if being signature check for the security strategy, by prestoring algorithm to instituteIt states HTTP request to be digitally signed, if the digital signature obtained is consistent with the digital signature that the HTTP request carries, sentenceThe fixed HTTP request passes through signature check.Black and white lists verification unit 6052, if being black and white lists for the security strategyVerification, then inquire determining interface service address URL in the interface service address URL blacklist prestored;If being connect what is prestoredDetermining interface service address URL is not inquired in oral business address URL blacklist, then it is black to determine that the HTTP request passes throughWhite list verification.
Further, the interface service version determining unit 602 includes that information acquisition unit 6021 and version determine listMember 6022.
Wherein, information acquisition unit 6021, it is every for obtaining each system prestored access from control platform databaseThe information of the version of a interface service.Version determining unit 6022, for according to the information of acquisition, source systems and describedInterface service address URL determines the version of the interface service of the HTTP request access.
Further, target interface address of service URL generation unit 603 includes sequencing unit 6031 and combination producing unit6032。
Wherein, sequencing unit 6031 are used for according to preset interface address of service URL create-rule, to the interface serviceVersion and the interface service address URL be ranked up.Combination producing unit 6032, for carrying out group according to ranking resultsIt closes, generates the target interface address of service URL.
Further, described to include: according to the corresponding interface service of the access address of interface service calling
Service request is sent to corresponding interface service, so that the interface takes according to the access address of the interface serviceBusiness returns to corresponding data to the third party system according to the service request.
It is evidenced from the above discussion that the HTTP request that the embodiment of the present invention is sent by receiving third party system, determines that this is askedThe source systems and interface service address URL asked, and according to system configuration, determine the corresponding interface service version of third party systemThis, further calls corresponding interface service, improves flexibility, the scalability of interface service platform, reduce third partyThe perception of system call interfaces service is poor, time-consuming, blundering risk, decreases because not while be adjusted due to leads to beThe probability of system error, while the edition upgrading of interface service can be completed in the case where unaware, it encounters problems in new versionWhen, it is switched to early version, is suitble to practical application.
It is a kind of schematic block diagram of terminal device provided by one embodiment of the present invention referring to Fig. 7, Fig. 7.As shown in fig. 7,The terminal device 70 of the embodiment includes: processor 700, memory 701 and is stored in the memory 701 and can be in instituteState the computer program 702 run on processor 700, such as interface service caller.The processor 700 executes the meterThe step in above-mentioned each interface service call method embodiment, such as step 101 shown in FIG. 1 are realized when calculation machine program 702To 104.Alternatively, the processor 700 realizes each unit in above-mentioned each Installation practice when executing the computer program 702Function, such as the function of unit 601 to 605 shown in Fig. 6.
The computer program 702 can be divided into one or more module/units, one or more of mouldsBlock/unit is stored in the memory 701, and is executed by the processor 700, to complete the present invention.It is one orMultiple module/units can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describingImplementation procedure of the computer program 702 in the terminal device 70.For example, the computer program 702 can be dividedIt is cut into HTTP request processing unit, interface service version determining unit, target interface address of service URL generation unit, interface clothesBusiness call unit and HTTP request verification unit, each unit concrete function are as follows:
The HTTP request that third party system is sent is received, determines the source systems of the HTTP requestWith interface service address URL;
According to the source systems and the interface service address URL, the interface service of the HTTP request access is determinedVersion;
According to the version of the interface service and the interface service address URL, target interface address of service URL is generated;
The access address for obtaining interface service from registration center according to the target interface address of service URL, according to describedThe access address of interface service calls corresponding interface service.
Further, each unit concrete function further include:
The HTTP request is verified according to default security strategy;
If the HTTP request is verified by security strategy, execute described according to the source systems and interface clothesThe step of being engaged in address URL, determining the version of the interface service of HTTP request access.
Further, the HTTP request carries digital signature;
The basis presets security strategy and verify to the HTTP request
If the security strategy is signature check, the HTTP request is digitally signed by prestoring algorithm, ifThe digital signature of acquisition is consistent with the digital signature that the HTTP request carries, then determines that the HTTP request passes through signature schoolIt tests;
If the security strategy is black and white lists verification, inquired in the interface service address URL blacklist prestored trueFixed interface service address URL;If not inquiring determining interface service in the interface service address URL blacklist prestoredAddress URL then determines that the HTTP request is verified by black and white lists.
Further, described according to the source systems and the interface service address URL, determine that the HTTP request is visitedThe version for the interface service asked includes:
The information that each system prestored accesses the version of each interface service is obtained from control platform database;
According to the information of acquisition, the source systems and the interface service address URL, the HTTP request access is determinedInterface service version.
Further, the version and the interface service address URL according to the interface service generates target interfaceAddress of service URL includes:
According to preset interface address of service URL create-rule, version and the interface service to the interface serviceLocation URL is ranked up;
It is combined according to ranking results, generates the target interface address of service URL.
Further, described to include: according to the corresponding interface service of the access address of interface service calling
Service request is sent to corresponding interface service, so that the interface takes according to the access address of the interface serviceBusiness returns to corresponding data to the third party system according to the service request.
The HTTP request that above scheme is sent by receiving third party system determines the source systems and interface clothes of the requestBusiness address URL, and according to system configuration, it determines the corresponding interface service version of third party system, further calls and connect accordinglyOral business, improves flexibility, the scalability of interface service platform, reduces the perception of third party system calling interface serviceDifference, time-consuming, blundering risk, decreases because not while be adjusted due to leads to the probability of system fault, while can be withThe edition upgrading that interface service is completed in the case where unaware is switched to early version when new version encounters problems, and is suitble to realBorder application.
The terminal device 70 can be the calculating such as desktop PC, notebook, palm PC and cloud server and setIt is standby.The terminal device may include, but be not limited only to, processor 700, memory 701.It will be understood by those skilled in the art thatFig. 7 is only the example of terminal device 70, does not constitute the restriction to terminal device 70, may include more more or less than illustratingComponent, perhaps combine certain components or different components, such as the terminal device can also be set including input and outputStandby, network access equipment, bus etc..
Alleged processor 700 can be central processing unit (Central Processing Unit, CPU), can also beOther general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processorDeng.
The memory 701 can be the internal storage unit of the terminal device 70, such as the hard disk of terminal device 70Or memory.The memory 701 is also possible to the External memory equipment of the terminal device 70, such as on the terminal device 70The plug-in type hard disk of outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD)Card, flash card (Flash Card) etc..Further, the memory 701 can also be both interior including the terminal device 70Portion's storage unit also includes External memory equipment.The memory 701 is for storing the computer program and the terminalOther programs and data needed for equipment.The memory 701, which can be also used for temporarily storing, have been exported or will be defeatedData out.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each functionCan unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by differentFunctional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completingThe all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can alsoTo be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integratedUnit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function listMember, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above systemThe specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodimentThe part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosureMember and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actuallyIt is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technicianEach specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceedThe scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be withIt realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, instituteThe division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such asMultiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.SeparatelyA bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, deviceOr the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale orIn use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementationAll or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer programCalculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that onThe step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generationCode can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable mediumIt may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program codeDish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meterThe content that calculation machine readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice,Such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and electricityBelieve signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned realityApplying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned eachTechnical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modifiedOr replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should allIt is included within protection scope of the present invention.