CN109408116A - A kind of service identification acquisition methods, device, equipment and storage medium - Google Patents
A kind of service identification acquisition methods, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109408116A CN109408116A CN201811278222.4A CN201811278222A CN109408116A CN 109408116 A CN109408116 A CN 109408116A CN 201811278222 A CN201811278222 A CN 201811278222A CN 109408116 A CN109408116 A CN 109408116A
- Authority
- CN
- China
- Prior art keywords
- service identification
- identification value
- module
- business module
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/76—Adapting program code to run in a different environment; Porting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The embodiment of the present disclosure discloses a kind of service identification acquisition methods, device, equipment and storage medium, which comprises the service identification value acquisition request that receiving platform interface is sent;Wherein, the service identification value acquisition request is triggered by the business module of client and is generated;The matched service identification value of business module for obtaining and initiating the service identification value acquisition request;The service identification value is fed back into the client, wherein the service identification value is used for for the business module when calling the common functional modules in client, is transferred to the common functional modules and is used.The technical solution of the embodiment of the present disclosure can optimize the acquisition modes of service identification value in application software platform, to improve the exploitation performance and user experience of application software platform.
Description
Technical field
The embodiment of the present disclosure be related to computer software application technical field more particularly to a kind of service identification acquisition methods,
Device, equipment and storage medium.
Background technique
Existing application software would generally be based on the type of service of a variety of different platforms of platform set.For example, certain APP
Two functions in video-see special column and Domestic News under (Application, application program) belong to other software platform
The business of business, the two other platforms can carry out information publication based on the platform of the APP, but belong to different industry
Business logic, is supported, and the business procedure module configured in the client is also not quite similar by different service servers.
Application software platform can provide some common functional modules, such as shared forwarding or receipts when supporting different business
The functions such as hiding, are forwarded to microblogging or wechat circle of friends etc. for the Info Link of some business and share.Since each business has
Different contents, the information to be expressed when using common functional modules of each business is not also identical.For example, when sharing forwarding mould
When information to be forwarded is supplied to matched service server by block, service server needs to identify that information to be forwarded particularly belongs to
Which business, so that it is determined that the retransmitting paramater of the corresponding business, regenerates the display information of corresponding forwarding link, be pushed to mesh
Mark server is shared.In the prior art, it in order to allow service server that can identify type of service, needs in utility function journey
The corresponding ident value of business is written in sequence module, thus can be according to service identification value in certain calling service common functional modules
Identification business, and obtain corresponding information and be supplied to Platform Server progress traffic differentiation processing.
Since service identification value is previously written in utility function program module in case various businesses are adjusted by the prior art
With needing to update the public affairs of application software platform when application software platform Added Business or each service identification value change
With functional program module, the new software version of issue client terminal is resulted in the need for.
Summary of the invention
The embodiment of the present disclosure provides a kind of service identification acquisition methods, device, equipment and storage medium, realizes optimization application
The acquisition modes of service identification value in software platform, to improve the exploitation performance and user experience of application software platform.
In a first aspect, the embodiment of the present disclosure provides a kind of service identification acquisition methods, it is applied to Platform Server, packet
It includes:
The service identification value acquisition request that receiving platform interface is sent;Wherein, the service identification value acquisition request is by visitor
The business module at family end, which triggers, to be generated;
The matched service identification value of business module for obtaining and initiating the service identification value acquisition request;
The service identification value is fed back into the client, wherein the service identification value is used to supply the business mould
Block is transferred to the common functional modules and uses when calling the common functional modules in client.
Optionally, the acquisition and the matched service identification of business module for initiating the service identification value acquisition request
Value, comprising:
The mark of the business module of promoter is determined as according to the service identification value acquisition request or determines business
The matched type of service of module;
The service identification value is determined according to the mark of the business module or the type of service.
Optionally, after the service identification value to feed back to the client described, further includes:
Receive the utility function processing request that common functional modules are sent in the client;Wherein, the utility function
Processing request includes the service identification value;
According to the configuration information of business module corresponding to the service identification value, to utility function processing request into
Row processing.
Optionally, if the common functional modules are forwarding sharing module, the utility function processing request is forwarding
Sharing request, then the configuration information of the business module according to corresponding to the service identification value, to the forwarding sharing request into
Row is handled
According to the configuration information of business module corresponding to the service identification value, to the matched business service of business module
Device request information to be forwarded;
Target forwarding information is generated according to the information to be forwarded and the configuration information;Wherein, the target forwarding letter
Breath is shared for pushing to target forwarding server.
Second aspect, the embodiment of the present disclosure additionally provide a kind of service identification acquisition methods, are applied to client, comprising:
The trigger action that user executes at the provided service lists interface of client is detected, and true according to the trigger action
The business module of fixed user's triggering;
The service identification value acquisition request that the business module is sent by platform interface is sent to Platform Server;
Receive the service identification value that the Platform Server is directed to service identification value acquisition request feedback;
The service identification value is stored locally;
It, will be described when detecting the user in the business module to the trigger action of common functional modules execution
Service identification value is supplied to the common functional modules by common functional modules interface;
It is executed and the matched public function of the business module by the common functional modules according to the service identification value
Energy.
Optionally, it is executed by the common functional modules according to the service identification value matched with the business module
Utility function, comprising:
Obtain the utility function processing request that the common functional modules are generated according to the service identification value;
Utility function processing request is sent to the Platform Server, to request the Platform Server according to institute
The configuration information for stating business module corresponding to service identification value handles utility function processing request.
Optionally, the common functional modules are forwarding sharing module, and the utility function processing request is shared for forwarding
Request.
The third aspect, the embodiment of the present disclosure additionally provide a kind of service identification acquisition device, are configured at Platform Server, packet
It includes:
Ident value acquisition request receiving module, the service identification value acquisition request sent for receiving platform interface;Wherein,
The service identification value acquisition request is triggered by the business module of client and is generated;
Service identification value obtains module, and the business module for obtaining with initiating the service identification value acquisition request matches
Service identification value;
Service identification value feedback module, for the service identification value to be fed back to the client, wherein the business
Ident value is used for for the business module when calling the common functional modules in client, is transferred to the common functional modules
It uses.
Optionally, service identification value obtains module, comprising: business module information determination unit, for according to the business
Ident value acquisition request is determined as the mark of the business module of promoter or determines the matched type of service of business module;Industry
Business ident value determination unit, for determining the service identification value according to the mark or the type of service of the business module.
Optionally, described device further include: utility function handles request receiving module, public in the client for receiving
Request is handled with the utility function that functional module is sent;Wherein, the utility function processing request includes the service identification value;
Utility function handles request processing module, right for the configuration information of the business module according to corresponding to the service identification value
The utility function processing request is handled.
Optionally, if the common functional modules are forwarding sharing module, the utility function processing request is forwarding
Sharing request, then utility function handles request processing module, specifically for the business mould according to corresponding to the service identification value
The configuration information of block, to the matched service server request information to be forwarded of business module;According to the information to be forwarded
Target forwarding information is generated with the configuration information;Wherein, the target forwarding information is for pushing to target forwarding server
Shared.
Fourth aspect, the embodiment of the present disclosure additionally provide a kind of service identification acquisition device, are configured at client, comprising:
Business module determining module, it is dynamic for detecting the triggering that user executes at the provided service lists interface of client
Make, and determines the business module of user's triggering according to the trigger action;
Ident value acquisition request sending module, the service identification value for sending the business module by platform interface
Acquisition request is sent to Platform Server;
Service identification value receiving module, it is anti-for the service identification value acquisition request for receiving the Platform Server
The service identification value of feedback;
Service identification value memory module, for storing the service identification value locally;
Service identification value provides module, detects the user in the business module to common functional modules for working as
When the trigger action of execution, the service identification value is supplied to the common functional modules by common functional modules interface;
Utility function execution module, for by the common functional modules according to the service identification value execution with it is described
The matched utility function of business module.
Optionally, utility function execution module, comprising: utility function handles request unit, for obtaining the public function
The utility function processing request that energy module is generated according to the service identification value;Utility function handles request transmitting unit, is used for
Utility function processing request is sent to the Platform Server, to request the Platform Server according to the business mark
The configuration information of business module corresponding to knowledge value handles utility function processing request.
Optionally, the common functional modules are forwarding sharing module, and the utility function processing request is shared for forwarding
Request.
5th aspect, the embodiment of the present disclosure additionally provide a kind of server, and the server includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes any service identification acquisition methods in first aspect.
6th aspect, the embodiment of the present disclosure additionally provide a kind of computer storage medium, are stored thereon with computer program,
Any service identification acquisition methods in first aspect are realized when the program is executed by processor.
7th aspect, the embodiment of the present disclosure additionally provide a kind of client, and the client includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes any service identification acquisition methods in second aspect.
Eighth aspect, the embodiment of the present disclosure additionally provide a kind of computer storage medium, are stored thereon with computer program,
Any service identification acquisition methods in second aspect are realized when the program is executed by processor.
The embodiment of the present disclosure is determined by detection user in the trigger action that the provided service lists interface of client executes
After the business module of user's triggering, the service identification value acquisition request that business module is sent by platform interface is sent to platform
Server, is obtained matched service identification value and is fed back to client and stored by Platform Server.When client detects
User in business module to common functional modules execute trigger action when, service identification value is connect by common functional modules
Mouth is supplied to common functional modules, so that it is executed according to service identification value and the matched utility function of business module, solves
The problem of existing application software needs frequent updating client new software version because of service identification value realizes that optimization application software is flat
The acquisition modes of service identification value in platform, to improve the exploitation performance and user experience of application software platform.
Detailed description of the invention
Fig. 1 is a kind of flow chart for service identification acquisition methods that the embodiment of the present disclosure one provides;
Fig. 2 is a kind of flow chart for service identification acquisition methods that the embodiment of the present disclosure two provides;
Fig. 3 is a kind of flow chart for service identification acquisition methods that the embodiment of the present disclosure three provides;
Fig. 4 is a kind of schematic diagram for service identification acquisition device that the embodiment of the present disclosure four provides;
Fig. 5 is a kind of schematic diagram for service identification acquisition device that the embodiment of the present disclosure five provides;
Fig. 6 is a kind of hardware structural diagram for server that the embodiment of the present disclosure six provides.
Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the disclosure, rather than the restriction to the disclosure.
It also should be noted that illustrate only part relevant to the disclosure for ease of description, in attached drawing rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart,
It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again
It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.
The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart for service identification acquisition methods that the embodiment of the present disclosure one provides, and the present embodiment is applicable
In flexible the case where obtaining service identification, this method can be executed by service identification acquisition device, which can be by software
And/or the mode of hardware to be to realize, and can generally be integrated in Platform Server, with the client for installing corresponding platform software
End is used cooperatively.Correspondingly, as shown in Figure 1, this method includes following operation:
The service identification value acquisition request that S110, receiving platform interface are sent;Wherein, the service identification value acquisition request
It is triggered and is generated by the business module of client.
Wherein, platform interface can be the application programming interfaces for being set to the relative application software of client.Service identification
Value acquisition request can serve to indicate that Platform Server obtains the corresponding service identification value of business module.Platform Server can be
The corresponding background server of application software platform.Service identification value can be to be marked for the numerical value of mark business-type or field etc.
Know, for example, the corresponding service identification value of Domestic News business can be 15.
In the embodiments of the present disclosure, enter the content interface of some business from platform lists interface using client as user
When, that is, trigger the corresponding business module of the business.After business module operation, it can be sent out by platform interface to Platform Server
Service identification value acquisition request is sent, to request Platform Server to provide the business corresponding service identification value.
S120, acquisition and the matched service identification value of business module for initiating the service identification value acquisition request.
Correspondingly, after Platform Server receives the service identification value acquisition request that platform interface is sent, it can be according to industry
Ident value acquisition request of being engaged in determines the matched service identification value of business module with initiation service identification value acquisition request.
S130, the service identification value is fed back into the client, wherein the service identification value is used to supply the industry
Module of being engaged in is transferred to the common functional modules and uses when calling the common functional modules in client.
Wherein, it is what various businesses type provided that common functional modules, which can be application software platform, can share use
Program module, such as forwarding capability, collection function, thumb up function or comment function etc..
Further, the service identification value that Platform Server can will acquire feeds back to client, so that business module exists
Call client in common functional modules when, by service identification value be transferred to common functional modules carry out using.It can be seen that
Client is not necessarily to that the corresponding ident value of business is written in common functional modules, but dynamically, neatly by Platform Server
The corresponding ident value of business is determined, to avoid update client caused by changing because of Added Business or each service identification value new
Software release issue.
The embodiment of the present disclosure passes through the service identification value acquisition request that Platform Server receiving platform interface is sent, and obtains
Matched service identification value simultaneously feeds back to client and is stored, solve existing application software because service identification value need it is frequent
The problem of updating client new software version realizes the acquisition modes of service identification value in optimization application software platform, to mention
The exploitation performance and user experience of high application software platform.
Embodiment two
Fig. 2 is a kind of flow chart for service identification acquisition methods that the embodiment of the present disclosure two provides, and the present embodiment is with above-mentioned
It is embodied based on embodiment, in the present embodiment, gives acquisition and initiate the service identification value acquisition request
The specific implementation of the matched service identification value of business module, and the service identification value is fed back into the visitor described
Concrete operations after the end of family.Correspondingly, as shown in Fig. 2, the method for the present embodiment may include:
The service identification value acquisition request that S210, receiving platform interface are sent;Wherein, the service identification value acquisition request
It is triggered and is generated by the business module of client.
S220, be determined as according to the service identification value acquisition request promoter business module mark or determination
The matched type of service of business module.
In the embodiments of the present disclosure, it is contemplated that the corresponding type of service of each business module is different, and Platform Server exists
Determine with initiate service identification value acquisition request business module matched service identification value when, can business mark based on the received
Knowledge value acquisition request is determined as the mark of the business module of promoter or determines the matched type of service of business module.Its
In, it will include the related letter such as mark or the matched type of service of business module of business module in service identification value acquisition request
Breath.
S230, the service identification value is determined according to the mark or the type of service of the business module.
Correspondingly, Platform Server can further determine that business according to the mark or type of service of determining business module
Corresponding service identification value.
S240, the service identification value is fed back into the client.
S250, the utility function processing request that common functional modules are sent in the client is received;Wherein, described public
Function treatment request includes the service identification value.
Wherein, utility function processing request can be what client was sent to Platform Server, be used to indicate using public
The request of functional module.
In the embodiments of the present disclosure, after service identification value is fed back to client by Platform Server, client can be at this
Ground is stored.When user is in the interface that business module provides, common functional modules are operated by inputting or triggering etc.
When, then client can send corresponding utility function processing request to Platform Server.It can be in utility function processing request
Including corresponding service identification value.
The configuration information of S260, the business module according to corresponding to the service identification value, to utility function processing
Request is handled.
Correspondingly, after Platform Server receives the processing request of the utility function including service identification value, it can be according to industry
Business ident value pulls matched configuration information to service server corresponding to business module, according to the configuration information pair of acquisition
Utility function processing request is handled.Wherein, the configuration information of business module specific type of service corresponding with business module
Correlation, for example, configuration information can be the version information etc. that business module corresponds to type of service.
In an alternative embodiment of the disclosure, if the common functional modules are forwarding sharing module, the public affairs
It is requested to be forwarding sharing request with function treatment, then the configuration information of the business module according to corresponding to the service identification value,
Carrying out processing to the forwarding sharing request may include: the business module according to corresponding to the service identification value with confidence
Breath, to the matched service server request information to be forwarded of business module;According to the information to be forwarded and the configuration
Information generates target forwarding information;Wherein, the target forwarding information is shared for pushing to target forwarding server.
Wherein, target forwarding server can be the corresponding server of related social platform software, such as wechat or microblogging
Deng.
In the embodiments of the present disclosure, if common functional modules are forwarding sharing module, utility function processing request is to turn
Send out sharing request, then Platform Server can the business module according to corresponding to service identification value configuration information, to business mould
The service server of Block- matching pulls information to be forwarded.Wherein, information to be forwarded may include comprehensive business information.Platform clothes
After business device pulls information to be forwarded, can configuration information to business module and information to be forwarded handle, turned with determining
Parameter is sent out as target forwarding information, such as title, official documents and correspondence, exhibiting pictures and creator.Illustratively, when business module is
When Domestic News and common functional modules are " forwarding ", Platform Server target forwarding information generated may include webpage chain
It connects, theme, the various information such as date and figure.Further, the target forwarding information that Platform Server can will ultimately generate
It pushes to target forwarding server and is forwarded sharing.For example, target forwarding information is forwarded to microblogging or wechat circle of friends etc.
Shared.
By adopting the above technical scheme, after Platform Server gets the service identification value of corresponding service, according to service identification
At the utility function processing request that the configuration information of the corresponding business module of value sends client public functional module
Reason solves the problems, such as existing application software because service identification value needs the new software version of frequent updating client, realizes optimization
The acquisition modes of service identification value in application software platform, to improve the exploitation performance and user experience of application software platform.
Embodiment three
Fig. 3 is a kind of flow chart for service identification acquisition methods that the embodiment of the present disclosure three provides, and the present embodiment is applicable
In flexible the case where obtaining service identification, this method can be executed by service identification acquisition device, which can be by software
And/or the mode of hardware is realized, and can generally be integrated in the client, is matched with for the corresponding Platform Server of platform software
It closes and uses.Correspondingly, as shown in figure 3, this method includes following operation:
The trigger action that S310, detection user execute at the provided service lists interface of client, and according to the triggering
Movement determines the business module of user's triggering.
In the embodiments of the present disclosure, enter the content interface of some business from platform lists interface using client as user
When, that is, trigger the corresponding business module of the business.
S320, the service identification value acquisition request that the business module is sent by platform interface is sent to platform service
Device.
Correspondingly, after the business module operation of client business mark can be sent to Platform Server by platform interface
Knowledge value acquisition request, to request Platform Server to provide the business corresponding service identification value.
S330, the service identification value that the Platform Server is directed to service identification value acquisition request feedback is received.
Correspondingly, Platform Server determines according to service identification value acquisition request and initiates service identification value acquisition request
After the matched service identification value of business module, service identification value can be fed back into client.
S340, the service identification value is stored locally.
In the embodiments of the present disclosure, client can receive the service identification value of Platform Server feedback and in local progress
Storage.
S350, when detect the user in the business module to common functional modules execute trigger action when,
The service identification value is supplied to the common functional modules by common functional modules interface.
In the embodiments of the present disclosure, when user is in the interface that business module provides, by input or trigger etc. operate into
When entering common functional modules, then client can provide corresponding business mark to common functional modules by common functional modules interface
Knowledge value.
S360, it is executed and the matched public affairs of the business module by the common functional modules according to the service identification value
Use function.
Correspondingly, common functional modules can be matched with business module according to the service identification value execution that client provides
Utility function.For example, the functions such as execute forwarding, collect, thumb up or comment on.
In an alternative embodiment of the disclosure, executed by the common functional modules according to the service identification value
It may include: to obtain the common functional modules according to the service identification value with the matched utility function of the business module
The utility function of generation handles request;Utility function processing request is sent to the Platform Server, described in request
The configuration information of Platform Server business module according to corresponding to the service identification value requests utility function processing
It is handled.
In the embodiments of the present disclosure, after service identification value is supplied to common functional modules by client, utility function mould
The utility function processing request Concurrency that block can be generated according to service identification value is sent to Platform Server.Platform Server receives
After utility function processing request including service identification value, it can be taken according to service identification value to business corresponding to business module
Business device pulls matched configuration information, to be handled according to the configuration information of acquisition utility function processing request.
In an alternative embodiment of the disclosure, the common functional modules are forwarding sharing module, the public function
Request can be handled as forwarding sharing request.
In the embodiments of the present disclosure, if common functional modules are forwarding sharing module, utility function processing request is to turn
Send out sharing request, then Platform Server can the business module according to corresponding to service identification value configuration information, to business mould
The service server of Block- matching pulls information to be forwarded.Wherein, information to be forwarded may include comprehensive business information.Platform clothes
After business device pulls information to be forwarded, can configuration information to business module and information to be forwarded handle, turned with determining
Parameter is sent out as target forwarding information, such as title, official documents and correspondence, exhibiting pictures and creator.Illustratively, when business module is
When Domestic News and common functional modules are " forwarding ", Platform Server target forwarding information generated may include webpage chain
It connects, theme, the various information such as date and figure.Further, the target forwarding information that Platform Server can will ultimately generate
It pushes to target forwarding server and is forwarded sharing.For example, target forwarding information is forwarded to microblogging or wechat circle of friends etc.
Shared.
The embodiment of the present disclosure is determined by detection user in the trigger action that the provided service lists interface of client executes
After the business module of user's triggering, the service identification value acquisition request that business module is sent by platform interface is sent to platform
Server, is obtained matched service identification value and is fed back to client and stored by Platform Server.When client detects
User in business module to common functional modules execute trigger action when, service identification value is connect by common functional modules
Mouth is supplied to common functional modules, so that it is executed according to service identification value and the matched utility function of business module, solves
The problem of existing application software needs frequent updating client new software version because of service identification value realizes that optimization application software is flat
The acquisition modes of service identification value in platform, to improve the exploitation performance and user experience of application software platform.
Example IV
Fig. 4 is a kind of schematic diagram for service identification acquisition device that the embodiment of the present disclosure four provides, as shown in figure 4, described
Device is configured at Platform Server 40, can interact with client 50, and described device includes: that ident value acquisition request receives
Module 410, service identification value obtain module 420 and service identification value feedback module 430, in which:
Ident value acquisition request receiving module 410, the service identification value acquisition request sent for receiving platform interface;Its
In, the service identification value acquisition request is triggered by the business module of client and is generated;
Service identification value obtains module 420, for obtaining and initiating the business module of the service identification value acquisition request
Matched service identification value;
Service identification value feedback module 430, for the service identification value to be fed back to the client, wherein described
Service identification value is used for for the business module when calling the common functional modules in client, is transferred to the utility function
Module uses.
The embodiment of the present disclosure passes through the service identification value acquisition request that Platform Server receiving platform interface is sent, and obtains
Matched service identification value simultaneously feeds back to client and is stored, solve existing application software because service identification value need it is frequent
The problem of updating client new software version realizes the acquisition modes of service identification value in optimization application software platform, to mention
The exploitation performance and user experience of high application software platform.
Optionally, service identification value obtains module 420, comprising: business module information determination unit, for according to the industry
Business ident value acquisition request is determined as the mark of the business module of promoter or determines the matched type of service of business module;
Service identification value determination unit, for determining the service identification according to the mark or the type of service of the business module
Value.
Optionally, described device further include: utility function handles request receiving module, public in the client for receiving
Request is handled with the utility function that functional module is sent;Wherein, the utility function processing request includes the service identification value;
Utility function handles request processing module, right for the configuration information of the business module according to corresponding to the service identification value
The utility function processing request is handled.
Optionally, if the common functional modules are forwarding sharing module, the utility function processing request is forwarding
Sharing request, then utility function handles request processing module, specifically for the business mould according to corresponding to the service identification value
The configuration information of block, to the matched service server request information to be forwarded of business module;According to the information to be forwarded
Target forwarding information is generated with the configuration information;Wherein, the target forwarding information is for pushing to target forwarding server
Shared.
Above-mentioned service identification acquisition device can be performed service identification provided by the embodiment of the present disclosure one and embodiment two and obtain
Method is taken, has the corresponding functional module of execution method and beneficial effect.The not technical detail of detailed description in the present embodiment,
It can be found in the service identification acquisition methods that disclosure any embodiment provides.
Embodiment five
Fig. 5 is a kind of schematic diagram for service identification acquisition device that the embodiment of the present disclosure five provides, as shown in figure 5, described
Device is configured at client 50, can interact with Platform Server 40, and described device includes: business module determining module
510, ident value acquisition request sending module 520, service identification value receiving module 530, service identification value memory module 540, industry
Business ident value provides module 550 and utility function execution module 560, in which:
Business module determining module 510, the triggering executed for detecting user at the provided service lists interface of client
Movement, and the business module that the user triggers is determined according to the trigger action;
Ident value acquisition request sending module 520, the business mark for sending the business module by platform interface
Knowledge value acquisition request is sent to Platform Server;
Service identification value receiving module 530 is asked for receiving the Platform Server for service identification value acquisition
It negates the service identification value of feedback;
Service identification value memory module 540, for storing the service identification value locally;
Service identification value provides module 550, detects the user in the business module to utility function for working as
When the trigger action that module executes, the service identification value is supplied to the utility function mould by common functional modules interface
Block;
Utility function execution module 560, for by the common functional modules according to the service identification value execute and
The matched utility function of business module.
The embodiment of the present disclosure is determined by detection user in the trigger action that the provided service lists interface of client executes
After the business module of user's triggering, the service identification value acquisition request that business module is sent by platform interface is sent to platform
Server, is obtained matched service identification value and is fed back to client and stored by Platform Server.When client detects
User in business module to common functional modules execute trigger action when, service identification value is connect by common functional modules
Mouth is supplied to common functional modules, so that it is executed according to service identification value and the matched utility function of business module, solves
The problem of existing application software needs frequent updating client new software version because of service identification value realizes that optimization application software is flat
The acquisition modes of service identification value in platform, to improve the exploitation performance and user experience of application software platform.
Optionally, utility function execution module 560, comprising: utility function handles request unit, described public for obtaining
The utility function processing request that functional module is generated according to the service identification value;Utility function handles request transmitting unit, uses
In utility function processing request is sent to the Platform Server, to request the Platform Server according to the business
The configuration information of business module corresponding to ident value handles utility function processing request.
Optionally, the common functional modules are forwarding sharing module, and the utility function processing request is shared for forwarding
Request.
Service identification acquisition methods provided by the embodiment of the present disclosure three can be performed in above-mentioned service identification acquisition device, have
The corresponding functional module of execution method and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to this public affairs
The service identification acquisition methods of any embodiment offer are provided.
Embodiment six
Fig. 6 is the hardware structural diagram for illustrating the server according to the embodiment of the present disclosure.Server can be with various shapes
Formula is implemented, and the server in the disclosure can include but is not limited to the fixed server of desktop computer etc..
As shown in fig. 6, server 0 may include wireless communication unit 61, A/V (audio/video) input unit 62, user
Input unit 63, sensing unit 64, output unit 65, memory 66, interface unit 67, processor 68 and power supply unit 69 etc.
Deng.Fig. 6 shows the server 0 with various assemblies, it should be understood that being not required for implementing all components shown.
More or fewer components can alternatively be implemented.
Wherein, wireless communication unit 61 allows the radio communication between server 0 and wireless communication system or network.A/
V input unit 62 is for receiving audio or video signal.The order that user input unit 63 can be inputted according to user generates key
Input data is with the various operations of control server 0.The position of the current state of 64 detection service device 0 of sensing unit, server 0
It sets, user is for the orientation of the presence or absence of touch input of server 0, server 0, the acceleration or deceleration movement of server 0 and side
To etc., and generate order or the signal for the operation for being used for control server 0.Interface unit 67 is used as at least one external dress
Set connect with server 0 can by interface.Output unit 65 is configured to the offer of vision, audio and/or tactile manner
Output signal.Memory 66 can store the software program etc. of the processing and control operation that are executed by processor 68, Huo Zheke
Temporarily to store oneself data through exporting or will export.Memory 66 may include the storage medium of at least one type.
Moreover, server 0 can cooperate with the network storage device for the store function for executing memory 66 by network connection.Processor
The overall operation of 68 usual control servers 0.In addition, processor 68 may include for reproduce or multimedia playback data it is more
Media module.Processor 68 can be drawn the handwriting input executed on the touchscreen or picture with execution pattern identifying processing
System input is identified as character or image.Power supply unit 69 received under the control of processor 68 external power or internal power and
Electric power appropriate needed for operating each element and component is provided.
Program of the processor 68 by operation storage in the memory 66, at various function application and data
Reason, such as realize a kind of service identification acquisition methods provided by the embodiment of the present disclosure, comprising: the industry that receiving platform interface is sent
Business ident value acquisition request;Wherein, the service identification value acquisition request is triggered by the business module of client and is generated;Obtain with
Initiate the matched service identification value of business module of the service identification value acquisition request;The service identification value is fed back into institute
State client, wherein the service identification value is used for for the business module when calling the common functional modules in client,
The common functional modules are transferred to use.
Embodiment seven
The present embodiment is seventh is that one kind that the embodiment of the present disclosure provides is used to execute business provided by the embodiment of the present disclosure three
The client of sign acquiring method, the client include: one or more processors;Storage device, for storing one or more
A program;When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the service identification acquisition methods as provided by the embodiment of the present disclosure three: detection user provides service lists in client
The trigger action that interface executes, and the business module that the user triggers is determined according to the trigger action;By the business mould
The service identification value acquisition request that block is sent by platform interface is sent to Platform Server;The Platform Server is received to be directed to
The service identification value of the service identification value acquisition request feedback;The service identification value is stored locally;Work as detection
To the user in the business module to common functional modules execute trigger action when, the service identification value is passed through
Common functional modules interface is supplied to the common functional modules;By the common functional modules according to the service identification value
It executes and the matched utility function of the business module.Its specific structure and detail content can refer to Fig. 6 and embodiment six.
Embodiment eight
The embodiment of the present disclosure eight also provides a kind of computer storage medium for storing computer program, the computer program
It is obtained when being executed as computer processor for executing service identification described in disclosure above-described embodiment one and embodiment two
Method: the service identification value acquisition request that receiving platform interface is sent;Wherein, the service identification value acquisition request is by client
Business module trigger generate;The matched service identification of business module for obtaining and initiating the service identification value acquisition request
Value;The service identification value is fed back into the client, wherein the service identification value is used to adjust for the business module
When with common functional modules in client, it is transferred to the common functional modules and uses.
The computer storage medium of the embodiment of the present disclosure, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(Read Only Memory, ROM), erasable programmable read only memory ((Erasable Programmable Read
Only Memory, EPROM) or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic
Memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium, which can be, any includes
Or the tangible medium of storage program, which can be commanded execution system, device or device use or in connection make
With.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, radio frequency (Radio Frequency, RF) etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the disclosure operation computer
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language --- such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Embodiment nine
The embodiment of the present disclosure nine additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
Program can realize service identification acquisition methods described in above-described embodiment three when being executed by processor: user is in client institute for detection
The trigger action that service lists interface executes is provided, and determines the business module of user's triggering according to the trigger action;
The service identification value acquisition request that the business module is sent by platform interface is sent to Platform Server;It receives described flat
Platform server is directed to the service identification value of service identification value acquisition request feedback;By the service identification value in local progress
Storage;When detecting the user in the business module to the trigger action of common functional modules execution, by the industry
Business ident value is supplied to the common functional modules by common functional modules interface;By the common functional modules according to institute
Service identification value is stated to execute and the matched utility function of the business module.The description of its concrete details content can refer to embodiment
Eight.
Note that above are only the preferred embodiment and institute's application technology principle of the disclosure.It will be appreciated by those skilled in the art that
The present disclosure is not limited to specific embodiments described here, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the disclosure.Therefore, although being carried out by above embodiments to the disclosure
It is described in further detail, but the disclosure is not limited only to above embodiments, in the case where not departing from disclosure design, also
It may include more other equivalent embodiments, and the scope of the present disclosure is determined by the scope of the appended claims.
Claims (11)
1. a kind of service identification acquisition methods are applied to Platform Server characterized by comprising
The service identification value acquisition request that receiving platform interface is sent;Wherein, the service identification value acquisition request is by client
Business module trigger generate;
The matched service identification value of business module for obtaining and initiating the service identification value acquisition request;
The service identification value is fed back into the client, wherein the service identification value is used to exist for the business module
When calling the common functional modules in client, it is transferred to the common functional modules and uses.
2. the method according to claim 1, wherein the acquisition and the initiation service identification value acquisition request
The matched service identification value of business module, comprising:
The mark of the business module of promoter is determined as according to the service identification value acquisition request or determines business module
Matched type of service;
The service identification value is determined according to the mark of the business module or the type of service.
3. the method according to claim 1, wherein the service identification value is fed back to the client described
After end, further includes:
Receive the utility function processing request that common functional modules are sent in the client;Wherein, the utility function processing
Request includes the service identification value;
According to the configuration information of business module corresponding to the service identification value, at utility function processing request
Reason.
4. according to the method described in claim 3, it is characterized in that, if the common functional modules be forwarding sharing module,
The utility function processing request is forwarding sharing request, the then configuration of the business module according to corresponding to the service identification value
Information, carrying out processing to the forwarding sharing request includes:
According to the configuration information of business module corresponding to the service identification value, asked to the matched service server of business module
It asks and obtains information to be forwarded;
Target forwarding information is generated according to the information to be forwarded and the configuration information;Wherein, the target forwarding information is used
Shared in pushing to target forwarding server.
5. a kind of service identification acquisition methods are applied to client characterized by comprising
The trigger action that user executes at the provided service lists interface of client is detected, and institute is determined according to the trigger action
State the business module of user's triggering;
The service identification value acquisition request that the business module is sent by platform interface is sent to Platform Server;
Receive the service identification value that the Platform Server is directed to service identification value acquisition request feedback;
The service identification value is stored locally;
When detecting the user in the business module to the trigger action of common functional modules execution, by the business
Ident value is supplied to the common functional modules by common functional modules interface;
It is executed and the matched utility function of the business module by the common functional modules according to the service identification value.
6. according to the method described in claim 5, it is characterized in that, by the common functional modules according to the service identification
Value executes and the matched utility function of the business module, comprising:
Obtain the utility function processing request that the common functional modules are generated according to the service identification value;
Utility function processing request is sent to the Platform Server, to request the Platform Server according to the industry
The configuration information of business module corresponding to business ident value handles utility function processing request.
7. according to the method described in claim 6, it is characterized in that, the common functional modules be forwarding sharing module, it is described
Utility function processing request is forwarding sharing request.
8. a kind of service identification acquisition device, is configured at Platform Server characterized by comprising
Ident value acquisition request receiving module, the service identification value acquisition request sent for receiving platform interface;Wherein, described
Service identification value acquisition request is triggered by the business module of client and is generated;
Service identification value obtains module, for obtaining and initiating the matched industry of business module of the service identification value acquisition request
Business ident value;
Service identification value feedback module, for the service identification value to be fed back to the client, wherein the service identification
Value is for for the business module, when calling the common functional modules in client, being transferred to the common functional modules to make
With.
9. a kind of service identification acquisition device, is configured at client characterized by comprising
Business module determining module, the trigger action executed for detecting user at the provided service lists interface of client, and
The business module of user's triggering is determined according to the trigger action;
Ident value acquisition request sending module, for obtaining the business module by the service identification value that platform interface is sent
Request is sent to Platform Server;
Service identification value receiving module, for receiving the Platform Server for service identification value acquisition request feedback
Service identification value;
Service identification value memory module, for storing the service identification value locally;
Service identification value provides module, detects that the user executes common functional modules in the business module for working as
Trigger action when, the service identification value is supplied to the common functional modules by common functional modules interface;
Utility function execution module, for being executed and the business by the common functional modules according to the service identification value
The matched utility function of module.
10. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now service identification acquisition methods as described in any in claim 1-4, or realize as described in any in claim 5-7
Service identification acquisition methods.
11. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor
Service identification acquisition methods of the Shi Shixian as described in any in claim 1-4, or realize such as institute any in claim 5-7
The service identification acquisition methods stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811278222.4A CN109408116B (en) | 2018-10-30 | 2018-10-30 | Service identifier acquisition method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811278222.4A CN109408116B (en) | 2018-10-30 | 2018-10-30 | Service identifier acquisition method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109408116A true CN109408116A (en) | 2019-03-01 |
CN109408116B CN109408116B (en) | 2022-02-18 |
Family
ID=65470090
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811278222.4A Active CN109408116B (en) | 2018-10-30 | 2018-10-30 | Service identifier acquisition method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408116B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176715A (en) * | 2019-12-16 | 2020-05-19 | 青岛聚看云科技有限公司 | Information calling method and server |
CN112395024A (en) * | 2020-12-09 | 2021-02-23 | 上海益世界信息技术集团有限公司 | Interface calling method and related device |
CN114281578A (en) * | 2021-11-13 | 2022-04-05 | 苏州浪潮智能科技有限公司 | Distributed file storage system interaction method and device, computer equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095479A (en) * | 2011-11-04 | 2013-05-08 | 华为技术有限公司 | Method and device of business configuration |
KR101398785B1 (en) * | 2013-03-22 | 2014-05-27 | 주식회사 엘지유플러스 | Apparatus , control method and recording medium thereof for push service |
WO2016115978A1 (en) * | 2015-01-19 | 2016-07-28 | 阿里巴巴集团控股有限公司 | Business object information sharing method and device |
-
2018
- 2018-10-30 CN CN201811278222.4A patent/CN109408116B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095479A (en) * | 2011-11-04 | 2013-05-08 | 华为技术有限公司 | Method and device of business configuration |
KR101398785B1 (en) * | 2013-03-22 | 2014-05-27 | 주식회사 엘지유플러스 | Apparatus , control method and recording medium thereof for push service |
WO2016115978A1 (en) * | 2015-01-19 | 2016-07-28 | 阿里巴巴集团控股有限公司 | Business object information sharing method and device |
Non-Patent Citations (2)
Title |
---|
B. TSCHAEN等: "SFC-Checker: Checking the correct forwarding behavior of Service Function chaining", 《2016 IEEE CONFERENCE ON NETWORK FUNCTION VIRTUALIZATION AND SOFTWARE DEFINED NETWORKS 》 * |
范颖 邹香玲: "微信流量分类模型及其业务识别算法研究", 《现代电子技术》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176715A (en) * | 2019-12-16 | 2020-05-19 | 青岛聚看云科技有限公司 | Information calling method and server |
CN111176715B (en) * | 2019-12-16 | 2023-05-12 | 青岛聚看云科技有限公司 | Information calling method and server |
CN112395024A (en) * | 2020-12-09 | 2021-02-23 | 上海益世界信息技术集团有限公司 | Interface calling method and related device |
CN112395024B (en) * | 2020-12-09 | 2021-12-24 | 上海益世界信息技术集团有限公司 | Interface calling method and related device |
CN114281578A (en) * | 2021-11-13 | 2022-04-05 | 苏州浪潮智能科技有限公司 | Distributed file storage system interaction method and device, computer equipment and medium |
CN114281578B (en) * | 2021-11-13 | 2024-01-16 | 苏州浪潮智能科技有限公司 | Interaction method, device, computer equipment and medium of distributed file storage system |
Also Published As
Publication number | Publication date |
---|---|
CN109408116B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110365491B (en) | Service processing method, device, equipment, storage medium and data sharing system | |
CN108737242B (en) | System for providing dialog content | |
US8352962B2 (en) | Managing application interactions using distributed modality components | |
US20220115012A1 (en) | Method and apparatus for processing voices, device and computer storage medium | |
US9021507B2 (en) | Dynamic use of data across multiple programs | |
WO2018177333A1 (en) | Mirror image distribution method, and mirror image acquisition method and apparatus | |
CN109408116A (en) | A kind of service identification acquisition methods, device, equipment and storage medium | |
CN107071512B (en) | A kind of dubbing method, apparatus and system | |
WO2022156606A1 (en) | Information processing method and apparatus, and electronic device | |
CN108124016B (en) | Method and device for sending POST (POST on POST) request | |
CN113591439B (en) | Information interaction method and device, electronic equipment and storage medium | |
WO2018095216A1 (en) | Relationship chain processing method, terminal and storage medium | |
CN114528044A (en) | Interface calling method, device, equipment and medium | |
CN109636460B (en) | Service processing method, device, equipment and storage medium | |
CN108780541A (en) | Contact person creates and utilizes | |
WO2018145574A1 (en) | Information processing method and device, terminal, server and storage medium | |
WO2017032211A1 (en) | Replacement method, device and apparatus using resource to replace target item | |
WO2023169193A1 (en) | Method and device for generating smart contract | |
WO2022253132A1 (en) | Information display method and apparatus, and electronic device | |
CN114417201A (en) | Message processing method and device, computer equipment and storage medium | |
JP6052731B2 (en) | Information system, server device, terminal device, information processing method, and program | |
CN106657281B (en) | File sharing method and device | |
CN115079771B (en) | Waveform generation method, waveform storage device, waveform generation equipment and storage medium | |
CN109640314A (en) | Belong to processing method, equipment and the computer readable storage medium of data | |
CN111339501B (en) | Copyright protection method, device, equipment and medium based on block chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |