CN111756795B - Service information management method and device, electronic equipment and storage medium - Google Patents

Service information management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111756795B
CN111756795B CN202010376274.6A CN202010376274A CN111756795B CN 111756795 B CN111756795 B CN 111756795B CN 202010376274 A CN202010376274 A CN 202010376274A CN 111756795 B CN111756795 B CN 111756795B
Authority
CN
China
Prior art keywords
service
target server
identifier
request
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010376274.6A
Other languages
Chinese (zh)
Other versions
CN111756795A (en
Inventor
闫博文
严伟
李文琪
陈高辉
朱傲
张新
付杰霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Geely Automobile Research Institute Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Geely Automobile Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Zhejiang Geely Automobile Research Institute Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202010376274.6A priority Critical patent/CN111756795B/en
Publication of CN111756795A publication Critical patent/CN111756795A/en
Application granted granted Critical
Publication of CN111756795B publication Critical patent/CN111756795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The method comprises the steps that a service management module receives a service searching request sent by a client, analyzes the service searching request to obtain a service identifier in the service searching request, determines a target server identifier from an information storage library according to the service identifier, wherein the target server corresponding to the target server identifier is used for providing a service corresponding to the service identifier, and feeds back a service searching response to the client, wherein the service searching response carries the target server identifier. Based on the embodiment of the application, the service management module is arranged in the vehicle-mounted Ethernet service oriented communication, the updated service data of the server and the whole vehicle service information required to be called by the client are managed in a unified mode, the flexibility of Ethernet service oriented communication can be improved, and the waste of bandwidth and node computing resources can be reduced.

Description

Service information management method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of vehicle-mounted communication network technologies, and in particular, to a method and an apparatus for managing service information, an electronic device, and a storage medium.
Background
With the rapid development of networking and intellectualization of automobiles, a Scalable Service-organized Middleware over IP (SOME/IP, vehicle-mounted ethernet) identifies a Service interface by using a Message identifier Message ID occupying 32-bit data length, wherein the first 16 bits are an identifier Service ID of a Service provider server, and the last 16 bits are an identifier Method ID of a Method or an event in the Service. SOME/IP is the first choice for vehicular communication networks because of its advantages of high bandwidth and high transmission rate. Currently, most vehicle communication networks employ a flexible vehicle-mounted ethernet SOA (Service-Oriented Architecture), and SOME/IP is used as a middleware for Service-Oriented interaction, and is used for scheduling communication between a server and a client, such as establishing communication or terminating communication. The service is a functional entity providing an interface, and can realize a certain specific function; service-oriented communication, i.e. the transmission of relevant attributes and control information of the service; the in-vehicle communication node can be used as a service provider server to provide own service, and can also be used as a service user client to remotely call services provided by other nodes.
The vehicle-mounted Ethernet-based Service communication can adopt various modes such as broadcasting, multicasting or unicasting and the like according to needs, and also provides a Scalable Service-organized Middleware IP-Service Discovery (SOME/IP-SD, vehicle-mounted Ethernet-based Service Discovery mechanism) for addressing and judging whether the Service is available or not. The existing SOME/IP-SD mainly includes two modes, in one mode, as shown in fig. 1, a server issues a Service available to itself to a preset broadcast or multicast address through a Service delivery message, where the Service delivery message includes information such as an identifier Service ID of a Service provider server and an address (an IP address and a transport port number) of a Service user client. All nodes sharing the preset broadcast or multicast address in the whole vehicle network receive the service release message for analysis, and then select whether to call the service provided by the server or not according to the requirement. In another mode, as shown in fig. 2, when there is a service publishing message that a node wants to use the service but does not receive the service, the node searches for a service provider of the service through an SOME/IP-SD search message, requests to establish one-to-one communication to remotely invoke the service, and similarly, in the entire vehicle network, the node that receives the service publishing message of the service selects whether to invoke the service provided by the server according to the need.
In the prior art, the service-oriented communication of the vehicle-mounted Ethernet is static, and a communication mode among servers needs to be configured in advance, so that the complexity is improved continuously along with the continuous increase of the number of the servers and nodes in the vehicle-mounted network, and the conventional SOME/IP-SD mode is not suitable.
Disclosure of Invention
The embodiment of the application provides a service information management method, which comprises the following steps:
receiving a service searching request sent by a client;
analyzing the service searching request to obtain a service identifier in the service searching request;
determining a target server identifier from an information storage library according to the service identifier; the target server corresponding to the target server identification is used for providing the service corresponding to the service identification;
feeding back a service search response to the client; the service lookup response carries the destination server identification.
Further, before receiving the service lookup request sent by the client, the method further includes:
receiving a service updating instruction sent by a server;
analyzing the service updating instruction to obtain updating data in the service updating instruction; the update data is the changed service information in the service configuration library of the server;
storing the changed service information in the information repository.
Correspondingly, the embodiment of the application also provides a service information management method, which comprises the following steps:
sending a service searching request to a service management module; the service searching request carries a service identifier;
receiving a service searching response fed back by the service management module; the service searching response carries a target server identifier;
analyzing the service searching response to obtain a target server identifier in the service searching response;
and sending a service calling request to a target server corresponding to the target server identification.
Further, after sending the service invocation request to the target server corresponding to the target server identifier, the method further includes:
receiving service calling feedback information sent by a target server;
and determining a processing mode according to the service call feedback information.
Further, determining a processing mode according to the service call feedback information includes:
and if the service calling feedback information is a service calling confirmation response, determining that the processing mode is the service use mode.
Further, determining a processing mode according to the service call feedback information includes:
and if the service calling feedback information is that the service cannot be called, determining that the processing mode is service non-calling processing based on a preset mechanism.
Correspondingly, the embodiment of the present application further provides a service information management device, which includes:
the first receiving module is used for receiving a service searching request sent by a client;
the first analysis module is used for carrying out analysis operation on the service search request to obtain a service identifier in the service search request;
the determining module is used for determining the target server identifier from the information storage library according to the service identifier; the target server corresponding to the target server identification is used for providing the service corresponding to the service identification;
the feedback module is used for feeding back a service search response to the client; the service lookup response carries the destination server identification.
Correspondingly, the embodiment of the application also provides a service information management device, which comprises:
the first sending module is used for sending a service searching request to the service management module; the service searching request carries a service identifier;
the second receiving module is used for receiving the service searching response fed back by the service management module; the service searching response carries a target server identifier;
the second analysis module is used for carrying out analysis operation on the service search response to obtain a target server identifier in the service search response;
and the second sending module is used for sending the service calling request to the target server corresponding to the target server identifier.
Correspondingly, an embodiment of the present application further provides an electronic device, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the above service information management method.
Accordingly, an embodiment of the present application further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the service information management method.
The embodiment of the application has the following beneficial effects:
the embodiment of the application discloses a service information management method, a service information management device, electronic equipment and a storage medium, wherein the service information management method comprises the steps that a service management module receives a service search request sent by a client, analyzes the service search request to obtain a service identifier in the service search request, a target server identifier is determined from an information storage library according to the service identifier, a target server corresponding to the target server identifier is used for providing a service corresponding to the service identifier, a service search response is fed back to the client, and the service search response carries the target server identifier. Based on the embodiment of the application, the service management module is arranged in the vehicle-mounted Ethernet service-oriented communication, the updated service data of the server and the vehicle service information required to be called by the client are managed in a unified mode, the flexibility of Ethernet service-oriented communication can be improved, and the waste of bandwidth and node computing resources can be reduced.
Drawings
In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a prior art SOME/IP-SD model in an embodiment of the present application;
FIG. 2 is a prior art SOME/IP-SD model in an embodiment of the present application;
FIG. 3 is a schematic diagram of an application environment provided by an embodiment of the present application;
fig. 4 is a flowchart illustrating a service information management method according to an embodiment of the present application;
fig. 5 is a message content corresponding to a service lookup request provided in an embodiment of the present application;
fig. 6 is a message content corresponding to a service lookup response provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a service information management apparatus according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a service management method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a service information management apparatus according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings. It should be apparent that the described embodiment is only one embodiment of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
An "embodiment" as referred to herein relates to a particular feature, structure, or characteristic that may be included in at least one implementation of the present application. In the description of the embodiments of the present application, it should be understood that the terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. Moreover, the terms "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than described or illustrated herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not expressly listed or inherent to such process, method, apparatus, article, or device.
Referring to fig. 3, a schematic diagram of an application environment provided by the embodiment of the present application is shown, including a server 301, a service management module 303, and a client 305, where the server 301 includes a target server.
The client 305 sends a service search request to a service management module, the service search request carries a service identifier, the service management module 303 receives the service search request sent by the client 305, and performs an analysis operation on the service search request to obtain the service identifier in the service search request, the service management module 303 determines a target server identifier from an information repository according to the service identifier, the target server corresponding to the target server identifier is used for providing a service corresponding to the service identifier, the service management module 303 feeds back a service search response to the client 305, the service search response carries the target server identifier, the client 305 receives the service search response fed back by the service management module 303, the service search response carries the target server identifier, the client 305 performs an analysis operation on the service search response to obtain the target server identifier in the service search response, and sends a service call request to the target server corresponding to the target server identifier.
A specific embodiment of a service management method according to the present application is described below, and fig. 4 is a schematic flow chart of a service management method according to the embodiment of the present application, and the present specification provides the method operation steps as shown in the embodiment or the flow chart, but may include more or less operation steps based on conventional or non-creative labor. The order of steps recited in the embodiments is only one of many possible orders of execution and does not represent the only order of execution, and in actual execution, the steps may be performed sequentially or in parallel as in the embodiments or methods shown in the figures (e.g., in the context of parallel processors or multi-threaded processing). Specifically, as shown in fig. 4, the method includes:
s401: and receiving a service searching request sent by the client.
In the embodiment of the application, the server memorizes the current service configuration before dormancy, when the server is restarted, the server monitors whether the service configuration of the server is refreshed or changed in real time, if the monitoring result is yes, the server performs service configuration backup recording, namely, a service updating instruction is sent to the service management module, and the updating data in the service updating instruction is the changed service information in the service configuration library of the server. The service management module receives a service updating instruction sent by the server, analyzes the service updating instruction to obtain updating data in the service updating instruction, and stores the changed service information in the information repository. The service management module judges whether the changed service is a general service or not, and if the judgment result is 'yes', the service information is sent to the broadcast address.
In the embodiment of the application, the service management module receives a service searching request sent by a client.
In the embodiment of the application, a service management module memorizes the current service and a server identifier corresponding to the current service in an information repository before dormancy; the client deletes the non-generic service before dormancy. When the client is restarted, when a service calling requirement appears at the client, judging whether the service to be called is a universal service, wherein the universal service refers to a service which is universal on a platform and basically does not need to be changed, namely judging whether the IP address and the port number information of the server corresponding to the service to be called can be found, if the judgment result is yes, sending a service calling request to the server corresponding to the service to be called, and if the judgment result is no, sending a service searching request to the service management module. In an alternative embodiment, the content of the message corresponding to the service lookup request is as shown in fig. 5. The message content includes a terminal address corresponding to the service management module, a terminal address corresponding to the client, and a service identifier in the service search request.
S403: and analyzing the service searching request to obtain the service identifier in the service searching request.
In the embodiment of the application, the service management module receives the service searching request, and performs analysis operation on the service searching request to obtain the service identifier in the service searching request.
S405: determining a target server identifier from the information repository according to the service identifier; and the target server corresponding to the target server identification is used for providing the service corresponding to the service identification.
In the embodiment of the application, the service management module determines the target server identifier from the information repository according to the service identifier, and the target server corresponding to the target server identifier can provide the service corresponding to the service identifier in the service search request to the client.
S407: feeding back a service search response to the client; the service lookup response carries the destination server identification.
In the embodiment of the application, the service management module feeds back a service search response to the client, wherein the service search response carries the target server identifier. In an alternative embodiment, the message content corresponding to the service lookup response is as shown in fig. 6. The message content comprises a terminal address corresponding to the client, a terminal address corresponding to the service management module and a target server identifier in the service search response.
By adopting the service information management method provided by the embodiment of the application, the service information of the whole vehicle is managed by arranging the service management module, the vehicle-mounted Ethernet performs real-time dynamic update on all services in service communication in the service management module, and when the server detects that the self service is refreshed or changed, the refreshed or changed service is sent to the service management module for information repository update, so that the follow-up calling of the service in the server by the client is realized, the waste of network bandwidth can be reduced, and the unified management of the service can be facilitated.
Fig. 7 is a schematic structural diagram of a service information management apparatus provided in an embodiment of the present application, and as shown in fig. 7, the apparatus includes:
the first receiving module 701 is configured to receive a service lookup request sent by a client;
the first parsing module 703 is configured to perform parsing operation on the service lookup request to obtain a service identifier in the service lookup request;
the determining module 705 is configured to determine the target server identifier from the information repository according to the service identifier; the target server corresponding to the target server identification is used for providing the service corresponding to the service identification;
the feedback module 707 is configured to feed back a service search response to the client; the service lookup response carries the destination server identification.
The device in the embodiment of the application is based on the same application concept as the method embodiment.
In an embodiment of the present application, an electronic device may be disposed in a server to store at least one instruction, at least one program, a code set, or a set of instructions related to implementing a service management method in the method embodiment, where the at least one instruction, the at least one program, the code set, or the set of instructions is loaded from the memory and executed to implement the service management method.
The present application further provides a storage medium, which can be disposed in a server to store at least one instruction, at least one program, a code set, or a set of instructions related to implementing a service management method in the method embodiment, where the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the service management method.
Optionally, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, a storage medium including: a U-disk, a Read-only Memory (ROM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
A specific embodiment of a service management method according to the present application is described below, and fig. 8 is a flowchart of a service management method according to the embodiment of the present application, where the present specification provides the method operation steps as shown in the embodiment or the flowchart, but may include more or less operation steps based on conventional or non-creative labor. The order of steps recited in the embodiments is only one of many possible orders of execution and does not represent the only order of execution, and in actual execution, the steps may be performed sequentially or in parallel as in the embodiments or methods shown in the figures (e.g., in the context of parallel processors or multi-threaded processing). Specifically, as shown in fig. 8, the method includes:
s801: sending a service searching request to a service management module; the service lookup request carries a service identification.
In the embodiment of the application, if the client has a service calling requirement, whether the service to be called is a general service is judged, if the judgment result is yes, a service calling request is sent to the server corresponding to the service to be called, and if the judgment result is no, a service searching request is sent to the service management module.
In the embodiment of the present application, the client sends the service lookup request to the service management module, and in an optional implementation, the message content corresponding to the service lookup request is as shown in fig. 5. The message content includes a terminal address corresponding to the service management module, a terminal address corresponding to the client, and a service identifier in the service search request.
S803: receiving a service searching response fed back by the service management module; the service lookup response carries the target server identification.
In the embodiment of the application, the client receives a service search response fed back by the service management module, and the service search response carries the target server identifier.
S805: and analyzing the service searching response to obtain a target server identifier in the service searching response.
In the embodiment of the application, the client analyzes the received service searching response to obtain the target server identifier in the service searching response, and stores the target server identifier in the service searching response.
S807: and sending a service calling request to a target server corresponding to the target server identification.
In the embodiment of the application, the client sends a service calling request to a target server corresponding to the target server identifier according to the target server identifier obtained by the analysis operation, wherein the service calling request comprises the service identifier of the service to be called.
Specifically, the client receives and stores the service search response fed back by the service management module, and sends the service call request to the target server corresponding to the target server identifier carried in the service search response, that is, sends the service call request to the IP address corresponding to the target server.
In the embodiment of the application, a target server receives a service calling request sent by a client, judges whether a service corresponding to a service identifier in the service calling request is available or not based on a service configuration library, and feeds back a service calling confirmation response to the client if the service corresponding to the service identifier is available; and if the service corresponding to the service identifier is unavailable, feeding back that the service is unavailable to be called to the client.
In the embodiment of the application, the client receives the service calling feedback information sent by the target server, and determines the processing mode according to the service calling feedback information. When the service calling feedback information is a service calling confirmation response, the client determines that the processing mode is the service use; and when the service calling feedback information is that the service cannot be called, the client determines that the processing mode is service non-calling processing based on a preset mechanism.
In the embodiment of the application, when the server judges that the service corresponding to the service identifier in the service calling request is unavailable, the server continuously detects the service while sending the service calling feedback information to the client as the service is unavailable, and once the service is recovered as the service available, the server sends a service available instruction to the client.
By adopting the service information management method provided by the embodiment of the application, when a client needs to call a certain service and cannot acquire the server identifier of the service, a target server providing the service can be determined based on the information repository updated by the service management module, and a service call request can be sent to the target server in a targeted manner, so that the computing resources of a receiver server can be reduced.
Fig. 9 is a schematic structural diagram of a service information management apparatus provided in an embodiment of the present application, and as shown in fig. 9, the apparatus includes:
the first sending module 901 is configured to send a service lookup request to the service management module; the service searching request carries a service identifier;
the second receiving module 903 is configured to receive a service lookup response fed back by the service management module; the service searching response carries a target server identifier;
the second parsing module 905 is configured to perform parsing operation on the service lookup response to obtain a target server identifier in the service lookup response;
the second sending module 907 is configured to send a service invocation request to a target server corresponding to the target server identifier.
The device in the embodiment of the application is based on the same application concept as the method embodiment.
The present application further provides an electronic device, where the electronic device may be disposed in a server to store at least one instruction, at least one program, a code set, or a set of instructions related to implementing a service management method in the method embodiment, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded from the memory and executed to implement the service management method.
The present application further provides a storage medium, which may be disposed in a server to store at least one instruction, at least one program, a code set, or a set of instructions related to implementing a service management method in the method embodiment, where the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the service management method.
Optionally, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, a storage medium including: various media that can store program codes, such as a usb disk, a Read-only Memory (ROM), a removable hard disk, a magnetic disk, or an optical disk.
The method includes that a service management module receives a service search request sent by a client, the service search request is analyzed to obtain a service identifier in the service search request, a target server identifier is determined from an information storage library according to the service identifier, a target server corresponding to the target server identifier is used for providing a service corresponding to the service identifier, a service search response is fed back to the client, the service search response carries the target server identifier, the client sends the service search request to the service management module, the service search request carries the service identifier, the service search response fed back by the service management module is received, the service search response carries the target server identifier, the service search response is analyzed to obtain the target server identifier in the service search response, and a service call request is sent to the target server corresponding to the target server identifier. Based on the embodiment of the application, the service management module is arranged in the vehicle-mounted Ethernet service-oriented communication, so that the service data updated by the server and the service information of the whole vehicle, which needs to be called by the client, are managed in a unified manner, the flexibility of the Ethernet service-oriented communication can be improved, and the waste of bandwidth and node computing resources can be reduced.
It should be noted that: the sequence of the above-mentioned embodiments of the present application is only for description, and does not represent the advantages of the embodiments, and the specific embodiments are described in the specification, and other embodiments are also within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in the order of execution in different embodiments and achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown or connected to enable the desired results to be achieved, and in some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment is described with emphasis on differences from other embodiments. Especially, for the embodiment of the device, since it is based on the embodiment similar to the method, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A service information management method, comprising:
receiving a service searching request sent by a client; the service searching request is a request generated by the client judging that the service to be called is a non-universal service
Analyzing the service searching request to obtain a service identifier in the service searching request;
determining a target server identifier from an information repository according to the service identifier; the target server corresponding to the target server identification is used for providing the service corresponding to the service identification;
feeding back a service search response to the client; and the service searching response carries the target server identification.
2. The method of claim 1, wherein before receiving the service lookup request sent by the client, the method further comprises:
receiving a service updating instruction sent by a server;
analyzing the service updating instruction to obtain updating data in the service updating instruction; the update data is the changed service information in the service configuration library of the server;
storing the changed service information in the information repository.
3. A service information management method, comprising:
judging whether the service to be called is a universal service or not, and if not, sending a service searching request to a service management module; the service searching request carries a service identifier;
receiving a service searching response fed back by the service management module; the service searching response carries a target server identifier;
analyzing the service searching response to obtain a target server identifier in the service searching response;
and sending a service calling request to a target server corresponding to the target server identification.
4. The method of claim 3, wherein after sending the service invocation request to the target server corresponding to the target server identifier, further comprising:
receiving service calling feedback information sent by the target server;
and determining a processing mode according to the service call feedback information.
5. The method of claim 4, wherein determining a processing mode according to the service invocation feedback information comprises:
and if the service calling feedback information is a service calling confirmation response, determining that the processing mode is to use the service.
6. The method of claim 4, wherein determining a processing mode according to the service invocation feedback information comprises:
and if the service calling feedback information is that the service can not be called, determining that the processing mode is service non-calling processing based on a preset mechanism.
7. A service information management apparatus, characterized by comprising:
the first receiving module is used for receiving a service searching request sent by a client; the service searching request is a request generated by the client for judging that the service required to be called is a non-universal service;
the first analysis module is used for carrying out analysis operation on the service search request to obtain a service identifier in the service search request;
the determining module is used for determining a target server identifier from an information storage library according to the service identifier; the target server corresponding to the target server identification is used for providing the service corresponding to the service identification;
the feedback module is used for feeding back a service search response to the client; and the service searching response carries the target server identification.
8. A service information management apparatus, characterized by comprising:
the first sending module is used for judging whether the service to be called is a universal service or not, and if not, sending a service searching request to the service management module; the service searching request carries a service identifier;
the second receiving module is used for receiving the service searching response fed back by the service management module; the service searching response carries a target server identifier;
the second analysis module is used for carrying out analysis operation on the service search response to obtain a target server identifier in the service search response;
and the second sending module is used for sending a service calling request to the target server corresponding to the target server identifier.
9. An electronic device, comprising a processor and a memory, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and wherein the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the service information management method of any of claims 1-2 or 3-6.
10. A computer readable storage medium, having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the service information management method according to any one of claims 1-2 or 3-6.
CN202010376274.6A 2020-05-06 2020-05-06 Service information management method and device, electronic equipment and storage medium Active CN111756795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010376274.6A CN111756795B (en) 2020-05-06 2020-05-06 Service information management method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010376274.6A CN111756795B (en) 2020-05-06 2020-05-06 Service information management method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111756795A CN111756795A (en) 2020-10-09
CN111756795B true CN111756795B (en) 2023-04-07

Family

ID=72673308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010376274.6A Active CN111756795B (en) 2020-05-06 2020-05-06 Service information management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111756795B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014621B (en) * 2021-02-01 2022-07-01 武汉光庭信息技术股份有限公司 In-vehicle communication system and method based on HTTP (hyper text transport protocol)
CN112965765B (en) * 2021-02-02 2024-01-16 深圳市优必选科技股份有限公司 Service calling method, device, electronic equipment and storage medium
CN113630443A (en) * 2021-07-16 2021-11-09 深圳市元征未来汽车技术有限公司 Service management method, device, server and medium
CN114374714A (en) * 2021-12-28 2022-04-19 智新科技股份有限公司 Construction method, topological structure and storage medium of centralized automobile electronic and electrical architecture

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030873A (en) * 2007-02-15 2007-09-05 深圳市迅雷网络技术有限公司 Method and system for downloading data
CN101355591A (en) * 2008-09-12 2009-01-28 中兴通讯股份有限公司 P2P network and scheduling method thereof
US20110154376A1 (en) * 2009-12-17 2011-06-23 Microsoft Corporation Use of Web Services API to Identify Responsive Content Items
WO2014094315A1 (en) * 2012-12-22 2014-06-26 华为技术有限公司 Method, apparatus and device for processing service in system upgrade process
CN104717314B (en) * 2013-12-17 2018-12-11 腾讯科技(深圳)有限公司 A kind of IP management method and system, client, server
US9730156B1 (en) * 2014-11-07 2017-08-08 Cisco Technology, Inc. System and method for providing power saving mode enhancements in a network environment
CN104462299A (en) * 2014-11-27 2015-03-25 百度在线网络技术(北京)有限公司 Resource providing method, device and system
CN109246222A (en) * 2018-09-21 2019-01-18 郑州云海信息技术有限公司 service request processing method, device, system and computer readable storage medium
CN109286684B (en) * 2018-11-21 2021-06-15 广州市百果园信息技术有限公司 Communication connection processing method and device, proxy server and storage medium
CN110381163B (en) * 2019-07-30 2022-09-20 普信恒业科技发展(北京)有限公司 Method for forwarding service request by gateway node and gateway node
CN110460673B (en) * 2019-08-21 2022-07-19 中国工商银行股份有限公司 Service address acquisition method, device and equipment

Also Published As

Publication number Publication date
CN111756795A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN111756795B (en) Service information management method and device, electronic equipment and storage medium
RU2432610C2 (en) Managing extended collections of presence
US8849754B2 (en) Managing topical overlap during publication and subscription
CA2582709C (en) Apparatus, and associated method, for facilitating background processing of push content
US7343395B2 (en) Facilitating resource access using prioritized multicast responses to a discovery request
CN110336848B (en) Scheduling method, scheduling system and scheduling equipment for access request
US20070165615A1 (en) Apparatus and method for notifying communication network event in application server capable of supporting open API based on Web services
CN101616132A (en) A kind of data capture method and device thereof and system
CN110753129A (en) Message transmission method, system, device, equipment and computer readable storage medium
CN111679916B (en) Video recommendation method, target service providing terminal, service calling terminal and system
CN111984849A (en) Information query method, device, equipment and medium
EP3910505B1 (en) Data processing method and device
CN110602171B (en) Interaction method and device
CN114938395A (en) Service response method, device, equipment and storage medium
CN108460042B (en) Page display method, related equipment and system
CN110839061B (en) Data distribution method, device and storage medium
JP2000076160A (en) Communication monitoring device
CN110166487B (en) Local area network equipment information transmission method, main equipment, storage medium and intelligent equipment
US20070038746A1 (en) Event management methods and systems
CN114025005B (en) Data communication method, system, electronic equipment and storage medium
CN115587860A (en) Service processing method, device, storage medium and electronic equipment
CN115344644A (en) Data synchronization method and device, electronic equipment and computer readable storage medium
CN114205354A (en) Event management system, event management method, server, and storage medium
US20100005164A1 (en) Methods and apparatus for providing a control channel in a data network
CN113687962A (en) Request processing method, device, equipment and storage medium

Legal Events

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