Service calling method, system, device and storage medium

By introducing a service calling system into the vehicle cockpit system and providing a unified interface, the problem of low development efficiency caused by different external interfaces of multiple services is solved, efficient interface calling between applications and services is realized, and development complexity and manpower and material resources are reduced. Invest.

CN115640080BActive Publication Date: 2024-10-11CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211351194.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2024-10-11
Estimated Expiration
2042-10-31

AI Technical Summary

Technical Problem

In the vehicle cockpit system, the external interfaces of each service are different, resulting in low efficiency of application development, expansion and maintenance, and one service is dependent on multiple applications, resulting in the need to repeatedly develop interfaces, resulting in a waste of manpower and material resources.

Method used

Through the service calling system, a unified interface is provided to obtain the required services of the target application, find and call multiple associated servers, realize service calling, and reduce multiple interface development for each service.

Benefits of technology

It realizes unified interface calls between different applications and services, reduces development complexity and human and material investment, and improves application development and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115640080B_ABST
    Figure CN115640080B_ABST
Patent Text Reader

Abstract

This invention proposes a service invocation method, system, device, and storage medium, relating to the field of vehicle cockpit system technology. The service invocation system enables service invocation to be provided to different applications based on a unified interface. The method includes: obtaining at least one first functional parameter corresponding to a requested service from a target application; searching for a target server corresponding to each first functional parameter in a pre-set service function-server mapping; and invoking the requested service from at least one of the target servers.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Embodiments of the present invention relate to the technical field of vehicle cockpit systems, and in particular to a service calling method, system, device and storage medium. [Background technology]

[0002] In the development process of a single application (CLIENT) of the OEM cockpit system, it is necessary to connect to various services (SERVER) to implement functions and logic. For example, the voice application needs to connect to the body service to control the body attributes, the weather service to obtain weather information, and the map service to obtain location information, in order to implement voice services that meet user needs. Therefore, to implement an application, it is necessary to connect to multiple services. However, each service has different external interfaces, which greatly affects the efficiency of application development, expansion, and maintenance. At the same time, a service will also be connected to multiple applications. For example, in addition to the voice application needing to use the body service interface, the vehicle control and vehicle equipment application needs to use the body service capability interface.

[0003] In order to adapt to the connection with different services and service upgrades, application development requires repeated development of interfaces, resulting in a waste of manpower and material resources. [Summary of the invention]

[0004] The embodiments of the present invention provide a service calling method, system, device and storage medium, and realize providing service calling for different applications based on a unified interface through the service calling system.

[0005] In a first aspect, an embodiment of the present invention provides a service calling method, which is applied to a service calling system, and the method includes: obtaining at least one first functional parameter corresponding to a demand service requested by a target application; searching for a target server corresponding to each of the first functional parameters in a preset correspondence between service functions and servers; and calling the demand service requested by the target application from at least one of the target servers.

[0006] The above-mentioned service calling method finds multiple associated servers that provide data for the service that the target application wants to call in the pre-set function and service mapping relationship according to the functional parameters of the service that the target application wants to call. The service calling system sets up multiple associated servers or calls the data of multiple associated servers through a unified interface call, and there is no need to develop multiple interfaces to implement service calls.

[0007] In one possible implementation, calling the required service requested by the target application end from at least one of the target service ends includes:

[0008] Distributing the required service requested by the target application end to each target server end of at least one target server end;

[0009] Obtaining a second function parameter corresponding to the service data reported by each target server in response to the demand service;

[0010] In the preset correspondence between the required functions and the application terminals, searching for the target application terminal corresponding to the service data reported by each target service terminal;

[0011] Distribute the service data reported by at least one of the target service ends to the target application end.

[0012] In one possible implementation, the method further includes:

[0013] When any newly added application end initialization information is received, a corresponding relationship between the newly added application end associated function and the newly added application end is established and stored, and a function list parameter is obtained;

[0014] In the preset correspondence between services and servers, searching for the target server corresponding to the first function parameter includes:

[0015] In the function list parameters, search for a target server corresponding to the first function parameter.

[0016] In one possible implementation, the method further includes:

[0017] When any newly added server initialization information is received, a corresponding relationship between the newly added server supported service items and the newly added server is established to obtain a service list parameter;

[0018] In the preset correspondence between the required function and the application end, searching for the target application end corresponding to the service data reported by each target service end includes:

[0019] In the service list parameters, the target application end corresponding to the service data reported by each target service end is searched.

[0020] In one possible implementation, the required services include registration services, parameter setting services, data calling services, and registration cancellation services.

[0021] In a second aspect, an embodiment of the present invention provides a service calling system, the system comprising a service management module, a callback management module and a callback coordination module;

[0022] The callback management module is used to manage the mapping relationship between the application end and the first function parameter;

[0023] The service management module is used to obtain the first function parameter corresponding to the required service requested by the target application end, and find the target server end corresponding to each of the first function parameters in the preset corresponding relationship between the service and the server end;

[0024] The callback coordination module is used to call the required service requested by the target application end from at least one of the target service ends.

[0025] In one possible implementation, the service management module is further used to manage the mapping relationship between the server and the second function parameter;

[0026] The callback management module is further used to find the target application end corresponding to the service data reported by each target server end in response to the demand service in the preset correspondence relationship between the demand function and the application end after obtaining the second function parameter corresponding to the service data reported by each target server end in response to the demand service;

[0027] The callback coordination module is further used to distribute the service data reported by the target server to the target application.

[0028] In one possible implementation, the callback coordination module is further used to establish and store the corresponding relationship between the newly added application end associated function and the newly added application end when receiving any newly added application end initialization information, and obtain the function list parameter;

[0029] The service management module is also used to establish a corresponding relationship between the newly added server supported service items and the newly added server when receiving any newly added server initialization information, and obtain a service list parameter.

[0030] In a third aspect, an embodiment of the present invention provides a terminal device, comprising: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the method provided in the first aspect.

[0031] In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method provided in the first aspect.

[0032] It should be understood that the second to fourth aspects of the embodiments of the present invention are consistent with the technical solutions of the first aspect of the embodiments of the present invention, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be described in detail.

Brief Description of the Drawings

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0034] Figure 1 This is an example diagram of an architecture of a service calling system proposed in an embodiment of the present invention;

[0035] Figure 2 It is a structural diagram of a service calling system proposed in an embodiment of the present invention;

[0036] Figure 3 It is an information flow diagram of calling data in a service calling system according to an embodiment of the present invention;

[0037] Figure 4 It is a timing diagram of callback registration in service calling implemented by the service calling system according to an embodiment of the present invention;

[0038] Figure 5 is a flow chart of the steps of the service calling method proposed in an embodiment of the present invention;

[0039] Figure 6 A schematic diagram of the structure of an electronic terminal device provided by an embodiment of the present invention. [Specific implementation method]

[0040] In order to better understand the technical solution of this specification, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0041] It should be clear that the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0042] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0043] The service calling method proposed in the embodiment of the present invention can be applied to a service calling system, and the service calling system can provide two types of interfaces;

[0044] The first type of interface may be an interface provided to the application side, which may include setting, obtaining, registering application callbacks, and canceling application callback registration. The above interfaces may all use a function FUNCTION as a parameter.

[0045] For example, a voice application may use voice function as a parameter, and an application for controlling a vehicle air conditioning system may use temperature adjustment as a parameter.

[0046] In one example of the present invention, the interface provided by the service calling system to the application end includes a setting interface, an acquisition interface, a registration application callback interface, and a cancellation application callback registration interface. The above interfaces all use service parameters as parameters to distinguish corresponding functions; for example, the function can be voice broadcast, vehicle control, etc.

[0047] Get function interface (onClientGe), this interface will be called in the scenario of obtaining data on the application side (CLIENT). The platform service searches for multiple servers (SERVER) that provide instances in the service management module (ServerManager) according to the function input parameters, and distributes the data to the acquisition methods implemented by multiple servers (SERVER).

[0048] Set the function interface (onClientSet). This interface will be called in the application-side setting scenario. The platform service searches for the service provider instance (SERVER) in the service management module (ServerManager) based on the function input parameters and sends the data to the setting method implemented by the corresponding server (SERVER).

[0049] Register the interested function interface (onClientRegisterInterested). This interface is usually called when the application (CLIENT) initializes the registration of the interested function. The platform service registers the CLIENT to the callback management module (CallBackManager) according to the function input parameters. At the same time, the callback coordination module (CallBackCoordinate) is responsible for triggering the distribution to the corresponding server (SERVER) according to the function s list parameters.

[0050] Unregister functions of interest (onClientUnRegisterInterested). This interface will be called when the CLIENT unregisters functions of interest. The platform service deletes the CLIENT from the callback management module (CallBackManager) based on the FUNCTION input parameter. At the same time, the callback coordination module (CallBackCoordinate) is responsible for triggering distribution to the corresponding SERVER based on the function list parameters.

[0051] The second type of interface can be an interface provided to the server, such as registration service and data feedback. The above interfaces all use FUNCTION as a parameter to distinguish the corresponding services. For example, the map server can use the positioning service as a parameter, and the weather service can use the weather service as a parameter.

[0052] In an example of the present invention, the registration service interface (onServerCreate) is called when the service provider (SERVER) reports its own capabilities, that is, the service list after initialization, where the service list represents the functional range that this service can support. The platform service will register the server to the service management module (ServerManager) according to the service list. For example, the service can be weather, positioning, tire pressure, etc.

[0053] Feedback data interface (onServerNotified), the platform service finds the corresponding application end from the callback management module (CallBackManager) according to the service parameters and calls the feedback data interface of this application end (CLIENT) to distribute data.

[0054] Based on the above interface, the service calling system can realize the architecture of service calling between the application end and the server end. Figure 1 FIG. 1 is an example diagram of an architecture of a service calling system proposed in an embodiment of the present invention. Figure 1 As shown, the service calling system can provide interfaces for vehicle body services, map services, and weather services at the same time. The service calling system can also provide service interfaces for application A, application B, application C, and application D at the same time.

[0055] based on Figure 1 As shown in the example architecture diagram, it is assumed that application A is a voice broadcast application. The voice broadcast application only needs to request the body service data, map service data and weather service data through the service call system interface; the platform service determines the designated server corresponding to the required function of the voice broadcast application through the collaboration of the service management module, callback management module and callback coordination module, based on the mapping relationship between the required function and the server stored when the voice broadcast application is registered, and calls the relevant data from the body service, map service and weather service of the designated server.

[0056] In an example of the present invention, based on the service calling system provided by the embodiment of the present invention, the server can implement the following interface functions: setting, obtaining, registering callbacks and canceling callback registration; the above interfaces all use predefined services as parameters to distinguish the corresponding functions; these interfaces do not change due to changes in services, and are called by the platform service as a unified interface. Among them:

[0057] get--Get interface. When the get operation is performed on the application side, the platform service will search the service and server mapping table based on the service parameters, and then distribute it to the corresponding server. At this time, the corresponding server's get interface will be called.

[0058] set--Setting interface. When the setting operation is performed on the application side, the platform service will search the service and server mapping table according to the service parameters, and then distribute it to the corresponding server. At this time, the setting interface of the corresponding server will be called.

[0059] registerInterested—Registering the function of interest, usually registering the service list of interest to the platform service when the application is initialized, and the callback coordination module (CallBackCoordinate) decides and distributes it to the corresponding server. At this time, the corresponding server's registration interface of interest will be called

[0060] unRegisterInterested—Unregister the function of interest. The application side unregisters the service list of interest to the platform service, and the callback coordination module makes a decision and distributes it to the corresponding SERVER. At this time, the corresponding server-side unregister interest interface will be called

[0061] In one example of the present invention, the application end can implement the functions of the following interfaces:

[0062] The interface parameters that the application needs to implement are predefined functions, and the application needs to implement the corresponding function callback logic in the callback function, so the data flow from the data service end to the application end is through this unified interface, and this interface does not change with the change of the function parameters. Among them:

[0063] notifyFromServer—Function value feedback interface. The server reports to the platform service when the corresponding function value changes. The callback management module (CallBackManager) searches the callback function and application mapping table according to the function parameters, and then distributes the data to the corresponding application. At this time, the corresponding application interface will be called.

[0064] Figure 2 FIG. 1 is a schematic diagram of the structure of a service calling system according to an embodiment of the present invention. Figure 2 As shown, the service calling system includes a service management module 21 , a callback management module 22 and a callback coordination module 23 .

[0065] The callback management module can be used to manage the mapping relationship between the application end and the first function parameter;

[0066] Specifically, the callback management module can be used to manage all registered application ends, as well as a mapping table between the application end and its interested functions, so that when the server end provides data, the target application end can be found according to the corresponding service of the server end.

[0067] The application end and its required functions are registered with the application end object of the platform service and the function list it is interested in. When the data distribution module distributes data, it will find the application end object that sends data through the mapping table that can be stored in the callback management module. Adding the application end is called by the platform service when the application end is registered.

[0068] The service management module may be used to obtain a first function parameter corresponding to a required service requested by a target application, and to search for a target server corresponding to each of the first function parameters in a preset correspondence relationship between service functions and servers;

[0069] Specifically, the service management module is used to manage SERVER instances, including:

[0070] The service and server mapping table (mServerMap) is used to store specific service instances. These instances are instances of the service base class (ServerBase), and their business meanings include "body service", "map service" and "weather service".

[0071] The service base class (ServerBase) instantiates objects on the server side such as "body service", "map service" and "weather service".

[0072] The add interface (add) is called by the platform service when the server instance calls the service registration. At this time, the service base class instance will be created and added to the service and server mapping table.

[0073] The delete interface (remove) is retained so that it can be used in the scenario where the server cancels registration.

[0074] The "delete service" and "find service" interfaces will be called when adding services in the scenario of platform service registration services, while the findByFunction-find interface will be called when the platform service data distribution module DispachCenter distributes data in order to find the SERVER object that sends data.

[0075] The callback coordination module may be used to call the required service requested by the target application end from the target service end.

[0076] The application registers the functions of interest in the service call system. When the application is initialized, it registers the list of functions of interest to the service call system. The callback coordination module makes the decision and distributes it to the corresponding server. At this time, the registration interface of the corresponding server will be called.

[0077] Specifically, the callback coordination module is used to implement the callback registration process of the service call system, including:

[0078] A list of functions of interest to all applications is saved;

[0079] When the application registers a list of functions of interest, it is used to provide the service call system call;

[0080] Used to provide service call system calls when the application cancels the list of functions of interest

[0081] The list of registered interests is used to provide to the service calling system when the callback registration process is triggered.

[0082] The service management module is also used to manage the mapping relationship between the server and the second function parameter;

[0083] The callback management module is further used to find the target application end corresponding to the service data reported by each target server end in response to the demand service in the preset correspondence relationship between the demand function and the application end after obtaining the second function parameter corresponding to the service data reported by each target server end in response to the demand service;

[0084] The callback coordination module is further used to distribute the service data reported by at least one of the target service ends to the target application end.

[0085] The callback coordination module is also used to establish and store the corresponding relationship between the newly added application end associated function and the newly added application end when receiving any newly added application end initialization information, and obtain the function list parameter;

[0086] The service management module is also used to establish a corresponding relationship between the newly added server supported service items and the newly added server when receiving any newly added server initialization information, and obtain a service list parameter.

[0087] Based on the service management module, callback management module and callback coordination module of the service calling system, it is possible to call service data between the application end and the server end.

[0088] Figure 3 : is an information flow diagram of calling data in the service calling system of the embodiment of the present invention, such as Figure 3 As shown, the process of implementing the call data by the service call system includes:

[0089] K11: After CILENT calls SET or GET to execute the setting or obtaining interface call, the service calling system receives the application's request to call the setting interface or obtaining interface.

[0090] K12: The service calling system searches the service calling module for the server (SERVER) corresponding to the first function parameter (FUNCTION) according to the first function parameter (FUNCTION) corresponding to the application request.

[0091] K13: The service call system determines whether CILENT calls the SET interface or the GET interface.

[0092] K14: When it is a SET interface, the callback coordination module sends the SET function to the target server (SERVER). So that the SERVER first parses the value according to the parameter, and then executes the specific setting process. For example, assuming that the server is a day and night mode function of a map service, the first function parameter can be "ID_NAVI_DAYNIGHT", and the value can include "1" and "0", where "1" represents day mode and "0" represents night mode.

[0093] K15: When it is a GET interface, the callback coordination module sends the get function to the server (SERVER).

[0094] K16: When the server (SERVER) executes the acquisition process according to the service parameters: After the server (SERVER) processes the get, it returns the service data through data feedback. The service call system finds the application end corresponding to the service data from the callback management module, and sends the service data to the corresponding application end through the callback coordination module.

[0095] Figure 4 : is a timing diagram of callback registration in service call implemented by the service call system according to an embodiment of the present invention, such as Figure 4 As shown, the process of implementing callback registration in service call by the service call system includes:

[0096] In order to cope with the uncertainty of SERVER and CLIENT initialization timing, a callback registration process with adaptive timing differences is designed:

[0097] a. The service user CLIENT registers the functional interface of interest through the service call system, as shown in step 7 in the sequence diagram. At this time, the callback coordination module (CallBackCoordinate) finds the server (SERVER) from the service management module (ServerManager) through the pending registration list (mAllInterest) it holds, and then issues a registration call.

[0098] b. The server (SERVER) calls the system's registration service interface through the service, as shown in step 12 in the sequence diagram. At this time, the callback registration coordination module (CallBackCoordinate) finds the server (SERVER) from the service management module (ServerManager) through the list of pending registrations it holds, and issues a registration callback.

[0099] The service calling system proposed in the embodiment of the present invention provides a unified interface for different application ends (CILENT) and a unified interface for different SERVER service ends (SERVER). The application end can call different services through the service calling system. The application end does not need to repeatedly develop an interface for each service, and the server end does not need to develop a corresponding interface for each application, thereby saving manpower and material resources.

[0100] Figure 5 is a flow chart of the steps of the service calling method proposed in an embodiment of the present invention, such as Figure 5 As shown, the service calling method includes the steps of:

[0101] S51: Obtain at least one first functional parameter corresponding to the required service requested by the target application.

[0102] S52: searching for a target server corresponding to each of the first function parameters in a preset correspondence between services and servers.

[0103] S53: Invoke the required service requested by the target application terminal from at least one of the target service terminals.

[0104] Figure 5 The service calling method provided in the embodiment shown is applied to realize Figures 1 to 5 The service calling system shown or the technical solution of the service calling system-implementable process, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.

[0105] Optionally, calling the required service requested by the target application end from the target service end includes:

[0106] Distribute the required service requested by the target application end to each of the target service ends;

[0107] Obtaining a second function parameter corresponding to the service data reported by each target server in response to the demand service;

[0108] In the preset correspondence between the required functions and the application terminals, searching for the target application terminal corresponding to the service data reported by each target service terminal;

[0109] Distribute the service data reported by at least one of the target service ends to the target application end.

[0110] Optionally, the method further comprises:

[0111] When any newly added application end initialization information is received, a corresponding relationship between the newly added application end associated function and the newly added application end is established and stored, and a function list parameter is obtained;

[0112] In the preset correspondence between services and servers, searching for the target server corresponding to the first function parameter includes:

[0113] In the function list parameters, search for a target server corresponding to the first function parameter.

[0114] Optionally, the method further comprises:

[0115] When any newly added server initialization information is received, a corresponding relationship between the newly added server supported service items and the newly added server is established to obtain a service list parameter;

[0116] In the preset correspondence between the required function and the application end, searching for the target application end corresponding to the service data reported by each target service end includes:

[0117] In the service list parameters, the target application end corresponding to the service data reported by each target service end is searched.

[0118] Optionally, the required services include registration services, parameter setting services, data calling services and registration cancellation services.

[0119] When the required service is a registered service, the application side searches for function parameters, calls the server side interface to obtain the data of the server side, registers the application side and the functions of interest to the application side in the callback management module, and obtains the mapping relationship between the application side, the functions of interest to the application side and the server side; the mapping relationship can also be deleted based on the cancellation of the registration service. When the required service on the application side changes, the service that can be called by the first function parameter and the server side corresponding to the service can be modified by modifying the mapping relationship in the callback management module, so there is no need to modify the interface of the server side or the application side.

[0120] When the required service is to set parameter services, the application side searches for function parameters so that the server side first parses the value according to the parameters and then executes the specific setting process. There is no need to repeatedly call the server interface to complete the settings of different servers. When the required service is to call data services, the application side searches for different function parameters of interest and calls the data of different servers. There is no need to connect to different server interfaces one by one.

[0121] The implementation principle and technical effects of the service calling method provided in the above-mentioned embodiment can be further referred to the relevant description in the system embodiment, which will not be repeated here.

[0122] Figure 6A structural schematic diagram of an electronic terminal device provided in an embodiment of the present invention, the electronic terminal device 600 includes a processor 610, a memory 611, and a computer program stored in the memory 611 and executable on the processor 610. The processor 610 implements the steps in the aforementioned method embodiment when executing the program. The electronic terminal device provided in the embodiment can be used to execute the technical solution of the method embodiment shown above. The implementation principle and technical effects thereof can be further referred to the relevant description in the method embodiment, which will not be repeated here.

