Service components invoke methods, apparatus, computer equipment, and storage media

A service component and component technology, applied in the computer field, can solve the problem of waste of computer equipment performance resources, and achieve the effect of saving performance resources

CN113590341BActive Publication Date: 2022-02-22TENCENT TECH (SHENZHEN) CO LTD
9 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-02-22

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present application relates to a service component invocation method, apparatus, computer equipment, storage medium and computer program product. The method includes: when a locally started first application needs to use a target service, using a service interface component in the first application corresponding to the target service to provide the target service to the first application The first public service component of the server sends a call request; different applications installed locally have their own service interface components and corresponding public service components; determine the routing strategy preset for the first application; if the first public service The service component is not the target public service component indicated by the routing policy, and based on the routing policy, the invocation request is routed to the target public service component in the second application for providing the target service; through the target public service A component provides the target service to the first application. By adopting the method, the performance resources of the terminal can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of computer technology, in particular to a service component calling method, device, computer equipment, storage medium and computer program product. Background technique

[0002] With the development of computer technology, more and more people install various applications on computer equipment to meet various needs, such as installing music applications and navigation applications. Different applications generally need to use the same capabilities, and these capabilities are called public capabilities, and the public capabilities include, for example, account numbers and location.

[0003] In traditional technology, each application is completely independent. For the same public capability, each application contains a copy, and the public capabilities of each application are executed separately, resulting in a waste of performance resources (including CPU and memory) of computer equipment. Contents of th...

Examples

Embodiment Construction

[0031] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0032] The service component calling method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 may communicate with the server 104 through a wired or wireless network. The terminal 102 includes, but is not limited to, mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, etc., and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers. Multiple applications are installed on the termi...