CN104516890A - Business processing method, business processing device and electronic equipment - Google Patents

Business processing method, business processing device and electronic equipment Download PDF

Info

Publication number
CN104516890A
CN104516890A CN201310452436.XA CN201310452436A CN104516890A CN 104516890 A CN104516890 A CN 104516890A CN 201310452436 A CN201310452436 A CN 201310452436A CN 104516890 A CN104516890 A CN 104516890A
Authority
CN
China
Prior art keywords
specified services
service processing
web page
processing unit
business
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
CN201310452436.XA
Other languages
Chinese (zh)
Other versions
CN104516890B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310452436.XA priority Critical patent/CN104516890B/en
Priority to PCT/CN2014/086732 priority patent/WO2015043405A1/en
Publication of CN104516890A publication Critical patent/CN104516890A/en
Application granted granted Critical
Publication of CN104516890B publication Critical patent/CN104516890B/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1834Distributed file systems implemented based on peer-to-peer networks, e.g. gnutella
    • G06F16/1837Management specially adapted to peer-to-peer storage networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Abstract

The invention discloses a business processing method, a business processing device and electronic equipment, and belongs to the technical field of computers. The method comprises the steps that: a current webpage displayed by a webpage display unit is detected to determine whether a preset interface corresponding to the specific business is called, and when the preset interface is called, the preset interface generates a processing request for processing the specific business; and the processing request is sent to a business processing unit corresponding to the specific business in an application, and the business processing unit processes the specific business. According to the method, the preset interface is called by the current webpage displayed by a webpage display unit, the processing request for processing the specific business is generated by the preset interface, the processing request is sent to the business processing unit corresponding to the specific business in the application, and the business processing unit processes the specific business; and problems of low speed of business processing and low efficiency are solved; and high efficiency of business processing can be achieved.

Description