[0123] An embodiment of the present invention provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, wherein the computer instructions enable the computer to execute the instructions of the present invention. Figure 5 The illustrated embodiment provides a service calling method. Non-transitory computer readable storage media may refer to non-volatile computer storage media.

[0124] The above-mentioned non-transient computer-readable storage medium can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, - but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive lists) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (read only memory, ROM), erasable programmable read-only memories (erasable programmable read only memory, EPROM) or flash memory, optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing programs, which can be used by instruction execution systems, devices or devices or used in combination with them.

[0125] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0126] The program code embodied on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.

[0127] Computer program code for performing the operations of the present specification may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0128] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0129] In the description of the embodiments of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0130] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this specification, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0131] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of this specification includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of this specification belong.

[0132] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0133] It should be noted that the terminals involved in the embodiments of the present invention may include but are not limited to personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 players, MP4 players, etc.

[0134] In the several embodiments provided in this specification, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0135] In addition, each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0136] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0137] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims

1. A service calling method, It is characterized in that Applied to a service calling system, the method comprises: Obtain at least one first function parameter corresponding to the required service requested by the target application end; In the preset correspondence between services and servers, searching for the target server corresponding to each of the first function parameters; Invoke the required service requested by the target application terminal from at least one of the target service terminals; When any newly added application end initialization information is received, a corresponding relationship between the newly added application end associated function and the newly added application end is established and stored, and a function list parameter is obtained; In the preset correspondence between services and servers, searching for the target server corresponding to the first function parameter includes: In the function list parameters, searching for a target server corresponding to the first function parameter; The calling of the required service requested by the target application end from at least one of the target service ends includes: Distributing the required service requested by the target application end to each target server end of at least one target server end; Obtaining a second function parameter corresponding to the service data reported by each target server in response to the demand service; In the preset correspondence between the required functions and the application terminals, searching for the target application terminal corresponding to the service data reported by each target service terminal; Distributing service data reported by at least one of the target service terminals to the target application terminal; The required services include registration service, parameter setting service, data calling service and registration cancellation service; When the required service is a registration service, the application side searches for function parameters, calls the server side interface to obtain the server side data, registers the application side and the application side's functions of interest in the callback management module, and obtains the mapping relationship between the application side, the application side's functions of interest and the server side.

2. The method according to claim 1, It is characterized in that The method further comprises: When any newly added server initialization information is received, a corresponding relationship between the newly added server supported service items and the newly added server is established to obtain a service list parameter; In the preset correspondence between the required function and the application end, searching for the target application end corresponding to the service data reported by each target service end includes: In the service list parameters, the target application end corresponding to the service data reported by each target service end is searched.

3. A service calling system, It is characterized in that The system includes a service management module, a callback management module and a callback coordination module; The callback management module is used to manage the mapping relationship between the application end and the first function parameter; The service management module is used to obtain the first function parameter corresponding to the required service requested by the target application end, and find the target server end corresponding to each first function parameter in the preset corresponding relationship between the service and the server end; The callback coordination module is used to call the required service requested by the target application end from at least one of the target service ends; The callback coordination module is also used to establish and store the corresponding relationship between the newly added application end associated function and the newly added application end when receiving any newly added application end initialization information, and obtain the function list parameter; The service management module is also used to establish a corresponding relationship between the newly added server supported service items and the newly added server when receiving any newly added server initialization information, and obtain a service list parameter; The service management module is also used to manage the mapping relationship between the server and the second function parameter; The callback management module is further used to find the target application end corresponding to the service data reported by each target server end in response to the demand service in the preset correspondence relationship between the demand function and the application end after obtaining the second function parameter corresponding to the service data reported by each target server end in response to the demand service; The callback coordination module is further used to distribute the service data reported by at least one of the target service ends to the target application end; The required services include registration service, parameter setting service, data calling service and registration cancellation service; When the required service is a registration service, the application side searches for function parameters, calls the server side interface to obtain the server side data, registers the application side and the application side's functions of interest in the callback management module, and obtains the mapping relationship between the application side, the application side's functions of interest and the server side.

4. A device, include: at least one processor; as well as At least one memory in communication with the processor, characterized in that: The memory stores program instructions executable by the processor, and the processor can execute the method according to any one of claims 1 to 2 by calling the program instructions.

5. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions enable the computer to execute the method according to any one of claims 1 to 2.