[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112165695A - Internet of vehicles service management method, platform, equipment and storage medium - Google Patents

Internet of vehicles service management method, platform, equipment and storage medium Download PDF

Info

Publication number
CN112165695A
CN112165695A CN202010938351.2A CN202010938351A CN112165695A CN 112165695 A CN112165695 A CN 112165695A CN 202010938351 A CN202010938351 A CN 202010938351A CN 112165695 A CN112165695 A CN 112165695A
Authority
CN
China
Prior art keywords
service
internet
vehicles
newly added
registration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010938351.2A
Other languages
Chinese (zh)
Other versions
CN112165695B (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.)
Anhui Jianghuai Automobile Group Corp
Original Assignee
Anhui Jianghuai Automobile Group Corp
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 Anhui Jianghuai Automobile Group Corp filed Critical Anhui Jianghuai Automobile Group Corp
Priority to CN202010938351.2A priority Critical patent/CN112165695B/en
Publication of CN112165695A publication Critical patent/CN112165695A/en
Application granted granted Critical
Publication of CN112165695B publication Critical patent/CN112165695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a vehicle networking service management method, a platform, equipment and a storage medium, and belongs to the technical field of information communication. The invention receives the service expansion request of the Internet of vehicles; acquiring a newly added Internet of vehicles service according to the Internet of vehicles service expansion request; carrying out service registration on the newly added Internet of vehicles in a service registration center; when the newly added Internet of vehicles service is registered successfully, starting the newly added Internet of vehicles service registered successfully in the service registration center and the registered historical Internet of vehicles service; the method has the advantages that the newly added car networking service and the historical car networking service which are started are managed, when the newly added car networking service is needed, the newly added car networking service is directly registered in the service registration center, the newly added car networking service which is successfully registered and the historical car networking service can be directly started and managed, the process of inputting a specific code through a background server is omitted, the car networking service management process is simplified, the management of the car networking service is more flexible, and the efficiency is higher.

Description

Internet of vehicles service management method, platform, equipment and storage medium
Technical Field
The invention relates to the technical field of information communication, in particular to a vehicle networking service management method, a vehicle networking service management platform, vehicle networking service management equipment and a storage medium.
Background
With the gradual improvement of multimedia entertainment requirements of users and the development of automobile electronic software and hardware technologies, the vehicle-mounted information entertainment system has developed rapidly. In order to manage the application ecosystem, each large and whole vehicle factory successively builds an own internet service management platform. However, as more and more new functions are accessed, it is important to establish a networking service management platform that can continuously expand the functions and facilitate monitoring and managing the online functions.
When a new function is added to an existing car networking service platform, all related function codes need to be modified, when car networking services are monitored and managed, instructions can only be input through a background server for operation, and therefore management of the car networking services is not flexible enough, and operation is complex.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a vehicle networking service management method, a vehicle networking service management platform, vehicle networking service management equipment and a storage medium, and aims to solve the technical problem that the management flexibility of vehicle networking services in the prior art is poor.
In order to achieve the purpose, the invention provides a vehicle networking service management method, which comprises the following steps:
receiving an Internet of vehicles service expansion request;
acquiring a newly added Internet of vehicles service according to the Internet of vehicles service expansion request;
performing service registration on the newly added Internet of vehicles service in a service registration center;
when the newly added Internet of vehicles service is successfully registered, starting the newly added Internet of vehicles service successfully registered in the service registration center and the registered historical Internet of vehicles service;
and managing the started newly added Internet of vehicles service and the started historical Internet of vehicles service.
Optionally, before registering the new car networking service in the service registration center, the method further includes:
setting a service registration center according to preset configuration, wherein the preset configuration comprises a port number, a client identifier and a registration address;
and starting the service registration center which finishes the setting of the port number, the client identifier and the registration address.
Optionally, the registering the newly added internet of vehicles service in a service registration center includes:
acquiring a configuration file corresponding to the newly-added Internet of vehicles service from a configuration center;
extracting a service port number corresponding to the newly added Internet of vehicles service from the configuration file;
acquiring a service registry corresponding to the service registry;
and establishing a service node corresponding to the newly added Internet of vehicles in the service registry according to the service port number corresponding to the newly added Internet of vehicles service so as to complete service registration.
Optionally, before the establishing a service node corresponding to the newly added car networking service in the service registry according to the service port number corresponding to the newly added car networking service to complete service registration, the method further includes:
receiving a service offline instruction;
determining a service port number corresponding to the service to be offline according to the service offline instruction;
removing the service node corresponding to the service to be offline from the service registry according to the service port number corresponding to the service to be offline to obtain a removed service registry;
the establishing of the service node corresponding to the newly added Internet of vehicles in the service registry according to the service port number corresponding to the newly added Internet of vehicles service to complete service registration comprises the following steps:
and establishing a service node corresponding to the newly added Internet of vehicles in the removed service registry according to the service port number corresponding to the newly added Internet of vehicles service so as to complete service registration.
Optionally, before the establishing a service node corresponding to the newly added internet of vehicles in the service registry according to the service port number corresponding to the newly added internet of vehicles service to complete service registration, the method further includes:
carrying out heartbeat detection on each Internet of vehicles service;
if the Internet of vehicles service which does not receive the heartbeat response in the preset period exists, acquiring a service port number corresponding to the Internet of vehicles service which does not receive the heartbeat response;
removing the service node corresponding to the Internet of vehicles service which does not receive the heartbeat response from the service registry according to the service port number corresponding to the Internet of vehicles service which does not receive the heartbeat response to obtain a removed service registry;
the establishing of the service node corresponding to the newly added Internet of vehicles in the service registry according to the service port number corresponding to the newly added Internet of vehicles service to complete service registration comprises the following steps:
and establishing a service node corresponding to the newly added Internet of vehicles in the removed service registry according to the service port number corresponding to the newly added Internet of vehicles service so as to complete service registration.
Optionally, the managing the newly added internet of vehicles service and the historical internet of vehicles service that have been started includes:
acquiring the started service states of the newly added Internet of vehicles service and the historical Internet of vehicles service from a service monitoring interface according to a preset refreshing period;
and adjusting the service states of the started newly-added Internet of vehicles service and the started historical Internet of vehicles service to be in an opening state or a closing state through a control key in the service monitoring interface.
Optionally, after the service states of the newly added car networking service and the historical car networking service that have been started are adjusted to an on state or an off state by a control key in the service monitoring interface, the method further includes:
if the service states of the started newly-added Internet of vehicles service and the started historical Internet of vehicles service cannot be adjusted through a control key in the service monitoring interface, acquiring a server address corresponding to the Internet of vehicles service with the service state adjustment failure through the service monitoring interface;
searching a service log corresponding to the Internet of vehicles service with the service state adjustment failure according to the server address;
and carrying out fault detection on the Internet of vehicles service with the service state adjustment failure according to the service log.
In addition, in order to achieve the above object, the present invention further provides a car networking service management platform, including:
the receiving module is used for receiving the Internet of vehicles service expansion request;
the acquisition module is used for acquiring the newly added Internet of vehicles service according to the Internet of vehicles service expansion request;
the registration module is used for registering the newly added Internet of vehicles in a service registration center;
the starting module is used for starting the newly added Internet of vehicles service which is registered successfully in the service registration center and the registered historical Internet of vehicles service when the newly added Internet of vehicles service is registered successfully;
and the management module is used for managing the started newly-added Internet of vehicles service and the started historical Internet of vehicles service.
In addition, in order to achieve the above object, the present invention further provides a car networking service management device, including: a memory, a processor, and a car networking service management program stored on the memory and executable on the processor, the car networking service management program configured to implement the steps of the car networking service management method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium having a car networking service management program stored thereon, where the car networking service management program, when executed by a processor, implements the steps of the car networking service management method as described above.
The invention receives the service expansion request of the Internet of vehicles; acquiring a newly added Internet of vehicles service according to the Internet of vehicles service expansion request; performing service registration on the newly added Internet of vehicles service in a service registration center; when the newly added Internet of vehicles service is successfully registered, starting the newly added Internet of vehicles service successfully registered in the service registration center and the registered historical Internet of vehicles service; the newly added car networking service and the historical car networking service which are started are managed, when the newly added car networking service is needed, the newly added car networking service is directly registered in the service registration center, the newly added car networking service which is successfully registered and the historical car networking service can be directly started and managed, the process of inputting a specific code through a background server is omitted, the car networking service management process is simplified, the management of the car networking service is more flexible, and the efficiency is higher.
Drawings
FIG. 1 is a schematic structural diagram of a vehicle networking service management device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a first embodiment of a vehicle networking service management method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for managing Internet of vehicles according to the present invention;
FIG. 4 is a flowchart illustrating a third exemplary embodiment of a method for managing Internet of vehicles according to the present invention;
fig. 5 is a block diagram of a first embodiment of the car networking service management platform of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a car networking service management device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the internet of vehicles service management apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the vehicle networking service management device, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a car networking service management program.
In the internet of vehicles service management apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the car networking service management device of the present invention may be disposed in the car networking service management device, and the car networking service management device calls the car networking service management program stored in the memory 1005 through the processor 1001 and executes the car networking service management method provided by the embodiment of the present invention.
An embodiment of the present invention provides a method for managing a service in a vehicle networking system, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the method for managing the service in the vehicle networking system.
In this embodiment, the car networking service management method includes the following steps:
step S10: and receiving an expansion request of the Internet of vehicles service.
It should be noted that the execution subject of this embodiment may be a car networking service management platform, and the car networking service platform may be used to manage car networking services, and the management of the car networking services includes, but is not limited to, addition, deletion, activation, and shutdown of the car networking services. The internet of vehicles service is an internet application service based on the vehicle internet, and can provide various services for users through the internet, for example, a weather service in the internet of vehicles service can provide real-time weather information for the users, and a maintenance service can provide maintenance cost, maintenance points and maintenance cautions for the users.
In this embodiment, the car networking service management platform includes a service provider, a service consumer, and a service registry, where the service provider may add a new car networking service to the car networking service management platform, and the service consumer is a user of the car networking service, may obtain a list of car networking services in the car networking service management platform, and may invoke a corresponding car networking service by sending an invocation instruction to the car networking service management platform. Before the vehicle network service is on line to the vehicle networking service management platform, the service registration of the vehicle networking service to be on line needs to be carried out through the service registration center, the vehicle network to be on line can be on line to the vehicle networking service management platform after the service registration is completed, in the embodiment, the service registration comprises self-registration and third-party registration, the self-registration is that when the vehicle networking service is started, the service information of the vehicle networking service is automatically uploaded to a service registration table of the service registration center, and the third-party registration is that the service information is uploaded to the service registration table of the service registration center through a third-party program. In addition, the service registration center can also continue the online Internet of vehicles, and can also take off the online Internet of vehicles from the Internet of vehicles service management platform.
In specific implementation, when a new online car networking service is needed, a car networking service developer or a car networking service operator sends a car networking service extension request, the car networking service management platform is used for receiving the car networking service extension request sent by the car networking service developer or the car networking service operator, and in this embodiment, the car networking service extension request can be received through the internet and other modes.
Step S20: and acquiring the newly added Internet of vehicles service according to the Internet of vehicles service expansion request.
In specific implementation, after receiving the vehicle service expansion request, a newly added vehicle networking service may be obtained according to the vehicle networking service expansion request, in this embodiment, a vehicle networking service identifier may be extracted from the vehicle networking service expansion request, and a corresponding newly added vehicle networking service is obtained according to the extracted vehicle networking service identifier, where the newly added vehicle networking service is a vehicle networking service to be brought online to a vehicle networking service management platform, and the newly added vehicle networking service is obtained by obtaining a service name, a service port, an Internet Protocol (IP) address, and the like of the newly added vehicle networking service, for example, the newly added vehicle networking service is a wechat service, and a service name wechat, a service port number 80, and the like may be obtained according to the vehicle networking service expansion request.
Step S30: and performing service registration on the newly added Internet of vehicles service in a service registration center.
In specific implementation, the service registration center performs service registration on the acquired newly-added internet-of-vehicle service, and the service registration records service information such as a service name, a port number, an IP address and the like of the newly-added internet-of-vehicle service.
It is easy to understand that before performing service registration, the service registration center needs to be set and started to ensure that the newly added internet of vehicles can be successfully registered accurately, specifically, in this embodiment, before the step S30, the method further includes: setting a service registration center according to preset configuration, wherein the preset configuration comprises a port number, a client identifier and a registration address; and starting the service registration center which finishes the setting of the port number, the client identifier and the registration address.
It should be noted that the preset configuration includes a port number, a client identifier, and a registration address, and in this implementation, the following configuration may be used to set the service registration center, for example:
Figure BDA0002672387620000071
wherein 8761 is a port number, register-with-eureka: false and fetch-registry: false are client identifiers, http:// localhost: $ { server. After the service center is set, the service registration center which finishes the registration needs to be started, and the newly added internet of vehicles service can be registered after the service registration center is started.
Step S40: and when the newly added Internet of vehicles service is successfully registered, starting the newly added Internet of vehicles service successfully registered in the service registration center and the registered historical Internet of vehicles service.
It is easy to understand that when the newly added internet of vehicles service is successfully registered, the newly added internet of vehicles service is online, the internet of vehicles service management platform includes the online internet of vehicles service, namely the registered historical internet of vehicles service, in addition to the newly added internet of vehicles service which is successfully registered, and further, the newly added internet of vehicles service which is successfully registered and the registered historical internet of vehicles service are started so as to call the newly added internet of vehicles service and the historical internet of vehicles service.
Step S50: and managing the started newly added Internet of vehicles service and the started historical Internet of vehicles service.
It should be noted that, in this embodiment, the newly added car networking service and the historical car networking service that have been started may also be managed, for example, based on the newly added car networking service and the historical car networking service, another car networking service is continuously added, or some car networking services are deleted therefrom, and the started car networking service is turned off.
The embodiment receives an Internet of vehicles service expansion request; acquiring a newly added Internet of vehicles service according to the Internet of vehicles service expansion request; performing service registration on the newly added Internet of vehicles service in a service registration center; when the newly added Internet of vehicles service is successfully registered, starting the newly added Internet of vehicles service successfully registered in the service registration center and the registered historical Internet of vehicles service; the newly added car networking service and the historical car networking service which are started are managed, when the newly added car networking service is needed, the newly added car networking service is directly registered in the service registration center, the newly added car networking service which is successfully registered and the historical car networking service can be directly started and managed, the process of inputting a specific code through a background server is omitted, the car networking service management process is simplified, the management of the car networking service is more flexible, and the efficiency is higher.
Referring to fig. 3, fig. 3 is a schematic flowchart of a service management method for internet of vehicles according to a second embodiment of the present invention.
Based on the first embodiment described above, in the present embodiment, the step S30 includes:
step S301: and acquiring a configuration file corresponding to the newly-added Internet of vehicles service from a configuration center.
It should be noted that, the service registration needs to add a configuration file corresponding to the car networking service, the configuration file may be obtained from a configuration center, and the configuration center includes a large number of configuration files of the car networking service1Then, the configuration file corresponding to the vehicle networking service a can be obtained as the file1
Step S302: and extracting a service port number corresponding to the newly added Internet of vehicles service from the configuration file.
In specific implementation, each car networking service has its own service port number, so as to avoid that the car networking services cannot be registered due to service port number conflict during registration, the service port number of the newly added car networking service needs to be acquired, and the configuration file contains the service port number of the newly added car networking service, and after the configuration file is obtained, the service port number is extracted from the configuration file.
Step S303: and acquiring a service registry corresponding to the service registry.
It should be noted that the service registry stores a service registry, the online of the car networking service is realized by means of an application program interface, the service registry is a database containing car networking service instances, and has the functions of application program interface management and query, and the car networking service instances can realize the specific functions of the car networking service according to the call instruction.
Step S304: and establishing a service node corresponding to the newly added Internet of vehicles in the service registry according to the service port number corresponding to the newly added Internet of vehicles service so as to complete service registration.
It should be noted that there are multiple service nodes in the service registry, and the node information of each service node records a service port number of a corresponding car networking service, and when a new car networking service is needed, a new service node needs to be created, and the service port number of the new car networking service is recorded in the node information of the service node, so as to complete service registration.
It should be noted that the service registry has real-time performance, and it is necessary to ensure that the data stored in the service registry is up-to-date, so that the service registry needs to be updated before service registration, specifically, before step S304 in this embodiment, the method further includes: receiving a service offline instruction; determining a service port number corresponding to the service to be offline according to the service offline instruction; and removing the service node corresponding to the service to be offline from the service registry according to the service port number corresponding to the service to be offline to obtain the removed service registry.
It is easy to understand that when the car networking service is offline, the service node established in the service registry needs to be removed, the offline of the car networking service can be actively sent by a service developer or a service operator to a service offline instruction, and after the service offline instruction is received, the corresponding service node is searched from the service registry based on the service port number of the car networking service needing offline, and the service node is removed from the service registry, so that the service registry is updated.
In this embodiment, in addition to receiving the service offline command, the car networking service may be automatically detected. In practical situations, many of the car networking services have faults and cannot provide corresponding functions, or a later-period unattended update is in an unattended state, and the like, and although a service offline instruction of such a car networking service is not received, in order to avoid occupying resources, such a car networking service is required to be offline, specifically, the step S304 further includes: carrying out heartbeat detection on each Internet of vehicles service; if the Internet of vehicles service which does not receive the heartbeat response in the preset period exists, acquiring a service port number corresponding to the Internet of vehicles service which does not receive the heartbeat response; and removing the service node corresponding to the Internet of vehicles service which does not receive the heartbeat response from the service registry according to the service port number corresponding to the Internet of vehicles service which does not receive the heartbeat response to obtain the removed service registry.
It should be noted that the car networking service has corresponding heartbeat time in the operation process, the preset period is the heartbeat time of the car networking service in normal operation, and the preset period may be 30s, which is not limited in this embodiment. If the Internet of vehicles service receives the heartbeat response in the preset period, the Internet of vehicles service is in a normal running state; if the service registration table does not receive the heartbeat response within the preset period, the service registration table is updated, if the service registration table does not receive the heartbeat response, the service registration table is in an abnormal operation state, the service registration table is used for acquiring the service port number of the service registration table, and the service node corresponding to the service port number is removed from the service registration table.
It is easy to understand that after the service node corresponding to the car networking service that needs to be offline is removed from the service registry, the service node of the newly added car networking service needs to be created in the removed service registry, and the removed service registry is an updated latest service registry.
In the embodiment, the configuration file corresponding to the newly-added Internet of vehicles service is acquired from the configuration center; extracting a service port number corresponding to the newly added Internet of vehicles service from the configuration file; acquiring a service registry corresponding to the service registry; and establishing a service node corresponding to the newly added Internet of vehicles in the service registry according to the service port number corresponding to the newly added Internet of vehicles service so as to complete service registration, and registering the newly added Internet of vehicles service through the service registry of the service registry, so that the flow of the newly added Internet of vehicles service is simplified, and the management of the Internet of vehicles is more flexible.
Referring to fig. 4, fig. 4 is a schematic flowchart of a service management method for internet of vehicles according to a third embodiment of the present invention.
A third embodiment of the service management method for internet of vehicles according to the present invention is provided based on the first embodiment or the second embodiment.
Taking the first embodiment as an example for explanation, in this embodiment, the step S50 includes:
step S501: and acquiring the started service states of the newly added Internet of vehicles service and the historical Internet of vehicles service from a service monitoring interface according to a preset refreshing period.
In specific implementation, the car networking service registered to be online may be managed through the service monitoring interface, and the service state of the started historical car networking service of the newly added car networking service may be obtained from the service monitoring interface, in this embodiment, the service state of the car networking service is obtained according to a preset refresh cycle, the preset refresh cycle is update time of the service state of each car networking service in the service monitoring interface, for example, the preset refresh cycle is 30s, the service state of the car networking service B is updated every 30s, the specific duration of the preset refresh cycle may be set according to an actual situation, and the present embodiment is not limited. In addition, in this embodiment, the service monitoring interface may also be created according to the following configuration, for example:
serviceTypeMap=new HashMap<>();
put ("BASE-SERVICE", "BASE SERVICE");
put ("GATEWAY-SERVICE");
put ("MAINTAIN-SERVICE", "maintenance SERVICE");
put ("REDIS-SERVICE", "cache SERVICE");
put ("WEATHER-SERVICE");
put ("WEB-SERVICE", "website");
put ("JOB-SERVICE", "timed task");
it should be noted that the above configuration may be changed according to actual situations, and is not limited in this embodiment.
Step S502: and adjusting the service states of the started newly-added Internet of vehicles service and the started historical Internet of vehicles service to be in an opening state or a closing state through a control key in the service monitoring interface.
It should be noted that a control button is further provided in the service monitoring interface, and the control button may be used to close the started car networking service, and may also be used to restart the closed car networking service. In an actual situation, there is a case that the start and the shutdown of the car networking service cannot be controlled by the control key, and the step S502 in this embodiment further includes: if the service states of the started newly-added Internet of vehicles service and the started historical Internet of vehicles service cannot be adjusted through a control key in the service monitoring interface, acquiring a server address corresponding to the Internet of vehicles service with the service state adjustment failure through the service monitoring interface; searching a service log corresponding to the Internet of vehicles service with the service state adjustment failure according to the server address; and carrying out fault detection on the Internet of vehicles service with the service state adjustment failure according to the service log.
It should be noted that the car networking service has a corresponding server address, when the service state adjustment of the car networking service fails, a service log corresponding to the car networking service whose service state adjustment failed may be found according to the server address, where the service log is used to record an operation record of the car networking service, and a failure cause of the car networking service whose service state adjustment failed may be found through the service log, so that the car networking service may be repaired, and the car networking service may be repaired by re-registration, which is not limited in this embodiment.
The method comprises the steps that the started service states of the newly added Internet of vehicles service and the historical Internet of vehicles service are obtained from a service monitoring interface according to a preset refreshing period; the service states of the started newly-added Internet of vehicles service and the started historical Internet of vehicles service are adjusted to be in an opening state or a closing state through a control key in the service monitoring interface, the service states of the Internet of vehicles service are directly adjusted through the service monitoring interface, an instruction does not need to be input from a background server for operation, and flexibility of Internet of vehicles service management is improved.
In addition, an embodiment of the present invention further provides a storage medium, where a car networking service management program is stored on the storage medium, and the car networking service management program, when executed by a processor, implements the steps of the car networking service management method described above.
Referring to fig. 5, fig. 5 is a block diagram of a first embodiment of the car networking service management platform of the present invention.
As shown in fig. 5, the car networking service management platform provided by the embodiment of the present invention includes:
the receiving module 10 is used for receiving the car networking service expansion request.
It should be noted that, in this embodiment, the car networking service platform may be used to manage car networking services, and the management of the car networking services includes, but is not limited to, addition, deletion, activation, and deactivation of the car networking services. The internet of vehicles service is an internet application service based on the vehicle internet, and can provide various services for users through the internet, for example, a weather service in the internet of vehicles service can provide real-time weather information for the users, and a maintenance service can provide maintenance cost, maintenance points and maintenance cautions for the users.
In this embodiment, the car networking service management platform includes a service provider, a service consumer, and a service registry, where the service provider may add a new car networking service to the car networking service management platform, and the service consumer is a user of the car networking service, may obtain a list of car networking services in the car networking service management platform, and may invoke a corresponding car networking service by sending an invocation instruction to the car networking service management platform. Before the vehicle network service is on line to the vehicle networking service management platform, the service registration of the vehicle networking service to be on line needs to be carried out through the service registration center, the vehicle network to be on line can be on line to the vehicle networking service management platform after the service registration is completed, in the embodiment, the service registration comprises self-registration and third-party registration, the self-registration is that when the vehicle networking service is started, the service information of the vehicle networking service is automatically uploaded to a service registration table of the service registration center, and the third-party registration is that the service information is uploaded to the service registration table of the service registration center through a third-party program. In addition, the service registration center can also continue the online Internet of vehicles, and can also take off the online Internet of vehicles from the Internet of vehicles service management platform.
In specific implementation, when a new online car networking service is needed, a car networking service developer or a car networking service operator sends a car networking service extension request, the car networking service management platform is used for receiving the car networking service extension request sent by the car networking service developer or the car networking service operator, and in this embodiment, the car networking service extension request can be received through the internet and other modes.
And an obtaining module 20, configured to obtain a newly added car networking service according to the car networking service expansion request.
In specific implementation, after receiving the vehicle service expansion request, a newly added vehicle networking service may be obtained according to the vehicle networking service expansion request, in this embodiment, a vehicle networking service identifier may be extracted from the vehicle networking service expansion request, and a corresponding newly added vehicle networking service is obtained according to the extracted vehicle networking service identifier, where the newly added vehicle networking service is a vehicle networking service to be brought online to a vehicle networking service management platform, and the newly added vehicle networking service is obtained by obtaining a service name, a service port, an Internet Protocol (IP) address, and the like of the newly added vehicle networking service, for example, the newly added vehicle networking service is a wechat service, and a service name wechat, a service port number 80, and the like may be obtained according to the vehicle networking service expansion request.
And the registration module 30 is configured to perform service registration on the newly added internet of vehicles in a service registration center.
In specific implementation, the service registration center performs service registration on the acquired newly-added internet-of-vehicle service, and the service registration records service information such as a service name, a port number, an IP address and the like of the newly-added internet-of-vehicle service.
It is easy to understand that before the service registration, the service registration center needs to be set and started to ensure that the newly added internet of vehicles can be successfully registered accurately. Specifically, in this embodiment, the car networking service management platform further includes a setting module, where the setting module is configured to set a service registration center according to a preset configuration, where the preset configuration includes a port number, a client identifier, and a registration address; and starting the service registration center which finishes the setting of the port number, the client identifier and the registration address.
It should be noted that the preset configuration includes a port number, a client identifier, and a registration address, and in this implementation, the following configuration may be used to set the service registration center, for example:
Figure BDA0002672387620000141
wherein 8761 is a port number, register-with-eureka: false and fetch-registry: false are client identifiers, http:// localhost: $ { server. After the service center is set, the service registration center which finishes the registration needs to be started, and the newly added internet of vehicles service can be registered after the service registration center is started.
And the starting module 40 is configured to start the newly added internet of vehicles service successfully registered in the service registration center and the registered historical internet of vehicles service when the newly added internet of vehicles service is successfully registered.
It is easy to understand that when the newly added internet of vehicles service is successfully registered, the newly added internet of vehicles service is online, the internet of vehicles service management platform includes the online internet of vehicles service, namely the registered historical internet of vehicles service, in addition to the newly added internet of vehicles service which is successfully registered, and further, the newly added internet of vehicles service which is successfully registered and the registered historical internet of vehicles service are started so as to call the newly added internet of vehicles service and the historical internet of vehicles service.
And the management module 50 is configured to manage the started new internet of vehicles service and the started historical internet of vehicles service.
It should be noted that, in this embodiment, the newly added car networking service and the historical car networking service that have been started may also be managed, for example, based on the newly added car networking service and the historical car networking service, another car networking service is continuously added, or some car networking services are deleted therefrom, and the started car networking service is turned off.
The embodiment receives an Internet of vehicles service expansion request; acquiring a newly added Internet of vehicles service according to the Internet of vehicles service expansion request; performing service registration on the newly added Internet of vehicles service in a service registration center; when the newly added Internet of vehicles service is successfully registered, starting the newly added Internet of vehicles service successfully registered in the service registration center and the registered historical Internet of vehicles service; the newly added car networking service and the historical car networking service which are started are managed, when the newly added car networking service is needed, the newly added car networking service is directly registered in the service registration center, the newly added car networking service which is successfully registered and the historical car networking service can be directly started and managed, the process of inputting a specific code through a background server is omitted, the car networking service management process is simplified, the management of the car networking service is more flexible, and the efficiency is higher.
In one embodiment, the car networking service management platform further comprises a setting module;
the setting module is used for setting the service registration center according to preset configuration, wherein the preset configuration comprises a port number, a client identifier and a registration address; and starting the service registration center which finishes the setting of the port number, the client identifier and the registration address.
In an embodiment, the registration module 30 is further configured to obtain a configuration file corresponding to the newly added internet of vehicles service from a configuration center; extracting a service port number corresponding to the newly added Internet of vehicles service from the configuration file; acquiring a service registry corresponding to the service registry; and establishing a service node corresponding to the newly added Internet of vehicles in the service registry according to the service port number corresponding to the newly added Internet of vehicles service so as to complete service registration.
In one embodiment, the internet of vehicles service management platform further comprises an update module;
the updating module is used for receiving a service offline instruction; determining a service port number corresponding to the service to be offline according to the service offline instruction; removing the service node corresponding to the service to be offline from the service registry according to the service port number corresponding to the service to be offline to obtain a removed service registry; the registration module 30 is further configured to establish a service node corresponding to the newly added internet of vehicles in the removed service registration table according to the service port number corresponding to the newly added internet of vehicles service, so as to complete service registration.
In an embodiment, the update module is further configured to perform heartbeat detection on each car networking service; if the Internet of vehicles service which does not receive the heartbeat response in the preset period exists, acquiring a service port number corresponding to the Internet of vehicles service which does not receive the heartbeat response; removing the service node corresponding to the Internet of vehicles service which does not receive the heartbeat response from the service registry according to the service port number corresponding to the Internet of vehicles service which does not receive the heartbeat response to obtain a removed service registry; the registration module 30 is further configured to establish a service node corresponding to the newly added internet of vehicles in the removed service registration table according to the service port number corresponding to the newly added internet of vehicles service, so as to complete service registration.
In an embodiment, the management module 50 is further configured to obtain, according to a preset refresh cycle, service states of the started new internet-of-vehicles service and the started historical internet-of-vehicles service from a service monitoring interface; and adjusting the service states of the started newly-added Internet of vehicles service and the started historical Internet of vehicles service to be in an opening state or a closing state through a control key in the service monitoring interface.
In one embodiment, the internet of vehicles service management platform further comprises a detection module;
the detection module is further configured to, if the service states of the started newly-added internet-of-vehicles service and the started historical internet-of-vehicles service cannot be adjusted through a control key in the service monitoring interface, obtain, through the service monitoring interface, a server address corresponding to an internet-of-vehicles service for which service state adjustment fails; searching a service log corresponding to the Internet of vehicles service with the service state adjustment failure according to the server address; and carrying out fault detection on the Internet of vehicles service with the service state adjustment failure according to the service log.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the car networking service management method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A vehicle networking service management method is characterized by comprising the following steps:
receiving an Internet of vehicles service expansion request;
acquiring a newly added Internet of vehicles service according to the Internet of vehicles service expansion request;
performing service registration on the newly added Internet of vehicles service in a service registration center;
when the newly added Internet of vehicles service is successfully registered, starting the newly added Internet of vehicles service successfully registered in the service registration center and the registered historical Internet of vehicles service;
and managing the started newly added Internet of vehicles service and the started historical Internet of vehicles service.
2. The internet of vehicles service management method of claim 1, wherein before registering the new internet of vehicles service in a service registry, further comprising:
setting a service registration center according to preset configuration, wherein the preset configuration comprises a port number, a client identifier and a registration address;
and starting the service registration center which finishes the setting of the port number, the client identifier and the registration address.
3. The internet of vehicles service management method of claim 1, wherein said registering the new added internet of vehicles service in a service registry comprises:
acquiring a configuration file corresponding to the newly-added Internet of vehicles service from a configuration center;
extracting a service port number corresponding to the newly added Internet of vehicles service from the configuration file;
acquiring a service registry corresponding to the service registry;
and establishing a service node corresponding to the newly added Internet of vehicles in the service registry according to the service port number corresponding to the newly added Internet of vehicles service so as to complete service registration.
4. The internet of vehicles service management method of claim 3, wherein before establishing the service node corresponding to the new internet of vehicles in the service registry according to the service port number corresponding to the new internet of vehicles service to complete service registration, the method further comprises:
receiving a service offline instruction;
determining a service port number corresponding to the service to be offline according to the service offline instruction;
removing the service node corresponding to the service to be offline from the service registry according to the service port number corresponding to the service to be offline to obtain a removed service registry;
the establishing of the service node corresponding to the newly added Internet of vehicles in the service registry according to the service port number corresponding to the newly added Internet of vehicles service to complete service registration comprises the following steps:
and establishing a service node corresponding to the newly added Internet of vehicles in the removed service registry according to the service port number corresponding to the newly added Internet of vehicles service so as to complete service registration.
5. The internet of vehicles service management method of claim 3, wherein before establishing the service node corresponding to the new internet of vehicles in the service registry according to the service port number corresponding to the new internet of vehicles service to complete service registration, the method further comprises:
carrying out heartbeat detection on each Internet of vehicles service;
if the Internet of vehicles service which does not receive the heartbeat response in the preset period exists, acquiring a service port number corresponding to the Internet of vehicles service which does not receive the heartbeat response;
removing the service node corresponding to the Internet of vehicles service which does not receive the heartbeat response from the service registry according to the service port number corresponding to the Internet of vehicles service which does not receive the heartbeat response to obtain a removed service registry;
the establishing of the service node corresponding to the newly added Internet of vehicles in the service registry according to the service port number corresponding to the newly added Internet of vehicles service to complete service registration comprises the following steps:
and establishing a service node corresponding to the newly added Internet of vehicles in the removed service registry according to the service port number corresponding to the newly added Internet of vehicles service so as to complete service registration.
6. The Internet of vehicles service management method of any one of claims 1-5, wherein the managing the newly added Internet of vehicles service and the historical Internet of vehicles service that have been initiated comprises:
acquiring the started service states of the newly added Internet of vehicles service and the historical Internet of vehicles service from a service monitoring interface according to a preset refreshing period;
and adjusting the service states of the started newly-added Internet of vehicles service and the started historical Internet of vehicles service to be in an opening state or a closing state through a control key in the service monitoring interface.
7. The internet of vehicles service management method of claim 6, wherein after the service status of the newly added internet of vehicles service and the historical internet of vehicles service that have been started is adjusted to be in an on state or an off state by the control key in the service monitoring interface, the method further comprises:
if the service states of the started newly-added Internet of vehicles service and the started historical Internet of vehicles service cannot be adjusted through a control key in the service monitoring interface, acquiring a server address corresponding to the Internet of vehicles service with the service state adjustment failure through the service monitoring interface;
searching a service log corresponding to the Internet of vehicles service with the service state adjustment failure according to the server address;
and carrying out fault detection on the Internet of vehicles service with the service state adjustment failure according to the service log.
8. A service management platform of Internet of vehicles, characterized in that, the service management platform of Internet of vehicles includes:
the receiving module is used for receiving the Internet of vehicles service expansion request;
the acquisition module is used for acquiring the newly added Internet of vehicles service according to the Internet of vehicles service expansion request;
the registration module is used for registering the newly added Internet of vehicles in a service registration center;
the starting module is used for starting the newly added Internet of vehicles service which is registered successfully in the service registration center and the registered historical Internet of vehicles service when the newly added Internet of vehicles service is registered successfully;
and the management module is used for managing the started newly-added Internet of vehicles service and the started historical Internet of vehicles service.
9. A vehicle networking service management device, comprising: a memory, a processor, and a vehicle networking service management program stored on the memory and executable on the processor, the vehicle networking service management program configured to implement the steps of the vehicle networking service management method of any of claims 1 to 7.
10. A storage medium having a car networking service management program stored thereon, which when executed by a processor implements the steps of the car networking service management method according to any one of claims 1 to 7.
CN202010938351.2A 2020-09-08 2020-09-08 Internet of vehicles service management method, platform, equipment and storage medium Active CN112165695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010938351.2A CN112165695B (en) 2020-09-08 2020-09-08 Internet of vehicles service management method, platform, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010938351.2A CN112165695B (en) 2020-09-08 2020-09-08 Internet of vehicles service management method, platform, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112165695A true CN112165695A (en) 2021-01-01
CN112165695B CN112165695B (en) 2021-08-27

Family

ID=73859150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010938351.2A Active CN112165695B (en) 2020-09-08 2020-09-08 Internet of vehicles service management method, platform, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112165695B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297275A (en) * 2013-06-08 2013-09-11 烽火通信科技股份有限公司 Dynamic discovery and loading system and method for Web network management client module
CN104063239A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Application program update method of mobile terminal, server and client
CN104135532A (en) * 2014-08-12 2014-11-05 湖南大学 OSGi-based (Open Service Gateway Initiative) service sharing middleware of vehicular ad-hoc network, implementation method and service sharing method
US20150151203A1 (en) * 2012-08-30 2015-06-04 Kabushiki Kaisha Sega Doing Business As Sega Corporation Server device and server program
CN106055330A (en) * 2016-05-31 2016-10-26 深圳卡尔拓客科技有限公司 Management method and system of application program
CN108924222A (en) * 2018-07-02 2018-11-30 瑞典爱立信有限公司 A kind of Cloud Server and communication means in car networking
CN110909330A (en) * 2019-11-28 2020-03-24 安徽江淮汽车集团股份有限公司 Vehicle networking platform authorization method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150151203A1 (en) * 2012-08-30 2015-06-04 Kabushiki Kaisha Sega Doing Business As Sega Corporation Server device and server program
CN104063239A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Application program update method of mobile terminal, server and client
CN103297275A (en) * 2013-06-08 2013-09-11 烽火通信科技股份有限公司 Dynamic discovery and loading system and method for Web network management client module
CN104135532A (en) * 2014-08-12 2014-11-05 湖南大学 OSGi-based (Open Service Gateway Initiative) service sharing middleware of vehicular ad-hoc network, implementation method and service sharing method
CN106055330A (en) * 2016-05-31 2016-10-26 深圳卡尔拓客科技有限公司 Management method and system of application program
CN108924222A (en) * 2018-07-02 2018-11-30 瑞典爱立信有限公司 A kind of Cloud Server and communication means in car networking
CN110909330A (en) * 2019-11-28 2020-03-24 安徽江淮汽车集团股份有限公司 Vehicle networking platform authorization method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
涂成栋: "MEC架构设计及应用放置优化研究", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *
赵伟程: "信息中心车联网缓存服务策略研究", 《中国博士学位论文全文数据库(电子期刊)》 *

Also Published As

Publication number Publication date
CN112165695B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US20070158404A1 (en) Method and system for management of terminal devices
CN111752641A (en) Method, device, equipment and storage medium for starting service between micro-service containers
CN109639749B (en) Cloud desktop access method, device, equipment and storage medium
CN109639818B (en) Service discovery method and device under cloud environment, server and storage medium
EP4128844A1 (en) Provisioning an embedded universal integrated circuit card (euicc) of a mobile communication device
CN111147314A (en) Switch upgrading method, device and storage medium
CN114531467B (en) Information processing method, equipment and system
CN112165695B (en) Internet of vehicles service management method, platform, equipment and storage medium
CN102831066A (en) Integration test device and method
CN110597662A (en) Backup data automatic verification method and device, user equipment and storage medium
JP2000181718A (en) Method and system for firmware upgrade
CN113535262A (en) Method, device, equipment and storage medium for controlling starting of proxy node
CN109992298B (en) Examination and approval platform expansion method and device, examination and approval platform and readable storage medium
US20090083747A1 (en) Method for managing application programs by utilizing redundancy and load balance
CN112181785B (en) Method, terminal and storage medium for automatically adding monitoring equipment
CN112685102B (en) Gateway plug-in hot loading method, device, equipment and medium
CN116264572A (en) Method, medium and electronic equipment for automatically upgrading system
CN110943968A (en) Equipment access control method and equipment access assembly
CN113867756A (en) Software upgrading method, terminal equipment and readable storage medium
JP6802279B2 (en) Transmission of messages to be displayed to the display device of a car
CN110825406A (en) Software upgrading method and related equipment
CN111339736B (en) Method for adding prefix name, configuration acquisition method, device and electronic equipment
CN113849364B (en) Edge application management method, device, equipment and readable storage medium
CN112615918B (en) Network management system and information synchronization method thereof
CN110618886A (en) Version rollback method, mobile terminal and computer 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