Method for processing business, device and electronic equipment
Technical field
The present invention relates to field of computer technology, particularly a kind of method for processing business, device and electronic equipment.
Background technology
Along with in terminal, the function of application program is enriched constantly, browser is built-in with in a lot of application program, this browser is commonly referred to built-in browser, user can browse relevant webpage by the built-in browser in application program, and can content on operation web page to realize related service, such as realize sending on webpage, share, collect or the business processing such as network payment.
Built-in browser has generally included web displaying unit, predetermined interface and process kernel.When realizing business processing, whether the current web page that built-in browser detects the display of webpage display unit calls the predetermined interface corresponding with specified services, when detecting that the current web page that web displaying unit shows calls the predetermined interface corresponding with specified services, this predetermined interface is then utilized to generate the process request corresponding with this specified services, this process request can be sent to server by the process kernel of built-in browser, the prompting frame relevant to this specified services by server push gives this current web page, like this, user then can operate prompting frame that current web page shows with finishing service process.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem: built-in browser is in the process realizing business processing, need to obtain prompting frame by network from server, just can complete the process to business, and the speed that terminal obtains data by network from server is usually slow, therefore the speed of method when business processing of existing business processing is slow, and efficiency is lower.
Summary of the invention
In order to the speed solved in prior art when business processing is slow, the problem that efficiency is lower, embodiments provides a kind of method for processing business, device and electronic equipment.Described technical scheme is as follows:
First aspect, provides a kind of method for processing business, and described method comprises:
Whether the current web page detecting the web displaying unit display in application program calls the predetermined interface corresponding with specified services;
If testing result is the current web page of web displaying unit display call the predetermined interface corresponding with specified services, then generate the process request for the treatment of specified services by described predetermined interface;
Described process request is sent to Service Processing Unit corresponding with described specified services in described application program, by described Service Processing Unit, described specified services is processed.
Second aspect, provides a kind of business processing device, and described device comprises:
Call detection module, whether call the predetermined interface corresponding with specified services for the current web page detecting the web displaying unit display in application program;
Request generation module, in the described testing result calling detection module be the current web page of web displaying unit display call the predetermined interface corresponding with specified services time, generate the process request for the treatment of specified services by described predetermined interface;
Service Processing Module, sends to Service Processing Unit corresponding with described specified services in application program for the described process request generated by described request generation module, is processed by described Service Processing Unit to described specified services.
The third aspect, provides a kind of electronic equipment, and described electronic equipment comprises the business processing device as described in second aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
When calling the predetermined interface corresponding with specified services by the current web page shown at the web displaying unit of application program, the process request for the treatment of specified services is generated according to this predetermined interface, process request is sent to Service Processing Unit corresponding with specified services in application program, by Service Processing Unit, specified services is processed; The speed solved in prior art when business processing is slow, the problem that efficiency is lower; Due to the unit that may be used for process business that the Service Processing Unit in application program is pre-set, and no longer need to obtain relevant prompting frame from server, therefore the velocity ratio of business processing is very fast, reaches the effect that can improve business processing efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the method for processing business provided in one embodiment of the invention;
Fig. 2 is the method flow diagram of the method for processing business provided in another embodiment of the present invention;
Fig. 3 is the schematic diagram of the code intermodulation provided in section Example of the present invention;
Fig. 4 A is the schematic diagram of business procession in section Example of the present invention;
Fig. 4 B is the schematic diagram of the user operation business control provided in the present invention's part embodiment;
Fig. 4 C is the schematic diagram of the user operation business control provided in another part embodiment of the present invention;
Fig. 4 D is the schematic diagram of the prompting frame provided in section Example of the present invention;
Fig. 4 E is that the schematic diagram of result is shared in the display on webpage provided in section Example of the present invention;
Fig. 5 is the structural representation of the business processing device provided in one embodiment of the invention;
Fig. 6 is the structural representation of the business processing device provided in another embodiment of the present invention;
Fig. 7 is the block diagram of the electronic equipment provided in section Example of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail." electronic equipment " said in literary composition can comprise smart mobile phone, panel computer, intelligent television, E-book reader, MP3 player (Moving Picture Experts GroupAudio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4(Moving PictureExperts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top computer etc.
In order to improve the experience of user, a lot of instant messaging application programs of installing in current electronic equipment are provided with built-in browser, and user can, when opening and log in this application program, directly use its built-in browser to browse webpage.Application program due to instant messaging has the feature of instant messaging, therefore when user to view in webpage a certain section article or a certain pictures is relatively good, may want these contents to be shared with oneself good friend or in being collected in oneself application program account.Then tell about by several embodiment the process how to be processed by the web page contents of the Service Processing Unit in application program to built-in browser display in detail below.
Shown in Figure 1, the method flow diagram of the method for processing business provided in one embodiment of the invention is provided.This method for processing business can be applied to and be provided with in the electronic equipment of application program, and application program said here can for having the instant messaging application program browsing webpage function.This method for processing business can comprise:
101, whether the current web page detecting the web displaying unit display in application program calls the predetermined interface corresponding with specified services;
Generally; have the instant messaging application program browsing webpage function and usually can be provided with a built-in browser, whether the current web page of the web displaying unit display that built-in browser can detect in application program calls the predetermined interface corresponding with specified services.This built-in browser can comprise web displaying unit, predetermined interface and process kernel usually.
Here said web displaying unit can display web page, such as, when user opens this application program, receive the information that good friend sends, a URL(Uniform ResourceLocator is included, URL(uniform resource locator) in this information), now user can select to open this URL, corresponding, this application program then can show the webpage corresponding with this URL by web displaying unit.
Here said predetermined interface is normally corresponding with business, such as corresponding with transmission business predetermined interface, the predetermined interface corresponding with sharing business or the predetermined interface etc. corresponding with collection business.Specifically, the API(Application ProgrammingInterface that these predetermined interface can be called for the needs when the business of process, application programming interface).
102, if the current web page that testing result is the display of web displaying unit calls the predetermined interface corresponding with specified services, then generate the process request for the treatment of specified services by predetermined interface;
When current web page calls the predetermined interface corresponding with specified services, this predetermined interface then can obtain all information relevant to this specified services, webpage etc. perhaps relevant with this specified services in such as relevant to this specified services.Predetermined interface in built-in browser can generate the process request for the treatment of this specified services according to the information relevant to this specified services obtained.
103, process request is sent to Service Processing Unit corresponding with specified services in application program, by Service Processing Unit, specified services is processed.
Process request is sent to Service Processing Unit corresponding with specified services in application program by built-in browser, is processed specified services by Service Processing Unit.
Existing great majority have in the application program of instant communication function can be provided with one or more Service Processing Unit, and these Service Processing Units can have respectively such as can be shared chosen content to friend circle or chosen content is sent to some or certain some good friend that user specifies or collect the content of the specifying function to business processing such as user accounts in this application program.Instant messaging application program is believed for existing X; usually can include in X letter and share Service Processing Unit for what content is shared with circle of friends; also include transmission Service Processing Unit content being sent to good friend; also include the collection Service Processing Unit of collection given content, also include the Service Processing Unit etc. given content being sent to mailbox.
Generally, Service Processing Unit needs to call to be set in advance in prompting frame template relevant to type of service in this application program when the business of process, when Service Processing Unit needs process business, directly the relevant information of business is added in this prompting frame template, just can be implemented in this application program and demonstrate the prompting frame relevant to business, this prompting frame of user operation then can complete the process to business.Usually for different business, the content of prompting frame template is also different, for example, and good friend's scope etc. that the prompting frame template relevant to sharing business can comprise edit box, the theme shared or brief introduction content and/or share; Again for example, relevant to transmission business prompting frame template can comprise good friend's scope etc. of edit box, the theme of transmission, the web page address of transmission and/or transmission.
When process request is sent to Service Processing Unit corresponding with specified services in application program by built-in browser, this Service Processing Unit then directly can call the required prompting frame template corresponding with this specified services prestored in the application, and the relevant information with this specified services is added in this prompting frame template to generate the prompting frame of the relevant information that can show specified services, then this prompting frame is shown to user in the application, so that the content in this prompting frame of user operation, completes the process to this specified services.So just, can realize completing business processing to web page contents by the respective code in application program.
Certainly, in actual applications, Service Processing Unit can also realize the process to business by other means, because Service Processing Unit is the function that application program has just realized originally, Service Processing Unit in application program is that those skilled in the art can both realize in the actual implementation procedure of process business, just no longer all implementation procedures is described one by one here.
As from the foregoing, when the webpage of web displaying unit display calls with predetermined interface corresponding with specified services in built-in browser, show to need to process specified services, the Service Processing Unit now then business processing can being handed to application program by step 102 and step 103 goes to realize, Service Processing Unit due to application program is the processing unit that can be used for processing related service pre-set in the application, therefore can directly be processed this specified services by Service Processing Unit.
In the first possible implementation of the present embodiment, after generating the process request for the treatment of specified services by predetermined interface, also comprise:
Detect the authority whether current web page has process specified services;
If testing result is current web page, there is the authority processing specified services, then perform and will process the step that request sends to Service Processing Unit corresponding with specified services in application program.
In the implementation that the second of the present embodiment is possible, detect the authority whether current web page has process specified services, comprising:
Detect in the application programming interface permissions list corresponding with current web page prestored and whether there is predetermined interface, application programming interface permissions list is that the current web page of preserving issued by server when current web page is opened has permission all application programming interface called.
In the third possible implementation of the present embodiment in, detect current web page whether have process specified services authority before, also comprise:
By predetermined interface, process request is sent to request queue;
Be used to indicate to the transmission of process kernel the notice that there is new process request by predetermined interface;
After process kernel receives notice, obtained the process request in request queue by process kernel.
In the 4th kind of possible implementation of the present embodiment, describedly by described Service Processing Unit, described specified services to be processed, comprising:
The prompting frame corresponding with described specified services is generated by described Service Processing Unit;
The operation to described prompting frame is received by described Service Processing Unit;
Process to described specified services is completed according to the described operation received by described Service Processing Unit.
In the 5th kind of possible implementation of the present embodiment, process request is being sent to Service Processing Unit corresponding with specified services in application program, after by Service Processing Unit specified services being processed, is also comprising:
Receive the result that the specified services corresponding to process request is processed that Service Processing Unit returns;
Result is returned to current web page.
In sum, the method for processing business provided in the embodiment of the present invention, when calling the predetermined interface corresponding with specified services by the current web page of web displaying unit display in the application, utilize the generation of this predetermined interface for the treatment of the process request of specified services, process request is sent to Service Processing Unit corresponding with specified services in application program, by Service Processing Unit, specified services is processed; The speed solved in prior art when business processing is slow, the problem that efficiency is lower; Due to the unit that may be used for process business that the Service Processing Unit in application program is pre-set, and no longer need to obtain relevant prompting frame from server, therefore the velocity ratio of business processing is very fast, reaches the effect that can improve business processing efficiency.
Shown in Figure 2, the method flow diagram of the method for processing business provided in one embodiment of the invention is provided.This method for processing business can be applied to and be provided with in the electronic equipment of application program, and application program said here can for having the instant messaging application program browsing webpage function.This method for processing business can comprise:
201, whether the current web page detecting the web displaying unit display in application program calls the predetermined interface corresponding with specified services;
Generally, there is the instant messaging application program browsing webpage function and can be provided with a built-in browser, whether the current web page of the web displaying unit display that this built-in browser can detect in application program calls the predetermined interface corresponding with specified services, and this built-in browser can comprise web displaying unit, predetermined interface and process kernel.
Here said web displaying unit can display web page, such as, when opening this application program, if receive the information that good friend sends, a URL is included in this information, now user can select to open this URL, corresponding, this application program then can show the webpage corresponding with this URL by web displaying unit.
Here said predetermined interface is normally corresponding with business, such as corresponding with transmission business predetermined interface, the predetermined interface corresponding with sharing business or the predetermined interface etc. corresponding with collection business.Specifically, these predetermined interface can for needing the API called when the business of process.
In actual applications, when the business processing control in the webpage of web displaying unit display is selected, usually the predetermined interface corresponding with business can be called by the control selected.For example, when selecting the transmission control on webpage as user, then can be called the predetermined transmission interface corresponding with transmission business by the control selected, when user select on webpage share control time, then can be called by the control selected and corresponding with sharing business predeterminedly share interface etc.In the implementation that another kind is possible, user can the business processing control that provides for webpage of selective gist program, same, usually also can be called the predetermined interface corresponding with business by the control selected.
202, if the current web page that testing result is web displaying unit calls the predetermined interface corresponding with specified services, then generate the process request for the treatment of specified services by this predetermined interface;
When current web page calls the predetermined interface corresponding with specified services, built-in browser obtains all information relevant to this specified services by this predetermined interface, the webpage etc. of being perhaps correlated with this specified services in such as relevant to this specified services.The information relevant to this specified services that built-in browser can be obtained by this predetermined interface generates the process request for the treatment of this specified services.
Generally, different specified services, required for the predetermined interface (namely needing the API called) called also different.Such as when specified services is for " sharing a certain section of text ", need the API called then for having the API of sharing function when processing this specified services, and when specified services is for " collecting a certain section of text ", when processing this specified services, need the API called then for having the API of collection function.
In general, need the API called can be JavaScript API usually when processing this specified services, and the API in application program can be expressed as Client API usually, needs the API called when being also and realizing business processing in application program.Shown in Figure 3, the schematic diagram of the code intermodulation provided in section Example of the present invention is provided.Webpage in built-in browser wherein in application program has the service processing function of " sending to good friend ", " sharing to friend circle ", " collection " and " payment ", usually there is the service processing function of " sending to good friend ", " sharing to friend circle ", " collection " and " payment " too, this business of dependent processing unit process that so then can will business to be processed be needed in webpage to go to the client of application program in the client of application program.
Usually, in the process of a business processing, after predetermined interface generates the process request for the treatment of specified services, the predetermined interface of built-in browser needs this process request to inform to the built-in process kernel browsed, and in the process browsed so that built-in, collation process request processes.In actual applications, multiple process request may be there is simultaneously, when needing process related service in the webpage of such as multiple display or in same webpage, when each service needed process, all can call the predetermined interface corresponding with business, now each predetermined interface all needs to inform to process kernel by receiving process request.In order to ensure that process kernel can get all process requests, avoid the omission to process request, and succession when ensureing process request, usually there is the process of one group of interaction process between predetermined interface and process kernel, specifically can see 203 to 205.
203, by this predetermined interface, process request is sent to request queue;
Process request is sent to request queue by this predetermined interface by built-in browser.
For depositing process request in request queue, usually, the structure of this request queue can be a queue, and the feature of queue is first in first out, so just can ensure that process request earlier can be processed previously, process request a little later then needs after all process requests above all process, just can be processed, certainly, in actual applications, the structure of request queue can also be other structure, can also be such as stack etc.The mode that process kernel obtains process request is according to the structures shape of request queue, such as, when the result of request queue is a queue, process kernel then can obtain process request from the team's head this queue successively, when the result of request queue is a stack, process kernel then needs to obtain process request from the stack top of stack successively.
Process request, after acquisition process request, first can be sent to request queue, be sent to tail of the queue or the stack top of request queue by this process request by predetermined interface.
204, be used to indicate to the transmission of process kernel the notice that there is new process request by this predetermined interface;
Built-in browser is used to indicate to the transmission of process kernel the notice that there is new process request by this predetermined interface, namely after process request is sent to request queue by the predetermined interface of built-in browser, then the predetermined interface of built-in browser needs to notify that the process kernel of built-in browser exists new process request.In order to avoid predetermined interface goes wrong when process request is sent to request queue; such as not successful process request is sent to queue; usual meeting after process request being sent to request queue success, then goes notifier processes kernel to there is new process request.
205, after this process kernel receives notice, obtained the process request in request queue by process kernel;
After this process kernel receives notice, built-in browser obtains the process request in request queue by process kernel.
Because each invoked predetermined interface all can generate at least one process request (such as, the predetermined transmission interface of multiple transmission calling services, this predetermined transmission interface then correspondingly can generate multiple process request), and need to send a notice at the rear of generating process request to process kernel, and process kernel all can know from request queue after receiving notice at every turn process request, therefore in order to avoid process kernel repeatedly obtains same process request from request queue, process kernel upon receipt of the notification, this request queue can be emptied after obtaining all process requests existed in request queue.
Like this; when the structure of above-mentioned request queue is a stack; feature due to stack is first in first out; if when only obtaining one of them process request; at first stored in process request wait for very long could being processed possibly, therefore process to ensure the process request got as soon as possible, all process that process kernel can obtain in stack are usually asked; then in order to avoid repeatedly obtaining identical process request from request queue, also need to empty this request queue when obtaining process request.
Obviously, in actual applications, process kernel can also after completing a process request, next process request is obtained again from request queue, for example, when the structure of request queue is a queue, process kernel is after completing a process request, first process request can be obtained from team's head of this queue, and this process request is processed, after processing, again obtain first new process request from team's head of this queue, in this case, also can not need disposablely from request queue, to obtain out all process requests, predetermined interface notifier processes kernel is not needed to there is new process request etc. yet.
206, detect the authority whether current web page has process specified services;
Built-in browser detects the authority whether current web page has process specified services.Under normal circumstances, in order to avoid current web page is the danger that fishing webpage or business information are wherein tampered when causing business processing, before process request is sent to the Service Processing Unit of application program, also need to carry out Authority Verification to current web page.Also the authority whether current web page has process specified services is namely detected.
In actual applications, after a webpage is opened, first an application programming interface API permissions list can be obtained from relevant server, preserve current web page in this API permissions list and have permission all API called, such as when carrying out network payment, some API for paying carried out legal putting on record all in the server, whether the API called for the treatment of needs during specified services just needing here to carry in check processing request is in this API permissions list, if these API are in this API permissions list, then show that this current web page has the authority of this specified services of process, otherwise, if these all or part API are not present in API permissions list, then show that this current web page does not have the authority of this specified services of process.
207, if testing result is current web page, there is the authority processing specified services, process request is sent to Service Processing Unit corresponding with specified services in application program, by Service Processing Unit, specified services is processed;
When current web page has the authority of process specified services, process request is sent to Service Processing Unit corresponding with specified services in application program by built-in browser, is processed specified services by Service Processing Unit.Under normal circumstances, there is the Service Processing Unit that in the application program of instant communication function, existence is corresponding with specified services, in such as Fig. 3, when the webpage in the built-in browser in application program having " sending to good friend ", " share to friend circle ", the service processing function of " collection " and " payment ", usually have too " sending to good friend " in the client of application program, " share to friend circle ", the service processing function of " collection " and " payment ", this business of related service processing unit processes that so then can will business to be processed be needed in webpage to go to the client of application program.
Usually, by Service Processing Unit, specified services is processed, can comprise:
The first, generate the prompting frame corresponding with described specified services by described Service Processing Unit;
The second, receive the operation to described prompting frame by described Service Processing Unit;
3rd, complete process to described specified services by described Service Processing Unit according to the described operation received.
For example, the prompting frame template relevant to type of service that Service Processing Unit calls in process service needed has been set in advance in this application program, when Service Processing Unit needs process business, directly the relevant information of business is added in this prompting frame template, just can be implemented in this application program and demonstrate the prompting frame relevant to business, this prompting frame of user operation then can complete the process to business.
When process request is sent to Service Processing Unit corresponding with specified services in application program by built-in browser, this Service Processing Unit then directly can call the required prompting frame template corresponding with this specified services prestored in the application, and the relevant information with this specified services is added in this prompting frame template to generate the prompting frame of the relevant information that can show specified services, then this prompting frame is shown to user in the application, so that the content in this prompting frame of user operation, completes the process to this specified services.So just, can realize completing business processing to web page contents by the respective code in application program.
208, receive the result that the specified services corresponding to process request is processed that Service Processing Unit returns;
Built-in browser can receive the result processed the specified services corresponding to process request that Service Processing Unit returns.In actual applications, after the Service Processing Unit in application program completes and to process this process request, if make this current web page to get result, such as " be sent completely " or " collecting successfully ", then also need this result to feed back to this current web page, therefore built-in browser also needs to obtain this result.
209, result is returned to current web page.
After built-in browser gets this result, then this result can be returned to current web page.General, the specified services on the corresponding current web page of meeting or a corresponding webpage is asked in each process, after this process request process completes, result can be fed back to the position at specified services place on current web page or current web page.For example, the mark of webpage or the mark of specified services can also be carried in process request, after this process request has been processed, then according to the mark of the mark of this webpage or specified services, result can be fed back to the position at this specified services place on this webpage or webpage.
In actual applications, process request can also comprise the mark of current web page or the mark of specified services, so that after finally getting result, this result correctly can be returned to this current web page.For example, predetermined interface is after generating process request, a call back function can be registered, parameter in this call back function can comprise the mark of this process request, the mark etc. of the specified services that the mark of the current web page carried in this process request is maybe carried in this process request, after process completes, after process kernel receives result, notice predetermined interface is taken out and anti-this call back function of registration, before getting in this call back function, the mark of registration finds above-mentioned current web page or specified services, so that this result is fed back to current web page or this specified services.
As from the foregoing, click as user under a certain section of text on the current web page shown in built-in browser share control time, the business being carried out sharing by this section of text can call relevant predetermined interface, the information such as this section of text will be carried send to this predetermined interface, by this predetermined interface by this process request forwarding to the Service Processing Unit that can realize sharing in application program, realized the process that this section of text is shared by Service Processing Unit, and result is finally fed back to this current web page.
Below by being told about the process of lower business processing by a possible concrete implementation, refer to shown in Fig. 4 A, it illustrates the schematic diagram of business procession in section Example of the present invention.This business procession can comprise:
401, current web page calls predetermined interface;
The current web page of the web displaying unit display of built-in browser can initiate API Calls when a needs process specified services, namely calls the predetermined interface corresponding with this specified services.
For example, for specified services for web page contents is shared with good friend, when some webpages that user shows in viewer applications, if want the content of this webpage to be shared with good friend, that now then can click the setting on this webpage shares control, as shown in Figure 4 B, the schematic diagram of the user operation business control provided in the present invention's part embodiment is provided, here it should be noted that, when sharing control 41 and being control element in webpage, show that this shares the part that control 41 is webpages, in order to ensure this share control 41 clicked after the Service Processing Unit process of application program can be utilized to share business, then usual when webpage is arranged, can be set to corresponding with sharing business predeterminedly share interface by clicking the interface that calls when this shares control 41, then each step following is performed.
Again for example, still for specified services for web page contents is shared with good friend, when some webpages that user shows in viewer applications, if want the content of this webpage to be shared with good friend, now then can open the list of controls that application program provides, select to share control in this list of controls, as shown in Figure 4 C, the schematic diagram of the user operation business control provided in another part embodiment is provided, wherein includes in list of controls 42 and share control 42a and other multiple controls.After user selects to share control 42a, this webpage can call corresponding with sharing business predeterminedly shares interface.
Above-mentioned is only schematic example, in actual applications, what user can also be arranged in webpage clicking sends to the control of good friend or clicks the control sending to good friend in the application list, now all can call the predetermined interface corresponding with transmission business, business for other is also similar implementation procedure, just repeats no more here.
402, predetermined interface registration call back function;
In order to ensure that final result correctly can return to current web page, first predetermined interface registers a call back function, can comprise the parameter informations such as the mark of the mark of this process request, the mark of this current web page or specified services in this call back function.
403, process request joins request queue by predetermined interface;
404, predetermined interface notifier processes kernel has new process request;
405, process kernel, after receiving this notice, obtains process requests all in this request queue, and empties queue;
406, process kernel checks the authority whether this current web page has this specified services of process;
407, process request is sent to the Service Processing Unit of the correspondence of application program by process kernel;
After process request is sent to Service Processing Unit corresponding in application program by process kernel, first this Service Processing Unit obtains the prompting frame template corresponding with the type of specified services, then the related service information corresponding to process request is added in this prompting frame template, generates one and can show user and allow the prompting frame of user operation.As shown in Figure 4 D, the schematic diagram of the prompting frame provided in section Example of the present invention is provided.Edit box 43a, the theme 43b of sharing contents, the good friend scope 43c shared and some other additional services can be included, the service 43d of " whom reminds see " in such as Fig. 4 D, the service 43e etc. that " city, place can be shown " in the template of this prompting frame 43.When user is after this prompting frame 43 inediting completes, the transmission control 43f in this prompting frame can be clicked, complete the business processing that this web page contents is shared.
It should be added that; Service Processing Unit is when generating prompting frame according to process request; content in prompting frame can be set in advance in prompting frame template according to actual needs; such as different application programs may use different prompting frame templates; content in these prompting frame templates may be different; here the content of prompting frame can not as the restriction of real protection scope of the present invention; and the detailed process that Service Processing Unit generates prompting frame according to process request is all that those of ordinary skill in the art can both realize, and just no longer describes in detail here.
408, after processing is complete, process kernel obtains result;
409, this result is informed to predetermined interface by process kernel, and this predetermined interface is taken out and the anti-parameter registered in this call back function;
410, this result is returned to the webpage corresponding to the parameter in this call back function by predetermined interface.
Such as, after sharing successfully, can show on this webpage and share successful prompting, as shown in Figure 4 E, the schematic diagram of result is shared in the display on webpage that it illustrates provides in section Example of the present invention, shows the result of " sharing successfully " in this Fig. 4 E on webpage.Certainly, if when cannot share, this result returning to webpage is then for cannot share or share failure.
In sum, the method for processing business provided in the embodiment of the present invention, when calling the predetermined interface corresponding with specified services by the current web page shown at the web displaying unit of application program, this predetermined interface generates the process request for the treatment of specified services, process request is sent to Service Processing Unit corresponding with specified services in application program, by Service Processing Unit, specified services is processed; The speed solved in prior art when business processing is slow, the problem that efficiency is lower; Due to the unit that may be used for process business that the Service Processing Unit in application program is pre-set, this Service Processing Unit can directly generate can for the prompting frame relevant to business of user operation, therefore by only needing during Service Processing Unit process specified services just can generate prompting frame in terminal local, and no longer need to obtain relevant prompting frame from server, therefore the velocity ratio of business processing is very fast, reaches the effect that can improve business processing efficiency.
Shown in Figure 5, the structural representation of the business processing device provided in one embodiment of the invention is provided.This business processing device can be applicable to be provided with in the electronic equipment of application program, and application program said here can for having the instant messaging application program browsing webpage function.This business processing device can comprise: call detection module 520, request generation module 540 and Service Processing Module 560.
Call detection module 520, whether call the predetermined interface corresponding with specified services for the current web page detecting the web displaying unit display in application program;
Request generation module 540, for being that the current web page of web displaying unit display calls the predetermined interface corresponding with specified services in the testing result calling detection module 520, then generates the process request for the treatment of specified services by described predetermined interface;
Service Processing Module 560, sends to Service Processing Unit corresponding with described specified services in application program for the described process request generated by described request generation module 540, is processed by described Service Processing Unit to described specified services.
In sum, the business processing device provided in the embodiment of the present invention, when calling the predetermined interface corresponding with specified services by the current web page shown at web displaying unit, the process request for the treatment of specified services is generated according to this predetermined interface, process request is sent to Service Processing Unit corresponding with specified services in application program, by Service Processing Unit, specified services is processed; The speed solved in prior art when business processing is slow, the problem that efficiency is lower; Due to the unit that may be used for process business that the Service Processing Unit in application program is pre-set, and no longer need to obtain relevant prompting frame from server, therefore the velocity ratio of business processing is very fast, reaches the effect that can improve business processing efficiency.
Shown in Figure 6, the structural representation of the business processing device provided in one embodiment of the invention is provided.This business processing device can be applicable in the application program in electronic equipment, and application program said here can for having the instant messaging application program browsing webpage function.This business processing device can comprise: call detection module 601, request generation module 602 and Service Processing Module 603.
Call detection module 601, whether call the predetermined interface corresponding with specified services for the current web page detecting the web displaying unit display in application program;
Request generation module 602, for in the testing result calling detection module 601 be web displaying unit display current web page call the predetermined interface corresponding with specified services, then generate the process request for the treatment of specified services by described predetermined interface, described predetermined interface is be arranged on the interface in described built-in browser, and described built-in browser is built-in browser in the application;
Service Processing Module 603, sends to Service Processing Unit corresponding with described specified services in described application program for the described process request generated by described request generation module 602, is processed by described Service Processing Unit to described specified services.
In the first possible implementation of the present embodiment, described business processing device can also comprise authority detection module 604.
Whether authority detection module 604, have for detecting described current web page the authority processing described specified services;
Service Processing Module 603, for in the testing result of described authority detection module 604 be described current web page there is the authority processing described specified services time, perform and described described process request sent to the step of Service Processing Unit corresponding with described specified services in described application program.
In the implementation that the second of the present embodiment is possible, described authority detection module 604 may be used for:
Detect in the application programming interface permissions list corresponding with described current web page that prestore and whether there is described application programming interface, described application programming interface permissions list is that the described current web page of preserving issued by server when described current web page is opened has the application programming interface that authority calls
In the third possible implementation of the present embodiment, described business processing device can also comprise: the first sending module 605, second sending module 606 and acquisition request module 607.
First sending module 605, for being sent to request queue by described predetermined interface by described process request;
Second sending module 606, for being used to indicate to the transmission of process kernel the notice that there is new process request by described predetermined interface;
Acquisition request module 607, after receiving described notice at described process kernel, obtains the described process request in described request queue by described process kernel.
In the 4th kind of possible implementation of the present embodiment, described Service Processing Module 603, can comprise: prompting generation unit 603a, operation receiving element 603b and business complete unit 603c.
Prompting generation unit 603a, for generating the prompting frame corresponding with described specified services by described Service Processing Unit;
Operation receiving element 603b, for being received the operation to described prompting frame by described Service Processing Unit;
Business completes unit 603c, for completing process to described specified services by described Service Processing Unit according to the described operation received.
In the 5th kind of possible implementation of the present embodiment, described business processing device can also comprise: result receiver module 608 and result return module 609.
Result receiver module 608, for receiving the result processed the described specified services corresponding to described process request that described Service Processing Unit returns;
Result returns module 609, returns to described current web page for the result received by described result receiver module 608.
In sum, the business processing device provided in the embodiment of the present invention, when calling the predetermined interface corresponding with specified services by the current web page shown at web displaying unit, the process request for the treatment of specified services is generated according to this predetermined interface, process request is sent to Service Processing Unit corresponding with specified services in application program, by Service Processing Unit, specified services is processed; The speed solved in prior art when business processing is slow, the problem that efficiency is lower; Due to the unit that may be used for process business that the Service Processing Unit in application program is pre-set, this Service Processing Unit can directly generate can for the prompting frame relevant to business of user operation, therefore by only needing during Service Processing Unit process specified services just can generate prompting frame in terminal local, and no longer need to obtain relevant prompting frame from server, therefore the velocity ratio of business processing is very fast, reaches the effect that can improve business processing efficiency.
It should be noted that: the business processing device provided in above-described embodiment is when the business of process, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by electronic equipment is divided into different functional modules, to complete all or part of function described above.In addition, the business processing device that above-described embodiment provides and method for processing business embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Shown in Figure 7, the block diagram of the electronic equipment provided in section Example of the present invention is provided.The method for processing business that this electronic equipment 700 provides for implementing above-described embodiment.Electronic equipment 700 in the present invention can comprise one or more following ingredient: for performing computer program instructions to complete the processor of various flow process and method, for information and stored program instruction random access memory (RAM) and ROM (read-only memory) (ROM), for storing the storer of data and information, I/O equipment, interface, antenna etc.Specifically:
Electronic equipment 700 can comprise RF(Radio Frequency, radio frequency) parts such as circuit 710, storer 720, input block 730, display unit 740, sensor 750, voicefrequency circuit 760, WiFi (wireless fidelity, Wireless Fidelity) module 770, processor 780, power supply 782, camera 790.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the electronic devices structure shown in Fig. 7, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Fig. 7 each component parts to electronic equipment 700:
RF circuit 710 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 780; In addition, the up data of design are sent to base station.Usually, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, RF circuit 710 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Storer 720 can be used for storing software program and module, and processor 780 is stored in software program and the module of storer 720 by running, thus performs various function application and the data processing of electronic equipment 700.Storer 720 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of electronic equipment 700.In addition, storer 720 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 730 can be used for the numeral or the character information that receive input, and generation arranges with the user of electronic equipment 700 and function controls the input of relevant key signals.Particularly, input block 730 can comprise contact panel 731 and other input equipments 732.Contact panel 731, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 731 or near contact panel 731 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, contact panel 731 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 780, and the order that energy receiving processor 780 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 731.Except contact panel 731, input block 730 can also comprise other input equipments 732.Particularly, other input equipments 732 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 740 can be used for the various menus showing information or the information being supplied to user and the electronic equipment 700 inputted by user.Display unit 740 can comprise display panel 741, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 741.Further, contact panel 731 can cover display panel 741, when contact panel 731 detects thereon or after neighbouring touch operation, send processor 780 to determine the type of touch event, on display panel 741, provide corresponding vision to export with preprocessor 780 according to the type of touch event.Although in the figure 7, contact panel 731 and display panel 741 be as two independently parts to realize input and the input function of electronic equipment 700, but in certain embodiments, can by integrated to contact panel 731 and display panel 741 and realize the input and output function of electronic equipment 700.
Electronic equipment 700 also can comprise at least one sensor 750, such as gyro sensor, magnetic induction sensor, optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 741, proximity transducer when electronic equipment 700 moves in one's ear, can cut out display panel 741 and/or backlight.As the one of motion sensor; acceleration transducer can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of electronic equipment attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for electronic equipment 700 also other sensors such as configurable barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and electronic equipment 700.Voicefrequency circuit 760 can by receive voice data conversion after electric signal, be transferred to loudspeaker 761, by loudspeaker 761 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 762, voice data is converted to after being received by voicefrequency circuit 760, after again voice data output processor 780 being processed, through RF circuit 710 to send to such as another terminal, or export voice data to storer 720 to process further.
WiFi belongs to short range wireless transmission technology, and electronic equipment 700 can help user to send and receive e-mail by WiFi module 770, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 7 shows WiFi module 770, be understandable that, it does not belong to must forming of electronic equipment 700, can omit in the scope not changing disclosed essence as required completely.
Processor 780 is control centers of electronic equipment 700, utilize the various piece of various interface and the whole electronic equipment of connection, software program in storer 720 and/or module is stored in by running or performing, and call the data be stored in storer 720, perform various function and the process data of electronic equipment 700, thus integral monitoring is carried out to electronic equipment.Optionally, processor 780 can comprise one or more processing unit; Preferably, processor 780 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 780.
Electronic equipment 700 also comprises the power supply 782(such as battery of powering to all parts), preferably, power supply can be connected with processor 782 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Camera 790 is generally made up of camera lens, imageing sensor, interface, digital signal processor, CPU, display screen etc.Wherein, camera lens is fixed on the top of imageing sensor, manually can change focusing by adjustable lens; Imageing sensor is equivalent to " film " of traditional camera, is the heart of camera collection image; Interface is used for camera to utilize winding displacement, board to board connector, spring connected mode to be connected with electronic equipment mainboard, and the image of collection is sent to described storer 720; Digital signal processor is processed the image gathered by mathematical operation, the analog image of collection is converted to digital picture and sends to storer 720 by interface.
Although not shown, electronic equipment 700 can also comprise bluetooth module etc., does not repeat them here.
Electronic equipment 700, except comprising one or more processor 780, also includes storer, and one or more program, and one or more program is stored in storer, and is configured to be performed by one or more processor.One or more program above-mentioned has following function:
Whether the current web page detecting the web displaying unit display in application program calls the predetermined interface corresponding with specified services;
If testing result is the current web page of web displaying unit display call the predetermined interface corresponding with specified services, then generate the process request for the treatment of described specified services by described predetermined interface;
Described process request is sent to Service Processing Unit corresponding with described specified services in described application program, by described Service Processing Unit, described specified services is processed.
In the first possible implementation of the present embodiment, one or more program above-mentioned also has following function:
Described generate the process request for the treatment of described specified services by described predetermined interface after, also comprise:
Detect described current web page and whether there is the authority processing described specified services;
If testing result is described current web page have the authority processing described specified services, then perform the described step described process request being sent to Service Processing Unit corresponding with described specified services in application program.
In the implementation that the second of the present embodiment is possible, one or more program above-mentioned also has following function:
Whether the described current web page of described detection has the authority processing described specified services, comprising:
Detect in the application programming interface permissions list corresponding with described current web page prestored and whether there is described predetermined interface, described application programming interface permissions list is that the described current web page of preserving issued by server when described current web page is opened has permission all application programming interface called.
In the third possible implementation of the present embodiment in, one or more program above-mentioned also has following function:
Before whether there is the authority processing described specified services at the described current web page of described detection, also comprise:
By described predetermined interface, described process request is sent to request queue;
Be used to indicate to the transmission of process kernel the notice that there is new process request by described predetermined interface;
After described process kernel receives described notice, obtained the described process request in described request queue by described process kernel.
In the 4th kind of possible implementation of the present embodiment, one or more program above-mentioned also has following function:
Describedly by described Service Processing Unit, described specified services to be processed, comprising:
The prompting frame corresponding with described specified services is generated by described Service Processing Unit;
The operation to described prompting frame is received by described Service Processing Unit;
Process to described specified services is completed according to the described operation received by described Service Processing Unit.
In the 5th kind of possible implementation of the present embodiment, one or more program above-mentioned also has following function:
After by described Service Processing Unit described specified services being processed, also comprise:
Receive the result that the described specified services corresponding to described process request is processed that described Service Processing Unit returns;
Described result is returned to described current web page.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. a method for processing business, is characterized in that, described method comprises:
Whether the current web page detecting the web displaying unit display in application program calls the predetermined interface corresponding with specified services;
If testing result is the current web page of web displaying unit display call the predetermined interface corresponding with specified services, then generate the process request for the treatment of described specified services by described predetermined interface;
Described process request is sent to Service Processing Unit corresponding with described specified services in described application program, by described Service Processing Unit, described specified services is processed.
2. method according to claim 1, is characterized in that, described generate the process request for the treatment of described specified services by described predetermined interface after, also comprise:
Detect described current web page and whether there is the authority processing described specified services;
If testing result is described current web page have the authority processing described specified services, then perform the described step described process request being sent to Service Processing Unit corresponding with described specified services in application program.
3. method according to claim 2, is characterized in that, whether the described current web page of described detection has the authority processing described specified services, comprising:
Detect in the application programming interface permissions list corresponding with described current web page prestored and whether there is described predetermined interface, described application programming interface permissions list is that the described current web page of preserving issued by server when described current web page is opened has permission all application programming interface called.
4. method according to claim 2, is characterized in that, before whether having the authority processing described specified services, also comprises at the described current web page of described detection:
By described predetermined interface, described process request is sent to request queue;
Be used to indicate to the transmission of process kernel the notice that there is new process request by described predetermined interface;
After described process kernel receives described notice, obtained the described process request in described request queue by described process kernel.
5. method according to claim 1, is characterized in that, is describedly processed described specified services by described Service Processing Unit, comprising:
The prompting frame corresponding with described specified services is generated by described Service Processing Unit;
The operation to described prompting frame is received by described Service Processing Unit;
Process to described specified services is completed according to the described operation received by described Service Processing Unit.
6. according to described method arbitrary in claim 1 to 5, it is characterized in that, described, described process request is sent to Service Processing Unit corresponding with described specified services in application program, after by described Service Processing Unit described specified services being processed, also comprises:
Receive the result that the described specified services corresponding to described process request is processed that described Service Processing Unit returns;
Described result is returned to described current web page.
7. a business processing device, is characterized in that, described device comprises:
Call detection module, whether call the predetermined interface corresponding with specified services for the current web page detecting the web displaying unit display in application program;
Request generation module, in the described testing result calling detection module be the current web page of web displaying unit display call the predetermined interface corresponding with specified services time, generate the process request for the treatment of specified services by described predetermined interface;
Service Processing Module, sends to Service Processing Unit corresponding with described specified services in described application program for the described process request generated by described request generation module, is processed by described Service Processing Unit to described specified services.
8. device according to claim 7, is characterized in that, described device also comprises:
Whether authority detection module, have for detecting described current web page the authority processing described specified services;
Service Processing Module, for in the testing result of described authority detection module be described current web page there is the authority processing described specified services time, perform and described described process request sent to the step of Service Processing Unit corresponding with described specified services in application program.
9. device according to claim 8, is characterized in that, described authority detection module, for:
Detect in the application programming interface permissions list corresponding with described current web page prestored and whether there is described application programming interface, described application programming interface permissions list is that the described current web page of preserving issued by server when described current web page is opened has permission all application programming interface called.
10. device according to claim 8, is characterized in that, described first acquisition module, and described device also comprises:
First sending module, for being sent to request queue by described predetermined interface by described process request;
Second sending module, for being used to indicate to the transmission of process kernel the notice that there is new process request by described predetermined interface;
Acquisition request module, after receiving described notice at described process kernel, obtains the described process request in described request queue by described process kernel.
11. methods according to claim 7, is characterized in that, described Service Processing Module, comprising:
Prompting generation unit, for generating the prompting frame corresponding with described specified services by described Service Processing Unit;
Operation receiving element, for being received the operation to described prompting frame by described Service Processing Unit;
Business completes unit, for completing process to described specified services by described Service Processing Unit according to the described operation received.
12. according to described device arbitrary in claim 7 to 11, and it is characterized in that, described device also comprises:
Result receiver module, for receiving the result processed the described specified services corresponding to described process request that described Service Processing Unit returns;
Result returns module, returns to described current web page for the result received by described result receiver module.
13. 1 kinds of electronic equipments, is characterized in that, described electronic equipment comprises as the business processing device as described in arbitrary in claim 7 to 12.
CN201310452436.XA 2013-09-27 2013-09-27 Method for processing business, device and electronic equipment Active CN104516890B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310452436.XA CN104516890B (en) 2013-09-27 2013-09-27 Method for processing business, device and electronic equipment
PCT/CN2014/086732 WO2015043405A1 (en) 2013-09-27 2014-09-17 Service processing method, apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310452436.XA CN104516890B (en) 2013-09-27 2013-09-27 Method for processing business, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN104516890A true CN104516890A (en) 2015-04-15
CN104516890B CN104516890B (en) 2018-12-28

Family

ID=52742034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310452436.XA Active CN104516890B (en) 2013-09-27 2013-09-27 Method for processing business, device and electronic equipment

Country Status (2)

Country Link
CN (1) CN104516890B (en)
WO (1) WO2015043405A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603528A (en) * 2016-12-13 2017-04-26 北京小米移动软件有限公司 Method and apparatus for webpage invoking terminal local functions
CN106776723A (en) * 2016-11-17 2017-05-31 福建中金在线信息科技有限公司 A kind of ejection layer display methods and device
CN107656762A (en) * 2017-10-13 2018-02-02 上海酷屏信息技术有限公司 A kind of method and system that third party's function is realized in APP
CN109614562A (en) * 2018-11-27 2019-04-12 平安科技(深圳)有限公司 Mail display methods, device, computer equipment and storage medium
CN112256449A (en) * 2020-10-16 2021-01-22 Vidaa美国公司 Interface calling method of webpage application program, display equipment and server
CN113360812A (en) * 2016-03-07 2021-09-07 创新先进技术有限公司 Service execution method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030149801A1 (en) * 2001-12-12 2003-08-07 Kushnirskiy Igor Davidovich Scriptable plug-in application programming interface
CN102819451A (en) * 2011-06-09 2012-12-12 深圳市财付通科技有限公司 Method and system for calling browser plug-in
CN103198130A (en) * 2013-04-11 2013-07-10 上海心动企业发展有限公司 Method and device for realizing login unified with webpage on client side
CN103294748A (en) * 2013-01-22 2013-09-11 北京旭宁信息技术有限公司 Method for excerpting and editing Internet contents

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106774B (en) * 2007-08-10 2010-09-15 腾讯科技(深圳)有限公司 Instant messaging system and of mobile phone with browser function and its implementation method
CN101562581B (en) * 2009-05-26 2013-01-09 腾讯科技(深圳)有限公司 Method and system for achieving web page game
US8771109B2 (en) * 2011-04-08 2014-07-08 David J. Desender Table tennis apparatus
CN102289895A (en) * 2011-06-21 2011-12-21 上海北大方正科技电脑系统有限公司 Terminal and method for processing network note
CN102831206B (en) * 2012-08-06 2016-05-18 泉州市德威软件开发有限公司 Microblogging social contact method and device based on browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030149801A1 (en) * 2001-12-12 2003-08-07 Kushnirskiy Igor Davidovich Scriptable plug-in application programming interface
CN102819451A (en) * 2011-06-09 2012-12-12 深圳市财付通科技有限公司 Method and system for calling browser plug-in
CN103294748A (en) * 2013-01-22 2013-09-11 北京旭宁信息技术有限公司 Method for excerpting and editing Internet contents
CN103198130A (en) * 2013-04-11 2013-07-10 上海心动企业发展有限公司 Method and device for realizing login unified with webpage on client side

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360812A (en) * 2016-03-07 2021-09-07 创新先进技术有限公司 Service execution method and device
CN113360812B (en) * 2016-03-07 2024-02-06 创新先进技术有限公司 Service execution method and device
CN106776723A (en) * 2016-11-17 2017-05-31 福建中金在线信息科技有限公司 A kind of ejection layer display methods and device
CN106603528A (en) * 2016-12-13 2017-04-26 北京小米移动软件有限公司 Method and apparatus for webpage invoking terminal local functions
CN106603528B (en) * 2016-12-13 2019-09-10 北京小米移动软件有限公司 The method and device of webpage calling terminal local function
CN107656762A (en) * 2017-10-13 2018-02-02 上海酷屏信息技术有限公司 A kind of method and system that third party's function is realized in APP
CN109614562A (en) * 2018-11-27 2019-04-12 平安科技(深圳)有限公司 Mail display methods, device, computer equipment and storage medium
CN112256449A (en) * 2020-10-16 2021-01-22 Vidaa美国公司 Interface calling method of webpage application program, display equipment and server

Also Published As

Publication number Publication date
CN104516890B (en) 2018-12-28
WO2015043405A1 (en) 2015-04-02

Similar Documents

Publication Publication Date Title
CN104219617B (en) Service acquisition method and device
CN104618217B (en) Share method, terminal, server and the system of resource
CN104113787B (en) Based on the comment method of program, terminal, server and system
CN104462128B (en) The method, apparatus and terminal device of multimedia file processing
CN104978115A (en) Content display method and device
CN106371689B (en) Picture joining method, apparatus and system
CN104717125B (en) Graphic code store method and device
CN104518953A (en) Message deleting method, instant messaging terminal and system
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN106412093A (en) Method, device and system for uploading data
CN103313139A (en) History display method and device and electronic device
CN104216915A (en) Webpage processing method, device and terminal equipment
CN104301315A (en) Method and device for limiting information access
CN103678502B (en) Information collection method and device
CN105446726A (en) Method and device for generating webpage
CN104123686A (en) Method, equipment and system for handling business
CN104516890A (en) Business processing method, business processing device and electronic equipment
CN104238893A (en) Video preview image displaying method and device
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN104090879A (en) Picture sharing method, device and system
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN104954159A (en) Network information statistics method and device
CN106254910A (en) A kind of method and apparatus recording image
CN104123276A (en) Method, device and system for intercepting popup windows in browser
CN105094513A (en) User avatar setting method and apparatus as well as electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant