Resource management method and device of car networking service platform, electronic equipment and medium
By isolating resources of MQTT clusters, MQTT connectors and microservice cluster services in the Internet of Vehicles service platform, the problem of data isolation in a multi-tenant environment is solved, and efficient resource management and cost reduction are achieved.
Patent Information
- Application Number
- CN202411065022.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-12-03
AI Technical Summary
The Internet of Vehicles service platform needs to provide data storage services for massive users, while ensuring the secure isolation of user data. It is difficult for the existing technology to effectively achieve data isolation, especially in a multi-tenant environment.
Through the user-based resource demand management method in the Internet of Vehicles service platform, resource isolation is used using MQTT clusters, MQTT connectors and microservice cluster services, and the dynamic configuration of tenants is supported to ensure data isolation and improve resource utilization.
It realizes the perfect isolation of Internet of Vehicles data, reduces costs, improves resource utilization and efficiency, and meets the data isolation needs in a multi-tenant environment.
Smart Images

Figure CN119071024A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Vehicles, and more specifically, to a resource management method, device, electronic device and medium for an Internet of Vehicles service platform. Background Art
[0002] The concept of Internet of Vehicles originated from the Internet of Things, namely the Vehicle Internet of Things. It takes moving vehicles as information perception objects and uses the new generation of information and communication technology to achieve network connection and communication between vehicles and Internet of Vehicles service platforms, vehicles, roads, people and in-vehicle equipment, realizing the integration of three networks, that is, integrating the in-vehicle network, inter-vehicle network and on-board mobile Internet, improving the overall intelligent driving level of the vehicle, providing users with safe, comfortable, intelligent and efficient driving experience and transportation services, while improving traffic operation efficiency and enhancing the intelligence level of social transportation services.
[0003] Among them, the communication between the vehicle and the Internet of Vehicles service platform refers to the information transmission between the vehicle and the Internet of Vehicles service platform through wireless communication technologies such as satellite wireless communication or mobile cellular, receiving control instructions issued by the platform, and sharing vehicle data in real time. The communication between the vehicle and the workshop refers to the information exchange and information sharing between vehicles, including vehicle status information such as vehicle location and driving speed, which can be used to judge the traffic conditions on the road. The communication between the vehicle and the road refers to the information exchange between the vehicle and the road with the help of fixed communication facilities on the ground road, which is used to monitor the road surface conditions and guide the vehicle to choose the best driving path. The communication between vehicles and people refers to the user's ability to communicate with the vehicle through wireless communication means such as Wi-Fi, Bluetooth, and cellular, so that the user can monitor and control the vehicle through the corresponding mobile terminal device. The communication between in-vehicle devices refers to the information data transmission between the various devices inside the vehicle, which is used for real-time detection and operation control of the device status and the establishment of a digital in-vehicle control system.
[0004] The Internet of Vehicles service platform needs to connect to a large number of users and provide services to a large number of users. The platform needs to provide corresponding storage space for different users to store user data, and needs to ensure the secure isolation of data. Summary of the invention
[0005] In view of this, the present application provides a resource management method, device, electronic device and medium for an Internet of Vehicles service platform, which are used to manage the resources of a cloud platform based on different resource requirements of users to ensure secure isolation between user data.
[0006] In order to achieve the above objectives, the proposed solution is as follows:
[0007] A resource management method for a vehicle networking service platform is applied to electronic equipment, and the resource management method comprises the following steps:
[0008] Responding to a login request from the enterprise vehicle of the B end, performing an initialization operation based on the login information, so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs;
[0009] In response to the data upload request of the enterprise vehicle, the vehicle data uploaded by the enterprise vehicle is sent to the tenant resource.
[0010] Optionally, the step of responding to the login request of the enterprise vehicle at the B end and performing an initialization operation based on the login information includes the following steps:
[0011] In response to the login request, access the global configuration center of the Internet of Vehicles service platform based on the username and password uploaded by the enterprise vehicle to obtain the unique ID of the enterprise tenant;
[0012] The MQTT cluster, MQTT connector and microservice cluster service are started based on the unique ID and in accordance with a predetermined resource strategy.
[0013] Optionally, the resource policy includes a server resource allocation policy, and the server resource policy supports 1:N allocation of the tenant resources to maximize utilization of the tenant resources.
[0014] Optionally, responding to the data upload request of the enterprise vehicle and sending the vehicle data uploaded by the enterprise vehicle to the tenant resource comprises the steps of:
[0015] Obtain the unique ID of the enterprise tenant according to the data upload request and connect to the MQTT cluster;
[0016] Authenticate the unique ID, and if it is legitimate, establish a connection with the enterprise vehicle;
[0017] The vehicle data is sent to the microservice cluster service based on the MQTT cluster connector.
[0018] A resource management device for a vehicle networking service platform, applied to electronic equipment, the resource management device comprising:
[0019] An initialization service module is configured to respond to a login request of the enterprise vehicle of the B end, and perform an initialization operation based on the login information so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs;
[0020] The data storage module is configured to respond to the data upload request of the enterprise vehicle and send the vehicle data uploaded by the enterprise vehicle to the tenant resource.
[0021] Optionally, the initialization service module includes:
[0022] A login service unit is configured to respond to the login request, access the global configuration center of the Internet of Vehicles service platform based on the username and password uploaded by the enterprise vehicle, and obtain the unique ID of the enterprise tenant;
[0023] The policy startup unit is configured to start the MQTT cluster, the MQTT connector and the microservice cluster service based on the unique ID and in accordance with a predetermined resource policy.
[0024] Optionally, the resource policy includes a server resource allocation policy, and the server resource policy supports 1:N allocation of the tenant resources to maximize utilization of the tenant resources.
[0025] Optionally, the data routing module includes:
[0026] An ID acquisition unit is configured to acquire a unique ID of the enterprise tenant according to the data upload request and connect to an MQTT cluster;
[0027] A connection establishing unit, configured to authenticate the unique ID and establish a connection with the enterprise vehicle if it is legitimate;
[0028] The data sending unit is configured to send the vehicle data to the microservice cluster service based on the MQTT cluster connector.
[0029] An electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0030] The memory is used to store computer programs or instructions;
[0031] The processor is used to execute the computer program or instruction so that the electronic device implements the resource management method of the Internet of Vehicles service platform as described above.
[0032] A computer-readable medium is applied to an electronic device, wherein the medium carries one or more computer programs, and the one or more computer programs can be executed by the electronic device, so that the electronic device implements the resource management method of the Internet of Vehicles service platform as described above.
[0033] It can be seen from the above technical solutions that the present application discloses a resource management method, device, electronic device and medium for an Internet of Vehicles service platform. The method and device are applied to electronic devices, specifically to respond to the login request of the enterprise vehicle on the B side, and perform initialization operations based on the login information, so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs; responds to the data upload request of the enterprise vehicle, and sends the vehicle data uploaded by the enterprise vehicle to the tenant resources. This solution further refines the commonly used means of solving data isolation based on multi-tenancy, mainly isolating resources in three dimensions in the MQTT cluster, MQTT connector and microservice cluster service in the Internet of Vehicles cloud, so that the Internet of Vehicles data is perfectly isolated.
[0034] In addition, this solution supports dynamic configuration of tenants 1:N in three dimensions: MQTT cluster, MQTT connector, and microservice cluster service through resource allocation strategy, which has the advantage of reducing costs and increasing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A flowchart of a resource management method of a vehicle networking service platform according to an embodiment of the present application;
[0037] Figure 2 A schematic diagram of a multi-tenant data storage process according to an embodiment of the present application;
[0038] Figure 3 A block diagram of a resource management device of a vehicle networking service platform according to an embodiment of the present application;
[0039] Figure 4 A block diagram of another resource management device of an Internet of Vehicles service platform according to an embodiment of the present application;
[0040] Figure 5 A block diagram of a resource management device of another Internet of Vehicles service platform according to an embodiment of the present application;
[0041] Figure 6 A block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0043] Figure 1 This is a flow chart of a resource management method for an Internet of Vehicles service platform according to an embodiment of the present application.
[0044] like Figure 1 As shown, the resource management method provided in this embodiment is applied to an electronic device for implementing resource management on a connected vehicle service platform. The electronic device can be understood as a computer, server or cloud platform with data computing and information processing capabilities, or a functional device or module of the server or cloud platform. The resource management method includes the following steps:
[0045] S1. Respond to the login request of the enterprise vehicle on the B side, and perform initialization operations based on the login information so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs.
[0046] The operation here is to implement initialization operations on each module to complete the resource allocation to the enterprise tenant based on the login request of the enterprise vehicle, so that the subsequent enterprise vehicles can upload vehicle data. The Internet of Vehicles service platform in this application can be understood as a cloud platform, which is equipped with a global configuration center. The global configuration center assigns a corresponding username and password to each B-end enterprise that has completed registration.
[0047] Specifically, this application implements the allocation of tenant resources through the following operations.
[0048] First, when receiving a login request from an enterprise vehicle, the global configuration center is accessed based on the username and password uploaded by the enterprise vehicle, and the unique ID of the enterprise tenant, that is, the aforementioned B-end enterprise, is obtained. The unique ID is the user identity obtained by the enterprise tenant through registration in advance. Obtaining the unique ID facilitates subsequent requests for tenant resources of the enterprise tenant.
[0049] Then, initialization is implemented based on the unique ID, and the initialization content is to start the MQTT cluster, MQTT cluster connector and microservice cluster service according to the predetermined resource strategy. MQTT is a client-server based message publish / subscribe transmission protocol. The MQTT protocol is lightweight, simple, open and easy to implement, which makes it very widely applicable. Such as machine-to-machine (M2M) communication and the Internet of Things (IoT). It is widely used in communication sensors connected via satellite links, medical devices that occasionally dial, smart homes, and some miniaturized devices.
[0050] The above resource policy includes a server resource allocation policy, which supports 1:N allocation of tenant resources to maximize the utilization of tenant resources.
[0051] S2. Respond to the data upload request of the enterprise vehicle and send the vehicle data uploaded by the enterprise vehicle to the tenant resources.
[0052] That is, based on the enterprise vehicle logging into the Internet of Vehicles service platform, when the vehicle data needs to be uploaded, the uploaded vehicle data is sent to the tenant resources assigned to the enterprise tenant based on the data upload request of the enterprise vehicle. Specifically, the vehicle data is saved by the following means.
[0053] First, the unique ID of the enterprise tenant is obtained according to the data upload request of the enterprise vehicle, so that the enterprise vehicle can establish a connection with the MQTT cluster based on the unique ID.
[0054] Then, the MQTT cluster obtains the unique ID uploaded by the connected enterprise vehicle and authenticates it to determine whether it has the right to perform subsequent operations, that is, whether the unique ID is consistent with the assigned tenant ID. If they are consistent, the connection is established; otherwise, the connection is refused and the operation is terminated.
[0055] Finally, based on the connection established between the MQTT cluster and the enterprise vehicle, after the MQTT cluster connector subscribes to the vehicle data of the B-end enterprise, its vehicle data is routed and sent to the microservice cluster service so that the microservice cluster service can save the vehicle data.
[0056] The above content only introduces the scenario of uploading data from a corporate vehicle of a B-end enterprise. When the Internet of Vehicles service platform serves multiple B-end enterprises, data isolation can also be achieved. Specifically, in the case of multiple B-end enterprises, the data storage process is as follows: Figure 2 shown.
[0057] It can be seen from the above technical solution that this embodiment provides a resource management method for an Internet of Vehicles service platform, which is applied to electronic devices, specifically responding to the login request of the enterprise vehicle on the B side, performing initialization operations based on the login information, so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs; responding to the data upload request of the enterprise vehicle, and sending the vehicle data uploaded by the enterprise vehicle to the tenant resources. This solution further refines the commonly used means of solving data isolation based on multi-tenancy, mainly isolating resources in three dimensions of MQTT cluster, MQTT connector and microservice cluster service in the Internet of Vehicles cloud, so that the Internet of Vehicles data is perfectly isolated.
[0058] In addition, this solution supports dynamic configuration of tenants 1:N in three dimensions: MQTT cluster, MQTT connector, and microservice cluster service through resource allocation strategy, which has the advantage of reducing costs and increasing efficiency.
[0059] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0060] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.
[0061] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0062] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as C or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer.
[0063] Figure 3 A block diagram of a resource management device for an Internet of Vehicles service platform according to an embodiment of the present application.
[0064] like Figure 3 As shown, the resource management device provided in this embodiment is applied to an electronic device for implementing resource management on a vehicle networking service platform. The electronic device can be understood as a computer, server or cloud platform with data computing and information processing capabilities, and can also be a functional device or module of the above-mentioned server or cloud platform. The resource management device includes an initialization service module 10 and a data routing module 20.
[0065] The initialization service module is used to respond to the login request of the enterprise vehicle on the B side and perform initialization operations based on the login information so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs.
[0066] The operation here is to implement initialization operations on each module to complete the resource allocation to the enterprise tenant based on the login request of the enterprise vehicle, so that the subsequent enterprise vehicle can upload vehicle data. The Internet of Vehicles service platform in this application can be understood as a cloud platform, which is equipped with a global configuration center. The global configuration center assigns a corresponding user name and password to each B-end enterprise that has completed registration. This module includes a login service unit 11 and a policy startup unit 12, such as Figure 4 shown.
[0067] The login service unit is used to access the global configuration center based on the username and password uploaded by the enterprise vehicle when receiving a login request from the enterprise vehicle, and obtain the unique ID of the enterprise tenant, that is, the aforementioned B-end enterprise, which is the user identity obtained by the enterprise tenant through registration in advance. Obtaining the unique ID facilitates subsequent requests for tenant resources of the enterprise tenant.
[0068] The policy startup unit is used to implement initialization based on the unique ID. The initialization content is to start the MQTT cluster, MQTT cluster connector and microservice cluster service according to the predetermined resource strategy. MQTT is a client-server based message publishing / subscription transmission protocol. The MQTT protocol is lightweight, simple, open and easy to implement, which makes it very widely applicable. Such as machine-to-machine (M2M) communication and the Internet of Things (IoT). It is widely used in communication sensors connected via satellite links, medical devices that occasionally dial, smart homes, and some miniaturized devices.
[0069] The above resource policy includes a server resource allocation policy, which supports 1:N allocation of tenant resources to maximize the utilization of tenant resources.
[0070] The data routing module is used to respond to data upload requests from enterprise vehicles and send the vehicle data uploaded by the enterprise vehicles to tenant resources.
[0071] That is, based on the enterprise vehicle logging into the Internet of Vehicles service platform, when the vehicle data needs to be uploaded, the uploaded vehicle data is sent to the tenant resource assigned to the enterprise tenant based on the data upload request of the enterprise vehicle. Specifically, the module includes an ID acquisition unit 21, a connection establishment unit 22 and a data sending unit 23, such as Figure 5 shown.
[0072] The ID acquisition unit is used to obtain the unique ID of the enterprise tenant according to the data upload request of the enterprise vehicle, so that the enterprise vehicle can establish a connection with the MQTT cluster based on the unique ID.
[0073] The connection establishment unit is used to enable the MQTT cluster to obtain the unique ID uploaded by the connected enterprise vehicle and authenticate it to determine whether it has the right to perform subsequent operations, that is, whether the unique ID is consistent with the assigned tenant ID. If they are consistent, the connection is established; otherwise, the connection is refused and the operation is terminated.
[0074] The data sending unit is used to establish a connection between the MQTT cluster and the enterprise vehicle. After the MQTT cluster connector subscribes to the vehicle data of the B-end enterprise, the vehicle data is routed and sent to the microservice cluster service so that the microservice cluster service can save the vehicle data.
[0075] The above content only introduces the scenario of uploading data from a corporate vehicle of a B-end enterprise. When the Internet of Vehicles service platform serves multiple B-end enterprises, data isolation can also be achieved. Specifically, in the case of multiple B-end enterprises, the data storage process is as follows: Figure 2 shown.
[0076] It can be seen from the above technical solution that this embodiment provides a resource management device for an Internet of Vehicles service platform, which is applied to electronic devices, specifically responding to the login request of the enterprise vehicle on the B side, performing initialization operations based on the login information, so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs; responding to the data upload request of the enterprise vehicle, and sending the vehicle data uploaded by the enterprise vehicle to the tenant resources. This solution further refines the commonly used means of solving data isolation based on multi-tenancy, mainly isolating resources in three dimensions of MQTT cluster, MQTT connector and microservice cluster service in the Internet of Vehicles cloud, so that the Internet of Vehicles data is perfectly isolated.
[0077] In addition, this solution supports dynamic configuration of tenants 1:N in three dimensions: MQTT cluster, MQTT connector, and microservice cluster service through resource allocation strategy, which has the advantage of reducing costs and increasing efficiency.
[0078] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0079] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0080] Figure 6 A block diagram of an electronic device according to an embodiment of the present application.
[0081] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0082] The electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory ROM 602 or a program loaded from an input device 606 into a random access memory RAM 603. In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0083] Typically, the following devices may be connected to the I / O interface: input devices including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.
[0084] The embodiment of the present application also provides a computer-readable medium embodiment.
[0085] The medium is applied to an electronic device and carries one or more computer programs. When the one or more computer programs are executed by the electronic device, the electronic device responds to the login request of the enterprise vehicle on the B side and performs initialization operations based on the login information, so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs; responds to the data upload request of the enterprise vehicle and sends the vehicle data uploaded by the enterprise vehicle to the tenant resources. This solution further refines the commonly used multi-tenant-based data isolation method, mainly isolating resources in three dimensions in the Internet of Vehicles cloud: MQTT cluster, MQTT connector, and microservice cluster service, so that the Internet of Vehicles data is perfectly isolated.
[0086] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable media may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0087] In the present disclosure, a computer-readable medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0088] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0089] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0090] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0091] The technical solution provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A resource management method for a vehicle networking service platform, applied to electronic equipment, characterized in that: The resource management method comprises the steps of: Responding to a login request from the enterprise vehicle of the B end, performing an initialization operation based on the login information, so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs; In response to the data upload request of the enterprise vehicle, the vehicle data uploaded by the enterprise vehicle is sent to the tenant resource.
2. The resource management method according to claim 1, characterized in that: The step of responding to the login request of the enterprise vehicle at the B end and performing the initialization operation based on the login information includes the following steps: In response to the login request, access the global configuration center of the Internet of Vehicles service platform based on the username and password uploaded by the enterprise vehicle to obtain the unique ID of the enterprise tenant; The MQTT cluster, MQTT connector and microservice cluster service are started based on the unique ID and in accordance with a predetermined resource strategy.
3. The resource management method according to claim 2, characterized in that: The resource policy includes a server resource allocation policy, and the server resource policy supports 1:N allocation of the tenant resources so that the tenant resources are maximized.
4. The resource management method according to claim 1, characterized in that: The step of responding to the data upload request of the enterprise vehicle and sending the vehicle data uploaded by the enterprise vehicle to the tenant resource comprises the steps of: Obtain the unique ID of the enterprise tenant according to the data upload request and connect to the MQTT cluster; Authenticate the unique ID and establish a connection with the enterprise vehicle if it is legitimate; The vehicle data is sent to the microservice cluster service based on the MQTT cluster connector.
5. A resource management device for a vehicle networking service platform, applied to electronic equipment, characterized in that: The resource management device comprises: An initialization service module is configured to respond to a login request of the enterprise vehicle of the B end, and perform an initialization operation based on the login information so that the Internet of Vehicles service platform allocates tenant resources to the enterprise tenant to which the enterprise vehicle belongs; The data storage module is configured to respond to the data upload request of the enterprise vehicle and send the vehicle data uploaded by the enterprise vehicle to the tenant resource.
6. The resource management device according to claim 5, characterized in that: The initialization service module includes: A login service unit is configured to respond to the login request, access the global configuration center of the Internet of Vehicles service platform based on the username and password uploaded by the enterprise vehicle, and obtain the unique ID of the enterprise tenant; The policy startup unit is configured to start the MQTT cluster, the MQTT connector and the microservice cluster service based on the unique ID and in accordance with a predetermined resource policy.
7. The resource management device according to claim 6, characterized in that: The resource policy includes a server resource allocation policy, and the server resource policy supports 1:N allocation of the tenant resources so that the tenant resources are maximized.
8. The resource management device according to claim 5, characterized in that: The data routing module comprises: An ID acquisition unit, configured to acquire a unique ID of the enterprise tenant according to the data upload request and connect to an MQTT cluster; A connection establishing unit, configured to authenticate the unique ID and establish a connection with the enterprise vehicle if it is legitimate; The data sending unit is configured to send the vehicle data to the microservice cluster service based on the MQTT cluster connector.
9. An electronic device, characterized in that: The electronic device comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs or instructions; The processor is used to execute the computer program or instruction so that the electronic device implements the resource management method of the Internet of Vehicles service platform as described in any one of claims 1 to 4.
10. A computer-readable medium, applied to an electronic device, characterized in that: The medium carries one or more computer programs, and the one or more computer programs can be executed by the electronic device, so that the electronic device implements the resource management method of the Internet of Vehicles service platform as described in any one of claims 1 to 4.
