Service configuration method and related equipment

By creating and configuring service items in the server, using unified data formats such as URLs and splicing parameters, the problem of inconsistent data formats between different devices or platforms is solved, and a more flexible business expansion and a simplified business expansion process is achieved.

CN119597335APending Publication Date: 2025-03-11LAUNCH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411622030.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In the automotive aftermarket, there is a lack of unified standards for data formats between different devices or platforms, which leads to the need to add new functions to connect to new services, which brings trouble to business expansion.

Method used

Provide a service configuration method, create service items through the server, configure service items requested by external services, determine a unified data format for executing external services, such as URLs and splicing parameters, and realize the unified data format between electronic devices and third-party servers.

Benefits of technology

Without adding additional backend development work to the server, you can add service items requested by external business, achieving more flexible business expansion and simplifying the operation of external business expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119597335A_ABST
    Figure CN119597335A_ABST
Patent Text Reader

Abstract

The invention provides a service configuration method and related equipment. An electronic device creates a plurality of service items in a software service licensing platform, configures each service item, and determines a data format of a service to a request. The service items can be divided into internal businesses and external businesses, and different categories of the service items are used for distinguishing different service requests. When the service item corresponds to the external service request, a unified data format, such as a resource locator URL and a splicing parameter, for service calling is configured in the first service platform, and when the service item of the external service request is activated, the service can be opened through the configured URL and the splicing parameter. Through the method, the server can add the service item of the external business request without adding additional background development work, so that more flexible business expansion is realized, and the operation of external business expansion is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to electronic devices, and more particularly to a service configuration method and related devices. Background Art

[0002] In the automotive aftermarket, various businesses are usually performed on vehicles, and different devices need to expand their businesses through data cooperation. At present, different businesses are running on different devices or platforms, and there is no unified standard for the data format between different devices or platforms. Therefore, after accessing new businesses, new functional docking needs to be added, which brings trouble to business expansion. Summary of the invention

[0003] An embodiment of the present application provides a service configuration method, which configures a unified data format for external business. The server does not need to add additional background development work to add service items requested by external business, thereby achieving more flexible business expansion and simplifying the operation of external business expansion.

[0004] In a first aspect, a service configuration method is provided, which is applied to a service provision system, wherein the service provision system includes an electronic device, a server and a third-party server, the method comprising: the server creates a service item, the service item is a service obtained by the electronic device, the service includes an internal business and an external business, the internal business is a service in the server, and the external business is a service in the third-party server; the server configures the service item and determines a data format for executing the external business; the server receives a request for the service sent by the electronic device, if the service request is a request for the internal business, the server returns the internal business to the electronic device, if the service request is a request for the external business, the server obtains the external business from the third-party server based on the data format of the external business, and then returns the external business to the electronic device.

[0005] In combination with the first aspect, the data format of the external service includes a uniform resource locator URL and a splicing parameter, the URL is used to obtain the resource location of the third-party server, and the splicing parameter is used to unify the data format between the electronic device and the third-party server.

[0006] In combination with the first aspect, in certain embodiments of the first aspect, the server has a first service platform, the first server platform is used to manage the service item, and the server creates the service item, specifically including: the server creates the service item through the first service platform.

[0007] In combination with the first aspect, in certain embodiments of the first aspect, the server obtains the external service from the third-party server based on the data format of the external service, specifically including: the server sends a request to the third-party server to obtain the external service based on the data format of the external service, and receives the external service returned by the third-party server.

[0008] In combination with the first aspect, in certain embodiments of the first aspect, the service item includes an activation state, which indicates that the server executes the service item. Before the server receives a request for the service sent by the electronic device, the method also includes: the server activates the service item, and the service item is in the activation state.

[0009] In combination with the first aspect, in certain embodiments of the first aspect, the service item includes a parent service item and a child service item, the child server item is a child of the parent service item, and the server configures the service item, specifically including: the server configures the child service item.

[0010] In a second aspect, an electronic device is provided, which includes one or more memories and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method as described in the first aspect or any one of the methods in the first aspect.

[0011] In a third aspect, a server is provided, comprising one or more memories and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the server executes the method as described in the first aspect or any one of the methods in the first aspect.

[0012] In a fourth aspect, a computer-readable storage medium is provided, on which computer instructions are stored. When the computer instructions are executed by a processor, the method according to the first aspect or any one of the methods in the first aspect is implemented.

[0013] In a fifth aspect, a computer device is provided, comprising a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the method steps of the aforementioned first aspect or any one of the first aspects.

[0014] In a sixth aspect, a chip is provided, on which a computer program is stored. When the computer program is executed by the chip, the method according to the first aspect or any one of the methods in the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A schematic diagram of a communication architecture provided in an embodiment of the present application;

[0016] Figure 2 A flowchart of a method for configuring service items for external services provided in an embodiment of the present application;

[0017] Figure 3 A schematic diagram of service items created by the first service platform provided in an embodiment of the present application;

[0018] Figure 4 A schematic diagram of configuring external business service items provided in an embodiment of the present application;

[0019] Figure 5 A flowchart of a method for configuring service items for internal business provided in an embodiment of the present application;

[0020] Figure 6 A schematic diagram of configuring internal business service items provided in an embodiment of the present application;

[0021] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0022] Figure 8 A schematic diagram of the server structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to be limiting of the present application. The technical solutions in the embodiments of the present application will be clearly and comprehensively described below in conjunction with the accompanying drawings. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0024] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0025] At present, in the automotive aftermarket, more and more businesses are carried out with vehicles as the object, and these businesses usually expand their business through data cooperation. However, different businesses are located on different devices or platforms, and there is no unified standard for the data format between different devices or platforms. Therefore, after connecting to new businesses, new functional docking needs to be added, which brings trouble to business expansion.

[0026] To solve the above problems, an embodiment of the present application provides a service configuration method. In this method, an electronic device runs a software service licensing platform. The electronic device creates multiple service items in the platform, configures each service item, and determines the data format of the service request. Service items can be divided into internal business and external business, and different categories of service items are used to distinguish different service requests. When a service item corresponds to an external business request, a unified data format for the business call is configured in the first service platform, such as a resource locator (Uniform Resource Locator, URL) and splicing parameters. When the service item requested by the external business is activated, the service can be opened through the configured URL and splicing parameters. Through this method, the server does not need to add additional background development work to add service items requested by external business, thereby achieving more flexible business expansion and simplifying the operation of external business expansion.

[0027] The URL is the address of a resource in the network, and the electronic device can obtain the location and access method of the resource of the external service in the third-party server through the URL.

[0028] like Figure 1 As shown, Figure 1 The communication system architecture provided by the embodiment of the present application is shown. The communication system is an exemplary architecture diagram of a communication system applicable to the embodiment of the present application, and the communication system includes an electronic device 100, a server 200 and a third-party server 300. The electronic device 100 and the server 200 can communicate with each other, and the server 200 and the third-party server 300 can communicate with each other. In the embodiment of the present application, the communication system is also called a service provision system.

[0029] The electronic device 100 may include electronic devices in a vehicle and electronic devices involved in the automotive aftermarket, such as a decoder in a vehicle detection device, etc. The electronic device 100 may obtain a service that is allowed to be executed from the server 200 and send a service request to the server 200.

[0030] The server 200 may include a software service license platform, which is used to manage the service items provided for the electronic device 100. The software service license platform can create, configure and modify service items. Among them, the server 200 can configure and modify the service items on the front-end page of the service license platform, and store the data of the service items on the back-end of the service license platform. In the embodiment of the present application, the software service license platform is also referred to as the first service platform.

[0031] The service items include internal services and external services. Internal services are services that the server 200 can directly provide to the electronic device 100, and external services are services provided by the third-party server 300 to the electronic device 100. When the third-party server 300 provides services to the electronic device 100, it needs to provide services to the electronic device 100 through the server 200 as an intermediary.

[0032] The server 200 provides external services to the electronic device 100. Since the electronic device 100 and the third-party server 300 do not have a unified standard for data, it is first necessary to unify the data format of the acquired data. The server 200 configures the data format of the external service through the first service platform, such as the URL and splicing parameters. Among them, the URL is used to obtain the location of the service resources in the third-party server 300, and the splicing parameters are used to unify the specific data content that needs to be transmitted between the server 200 and the third-party server 300, including the device number, service number, and whether the service is activated. The third-party server 300 receives the request sent by the server 200, and returns the data of the external service in the data format specified by the server 200. The server 200 then returns the data of the external service to the electronic device 100 and provides the external service to the electronic device 100.

[0033] In some embodiments, the server 200 provides internal services to the electronic device 100. The server 200 can execute the corresponding internal service after receiving the request of the electronic device 100. The server 200 can also configure the data format of the internal service, such as obtaining the device number of the electronic device 100, so as to quickly provide services to the electronic device 100.

[0034] The server 200 can configure whether the service item is activated through the first service platform. The service item includes an activated state and an inactivated state. The electronic device 100 can obtain the service item in the activated state in the server 200, but cannot obtain the inactivated service item. The server 200 can receive a modification operation on the service item in the first service platform, switch the activated state or inactivated state of the service item, or receive an instruction from the electronic device 100 to change the state of the service item, which is not limited in the embodiment of the present application.

[0035] It should be understood that Figure 1The communication system in the embodiment takes the communication between an electronic device 100, a server 200 and a third-party server 300 as an example. In actual applications, the number of electronic devices 100, servers 200 and third-party servers 300 can be greater. For example, a server 200 can communicate with multiple electronic devices 100 and / or third-party servers 300 at the same time. In the following introduction, the communication method involved in the embodiment of the present application is applied to Figure 1 The communication system shown.

[0036] It should be noted that the communication architecture of the embodiment of the present application is only based on the electronic device 100, the server 200 and the third-party server 300 as an example, and the specific communication architecture may have more or fewer devices. For example, when the electronic device 100 obtains internal services, only the electronic device 100 and the server 200 are required, and the embodiment of the present application does not limit the specific communication architecture.

[0037] The following describes the specific process of configuring external services by the server 200 through embodiment 1, and describes the specific process of configuring internal services by the server 200 through embodiment 2.

[0038] Example 1

[0039] based on Figure 1 The communication system shown, Figure 2 The service item configuration method of the external business is shown, which specifically includes:

[0040] S101. The server creates a service in the software service licensing platform and sets the configuration content of the service.

[0041] The services created by the software service licensing platform include multiple levels, such as parent service items and child service items, wherein the parent service item can be divided into one or more child service items, and the child service items can also be further divided downward to form multiple service items of different levels. The content of the service items can be configured for the created multi-level service items. In some implementations, the configuration content of the service can be set by the last level service item. In the embodiment of the present application, the software service licensing platform can be referred to as the first service platform.

[0042] like Figure 3 As shown, Figure 3The service items created by the first service platform are shown. In the first service platform, the operation of the Add classification button can create a new service item. In the first service platform, the service items are displayed with the service item level (Parent level), service item name (Classification name), service item status (Status) and service item operation (Operate). The service item level is the level of the service item, such as the first level (level 1) and the second level (level 2). In the service items of the same category, the level of the parent service item is higher than the level of the child service item, and so on and so forth, it can be obtained that the last child service item is the last level; the service item name is used to prompt the user of the function of the service item; the service item status is used to determine whether the service item is activated. If the service status value in the service item is valid (Valid), it means that the service is in an activated state and the service function can be used. If the service status value in the service item is invalid (Invalid), it means that the service is in an unactivated state and the service function cannot be used; service item operations include viewing service item subcategories (Viewsubcategories), editing (Edit), deleting (Delete), etc.

[0043] exist Figure 3 Among the service items shown, the service item numbered 1 has a first-level service item level, a service item name of factory configuration upgrade, and a service item status of valid; the service item numbered 2 has a first-level service item level, a service item name of vehicle packages, and a service item status of valid. The embodiment of the present application does not limit the service items created by the first service platform.

[0044] S102. The server sets the configuration type of the external service.

[0045] like Figure 4 As shown, Figure 4 The configuration of external business service items is shown. In the configuration interface of the service item, the configuration content of the service item can be displayed, including the parent of the service item, the classification name, the classification code, the configuration type and the function configuration. Among them, the parent of the service item is used to indicate the parent name of the service item; the classification name is used to indicate the name of the service item; the classification code is used to indicate the identification information of the first service platform for the service item; the configuration type is used to indicate the type classification of the service item based on the service object; the function configuration is used to indicate the specific configuration required for the service item to perform the service.

[0046] Different service items have different configuration types. There are three types of service configuration types, namely headquarters business (type 1), branch business (type 2) and branch write-off (type 3). Among them, the server is used to execute type 1 service items, which are internal business. The data format in which the electronic device obtains the service item is consistent with the data format provided by the first service platform in the server. The third-party server is used to execute type 2 service items, which are external business. The data format in which the electronic device obtains the service item is inconsistent with the data format provided by the third-party server. Type 3 service items are based on type 2 service items and additionally record the number of times the service item is used. Illustrative examples are given. Figure 4 The service item shown is configured with a branch office service, and the service item is configured as an external service.

[0047] S103. The server configures the calling URL and splicing parameters according to the external business request corresponding to the service item.

[0048] For external business service items, third-party servers and electronic devices will have different requests and methods for data. Request configuration items, such as URL and splicing parameters, can be added to the functional configuration of the service items, so as to stipulate that the service item data format returned by the third-party server is consistent with the data format of the electronic device, eliminating the need for the server to re-adapt and develop the acquired external business, so as to achieve flexible external business expansion.

[0049] For example, in Figure 4 In the service items of the external business shown, request configuration items are added to the function configuration, including URL and splicing parameters. Among them, the URL may include a specific network resource, which may be the resource "https: / / uszdmycar.x431.com / rest / s_ajax_data / upgradeSnConfSofts.json" as shown below, and the URL can be understood as the network resource location where the external business is located. Splicing parameters include device number (serialNo), group number (card_code) where the service item is located, service item number (item_value) and user number (user_id). The splicing parameters can be understood as the data format required to determine the electronic device and the service to be executed, and the embodiments of the present application do not limit this.

[0050] S104. After the server activates the service item, it activates various service functions according to the corresponding service request in the service item.

[0051] The server receives an external service request from the electronic device, obtains the corresponding service in the third-party server according to the configuration of the service item in the corresponding activated service item, and returns it to the electronic device.

[0052] In the first service platform, the server may define multiple service items as a group, and this group of service items is called a software service card. The server may activate multiple service items in the software service card in units of software service cards. Among them, the service items in the software service card may be modified according to the actual needs of the electronic device, so that different electronic devices can run service items suitable for the electronic device itself, so as to achieve a more flexible service provision method.

[0053] By using the above method, adding request configuration items in the function configuration can avoid the trouble caused by the different data requests and methods of external businesses and electronic devices, and there is no need to add additional background development work in the server, thus achieving more flexible business expansion.

[0054] Example 2

[0055] based on Figure 1 The communication system shown, Figure 5 The service item configuration method of the internal business is shown, which specifically includes:

[0056] S201. The server creates a service in the software service licensing platform and sets the configuration content of the service.

[0057] The specific description of the software service licensing platform can be found in the aforementioned step S101, which will not be repeated here.

[0058] S202. The server sets the configuration type of the internal business.

[0059] In the configuration interface of the service item, the configuration content of the service item can be displayed, including the parent of the service item, the category name, the category code, the configuration type and the function configuration. For details, please refer to the description of the aforementioned step S102, which will not be repeated here. Figure 6 The configuration type of the service item shown is head office business, that is, the service item is configured as internal business.

[0060] S203. The server configures parameters according to the internal business request corresponding to the service item.

[0061] For services belonging to internal business, the server and the electronic device have the same request and method for the data of the service item, and the aforementioned URL and splicing parameters can be exempted in the functional configuration of the service item. In order to increase the speed at which the server provides services to the electronic device, the device number (serialNo) can be configured in the service item, and the server can quickly start the corresponding service after obtaining the device number of the electronic device.

[0062] For example, Figure 6The service items of the internal business shown add the device number (serialNo) in the function configuration. The device number is "YFV6A24G", for example. Compared with the service items of configuring external business, the internal business can start the corresponding service in the server without URL and splicing parameters because the electronic equipment and the server already have a unified data format.

[0063] In some implementations, the server may not need to fill in parameters in the functional configuration of the service item. The server and the electronic device may communicate in a default data format to enable the service required by the electronic device in the server.

[0064] S204. After the server activates the service item, it activates various service functions according to the corresponding service request in the service item.

[0065] The server receives the internal service request from the electronic device, obtains the corresponding service in the service item, and returns it to the electronic device.

[0066] The specific description of the server opening various service functions can be referred to the aforementioned step S104, which will not be repeated here.

[0067] like Figure 7 The structure of the electronic device provided in the embodiment of the present application is shown. The electronic device 100 includes: a processor 101, a memory 102, a communication module 104, and a computer program 103 stored in the memory 102 and executable on the processor 101. When the processor 101 executes the computer program 103, the steps in the vehicle detection method embodiment are implemented.

[0068] Exemplarily, the computer program 103 may be divided into one or more units / modules, which are stored in the memory 102 and executed by the processor 101 to complete the present application. The one or more units / modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 103 in the electronic device 100.

[0069] The electronic device 100 may include, but is not limited to, a processor 101 and a memory 102. Those skilled in the art will appreciate that Figure 7 It is only an example of the electronic device 100 and does not constitute a limitation of the electronic device 100. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 100 may also include input and output devices, network access devices, buses, etc.

[0070] The processor 101 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0071] The memory 102 may be an internal storage unit of the electronic device 100, such as a hard disk or memory of the electronic device 100. The memory 102 may also include both an internal storage unit of the electronic device 100 and an external storage device. The memory 102 is used to store the computer program and other programs and data required by the electronic device 100. The memory 102 may also be used to temporarily store data that has been output or is to be output, such as the node structure, linked list structure, and high-level function call parameters.

[0072] The communication module 104 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The communication module 104 can be one or more devices integrating at least one communication processing module. The communication module 104 receives electromagnetic waves through the sky, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 101. The communication module 104 can also receive the signal to be sent from the processor 101, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna. Exemplarily, the communication module 104 receives the configuration parameters of the service item (such as URL and splicing parameters), sends data to the third-party server through the antenna, and requests to activate the corresponding service item function. Exemplarily, the communication module 104 receives data in the same format returned from the third-party server via the antenna, and determines the result of enabling the function of the service item.

[0073] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in one processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit, and the above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0074] Please refer to Figure 8 , Figure 8 A schematic diagram of the structure of a server provided in an embodiment of the present application. The server 200 includes a processor 201, a memory 202, and a wireless communication module 204. The processor 201, the memory 202, and the wireless communication module 204 can be interconnected via a communication bus 203. The communication bus 203 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 203 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 The memory 202 is used to store computer programs. The computer programs include program instructions. The processor 201 is configured to call the program instructions. The program includes instructions for executing Figure 8 In the method shown, part or all of the steps are executed by the server.

[0075] Processor 201 may be a CPU, a microprocessor, an ASIC, an ECU, or one or more integrated circuits for controlling the execution of the above program. For example, processor 201 may be used to execute the above Figure 2 In steps S101-S104, Figure 5 The specific execution steps of steps S201-S204, etc. have been described in the above embodiments and will not be repeated here.

[0076] The memory 202 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor. Exemplarily, the memory 202 may store the data of the aforementioned service items.

[0077] The server 200 may further include a communication interface, which includes a Universal Serial Bus (USB) interface, which may be used to connect to an external storage medium.

[0078] The wireless communication module 204 can provide solutions for wireless communications including WLAN, BT, GNSS, FM, NFC, IR, etc. applied on the server 200. The wireless communication module 204 can be one or more devices integrating at least one communication processing module. The wireless communication module 204 receives electromagnetic waves via an antenna, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 201. The wireless communication module 204 can also receive the signal to be sent from the processor 201, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna. The wireless communication module 204 can also receive electromagnetic waves sent by other vehicle inspection equipment and store the received data in the memory 202. Exemplarily, the server 200 can receive a request for obtaining a service and related data sent by the electronic device 100, and can also send a request for obtaining an external service and related data to a third-party server 300.

[0079] In some embodiments, the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include GPS, global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation systems (SBAS).

[0080] In addition, the server 200 may also include common components such as antennas, which will not be described in detail here.

[0081] It should be understood that each step in the above method embodiment provided by the present application can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0082] The present application also provides a computer program product, which includes: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute the method executed by a terminal device in any of the above embodiments.

[0083] The present application also provides a computer-readable storage medium, which stores a computer program (also referred to as code or instruction). When the computer program is executed, the computer executes the method executed by the terminal device in any of the above embodiments.

[0084] The present application also provides a chip system, which includes at least one processor for implementing the functions involved in the method executed by the electronic device in any of the above embodiments.

[0085] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0086] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0087] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0088] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0089] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0090] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0091] A person skilled in the art can understand that to implement all or part of the processes in the aforementioned embodiments, the processes can be completed by a computer program to instruct the relevant hardware, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the aforementioned method embodiments. The aforementioned storage medium includes: a read-only memory ROM or a random access memory RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0092] In short, the above description is only an embodiment of the technical solution of this application, and is not intended to limit the protection scope of this application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of this application shall be included in the protection scope of this application.

Claims

1. A service configuration method, applied to a service provision system, wherein the service provision system includes an electronic device, a server and a third-party server, characterized in that: The method comprises: The server creates a service item, where the service item is a service acquired by the electronic device, and the service includes an internal service and an external service. The internal service is a service in the server, and the external service is a service in the third-party server; The server configures the service item and determines a data format for executing the external service; The server receives the service request sent by the electronic device. If the service request is a request for the internal service, the server returns the internal service to the electronic device. If the service request is a request for the external service, the server obtains the external service from the third-party server based on the data format of the external service, and then returns the external service to the electronic device.

2. The method according to claim 1, characterized in that: The data format of the external service includes a uniform resource locator URL and a splicing parameter, the URL is used to obtain the resource location of the third-party server, and the splicing parameter is used to unify the data format between the electronic device and the third-party server.

3. The method according to claim 1, characterized in that: The server has a first service platform, and the first server platform is used to manage the service items. The server creates the service items, specifically including: The server creates a service item through the first service platform.

4. The method according to claim 1, characterized in that: The server obtains the external service from the third-party server based on the data format of the external service, specifically including: The server sends a request for acquiring the external service to the third-party server based on the data format of the external service, and receives the external service returned by the third-party server.

5. The method according to claim 1, characterized in that: The service item includes an activation state, and the activation state indicates that the server executes the service item. Before the server receives the request for the service sent by the electronic device, the method further includes: The server activates the service item, and the service item is in the activated state.

6. The method according to claim 1, characterized in that: The service item includes a parent service item and a child service item, the child server item is a child of the parent service item, and the server configures the service item, specifically including: The server is configured in the sub-service item.

7. An electronic device, characterized in that: The electronic device includes one or more memories and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute any one of the methods described in claims 1-6.

8. A server, characterized in that: The server includes one or more memories and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the server to execute any method as described in claims 1-6.

9. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement any one of the method steps in claims 1-6.

11. A chip, characterized in that: A computer program is stored on the chip, and when the computer program is executed by the chip, the method according to any one of claims 1 to 6 is implemented.