The content of the invention
In view of this, the embodiment of the present invention provide the present invention provide it is a kind of handle mobile terminal service request method,Device, electronic equipment and readable storage medium storing program for executing, can solve the problem that can not accurately judge the industry in the embedded page input of application programThe problem of risk class of business request.
To achieve the above object, there is provided a kind of industry for handling mobile terminal for one side according to embodiments of the present inventionThe method for being engaged in asking, the mobile terminal includes at least one application program, and the application program has at least one embedded pageFace, it is characterised in that methods described comprises the following steps:Gather the facility information of the mobile terminal;User is monitored describedThe operation information of the embedded page;According to the facility information of the mobile terminal and user the embedded page operation informationRisk class is assessed with the interactive relation of the content shown by the embedded page;When risk class is higher than predetermined grade, blockCut service request.
Preferably, the facility information includes equipment unique identifier, latitude and longitude information, screen message and operating system letterBreath.
Preferably, the user includes touch letter of the user in the embedded page in the operation information of the embedded pageBreath, keyboard operation information and mouse action information.
Preferably, the user includes operation point coordinates in the operation information of the embedded page, when the embedded pageWhen shown content includes button, the button has a coordinate range, the facility information according to the mobile terminal withAnd user assesses risk etc. in the operation information of the embedded page with the interactive relation of the content shown by the embedded pageThe step of level, at least includes following sub-step:Sub-step is judged, for judging the operation point coordinates whether in the buttonIn the coordinate range;Sub-step is assessed, the judged result according at least to the judgement sub-step assesses risk class.
Preferably, when the judgement sub-step judges:The operation point coordinates is not in the coordinate model of the buttonWhen enclosing interior, assess sub-step and be evaluated as risk class to be higher than predetermined grade.
Preferably, the user includes operating point coordinate set, the operating point in the operation information of the embedded pageCoordinate set includes multiple operation point coordinates, and the multiple operation point coordinates corresponds respectively to multiple time points, when described embeddedWhen content shown by the page includes sliding button, the facility information and user according to the mobile terminal is described interiorThe step of interactive relation of the operation information of the embedding page and the content shown by the embedded page assesses risk class is at least wrappedInclude following sub-step:Judge sub-step, judge whether user wraps in the operation of the embedded page according to operating point coordinate setContaining slide;Sub-step is assessed, the judged result according at least to the judgement sub-step assesses risk class.
Preferably, when the judgement sub-step judges:User the embedded page operation not comprising slideWhen, assess sub-step and be evaluated as risk class to be higher than predetermined grade.
Preferably, call primary API to gather setting for the mobile terminal using Javascript by hybrid technologiesStandby information.
Preferably, according to the risk class assessed, for service request, user is given different output.
To achieve the above object, there is provided a kind of processing mobile terminal for another aspect according to embodiments of the present inventionThe device of service request, the mobile terminal includes at least one application program, and the application program is embedded with least oneThe page, it is characterised in that described device includes as follows:Acquisition module, gathers the facility information of the mobile terminal;Monitor mouldBlock, operation information of the monitoring user in the embedded page;Risk evaluation module, according to the facility information of the mobile terminal withAnd user assesses risk etc. in the operation information of the embedded page with the interactive relation of the content shown by the embedded pageLevel;Blocking module, for when risk class is higher than predetermined grade, interception service to be asked.
Preferably, the facility information includes equipment unique identifier, latitude and longitude information, screen message and operating system letterBreath.
Preferably, the user includes touch letter of the user in the embedded page in the operation information of the embedded pageBreath, keyboard operation information and mouse action information.
Preferably, the user includes operation point coordinates in the operation information of the embedded page, when the embedded pageWhen shown content includes button, the button has coordinate range, and the risk evaluation module at least includes following submoduleBlock:Judging submodule, for judging the operation point coordinates whether in the coordinate range of the button;Assess submoduleBlock, the judged result according at least to the judging submodule assesses risk class.
Preferably, when the judging submodule judges:The operation point coordinates is not in the coordinate model of the buttonWhen enclosing interior, assess submodule and be evaluated as risk class to be higher than predetermined grade.
Preferably, the user includes operating point coordinate set, the operating point in the operation information of the embedded pageCoordinate set includes multiple operation point coordinates, and the multiple operation point coordinates corresponds respectively to multiple time points, when described embeddedWhen content shown by the page includes sliding button, the risk evaluation module at least includes following submodule:Judging submodule,Judge whether user includes slide in the operation of the embedded page according to operating point coordinate set;Submodule is assessed, extremelyIt is few that risk class is assessed according to the judged result of the judging submodule.
Preferably, when the judging submodule is disconnected:User when the operation of the embedded page is not comprising slide,Submodule is assessed to be evaluated as risk class to be higher than predetermined grade.
Preferably, call primary API to gather setting for the mobile terminal using Javascript by hybrid technologiesStandby information.
Preferably, described device also includes:Output module, according to the risk class assessed, for service request, givesThe different output of user.
To achieve the above object, there is provided a kind of electronic equipment, its feature for another aspect according to embodiments of the present inventionIt is, including:One or more processors;Storage device, for storing one or more programs, when one or more of journeysSequence is by one or more of computing devices so that one or more of processors realize the processing mobile terminal of the present inventionService request method.
To achieve the above object, another aspect according to embodiments of the present invention is there is provided a kind of computer-readable medium, itsOn be stored with computer program, it is characterised in that the processing mobile terminal of the present invention is realized when described program is executed by processorService request method.
One embodiment in foregoing invention has the following advantages that or beneficial effect:Because using following technological means:AdoptCollect the facility information of the mobile terminal;Monitor operation information of the user in the embedded page;According to the mobile terminalThe interactive relation of content shown by the operation information and the embedded page of facility information and user in the embedded pageRisk class is assessed, so overcoming can not accurately judge in risk of service request of embedded page input of application program etc.The technical problem of level, and then reach following technique effect:The use vestige of the page can be embedded in application program by user, it is accurateRisk class is really assessed, the service request that risk class is higher than intended level is intercepted.
The further effect that above-mentioned non-usual optional mode has adds hereinafter in conjunction with embodimentWith explanation.
Embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including the various of the embodiment of the present inventionDetails should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognizeArrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.TogetherSample, for clarity and conciseness, eliminates the description to known function and structure in following description.
Fig. 1 is the signal of the key step of the method for the service request of processing mobile terminal according to embodiments of the present inventionFigure.
Fig. 1 shows the key step of the method for the service request of processing mobile terminal according to embodiments of the present invention, instituteStating mobile terminal includes at least one application program, and the application program has at least one embedded page, and methods described includesFollowing steps:
Step S1:Gather the facility information of the mobile terminal;
Step S2:Monitor operation information of the user in the embedded page;
Step S3:The operation information in the embedded page and institute according to the facility information of the mobile terminal and userThe interactive relation for stating the content shown by the embedded page assesses risk class;
Step S4:When risk class is higher than predetermined grade, interception service request.
In step sl, the facility information of the mobile terminal is gathered.The facility information include equipment unique identifier,Latitude and longitude information, screen message and operation system information.
In step s 2, operation information of the monitoring user in the embedded page.The user is in the embedded pageOperation information includes user in the touch information of the embedded page, keyboard operation information and mouse action information.
In step s 2, periodic monitor user obtains operating point coordinate set, operating point in the operation of the embedded pageCoordinate set includes multiple operation point coordinates, and the multiple operation point coordinates corresponds respectively to multiple time points.
Native applications Program Interfaces using Javascript can be called by mixed developing (hybrid) technology(API) facility information of the mobile terminal is obtained.For example, by hybrid technologies, such as Android (Android) systemSystem, using JavaScriptInterface interfaces, primary API is called using JavaScript, carrys out the equipment of collecting device nowUnique identifier, equipment gps and architecture value, size, the operating system of equipment, and user login information etc., to obtainThe facility information of the mobile terminal.
As needed, can be when when the initialization embedded page, starting step S1 and S2.
User can also be worked as when the embedded page clicks on some predetermined-element, starting step S1 and S2.For example, userIn the embedded page for being directed to prize drawing of actual use viewer applications, prize drawing position can be clicked on, prize drawing is initiated and asks, thisIndividual request can starting step S1 and S2.
In step s3, the operation information and institute of the facility information of the mobile terminal and user in the embedded pageThe interactive relation for stating the content shown by the embedded page assesses risk class.
When the content shown by the embedded page includes button, the button has coordinate range, and step S3 is at leastIncluding following sub-step:
Judge sub-step, for judge obtain in step s 2 operation point coordinates whether the button the coordinateIn the range of;
Sub-step is assessed, the judged result according at least to the judgement sub-step assesses risk class.
Preferably, when the judgement sub-step judges:The operation point coordinates is not in the coordinate model of the buttonWhen enclosing interior, assess sub-step and be evaluated as risk class to be higher than predetermined grade.
When the content shown by the embedded page includes sliding button, step S3 at least includes following sub-step:
Judge sub-step, behaviour of the user in the embedded page is judged according to operating point coordinate set is obtained in step s 2Make whether to include slide;
Sub-step is assessed, the judged result according at least to the judgement sub-step assesses risk class.
Preferably, when the judgement sub-step judges:User the embedded page operation not comprising slideWhen, assess sub-step and be evaluated as risk class to be higher than predetermined grade.
For example, when the embedded page is the prize drawing page, if the page is long, and the page of drawing a lottery is in centre, then onlyMeeting following requirement could draw a lottery successfully:1. there is page drop-down action (because the page is longer), 2. have the dynamic of click prize drawing buttonMake 3. and fill in phone number keyboard click information.Otherwise, it is considered as risk subscribers.
It can also be drawn by safety coefficient come estimated risk rank for example, safety coefficient can be integrated by several conditions:
1. if there is equipment unique identifier, safety coefficient+1,
2. if there is equipment gps, safety coefficient+5,
If 3. drop-down action presence, safety coefficient+3 etc..
In step s 4, when risk class is higher than predetermined grade, interception service request.
, for service request, user can also be given different output according to the risk class assessed.For example, for exampleRisk class is too high, and prize drawing is not allowed, and risk class middle rank can allow its prize drawing once, risk class is relatively low, can repeatedly take outPrize.
Fig. 2 shows the main modular of the device 20 of the service request of processing mobile terminal according to embodiments of the present invention,The mobile terminal includes at least one application program, and the application program has at least one embedded page, described device bagInclude:
Acquisition module 21, the facility information for gathering the mobile terminal;
Monitoring modular 22, for monitoring operation information of the user in the embedded page;
Risk evaluation module 23, for the facility information according to the mobile terminal and user in the embedded pageOperation information and the interactive relation of the embedded page displayed content assess risk class;
Blocking module 24, for when risk factor is higher than predetermined grade, interception service to be asked.
Acquisition module 21 is used for the facility information for gathering the mobile terminal.The facility information includes equipment unique identificationCode, latitude and longitude information, screen message and operation system information.
Monitoring modular 22 is used to monitor operation information of the user in the embedded page.The user is in the embedded pageOperation information include user in the touch information of the embedded page, keyboard operation information and mouse action information.
The periodic monitor user of monitoring modular 22 obtains operating point coordinate set, operating point in the operation of the embedded pageCoordinate set includes multiple operation point coordinates, and the multiple operation point coordinates corresponds respectively to multiple time points.
Acquisition module 21 primary API using Javascript can be called by hybrid technologies gather it is described it is mobile eventuallyThe facility information at end.For example, by hybrid technologies, such as, for Android (Android) system, usingJavaScriptInterface interfaces, primary API is called using JavaScript, is carried out the equipment of collecting device now and is uniquely knownOther code, equipment gps and architecture value, size, the operating system of equipment, and user login information etc., to obtain the shiftingThe facility information of dynamic terminal.
As needed, acquisition module 21 and monitoring modular 22 can be started when initializing the embedded page.
User can also be worked as when the embedded page clicks on some predetermined-element, start acquisition module 21 and monitoring modular22.For example, user can click on prize drawing position, hair in the embedded page for being directed to prize drawing of actual use viewer applicationsPrize drawing request is played, this request can start acquisition module 21 and monitoring modular 22.
When the content shown by the embedded page includes button, the button has coordinate range, risk assessment mouldBlock 23 at least includes following submodule:
Judging submodule, for judging the operation point coordinates whether in the coordinate range of the button;
Submodule is assessed, the judged result according at least to the judging submodule assesses risk class.
Preferably, when the judging submodule judges:The operation point coordinates is not in the coordinate model of the buttonWhen enclosing interior, assess submodule and be evaluated as risk class to be higher than predetermined grade.
When the content shown by the embedded page includes sliding button, risk evaluation module 23 at least includes following sonModule:
Whether judging submodule, judge operation of the user in the embedded page comprising slip according to operating point coordinate setOperation;
Submodule is assessed, the judged result according at least to the judging submodule assesses risk class.
Preferably, when the judging submodule is disconnected:User when the operation of the embedded page is not comprising slide,Submodule is assessed to be evaluated as risk class to be higher than predetermined grade.
For example, when the embedded page is the prize drawing page, if the page is long, and the page of drawing a lottery is in centre, then onlyMeeting following requirement could draw a lottery successfully:1. there is page drop-down action (because the page is longer), 2. have the dynamic of click prize drawing buttonMake 3. and fill in phone number keyboard click information.Otherwise, it is considered as risk subscribers.
It can also be drawn by safety coefficient come estimated risk rank for example, safety coefficient can be integrated by several conditions:
1. if there is equipment unique identifier, safety coefficient+1,
2. if there is equipment gps, safety coefficient+5,
If 3. drop-down action presence, safety coefficient+3 etc..
Blocking module 24 is used for when risk class is higher than predetermined grade, interception service request.
The device of the service request of processing mobile terminal according to embodiments of the present invention can also include:Output module 24,For according to the risk class assessed, for service request, user is given different output.
Acquisition module 21, monitoring modular 22, risk evaluation module 23 and blocking module 24 can be deployed in background system, specialIt is not that acquisition module 21, monitoring modular 22 and blocking module 24 are deployed in content distributing network with Javascript program forms(CDN) on.
Intra-company mobile terminal developer, in the exploitation accordingly embedded page (such as html5 embeds the page), by embeddingEnter this section of Javascript program, mobile terminal can call primary API to gather setting for the mobile terminal by Hybrid technologiesStandby information etc., and it is supplied to the risk evaluation module 23 of background system.Because Javascript programs are deployed on CDN,Loading is than very fast.
Embodiments in accordance with the present invention, present invention also offers a kind of electronic equipment and a kind of readable storage medium storing program for executing.
The electronic equipment of the present invention includes:At least one processor;And, it is connected with least one described processor communicationMemory;Wherein, the memory storage have can by the instruction of one computing device, the instruction by it is described at leastOne computing device, so that the service request of at least one described computing device processing mobile terminal provided by the present inventionMethod.
The non-transient computer readable storage medium storing program for executing of the present invention, the non-transient computer readable storage medium storing program for executing storage is calculatedMachine is instructed, and the computer instruction is used for the service request for making the computer perform processing mobile terminal provided by the present inventionMethod.
Below with reference to Fig. 3, it illustrates suitable for for the computer system 300 for the terminal device for realizing the embodiment of the present applicationStructural representation.Terminal device shown in Fig. 3 is only an example, to the function of the embodiment of the present application and should not use modelShroud carrys out any limitation.
As shown in figure 3, computer system 300 includes CPU (CPU) 301, it can be read-only according to being stored inProgram in memory (ROM) 302 or be loaded into program in random access storage device (RAM) 303 from storage part 308 andPerform various appropriate actions and processing.In RAM 303, the system that is also stored with 300 operates required various programs and data.CPU 301, ROM 302 and RAM 303 are connected with each other by bus 304.Input/output (I/O) interface 305 is also connected to alwaysLine 304.
I/O interfaces 305 are connected to lower component:Importation 306 including keyboard, mouse etc.;Penetrated including such as negative electrodeThe output par, c 307 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 308 including hard disk etc.;And the communications portion 309 of the NIC including LAN card, modem etc..Communications portion 309 via such as becauseThe network of spy's net performs communication process.Driver 310 is also according to needing to be connected to I/O interfaces 305.Detachable media 311, such asDisk, CD, magneto-optic disk, semiconductor memory etc., are arranged on driver 310, in order to read from it as neededComputer program be mounted into as needed storage part 308.
Especially, according to embodiment disclosed by the invention, the process described above with reference to key step figure can be implementedFor computer software programs.For example, embodiment disclosed by the invention includes a kind of computer program product, it includes being carried on meterComputer program on calculation machine computer-readable recording medium, the computer program includes the program for being used for performing the method shown in key step figureCode.In such embodiments, the computer program can be downloaded and installed by communications portion 309 from network, and/Or be mounted from detachable media 311.When the computer program is performed by CPU (CPU) 301, the application is performedSystem in the above-mentioned functions that limit.
It should be noted that the computer-readable medium shown in the application can be computer-readable signal media or meterCalculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but notBe limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.MeterThe more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, justTake formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storageDevice (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device,Or above-mentioned any appropriate combination.In this application, computer-readable recording medium can any include or store journeyThe tangible medium of sequence, the program can be commanded execution system, device or device and use or in connection.And at thisIn application, computer-readable signal media can be included in a base band or as the data-signal of carrier wave part propagation,Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limitIn electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer canAny computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used forUsed by instruction execution system, device or device or program in connection.Included on computer-readable mediumProgram code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or above-mentionedAny appropriate combination.
Key step figure and block diagram in accompanying drawing, it is illustrated that according to the system, method and calculating of the various embodiments of the applicationArchitectural framework in the cards, function and the operation of machine program product.At this point, each side in key step figure or block diagramFrame can represent a part for a module, program segment or code, and a part for above-mentioned module, program segment or code includes oneIndividual or multiple executable instructions for being used to realize defined logic function.It should also be noted that in some realizations as replacement,The function of being marked in square frame can also be with different from the order marked in accompanying drawing generation.For example, two succeedingly representSquare frame can essentially be performed substantially in parallel, and they can also be performed in the opposite order sometimes, and this is according to involved functionDepending on.It is also noted that each square frame and block diagram in block diagram or key step figure or the square frame in key step figureCombination, can be realized with the special hardware based system of function or operation as defined in performing, or can with it is special firmlyThe combination of part and computer instruction is realized.
Being described in module involved in the embodiment of the present application can be realized by way of software, can also be by hardThe mode of part is realized.Described module can also be set within a processor, for example, can be described as:A kind of processor bagInclude sending module, acquisition module, determining module and first processing module.Wherein, the title of these modules is under certain conditions simultaneouslyThe restriction in itself to the unit is not constituted, for example, sending module is also described as " sending picture to the service end connectedObtain the module of request ".
As on the other hand, present invention also provides a kind of computer-readable medium, the computer-readable medium can beIncluded in equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.Above-mentioned calculatingMachine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the equipment, makesObtain the equipment and perform a kind of method for the service request for handling mobile terminal, the mobile terminal applies journey including at least oneSequence, the application program has at least one embedded page, it is characterised in that methods described comprises the following steps:Collection is describedThe facility information of mobile terminal;Monitor operation information of the user in the embedded page;Believed according to the equipment of the mobile terminalBreath and user assess wind in the operation information of the embedded page with the interactive relation of the content shown by the embedded pageDangerous grade;When risk class is higher than predetermined grade, interception service request.
Technical scheme according to embodiments of the present invention, reaches following technique effect:Can be by user in application programThe use vestige of the embedding page, assesses risk class, intercepts the service request that risk class is higher than intended level.
Above-mentioned embodiment, does not constitute limiting the scope of the invention.Those skilled in the art should be brightIt is white, depending on design requirement and other factors, can occur various modifications, combination, sub-portfolio and replacement.It is anyModifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present inventionWithin.